@import url('https://api.fontshare.com/v2/css?f[]=sentient@400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --paper: #f7f3ea;
    --ink: #101010;
    --muted: #67635b;
    --line: rgba(16, 16, 16, 0.18);
    --soft: rgba(16, 16, 16, 0.05);
    --accent: #0a39ff;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        var(--paper);
    background-size: 72px 72px;
    font-family: 'Sentient', 'Noto Sans JP', serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.site-shell {
    width: min(1120px, calc(100vw - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 243, 234, 0.88);
    backdrop-filter: blur(16px);
}

.site-header .site-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.brand {
    font-family: 'Bebas Neue', 'Noto Sans JP', sans-serif;
    font-size: 2rem;
    letter-spacing: 0;
    text-decoration: none;
    line-height: 1;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    font-size: 0.9rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
}

.nav a:hover {
    color: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 32px;
    padding: 88px 0 56px;
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    margin: 0 0 16px;
    font-family: 'Bebas Neue', 'Noto Sans JP', sans-serif;
    font-size: 1.35rem;
    color: var(--muted);
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
.hero-mark {
    margin: 0;
    font-family: 'Bebas Neue', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.92;
}

h1 {
    max-width: 760px;
    font-size: clamp(5rem, 12vw, 11rem);
}

.lead {
    max-width: 760px;
    margin: 28px 0 0;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    line-height: 1.55;
}

.ja-lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-card {
    align-self: end;
    min-height: 360px;
    padding: 24px;
    border: 1px solid var(--ink);
    background: var(--soft);
}

.hero-mark {
    font-size: clamp(4rem, 9vw, 8rem);
}

.hero-meta {
    display: grid;
    gap: 10px;
    margin-top: 36px;
    color: var(--muted);
    font-size: 0.95rem;
}

section {
    padding: 72px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 96px;
}

.section-head {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(3.2rem, 7vw, 6rem);
}

.section-note {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
}

.service-grid,
.link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card,
.link-card {
    min-height: 280px;
    padding: 28px;
    background: var(--paper);
}

.service-card h3,
.link-card h3 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.service-card p,
.link-card p {
    margin: 20px 0 0;
    color: var(--muted);
}

.info-table {
    border: 1px solid var(--line);
}

.info-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 64px;
    border-bottom: 1px solid var(--line);
}

.info-row:last-child {
    border-bottom: 0;
}

.info-row dt,
.info-row dd {
    margin: 0;
    padding: 18px 20px;
}

.info-row dt {
    color: var(--muted);
    border-right: 1px solid var(--line);
}

.cta-line {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    margin-top: 24px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-family: 'Bebas Neue', 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    text-decoration: none;
}

.cta-line:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.policy-list {
    display: grid;
    gap: 28px;
    max-width: 860px;
}

.policy-list article {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.policy-list h2 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.policy-list p,
.policy-list li {
    color: var(--muted);
}

.policy-list ul {
    margin: 16px 0 0;
    padding-left: 1.2em;
}

.footer {
    padding: 40px 0 56px;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 820px) {
    .site-shell {
        width: min(100% - 28px, 1120px);
    }

    .site-header .site-shell,
    .hero,
    .section-head,
    .info-row {
        grid-template-columns: 1fr;
    }

    .site-header .site-shell {
        align-items: flex-start;
        padding: 18px 0;
    }

    .nav {
        justify-content: flex-start;
        gap: 12px;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-card {
        min-height: 240px;
    }

    .service-grid,
    .link-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .link-card {
        min-height: auto;
    }

    .info-row dt {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 4px;
    }

    .info-row dd {
        padding-top: 8px;
    }
}
