/* ============================================================
   畑本建築（own. 制作サンプル）
   見た目のルールは ../DESIGN.md。色・余白は必ず変数で使う
   ============================================================ */

:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F3F3F0;
  --color-ink: #1E2226;
  --color-ink-sub: #6B7075;
  --color-line: #DFE0DC;
  --color-navy: #1F2C45;
  --color-navy-dark: #16203A;
  --color-gold: #D2A23A;

  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;

  --band: 32px;
  --header: 80px;
  --gutter: 56px;
  --section: 144px;
  --head-gap: 56px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (max-width: 1023px) { :root { --gutter: 32px; --section: 112px; } }
@media (max-width: 767px) { :root { --gutter: 20px; --section: 80px; --head-gap: 32px; --header: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--band) + var(--header) + 16px); }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font-family: var(--font-body); font-size: 16px; line-height: 2; letter-spacing: 0.05em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-mincho); font-weight: 700; word-break: auto-phrase; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section--alt { background: var(--color-bg-alt); }
.section--tight { padding-top: calc(var(--section) / 2); }
.section--lines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--color-line) 1px, transparent 1px);
  background-size: calc(min(100%, var(--max) + var(--gutter) * 2) / 4) 100%;
  background-position: center; opacity: 0.7;
}
.section--lines > * { position: relative; }

/* ---------- サンプルの帯 ---------- */
.sample-band { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: var(--band); margin: 0; display: flex; align-items: center; justify-content: center; background: var(--color-ink); color: #fff; font-size: 12px; line-height: 1.4; letter-spacing: 0.06em; padding: 0 12px; text-align: center; }
.sample-band a { color: #fff; text-underline-offset: 3px; }

/* ---------- ヘッダー ---------- */
.header { position: fixed; top: var(--band); left: 0; right: 0; z-index: 60; height: var(--header); background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--color-line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; white-space: nowrap; }
.logo__en { font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: 0.2em; }
.logo__ja { font-size: 11px; letter-spacing: 0.12em; color: var(--color-ink-sub); margin-top: 6px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.nav a { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1.2; padding: 6px 0; position: relative; }
.nav .en { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; }
.nav .ja { font-size: 10px; color: var(--color-ink-sub); margin-top: 4px; letter-spacing: 0.08em; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: var(--color-gold); transform: translateX(-50%) scale(0); transition: transform 0.25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.header__cta { display: flex; gap: 8px; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 56px; padding: 0 32px; border-radius: 2px; background: var(--color-navy); color: #fff; border: 1px solid var(--color-navy); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; white-space: nowrap; transition: background-color 0.25s, color 0.25s, border-color 0.25s; cursor: pointer; font-family: var(--font-body); }
.btn::after { content: "→"; font-family: var(--font-en); }
.btn:hover { background: var(--color-navy-dark); border-color: var(--color-navy-dark); }
.btn--line { background: #fff; color: var(--color-ink); border-color: var(--color-ink); }
.btn--line:hover { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 13px; gap: 10px; }
.btn--sm::after { display: none; }
.text-link { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; white-space: nowrap; }
.text-link::after { content: "→"; font-family: var(--font-en); text-decoration: none; }
.text-link:hover { color: var(--color-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }

.main { padding-top: calc(var(--band) + var(--header)); }

/* ---------- 見出し ---------- */
.label { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-ink-sub); margin: 0 0 18px; line-height: 1; }
.label::before { content: ""; width: 24px; height: 2px; background: var(--color-gold); }
.label--light { color: rgba(255,255,255,0.75); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: var(--head-gap); }
.h2 { font-size: 36px; line-height: 1.5; letter-spacing: 0.06em; }
.h3 { font-size: 22px; line-height: 1.6; letter-spacing: 0.04em; margin-bottom: 14px; }
.lead { max-width: 680px; font-size: 17px; line-height: 2.1; }
.small { font-size: 13px; line-height: 1.8; color: var(--color-ink-sub); }
.num { font-family: var(--font-en); font-weight: 600; color: var(--color-gold); letter-spacing: 0.08em; }

/* 下層ページの見出し */
.page-head { position: relative; height: 420px; overflow: hidden; color: #fff; }
.page-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,22,0.55), rgba(10,14,22,0.1) 60%); }
.page-head__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
.page-head .label { color: rgba(255,255,255,0.85); }
.page-head h1 { font-size: 48px; line-height: 1.4; letter-spacing: 0.06em; }
.crumbs { font-size: 12px; color: var(--color-ink-sub); padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--color-line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- トップのファーストビュー ---------- */
.hero { position: relative; height: calc(88vh - var(--band) - var(--header)); min-height: 560px; overflow: hidden; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(12,16,24,0.55) 0%, rgba(12,16,24,0.15) 38%, rgba(12,16,24,0) 60%), linear-gradient(to top, rgba(12,16,24,0.45), rgba(12,16,24,0) 35%); }
.hero__catch { position: absolute; z-index: 1; top: 64px; right: calc(var(--gutter) + 24px); writing-mode: vertical-rl; font-family: var(--font-mincho); font-weight: 600; font-size: 34px; line-height: 1.7; letter-spacing: 0.2em; margin: 0; }
.hero__foot { position: absolute; z-index: 1; left: 0; right: 0; bottom: 40px; }
.hero__foot .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__h1 { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; line-height: 1.8; }
.hero__h1 span { display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; opacity: 0.8; }
.hero__case { font-size: 12px; letter-spacing: 0.08em; opacity: 0.9; text-align: right; }
.hero__case b { display: block; font-family: var(--font-mincho); font-size: 18px; letter-spacing: 0.08em; }

/* 数字の帯 */
.numbers { background: var(--color-navy); color: #fff; }
.numbers ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers li { padding: 40px 24px 36px; border-left: 1px solid rgba(255,255,255,0.14); }
.numbers li:first-child { border-left: 0; padding-left: 0; }
.numbers p { margin: 0; }
.numbers .v { font-family: var(--font-en); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.01em; }
.numbers .v small { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-left: 4px; letter-spacing: 0.06em; }
.numbers .v::after { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--color-gold); border-radius: 50%; margin-left: 8px; vertical-align: 6px; }
.numbers .k { font-size: 13px; opacity: 0.75; margin-top: 12px; line-height: 1.6; }

/* ---------- 写真と文章 ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.split__photo { grid-column: 1 / span 7; }
.split__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__text { grid-column: 9 / span 4; }
.split--rev .split__photo { grid-column: 6 / span 7; order: 2; }
.split--rev .split__text { grid-column: 1 / span 5; }

/* 4つの約束 */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--color-ink); }
.promise { padding: 32px 28px 8px 0; }
.promise + .promise { padding-left: 28px; border-left: 1px solid var(--color-line); }
.promise .num { display: block; font-size: 13px; margin-bottom: 18px; }
.promise h3 { font-size: 20px; line-height: 1.6; margin-bottom: 12px; }
.promise p { font-size: 14px; line-height: 1.9; }
.promise svg { color: var(--color-ink-sub); margin-bottom: 16px; }

/* ---------- 施工事例 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { height: 40px; padding: 0 18px; border-radius: 2px; border: 1px solid var(--color-line); background: #fff; color: var(--color-ink); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; font-family: var(--font-body); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--color-ink); }
.chip[aria-pressed="true"] { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.work[hidden] { display: none; }
.work a { text-decoration: none; display: block; }
.work__ph { overflow: hidden; background: var(--color-bg-alt); margin-bottom: 18px; }
.work__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.7s var(--ease); }
.work a:hover .work__ph img { transform: scale(1.03); }
.work__meta { font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; color: var(--color-ink-sub); text-transform: uppercase; margin: 0 0 8px; }
.work__meta span { font-family: var(--font-body); letter-spacing: 0.06em; text-transform: none; }
.work__title { font-size: 20px; line-height: 1.6; margin: 0 0 6px; }
.work__desc { font-size: 14px; line-height: 1.8; color: var(--color-ink-sub); margin: 0; }
.work__more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.works--top .work:first-child { grid-column: 1 / span 2; grid-row: span 2; }
.works--top .work:first-child .work__ph img { aspect-ratio: auto; height: 100%; min-height: 520px; }
.works--top .work:first-child .work__ph { height: calc(100% - 120px); }

/* 事例の詳細 */
.case-hero { position: relative; height: 72vh; min-height: 480px; overflow: hidden; }
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-title { padding: 72px 0 0; }
.case-title .work__meta { font-size: 12px; }
.case-title h1 { font-size: 44px; line-height: 1.4; letter-spacing: 0.06em; margin: 12px 0 0; }
.spec { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-top: 56px; }
.spec__lead { grid-column: 1 / span 6; font-size: 17px; line-height: 2.1; }
.spec__table { grid-column: 8 / span 5; }
.dl { margin: 0; }
.dl div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.dl div:first-child { border-top: 1px solid var(--color-ink); }
.dl dt { font-size: 13px; color: var(--color-ink-sub); }
.dl dd { margin: 0; font-size: 15px; line-height: 1.8; }
.dl dd b { font-family: var(--font-en); font-size: 18px; }
.gallery2 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.gallery2 img { width: 100%; height: 100%; object-fit: cover; }
.gallery2 .g1 { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.gallery2 .g2 { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }
.voice-box { border-left: 2px solid var(--color-gold); padding: 8px 0 8px 32px; max-width: 760px; }
.voice-box p { font-family: var(--font-mincho); font-size: 20px; line-height: 2; font-weight: 600; }
.voice-box cite { font-style: normal; font-size: 13px; color: var(--color-ink-sub); }
.staff-note { display: flex; gap: 24px; align-items: center; max-width: 760px; }
.staff-note img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; flex: none; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.pager a { display: block; padding: 32px 0; text-decoration: none; }
.pager a + a { text-align: right; border-left: 1px solid var(--color-line); padding-left: 32px; }
.pager small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.18em; color: var(--color-ink-sub); }
.pager b { font-family: var(--font-mincho); font-size: 18px; }

/* ---------- 新築・リフォームの入口 ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.door { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 3; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,22,0.7), rgba(10,14,22,0) 60%); }
.door:hover img { transform: scale(1.03); }
.door__body { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 32px; }
.door__body h3 { font-size: 28px; line-height: 1.5; margin: 0 0 6px; }
.door__body p { font-size: 14px; margin: 0; opacity: 0.9; }
.door__body .label { color: rgba(255,255,255,0.85); margin-bottom: 12px; }

/* ---------- 費用 ---------- */
.price-box { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.price-box__main { grid-column: 1 / span 6; }
.price-box__side { grid-column: 8 / span 5; }
.big-price { font-family: var(--font-en); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -0.01em; margin: 8px 0 12px; }
.big-price small { font-family: var(--font-body); font-size: 18px; margin-left: 4px; }
.bar { display: flex; height: 48px; margin: 24px 0 16px; overflow: hidden; }
.bar span { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.bar .b1 { flex: 72; background: var(--color-navy); }
.bar .b2 { flex: 13; background: #3B4A68; }
.bar .b3 { flex: 8; background: #6A7790; }
.bar .b4 { flex: 7; background: #A3ACBC; }
.legend { list-style: none; margin: 0; padding: 0; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--color-line); font-size: 14px; }
.legend i { width: 12px; height: 12px; display: block; transform: translateY(1px); }
.legend b { font-family: var(--font-en); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 16px 12px 16px 0; text-align: left; border-bottom: 1px solid var(--color-line); vertical-align: top; font-weight: 400; line-height: 1.8; }
.table thead th { font-size: 12px; color: var(--color-ink-sub); border-bottom: 1px solid var(--color-ink); font-weight: 600; }
.table tbody th { font-family: var(--font-mincho); font-weight: 700; }
.table .p { font-family: var(--font-en); font-weight: 600; white-space: nowrap; text-align: right; }

/* 流れ */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-ink); }
.timeline li { display: grid; grid-template-columns: 80px 160px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--color-line); align-items: baseline; }
.timeline .num { font-size: 28px; }
.timeline .term { font-size: 13px; color: var(--color-ink-sub); }
.timeline h3 { font-size: 20px; margin-bottom: 6px; }
.timeline p { font-size: 15px; }

/* FAQ */
.faq { border-top: 1px solid var(--color-ink); }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr 20px; gap: 8px; align-items: baseline; padding: 22px 0; font-family: var(--font-mincho); font-weight: 700; font-size: 18px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { font-family: var(--font-en); color: var(--color-gold); font-weight: 600; }
.faq .pm { position: relative; width: 14px; height: 14px; justify-self: end; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--color-ink); transition: transform 0.25s; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .a { padding: 0 24px 24px 44px; font-size: 15px; }

/* ---------- 人 ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.people--5 { grid-template-columns: repeat(5, 1fr); gap: 24px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 16px; filter: saturate(0.9); }
.person__role { font-size: 12px; color: var(--color-ink-sub); margin: 0 0 4px; line-height: 1.6; }
.person__name { font-family: var(--font-mincho); font-weight: 700; font-size: 20px; line-height: 1.5; margin: 0 0 10px; }
.person__msg { font-size: 14px; line-height: 1.9; margin: 0; }
.message { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.message__photo { grid-column: 1 / span 5; }
.message__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.message__text { grid-column: 7 / span 6; }
.sign { font-family: var(--font-mincho); font-weight: 700; font-size: 18px; margin-top: 24px; }
.history { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-ink); }
.history li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--color-line); }
.history .y { font-family: var(--font-en); font-weight: 600; font-size: 20px; }

/* ---------- 見学会 ---------- */
.event { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; background: #fff; }
.event__photo { grid-column: 1 / span 6; }
.event__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event__body { grid-column: 8 / span 5; }
.event__date { font-family: var(--font-en); font-weight: 600; font-size: 40px; line-height: 1.1; margin: 8px 0 4px; }
.event__date small { font-family: var(--font-body); font-size: 14px; margin-left: 6px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border: 1px solid var(--color-gold); color: #8A6A1F; letter-spacing: 0.06em; margin-bottom: 12px; }

/* ---------- コラム ---------- */
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.col a { text-decoration: none; display: block; }
.col__ph { overflow: hidden; margin-bottom: 16px; background: var(--color-bg-alt); }
.col__ph img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.7s var(--ease); }
.col a:hover .col__ph img { transform: scale(1.03); }
.col__cat { font-size: 12px; font-weight: 600; color: #8A6A1F; letter-spacing: 0.08em; margin: 0 0 6px; }
.col__title { font-family: var(--font-mincho); font-weight: 700; font-size: 18px; line-height: 1.7; margin: 0 0 6px; }
.col__date { font-family: var(--font-en); font-size: 12px; color: var(--color-ink-sub); letter-spacing: 0.08em; margin: 0; }
.article { max-width: 760px; margin: 0 auto; }
.article__head { padding: 72px 0 40px; }
.article__head h1 { font-size: 36px; line-height: 1.6; margin: 10px 0 16px; }
.article__eye { margin-bottom: 48px; }
.article__eye img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article h2 { font-size: 26px; line-height: 1.6; margin: 64px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--color-ink); }
.article h3 { font-size: 20px; margin: 40px 0 12px; }
.article ul { padding-left: 1.2em; margin: 0 0 1.5em; }
.article li { margin-bottom: 0.4em; }
.toc { background: var(--color-bg-alt); padding: 28px 32px; margin: 0 0 40px; }
.toc p { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.point { border: 1px solid var(--color-navy); padding: 24px 28px; margin: 32px 0; }
.point b { display: block; font-family: var(--font-mincho); font-size: 17px; margin-bottom: 6px; }
.author { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); padding: 24px 0; margin-top: 64px; }
.author img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 22px; max-width: 760px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form .req { font-size: 11px; color: #fff; background: var(--color-navy); padding: 2px 6px; margin-left: 8px; vertical-align: 1px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; letter-spacing: 0.03em; color: var(--color-ink); background: #fff; border: 1px solid var(--color-line); border-radius: 2px; padding: 13px 14px; }
.form textarea { min-height: 160px; line-height: 1.8; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--color-navy); outline-offset: 1px; border-color: transparent; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .checks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 400; }
.form .checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.form .checks input { width: auto; }
.form__note { font-size: 13px; color: var(--color-ink-sub); }
.form .btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- 問い合わせ（共通） ---------- */
.contact { background: var(--color-bg-alt); padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); margin-top: 48px; }
.contact__item { display: block; background: #fff; padding: 36px 32px; text-decoration: none; transition: background-color 0.25s, color 0.25s; }
.contact__item:hover { background: var(--color-navy); color: #fff; }
.contact__item .label { margin-bottom: 14px; }
.contact__item:hover .label { color: rgba(255,255,255,0.8); }
.contact__item h3 { font-size: 22px; margin-bottom: 8px; }
.contact__item p { font-size: 14px; line-height: 1.8; margin: 0 0 20px; }
.contact__item .go { font-family: var(--font-en); font-weight: 600; font-size: 20px; }
.contact__tel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 32px; }
.contact__tel b { font-family: var(--font-en); font-weight: 600; font-size: 32px; letter-spacing: 0.02em; }

/* ---------- プラン紹介・フッター ---------- */
.plan-note { padding: 32px var(--gutter); text-align: center; font-size: 13px; line-height: 1.9; color: var(--color-ink-sub); border-top: 1px solid var(--color-line); }
.plan-note a { color: var(--color-ink); }
.footer { background: var(--color-navy); color: #fff; padding: 88px 0 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.footer__brand { grid-column: 1 / span 5; }
.footer__brand .logo__en { font-size: 30px; }
.footer__brand .logo__ja { color: rgba(255,255,255,0.7); }
.footer__info { font-size: 13px; line-height: 2; margin-top: 28px; opacity: 0.85; }
.footer__info p { margin: 0; }
.footer__nav { grid-column: 7 / span 6; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
.footer__nav a { text-decoration: none; font-size: 14px; }
.footer__nav a span { display: block; font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; opacity: 0.6; }
.footer__nav a:hover { color: var(--color-gold); }
.footer__copy { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.14em; opacity: 0.6; }

.menu-btn, .drawer, .mobile-bar { display: none; }

/* ---------- 動き ---------- */
.fade { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .work__ph img, .door img, .col__ph img { transition: none; }
}

/* ============================================================
   タブレット
   ============================================================ */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
}
@media (max-width: 1023px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .promise:nth-child(3) { border-left: 0; padding-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--color-line); }
  .works, .columns { grid-template-columns: 1fr 1fr; }
  .works--top .work:first-child { grid-column: 1 / -1; grid-row: auto; }
  .works--top .work:first-child .work__ph { height: auto; }
  .works--top .work:first-child .work__ph img { aspect-ratio: 3 / 2; min-height: 0; }
  .people--5 { grid-template-columns: repeat(3, 1fr); }
  .numbers .v { font-size: 44px; }
}

/* ============================================================
   スマホ
   ============================================================ */
@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: 60px; }
  .sample-band { position: static; height: auto; min-height: var(--band); padding: 6px 12px; font-size: 11px; }
  .header { position: sticky; top: 0; }
  .main { padding-top: 0; }
  .logo__en { font-size: 18px; }
  .logo__ja { font-size: 10px; }
  .h2 { font-size: 25px; }
  .h3 { font-size: 19px; }
  .lead { font-size: 15px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .section--lines::before { display: none; }

  .hero { height: 76vh; min-height: 480px; }
  .hero img { object-position: 55% 60%; }
  .hero__catch { top: 28px; right: 20px; font-size: 24px; }
  .hero__foot { bottom: 24px; }
  .hero__foot .container { flex-direction: column; align-items: flex-start; }
  .hero__case { text-align: left; }

  .numbers ul { grid-template-columns: 1fr 1fr; }
  .numbers li { padding: 24px 12px 24px 16px; }
  .numbers li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .numbers li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.14); }
  .numbers .v { font-size: 38px; }
  .numbers .v small { font-size: 13px; }

  .split, .price-box, .message, .spec, .event, .footer__grid, .gallery2 { display: block; }
  .split__text, .price-box__side, .message__text, .spec__table, .event__body { margin-top: 32px; }
  .gallery2 > * + * { margin-top: 12px; }
  .promises { grid-template-columns: 1fr; }
  .promise, .promise + .promise { padding: 24px 0; border-left: 0; }
  .promise + .promise { border-top: 1px solid var(--color-line); }
  .works, .columns, .people, .doors { grid-template-columns: 1fr; gap: 40px; }
  .people--5 { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .person__name { font-size: 17px; }
  .door__body { left: 20px; right: 20px; bottom: 20px; }
  .door__body h3 { font-size: 22px; }
  .page-head { height: 260px; }
  .page-head__inner { padding-bottom: 28px; }
  .page-head h1 { font-size: 28px; }
  .case-hero { height: 52vh; min-height: 320px; }
  .case-title { padding-top: 40px; }
  .case-title h1 { font-size: 27px; }
  .big-price { font-size: 44px; }
  .bar span { font-size: 10px; }
  .timeline li { grid-template-columns: 48px 1fr; gap: 4px 16px; }
  .timeline .term { grid-column: 2; }
  .timeline li > div { grid-column: 2; }
  .history li { grid-template-columns: 72px 1fr; gap: 12px; }
  .history .y { font-size: 16px; }
  .faq summary { font-size: 16px; }
  .faq .a { padding: 0 8px 20px 44px; font-size: 14px; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--color-line); padding-left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__item { padding: 28px 24px; }
  .contact__tel b { font-size: 26px; }
  .form .row2 { grid-template-columns: 1fr; }
  .table { font-size: 13px; }
  .table tbody th { width: 7em; }
  .table th, .table td { padding: 14px 8px 14px 0; }
  .article__head h1 { font-size: 26px; }
  .article h2 { font-size: 21px; }
  .toc { padding: 20px; }
  .footer__nav { margin-top: 40px; }
  .footer__nav ul { grid-template-columns: 1fr 1fr; }
  .event__date { font-size: 32px; }

  .mobile-bar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 60px; background: #fff; border-top: 1px solid var(--color-line); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.3; }
  .mobile-bar a small { font-weight: 400; font-size: 10px; opacity: 0.8; }
  .mobile-bar a + a { border-left: 1px solid var(--color-line); }
  .mobile-bar .is-main { background: var(--color-navy); color: #fff; }
}

/* メニュー（タブレット・スマホ） */
.menu-btn { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--color-ink); }
.menu-btn span { display: block; width: 26px; height: 1.5px; background: currentColor; }
@media (max-width: 1180px) {
  .drawer { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 80; background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  .drawer.is-open { opacity: 1; visibility: visible; }
  .drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
  .drawer__close { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--color-ink); }
  .drawer ul { list-style: none; margin: 24px 0 0; padding: 0; }
  .drawer li { border-bottom: 1px solid var(--color-line); }
  .drawer li a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; text-decoration: none; }
  .drawer .en { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; color: var(--color-ink-sub); }
  .drawer .ja { font-family: var(--font-mincho); font-weight: 700; font-size: 20px; }
  .drawer .btn-row { margin-top: 28px; flex-direction: column; }
  .drawer .btn { width: 100%; }
}

/* スマホでのリズム（2026-10-14・DESIGN.md 11章）PCは変えない */
@media (max-width: 767px) {
  body { letter-spacing: 0.03em; }
  .h2, .h3, .page-head h1, .case-title h1, .work__title, .promise h3, .door__body h3, .contact__item h3, .person__name, .col__title { letter-spacing: 0.02em; }
  .h2 { font-size: 24px; line-height: 1.55; }

  .sec-head .label, .price-box .label, .contact > .container > .label, .contact__item .label, .door__body .label { display: none; }
  .sec-head { margin-bottom: 24px; }
  .sec-head .text-link { margin-top: 12px; }

  .promise svg { display: none; }
  .promise, .promise + .promise { display: grid; grid-template-columns: 36px 1fr; padding: 20px 0; }
  .promise .num { grid-row: span 2; margin: 5px 0 0; }
  .promise h3 { font-size: 18px; margin-bottom: 4px; }
  .promise p { grid-column: 2; font-size: 14px; }

  .works--top { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .works--top .work:first-child { grid-column: 1 / -1; grid-row: auto; }
  .works--top .work:first-child .work__ph { height: auto; }
  .works--top .work:first-child .work__ph img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
  .works--top .work:not(:first-child) .work__ph { margin-bottom: 10px; }
  .works--top .work:not(:first-child) .work__meta { font-size: 10px; letter-spacing: 0.08em; margin-bottom: 4px; }
  .works--top .work:not(:first-child) .work__title { font-size: 15px; line-height: 1.5; }
  .works--top .work:nth-child(n+6) { display: none; }
  .works--top .work:not(:first-child) .work__desc, .works--top .work:not(:first-child) .work__more { display: none; }

  .people:not(.people--5) { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .people:not(.people--5)::-webkit-scrollbar { display: none; }
  .people:not(.people--5) { scroll-padding-inline: 0; }
  .people:not(.people--5) .person { flex: 0 0 70%; scroll-snap-align: start; }

  .columns { gap: 0; border-top: 1px solid var(--color-line); }
  .col a { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--color-line); }
  .col__ph { grid-row: span 3; margin: 0; }
  .col__ph img { aspect-ratio: 1 / 1; }
  .col__cat { font-size: 11px; margin-bottom: 2px; }
  .col__title { font-size: 15px; line-height: 1.6; margin-bottom: 4px; }
}
