/* =========================================================
   NIHONBASHI ART — GREEN × 60FREE
   共通デザインシステム
   ========================================================= */

:root {
  --green-950: #0d1c15;
  --green-900: #12261d;
  --green-800: #1a3a2b;
  --green-700: #24503c;
  --green-500: #4d7a62;
  --green-100: #e2e9df;
  --cream: #f4efe4;
  --paper: #faf8f2;
  --white: #ffffff;
  --ink: #18221d;
  --muted: #56625b;
  --line: rgba(26, 58, 43, 0.16);
  --line-light: rgba(244, 239, 228, 0.22);
  --accent: #c6e46a;          /* 強調は1色のみ（芽吹きのライム） */
  --accent-strong: #b3d652;

  --ff-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --ff-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-en: "Cormorant Garamond", "Times New Roman", serif;

  --fs-body: 17px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; } /* スムーズスクロールは js/main.js で制御 */
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
section[tabindex="-1"]:focus, body[tabindex="-1"]:focus { outline: none; }
/* 見出しの「1〜2文字だけ次行に落ちる」改行を防ぐ：文節単位で折り返す */
.ib { display: inline-block; }
h1, h2, h3, .bleed__quote { word-break: auto-phrase; text-wrap: balance; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--accent); color: var(--green-900); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(900px + var(--gutter) * 2); }
.section { padding-block: clamp(88px, 12vw, 168px); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green-900); color: var(--cream); }
.section--green { background: var(--green-800); color: var(--cream); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-en); font-size: 15px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green-500); margin-bottom: 22px;
}
.eyebrow__num { font-style: italic; font-size: 20px; letter-spacing: 0.04em; }
.eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.6; }
.section--dark .eyebrow, .section--green .eyebrow, .on-dark .eyebrow { color: var(--accent); }

.h-display {
  font-family: var(--ff-serif); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 76px); line-height: 1.32; letter-spacing: 0.04em;
}
.h-section {
  font-family: var(--ff-serif); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.45; letter-spacing: 0.05em;
}
.h-sub {
  font-family: var(--ff-serif); font-weight: 600;
  font-size: clamp(21px, 2vw, 26px); line-height: 1.6; letter-spacing: 0.05em;
}
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 2; color: var(--muted); }
.section--dark .lead, .section--green .lead, .on-dark .lead { color: rgba(244, 239, 228, 0.82); }
.note { font-size: 14px; color: var(--muted); line-height: 1.8; }
.section--dark .note, .section--green .note { color: rgba(244, 239, 228, 0.7); }
.nowrap { white-space: nowrap; }
.mark { background: linear-gradient(transparent 62%, rgba(198, 228, 106, 0.55) 62%); padding-inline: 2px; }

.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin-top: 24px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.6; }

/* ---------- Buttons ---------- */
.btn {
  --h: 64px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--h); padding: 0 34px; border-radius: 999px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.08em; text-decoration: none;
  border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn__arrow { width: 18px; height: 18px; transition: transform .45s var(--ease); flex: none; }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--primary { background: var(--accent); color: var(--green-900); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-900);
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn--primary:hover { color: var(--accent); }
.btn--primary:hover::before { transform: translateY(0); }
.on-dark .btn--primary::before, .section--dark .btn--primary::before, .section--green .btn--primary::before { background: var(--cream); }
.on-dark .btn--primary:hover, .section--dark .btn--primary:hover, .section--green .btn--primary:hover { color: var(--green-900); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover, .section--green .btn--ghost:hover { background: var(--cream); color: var(--green-900); border-color: var(--cream); }
.btn--lg { --h: 72px; padding: 0 44px; font-size: 18px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.text-link svg { width: 16px; height: 16px; }

.cta-group { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.micro { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; letter-spacing: 0.06em; }
.micro li { display: inline-flex; align-items: center; gap: 8px; }
.micro li::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-4.9' fill='none' stroke='%2312261d' stroke-width='1.6'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* =========================================================
   Header（透明ナビ）
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--cream);
  transition: background-color .5s var(--ease), height .5s var(--ease), transform .5s var(--ease);
}
.header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(13, 28, 21, 0.55), rgba(13, 28, 21, 0));
  transition: opacity .5s;
}
.header.is-scrolled { background: rgba(18, 38, 29, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); height: 70px; }
.header.is-scrolled::after { opacity: 0; }
.header__inner {
  height: 100%; display: flex; align-items: center; gap: clamp(16px, 2vw, 40px);
  max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 3vw, 48px);
}
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 44px; width: auto; transition: height .5s var(--ease); }
.header.is-scrolled .logo img { height: 38px; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 34px); }
.gnav__link {
  display: block; position: relative; text-decoration: none; white-space: nowrap;
  font-size: clamp(12px, 1.08vw, 15px); font-weight: 500; letter-spacing: 0.08em; padding-block: 8px;
}
.gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.gnav__link:hover::after, .gnav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav__link[aria-current="page"] { color: var(--accent); }
.header__cta { --h: 48px; padding: 0 clamp(16px, 1.6vw, 26px); font-size: clamp(12px, 1.02vw, 14px); flex: none; }

.hamburger {
  display: none; margin-left: auto; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-light); background: rgba(13, 28, 21, 0.25); position: relative; z-index: 120;
}
.hamburger span {
  position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--cream);
  transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease);
}
.hamburger span:nth-child(1) { top: 20px; }
.hamburger span:nth-child(2) { top: 25.5px; }
.hamburger span:nth-child(3) { top: 31px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 25.5px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 25.5px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 98; background: var(--green-900); color: var(--cream);
  display: flex; flex-direction: column; padding: 110px clamp(24px, 7vw, 64px) 40px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 46px) 42px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.drawer__list { border-top: 1px solid var(--line-light); }
.drawer__list li { border-bottom: 1px solid var(--line-light); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); }
.drawer.is-open .drawer__list li { opacity: 1; transform: none; }
.drawer.is-open .drawer__list li:nth-child(1) { transition-delay: .18s; }
.drawer.is-open .drawer__list li:nth-child(2) { transition-delay: .23s; }
.drawer.is-open .drawer__list li:nth-child(3) { transition-delay: .28s; }
.drawer.is-open .drawer__list li:nth-child(4) { transition-delay: .33s; }
.drawer.is-open .drawer__list li:nth-child(5) { transition-delay: .38s; }
.drawer__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 20px 4px; text-decoration: none;
  font-family: var(--ff-serif); font-size: clamp(21px, 5vw, 28px);
}
.drawer__list a[aria-current="page"] { color: var(--accent); }
.drawer__list small { font-family: var(--ff-en); font-style: italic; font-size: 15px; color: var(--accent); min-width: 26px; }
.drawer__foot { margin-top: 36px; display: grid; gap: 18px; }
.drawer__foot .text-link { justify-self: start; font-size: 15px; }

/* =========================================================
   Hero（フルブリード）
   ========================================================= */
.hero {
  position: relative; min-height: max(100svh, 680px); display: flex; align-items: flex-end;
  color: var(--cream); background: var(--green-900); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; transform: scale(1.08); animation: heroZoom 2.6s var(--ease) forwards; }
.hero__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 28, 21, 0.9) 0%, rgba(13, 28, 21, 0.62) 46%, rgba(13, 28, 21, 0.1) 100%),
    linear-gradient(0deg, rgba(13, 28, 21, 0.75) 0%, rgba(13, 28, 21, 0) 45%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hero__kicker { font-family: var(--ff-en); letter-spacing: 0.24em; font-size: 15px; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero__title { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(34px, 5vw, 72px); line-height: 1.3; letter-spacing: 0.04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.3s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .15s; }
.hero__title .line:nth-child(3) > span { animation-delay: .3s; }
@keyframes lineUp { to { transform: none; } }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 28px; max-width: 640px; font-size: clamp(17px, 1.25vw, 18px); line-height: 2; color: rgba(244, 239, 228, 0.88); }
.hero .cta-group { margin-top: 40px; }
.fade-in { opacity: 0; transform: translateY(18px); animation: fadeUp 1.2s var(--ease) forwards; }
.fade-in.d1 { animation-delay: .5s; } .fade-in.d2 { animation-delay: .7s; } .fade-in.d3 { animation-delay: .9s; } .fade-in.d4 { animation-delay: 1.1s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__badges { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); min-width: 260px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__badges li { background: rgba(13, 28, 21, 0.55); padding: 18px 26px; display: grid; gap: 2px; }
.hero__badges b { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; color: var(--cream); }
.hero__badges b small { font-size: 0.5em; margin-left: 4px; }
.hero__badges span { font-size: 13px; letter-spacing: 0.1em; color: rgba(244, 239, 228, 0.75); }

.hero__scroll {
  position: absolute; right: clamp(20px, 3vw, 48px); bottom: 0; writing-mode: vertical-rl;
  font-family: var(--ff-en); font-size: 13px; letter-spacing: 0.3em; color: rgba(244, 239, 228, 0.7);
  display: flex; align-items: center; gap: 14px; padding-bottom: 0;
}
.hero__scroll::after { content: ""; width: 1px; height: 72px; background: linear-gradient(var(--accent), transparent); animation: scrollLine 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero__sprout { position: absolute; left: 50%; bottom: -2px; width: min(560px, 60vw); z-index: -1; opacity: .5; pointer-events: none; }
.hero__sprout path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.6s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* サブページHero */
.hero--page { min-height: max(78svh, 560px); }
.hero--page .hero__title { font-size: clamp(32px, 4.8vw, 68px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; letter-spacing: 0.08em; color: rgba(244, 239, 228, 0.7); margin-bottom: 24px; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* =========================================================
   Works marquee
   ========================================================= */
.marquee { background: var(--green-900); padding-block: 18px 56px; overflow: hidden; }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee figure { width: clamp(220px, 22vw, 320px); flex: none; }
.marquee figure:nth-child(even) { margin-top: 40px; }
.marquee img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--green-800); }
.marquee figcaption { margin-top: 10px; font-size: 13px; color: rgba(244, 239, 228, 0.6); letter-spacing: 0.06em; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* =========================================================
   Worries
   ========================================================= */
.worries { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.worry { padding: 40px 28px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background-color .5s var(--ease); }
.worry:first-child { border-left: 1px solid var(--line); }
.worry:hover { background: var(--cream); }
.worry__num { font-family: var(--ff-en); font-style: italic; font-size: 18px; color: var(--green-500); }
.worry__icon { width: 52px; height: 52px; margin: 26px 0 22px; color: var(--green-700); }
.worry h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 21px; line-height: 1.6; margin-bottom: 14px; }
.worry p { color: var(--muted); font-size: var(--fs-body); line-height: 1.85; }
.worries-after { margin-top: 56px; display: flex; align-items: center; gap: 24px; font-family: var(--ff-serif); font-size: clamp(20px, 2vw, 26px); }
.worries-after::before { content: ""; flex: 0 0 60px; height: 1px; background: var(--green-700); }

/* =========================================================
   Pillars（届ける・売る・広げる）
   ========================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.pillar { display: flex; flex-direction: column; }
.pillar__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--green-800); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.05); }
.pillar__tag {
  position: absolute; left: 0; top: 0; padding: 14px 20px; background: var(--green-900); color: var(--cream);
  font-family: var(--ff-en); font-style: italic; font-size: 15px; letter-spacing: 0.1em;
}
.pillar__word { font-family: var(--ff-serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; margin: 30px 0 16px; letter-spacing: 0.1em; display: flex; align-items: baseline; gap: 14px; }
.pillar__word small { font-family: var(--ff-en); font-size: 16px; font-style: italic; color: var(--accent); letter-spacing: 0.12em; }
.pillar p { color: rgba(244, 239, 228, 0.82); }
.pillar__list { margin-top: 22px; border-top: 1px solid var(--line-light); }
.pillar__list li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line-light); position: relative; font-size: var(--fs-body); }
.pillar__list li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 12px; height: 1px; background: var(--accent); }

/* =========================================================
   Full-bleed band
   ========================================================= */
.bleed { position: relative; min-height: clamp(520px, 80vh, 820px); display: flex; align-items: center; color: var(--cream); overflow: hidden; isolation: isolate; background: var(--green-900); }
.bleed__media { position: absolute; inset: -10% 0; z-index: -2; }
.bleed__media img { width: 100%; height: 100%; object-fit: cover; }
.bleed::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13, 28, 21, 0.92) 0%, rgba(13, 28, 21, 0.78) 50%, rgba(13, 28, 21, 0.35) 100%); }
.bleed--center { text-align: center; }
.bleed--center::before { background: radial-gradient(ellipse at center, rgba(13, 28, 21, 0.86) 0%, rgba(13, 28, 21, 0.72) 60%, rgba(13, 28, 21, 0.6) 100%); }
.bleed .lead { color: var(--cream); font-weight: 500; text-shadow: 0 1px 12px rgba(13, 28, 21, 0.8); }
.bleed__quote { text-shadow: 0 2px 24px rgba(13, 28, 21, 0.6); }
.bleed__body { max-width: 780px; padding-block: 96px; }
.bleed--center .bleed__body { margin-inline: auto; }
.bleed .lead { margin-top: 28px; }
.bleed .text-link { color: var(--cream); }
.bleed .eyebrow { color: var(--accent); }
.bleed__note { margin-top: 16px; font-size: 14px; line-height: 1.8; color: rgba(244, 239, 228, 0.88); text-shadow: 0 1px 10px rgba(13, 28, 21, 0.8); }
@media (max-width: 767px) {
  .bleed::before { background: rgba(13, 28, 21, 0.8); }
}
.bleed .cta-group, .bleed .text-link { margin-top: 40px; }
.bleed--center .cta-group, .bleed--center .micro { justify-content: center; }
.bleed__quote { font-family: var(--ff-serif); font-size: clamp(28px, 4.2vw, 58px); line-height: 1.45; letter-spacing: 0.05em; font-weight: 500; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 48px 24px; text-align: left; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat__label { font-size: 14px; letter-spacing: 0.1em; color: var(--muted); }
.stat__value { font-family: var(--ff-serif); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.2; margin-top: 12px; color: var(--green-800); white-space: nowrap; }
.stat__value small { font-size: 0.38em; margin-left: 6px; font-family: var(--ff-sans); font-weight: 700; color: var(--ink); }
.stat__value small.stat__unit--lg { font-family: var(--ff-serif); font-weight: 500; font-size: 0.62em; margin: 0 0 0 4px; color: var(--green-800); display: inline; }
.stat__desc { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.8; }
.stats-note { margin-top: 18px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.trust-grid__media img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; background: var(--green-100); }
.trust-grid__body .h-sub { margin-bottom: 18px; }
.trust-grid__body p + p { margin-top: 16px; }

/* =========================================================
   Feature list (GREEN index summary)
   ========================================================= */
.flist { border-top: 1px solid var(--line); counter-reset: f; }
.flist__item { display: grid; grid-template-columns: 80px 200px 1fr 40px; gap: 24px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: background-color .5s var(--ease), padding .5s var(--ease); }
.flist__item:hover { background: var(--cream); padding-inline: 24px; }
.flist__num { font-family: var(--ff-en); font-style: italic; font-size: 20px; color: var(--green-500); }
.flist__en { font-family: var(--ff-en); font-size: 24px; letter-spacing: 0.04em; }
.flist__ttl { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.flist__ttl span { display: block; font-family: var(--ff-sans); font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 4px; }
.flist__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .4s, border-color .4s; }
.flist__arrow svg { width: 16px; height: 16px; }
.flist__item:hover .flist__arrow { background: var(--accent); border-color: var(--accent); }

/* =========================================================
   Feature cards（LP内 7機能）
   ========================================================= */
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.fcard { background: var(--paper); display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.fcard:hover { transform: translateY(-6px); border-color: rgba(26, 58, 43, 0.35); }
.fcard__media { aspect-ratio: 4 / 3; background: var(--green-100); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; }
.fcard__body { padding: 28px 28px 34px; }
.fcard__en { font-family: var(--ff-en); font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-500); display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.fcard__en span { font-style: italic; font-size: 22px; color: var(--green-800); letter-spacing: 0; }
.fcard h3 { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; margin-bottom: 12px; }
.fcard p:not(.fcard__en) { color: var(--muted); font-size: var(--fs-body); }
.fcard--lead { grid-column: span 2; display: grid; grid-template-columns: 1.15fr 1fr; }
.fcard--lead .fcard__media { aspect-ratio: auto; min-height: 340px; }
.fcard--lead .fcard__media img { position: absolute; inset: 0; }
.fcard--lead .fcard__body { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.fcard--lead h3 { font-size: clamp(22px, 2.2vw, 30px); }
.fcard--cta { background: var(--green-800); color: var(--cream); border-color: var(--green-800); padding: clamp(28px, 3vw, 44px); justify-content: center; align-items: flex-start; gap: 18px; }
.fcard--cta .fcard__en { color: var(--accent); margin: 0; }
.fcard__cta-ttl { font-family: var(--ff-serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.55; }
.fcard--cta .btn { --h: 56px; padding: 0 26px; font-size: 16px; }
.fcard--cta .btn--primary::before { background: var(--cream); }
.fcard--cta .btn--primary:hover { color: var(--green-900); }

/* 資料請求フォーム内のゴーストボタン（暗色セクション内の白フォーム） */
.section--dark .form .btn--ghost { color: var(--ink); border-color: var(--ink); }
.section--dark .form .btn--ghost:hover { background: var(--green-800); border-color: var(--green-800); color: var(--cream); }

/* =========================================================
   Compare
   ========================================================= */
.compare-wrap { border: 1px solid var(--line); background: var(--white); }
.compare { font-size: 16px; }
.compare th, .compare td { padding: 24px 26px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.75; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--ff-serif); font-size: 19px; font-weight: 600; background: var(--cream); padding-block: 26px; }
.compare thead th small { display: block; font-family: var(--ff-en); font-style: italic; font-weight: 400; font-size: 14px; color: var(--muted); letter-spacing: 0.08em; }
.compare tbody th { width: 17%; font-weight: 700; font-size: 15px; color: var(--green-700); letter-spacing: 0.08em; }
.compare td { width: 27.6%; color: var(--muted); }
.compare .is-ours { background: var(--green-800); color: var(--cream); border-bottom-color: var(--line-light); }
.compare thead .is-ours { background: var(--green-900); color: var(--cream); }
.compare thead .is-ours small { color: var(--accent); }
.compare td.is-ours strong { color: var(--accent); font-weight: 700; }
.compare-foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }

.compare-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.compare-mini > div { background: var(--paper); padding: 36px 30px; }
.compare-mini > div.is-ours { background: var(--green-800); color: var(--cream); }
.compare-mini h3 { font-family: var(--ff-serif); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.compare-mini .role { font-size: 14px; color: var(--green-500); letter-spacing: 0.08em; margin-bottom: 18px; display: block; }
.compare-mini .is-ours .role { color: var(--accent); }
.compare-mini p { font-size: var(--fs-body); color: var(--muted); }
.compare-mini .is-ours p { color: rgba(244, 239, 228, 0.82); }

/* Timeline（併用） */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-light); }
.timeline li { padding-right: 32px; position: relative; padding-top: 48px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(198, 228, 106, 0.18); }
.timeline .phase { font-family: var(--ff-en); font-style: italic; color: var(--accent); font-size: 16px; letter-spacing: 0.1em; }
.timeline h3 { font-family: var(--ff-serif); font-size: 22px; font-weight: 600; margin: 8px 0 14px; }
.timeline p { color: rgba(244, 239, 228, 0.8); font-size: var(--fs-body); }
.timeline-note { margin-top: clamp(36px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line-light); }

/* =========================================================
   Feature detail rows (features.html)
   ========================================================= */
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.feature-row:first-child { padding-top: 0; }
.feature-row:last-child { border-bottom: 0; }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row__media { position: relative; }
.feature-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--green-100); }
.feature-row__media::after { content: attr(data-num); position: absolute; right: -14px; bottom: -34px; font-family: var(--ff-en); font-style: italic; font-size: clamp(72px, 8vw, 120px); line-height: 1; color: var(--green-800); opacity: .12; pointer-events: none; }
.feature-row__en { font-family: var(--ff-en); font-size: 18px; letter-spacing: 0.16em; color: var(--green-500); text-transform: uppercase; }
.feature-row h2 { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(25px, 2.6vw, 36px); line-height: 1.55; margin: 12px 0 22px; }
.feature-row p { color: var(--muted); }
.checks { margin-top: 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; font-size: var(--fs-body); line-height: 1.7; }
.checks li::before {
  content: ""; width: 20px; height: 20px; flex: none; margin-top: 3px; border-radius: 50%;
  background: var(--green-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.4' fill='none' stroke='%23c6e46a' stroke-width='1.8'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* page nav chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-family: var(--ff-en); font-size: 16px; letter-spacing: 0.06em; transition: background-color .3s, color .3s; }
.chips a:hover { background: var(--green-800); color: var(--cream); border-color: var(--green-800); }

/* =========================================================
   Bridge / CTA band
   ========================================================= */
.bridge { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.bridge__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.bridge__points li { background: var(--green-800); padding: 28px 18px; text-align: center; }
.bridge__points b { display: block; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; color: var(--accent); }
.bridge__points b small { font-size: 0.48em; color: var(--cream); margin-left: 2px; }
.bridge__points span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 0.08em; color: rgba(244, 239, 228, 0.78); }
.bridge .cta-group { margin-top: 36px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 32px; gap: 14px; align-items: center;
  padding: 28px 4px; font-family: var(--ff-serif); font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q"; font-family: var(--ff-en); font-style: italic; font-size: 26px; color: var(--green-500); font-weight: 400; }
.faq__icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background-color .3s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq__item[open] .faq__icon { background: var(--accent); border-color: var(--accent); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-columns: 44px 1fr 32px; gap: 14px; padding: 0 4px 30px; color: var(--muted); }
.faq__a::before { content: "A"; font-family: var(--ff-en); font-style: italic; font-size: 26px; color: var(--accent-strong); line-height: 1.3; }
.faq__a > div > p + p { margin-top: 10px; }
.faq__item[open] .faq__a { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }
.section--dark .faq, .section--dark .faq__item { border-color: var(--line-light); }
.faq-cat { margin-top: clamp(56px, 6vw, 80px); }
.faq-cat:first-child { margin-top: 0; }
.faq-cat__ttl { display: flex; align-items: baseline; gap: 16px; font-family: var(--ff-serif); font-weight: 600; font-size: clamp(21px, 2vw, 26px); margin-bottom: 18px; }
.faq-cat__ttl small { font-family: var(--ff-en); font-style: italic; font-weight: 400; font-size: 16px; color: var(--green-500); letter-spacing: 0.1em; }
.faq-more { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; }

/* =========================================================
   60FREE: can-do grid / price / steps / assurance
   ========================================================= */
.cando { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cando li { background: var(--paper); padding: 40px 32px 44px; transition: background-color .5s var(--ease); }
.cando li:hover { background: var(--white); }
.cando__icon { width: 48px; height: 48px; color: var(--green-700); margin-bottom: 22px; }
.cando h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 21px; margin-bottom: 10px; }
.cando p { color: var(--muted); font-size: var(--fs-body); }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.price__big { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; background: var(--green-900); color: var(--cream); padding: clamp(32px, 4vw, 56px); }
.price__big .p-col { text-align: center; }
.price__big .p-term { font-size: 14px; letter-spacing: 0.1em; color: rgba(244, 239, 228, 0.75); }
.price__big .p-val { font-family: var(--ff-serif); font-size: clamp(42px, 5vw, 72px); line-height: 1.15; margin-top: 8px; white-space: nowrap; }
.price__big .p-val small { font-size: 0.32em; margin-left: 4px; font-family: var(--ff-sans); font-weight: 700; }
.price__big .p-col:first-child .p-val { color: var(--accent); }
.price__big .p-sub { font-size: 13px; color: rgba(244, 239, 228, 0.7); margin-top: 4px; }
.price__big .p-arrow { width: 40px; color: var(--accent); }
.price-table { background: var(--white); border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; font-size: 16px; }
.price-table thead th { background: var(--cream); font-size: 14px; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.price-table tbody th { font-weight: 700; white-space: nowrap; }
.price-table td strong { font-family: var(--ff-serif); font-size: 22px; font-weight: 600; color: var(--green-800); }
.price-table tr.is-free td strong { color: var(--green-700); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.conditions { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.conditions li { background: var(--white); padding: 26px 28px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; font-size: 17px; line-height: 1.8; }
.conditions li svg { width: 40px; height: 40px; color: var(--green-700); }
.conditions li b { display: block; font-family: var(--ff-serif); font-size: 19px; margin-bottom: 4px; }
.conditions li.is-important { background: #fffbea; }
.conditions li.is-important b { color: #8a4b0f; }
.pending { grid-column: 1 / -1; border: 1px dashed #b5832a !important; background: #fffaf0 !important; }
.pending b { color: #8a5a10; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.step__num { width: 64px; height: 64px; flex: none; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; font-family: var(--ff-en); font-style: italic; font-size: 22px; color: var(--accent); }
.step:last-child .step__num { background: var(--accent); color: var(--green-900); border-color: var(--accent); }
.step__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-light), transparent); }
.step:last-child .step__line { display: none; }
.step__label { font-family: var(--ff-en); letter-spacing: 0.16em; font-size: 14px; color: var(--accent); text-transform: uppercase; }
.step h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 21px; margin: 6px 0 12px; }
.step p { color: rgba(244, 239, 228, 0.8); font-size: var(--fs-body); }
/* 5ステップ版 */
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--5 .step { padding-right: 22px; }
.steps--5 .step h3 { font-size: 19px; line-height: 1.55; }

.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.assure li { border-top: 2px solid var(--green-800); padding-top: 28px; }
.assure svg { width: 44px; height: 44px; color: var(--green-700); margin-bottom: 20px; }
.assure h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 22px; margin-bottom: 12px; }
.assure p { color: var(--muted); }

/* =========================================================
   Form
   ========================================================= */
.apply { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply__aside { position: sticky; top: 110px; }
.recap { margin-top: 32px; border: 1px solid var(--line-light); }
.recap dl { display: grid; grid-template-columns: auto 1fr; }
.recap dt, .recap dd { padding: 16px 20px; border-bottom: 1px solid var(--line-light); font-size: 16px; }
.recap dt { color: rgba(244, 239, 228, 0.7); white-space: nowrap; }
.recap dd { color: var(--cream); font-weight: 700; }
.recap dd em { font-style: normal; color: var(--accent); }
.recap dl > :nth-last-child(-n + 2) { border-bottom: 0; }

.form { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.form__ttl { font-family: var(--ff-serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; margin-bottom: 8px; }
.form__desc { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.field { margin-bottom: 24px; }
.field label, .field .label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.req, .opt { font-size: 12px; padding: 2px 8px; border-radius: 2px; letter-spacing: 0.08em; font-weight: 700; }
.req { background: var(--green-800); color: var(--cream); }
.opt { background: var(--green-100); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 18px; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 1px solid rgba(26, 58, 43, 0.28); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a3a2b' stroke-width='1.5'/%3E%3C/svg%3E") right 18px center / 12px no-repeat; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(198, 228, 106, 0.6); }
.field.is-error input, .field.is-error select { border-color: #b3261e; background: #fff6f5; }
.field__error { display: none; margin-top: 8px; font-size: 14px; color: #b3261e; font-weight: 700; }
.field.is-error .field__error { display: block; }
.field__hint { margin: -2px 0 10px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.field input + .field__hint { margin: 8px 0 0; }
/* 住所グループ */
.address { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.address legend { padding: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.address .field { margin-bottom: 14px; }
.address .field:last-child { margin-bottom: 0; }
.field .sublabel { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field--zip { max-width: 260px; }
.zip-wrap { position: relative; }
.zip-wrap > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field .zip-wrap input { padding-left: 40px; }
.address .field:nth-of-type(2) { max-width: 320px; }
.field--radio { border: 0; padding: 0; min-width: 0; }
.field--radio legend { padding: 0; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio { position: relative; display: flex !important; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; margin: 0 !important; background: var(--white); border: 1px solid rgba(26, 58, 43, 0.28); border-radius: var(--radius); cursor: pointer; font-weight: 500 !important; transition: border-color .3s, background-color .3s; }
.radio input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--green-800); }
.radio span { line-height: 1.5; padding-block: 12px; }
.radio:has(input:checked) { border-color: var(--green-800); background: var(--green-100); }
.radio:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(198, 228, 106, 0.6); }
.field--radio.is-error .radio { border-color: #b3261e; background: #fff6f5; }
.field--check label { font-weight: 400; align-items: flex-start; cursor: pointer; line-height: 1.7; }
.field--check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--green-800); flex: none; }
.form__recap { padding: 18px 20px; background: var(--cream); border-left: 3px solid var(--green-800); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.form__recap strong { color: var(--green-800); }
.form .btn { margin-top: 8px; }
.form__after { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }

/* =========================================================
   Terms（利用規約）
   ========================================================= */
.hero--short { min-height: max(56svh, 440px); }
.terms { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.terms__toc { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow-y: auto; border-left: 1px solid var(--line); padding-left: 22px; }
.terms__toc-ttl { font-family: var(--ff-en); font-size: 14px; letter-spacing: 0.2em; color: var(--green-500); text-transform: uppercase; margin-bottom: 14px; }
.terms__toc ol { counter-reset: toc; }
.terms__toc li { counter-increment: toc; }
.terms__toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; line-height: 1.6; color: var(--muted); text-decoration: none; transition: color .3s; }
.terms__toc a::before { content: "(" counter(toc) ")"; flex: none; min-width: 2.4em; font-family: var(--ff-en); color: var(--green-500); }
.terms__toc a:hover, .terms__toc a[aria-current] { color: var(--green-800); }
.terms__body { max-width: 820px; }
.terms__ttl { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.55; padding-bottom: 24px; border-bottom: 2px solid var(--green-800); margin-bottom: 28px; }
.terms__preamble { padding: 24px 28px; background: var(--cream); border-radius: var(--radius); line-height: 2; }
.terms__art { padding-top: 44px; scroll-margin-top: 90px; }
.terms__art h3 { display: flex; align-items: baseline; gap: 14px; font-family: var(--ff-serif); font-weight: 600; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.terms__art h3 span { font-family: var(--ff-en); font-style: italic; font-weight: 400; color: var(--green-500); font-size: 1.1em; flex: none; }
.terms__art p { line-height: 2; }
.terms__clauses { counter-reset: cl; display: grid; gap: 14px; }
.terms__clauses > li { counter-increment: cl; position: relative; padding-left: 2.2em; line-height: 2; }
.terms__clauses > li::before { content: counter(cl); position: absolute; left: 0; top: 0.3em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-size: 13px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.terms__items { counter-reset: it; display: grid; gap: 8px; margin-top: 14px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.terms__items > li { counter-increment: it; position: relative; padding-left: 2.4em; line-height: 1.9; }
.terms__items > li::before { content: "(" counter(it, lower-roman) ")"; position: absolute; left: 0; color: var(--green-500); font-family: var(--ff-en); font-style: italic; }
.terms__back { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
/* フォーム内の契約内容（スクロール表示） */
.terms-box { height: 320px; overflow-y: auto; overscroll-behavior: contain; margin-bottom: 24px; padding: 22px 24px; background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--green-800); border-radius: var(--radius); font-size: 14px; line-height: 1.9; color: var(--ink); }
.terms-box:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.terms-box p + p, .terms-box p + ol, .terms-box p + ul { margin-top: 8px; }
.terms-box__ttl { font-family: var(--ff-serif); font-weight: 600; font-size: 16px; color: var(--green-800); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.terms-box .terms-box__h { margin-top: 18px; font-weight: 700; color: var(--green-800); }
.terms-box__ol { list-style: decimal; padding-left: 1.6em; display: grid; gap: 6px; }
.terms-box__ul { list-style: disc; padding-left: 1.4em; display: grid; gap: 4px; margin-top: 6px; }
@media (max-width: 767px) { .terms-box { height: 280px; padding: 18px; } }
.field--check a { color: var(--green-800); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.field--check a:hover { color: var(--green-500); }
@media (max-width: 1024px) {
  .terms { grid-template-columns: 1fr; }
  .terms__toc { position: static; max-height: none; border-left: 0; padding: 22px; background: var(--cream); border-radius: var(--radius); }
  .terms__toc ol { columns: 2; column-gap: 24px; }
  .terms__toc li { break-inside: avoid; }
}
@media (max-width: 767px) {
  .terms__toc ol { columns: 1; }
  .terms__preamble { padding: 20px; }
  .terms__items { padding: 16px; }
}

/* =========================================================
   Thanks
   ========================================================= */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: ns; }
.next-steps li { background: var(--white); border: 1px solid var(--line); padding: 36px 30px; position: relative; }
.next-steps li::before { counter-increment: ns; content: "0" counter(ns); font-family: var(--ff-en); font-style: italic; font-size: 44px; color: var(--accent-strong); line-height: 1; display: block; margin-bottom: 18px; }
.next-steps h3 { font-family: var(--ff-serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.next-steps p { color: var(--muted); font-size: var(--fs-body); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--green-950); color: rgba(244, 239, 228, 0.78); padding: clamp(72px, 8vw, 112px) 0 40px; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { height: 48px; width: auto; }
.footer__brand p { margin-top: 22px; font-size: 15px; line-height: 1.9; max-width: 380px; }
.footer__ttl { font-family: var(--ff-en); letter-spacing: 0.2em; font-size: 14px; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; }
.footer__nav li + li { margin-top: 10px; }
.footer__nav a { text-decoration: none; font-size: 15px; transition: color .3s; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; }
.footer__big { font-family: var(--ff-en); font-size: clamp(56px, 13vw, 200px); line-height: .9; letter-spacing: 0.02em; color: rgba(244, 239, 228, 0.05); white-space: nowrap; margin-top: 40px; user-select: none; }

/* =========================================================
   Sticky CTA (SP) & Back to top
   ========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(18, 38, 29, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-light);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__inner { display: flex; align-items: center; gap: 14px; max-width: 720px; margin-inline: auto; }
.sticky-cta__note { color: var(--cream); font-size: 12px; line-height: 1.5; letter-spacing: 0.04em; flex: none; }
.sticky-cta__note b { display: block; color: var(--accent); font-size: 15px; font-family: var(--ff-serif); }
.sticky-cta .btn { --h: 54px; flex: 1; padding: 0 18px; font-size: 15px; }

.totop {
  position: fixed; right: clamp(16px, 2.4vw, 36px); bottom: clamp(16px, 2.4vw, 36px); z-index: 95;
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line-light);
  background: var(--green-900); color: var(--cream); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s, transform .5s var(--ease), visibility .4s, background-color .3s, color .3s, bottom .5s var(--ease);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--accent); color: var(--green-900); }
.totop svg { width: 18px; height: 18px; }
.totop__ring { position: absolute; inset: -1px; width: calc(100% + 2px) !important; height: calc(100% + 2px) !important; transform: rotate(-90deg); pointer-events: none; }
.totop__ring circle { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 182; stroke-dashoffset: 182; }
.totop__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   Reveal animation
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .12s; }
[data-reveal="3"] { transition-delay: .24s; }
[data-reveal="4"] { transition-delay: .36s; }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--green-800); transform-origin: right; transition: transform 1.3s var(--ease); }
.img-reveal.is-in::after { transform: scaleX(0); }
.img-reveal img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.img-reveal.is-in img { transform: scale(1); }

/* Decorative root line */
.deco-root { position: absolute; pointer-events: none; color: var(--green-500); opacity: .22; }
.deco-root--r { right: 0; top: 60px; width: min(340px, 30vw); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .flist__item { grid-template-columns: 60px 170px 1fr 40px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .gnav, .header__cta { display: none; }
  .hamburger { display: block; }
  .logo img { height: 38px; }
  .sticky-cta { display: block; }
  .totop { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 120px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__badges { grid-template-columns: repeat(3, 1fr); min-width: 0; }
  .hero__badges li { padding: 16px 18px; }
  .hero__scroll { display: none; }
  .worries { grid-template-columns: repeat(2, 1fr); }
  .worry:nth-child(3) { border-left: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; gap: 72px; }
  .pillar { display: grid; grid-template-columns: 0.9fr 1fr; gap: 0 36px; }
  .pillar__media { grid-row: span 3; aspect-ratio: 3 / 4; }
  .pillar__word { margin-top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .trust-grid, .bridge, .apply { grid-template-columns: 1fr; }
  .apply__aside { position: static; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
  .cando { grid-template-columns: repeat(2, 1fr); }
  .fcards { grid-template-columns: repeat(2, 1fr); }
  .fcard--cta { grid-column: span 2; }
  .price { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .step:nth-child(2) .step__line { display: none; }
  .steps--5 { grid-template-columns: repeat(3, 1fr); }
  .steps--5 .step:nth-child(2) .step__line { display: block; }
  .steps--5 .step:nth-child(3n) .step__line { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .sp-none { display: none; }
  .section { padding-block: 80px; }
  .hero { min-height: max(100svh, 640px); }
  .hero::before { background: linear-gradient(0deg, rgba(13, 28, 21, 0.95) 0%, rgba(13, 28, 21, 0.7) 50%, rgba(13, 28, 21, 0.35) 100%); }
  .hero__inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 36px; }
  .hero__title { font-size: clamp(24px, 7.4vw, 44px); }
  .hero--page .hero__title { font-size: clamp(24px, 7.2vw, 40px); }
  .bleed__quote { font-size: clamp(24px, 7.4vw, 40px); }
  .h-section { font-size: clamp(24px, 6.6vw, 32px); }
  .hero .cta-group .btn { width: 100%; }
  .hero__badges li { padding: 14px 10px; text-align: center; }
  .hero__badges b { font-size: 22px; }
  .hero__badges span { font-size: 11px; letter-spacing: 0.04em; }
  .btn { --h: 58px; padding: 0 24px; font-size: 16px; }
  .btn--lg { --h: 64px; }
  .cta-group .btn { width: 100%; }
  .worries { grid-template-columns: 1fr; }
  .worry { border-left: 1px solid var(--line); padding: 30px 24px; }
  .worry__icon { margin: 16px 0 14px; width: 44px; height: 44px; }
  .worries-after { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pillar { display: flex; }
  .pillar__media { aspect-ratio: 4 / 3; }
  .pillar__word { margin-top: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 16px; }
  .stat__desc { font-size: 13px; }
  .stat__value { font-size: 28px; }
  .stat__value small { display: block; margin: 4px 0 0; font-size: 13px; }
  .flist__item { grid-template-columns: 40px 1fr 36px; gap: 6px 14px; padding: 22px 0; }
  .flist__item:hover { padding-inline: 8px; }
  .flist__en { grid-column: 2; font-size: 20px; }
  .flist__ttl { grid-column: 2; grid-row: 2; }
  .flist__arrow { grid-column: 3; grid-row: 1 / 3; width: 36px; height: 36px; }
  .compare-mini { grid-template-columns: 1fr; }

  /* 比較表：カード化 */
  .compare-wrap { border: 0; background: transparent; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { background: var(--white); border: 1px solid var(--line); margin-bottom: 16px; }
  .compare tbody th { background: var(--green-100); padding: 14px 18px; font-size: 16px; }
  .compare td { padding: 14px 18px 16px; display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; font-size: 16px; }
  .compare td::before { content: attr(data-label); font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: 0.04em; padding-top: 3px; }
  .compare td.is-ours::before { color: var(--accent); }
  .compare tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare tr td:last-child { border-bottom: 0; }

  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 0 44px; }
  .timeline li::before { top: 6px; }
  .cando { grid-template-columns: 1fr; }
  .fcards { grid-template-columns: 1fr; }
  .fcard--lead, .fcard--cta { grid-column: auto; }
  .fcard--lead { grid-template-columns: 1fr; }
  .fcard--lead .fcard__media { aspect-ratio: 4 / 3; min-height: 0; }
  .fcard__body { padding: 24px 22px 28px; }
  .fcard--cta .btn { width: 100%; }
  .cando li { padding: 30px 24px; }
  .price__big { grid-template-columns: 1fr; text-align: center; padding: 32px 20px; }
  .price__big .p-arrow { transform: rotate(90deg); margin-inline: auto; width: 32px; }
  .price-table th, .price-table td { padding: 16px 12px; font-size: 14px; }
  .price-table td strong { font-size: 17px; }
  .conditions { grid-template-columns: 1fr; }
  .conditions li { padding: 22px 18px; grid-template-columns: 32px 1fr; }
  .conditions li svg { width: 32px; height: 32px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding: 0; }
  .step__head { margin: 0; grid-row: span 3; align-self: start; }
  .step__line, .steps--5 .step:nth-child(n) .step__line { display: none; }
  .assure { grid-template-columns: 1fr; gap: 32px; }
  .next-steps { grid-template-columns: 1fr; }
  .bridge__points li { padding: 22px 8px; }
  .bleed__body { padding-block: 72px; }
  .faq__q { grid-template-columns: 30px 1fr 30px; gap: 10px; padding: 22px 0; }
  .faq__a { grid-template-columns: 30px 1fr; gap: 10px; padding: 0 0 24px; }
  .faq__a::before, .faq__q::before { font-size: 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .form { padding: 28px 20px; }
  .recap dt, .recap dd { padding: 14px 14px; font-size: 15px; }
  .sticky-cta__note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .fade-in, .hero__title .line > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* マージン */

.mgb1em {
	margin-bottom:1em !important;
}
.mgb2em {
	margin-bottom:2em !important;
}

.mgb3em {
	margin-bottom:3em !important;
}


.mgbS {
	margin-bottom:20px !important;
}

.mgbM {
	margin-bottom:50px !important;
}

.mgbL {
	margin-bottom:100px !important;
}


.mgb1em {
	margin-bottom:1em !important;
}
.mgb2em {
	margin-bottom:2em !important;
}
.mgb3em {
	margin-bottom:3em !important;
}
.mgbS {
	margin-bottom:30px !important;
}
.mgbM {
	margin-bottom:70px !important;
}
.mgbL {
	margin-bottom:120px !important;
}
.mgb0 {
	margin-bottom:0px !important;
}
.mgb10px {
	margin-bottom:10px !important;
}
.mgb20px {
	margin-bottom:20px !important;
}
.mgb30px {
	margin-bottom:30px !important;
}
.mgb40px {
	margin-bottom:40px !important;
}
.mgb50px {
	margin-bottom:50px !important;
}
.mgb60px {
	margin-bottom:60px !important;
}
.mgb70px {
	margin-bottom:70px !important;
}
.mgb80px {
	margin-bottom:80px !important;
}
.mgb100px {
	margin-bottom:100px !important;
}

.mgbPC0SP20px {
	margin-bottom:0 !important;
}

@media only screen and (max-width: 600px) {
.mgbPC0SP20px {
	margin-bottom:20px !important;
}
}

.mb0 {
	margin-bottom: 0px!important;
}
.mb5 {
	margin-bottom: 5px!important;
}
.mb10 {
	margin-bottom: 10px!important;
}
.mb15 {
	margin-bottom: 15px!important;
}
.mb20 {
	margin-bottom: 20px!important;
}
.mb25 {
	margin-bottom: 25px!important;
}
.mb30 {
	margin-bottom: 30px!important;
}
.mb40 {
	margin-bottom: 40px!important;
}
.mb50 {
	margin-bottom: 50px!important;
}
.mb60 {
	margin-bottom: 60px!important;
}
.mb70 {
	margin-bottom: 70px!important;
}
.mb80 {
	margin-bottom: 80px!important;
}
.mb90 {
	margin-bottom: 90px!important;
}
.mb100 {
	margin-bottom: 100px!important;
}


