*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:   #3A6B50;
  --green-mid:    #5E9E7E;
  --green-light:  #E8F2EE;
  --earth:        #C07830;
  --earth-light:  #FAF2E8;
  --cream:        #F8F7F5;
  --white:        #FFFFFF;
  --text:         #222220;
  --text-sub:     #5A5A56;
  --border:       #D8D4CC;
  --green-gradient: linear-gradient(135deg, #3A6B50 0%, #2A5040 100%);
}

html { scroll-behavior: smooth; zoom: 0.8; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.8;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,247,245,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}

.logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.logo span {
  color: var(--green-deep);
}

nav a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.875rem;
  margin-left: 28px;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--green-deep); }

.nav-cta {
  background: var(--green-deep);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-mid) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, #B8D8E8 0%, #C8E8D8 55%, #D8EEE0 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero-stars {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 40%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

/* Mountain SVG silhouette */
.hero-mountain {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 52%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text);
  padding: 0 24px 80px;
}

.hero-eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.hero-eyebrow-title {
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #115A6E;
  background: rgba(130,195,215,0.35);
  border: 2px solid rgba(70,160,190,0.75);
  padding: 7px 28px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-eyebrow-areas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.hero-eyebrow-areas-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.hero-eyebrow-areas span {
  font-size: 1.008rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #3A7A8A;
  background: rgba(180,220,235,0.3);
  border: 1px solid rgba(120,190,210,0.45);
  padding: 5px 16px;
  border-radius: 999px;
}

.hero-eyebrow-areas span.strong {
  background: rgba(100,175,200,0.22);
  color: #2A6070;
  border-color: rgba(80,160,185,0.6);
  font-weight: 700;
}

.hero-eyebrow-areas-row--sub {
  gap: 28px;
}

.hero-eyebrow-areas-row--sub span {
  background: rgba(100,175,200,0.22);
  color: #2A6070;
  border-color: rgba(80,160,185,0.6);
  font-size: 0.9rem;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(100,150,130,0.15);
}

.hero h1 em,
.section-title em {
  font-style: normal;
  color: #E06010;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-sub);
  max-width: 672px;
  margin: 0 auto 36px;
  line-height: 1.9;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btns a {
  width: 220px;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary {
  background: #2A6845;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.5);
  color: var(--green-deep);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(58,107,80,0.5);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--green-deep); background: rgba(58,107,80,0.06); }

/* hero claude badge */
.hero-claude-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  background: #000;
  border: 1px solid rgba(217,119,87,0.4);
  border-radius: 20px;
  padding: 10px 22px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero-claude-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-claude-text {
  width: 65px;
  height: 16px;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(58,107,80,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: rgba(58,107,80,0.3);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTIONS ── */
section { padding: 88px 24px; }

.container { max-width: 900px; margin: 0 auto; }
.container-wide { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--earth);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.5;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.9;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--earth);
  margin: 20px 0 40px;
  border-radius: 2px;
}

/* ── PAIN SECTION ── */
.pain { background: var(--white); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.pain-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--earth);
  border-radius: 6px;
  padding: 24px 20px;
}

.pain-card .icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.pain-card h3 {
  font-size: 1.083rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.pain-card p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ── SOLUTION ── */
.solution { background: var(--green-light); }

.solution-intro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-intro .badge {
  background: var(--green-deep);
  color: white;
  font-size: 1.083rem;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.solution-intro p {
  color: var(--text-sub);
  line-height: 1.9;
  font-size: 1rem;
}

/* ── SERVICES ── */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-deep);
  border-radius: 6px;
  padding: 24px 20px;
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.service-card h3 {
  font-size: 1.083rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ── CLAUDE SECTION ── */
.claude-section {
  background: #1a1a1a;
  color: white;
  padding: 100px 24px;
}

.claude-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.claude-logo-col {
  margin: 0;
}

.claude-combine {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 0;
  height: 50px;
}

.claude-icon-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(217,119,87,0.5));
}

.claude-text-svg {
  width: 114px;
  height: 28px;
}

.claude-inner .divider { margin: 4px 0 8px; }

.claude-section .section-label {
  color: #D97757;
}

.claude-section .section-title {
  color: white;
}

.claude-section .section-title em {
  color: #D97757;
}

.claude-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 24px;
}

.claude-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.claude-badge {
  background: rgba(217,119,87,0.15);
  border: 1px solid rgba(217,119,87,0.4);
  color: #D97757;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── PLANS ── */
.plans { background: var(--white); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.plan-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(45,80,22,0.1); }

.plan-card.featured {
  border-color: var(--green-deep);
  background: var(--white);
  position: relative;
}

.plan-header {
  background: var(--green-light);
  padding: 28px 24px 20px;
  text-align: center;
}
.plan-card.featured .plan-header { background: #D0EAE0; }

.plan-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-sub); }

.plan-note {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 4px;
}

.plan-body { padding: 24px; }

.plan-body ul {
  list-style: none;
  margin-bottom: 24px;
}

.plan-body li {
  font-size: 1rem;
  color: var(--text-sub);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-body li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-body .btn-plan {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.btn-plan-ghost {
  border: 1.5px solid var(--green-deep);
  color: var(--green-deep);
}
.btn-plan-ghost:hover { background: var(--green-light); }

.btn-plan-solid {
  background: var(--green-deep);
  color: white;
}
.btn-plan-solid:hover { background: var(--green-mid); }

/* ── WHY ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.why-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 4px;
  -webkit-text-stroke: 1.5px var(--green-mid);
}

.why-card h3 {
  font-size: 1.083rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
  line-height: 1.5;
}

.why-card p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ── SUBSIDY ── */
.subsidy { background: var(--white); }

.subsidy-box {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--earth-light) 100%);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
}

.subsidy-box h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.subsidy-box p { font-size: 1.05rem; color: var(--text-sub); line-height: 1.9; }

.subsidy-highlight {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
}

.subsidy-highlight .big-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}

.subsidy-highlight .big-label {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: 6px;
}

.subsidy-highlight .arrow {
  font-size: 1.4rem;
  color: var(--earth);
  margin: 12px 0;
}

.subsidy-highlight .after {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--earth);
}

/* ── STEPS ── */
.steps { background: var(--cream); }

.steps-list {
  margin-top: 48px;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-mid), var(--earth));
}

.step-item {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  align-items: flex-start;
  position: relative;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-deep);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(45,80,22,0.25);
}

.step-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  flex: 1;
  margin-top: 6px;
}

.step-body h3 {
  font-size: 1.083rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.85;
}

.step-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-deep);
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

/* ── AREA ── */
.area { background: var(--white); }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.area-tag {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  color: var(--green-deep);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.area-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.8;
  text-align: center;
}

.area-map {
  margin: 10px auto 0;
  max-width: 720px;
  text-align: center;
  /* Uses the standalone `translate` property (not `transform`) because this
     element also carries `.fade-in`, which sets `transform: translateY(...)`
     on scroll-reveal. `transform` isn't additive across rules — the fade-in
     rule would silently overwrite a translateX set via `transform` here.
     `translate` composes independently alongside `transform`. */
  translate: -10% 0;
}

.area-map img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .area-map { translate: none; }
}

/* ── CTA ── */
.cta-section {
  background: var(--green-gradient);
  padding: 88px 24px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: white;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CONTACT FORM ── */
.contact { background: var(--green-gradient); }

.contact .section-title { color: white; }

.contact .section-lead { color: rgba(255,255,255,0.75); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  max-width: 640px;
  margin: 40px auto 0;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.form-row label .req {
  color: var(--earth);
  margin-left: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s;
  appearance: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--green-deep);
  color: white;
  border: none;
  border-radius: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--green-mid); }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 12px;
}

/* ── FOOTER ── */
footer {
  background: #1E3028;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.8rem;
  line-height: 2;
}

footer a { color: rgba(255,255,255,0.4); text-decoration: none; }
footer strong { color: rgba(255,255,255,0.8); }

/* ── PC: hero-content margin (縦長・横長の中間値) ── */
@media (min-width: 681px) {
  .hero { justify-content: flex-start; }
  .hero-content { margin-top: clamp(50px, 11vh, 130px); }
  .subsidy { padding-top: 0; }
}

/* ── RESPONSIVE ── */
.mobile-break { display: none; }

@media (max-width: 680px) {
  header { padding: 0 20px; }
  nav a:not(.nav-cta) { display: none; }
  .mobile-break { display: block; }
  section:not(.hero) { padding-top: 44px; padding-bottom: 44px; }
  .hero-mountain { left: 50%; right: auto; width: 150%; height: auto; transform: translateX(-50%); }
  .claude-section { padding-top: 50px; padding-bottom: 50px; }
  .cta-section { padding-top: 44px; padding-bottom: 44px; }
  .hero-eyebrow-areas-row--sub { gap: 12px; }
  .solution-intro { flex-direction: column; gap: 12px; }
  .contact-form { padding: 28px 20px; }
  .spot-card { gap: 16px; }
  .steps-list::before { left: 22px; }
  .step-circle { width: 44px; height: 44px; font-size: 1rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-eyebrow-title { font-size: 0.95rem; padding: 5px 18px; }
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
