/* ==========================================
   高知草刈りレスキュー LP — style.css v17
   2026-11 磨き上げ: 余白とリズムで上質に。主の行動は「無料見積もり」1つ
   ========================================== */

:root {
  /* 色: 生成りの地に、深い緑と、行動の色（焦げ橙）を1つだけ */
  --bg: #F7F6F0;
  --bg-alt: #EFEEE6;
  --surface: #FFFDF8;
  --ink: #1E2A20;
  --ink-2: #4D5A4F;
  --ink-3: #5E6A60;
  --line: #DCDACD;
  --line-2: #E8E6DB;
  --green: #1F6B33;
  --green-deep: #163D22;
  --green-brand: #2D8C3C;
  --green-soft: #E6EEDF;
  --green-mist: #F0F4EA;
  --accent: #C2410C;
  --accent-hover: #A8380A;
  --line-green: #06C755;
  --error: #B42318;

  --ff: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(30, 42, 32, .06);
  --shadow: 0 1px 2px rgba(30, 42, 32, .05), 0 10px 30px rgba(30, 42, 32, .07);

  --header-h: 64px;
  --container: 1160px;
  --gutter: 20px;
  --section-y: 72px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 104px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 76px; --section-y: 120px; }
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  line-break: strict;
  font-feature-settings: "palt" 0;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
fieldset { border: none; min-width: 0; }
table { border-collapse: collapse; width: 100%; }
strong { font-weight: 700; }
em { font-style: normal; }
main p, main dd { max-inline-size: 35em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 2000;
  padding: 10px 16px; background: var(--green-deep); color: var(--surface);
  border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.br-sp { display: inline; }
@media (min-width: 768px) { .br-sp { display: none; } }

/* --- 見出しの型 --- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section-head { margin-bottom: 40px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 700; letter-spacing: .08em; color: var(--green);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--green-brand); border-radius: 2px; }

.section-title {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 700; line-height: 1.45; letter-spacing: .02em;
  word-break: auto-phrase; text-wrap: balance;
  font-feature-settings: "palt" 1;
}
.section-title em { color: var(--green); }
.section-lead { margin-top: 16px; color: var(--ink-2); font-size: 1rem; }
.section-lead strong { color: var(--ink); }

.sub-title {
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; line-height: 1.5;
  font-feature-settings: "palt" 1;
}
.sub-title small { font-size: .8125rem; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.detail-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.5; margin-bottom: 14px; word-break: auto-phrase; }

.img-note { font-size: .75rem; color: var(--ink-3); letter-spacing: .02em; }
.img-note--end { margin-top: 16px; text-align: right; max-inline-size: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.3; letter-spacing: .02em;
  border: 1.5px solid transparent; text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { flex-shrink: 0; transition: transform .2s ease; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--md { min-height: 50px; padding: 0 24px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
@media (max-width: 479px) {
  .btn--lg { font-size: 1rem; padding: 0 18px; gap: 8px; }
}
.btn--primary { background: var(--accent); color: var(--surface); box-shadow: 0 6px 18px rgba(194, 65, 12, .22); }
.btn--primary:hover { background: var(--accent-hover); color: var(--surface); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green-soft); }

/* --- Scroll animation（JS が動く時だけ隠す） --- */
@media (prefers-reduced-motion: no-preference) {
  .js .animate-on-scroll { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .animate-on-scroll.is-visible { opacity: 1; transform: none; }
  .js .animate-on-scroll.stagger-2 { transition-delay: .06s; }
  .js .animate-on-scroll.stagger-3 { transition-delay: .12s; }
  .js .animate-on-scroll.stagger-4 { transition-delay: .18s; }
  .js .animate-on-scroll.stagger-5 { transition-delay: .24s; }
  .js .animate-on-scroll.stagger-6 { transition-delay: .3s; }
}

/* ==========================================
   Header
   ========================================== */
.header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: rgba(247, 246, 240, .92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.header__inner {
  height: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.header__logo { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.header__logo-img { width: 176px; height: auto; }
.header__nav { display: none; margin-left: auto; }
.header__nav-list { display: flex; gap: 4px; }
.header__nav-link {
  display: flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: .875rem; font-weight: 500; color: var(--ink); border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}
.header__nav-link:hover { color: var(--green); background: var(--green-mist); }
.header__actions { display: none; align-items: center; gap: 16px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--green-deep); font-weight: 700; font-size: 1.0625rem; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.header__phone svg { color: var(--green); }
.header__hamburger {
  margin-left: auto; width: 44px; height: 44px; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 6px; border-radius: 10px;
}
.header__hamburger-line { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.header__hamburger.is-active .header__hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__hamburger.is-active .header__hamburger-line:nth-child(2) { opacity: 0; }
.header__hamburger.is-active .header__hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 1024px) {
  .header__logo-img { width: 200px; }
  .header__actions { display: flex; margin-left: auto; }
}
@media (min-width: 1240px) {
  .header__nav { display: block; }
  .header__actions { margin-left: 8px; }
  .header__hamburger { display: none; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .header__hamburger { margin-left: 4px; }
}

/* Mobile menu（閉じている時は表示しない） */
.mobile-menu { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 999; }
.mobile-menu.is-open { display: block; }
.mobile-menu__overlay { position: absolute; inset: 0; background: rgba(22, 32, 24, .35); }
.mobile-menu__nav {
  position: absolute; top: 0; right: 0; width: min(360px, 100%); max-height: 100%; overflow-y: auto;
  background: var(--surface); padding: 12px var(--gutter) 28px; box-shadow: var(--shadow);
  border-bottom-left-radius: var(--radius);
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open .mobile-menu__nav { animation: menu-in .25s ease-out; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
.mobile-menu__list { display: grid; }
.mobile-menu__link {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2);
}
.mobile-menu__link--cta {
  margin-top: 20px; justify-content: center; border-radius: 999px; border: none;
  background: var(--accent); color: var(--surface); font-weight: 700;
}
.mobile-menu__tel {
  display: grid; justify-items: center; margin-top: 14px; padding: 10px; min-height: 44px;
  font-size: 1.25rem; font-weight: 700; color: var(--green-deep); letter-spacing: .04em;
}
.mobile-menu__tel small { font-size: .8125rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }

/* ==========================================
   Hero — 画面いっぱいの施工前後の見比べが、ヒーローそのもの
   スマホ: 上の約6割が見比べ（全幅）、その下に見出し・料金・主の行動
   パソコン: 見比べが画面いっぱい。左上に半透明のパネル
   ========================================== */
.hero { position: relative; background: var(--bg); }
.hero__stage { position: relative; display: flex; flex-direction: column; }
.hero__ba { order: -1; } /* 読む順は「見出し→見比べ」、見た目は「見比べ→見出し」 */

/* --- 見比べ（つまみは縦の線。横のドラッグだけ拾い、縦のスクロールは邪魔しない） --- */
.ba { position: relative; margin: 0; }
.hero__ba {
  --ba-y: 50%;           /* つまみの高さ */
  height: calc(56vh - var(--header-h));
  height: calc(56svh - var(--header-h));
  min-height: 260px;
}
.ba__frame {
  --pos: 50%;
  position: relative; height: 100%; overflow: hidden; isolation: isolate;
  background: #C9CCBC;
  cursor: ew-resize; touch-action: pan-y pinch-zoom;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.ba__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% var(--ba-img-y, 55%);
  pointer-events: none; -webkit-user-drag: none;
}
.ba__before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(20, 30, 22, .12), 0 0 14px rgba(20, 30, 22, .28);
}
.ba__handle {
  position: absolute; top: var(--ba-y); left: var(--pos); transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--green-deep);
  box-shadow: 0 0 0 5px rgba(255, 253, 248, .35), 0 8px 22px rgba(20, 30, 22, .32);
  transition: box-shadow .2s ease, transform .2s ease;
}
.ba__frame.is-dragging .ba__handle,
.ba__frame:hover .ba__handle { box-shadow: 0 0 0 8px rgba(255, 253, 248, .4), 0 10px 26px rgba(20, 30, 22, .36); }
.ba__frame:has(.ba__range:focus-visible) .ba__handle { outline: 3px solid var(--accent); outline-offset: 4px; }

/* 「施工前」「施工後」の札は、つまみの左右に付いて動く */
.ba__tag {
  position: absolute; top: var(--ba-y); transform: translateY(-50%);
  padding: 5px 12px; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; white-space: nowrap;
  transition: opacity .2s ease;
}
.ba__tag--before { right: calc(100% - var(--pos) + 40px); background: rgba(30, 42, 32, .86); color: var(--surface); }
.ba__tag--after { left: calc(var(--pos) + 40px); background: var(--green); color: var(--surface); }
.ba.is-edge-left .ba__tag--before,
.ba.is-edge-right .ba__tag--after { opacity: 0; }

.ba__hint {
  position: absolute; top: calc(var(--ba-y) + 44px); left: clamp(112px, var(--pos), calc(100% - 112px));
  transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(20, 30, 22, .8); color: var(--surface);
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5;
  transition: opacity .4s ease;
}
.ba.is-touched .ba__hint { opacity: 0; }

/* キーボードと読み上げ用の本物のつまみ（見た目は上の円が担う） */
.ba__range {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; opacity: 0;
}
/* JavaScript が無い時は、真ん中で止めた見比べの写真として見せる */
html:not(.js) .ba__handle, html:not(.js) .ba__hint, html:not(.js) .ba__range { display: none; }
html:not(.js) .ba__frame { cursor: default; }

.ba__caption { position: absolute; right: 12px; bottom: 32px; z-index: 4; pointer-events: none; }
.ba__caption .img-note {
  display: block; padding: 2px 9px; border-radius: 999px;
  background: rgba(20, 30, 22, .62); color: var(--surface); font-size: .6875rem;
}

/* --- 文字の面（スマホ: 写真の下に重なるシート） --- */
.hero__overlay {
  position: relative; z-index: 5; margin-top: -20px;
  background: var(--bg); border-radius: 20px 20px 0 0;
}
.hero__overlay-inner { max-width: 1280px; margin-inline: auto; padding: 20px var(--gutter) 8px; }
.hero__panel { display: flex; flex-direction: column; min-width: 0; }

.hero__title { display: grid; gap: 6px; }
.hero__kicker {
  font-size: .8125rem; font-weight: 500; color: var(--ink-2); line-height: 1.6; letter-spacing: .02em;
  word-break: auto-phrase;
}
.hero__kicker strong { color: var(--green-deep); font-weight: 700; }
.hero__headline {
  font-size: clamp(1.375rem, .5rem + 4.6vw, 2.5rem); font-weight: 700;
  line-height: 1.38; letter-spacing: .01em; color: var(--ink);
  font-feature-settings: "palt" 1; word-break: keep-all; overflow-wrap: anywhere;
}
.hero__lead {
  order: 4; margin-top: 24px; color: var(--ink-2); font-size: .9375rem; line-height: 1.8;
  word-break: auto-phrase;
}

.hero__offer { margin-top: 12px; }
.hero__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin-bottom: 10px; }
.hero__price-label {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: .9375rem; font-weight: 700; color: var(--ink-2);
}
.hero__price-label span { color: var(--green); }
.hero__price-main { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.hero__price-amount {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -.01em;
  color: var(--green-deep); font-variant-numeric: tabular-nums;
}
.hero__price-unit { font-size: 1.0625rem; font-weight: 700; color: var(--green-deep); }
.hero__price-unit small { font-size: .8125rem; font-weight: 500; color: var(--ink-2); margin-left: 2px; }
.hero__cta { width: 100%; }
.hero__cta-note { margin-top: 8px; font-size: .8125rem; color: var(--ink-2); line-height: 1.7; max-inline-size: none; }

.hero__sub { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
@media (min-width: 370px) { .hero__sub { grid-template-columns: 1fr 1fr; } }
.hero__sub-link {
  display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--green-deep); font-weight: 700; font-size: .9375rem; line-height: 1.3;
  font-variant-numeric: tabular-nums; transition: border-color .2s ease, background-color .2s ease;
}
.hero__sub-link span { display: grid; min-width: 0; white-space: nowrap; }
.hero__sub-link small { font-size: .75rem; font-weight: 500; color: var(--ink-2); }
.hero__sub-link svg { color: var(--green); flex-shrink: 0; }
.hero__sub-link--line svg { color: var(--line-green); }
.hero__sub-link:hover { border-color: var(--green); background: var(--green-mist); }

/* --- 事実の帯（見比べの下） --- */
.hero__facts { background: var(--bg); border-bottom: 1px solid var(--line-2); }
.hero__facts-list {
  max-width: 1280px; margin-inline: auto; padding: 8px var(--gutter) 20px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px;
}
.hero__facts-list li {
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px 0;
  border-top: 1px solid var(--line-2);
  font-size: .875rem; font-weight: 700; color: var(--ink); line-height: 1.4; word-break: keep-all;
}
.hero__facts-list svg { color: var(--green); flex-shrink: 0; }

@media (min-width: 560px) {
  .hero__cta { width: auto; align-self: flex-start; }
  .hero__offer { display: flex; flex-direction: column; }
  .hero__sub { max-width: 480px; }
}
@media (min-width: 768px) {
  .ba__tag { padding: 6px 14px; font-size: .875rem; }
  .hero__overlay-inner { padding-top: 28px; }
  .hero__facts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 28px; }
}
/* タブレット: 写真の下の文字を2列に（左に見出し、右に料金と主の行動） */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__panel {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 40px; align-items: start;
  }
  .hero__title { grid-column: 1; grid-row: 1; }
  .hero__headline { font-size: clamp(1.75rem, 3.6vw, 2.25rem); }
  .hero__lead { grid-column: 1; grid-row: 2; order: 0; margin-top: 14px; }
  .hero__sub { grid-column: 1; grid-row: 3; margin-top: 18px; }
  .hero__offer { grid-column: 2; grid-row: 1 / span 3; margin-top: 26px; }
  .hero__cta { width: 100%; align-self: stretch; }
}

/* --- パソコン: 見比べを画面いっぱいに、文字は左上の半透明のパネルへ --- */
@media (min-width: 1024px) {
  .hero__stage {
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    min-height: 600px; max-height: 1080px;
  }
  .hero__ba { position: absolute; inset: 0; height: auto; min-height: 0; --ba-y: 84%; }
  .ba__img { --ba-img-y: 78%; }
  .ba__caption { right: 16px; bottom: 16px; }
  .ba__caption .img-note { font-size: .75rem; }

  .hero__overlay {
    position: absolute; inset: 0; margin: 0; background: none; border-radius: 0;
    pointer-events: none;
  }
  .hero__overlay-inner { height: 100%; padding: clamp(24px, 4.2vh, 44px) var(--gutter) 0; }
  .hero__panel {
    pointer-events: auto;
    width: clamp(400px, 38vw, 500px); max-width: none;
    padding: 26px 26px 24px;
    background: rgba(255, 253, 248, .88);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(20, 30, 22, .2), 0 2px 8px rgba(20, 30, 22, .08);
  }
  .hero__kicker { font-size: .875rem; }
  .hero__headline { font-size: clamp(1.75rem, .6rem + 1.85vw, 2.375rem); }
  .hero__lead { order: 0; margin-top: 12px; font-size: .9375rem; line-height: 1.75; }
  .hero__offer { margin-top: 18px; }
  .hero__sub { margin-top: 14px; max-width: none; }
  .hero__sub-link { min-height: 50px; }

  .hero__facts { background: var(--surface); }
  .hero__facts-list { column-gap: 0; padding-block: 0; }
  .hero__facts-list li { justify-content: center; padding: 16px 12px; border-top: 0; font-size: .875rem; }
  .hero__facts-list li:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
  .hero__facts-list li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line-2); }
}
/* 背の低いノートパソコン（1366×657 など）: パネルを詰めて、つまみと札をパネルの下に収める */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero__stage { min-height: 560px; }
  .hero__ba { --ba-y: 86%; }
  .hero__overlay-inner { padding-top: 20px; }
  .hero__panel { padding: 22px 26px 20px; }
  .hero__headline { font-size: clamp(1.625rem, .6rem + 1.6vw, 2.125rem); }
  .hero__lead { margin-top: 8px; font-size: .875rem; line-height: 1.7; }
  .hero__offer { margin-top: 12px; }
  .hero__price { margin-bottom: 8px; }
  .hero__cta { min-height: 54px; }
  .hero__cta-note { margin-top: 6px; line-height: 1.6; }
  .hero__sub { margin-top: 10px; }
  .hero__sub-link { min-height: 46px; padding-block: 6px; }
}
@media (min-width: 1280px) and (min-height: 761px) {
  .hero__panel { padding: 28px 32px 26px; }
}
@media (min-width: 1280px) {
  .hero__facts-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero__facts-list li { padding: 20px 12px; font-size: .9375rem; }
  .hero__facts-list li:nth-child(n + 4) { border-top: 0; }
  .hero__facts-list li:nth-child(4) { border-left: 1px solid var(--line-2); }
}

/* ==========================================
   Pain
   ========================================== */
.pain__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pain__item {
  display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center;
  padding: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.pain__img { width: 104px; height: 88px; object-fit: cover; border-radius: 10px; }
.pain__text { font-size: 1rem; font-weight: 700; line-height: 1.55; word-break: auto-phrase; overflow-wrap: anywhere; }
.pain__sub { margin-top: 4px; font-size: .875rem; color: var(--ink-2); line-height: 1.6; word-break: auto-phrase; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .pain__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .pain__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pain__item { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; align-items: stretch; }
  .pain__img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  .pain__body { padding: 18px 20px 22px; }
}

/* ==========================================
   CTA band
   ========================================== */
.cta-band { padding-block: 48px; }
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
.cta-band__title {
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.75rem); font-weight: 700; line-height: 1.5;
  font-feature-settings: "palt" 1; word-break: auto-phrase; text-wrap: balance;
}
.cta-band__text { margin-top: 6px; color: inherit; opacity: .86; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cta-band__actions .btn { flex: 1 1 260px; max-width: 360px; }
.cta-band__tel { display: grid; min-height: 44px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.cta-band__tel small { font-size: .8125rem; }
.cta-band__tel strong { font-size: 1.5rem; letter-spacing: .04em; }

.cta-band--soft { background: var(--green-soft); }
.cta-band--soft .cta-band__tel { color: var(--green-deep); }
.cta-band--soft .cta-band__tel small { color: var(--ink-2); }
.cta-band--soft .cta-band__text { color: var(--ink-2); opacity: 1; }

.cta-band--deep { background: var(--green-deep); color: var(--surface); padding-block: 64px; }
.cta-band--deep .cta-band__tel { color: var(--surface); }
.cta-band--deep .btn--primary { box-shadow: none; }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; }
  .cta-band__actions { flex-wrap: nowrap; }
  .cta-band__actions .btn { flex: none; }
}

/* ==========================================
   Services & Pricing
   ========================================== */
.services__grid { display: grid; gap: 20px; }
.service {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.service__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service__body { display: flex; flex-direction: column; padding: 22px 22px 24px; }
.service__title { font-size: 1.1875rem; font-weight: 700; line-height: 1.5; }
.service__desc { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; line-height: 1.75; }
.service__price {
  margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; gap: 6px;
  color: var(--green-deep); font-variant-numeric: tabular-nums;
}
.service__price span { font-size: .8125rem; font-weight: 700; color: var(--ink-2); padding: 2px 8px; border-radius: 6px; background: var(--green-mist); }
.service__price strong { font-size: 1.75rem; line-height: 1.2; }
.service__price small { font-size: .9375rem; font-weight: 700; }
@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* 料金プラン */
.price-plan { margin-top: 64px; }
.price-plan__head { display: grid; gap: 6px; margin-bottom: 20px; }
.price-plan__head p { color: var(--ink-2); font-size: .9375rem; }
.price-plan__tiers {
  display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.tier { position: relative; padding: 24px; display: grid; gap: 4px; align-content: start; }
.tier + .tier { border-top: 1px solid var(--line-2); }
.tier__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; }
.tier__badge { font-size: .75rem; padding: 2px 10px; border-radius: 999px; background: var(--green); color: var(--surface); }
.tier__area { font-size: .875rem; color: var(--ink-2); }
.tier__price { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.tier__price strong { font-size: 2.5rem; line-height: 1.1; letter-spacing: -.01em; }
.tier__price span { font-weight: 700; }
.tier__example { margin-top: 8px; font-size: .9375rem; }
.tier__example strong { color: var(--green-deep); }
.tier__note { font-size: .8125rem; color: var(--ink-3); }
.tier--popular { background: var(--green-mist); }
@media (min-width: 768px) {
  .price-plan__head { grid-template-columns: auto 1fr; align-items: baseline; gap: 20px; }
  .price-plan__tiers { grid-template-columns: repeat(3, 1fr); }
  .tier { padding: 28px 28px 30px; }
  .tier + .tier { border-top: none; border-left: 1px solid var(--line-2); }
}

/* 面積の目安 + シミュレーター */
.price-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) {
  .price-tools { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
}
.area-guide, .simulator {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
}
@media (min-width: 768px) { .area-guide, .simulator { padding: 28px 32px; } }
.area-guide__title, .simulator__title {
  display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; color: var(--green-deep);
}
.area-guide__title svg, .simulator__title svg { color: var(--green); flex-shrink: 0; }
.area-guide { display: flex; flex-direction: column; }
.area-guide .pricing-notes { margin-top: auto; padding-top: 20px; }
.area-guide__table + .pricing-notes { border-top: none; }
.area-guide__desc { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.area-guide__desc strong { color: var(--ink); }
.area-guide__table { margin-top: 16px; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.area-guide__table th, .area-guide__table td { padding: 11px 4px; text-align: left; border-bottom: 1px solid var(--line-2); }
.area-guide__table thead th { font-size: .8125rem; font-weight: 500; color: var(--ink-3); padding-top: 0; }
.area-guide__table tbody th { font-weight: 500; }
.area-guide__table td:last-child { text-align: right; font-weight: 700; color: var(--green-deep); }
.area-guide__table thead th:last-child { text-align: right; }

.simulator__body { display: grid; gap: 20px; margin-top: 18px; }
.simulator__label { display: block; font-size: .9375rem; font-weight: 700; margin-bottom: 8px; }
.simulator__input-row { display: flex; align-items: center; gap: 14px; }
.simulator__range {
  --range-progress: 7.7%;
  flex: 1; min-width: 0; height: 44px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.simulator__range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(to right, var(--green) var(--range-progress), var(--line) var(--range-progress));
}
.simulator__range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.simulator__range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--green); }
.simulator__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--green); box-shadow: 0 2px 6px rgba(30, 42, 32, .2);
}
.simulator__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green); }
.simulator__num-wrap { display: flex; align-items: center; gap: 6px; }
.simulator__num {
  width: 96px; height: 48px; padding: 0 10px; font-size: 1.0625rem; font-weight: 700; text-align: right;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font-variant-numeric: tabular-nums;
}
.simulator__num:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(31, 107, 51, .18); }
.simulator__num-unit { font-weight: 700; }
.simulator__tier-indicator { margin-top: 6px; font-size: .875rem; color: var(--ink-2); }
.simulator__options { display: grid; gap: 8px; }
.simulator__options-title { font-size: .9375rem; font-weight: 700; margin-bottom: 8px; }
.simulator__option {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; font-size: .9375rem; line-height: 1.5;
  transition: border-color .2s ease, background-color .2s ease;
}
.simulator__option:hover { border-color: var(--green); }
.simulator__option:has(input:checked) { border-color: var(--green); background: var(--green-mist); }
.simulator__option input { width: 20px; height: 20px; accent-color: var(--green); flex-shrink: 0; }
.simulator__option strong { color: var(--green-deep); }
.simulator__result {
  display: grid; gap: 2px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--green-deep); color: var(--surface);
}
.simulator__result-label { font-size: .8125rem; opacity: .85; }
.simulator__result-price { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.simulator__result-num { font-size: 2.25rem; font-weight: 700; line-height: 1.2; }
.simulator__result-yen { font-weight: 700; }
.simulator__result-breakdown { font-size: .8125rem; opacity: .85; overflow-wrap: anywhere; }
.simulator__result-note { margin-top: 8px; font-size: .75rem; opacity: .8; }

/* 料金の細目 */
.price-details { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) { .price-details { grid-template-columns: 1fr 1fr; gap: 24px; } }
.options-table, .service-scope {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
}
@media (min-width: 768px) { .options-table, .service-scope { padding: 28px 32px; } }
.options-table__table { font-size: .9375rem; }
.options-table__table th, .options-table__table td { padding: 12px 4px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.options-table__table thead th { font-size: .8125rem; font-weight: 500; color: var(--ink-3); padding-top: 0; }
.options-table__table tbody th { font-weight: 500; width: 46%; }
.options-table__table td strong { color: var(--green-deep); }
.options-table__table tbody tr:last-child > * { border-bottom: none; }
.service-scope { display: grid; gap: 24px; }
@media (min-width: 640px) and (max-width: 1023px) { .service-scope { grid-template-columns: 1fr 1fr; } }
.check-list, .plus-list { display: grid; gap: 8px; }
.check-list li, .plus-list li { position: relative; padding-left: 28px; font-size: .9375rem; line-height: 1.6; }
.check-list li::before, .plus-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%231F6B33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.plus-list li::before {
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 5.5v7M5.5 9h7' fill='none' stroke='%234D5A4F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* 定期契約 */
.subscription {
  display: grid; gap: 20px; margin-top: 20px; padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--green-soft); border: 1px solid #CFDDC6;
}
.subscription__badge {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  padding: 3px 12px; border-radius: 999px; background: var(--green); color: var(--surface); margin-bottom: 10px;
}
.subscription__title { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); font-weight: 700; line-height: 1.5; font-feature-settings: "palt" 1; }
.subscription__title em { color: var(--green); }
.subscription__desc { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.subscription__merits { display: grid; gap: 10px; align-content: center; }
.subscription__merits li {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px;
  background: var(--surface); font-size: .9375rem; font-weight: 500;
}
.subscription__merits li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%23FFFDF8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.subscription__merits strong { color: var(--green-deep); }
@media (min-width: 1024px) {
  .subscription { grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 36px 40px; }
}

.pricing-notes { display: grid; gap: 4px; margin-top: 20px; }
.area-guide__table { margin-bottom: 4px; }
.pricing-notes li { position: relative; padding-left: 1.2em; font-size: .8125rem; color: var(--ink-2); line-height: 1.7; }
.pricing-notes li::before { content: "※"; position: absolute; left: 0; }

.inline-cta {
  display: grid; gap: 20px; align-items: center; margin-top: 40px; padding: 28px 18px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
}
.inline-cta__text { font-size: 1.125rem; font-weight: 700; line-height: 1.6; word-break: auto-phrase; }
.inline-cta__text strong { color: var(--accent); }
.inline-cta__badges { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.inline-cta__badges li { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--ink-2); }
.inline-cta__badges li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-brand); }
@media (min-width: 1024px) {
  .inline-cta { grid-template-columns: 1fr auto; padding: 32px 40px; gap: 40px; }
}

/* ==========================================
   Cases
   ========================================== */
.cases__list { display: grid; gap: 28px; }
.case {
  display: grid; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-2);
}
.case__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--surface); }
.case__photo { position: relative; margin: 0; }
.case__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.case__tag {
  position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; background: rgba(30, 42, 32, .82); color: var(--surface);
}
.case__tag--after { background: var(--green); }
.case__body { padding: 24px 22px 26px; }
.case__title { font-size: 1.25rem; font-weight: 700; line-height: 1.5; font-feature-settings: "palt" 1; word-break: auto-phrase; }
.case__meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 14px;
  border-top: 1px solid var(--line-2);
}
.case__meta div { display: grid; gap: 0; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: .875rem; line-height: 1.5; }
.case__meta dt { color: var(--ink-3); font-size: .75rem; }
.case__meta dd { font-weight: 700; }
@media (min-width: 480px) {
  .case__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.case__voice {
  position: relative; margin-top: 20px; padding: 20px 20px 18px; border-radius: var(--radius);
  background: var(--green-mist);
}
.case__voice::before {
  content: ""; position: absolute; left: 20px; top: -9px; width: 26px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20'%3E%3Cpath d='M0 20V12C0 5 4 1 11 0l1 3C7.5 4.5 6 7 6 10h5v10zm15 0V12c0-7 4-11 11-12l1 3c-4.5 1.5-6 4-6 7h5v10z' fill='%232D8C3C' opacity='.45'/%3E%3C/svg%3E") center / contain no-repeat;
}
.case__voice-heading { font-size: 1.0625rem; font-weight: 700; color: var(--green-deep); line-height: 1.5; word-break: auto-phrase; }
.case__voice p { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); line-height: 1.8; }
.case__voice-by { margin-top: 10px; font-size: .8125rem; color: var(--ink-3); }
.case__voice-by::before { content: "— "; }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
  .case--reverse .case__photos { order: 2; }
  .case__photo img { aspect-ratio: auto; min-height: 100%; }
  .case__body { padding: 32px 36px; align-self: center; }
}

/* ==========================================
   Reasons
   ========================================== */
.reasons__list { display: grid; gap: 48px; }
.reason { display: grid; gap: 20px; }
.reason__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.reason__num {
  font-size: 3rem; font-weight: 700; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--green-brand); letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.reason__badge {
  display: inline-block; margin-top: 14px; padding: 3px 12px; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; color: var(--green); background: var(--green-soft);
}
.reason__title {
  margin-top: 10px; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-weight: 700; line-height: 1.45;
  font-feature-settings: "palt" 1; word-break: auto-phrase;
}
.reason__text { margin-top: 12px; color: var(--ink-2); }
.reason__text strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(45, 140, 60, .18) 62%); }
@media (min-width: 900px) {
  .reasons__list { gap: 72px; }
  .reason { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .reason--reverse .reason__img { order: 2; }
}

/* ==========================================
   Comparison
   ========================================== */
.compare-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.compare { font-size: .9375rem; line-height: 1.65; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.compare thead th { font-size: .875rem; font-weight: 700; background: var(--bg-alt); color: var(--ink-2); }
.compare thead th.compare__us { background: var(--green-deep); color: var(--surface); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare tbody td:not(.compare__us) { color: var(--ink-2); }
.compare td.compare__us { background: var(--green-mist); color: var(--green-deep); font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: none; }
@media (max-width: 767px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: none; }
  .compare tbody th { width: 100%; padding: 16px 18px 4px; border: none; }
  .compare td { padding: 6px 18px; border: none; display: grid; gap: 2px; }
  .compare td::before { content: attr(data-label); font-size: .75rem; font-weight: 700; color: var(--ink-3); }
  .compare td.compare__us { margin: 6px 12px 14px; width: auto; border-radius: 10px; padding: 10px 14px; }
  .compare td.compare__us::before { color: var(--green); }
}

.statement {
  margin-top: 48px; padding: 32px 24px; border-left: 3px solid var(--green-brand);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
}
.statement__lead {
  font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); font-weight: 700; line-height: 1.7; color: var(--green-deep);
  font-feature-settings: "palt" 1; word-break: auto-phrase;
}
.statement__text { margin-top: 12px; color: var(--ink-2); }
@media (min-width: 768px) { .statement { padding: 36px 44px; } }

/* ==========================================
   Flow
   ========================================== */
.flow__steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start;
  padding: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.step__img { width: 112px; height: 96px; object-fit: cover; border-radius: 10px; }
.step__num { display: flex; align-items: baseline; gap: 6px; font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.step__num span { font-size: .75rem; letter-spacing: .1em; }
.step__title { margin-top: 6px; font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.step__text { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); line-height: 1.7; }
@media (min-width: 900px) {
  .flow__steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; position: relative; }
  .step__img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .step__body { padding: 20px 22px 24px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; right: -19px; top: calc(37.5% - 7px); width: 14px; height: 14px; z-index: 1;
    border-top: 2px solid var(--green-brand); border-right: 2px solid var(--green-brand); transform: rotate(45deg);
  }
  .step { overflow: visible; }
  .step__img { border-radius: var(--radius) var(--radius) 0 0; }
}

/* ==========================================
   Area
   ========================================== */
.area__inner { display: grid; gap: 32px; }
.area__description { margin-top: 16px; color: var(--ink-2); }
.area__description strong { color: var(--ink); }
.area__note { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.area__tag {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .9375rem; font-weight: 500;
}
.area__tag--main { background: var(--green); border-color: var(--green); color: var(--surface); font-weight: 700; }
.area__tag--more { background: transparent; border-style: dashed; color: var(--ink-2); }
@media (min-width: 1024px) {
  .area__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
}

/* ==========================================
   FAQ
   ========================================== */
.faq__inner { display: grid; gap: 8px; }
@media (min-width: 1024px) {
  .faq__inner { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq__question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 4px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem; line-height: 1.6;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question > span:first-child { display: flex; gap: 12px; }
.faq__question > span:first-child::before { content: "Q"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.faq__question:hover { color: var(--green); }
.faq__icon { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--green-mist); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--green); border-radius: 2px; transition: transform .25s ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 4px 20px 26px; }
.faq__answer p { color: var(--ink-2); font-size: .9375rem; line-height: 1.85; }

/* ==========================================
   Contact
   ========================================== */
.contact { background: var(--green-deep); color: var(--surface); }
.contact__inner { display: grid; gap: 36px; }
.eyebrow--light { color: #CFE3C8; }
.eyebrow--light::before { background: #8FBF86; }
.contact .section-title { color: var(--surface); }
.contact__catch { margin-top: 16px; font-size: 1.0625rem; font-weight: 700; line-height: 1.7; word-break: auto-phrase; }
.contact__lead { margin-top: 12px; color: #D9E5D4; font-size: .9375rem; }
.contact__trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contact__trust li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 253, 248, .28); font-size: .875rem; font-weight: 500;
}
.contact__trust li::before {
  content: ""; width: 14px; height: 14px;
  background: 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.8' fill='none' stroke='%23CFE3C8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.contact__alt { display: grid; gap: 10px; margin-top: 28px; }
.contact__alt-link {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border-radius: var(--radius);
  background: rgba(255, 253, 248, .08); border: 1px solid rgba(255, 253, 248, .2); color: var(--surface);
  font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  transition: background-color .2s ease;
}
.contact__alt-link:hover { background: rgba(255, 253, 248, .14); color: var(--surface); }
.contact__alt-link span { display: grid; line-height: 1.35; }
.contact__alt-link small { font-size: .8125rem; font-weight: 500; color: #D9E5D4; letter-spacing: 0; }
.contact__alt-link--line { font-size: 1.0625rem; }
.contact__alt-link--line svg { color: var(--line-green); }

.contact__panel {
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 24px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
@media (min-width: 768px) { .contact__panel { padding: 36px 40px; } }
@media (min-width: 1024px) {
  .contact__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__fieldset { display: grid; gap: 20px; }
.contact__field { display: grid; gap: 6px; }
.contact__label { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 700; }
.contact__required, .contact__optional { font-size: .6875rem; font-weight: 700; padding: 1px 8px; border-radius: 4px; letter-spacing: .04em; }
.contact__required { background: var(--accent); color: var(--surface); }
.contact__optional { background: var(--bg-alt); color: var(--ink-2); }
.contact__input, .contact__select, .contact__textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 1rem; line-height: 1.5;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact__select {
  -webkit-appearance: none; appearance: none; padding-right: 40px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234D5A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.contact__textarea { min-height: 120px; resize: vertical; }
.contact__input:focus, .contact__select:focus, .contact__textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 107, 51, .18);
}
.contact__input::placeholder, .contact__textarea::placeholder { color: #7B857C; }
.contact__input.is-error, .contact__select.is-error { border-color: var(--error); }
.contact__hint { font-size: .8125rem; color: var(--ink-3); }
.contact__error { font-size: .8125rem; font-weight: 700; color: var(--error); }
.contact__error[hidden] { display: none; }
.contact__error-summary {
  margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; background: #FDF0EE; color: var(--error);
  font-size: .875rem; border: 1px solid #F3C9C2;
}
.contact__submit-error { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; background: #FDF0EE; color: var(--error); font-size: .875rem; }
.contact__radios { padding: 0; }
.contact__radios legend { margin-bottom: 8px; }
.contact__radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__radio-label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px;
  border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9375rem;
}
.contact__radio-label:has(input:checked) { border-color: var(--green); background: var(--green-mist); font-weight: 700; }
.contact__radio-input { width: 18px; height: 18px; accent-color: var(--green); }
.contact__consent { margin-top: 24px; }
.contact__consent-label { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: .9375rem; cursor: pointer; }
.contact__consent-input { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; }
.contact__consent-label a { display: inline-block; padding-block: 12px; margin-block: -12px; text-decoration: underline; text-underline-offset: 3px; }
.contact__consent .contact__error { display: block; width: 100%; }
.contact__submit-area { margin-top: 20px; }
.contact__submit { width: 100%; }
.contact__submit.is-loading { opacity: .7; cursor: progress; }
.contact__submit-reassure { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.contact__submit-note { margin-top: 6px; font-size: .8125rem; color: var(--ink-3); }
.contact__success { text-align: center; padding: 24px 8px; display: grid; justify-items: center; gap: 14px; }
.contact__success[hidden] { display: none; }
.contact__success-title { font-size: 1.25rem; font-weight: 700; }
.contact__success-text { color: var(--ink-2); }

/* ==========================================
   Footer
   ========================================== */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 56px; }
.footer__inner { display: grid; gap: 36px; }
.footer__logo-img { width: 210px; }
.footer__tagline { margin-top: 10px; font-size: .875rem; font-weight: 700; color: var(--green); }
.footer__address { margin-top: 16px; font-size: .875rem; color: var(--ink-2); line-height: 1.9; }
.footer__address a { color: var(--ink-2); display: inline-block; padding-block: 10px; margin-block: -10px; }
.footer__hours { margin-top: 8px; font-size: .8125rem; color: var(--ink-3); }
.footer__nav-title { font-size: .8125rem; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 8px; }
.footer__nav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer__nav-link { display: flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--ink); }
.footer__nav-link:hover { color: var(--green); }
.footer__tel { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.5rem; font-weight: 700; color: var(--green-deep); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.footer__cta { margin-top: 10px; width: 100%; max-width: 320px; }
.footer__bottom { margin-top: 48px; padding-block: 20px 28px; border-top: 1px solid var(--line); }
.footer__copy { font-size: .8125rem; color: var(--ink-3); }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
}
@media (max-width: 1023px) {
  .footer__bottom { padding-bottom: 104px; }
}

/* ==========================================
   Back to top / スマホの下部固定バー
   ========================================== */
.back-to-top {
  position: fixed; right: 16px; bottom: 96px; z-index: 900; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); color: var(--green-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
@media (max-width: 1023px) { .back-to-top { display: none; } }
@media (min-width: 1024px) { .back-to-top { bottom: 28px; right: 28px; } }

/* 左下には「制作実績のデモ」の札（高さ約24px）が出るので、ボタンの文字はその上に置く */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 8px;
  padding: 8px 10px calc(22px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(30, 42, 32, .08);
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-cta-bar[hidden] { display: none; }
.mobile-cta-bar.is-hidden { transform: translateY(100%); opacity: 0; }
.mobile-cta-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 8px;
  border-radius: 12px; font-size: .9375rem; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.mobile-cta-bar__btn--tel { border: 1.5px solid var(--green); color: var(--green-deep); }
.mobile-cta-bar__btn--line { border: 1.5px solid var(--line-green); color: var(--ink); }
.mobile-cta-bar__btn--line svg { color: var(--line-green); }
.mobile-cta-bar__btn--form { background: var(--accent); color: var(--surface); }
@media (min-width: 1024px) { .mobile-cta-bar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mobile-cta-bar { transition: none; } }

/* ==========================================
   Print
   ========================================== */
@media print {
  .header, .mobile-menu, .mobile-cta-bar, .back-to-top, .ba__range, .ba__handle { display: none !important; }
  .js .animate-on-scroll { opacity: 1 !important; transform: none !important; }
  .contact, .cta-band--deep { background: none; color: var(--ink); }
}
