/* ===== 見た目の型 6「職人の大文字」 — 色と書体はここだけで変える ===== */
:root {
  --ink: #1A1A1A;        /* 文字・黒い章・ボタン */
  --paper: #FFFFFF;      /* 地 */
  --wash: #F4F2EC;       /* 交互の地（生成り） */
  --accent: #9B8F5C;     /* 金茶：線・大きな数字だけ（小さな文字には使わない） */
  --sub: #4A4A4A;        /* 補足の文字（白地で 8.9:1） */
  --line: #D9D5C8;
  --mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --head: 76px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--gothic); font-size: 16px; line-height: 1.8; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: .06em; }
.wrap { width: min(100% - 48px, var(--wrap)); margin: 0 auto; }

/* ===== 固定ヘッダー（地の色あり） ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-header .wrap { width: min(100% - 48px, 1320px); height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; flex-direction: column; justify-content: center; text-decoration: none; min-height: 44px; margin-right: auto; }
.logo b { font-family: var(--mincho); font-size: 24px; letter-spacing: .18em; line-height: 1.2; }
.logo small { font-size: 10px; letter-spacing: .3em; color: var(--sub); line-height: 1.4; }
.gnav { display: flex; gap: 4px; }
.gnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 15px; font-weight: 700; }
.gnav a:hover, .gnav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.head-cta { display: flex; }
.head-cta a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.head-cta a + a { border-left: 0; }
.head-cta a:hover { background: var(--ink); color: var(--paper); }
.head-tel { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; min-height: 44px; justify-content: center; }
.head-tel b { font-family: var(--mincho); font-size: 20px; letter-spacing: .06em; line-height: 1.2; }
.head-tel small { font-size: 11px; color: var(--sub); }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; font-weight: 700; font-size: 16px; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); transition: background .3s, color .3s;
}
.btn::after { content: "→"; font-family: var(--gothic); }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-dark .btn:hover { background: var(--ink); color: var(--paper); }
.free-note { font-size: 15px; font-weight: 700; margin: 14px 0 0; }
.free-note span { border-bottom: 2px solid var(--accent); }

/* ===== 章の共通 ===== */
section { padding: 112px 0; }
.bg-wash { background: var(--wash); }
.sec-head { margin-bottom: 56px; }
.sec-head .en { display: flex; align-items: center; gap: 14px; font-family: var(--gothic); font-size: 13px; font-weight: 700; letter-spacing: .3em; margin-bottom: 18px; }
.sec-head .en::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.sec-head h2 { font-size: 44px; }
.sec-head p { margin: 20px 0 0; max-width: 40em; color: var(--sub); }
.more { margin-top: 48px; }

/* ===== 最初の画面：2つに割る ===== */
.hero { position: relative; padding: calc(var(--head) + 40px) 0 56px; overflow: hidden; }
.hero-diag { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-diag line { stroke: var(--ink); stroke-width: 1; }
.after-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.after-cta p { margin: 0; font-weight: 700; }
@media (max-width: 820px) { .hero-diag { display: none; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 220px 1fr 220px; gap: 32px; width: min(100% - 48px, 1320px); margin: 0 auto; align-items: start; }
.big { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding-top: 8px; }
.big .kanji { font-family: var(--mincho); font-weight: 800; font-size: 200px; line-height: 1; letter-spacing: 0; }
.big .kana { font-family: var(--mincho); font-weight: 800; font-size: 72px; line-height: 1.1; writing-mode: vertical-rl; margin-top: 8px; }
.big .label { margin-top: 20px; font-size: 15px; font-weight: 700; border-top: 1px solid var(--ink); padding-top: 10px; }
.big:hover .kanji { color: var(--accent); }
.hero-main { padding-top: 12px; }
.hero-main .area { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.hero-main h1 { font-size: 58px; line-height: 1.3; letter-spacing: .08em; }
.hero-main .lead { margin: 22px 0 0; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { margin-top: 32px; aspect-ratio: 16 / 7; overflow: hidden; background: var(--wash); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 数字の帯 */
.facts { padding: 0 0 40px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.facts li { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts .num { font-family: var(--mincho); font-weight: 800; font-size: 52px; line-height: 1; }
.facts .num small { font-size: 20px; margin-left: 4px; }
.facts .cap { display: block; margin-top: 10px; font-size: 15px; color: var(--sub); }

/* 入口2つ */
.entry { padding-top: 40px; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.entry-card { padding: 48px; position: relative; }
.entry-card + .entry-card { border-left: 1px solid var(--ink); }
.entry-card .tag { font-size: 14px; font-weight: 700; letter-spacing: .2em; }
.entry-card h2 { font-size: 40px; margin: 8px 0 16px; }
.entry-card h2 span { font-size: 20px; margin-left: 12px; letter-spacing: .1em; }
.entry-card ul { margin: 0 0 24px; padding: 0; list-style: none; }
.entry-card li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.entry-card li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.entry-card .price { font-family: var(--mincho); font-size: 18px; margin: 0 0 24px; }
.entry-card .price b { font-size: 32px; }

/* 職人 */
.crew-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.crew-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.crew-photo img { width: 100%; height: 100%; object-fit: cover; }
.crew-grid figcaption { font-size: 15px; color: var(--sub); margin-top: 10px; }
.crew-copy .catch { font-family: var(--mincho); font-weight: 800; font-size: 48px; line-height: 1.35; margin: 0 0 28px; }
.crew-list { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.crew-list li { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.crew-list b { font-family: var(--mincho); font-size: 17px; }

/* 悩み */
.worries { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.worries li { background: var(--paper); padding: 28px 28px 24px; border-top: 3px solid var(--ink); }
.worries q { display: block; font-family: var(--mincho); font-weight: 700; font-size: 21px; line-height: 1.5; quotes: "「" "」"; }
.worries span { display: block; margin-top: 12px; font-size: 15px; color: var(--sub); }
.worries-ans { margin-top: 48px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.worries-ans p { font-family: var(--mincho); font-weight: 700; font-size: 28px; margin: 0; }

/* 黒い章：理由と数字（山場は1か所） */
.dark { background: var(--ink); color: var(--paper); }
.dark .sec-head .en::before { background: var(--accent); }
.dark .sec-head p { color: #D6D3CA; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #555; }
.reasons > div { padding: 36px 32px 8px 0; }
.reasons > div + div { padding-left: 32px; border-left: 1px solid #555; }
.reasons .no { font-family: var(--mincho); font-size: 64px; color: var(--accent); line-height: 1; }
.reasons h3 { font-size: 24px; margin: 18px 0 14px; }
.reasons p { color: #D6D3CA; font-size: 15px; }

/* 費用の目安 */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.price-table th, .price-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table thead th { background: var(--ink); color: var(--paper); font-size: 15px; letter-spacing: .1em; }
.price-table tbody th { font-family: var(--mincho); font-size: 19px; }
.price-table .yen { font-family: var(--mincho); font-weight: 800; font-size: 28px; white-space: nowrap; }
.price-table .yen small { font-size: 15px; }
.price-table td.note { font-size: 15px; color: var(--sub); }
.table-note { font-size: 15px; color: var(--sub); margin-top: 16px; }

/* 事例 */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.work { text-decoration: none; display: block; }
.work .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.work .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work:hover .ph img { transform: scale(1.03); }
.labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.labels span { font-size: 13px; font-weight: 700; border: 1px solid var(--ink); padding: 2px 10px; line-height: 1.7; }
.work h3 { font-size: 21px; margin-bottom: 10px; }
.work dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 15px; }
.work dt { color: var(--sub); }
.work dd { margin: 0; font-weight: 700; }

/* 流れ */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.flow li { padding: 0 28px 0 0; position: relative; }
.flow li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.flow .step { font-size: 13px; font-weight: 700; letter-spacing: .25em; }
.flow h3 { font-size: 24px; margin: 6px 0 10px; }
.flow .when { display: inline-block; font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--accent); margin-bottom: 10px; }
.flow p { font-size: 15px; color: var(--sub); }

/* 声 */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice { background: var(--paper); padding: 36px 32px; margin: 0; border-top: 3px solid var(--accent); }
.voice h3 { font-size: 20px; margin-bottom: 14px; line-height: 1.5; }
.voice p { font-size: 15px; }
.voice footer { font-size: 15px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 12px; }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 14px 40px 14px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--mincho); font-size: 24px; color: var(--accent); }
.faq summary::after { content: "+"; position: absolute; right: 8px; font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 22px 40px; }
.faq .a p { margin: 0; }

/* 相談の章（薄くしない） */
.consult .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--paper); }
.consult .door { padding: 40px 32px; display: flex; flex-direction: column; }
.consult .door + .door { border-left: 1px solid #555; }
.consult .door .mark { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--paper); }
.consult .door h3 { font-size: 26px; margin: 10px 0 12px; }
.consult .door p { color: #D6D3CA; font-size: 15px; flex: 1; }
.consult .door .btn { width: 100%; }
.consult .tel-big { font-family: var(--mincho); font-size: 30px; font-weight: 800; text-decoration: none; display: inline-flex; min-height: 56px; align-items: center; }
.consult .door.reco { background: #262626; }
.consult .reco-badge { display: inline-block; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; padding: 0 10px; margin-left: 8px; letter-spacing: .1em; }
.promise { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.promise li { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.promise li::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); }

/* 下層ページの見出し */
.page-head { padding: calc(var(--head) + 72px) 0 72px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .ghost-kanji { position: absolute; right: 4%; top: calc(var(--head) + 8px); font-family: var(--mincho); font-weight: 800; font-size: 220px; line-height: 1; color: var(--wash); z-index: 0; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: 56px; }
.page-head p { margin: 20px 0 0; max-width: 40em; }
.crumb { font-size: 14px; margin-bottom: 20px; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }

/* 施工事例ページ */
.case { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; padding: 72px 0; border-bottom: 1px solid var(--line); }
.case:first-of-type { padding-top: 0; }
.case:nth-of-type(even) .ph { order: 2; }
.case .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.case .ph img { width: 100%; height: 100%; object-fit: cover; }
.case h2 { font-size: 34px; margin-bottom: 20px; }
.case .spec { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 24px 0; }
.case .spec div { padding: 14px 16px; }
.case .spec div + div { border-left: 1px solid var(--line); }
.case .spec dt { font-size: 13px; color: var(--sub); }
.case .spec dd { margin: 0; font-family: var(--mincho); font-weight: 800; font-size: 22px; }
.case h3 { font-size: 18px; margin: 20px 0 8px; font-family: var(--gothic); }
.case blockquote { margin: 24px 0 0; padding: 20px 24px; background: var(--wash); font-size: 15px; }
.case blockquote cite { display: block; font-style: normal; font-weight: 700; margin-top: 8px; }
.small-works { width: 100%; border-collapse: collapse; }
.small-works th, .small-works td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.small-works thead th { background: var(--ink); color: var(--paper); }

/* 会社ページ */
.ceo { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: start; }
.ceo .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.ceo .ph img { width: 100%; height: 100%; object-fit: cover; }
.ceo .name { margin-top: 14px; font-size: 15px; }
.ceo .name b { font-family: var(--mincho); font-size: 24px; margin-left: 8px; }
.ceo .msg h2 { font-size: 40px; margin-bottom: 32px; }
.crew-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.crew-cards li { background: var(--paper); padding: 24px 20px; border-top: 3px solid var(--ink); }
.crew-cards .yrs { font-family: var(--mincho); font-weight: 800; font-size: 34px; line-height: 1; }
.crew-cards .yrs small { font-size: 15px; }
.crew-cards b { display: block; font-family: var(--mincho); font-size: 20px; margin: 12px 0 4px; }
.crew-cards .role { font-size: 13px; font-weight: 700; }
.crew-cards p { font-size: 15px; color: var(--sub); margin: 10px 0 0; }
.info { width: 100%; border-collapse: collapse; }
.info th, .info td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 12em; font-weight: 700; background: var(--wash); }
.area-map { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area-map svg { width: 100%; height: auto; }

/* 相談フォーム */
.form-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.form { display: grid; gap: 28px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 10px; }
.req { display: inline-block; font-size: 12px; background: var(--ink); color: var(--paper); padding: 0 8px; margin-left: 8px; line-height: 1.8; vertical-align: middle; }
.opt { display: inline-block; font-size: 12px; border: 1px solid var(--ink); padding: 0 8px; margin-left: 8px; line-height: 1.7; vertical-align: middle; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 1px solid var(--ink); font-weight: 700; margin: 0; cursor: pointer; }
.radios input { width: 20px; height: 20px; accent-color: var(--ink); }
.radios label:has(input:checked) { background: var(--ink); color: var(--paper); }
.form input[type=text], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; min-height: 52px; border: 1px solid #8A8A8A; background: var(--paper); color: var(--ink); border-radius: 0;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.hint { font-size: 15px; color: var(--sub); margin: 8px 0 0; }
.form .btn { width: 100%; min-height: 64px; font-size: 18px; cursor: pointer; font-family: inherit; }
.sent { display: none; border: 2px solid var(--ink); padding: 32px; }
.sent.show { display: block; }
.sent h2 { font-size: 30px; margin-bottom: 12px; }
.side-box { background: var(--wash); padding: 32px; position: sticky; top: calc(var(--head) + 24px); }
.side-box h2 { font-size: 22px; margin-bottom: 16px; }
.side-box ul { padding-left: 1.2em; margin: 0 0 24px; }
.side-box li { margin-bottom: 6px; }
.side-box .tel-big { font-family: var(--mincho); font-weight: 800; font-size: 28px; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }

/* フッター */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 40px; border-top: 1px solid #333; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.site-footer .logo b { font-size: 26px; }
.site-footer .logo small { color: #D6D3CA; }
.site-footer address { font-style: normal; margin-top: 18px; font-size: 15px; line-height: 1.9; color: #E8E6DF; }
.site-footer address a { display: inline-flex; min-height: 44px; align-items: center; font-family: var(--mincho); font-size: 24px; font-weight: 800; text-decoration: none; color: var(--paper); }
.foot-nav { list-style: none; padding: 0; margin: 0; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; }
.foot-nav a:hover { text-decoration: underline; }
.site-footer h3 { font-family: var(--gothic); font-size: 13px; letter-spacing: .25em; margin-bottom: 8px; color: #D6D3CA; }
.disclaimer { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid #444; font-size: 15px; color: #E8E6DF; }
.copy { font-size: 13px; color: #BDBAB0; margin: 8px 0 0; }

/* スマホの画面下（固定） */
.sp-bar { display: none; }

/* ===== タブレット・スマホ ===== */
@media (max-width: 1100px) {
  .gnav { display: none; }
  .head-tel small { display: none; }
  .hero-grid { grid-template-columns: 150px 1fr 150px; gap: 20px; }
  .big .kanji { font-size: 140px; }
  .big .kana { font-size: 52px; }
  .hero-main h1 { font-size: 46px; }
  .crew-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --head: 60px; }
  body { font-size: 15px; line-height: 1.8; padding-bottom: 72px; }
  .wrap { width: calc(100% - 32px); }
  .site-header .wrap { width: calc(100% - 32px); gap: 8px; }
  .logo b { font-size: 20px; }
  .head-cta { display: none; }
  .head-tel b { font-size: 16px; }
  .head-tel small { display: block; font-size: 11px; }
  section { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 32px; }

  .hero { padding: calc(var(--head) + 20px) 0 40px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 0; width: calc(100% - 32px); }
  .big { order: 0; flex-direction: row; align-items: flex-end; gap: 6px; padding: 0; }
  .big.right { justify-content: flex-end; }
  .big .kanji { font-size: 104px; }
  .big .kana { font-size: 34px; margin: 0 0 4px; }
  .big .label { display: none; }
  .hero-main { grid-column: 1 / -1; order: 1; padding-top: 20px; }
  .hero-main .area { font-size: 14px; }
  .hero-main h1 { font-size: 34px; }
  .hero-main .lead { font-size: 15px; }
  .hero-cta .btn { width: 100%; }
  .hero-photo { aspect-ratio: 16 / 10; margin-top: 24px; }

  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 20px 12px; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts .num { font-size: 38px; }
  .facts .num small { font-size: 16px; }

  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { padding: 32px 20px; }
  .entry-card + .entry-card { border-left: 0; border-top: 1px solid var(--ink); }
  .entry-card h2 { font-size: 32px; }
  .entry-card .btn { width: 100%; }

  .crew-grid, .ceo, .area-map, .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .crew-copy .catch { font-size: 34px; }
  .worries { grid-template-columns: 1fr; }
  .worries q { font-size: 19px; }
  .worries-ans p { font-size: 22px; }
  .worries-ans .btn { width: 100%; }
  .reasons { grid-template-columns: 1fr; }
  .reasons > div, .reasons > div + div { padding: 28px 0 4px; border-left: 0; border-top: 1px solid #555; }
  .reasons > div:first-child { border-top: 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { border: 0; padding: 2px 16px; }
  .works, .voices { grid-template-columns: 1fr; gap: 40px; }
  .voices { gap: 16px; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .consult .grid { grid-template-columns: 1fr; }
  .consult .door { padding: 28px 20px; }
  .consult .door + .door { border-left: 0; border-top: 1px solid #555; }
  .page-head { padding: calc(var(--head) + 32px) 0 48px; }
  .page-head h1 { font-size: 36px; }
  .page-head .ghost-kanji { font-size: 140px; right: -10px; }
  .case { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .case:nth-of-type(even) .ph { order: 0; }
  .case h2 { font-size: 26px; }
  .case .spec dd { font-size: 18px; }
  .small-works thead { display: none; }
  .small-works, .small-works tbody, .small-works tr, .small-works td { display: block; }
  .small-works tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .small-works td { border: 0; padding: 2px 4px; }
  .ceo .msg h2 { font-size: 30px; }
  .crew-cards { grid-template-columns: 1fr 1fr; }
  .info th, .info td { display: block; width: auto; padding: 12px 14px; }
  .info th { border-bottom: 0; }
  .side-box { position: static; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }

  .sp-bar {
    display: grid; grid-template-columns: 1fr 1fr 64px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--paper); border-top: 1px solid var(--ink); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px;
  }
  .sp-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; font-weight: 700; font-size: 15px; text-decoration: none; background: var(--ink); color: var(--paper); line-height: 1.3; text-align: center; }
  .sp-bar a.tel { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
