/* ============================================================
   家がほしい.com 共通デザインキット v2（2026-08-01）
   出典: 本体LP lp.css / lp-v2.css のデザイントークンを
   レスポンシブ対応で再実装したもの。
   v2: 出現アニメ(data-lp-motion)・SPハンバーガーメニュー・
       イラスト部品(worry/reason/flow)・背景写真帯(photo-band)・
       WHY視覚部品(why-grid)を本体LPから移植。iegahoshii-kit.jsと対で使う。
   使用サイト: ミニサイト3本（yama / saikenchiku / meigi）+ co.jp
   ============================================================ */

:root {
  /* --- カラー（LP原典と同値） --- */
  --c-ink: #333333;
  --c-muted: #666666;
  --c-white: #ffffff;
  --c-green: #4f9f39;
  --c-green-03: #2d9810;
  --c-green-04: #137535;
  --c-dark-green: #3a6230;
  --c-light-green-02: #d7e9d3;
  --c-bg-green: #f5faf6;
  --c-bg-cream: #fafbf3;
  --c-orange: #ff9d00;
  --c-team-orange: #ff8c00;
  --c-gray: #e9eae3;
  --c-rule: #dddddd;
  --c-faq-rule: #cacaca;

  --gradient-cta: linear-gradient(132deg, #ec6401 0%, #f4b420 100%);

  --shadow-worry: 0 0 20px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 0 20px rgba(0, 0, 0, 0.1);

  --radius-4: 4px;
  --radius-8: 8px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-32: 32px;
  --radius-40: 40px;
  --radius-80: 80px;

  --c-yellow: #ffea00;
  --shadow-fv-icon: 0 0 16px rgba(0, 0, 0, 0.16);
  --shadow-contact-icon: 0 0 29px rgba(0, 0, 0, 0.16);

  --font-jp: "Noto Sans JP", sans-serif;
  --font-latin: "Sen", sans-serif;

  color-scheme: light;
}

/* --- ベース（LPと同じ組版） --- */
* { box-sizing: border-box; }
/* アンカー移動はkit.jsのイージングで行う（CSS smoothと二重にしない） */
html { scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--c-ink);
  background: var(--c-white);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
button, input, textarea, select { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.container--narrow { width: min(920px, calc(100% - 40px)); margin-inline: auto; }

/* --- 文字強調（LPのem-*） --- */
.em-green  { color: var(--c-green-04); }
.em-orange { color: var(--c-orange); }
.em-team   { color: var(--c-team-orange); }
.em-ink    { color: var(--c-ink); font-weight: 700; }
.marker { background: linear-gradient(transparent 62%, #ffe95c 62%); }

/* --- CTAボタン（LPのlp-button） --- */
.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  background: var(--gradient-cta);
  border: none;
  border-radius: var(--radius-80);
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
  text-align: center;
}
.lp-button:hover, .lp-button:focus-visible { filter: brightness(1.05); transform: translateY(-1px); }
.lp-button--main {
  padding: clamp(18px, 2vw, 24px) clamp(44px, 8vw, 110px);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.3;
  letter-spacing: .6px;
}
.lp-button--small { padding: 12px 36px; border-radius: var(--radius-24); font-size: 13px; line-height: 19px; letter-spacing: .39px; white-space: nowrap; }
.cta-note { font-size: 12.5px; color: var(--c-muted); margin-top: 10px; }

/* --- ヘッダー（LPのlp-header） --- */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .98);
  transition: box-shadow .25s ease;
}
.lp-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.lp-header__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.lp-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--c-dark-green);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.25;
  white-space: nowrap;
}
.lp-logo img { width: 30px; height: 30px; flex: none; }
.lp-logo small { font-size: .62em; font-weight: 500; color: var(--c-muted); margin-left: .4em; }
@media (min-width: 861px) { .lp-header__inner { padding-block: 24px 23px; } }
@media (max-width: 640px) { .lp-logo small { display: none; } }
@media (max-width: 480px) {
  .lp-logo { font-size: 15.5px; min-width: 0; }
  .lp-logo img { width: 26px; height: 26px; }
  .lp-button--small { padding: 9px 16px; font-size: 12.5px; }
}

/* --- ヘッダー内ナビ（PC=横並び / SP=ハンバーガー開閉パネル。LP v0.4.8移植） --- */
.lp-header__links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.lp-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.lp-nav a:hover, .lp-nav a:focus-visible {
  color: var(--c-green-04);
  text-decoration: underline; text-underline-offset: 5px;
  text-decoration-color: var(--c-green);
}
/* SPメニューはkit.jsが html に .js を付けた時だけ有効化する。
   JS無効・kit.js読込失敗時は折返しの静的ナビにフォールバック（Codex監査反映）。
   ブレークポイントはLP原典と同じ1180px。 */
.lp-menu-toggle { display: none; }
@media (max-width: 1180px) {
  .lp-header__inner { position: relative; }
  html.js .lp-menu-toggle {
    position: relative;
    display: inline-flex;
    width: 46px; height: 46px; flex: 0 0 46px;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    padding: 0;
    border: 1px solid rgba(53, 104, 47, .18);
    border-color: color-mix(in srgb, var(--c-dark-green) 22%, transparent);
    border-radius: 50%;
    color: var(--c-dark-green);
    background: var(--c-white);
    box-shadow: 0 4px 14px rgba(28, 61, 27, .08);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
  }
  html.js .lp-menu-toggle:hover, html.js .lp-menu-toggle:focus-visible {
    border-color: var(--c-green);
    background: var(--c-bg-green);
  }
  html.js .lp-menu-toggle:focus-visible {
    outline: 3px solid rgba(79, 159, 57, .25);
    outline-color: color-mix(in srgb, var(--c-green) 30%, transparent);
    outline-offset: 3px;
  }
  .lp-menu-toggle span {
    display: block; width: 20px; height: 2px; border-radius: 2px;
    background: currentColor; transform-origin: center;
    transition: opacity .2s ease, transform .24s ease;
  }
  .lp-header.is-menu-open .lp-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lp-header.is-menu-open .lp-menu-toggle span:nth-child(2) { opacity: 0; }
  .lp-header.is-menu-open .lp-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  html.js .lp-header__links {
    position: absolute; z-index: 30;
    top: calc(100% + 8px); right: 16px; left: 16px;
    display: flex; max-height: calc(100vh - 100px);
    flex-direction: column; align-items: stretch; gap: 0;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid rgba(53, 104, 47, .14);
    border-color: color-mix(in srgb, var(--c-dark-green) 18%, transparent);
    border-radius: var(--radius-16);
    opacity: 0; visibility: hidden;
    background: var(--c-white);
    box-shadow: 0 18px 45px rgba(22, 56, 24, .16);
    pointer-events: none;
    transform: translate3d(0, -10px, 0) scale(.985);
    transform-origin: top center;
    transition:
      opacity .24s cubic-bezier(.22, 1, .36, 1),
      transform .24s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear .24s;
    will-change: opacity, transform;
  }
  html.js .lp-header.is-menu-open .lp-header__links {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition:
      opacity .24s cubic-bezier(.22, 1, .36, 1),
      transform .24s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear 0s;
  }
  html.js .lp-nav { display: flex; width: 100%; flex-direction: column; align-items: stretch; gap: 0; font-size: 15px; }
  html.js .lp-nav a {
    display: flex; min-height: 50px;
    align-items: center; justify-content: space-between;
    padding: 13px 14px;
    border-bottom: 1px solid var(--c-gray);
    text-decoration: none;
  }
  html.js .lp-nav a:hover, html.js .lp-nav a:focus-visible { text-decoration: none; }
  html.js .lp-nav a::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 2px solid var(--c-green);
    border-bottom: 2px solid var(--c-green);
    transform: rotate(45deg) translateY(-2px);
  }
  html.js .lp-header__links .lp-button--small { width: 100%; margin-top: 12px; padding: 13px 20px; font-size: 14px; }
  /* JS無効時のフォールバック: ナビを折り返して常時表示 */
  html:not(.js) .lp-header__links { flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
  html:not(.js) .lp-nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  html.js .lp-menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  html.js .lp-header__links { right: 12px; left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-menu-toggle, .lp-menu-toggle span, .lp-header__links { transition: none; }
}

/* --- ヒーロー（白地＋下部グリーン帯） --- */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-white);
  padding: 40px 0 64px;
  text-align: center;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 28px; background: var(--c-green);
}
.hero__ghost {
  position: absolute; top: 8px; left: 0; right: 0; z-index: 0;
  color: var(--c-light-green-02);
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(48px, 12vw, 96px); line-height: 1;
  text-align: center; user-select: none; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 {
  margin: 30px 0 8px;
  font-size: clamp(24px, 6vw, 40px);
  font-weight: 900; line-height: 1.5; letter-spacing: .04em;
}
.hero .hline { display: block; width: min(240px, 56%); height: auto; margin: 10px auto 0; }
.hero__copy { max-width: 640px; margin: 14px auto 0; font-size: clamp(14.5px, 3.8vw, 16.5px); text-align: center; }
.hero__cta { margin-top: 26px; }
.hero__badges { display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero__badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-bg-green); border: 1px solid var(--c-light-green-02);
  border-radius: var(--radius-80); padding: 8px 18px;
  font-size: 13px; font-weight: 700; color: var(--c-green-04);
}
.hero__badge img { width: 26px; height: 26px; }

/* --- セクション共通 --- */
.section { padding: clamp(52px, 6.5vw, 90px) 0 clamp(56px, 7vw, 96px); overflow-x: clip; }
.section--soft  { background: var(--c-bg-green); }
.section--cream { background: var(--c-bg-cream); }
.section--gray  { background: var(--c-gray); }

/* --- セクション見出し（Sen欧文の透かし＋日本語見出し） --- */
.section-heading { position: relative; z-index: 1; padding-top: clamp(40px, 4.5vw, 60px); text-align: center; margin-bottom: 30px; }
.section-heading > span {
  position: absolute; z-index: -1; top: 0; left: 0; right: 0;
  color: var(--c-light-green-02);
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(44px, 8.5vw, 100px); line-height: 1; letter-spacing: 0;
  text-align: center; user-select: none; pointer-events: none;
}
.section--soft .section-heading > span,
.section--cream .section-heading > span { color: var(--c-watermark-soft, #c3ddc0); }
.section-heading h2 {
  font-size: clamp(20px, 3.4vw, 40px);
  font-weight: 700; line-height: 1.4; letter-spacing: 1.6px;
}
.section-heading .sec-icon { width: 40px; height: 40px; margin: 0 auto 8px; display: block; }

/* --- 本文プローズ（長文の誠実LP用） --- */
.prose { max-width: 760px; margin-inline: auto; line-height: 1.8; }
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose h3 {
  margin: 1.8em 0 .7em;
  padding-left: 14px;
  border-left: 5px solid var(--c-green);
  font-size: clamp(17px, 4.4vw, 21px); font-weight: 700; line-height: 1.5;
}
.prose ul { list-style: none; margin: 1em 0 1.4em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: .48em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--c-green) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5l2.6 2.6L12 5.6" fill="none" stroke="white" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/11px no-repeat;
}
.prose ol { counter-reset: n; list-style: none; margin: 1em 0 1.4em; }
.prose ol li { position: relative; padding-left: 34px; margin-bottom: .55em; counter-increment: n; }
.prose ol li::before {
  content: counter(n);
  position: absolute; left: 0; top: .12em;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--c-green); color: #fff;
  font-family: var(--font-latin); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* --- カード群 --- */
.card {
  background: var(--c-white);
  border-radius: var(--radius-16);
  padding: 22px 24px;
  box-shadow: var(--shadow-worry);
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }

/* 悩みカード（チェック付き） */
.worry-list { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.worry-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--c-white);
  border-radius: var(--radius-16);
  padding: 15px 20px;
  box-shadow: var(--shadow-worry);
  font-weight: 500;
}
.worry-item::before {
  content: ""; flex: none; margin-top: .22em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-green) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5l2.6 2.6L12 5.6" fill="none" stroke="white" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/13px no-repeat;
}

/* 悩みセクションの人物イラスト（LPのworries__person相当・LPは221px） */
.worry-figure { display: flex; justify-content: center; margin-bottom: 18px; }
.worry-figure img { height: clamp(150px, 24vw, 220px); width: auto; }

/* 理由カード（番号つき） */
.reason-card { position: relative; background: var(--c-bg-green); border-radius: var(--radius-16); padding: 26px 24px 22px; }
/* 理由カード内イラスト（LPのreason-card__panel img相当・LPはPC220px/SP160px） */
.reason-card__art { width: clamp(140px, 15vw, 190px); aspect-ratio: 1; object-fit: cover; display: block; margin: 4px auto 12px; }
.section--soft .reason-card, .section--cream .reason-card { background: var(--c-white); }
.reason-card > b {
  display: block; text-align: center;
  color: var(--c-light-green-02);
  font-family: var(--font-latin); font-size: clamp(44px, 5vw, 64px); font-weight: 700; line-height: 1;
  margin-bottom: 6px;
}
.reason-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; text-align: center; }
.reason-card p { font-size: 14.5px; color: var(--c-muted); }

/* --- 流れ（ステップ） --- */
.flow-list { max-width: 840px; margin-inline: auto; display: flex; flex-direction: column; gap: clamp(14px, 2.4vw, 32px); }
.flow-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--c-white); border: 2px solid var(--c-gray); border-radius: var(--radius-8);
  padding: 16px 24px;
}
.flow-step .num {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-green); color: #fff;
  font-family: var(--font-latin); font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flow-step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.flow-step p { font-size: 14.5px; color: var(--c-muted); }
/* 流れステップのイラスト（LPのflow__list > li > img相当・LPは120px） */
.flow-step__art {
  width: clamp(72px, 10vw, 110px); aspect-ratio: 1; flex: none;
  border-radius: var(--radius-16);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  align-self: center;
}
/* 狭い端末では番号丸を省いて本文幅を確保（イラストがあるステップのみ。Codex監査反映） */
@media (max-width: 560px) {
  .flow-step { padding: 14px 16px; gap: 12px; }
  .flow-step__art { width: 72px; }
  .flow-step__art + .num { display: none; }
}

/* --- 中間CTA帯（グリーン地） --- */
.mid-cta {
  background: var(--c-green);
  color: #fff;
  text-align: center;
  padding: 44px 20px 48px;
}
.mid-cta h2, .mid-cta .mid-cta__title { font-size: clamp(19px, 5vw, 26px); font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.mid-cta p { font-size: 14.5px; opacity: .95; margin-bottom: 20px; }
.mid-cta .lp-button--main { box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }

/* --- FAQ（details/summary） --- */
.faq-list { max-width: 920px; margin-inline: auto; display: flex; flex-direction: column; gap: clamp(18px, 2.6vw, 32px); }
.faq-list details {
  background: transparent;
  border-radius: 0; box-shadow: none;
  margin: 0; padding-bottom: clamp(18px, 2.6vw, 32px);
  border-bottom: 1px solid var(--c-faq-rule);
  overflow: visible;
}
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; gap: clamp(12px, 1.6vw, 16px); align-items: baseline;
  padding: 0 36px 0 0;
  font-size: clamp(16px, 2vw, 22px); font-weight: 700; line-height: 1.6;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 2.5px solid var(--c-green); outline-offset: 3px; border-radius: var(--radius-8); }
.faq-list summary::before {
  content: "Q"; flex: none; align-self: flex-start;
  display: grid; place-items: center;
  width: clamp(30px, 3.6vw, 40px); height: clamp(30px, 3.6vw, 40px);
  border-radius: 50%; background: var(--c-green); color: var(--c-white);
  font-family: var(--font-latin); font-size: clamp(16px, 2vw, 22px); font-weight: 500;
}
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: .55em;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--c-green); border-bottom: 2.5px solid var(--c-green);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list .a {
  display: block;
  padding: clamp(12px, 1.8vw, 16px) 0 0 clamp(44px, 5.5vw, 56px);
  border: 0; margin: 0;
  font-size: clamp(14.5px, 1.7vw, 18px); font-weight: 500; line-height: 1.6; letter-spacing: .04em;
}
.faq-list .a::before { display: none; }

/* --- 料金・事務所などの表 --- */
.info-table { width: 100%; max-width: 760px; margin-inline: auto; border-collapse: collapse; background: var(--c-white); border-radius: var(--radius-16); overflow: hidden; box-shadow: var(--shadow-worry); font-size: 15px; }
.info-table th, .info-table td { padding: 14px 18px; border-bottom: 1px solid var(--c-rule); text-align: left; vertical-align: top; }
.info-table th { width: 32%; background: var(--c-bg-green); color: var(--c-green-04); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr { display: block; width: 100%; }
  .info-table th, .info-table td { display: block; width: 100%; overflow-wrap: anywhere; }
  .info-table th { border-bottom: none; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; }
}
.info-table th, .info-table td { overflow-wrap: anywhere; }
.tbl-scroll { overflow-x: auto; }

/* --- 料金フレーム(LPの緑外枠+白パネル) --- */
.price-frame { background: var(--c-green); border-radius: var(--radius-40); padding: clamp(16px, 3vw, 40px); max-width: 920px; margin-inline: auto; }
.price-panel { background: var(--c-white); border-radius: var(--radius-24); padding: clamp(22px, 4vw, 48px) clamp(16px, 3vw, 40px); }
.price-panel .note-box { background: var(--c-bg-cream); }
/* 見出しをパネル内へ移した場合の調整（LPの料金プランと同じ配置） */
.price-panel .section-heading { padding-top: clamp(28px, 3vw, 40px); margin-bottom: 22px; }
.price-panel .section-heading > span { color: var(--c-light-green-02); }

/* --- 背景写真帯（LPのprice背景写真の型） ---
   使い方: セクションに class="photo-band" を付け、インラインstyleで
   background-image:url(assets/○○.webp) を指定する。
   ※CSS変数でurl()を渡すとkit.css基準で解決されてパスが壊れるため不可 */
.photo-band {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- WHY視覚部品（LPのproblem__visual/problem__personのレスポンシブ版） --- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(24px, 4vw, 44px);
  max-width: 1080px;
  margin-inline: auto;
  align-items: start;
}
.why-visual { position: relative; }
.why-visual__photo { width: 100%; aspect-ratio: 350 / 420; object-fit: cover; border-radius: var(--radius-16); }
.why-visual__person { position: absolute; right: -6px; bottom: -14px; width: clamp(72px, 8vw, 100px); height: auto; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 340px; margin-inline: auto; }
}

/* --- 注記ボックス --- */
.note-box {
  max-width: 760px; margin: 18px auto 0;
  background: var(--c-bg-cream);
  border: 1px dashed var(--c-gray);
  border-radius: var(--radius-16);
  padding: 14px 18px;
  font-size: 13.5px; color: var(--c-muted);
}

/* --- お問い合わせ・フォーム --- */
.contact { background: var(--c-green); color: #fff; padding: clamp(56px, 6.5vw, 64px) 0 clamp(64px, 9vw, 120px); }
.contact .section-heading h2 { color: #fff; }
.contact .section-heading > span { color: var(--c-watermark-contact, #61ac4c); }
.contact__lead { max-width: 640px; margin: 0 auto 26px; text-align: center; font-size: 15px; opacity: .95; }
.form {
  max-width: 680px; margin-inline: auto;
  background: var(--c-white); color: var(--c-ink);
  border-radius: var(--radius-24); padding: clamp(28px, 4vw, 40px) clamp(26px, 3.5vw, 36px);
  box-shadow: var(--shadow-card);
}
.form .field { margin-bottom: 18px; }
.form label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.form label .req { display: inline-block; background: var(--c-orange); color: #fff; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.form label .opt { display: inline-block; background: var(--c-gray); color: var(--c-muted); font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea {
  width: 100%;
  border: 1.5px solid var(--c-rule);
  border-radius: var(--radius-8);
  padding: 11px 13px;
  font-size: 16px; /* iOSズーム防止 */
  background: var(--c-white);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid transparent; outline-offset: 1px; border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(79, 159, 57, .15);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-green) 18%, transparent);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .submit-row { text-align: center; margin-top: 24px; }
.form .privacy-note { font-size: 12.5px; color: var(--c-muted); text-align: center; margin-top: 12px; }

/* --- フッター（濃緑帯） --- */
.footer {
  background: var(--c-white); color: var(--c-ink);
  text-align: center; padding: 33px 18px 32px;
  font-size: 13.5px; line-height: 1.9;
}
.footer img { width: 38px; height: 38px; margin: 0 auto 8px; display: block; }
.footer .fnm { color: var(--c-green-04); font-weight: 900; font-size: clamp(22px, 3vw, 36px); letter-spacing: 0; line-height: 1.3; }
.footer .fsub { color: var(--c-muted); }
.footer a { text-decoration: none; }
.footer a:hover, .footer a:focus-visible { color: var(--c-green); text-decoration: underline; text-underline-offset: 4px; }

/* --- ユーティリティ --- */
.ta-c { text-align: center; }
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
/* SPのみ改行（不自然な折返しの制御用） */
.br-sp { display: none; }
@media (max-width: 700px) {
  .br-sp { display: inline; }
  /* SPでは長文の中央揃えをやめて読みやすくする */
  .prose.ta-c { text-align: left; }
}
.cheer { display: flex; align-items: flex-end; justify-content: center; gap: 20px; }
.cheer img { height: 76px; width: auto; flex: none; }
.cheer .section-heading { margin-bottom: 0; }

/* --- reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-button, .lp-button:hover { transition: none; transform: none; }
}

/* --- スクロール出現アニメ（LP lp-v2.css v0.4.12移植・kit.jsと対） --- */
@media (prefers-reduced-motion: no-preference) {
  html.is-motion-preparing [data-lp-motion] {
    transition: none !important;
  }
  html.is-motion-ready [data-lp-motion] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
      opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--lp-motion-delay, 0ms);
  }
  html.is-motion-ready [data-lp-motion="media"] {
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  html.is-motion-ready [data-lp-motion].is-motion-visible {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.is-motion-ready [data-lp-motion] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- FV（本体LP準拠のファーストビュー・hero--fv） --- */
.hero--fv { padding: 44px 0 40px; }
.hero--fv::after { display: none; }
.hero--fv .hero__inner { max-width: 800px; margin-inline: auto; padding-inline: 20px; }
.hero__photo { position: absolute; z-index: 1; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--left  { top: 16px; left: 0; width: min(319px, calc((100vw - 860px) / 2)); aspect-ratio: 319 / 366; height: auto; border-radius: 0 var(--radius-16) var(--radius-16) 0; }
.hero__photo--right { top: 176px; right: 0; width: min(336px, calc((100vw - 860px) / 2)); aspect-ratio: 336 / 339; height: auto; border-radius: var(--radius-16) 0 0 var(--radius-16); }
@media (max-width: 1100px) { .hero__photo { display: none; } }
.hero__photos-sp { display: none; }
@media (max-width: 1100px) {
  .hero__photos-sp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin: 24px auto 0; }
  .hero__photos-sp img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-16); }
}
/* スマホはLPと同じく写真1枚を全幅で大きく見せる（2枚並びは小さく安っぽいため） */
@media (max-width: 640px) {
  .hero__photos-sp { grid-template-columns: 1fr; max-width: 420px; }
  .hero__photos-sp img:nth-child(2) { display: none; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-dark-green); color: #fff; font-weight: 700;
  font-size: clamp(13px, 1.6vw, 22px); line-height: 1.45;
  border-radius: var(--radius-8); padding: 7px 20px 8px;
  position: relative; z-index: 2; text-align: left;
}
.hero__eyebrow img { width: clamp(20px, 2.2vw, 31px); height: auto; flex: none; }
.hero__title { position: relative; z-index: 2; margin: 21px 0 0; display: flex; flex-direction: column; line-height: 1.2; letter-spacing: 0; }
.hero__title-line--primary { font-size: clamp(26px, 4.2vw, 58px); font-weight: 700; color: var(--c-ink); }
.hero__title strong { font-size: clamp(30px, 5.2vw, 72px); font-weight: 900; color: var(--c-green-03); margin-top: clamp(4px, 1vw, 14px); }
.hero__title-line--secondary { font-size: clamp(19px, 2.6vw, 36px); font-weight: 700; color: var(--c-ink); margin-top: clamp(8px, 1.5vw, 21px); line-height: 1.4; }
.hero__uline { display: block; margin: 4px auto 0; width: min(455px, 82%); height: auto; }
.hero__uline--green { width: min(610px, 88%); margin-top: 10px; }
.hero__lead { position: relative; z-index: 2; margin-top: clamp(18px, 3.4vw, 48px); font-weight: 700; }
.hero__lead-top { display: block; font-size: clamp(14.5px, 1.95vw, 27px); }
.hero__lead-bottom { display: block; font-size: clamp(16px, 2.2vw, 31px); margin-top: 4px; }
.hero__lead-zero { font-size: 1.55em; line-height: 1; vertical-align: -2px; }

/* 緑帯＋白ベネフィットカード3枚 */
.fv-band { background: var(--c-green); padding: 36px 18px 32px; }
.fv-band__inner { display: flex; justify-content: center; align-items: stretch; gap: 30px; max-width: 681px; margin-inline: auto; }
.hero-benefit { position: relative; flex: 0 1 207px; padding-top: 23px; }
.hero-benefit p {
  height: 100%; margin: 0; padding: 30px 12px 12px;
  border-radius: var(--radius-8); background: var(--c-white); color: var(--c-ink);
  font-size: clamp(14.5px, 1.75vw, 22px); font-weight: 700; line-height: 1.2; text-align: center;
}
@media (min-width: 641px) { .hero-benefit { min-height: 126px; } }
.hero-benefit__icon {
  position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--c-white); box-shadow: 0 0 16px rgba(0, 0, 0, .16);
}
.hero-benefit__icon img { width: 30px; height: 30px; object-fit: contain; }
@media (max-width: 640px) {
  .fv-band__inner { flex-direction: column; align-items: stretch; gap: 30px; max-width: 340px; }
  .hero-benefit { flex: 1 1 auto; }
}

/* --- 上に戻るボタン --- */
.to-top {
  position: fixed; right: 16px; bottom: 18px; z-index: 130;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-green); border: none; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top::before {
  content: ""; width: 13px; height: 13px; margin-top: 5px;
  border-top: 3px solid #fff; border-left: 3px solid #fff;
  transform: rotate(45deg);
}
.to-top:hover { background: var(--c-green-04); }
@media (max-width: 700px) { .to-top { bottom: 76px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
