/* 見本6：中小製造業の企業サイト（架空の会社「株式会社 汐凪精工」）・5ページ共通
   配色は2案。?theme=a ＝鉄紺×白（金属・図面の青）／?theme=b ＝墨×ベンガラ（青系以外）
   どちらも「白地＋淡い灰の面＋主の色1つ＋見積もりボタンの色」。実物 8本中8本が白か淡い灰の地（research.md）
   文字は全部 16px 以上（check.py で測る）。本文の色は実物に合わせて #333 前後 */

html[data-theme="a"] {
  --bg: #ffffff;
  --surface: #f1f3f5;
  --text: #1f262e;      /* 白地で 15.6:1 */
  --sub: #333a42;       /* 本文の副色＝#333 前後（実物 測れた7本中6本が #333 か黒） */
  --accent: #1d3f63;    /* 鉄紺。白文字で 11:1 */
  --accent-dark: #132c47;
  --accent-soft: #e3eaf2;
  --cta: #b4501c;       /* 見積もり依頼＝暖色。白文字で 5.1:1 */
  --cta-dark: #963f12;
  --line: #d5dbe1;
  --field-line: #7b8794; /* 入力欄の枠＝白地で 3.6:1（WCAG 1.4.11 の 3:1 以上） */
  --band-shade: rgba(19, 44, 71, .88);
  --footer: #18222e;
}
html[data-theme="b"] {
  --bg: #ffffff;
  --surface: #f3f2ef;
  --text: #222222;      /* 白地で 16:1 */
  --sub: #333333;
  --accent: #9e3324;    /* ベンガラ（弁柄）。白文字で 7.1:1 */
  --accent-dark: #7d2619;
  --accent-soft: #f4e7e3;
  --cta: #9e3324;
  --cta-dark: #7d2619;
  --line: #dddad3;
  --field-line: #85817a;
  --band-shade: rgba(34, 34, 34, .88);
  --footer: #262626;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) { body { font-size: 17px; } }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 40px; } }
.nowrap { white-space: nowrap; }

/* 日本語の見出しは文節で折り返す */
.h2, .h3, .hero__title, .page-hero__title, .spec dd, .flow li, .cta-band__title, .faq summary {
  word-break: auto-phrase;
}

/* ---------- 見出しの型：英字の小見出し＋見出し（書体は発注者役3人の多数決＝research.md） ---------- */
.head-font, .h2, .h3, .hero__title, .page-hero__title, .band__num, .cta-band__title, .logo__name {
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
}
.label {
  display: block;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.h2 {
  font-size: 26px;
  line-height: 1.55;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
@media (min-width: 900px) { .h2 { font-size: 34px; margin-bottom: 28px; } }
.section-head { margin-bottom: 36px; max-width: 760px; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }
.section-head p { color: var(--sub); }
.h3 {
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: flex; align-items: baseline; gap: 14px;
}
@media (max-width: 899px) { .h3 { font-size: 20px; } }
@media (min-width: 900px) { .h3 { font-size: 25px; } }
.h3__no { font-size: 18px; color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0; font-family: "Noto Sans JP", sans-serif; font-weight: 500; }

.section { padding: 72px 0; background: var(--bg); }
.section.tint { background: var(--surface); }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.note { color: var(--sub); margin-top: 20px; }
.text-sub { color: var(--sub); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 28px;
  border-radius: 4px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.5;
  text-decoration: none; text-align: center;
  border: 1.5px solid var(--accent);
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer; font-family: inherit;
}
.btn--cta { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-dark); border-color: var(--cta-dark); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: #fff; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--sm { min-height: 44px; padding: 6px 16px; }
.btn--block { width: 100%; }
.btn--arrow::after { content: "→"; font-weight: 400; }
.btn__icon { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }

/* ---------- ヘッダー（全ページ共通・上に追従＝実物 8本中3本） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px 8px 16px; min-height: 64px;
}
@media (min-width: 1000px) { .site-header__inner { padding: 10px 32px; min-height: 84px; gap: 28px; } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.logo__mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo__mark rect { fill: var(--accent); }
.logo__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.logo__name { font-size: 18px; letter-spacing: 0.08em; white-space: nowrap; }
.logo__sub { font-size: 16px; color: var(--sub); letter-spacing: 0.04em; display: none; white-space: nowrap; }
@media (min-width: 600px) { .logo__name { font-size: 21px; } .logo__sub { display: block; } }

.gnav { display: none; }
.gnav ul { list-style: none; margin: 0; padding: 0; }
.gnav a { text-decoration: none; }
@media (min-width: 1000px) {
  .gnav { display: block; }
  .gnav ul { display: flex; gap: 4px; }
  .gnav a { display: block; padding: 8px 12px; font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
  .gnav a:hover { color: var(--accent); }
  .gnav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
}
.header-tel { display: none; margin: 0; text-align: right; line-height: 1.35; }
.header-tel__num { display: block; font-size: 23px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums; }
.header-tel__time { display: block; font-size: 16px; color: var(--sub); white-space: nowrap; }
@media (min-width: 1240px) { .header-tel { display: block; } }
.header-quote { flex-shrink: 0; padding: 6px 14px; letter-spacing: 0.02em; }
@media (min-width: 1000px) { .header-quote { padding: 8px 20px; } }

.menu-btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 48px; height: 48px; padding: 0; flex-shrink: 0;
  background: none; border: 0; color: var(--text); cursor: pointer; font-family: inherit;
}
.menu-btn__bar { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1000px) { .menu-btn { display: none; } }

/* スマホのメニュー（開いた時だけ出す。閉じとる間は display:none＝画面外に置かん） */
.sp-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.sp-menu.is-open { display: block; }
.sp-menu ul { list-style: none; margin: 0; padding: 8px 16px; }
.sp-menu li + li { border-top: 1px solid var(--line); }
.sp-menu a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 500; }
.sp-menu a[aria-current="page"] { color: var(--accent); }
.sp-menu__tel { padding: 8px 16px 20px; }
.sp-menu__tel a { display: block; font-size: 22px; font-weight: 700; color: var(--accent); text-decoration: none; }
.sp-menu__tel span { color: var(--sub); }
@media (min-width: 1000px) { .sp-menu, .sp-menu.is-open { display: none; } }

/* 制作見本の明記（全ページ・ヘッダー直下） */
.fict-bar { background: var(--accent-soft); color: var(--text); font-size: 16px; line-height: 1.6; }
.fict-bar p { max-width: 1440px; margin: 0 auto; padding: 8px 16px; }
@media (min-width: 1000px) { .fict-bar p { padding: 8px 32px; } }
/* 配色の切り替え（見本を見る人向け）：今の配色と逆の案へのリンクだけを出す */
.fict-bar__switch { display: inline-block; color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 600px) { .fict-bar__switch { margin-left: 1em; } }
html[data-theme="b"] .fict-bar__switch--to-b, html:not([data-theme="b"]) .fict-bar__switch--to-a { display: none; }

/* ---------- TOP の FV ---------- */
.hero { background: var(--surface); }
.hero__photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.hero__body { padding: 20px 20px 48px; }
.hero__title { font-size: 26px; line-height: 1.5; letter-spacing: 0.06em; margin-bottom: 14px; }
.hero__lead { color: var(--sub); margin-bottom: 16px; }
.hero__tags { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li { padding: 2px 12px; background: #fff; border: 1px solid var(--accent); color: var(--accent-dark); border-radius: 3px; font-weight: 500; line-height: 1.75; }
.hero__cta { display: flex; flex-direction: column; gap: 10px; }
.hero__time { margin-top: 12px; color: var(--sub); }
@media (max-width: 899px) {
  .hero .label { margin-bottom: 4px; }
  .hero__lead { display: none; } /* スマホは最初の1画面に見積もりの入口を入れるため、リードは下の節に回す */
}
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: min(calc(100vh - 130px), 720px); }
  .hero__photo { order: 2; position: relative; }
  .hero__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hero__body { order: 1; align-self: center; padding: 56px 48px 56px max(40px, calc((100vw - 1160px) / 2 + 40px)); }
  .hero__title { font-size: 34px; margin-bottom: 22px; }
  .hero__lead { margin-bottom: 24px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 1200px) { .hero__title { font-size: 40px; } }

/* ---------- 下層ページの見出し帯（TOP より低く、パンくずつき） ---------- */
.page-hero { position: relative; background: var(--accent-dark); color: #fff; overflow: hidden; }
.page-hero__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.page-hero__body { padding: 24px 0 28px; background: var(--accent-dark); }
.page-hero .label { color: #fff; opacity: .92; }
.page-hero__title { font-size: 28px; line-height: 1.45; letter-spacing: 0.08em; }
.page-hero__lead { margin: 12px 0 0; max-width: 640px; }
/* 写真の無いページ（プライバシーポリシー・送信完了）＝帯だけ */
.page-hero--plain .page-hero__body { position: static; background: var(--accent-dark); padding: 40px 0 44px; }
/* 文書のページ（プライバシーポリシー・送信完了） */
.doc { max-width: 760px; }
.doc h2 { font-size: 20px; line-height: 1.6; margin: 40px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); font-family: inherit; font-weight: 700; }
.doc h2:first-of-type { margin-top: 0; }
.doc ul { margin: 0 0 1em; padding-left: 1.4em; }
.doc li { margin-bottom: 4px; }
.doc a:not(.btn) { color: var(--accent); }
.doc__date { margin-top: 40px; color: var(--sub); }
.doc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 900px) {
  .page-hero__photo img { aspect-ratio: 16 / 5; max-height: 400px; }
  .page-hero__body { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, var(--band-shade) 0, var(--band-shade) 46%, rgba(0,0,0,0) 72%); padding: 40px 0 44px; }
  .page-hero__title { font-size: 40px; }
}
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; gap: 4px 0; max-width: 1160px; color: var(--sub); }
@media (min-width: 900px) { .breadcrumb ol { padding: 12px 40px; } }
.breadcrumb li + li::before { content: "／"; margin: 0 8px; color: var(--sub); }
.breadcrumb a { color: var(--accent); }

/* ---------- 写真と文章の左右交互（3列カードは使わん） ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split + .split { margin-top: 64px; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.split__media--43 img { aspect-ratio: 4 / 3; }
.split__media--45 img { aspect-ratio: 4 / 5; }
.split__media figcaption { margin-top: 8px; color: var(--sub); font-size: 16px; }
.split__body > *:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
  .split + .split { margin-top: 96px; }
  .split--rev .split__media { order: 2; }
  .split--narrow-media { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .split--top { align-items: start; }
}

/* 仕様の一覧（材質・ロット・精度・納期・設備）＝箱にせず罫線で区切る */
.spec { margin: 0; border-top: 2px solid var(--accent); }
.spec > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; color: var(--accent); }
.spec dd { margin: 0; }
.spec dd small { display: block; font-size: 16px; color: var(--sub); }

.points { list-style: none; margin: 0 0 20px; padding: 0; }
.points li { position: relative; padding-left: 1.4em; margin-bottom: 6px; }
.points li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 9px; height: 9px; background: var(--accent); }

/* ---------- 数字の帯（箱に入れず帯で見せる） ---------- */
.band { position: relative; color: #fff; background: var(--accent-dark) url("images/06-band.jpg") center / cover no-repeat; }
.band::before { content: ""; position: absolute; inset: 0; background: var(--band-shade); }
.band__inner { position: relative; padding-top: 64px; padding-bottom: 64px; } /* 左右は .container の余白を残す */
@media (min-width: 900px) { .band__inner { padding-top: 88px; padding-bottom: 88px; } }
.band__title { font-size: 22px; margin-bottom: 28px; letter-spacing: 0.08em; }
.band__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.band__item { padding: 16px 12px 16px 0; border-top: 1px solid rgba(255,255,255,.4); }
.band__item dt { font-size: 16px; opacity: .95; }
.band__item dd { margin: 0; }
.band__num { font-size: 40px; line-height: 1.3; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.band__unit { font-size: 18px; margin-left: 4px; }
.band__note { margin-top: 24px; font-size: 16px; }
@media (min-width: 900px) {
  .band__list { grid-template-columns: repeat(5, 1fr); }
  .band__item { border-top: 0; border-left: 1px solid rgba(255,255,255,.4); padding: 4px 20px 4px 24px; }
  .band__item:first-child { border-left: 0; padding-left: 0; }
  .band__num { font-size: 48px; }
}

/* ---------- 加工事例 ---------- */
.case-meta { margin: 0 0 16px; display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 4px 12px; }
.case-meta dt { color: var(--accent); font-weight: 700; }
.case-meta dd { margin: 0; }

/* ---------- 依頼の流れ ---------- */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow li { position: relative; padding: 0 0 22px 56px; counter-increment: flow; }
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; border-radius: 50%;
}
.flow li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.flow strong { display: block; font-size: 18px; line-height: 1.6; }
.flow span { color: var(--sub); }

/* ---------- お知らせ ---------- */
.news { margin: 0; border-top: 1px solid var(--line); }
.news > div { display: grid; gap: 2px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news dt { color: var(--sub); font-variant-numeric: tabular-nums; }
.news dd { margin: 0; }
@media (min-width: 900px) { .spec > div { grid-template-columns: 6.5em minmax(0, 1fr); } }
@media (min-width: 900px) { .news > div { grid-template-columns: 9em 7em minmax(0, 1fr); align-items: baseline; } }
.news__cat { display: inline-block; padding: 0 10px; border: 1px solid var(--accent); color: var(--accent); border-radius: 3px; font-size: 16px; line-height: 1.6; width: fit-content; }

/* ---------- 問い合わせの帯（全ページの最後） ---------- */
.cta-band { position: relative; color: #fff; background: var(--accent-dark); overflow: hidden; }
.cta-band__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cta-band__body { position: relative; padding: 40px 0 56px; }
.cta-band__title { font-size: 26px; line-height: 1.5; letter-spacing: 0.06em; margin-bottom: 14px; }
.cta-band .label { color: #fff; }
.cta-band__ways { display: grid; gap: 16px; margin-top: 24px; }
.cta-band__tel { display: block; color: #fff; text-decoration: none; padding: 12px 20px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 4px; text-align: center; }
.cta-band__tel b { display: block; font-size: 26px; letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.cta-band .btn--cta { border-color: #fff; }
@media (min-width: 900px) {
  .cta-band__photo { position: absolute; inset: 0; }
  .cta-band__photo img { height: 100%; aspect-ratio: auto; }
  .cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--band-shade) 0, var(--band-shade) 55%, rgba(0,0,0,.25) 100%); }
  .cta-band__body { z-index: 1; padding: 104px 0; max-width: 640px; }
  .cta-band__title { font-size: 34px; }
  .cta-band__ways { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* ---------- 採用への入口（TOP） ---------- */
.recruit-link { display: grid; gap: 0; text-decoration: none; background: var(--surface); }
.recruit-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.recruit-link__body { padding: 28px 20px 36px; }
@media (min-width: 900px) {
  .recruit-link { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
  .recruit-link__body { padding: 48px 56px; }
}
.recruit-link:hover .btn { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- 表（会社概要・設備一覧・材質・募集要項） ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--accent); }
.table th, .table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.75; }
.table thead th { background: var(--surface); color: var(--text); font-weight: 700; white-space: nowrap; }
.table tbody th { font-weight: 700; color: var(--accent); white-space: nowrap; width: 8em; }
.table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 599px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .table--stack th, .table--stack td { display: block; border: 0; padding: 2px 0; width: auto; }
  .table--stack td[data-th]::before { content: attr(data-th) "："; color: var(--sub); }
}
@media (min-width: 900px) { .table th, .table td { padding: 16px 18px; } }

/* ---------- 沿革 ---------- */
.history { margin: 0; border-left: 2px solid var(--line); padding-left: 20px; }
.history > div { position: relative; padding: 0 0 18px; display: grid; gap: 0 24px; }
.history > div::before { content: ""; position: absolute; left: -27px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.history dt { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.history dd { margin: 0; }
@media (min-width: 900px) { .history > div { grid-template-columns: 8em minmax(0, 1fr); } }

/* ---------- 先輩の声（採用） ---------- */
.voice { display: grid; gap: 40px; }
.voice__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; }
.voice__item img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; }
.voice__name { font-weight: 700; margin-bottom: 2px; }
.voice__role { color: var(--sub); margin-bottom: 10px; }
@media (min-width: 900px) {
  .voice__item { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
  .voice__item img { width: 160px; height: 160px; }
  .voice__item:nth-child(even) { grid-template-columns: minmax(0, 1fr) 160px; }
  .voice__item:nth-child(even) img { order: 2; }
}
.fict-note { color: var(--sub); font-size: 16px; }

/* ---------- 1日の流れ（採用） ---------- */
.day { margin: 0; }
.day > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.day dt { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.day dd { margin: 0; }

/* ---------- お問い合わせ（見本のフォーム＝送信しない） ---------- */
.contact-ways { display: grid; gap: 16px; margin-top: 24px; }
.contact-way { padding: 20px; background: #fff; border-left: 4px solid var(--accent); }
.contact-way h3 { font-size: 18px; margin-bottom: 6px; font-family: inherit; }
.contact-way__tel { display: inline-block; font-size: 28px; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.form { max-width: 820px; margin: 0 auto; }
.form__row { margin-bottom: 24px; }
.form__label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; }
.form__req, .form__opt { display: inline-block; padding: 0 8px; font-size: 16px; line-height: 1.6; border-radius: 3px; font-weight: 500; }
.form__req { background: var(--cta); color: #fff; }
.form__opt { background: var(--surface); color: var(--sub); border: 1px solid var(--line); }
.form__help { color: var(--sub); margin: 6px 0 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1.5px solid var(--field-line); border-radius: 4px;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input[type="file"] { font: inherit; font-size: 16px; max-width: 100%; }
.form__choices { display: flex; flex-wrap: wrap; gap: 8px 20px; border: 0; margin: 0; padding: 0; }
.form__choices legend { padding: 0; }
.form__choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.form__choices input, .form__agree input { width: 20px; height: 20px; accent-color: var(--accent); }
.form__grid { display: grid; gap: 0 24px; }
@media (min-width: 700px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form__agree { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 28px; }
.form__agree input { margin-top: 6px; flex-shrink: 0; }
.form__submit { text-align: center; }
.form__submit .btn { min-width: min(100%, 360px); }
.form__note { margin-top: 16px; color: var(--accent-dark); font-weight: 700; min-height: 1.8em; }
.form__privacy { padding: 16px 20px; background: var(--surface); color: var(--sub); margin-bottom: 20px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--accent); margin-right: 8px; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; top: 16px; color: var(--accent); }
.faq details[open] summary::after { content: "－"; }
.faq__a { padding: 0 0 18px; color: var(--sub); }

/* ---------- フッター（全ページ共通） ---------- */
.site-footer { background: var(--footer); color: #fff; padding: 56px 0 28px; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; } }
.site-footer__name { font-size: 22px; margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.site-footer__nav a { text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__fict { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); }
.site-footer__fict p { margin-bottom: 6px; }
.site-footer__copy { margin-top: 16px; opacity: .95; }

/* ---------- 出現の動き ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 599px) { .logo__kk { display: none; } } /* スマホは「汐凪精工」だけ＝見積もりボタンとメニューを1行に収める */

/* ---------- 小物 ---------- */
.mt-40 { margin-top: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.wide-photo { margin-bottom: 40px; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 3px; }
.flow--in-band { margin: 20px 0 4px; }
.flow--in-band li::before { background: #fff; color: var(--accent-dark); }
.flow--in-band li::after { background: rgba(255,255,255,.5); }
[id] { scroll-margin-top: 96px; } /* 上に追従するヘッダーの下に、#の行き先が隠れんように */
.wide-photo figcaption { margin-top: 8px; color: var(--sub); }
@media (max-width: 899px) { .wide-photo--form img { aspect-ratio: 16 / 9; } } /* PC は他と同じ 16:7 の全幅 */
