/* 12: neutral reason numerals and a photo-first mobile FV. */
.reason-index b{font-size:4.5rem;font-weight:700;letter-spacing:-.065em}
.promise>.reason-index{color:#d2d8de9c}
.experience>.reason-index{color:#bfc7cdad}
.maker-answer>.reason-index{color:#fff;text-shadow:0 1px 2px #9d857b40}
.reason-index,.promise>.reason-index{top:16px;right:24px}
.promise h3{padding-right:100px}
.experience>.reason-index+p{padding-right:100px}
.maker-answer .guarantee-title{padding-right:100px}
@media(max-width:800px){
 .reason-index b{font-size:3.5rem}
 .reason-index,.promise>.reason-index{top:18px;right:18px}
 .promise h3{padding-right:45px}
 .experience>.reason-index+p{padding-right:58px}
 .experience .representatives,.text-enlarged .experience .representatives{width:100%;max-width:340px;margin:20px 0 0}
 .experience .portraits{gap:14px}
 .experience .portraits figure{width:calc(50% - 7px)}
 .experience .portraits img{aspect-ratio:1;object-fit:cover}
 .maker-answer .guarantee-title{padding-right:52px}
 .hero{display:flex;flex-direction:column;gap:0;padding:0 0 18px}
 .hero-title{display:contents}
 .hero .scope{order:1;align-self:center;margin:8px 20px 0;width:calc(100% - 40px);font-size:1rem;padding:7px 8px;line-height:1.5}
 .hero h1{order:2;margin:12px 20px 10px;color:#202837;font-size:clamp(1.5rem,7.7vw,2.75rem);line-height:1.35;text-shadow:none;letter-spacing:0;text-align:center}
 .hero h1 br{display:none}
 .hero h1 .title-word{display:inline;white-space:normal}
 .hero .hero-photo,.text-enlarged .hero .hero-photo{order:3;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:14/9;background:#edf2f5;flex:none}
 .hero-photo .hero-slide{inset:0;height:100%;bottom:0}
 .hero-photo .hero-slide img,.hero-photo .hero-slide:nth-child(2) img{width:100%;height:100%;object-fit:cover;object-position:center center;max-height:none;background:none}
 .hero-photo::after,.hero-photo .hero-slide::after{content:none;background:none}
 .hero .targets{order:4;text-align:center;font-size:1rem;font-weight:700;line-height:1.6;color:#354756;text-shadow:none;background:#edf2f5;margin:0;padding:8px 12px}
 .hero .hand{order:5;align-self:center;margin:10px 16px 8px;font-size:clamp(1.2rem,5.6vw,1.6rem);line-height:1.6;text-shadow:none;transform:none;text-align:center;-webkit-text-stroke:.7px currentColor}
 .hero .hand strong{color:#842b20;text-shadow:none;background:linear-gradient(transparent 78%,#f1d34dc9 78%,#f1d34dc9 94%,transparent 94%)}
 .hero .hero-cost{order:6;margin:0 20px}
 .hero-cost .price-badge{padding-block:20px;min-height:146px}
 .hero-cost .zero{padding-block:17px;min-height:134px}
 .hero .price-claim{margin-top:18px}
 .hero .hero-contact{order:7}
 .text-enlarged .hero h1{color:#202837;text-shadow:none;font-size:1.5rem}
 .text-enlarged .hero .scope{width:calc(100% - 32px);margin-inline:16px}
 .text-enlarged .promise h3{padding-right:0}
}
@media(max-width:350px){
 .hero .scope{margin-inline:12px;width:calc(100% - 24px)}
 .hero h1{margin-inline:12px}
 .hero .hero-cost{margin-inline:16px}
 .promise h3{padding-right:45px;font-size:1.15rem}
}

/* --- 移植版で追加 --------------------------------------------------------
   送信完了の表示。試作12には送信が無かったため、この部品だけ新規。
   フォームと同じ幅に収まり、完了したと分かる見た目にする。 */
.form-done{margin:28px 0 8px;padding:28px 24px;border:1px solid #cfd9df;border-left:6px solid #1f8a4c;border-radius:10px;background:#f6faf7}
.form-done-head{margin:0 0 12px;font-size:1.2rem;font-weight:900;line-height:1.7}
.form-done-sub{margin:0;font-weight:700}
.form-done-sub a{color:#b3261e;font-weight:900;white-space:nowrap}
@media(max-width:800px){.form-done{padding:22px 18px}.form-done-head{font-size:1.1rem}}

/* 2026-09-15: 自作LINEマーク削除。公式素材はモーダルへ集約（revision.css）。 */
/* 2) 地図は本番と同じGoogleマップ埋め込み。試作の仮カードの余白・角丸は維持する。 */
.map-head{margin:0 0 14px;text-align:center;font-size:1rem;color:#475764;line-height:1.8}
.map-embed{position:relative;aspect-ratio:16/10;border-radius:11px;overflow:hidden;background:#edf1f3}
.map-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
@media(max-width:800px){.map-embed{aspect-ratio:4/3}}

/* 3) 施工事例の末尾の注記とInstagram導線（本番の .image-note / .ig-link に相当） */
.image-note{margin:26px 0 0;text-align:center;font-size:1rem;line-height:1.85;color:#4b5560}
.ig-link{text-align:center;margin:18px 0 0}
.ig-link a{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 18px;border-radius:10px;
  background:#fff;border:1.5px solid #c7d3db;color:var(--red);font-weight:800;text-decoration:none;
  box-shadow:0 2px 10px #20283712}
.ig-link .ig-ico{display:flex;flex:none}
.ig-link .ig-main{display:block;font-size:1rem}
.ig-link .ig-sub{display:block;margin-top:2px;font-size:.9rem;font-weight:700;color:#53616b}

/* 4) 下部固定CTAが本文・メニュー・モーダル・フォーム・送信ボタンを隠さないようにする。
      ・メニュー／LINEモーダルを開いている間は出さない
      ・画面内に通常の相談ユニット（FV・相談窓口）や送信ボタンがあるときは出さない
        （同じ役割のCTAが二重に並ぶのを避け、送信ボタンを覆わないため）
      レイアウトを動かさないよう visibility で消す（body の下余白はそのまま）。 */
body.cta-suppress .fixed-contact,
body.menu-open .fixed-contact,
body:has(dialog[open]) .fixed-contact{visibility:hidden;pointer-events:none}
body.menu-open{overflow:hidden}

/* 5) LINEモーダルの内容構成を本番にそろえるための部品。
      枠（dialog / dialog h2 / .dialog-close）は試作12のものをそのまま使う。 */
.lm-dlabel{margin:0 0 6px;font-size:.95rem;font-weight:800;letter-spacing:.04em;color:#5b6773}
#lm h2{margin:0 0 10px;font-size:1.5rem;line-height:1.5}
.lm-eyebrow{margin:0 0 10px;font-size:.95rem;font-weight:800;letter-spacing:.08em;color:#0a8038}
.lm-lead{margin:0 0 4px;line-height:1.85}
.lm-dsub{margin:8px 0 0;font-size:1rem;color:#53616b;line-height:1.75}
.lm-act-txt{margin:10px 0 0;text-align:center;font-size:1rem;color:#53616b;line-height:1.7}
.lm-alt{margin:18px 0 0;padding:14px 16px;border-radius:10px;background:#f4f7f9;border:1px solid #dce4e8}
.lm-alt>p:first-child{margin:0 0 10px;font-size:1rem;color:#53616b;line-height:1.7}
.lm-alt>p:first-child b{display:block;font-size:1.05rem;color:#263449}
.lm-alt .action{margin-top:0}
.lm-alt .late{margin:10px 0 0;font-size:1rem;color:#53616b;line-height:1.7}
@media(max-width:800px){#lm h2{font-size:1.3rem}dialog{padding:22px 18px}}

/* 6) 文字だけを200%にしたときの横はみ出し（幅801〜900px・試作12から継続）の修正。
      原因は2つで、どちらも「拡大時だけ」直す（通常表示のPC構図は変えない）。
      ・章ナビ（.nav-inner）が6項目を折り返さず993pxまで伸びていた
      ・FVの2カラムが 1fr 1fr（＝最小幅がmin-content）で縮まらなかった
      html.text-enlarged は root の文字サイズが22pxを超えたときだけ付く。 */
html.text-enlarged .nav-inner{flex-wrap:wrap;row-gap:6px;justify-content:center}
html.text-enlarged .hero-contact{grid-column:1/-1;grid-row:auto;justify-self:stretch;width:auto;margin-inline:20px}
html.text-enlarged .cost-pair{grid-template-columns:minmax(0,1fr)}
html.text-enlarged .hero-cost .price-badge,html.text-enlarged .hero-cost .zero{width:auto;min-width:0}
