/* まちの灯台：施工事例・コラムのページ（tools/machi_content.py が作るページ用。2026-12-04）
   LP と同じ紺と金。文字は端末の日本語フォント（読み込みを軽くするため Web フォントは使わない）。 */
:root { --navy: #0a264f; --navy-2: #134577; --gold: #ffd23f; --ink: #10213d; --sub: #55627a; --line: #dfe4ec; --bg: #f5f7fa; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.9; letter-spacing: .02em;
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif; }
a { color: var(--navy-2); }
img { max-width: 100%; height: auto; }
.preview-banner { margin: 0; padding: 10px 16px; background: #b3261e; color: #fff; text-align: center; font-weight: 700; }
.site-head { padding: 14px 20px; background: var(--navy); }
.site-head img { display: block; width: 160px; height: auto; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 20px 56px; }
.crumb { font-size: 13px; color: var(--sub); }
.crumb a { color: var(--sub); }
h1 { margin: 10px 0 18px; font-size: 26px; line-height: 1.5; }
h2 { margin: 36px 0 10px; padding-left: 12px; border-left: 4px solid var(--gold); font-size: 20px; line-height: 1.5; }
.kicker { display: block; margin: 18px 0 0; font-size: 13px; font-weight: 700; color: var(--navy-2); letter-spacing: .08em; }
.lead { font-size: 17px; }
.photos { display: grid; gap: 12px; }
.photos figure { margin: 0; }
.photos img { display: block; width: 100%; border-radius: 8px; }
.photos figcaption { margin-top: 4px; font-size: 13px; color: var(--sub); }
.spec { margin: 32px 0 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; }
.note { margin-top: 28px; font-size: 13px; color: var(--sub); }
.more { margin: 8px 0 0; }
.cards { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.cards a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.cards img { display: block; width: 100%; margin-bottom: 10px; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.cards strong { display: block; margin-top: 4px; font-size: 17px; line-height: 1.6; }
.cards span:not(.kicker) { display: block; margin-top: 6px; font-size: 14px; color: var(--sub); }
.cta { margin-top: 48px; padding: 24px 20px; border-radius: 12px; background: var(--navy); color: #fff; }
.cta h2 { margin-top: 0; color: #fff; }
.cta a { color: #fff; }
.cta .btn { display: block; margin-top: 12px; padding: 14px 16px; border-radius: 10px; text-align: center; font-weight: 700; text-decoration: none; }
.cta .btn--line { background: #06c755; }
.cta .btn--tel { border: 1.5px solid var(--gold); }
.cta .small { margin: 10px 0 0; font-size: 13px; opacity: .85; }
.site-foot { padding: 24px 20px; background: var(--bg); font-size: 12px; color: var(--sub); text-align: center; }
@media (min-width: 720px) {
  h1 { font-size: 30px; }
  .photos { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
/* 図・写真（コラム）。図はスマホで読める大きさに作り、PC では横幅を抑える */
.hero { margin: 0 0 20px; }
.hero figure, .figs figure { margin: 0; }
.hero img, .figs img { display: block; width: 100%; height: auto; border-radius: 10px; }
.hero figure { max-width: 600px; margin: 0 auto; }
.figs { display: grid; gap: 14px; margin: 18px 0; }
.figs--1 .fig--diagram { max-width: 600px; }
.figs--4 { grid-template-columns: 1fr 1fr; }
.fig--product img { background: #f5f7fa; border-radius: 10px; }
.fig--staff img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 12%; }
.hero figcaption, .figs figcaption { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--sub); }
/* 構想・検討中（今後の可能性）の囲み */
.speculative { margin-top: 36px; padding: 4px 18px 16px; border: 2px dashed #c9d2e0; border-radius: 12px; }
.badge { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--navy-2); color: #fff; font-size: 13px; vertical-align: 3px; }
.spec-note { margin: 14px 0 0; padding: 10px 12px; background: var(--bg); font-size: 13px; color: var(--sub); }
/* 出典 */
.refs ul { padding-left: 1.2em; font-size: 14px; }
.refs li { margin-top: 6px; }
@media (min-width: 720px) {
  .figs--4 { grid-template-columns: repeat(4, 1fr); }
  .fig--staff { max-width: 420px; }
}
