﻿:root {
  --ink: #203246;
  --muted: #66788a;
  --line: #dbe3e6;
  --paper: #fffdf8;
  --soft: #f4f8f7;
  --navy: #244c68;
  --green: #24806e;
  --coral: #d96f57;
  --amber: #e5b84d;
  --shadow: 0 22px 64px rgba(32, 50, 70, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); 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; }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding: 14px clamp(18px, 5vw, 72px); background: rgba(255, 253, 248, 0.94); border-bottom: 1px solid rgba(219, 227, 230, 0.9); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--green), #62b6c7); }
.brand-name, .brand-sub { display: block; line-height: 1.2; }
.brand-name { font-size: 1rem; font-weight: 900; }
.brand-sub { color: var(--muted); font-size: 0.76rem; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); color: var(--muted); font-size: 0.9rem; font-weight: 800; }
.main-nav a { padding: 8px 0; }
.hero { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr); gap: clamp(28px, 5vw, 70px); align-items: center; min-height: 720px; padding: clamp(52px, 8vw, 96px) clamp(20px, 6vw, 88px); background: linear-gradient(135deg, rgba(36, 128, 110, 0.1), rgba(229, 184, 77, 0.13)), var(--paper); }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 0.85rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(2.45rem, 5.4vw, 5.4rem); line-height: 1.07; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.18; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.35; letter-spacing: 0; }
.hero-copy p:not(.eyebrow), .section-heading p, .cta-section p { color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 8px; padding: 0 24px; font-weight: 900; }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 14px 28px rgba(36, 76, 104, 0.2); }
.button-ghost { color: var(--green); background: #fff; border: 1px solid rgba(36, 128, 110, 0.28); }
.hero-media { display: grid; grid-template-columns: 0.78fr 1fr; grid-template-rows: 190px 230px; gap: 12px; min-height: 460px; }
.hero-media img { height: 100%; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.hero-media img:nth-child(1) { grid-row: 1 / 3; }
.notice-band { padding: 16px clamp(20px, 6vw, 88px); color: #5b4b13; text-align: center; background: #fff1bd; border-block: 1px solid rgba(229, 184, 77, 0.42); }
.notice-band p { margin: 0 auto; max-width: 1000px; font-weight: 800; }
.services-section, .samples-section, .flow-section { padding: clamp(70px, 9vw, 118px) clamp(20px, 6vw, 88px); }
.samples-section { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card, .flow-list article { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 16px 40px rgba(32, 50, 70, 0.08); }
.service-icon { display: inline-grid; place-items: center; width: 54px; height: 38px; margin-bottom: 18px; border-radius: 8px; color: #fff; font-size: 0.8rem; font-weight: 900; background: var(--green); }
.service-card:nth-child(2) .service-icon { background: var(--navy); }
.service-card:nth-child(3) .service-icon { background: var(--coral); }
.service-card:nth-child(4) .service-icon { background: #b58918; }
.service-card p, .sample-card p, .flow-list p, .site-footer p { margin-bottom: 0; color: var(--muted); }
.sample-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.sample-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 16px 40px rgba(32, 50, 70, 0.08); }
.sample-card img { height: 190px; object-fit: cover; }
.sample-card div { padding: 22px; }
.sample-type { margin-bottom: 8px; color: var(--green); font-size: 0.78rem; font-weight: 900; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--navy); font-weight: 900; border-bottom: 2px solid rgba(36, 76, 104, 0.32); }
.flow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.flow-list span { display: block; margin-bottom: 20px; color: var(--coral); font-size: 1.8rem; font-weight: 900; }
.cta-section { padding: clamp(70px, 9vw, 112px) clamp(20px, 6vw, 88px); color: #fff; text-align: center; background: linear-gradient(135deg, rgba(36, 76, 104, 0.94), rgba(36, 128, 110, 0.9)), url("civil/assets/team.jpg") center / cover; }
.cta-section .eyebrow, .cta-section p { color: rgba(255, 255, 255, 0.86); }
.cta-section h2, .cta-section p { max-width: 780px; margin-inline: auto; }
.cta-section .button { margin-top: 22px; color: var(--navy); background: #fff; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 6vw, 88px); border-top: 1px solid var(--line); background: #fff; }
.site-footer p:first-child { color: var(--ink); font-weight: 900; }
@media (max-width: 1120px) { .hero, .service-grid, .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-media { grid-template-rows: 180px 220px; } }
@media (max-width: 760px) { .site-header { align-items: flex-start; flex-direction: column; gap: 14px; } .main-nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 0.82rem; } .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 42px; } .hero-media { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 160px; min-height: 352px; } .service-grid, .sample-grid, .flow-list { grid-template-columns: 1fr; } .service-card, .flow-list article { min-height: auto; } .sample-card { display: grid; grid-template-columns: 38% 1fr; } .sample-card img { height: 100%; min-height: 220px; } .site-footer { flex-direction: column; } }
@media (max-width: 520px) { .main-nav { flex-wrap: wrap; justify-content: flex-start; } h1 { font-size: 2.42rem; } h2 { font-size: 2rem; } .hero-actions { flex-direction: column; } .button { width: 100%; } .hero-media { grid-template-rows: 160px 140px; } .sample-card { grid-template-columns: 1fr; } .sample-card img { min-height: 0; height: 190px; } }

