:root {
  --ink: #182635;
  --muted: #5b6b78;
  --paper: #fffdf8;
  --line: #dce4e6;
  --soft: #f2f6f4;
  --navy: #173f5f;
  --civil: #27654f;
  --alert: #b23b2e;
  --yellow: #e8b13a;
  --shadow: 0 20px 54px rgba(24, 38, 53, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; line-height: 1.8; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
.eyebrow { margin-bottom: 10px; color: var(--civil); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }

.site-header { position: sticky; z-index: 30; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; padding: 14px clamp(18px, 5vw, 64px); background: rgba(255, 253, 248, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 6px; color: #fff; font-weight: 900; background: var(--civil); }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand small { color: var(--muted); font-size: 0.74rem; }
.main-nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 30px); color: var(--muted); font-size: 0.86rem; font-weight: 800; }

.notice-band { padding: 12px clamp(18px, 5vw, 64px); color: #fff; text-align: center; font-weight: 800; font-size: 0.9rem; background: var(--alert); }

.project-hero { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 480px; overflow: hidden; padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 64px); color: #fff; }
.project-hero > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(13,36,29,.92) 0%, rgba(13,36,29,.6) 55%, rgba(13,36,29,.08) 100%); }
.project-hero-copy { max-width: 760px; }
.project-hero .eyebrow { color: var(--yellow); }
.project-hero h1 { margin-bottom: 16px; font-size: clamp(1.7rem, 4vw, 3.2rem); line-height: 1.3; }
@media (max-width: 640px) { .project-hero h1 { white-space: normal !important; font-size: clamp(1.5rem, 6vw, 2.2rem); } }
.project-hero p { max-width: 640px; color: rgba(255,255,255,.88); font-size: 1.02rem; }

.summary-section { padding: clamp(48px, 6vw, 80px) clamp(20px, 6vw, 64px); }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.summary-grid > div { padding: 22px 20px; background: #fff; }
.summary-grid dt { color: var(--muted); font-size: 0.78rem; font-weight: 800; margin-bottom: 6px; }
.summary-grid dd { margin: 0; font-size: 1.08rem; font-weight: 900; }

.section { padding: clamp(48px, 6vw, 80px) clamp(20px, 6vw, 64px); }
.section.soft { background: var(--soft); }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading p:last-child { color: var(--muted); }

.detour-map { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.detour-visual { position: relative; min-height: 320px; overflow: hidden; border: 1px solid var(--line); background: #eef2ee; box-shadow: var(--shadow); }
.detour-grid-lines { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(#cddad3 1px, transparent 1px), linear-gradient(90deg, #cddad3 1px, transparent 1px); background-size: 46px 46px; }
.detour-road { position: absolute; height: 30px; background: #fff; border: 1px solid #cdd8d2; }
.detour-road.main { width: 130%; top: 44%; left: -12%; transform: rotate(-8deg); background: repeating-linear-gradient(90deg, #d8dee0 0 18px, #fff 18px 34px); }
.detour-road.alt { width: 60%; top: 18%; left: 40%; transform: rotate(62deg); background: var(--yellow); opacity: .85; }
.detour-marker { position: absolute; top: 40%; left: 46%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50% 50% 50% 0; background: var(--alert); transform: rotate(-45deg); box-shadow: 0 10px 20px rgba(24,38,53,.22); }
.detour-marker span { width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.detour-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.detour-list li { display: flex; gap: 10px; align-items: flex-start; }
.detour-list li::before { content: "→"; flex: none; color: var(--civil); font-weight: 900; }

.progress-lines { border-top: 1px solid var(--line); }
.progress-lines article { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.progress-lines time { color: var(--muted); font-weight: 800; font-size: 0.88rem; }
.progress-lines h3 { margin-bottom: 6px; font-size: 1.05rem; }
.progress-lines p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.progress-lines .status { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 900; }
.status-ongoing { color: #8a5a00; background: #fdf0d6; }
.status-done { color: #1f5b3f; background: #dcf0e5; }
.status-next { color: var(--muted); background: var(--soft); border: 1px solid var(--line); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card { overflow: hidden; background: #fff; box-shadow: 0 14px 40px rgba(24,38,53,.09); }
.case-card img { height: 220px; object-fit: cover; }
.case-card div { padding: 20px; }
.case-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.doc-band { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border: 2px solid var(--civil); border-radius: 6px; background: #fff; }
.doc-badge { display: inline-block; padding: 8px 12px; color: var(--civil); border: 1px solid var(--civil); font-size: .78rem; font-weight: 900; white-space: nowrap; }
.doc-band .doc-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; color: #fff; font-size: .78rem; font-weight: 900; background: var(--civil); }
.doc-band p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.doc-band strong { display: block; color: var(--ink); }
.doc-band .button { flex: none; }

.contact-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px,6vw,80px); align-items: center; padding: clamp(56px,8vw,96px) clamp(20px,6vw,64px); color: #fff; background: var(--civil); }
.contact-section .eyebrow { color: var(--yellow); }
.contact-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.contact-section p { color: rgba(255,255,255,.85); }
.contact-panel { padding: 26px; color: var(--ink); background: #fff; box-shadow: var(--shadow); border-radius: 6px; }
.contact-panel p { color: var(--muted); font-size: 0.86rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; font-weight: 900; }
.button-primary { width: 100%; color: #fff; background: var(--alert); }

.back-note { padding: 14px clamp(18px, 5vw, 64px); background: var(--soft); border-bottom: 1px solid var(--line); font-size: 0.86rem; font-weight: 800; }
.back-note a { color: var(--navy); }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(18px, 5vw, 64px); border-top: 1px solid var(--line); background: #fff; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 900px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .detour-map, .case-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .progress-lines article { grid-template-columns: 1fr; gap: 4px; }
  .doc-band { grid-template-columns: 1fr; text-align: left; }
}
