.hero-plan{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 20px;color:inherit;text-decoration:none;padding:16px 0;border-block:1px solid currentColor;margin-top:24px;max-width:480px}.hero-plan>span{font-size:12px}.hero-plan strong{font:400 32px Georgia,serif}.hero-plan small{font:400 11px sans-serif;margin-left:5px}.hero-consult-note{font-size:12px;line-height:1.8;margin-top:16px;max-width:420px}.hero-actions{margin-top:24px}@media(max-width:600px){.hero-copy{padding-bottom:65px}.home-hero h1{font-size:42px}.hero-plan{gap:8px 16px}.hero-plan>span:first-child{width:100%}.hero-lead{font-size:14px}.hero-actions{gap:15px}.hero-consult-note{font-size:11px}.scroll-note{display:none}}

@media(min-width:901px){.home-hero{color:var(--pastel-ink)}.hero-lead{color:var(--pastel-ink)}.hero-actions .text-link{color:var(--pastel-ink)}.site-header{color:var(--pastel-ink)}.header-cta{border-color:var(--pastel-ink)}.hero-photo img{object-position:55% center}}
@media(max-width:900px){.hero-photo:after{background:linear-gradient(0deg,rgba(20,47,42,.85),rgba(20,47,42,.35) 65%,rgba(20,47,42,.18))}.hero-lead{color:#fff}.hero-photo img{object-position:55% center}.hero-plan,.hero-consult-note{color:#fff}}
.home-hero h1{font-size:clamp(42px,4.3vw,62px)}.home-hero h1 span{display:block;white-space:nowrap}

/* 日本語の見出し・リードは文節（.ph）単位で折り返し、言葉の途中で改行させない */
.ph{display:inline-block}
p,li,dd,summary{text-wrap:pretty}
/* 料金の見出しは列が細いので、PCでは文節が1行に収まる大きさに抑える */
@media(min-width:901px){.price-intro h2{font-size:clamp(34px,3.5vw,52px)}}

/* フォーム・確認画面のボタン：戻るは左で控えめに、進むは右に広く。
   確認画面はスマホだと横並びに収まらないので、送信を上・修正を下に縦に積む */
.nav-row .ghost-button{flex:0 0 auto}
@media(max-width:640px){
  .nav-row .ghost-button,.nav-row .primary-button{width:auto}
  .nav-row .ghost-button{padding:0 16px}
  .nav-row .primary-button{flex:1 1 0;min-width:0;padding:0 12px}
  .confirm-view .nav-row{flex-direction:column-reverse;gap:10px}
  .confirm-view .nav-row .ghost-button,.confirm-view .nav-row .primary-button{width:100%;flex:none}
}
