:root {
    --ink: #1f251f;
    --subtle: #69726a;
    --line: #dde5dd;
    --paper: #fbfcf8;
    --surface: #f2f6ef;
    --leaf: #427458;
    --leaf-deep: #2f5d43;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(221, 229, 221, .82);
}

.nav {
    width: min(100% - 40px, 960px);
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    color: var(--leaf-deep);
    font-size: 18px;
    font-weight: 760;
    letter-spacing: .04em;
    text-decoration: none;
}

.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.nav-links a { color: var(--subtle); font-size: 13px; text-decoration: none; }
.nav-links a:hover { color: var(--leaf-deep); }

.wrap { width: min(100% - 40px, 900px); margin: 0 auto; }

.hero {
    padding: 88px 0 68px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--leaf);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 7vw, 66px); line-height: 1.16; letter-spacing: -.055em; }
h2 { margin-bottom: 16px; font-size: clamp(24px, 4vw, 34px); line-height: 1.35; letter-spacing: -.03em; }
h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.5; }

.lead {
    max-width: 560px;
    margin: 0 auto;
    color: var(--subtle);
    font-size: 17px;
}

.section { padding: 58px 0; }
.section + .section { border-top: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
    min-height: 186px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}
.card p, .muted { color: var(--subtle); font-size: 14px; }
.number { display: block; margin-bottom: 22px; color: var(--leaf); font-size: 13px; font-weight: 760; }

.notice {
    padding: 23px 25px;
    border-radius: 18px;
    background: var(--surface);
    color: #526052;
    font-size: 14px;
}

.action-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid var(--leaf);
    border-radius: 999px;
    background: var(--leaf);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.button.secondary { background: transparent; color: var(--leaf-deep); }

.document { padding: 58px 0 76px; }
.document-head { max-width: 680px; margin-bottom: 42px; }
.document-head p { color: var(--subtle); }
.document section { max-width: 720px; margin-bottom: 34px; }
.document h2 { font-size: 20px; }
.document p, .document li { font-size: 15px; }
.document ul { padding-left: 1.25em; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { width: 34%; color: var(--subtle); font-weight: 650; }

.form-card {
    max-width: 680px;
    padding: clamp(22px, 5vw, 42px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}
label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; }
input, textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px 13px;
    border: 1px solid #cdd8ce;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
textarea { min-height: 150px; resize: vertical; }

.site-footer { margin-top: 28px; padding: 30px 0 42px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { text-decoration: none; }

@media (max-width: 640px) {
    .nav { width: min(100% - 28px, 960px); min-height: 60px; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 12px; }
    .wrap { width: min(100% - 28px, 900px); }
    .hero { padding: 64px 0 48px; }
    .lead { font-size: 15px; }
    .section { padding: 42px 0; }
    .cards { grid-template-columns: 1fr; }
    .card { min-height: auto; }
    .document { padding-top: 40px; }
}
