/* ---- Plan C：設計書 v5 1章（共通の設計）に基づき全面書き換え ----
   書体3種・色トークン・余白・幅・全幅写真のbleedクラス／ヘッダー・フッター・固定バー／
   動き（reveal・count・kenburns・line・parallax）の受け皿CSS。ページごとの部品（2章）は次工程。
   HTML側で読み込むフォント（次工程で<head>に追加）:
   Zen Kaku Gothic New:wght@400;500;700;900 / Shippori Mincho B1:wght@600;800 / Oswald:wght@500;600 */

:root {
  --g: #14532d;      /* 深緑 */
  --g2: #2e7d32;      /* 深緑（明） */
  --paper: #f4f6f1;   /* 生成り */
  --gold: #c9a84c;    /* 金 */
  --acc: #e65100;     /* 朱（ボタンのみ） */
  --ink: #17231a;
  --muted: #5e6d61;
  --line: #dfe5df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif; color: var(--ink); background: #fff; line-height: 1.9; font-size: 16px; overflow-x: hidden; padding-bottom: 60px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; position: relative; }
h1, h2, h3 { margin: 0; word-break: keep-all; overflow-wrap: normal; font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; font-weight: 800; }
.serif { font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; }
.num { font-family: "Oswald", sans-serif; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.35; letter-spacing: .01em; margin-bottom: .5rem; }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.4; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; color: var(--g2); font-family: "Oswald", sans-serif; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--g2); }
.sub { margin: 0 0 2rem; color: var(--muted); max-width: 40rem; }
a { color: inherit; }
section { padding: clamp(48px, 6.5vw, 84px) 0; }
.alt { background: var(--paper); }
.deep { background: var(--g); color: #fff; }
.deep h2, .deep h3 { color: #fff; }
.deep .sub, .deep p { color: rgba(255,255,255,.86); }
.deep a:not(.btn) { color: #fff; }
.deep .eyebrow, .deep .eyebrow::before { color: #cfe6d4; }

/* ボタン */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: .98rem; }
.btn-p { background: var(--acc); color: #fff; box-shadow: 0 10px 30px rgba(230,81,0,.32); }
.btn-l { background: rgba(255,255,255,.14); color: inherit; border: 1px solid var(--g); }
.deep .btn-l { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.12); }

/* ---- 全幅写真（bleed）：.wrap の外まで写真を広げる ---- */
.bleed { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; isolation: isolate; }
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: -2; }
.bleed .wrap { position: relative; z-index: 1; }
.bleed--dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,30,20,.08) 0%, rgba(15,30,20,.4) 55%, rgba(15,30,20,.82) 100%); }
.bleed--full { min-height: 100vh; display: grid; align-items: end; color: #fff; }
.bleed--full .wrap { padding: 48px 0 64px; }
.bleed--band { min-height: clamp(280px, 38vw, 460px); display: grid; align-items: end; color: #fff; }
.bleed--band .wrap { padding: 28px 0 32px; }
.bleed .parallax { height: 130%; top: -15%; will-change: transform; }

/* ---- 動き：reveal（下から現れる） ---- */
.rv, .rv-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in, .rv-stagger.in > * { opacity: 1; transform: none; }

/* ---- 動き：数字（count）。data-count を持つ要素の中の数字を書き換える ---- */
[data-count] { font-family: "Oswald", sans-serif; }

/* ---- 動き：kenburns（写真がゆっくり縮む。CSSのみ） ---- */
.kenburns { animation: kenburns 18s ease-out forwards; transform-origin: center; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---- 動き：line（線が左から伸びる） ---- */
.line-grow { display: block; width: 0; height: 1px; background: var(--gold); transition: width .8s ease; }
.line-grow.in { width: 100%; }
.line-grow.vertical { width: 1px; height: 0; transition: height .8s ease; }
.line-grow.vertical.in { height: 100%; }

/* ---- 動き：parallax は JS が transform を書き込む（will-change のみここで） ---- */
.parallax { will-change: transform; }

/* ---- 動き：fade-nav（ページ遷移時に一瞬暗転） ---- */
body::after { content: ""; position: fixed; inset: 0; z-index: 999; background: var(--g); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
body.leaving::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv-stagger > * { transition: none !important; opacity: 1 !important; transform: none !important; }
  .kenburns { animation: none !important; transform: none !important; }
  .parallax { transform: none !important; }
}

/* ---- 0. ヘッダー：透明で始まり、スクロール80pxで白背景に ---- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: transparent; transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; }
.logo { font-family: "Shippori Mincho B1", serif; font-weight: 800; font-size: 1.2rem; color: #fff; text-decoration: none; white-space: nowrap; line-height: 1.2; flex: 0 0 auto; }
.logo small { display: block; font-family: "Oswald", sans-serif; font-size: .6rem; color: rgba(255,255,255,.8); font-weight: 500; letter-spacing: .2em; white-space: nowrap; }
.hdr nav { display: flex; gap: 1.1rem; font-size: .86rem; font-weight: 700; min-width: 0; }
.hdr nav a { color: #fff; text-decoration: none; white-space: nowrap; }
.hdr nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.open-now { flex: 0 0 auto; font-family: "Zen Kaku Gothic New", sans-serif; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; white-space: nowrap; }
.open-now[data-state="open"] { background: rgba(255,255,255,.2); }
.tel { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; background: var(--g); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; white-space: nowrap; font-family: "Oswald", sans-serif; letter-spacing: .04em; }

header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); box-shadow: 0 2px 18px rgba(20,83,45,.1); border-bottom: 1px solid var(--line); }
header.scrolled .logo { color: var(--g); }
header.scrolled .logo small { color: var(--muted); }
header.scrolled .hdr nav a { color: var(--ink); }
header.scrolled .open-now { background: var(--paper); color: var(--g); }
header.scrolled .open-now[data-state="open"] { background: #e8f0e6; }

@media (max-width: 860px) {
  .hdr { flex-wrap: wrap; row-gap: .4rem; }
  .hdr nav { flex: 1 1 100%; order: 3; gap: 1rem; overflow-x: auto; white-space: nowrap; padding-bottom: .3rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hdr nav::-webkit-scrollbar { display: none; }
  .hdr nav a { flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .logo { font-size: 1rem; }
  .logo small { font-size: .58rem; }
  .open-now { display: none; }
  .tel { padding: 8px 12px; font-size: .92rem; }
}

/* ---- 補助：パンくず ---- */
.breadcrumb { margin: 0 0 1rem; font-size: .82rem; }
.breadcrumb a { color: var(--g2); text-decoration: none; }
.bleed .breadcrumb, .bleed .breadcrumb a { color: rgba(255,255,255,.82); }

/* ---- フッター：深緑、3列 ---- */
footer.ft { background: var(--g); color: #cfe6d4; }
.ft-top { padding: clamp(40px, 6vw, 64px) 0 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.ft-top .ft-name { font-family: "Shippori Mincho B1", serif; font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0 0 .6rem; }
.ft-top address { font-style: normal; font-size: .9rem; line-height: 1.8; }
.ft-nav { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.ft-nav a { color: #cfe6d4; text-decoration: none; font-weight: 700; font-size: .92rem; }
.ft-nav a:hover { text-decoration: underline; }
.ft-hours dt { font-family: "Oswald", sans-serif; font-size: .74rem; letter-spacing: .14em; color: #9fc9a4; margin: 0 0 .2rem; text-transform: uppercase; }
.ft-hours dd { margin: 0 0 .9rem; font-size: .92rem; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 16px 0 28px; font-size: .78rem; color: #9fc9a4; }
@media (max-width: 760px) { .ft-top { grid-template-columns: 1fr; } }

/* ---- 固定バー（サンプル注記。文言はHTML側のまま） ---- */
.banner-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; background: #0f1a3a; color: #fff; font-size: 13px; padding: 8px 12px; text-align: center; line-height: 1.5; }
.banner-bar a { color: #d9f4ff; font-weight: bold; }
@media (max-width: 640px) { body { padding-bottom: 84px; } }

/* =========================================================
   2-1. plan-c.html（トップ）ページ固有パーツ
   ========================================================= */
section[id] { scroll-margin-top: 88px; }

/* 章1 ヒーロー */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.4; }
.hero-copy { max-width: 640px; }
.hero-copy .lead { margin: 0 0 1.6rem; color: rgba(255,255,255,.92); max-width: 32rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: .68rem; letter-spacing: .16em; text-decoration: none; }
.scroll-cue span { width: 1px; height: 24px; background: rgba(255,255,255,.7); }

/* 章2 数字の帯 */
.facts-band { padding: clamp(40px, 6vw, 64px) 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.facts-grid b { display: block; font-family: "Oswald", sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); font-weight: 600; line-height: 1; }
.facts-grid small { display: block; font-size: .85rem; margin-top: .2rem; color: rgba(255,255,255,.82); }
.facts-grid span { display: block; margin-top: .5rem; font-size: .86rem; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }

/* 章3 困りごと3つ */
.worry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.worry { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.worry li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 12px 30px rgba(20,83,45,.06); }
.worry li:nth-child(2) { margin-left: 24px; }
.worry li:nth-child(3) { margin-left: 48px; }
.worry i { font-family: "Oswald", sans-serif; font-style: normal; font-size: 1.6rem; color: var(--gold); }
.worry p { margin: 0; font-weight: 700; }
@media (max-width: 760px) { .worry-grid { grid-template-columns: 1fr; } .worry li:nth-child(2), .worry li:nth-child(3) { margin-left: 0; } }

/* 章4 得意なこと */
.tokui-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2rem; }
.tokui-cards article { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 12px 30px rgba(20,83,45,.06); display: flex; flex-direction: column; }
.tokui-cards .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.tokui-cards img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tokui-cards article:hover img { transform: scale(1.04); }
.tokui-cards .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tokui-cards h3 { font-size: 1.05rem; }
.tokui-cards p { margin: 0; color: var(--muted); font-size: .88rem; flex: 1; }
@media (max-width: 860px) { .tokui-cards { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; margin-top: 1.4rem; padding-bottom: 6px; } .tokui-cards article { flex: 0 0 78%; scroll-snap-align: start; } }

/* 章5 全幅の写真帯 */
.band-line { font-family: "Shippori Mincho B1", serif; font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0; }

/* 章6 料金 */
.price-digits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 2rem; }
.price-digits > div { padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 6px; text-align: center; }
.price-digits b { display: block; font-family: "Oswald", sans-serif; font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--g); font-weight: 600; margin-bottom: .5rem; }
.price-digits p { margin: 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .price-digits { grid-template-columns: repeat(2, 1fr); } }

/* 共通の「くわしく →」リンク */
.more { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: .86rem; color: var(--g2); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* 章7 流れ */
.flow-track { width: 100%; margin: 2rem 0 1.6rem; }
.flow-track .line-grow { background: var(--gold); height: 2px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.flow-steps li { position: relative; padding-top: 26px; }
.flow-steps i { position: absolute; top: -31px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); font-style: normal; }
.flow-steps b { display: block; font-size: .95rem; margin-bottom: .3rem; }
.flow-steps p { margin: 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .flow-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow-steps { grid-template-columns: 1fr; } }

/* 章8 担当者 */
.staff-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2rem; }
.staff-duo article { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.staff-duo img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.staff-duo p { margin: 0; padding: 16px 18px; font-size: .9rem; font-weight: 700; }
@media (max-width: 640px) { .staff-duo { grid-template-columns: 1fr; } }

/* 章9 物件 */
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6rem; }
.portal { display: block; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: inherit; }
.portal b { display: block; font-family: "Oswald", sans-serif; margin-bottom: .3rem; }
.portal span { font-size: .82rem; color: var(--muted); }
.note { margin: 1.2rem 0 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 640px) { .portals { grid-template-columns: 1fr; } }

/* 章10 お客様の声（CSSのみで自動切替、6秒ごと） */
.voice-slider { position: relative; min-height: 190px; margin-top: 2rem; }
.v-slide { position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; opacity: 0; animation: voicefade 12s ease-in-out infinite; }
.v-slide img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.v-slide footer { margin-top: .6rem; font-size: .8rem; color: var(--muted); }
.v-slide:nth-child(1) { animation-delay: 0s; }
.v-slide:nth-child(2) { animation-delay: -6s; }
@keyframes voicefade { 0%, 4% { opacity: 0; } 8%, 42% { opacity: 1; } 46%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .v-slide { animation: none; position: relative; opacity: 1; margin-bottom: 14px; } .voice-slider { min-height: 0; } }

/* 章11 コラム */
.column-card { display: block; max-width: 640px; margin-top: 1.6rem; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; }
.column-card b { display: block; font-size: 1.05rem; margin-bottom: .5rem; }
.column-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.column-card span { display: block; margin-top: .7rem; font-size: .76rem; color: var(--muted); }

/* 章12 FAQ */
#faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
#faq summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 24px; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-family: "Oswald", sans-serif; color: var(--g2); }
#faq details[open] summary::after { content: "–"; }
#faq p { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }

/* 章13 アクセス */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.access-grid p { font-style: normal; }
.access-grid .open-now { display: inline-block; margin-top: 1rem; background: var(--paper); color: var(--g); }
.access-grid .open-now[data-state="open"] { background: #e8f0e6; }
.map-wrap img { width: 100%; height: auto; border-radius: 8px; display: block; }
@media (max-width: 760px) { .access-grid { grid-template-columns: 1fr; } }

/* 章14 相談 */
.contact-cta { text-align: center; }
.contact-cta h2 { margin-bottom: .6rem; }
.contact-cta p { margin: 0 0 1.6rem; }
.contact-cta .btn { font-size: 1.05rem; }

/* 横方向のはみ出し防止（kenburnsの拡大分を切る） */
html { overflow-x: hidden; }
.bleed, .bleed--full, .bleed--band { overflow: hidden; }

/* FAQ：1つの折りたたみに（ページを短く） */
.faq-compact { padding: clamp(28px, 4vw, 48px) 0; }
.faq-fold { border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.faq-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; }
.faq-fold > summary::-webkit-details-marker { display: none; }
.faq-fold > summary .eyebrow { margin: 0; }
.faq-fold > summary b { font-family: "Shippori Mincho B1", serif; font-size: 1.3rem; font-weight: 800; }
.faq-fold__n { margin-left: auto; font-family: "Oswald", sans-serif; color: var(--muted); font-size: .85rem; }
.faq-fold__n::after { content: "＋"; margin-left: .6rem; color: var(--g2); font-weight: 900; }
.faq-fold[open] .faq-fold__n::after { content: "−"; }
.faq-fold__body { padding: 0 1.4rem 1rem; }

