* { box-sizing: border-box; }

:root {
    --brand: #5c8ef2;
    --brand-dark: #3973e8;
    --brand-soft: #eaf1ff;
    --ink: #434b57;
    --muted: #8d929b;
    --line: #e9ebef;
    --base: #f7f8fa;
    --surface: #ffffff;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--base);
    color: var(--ink);
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a { color: inherit; }

.page {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.site-header { padding: 20px clamp(20px, 5vw, 52px); }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 0.84rem;
}

.breadcrumb a, .links a { text-decoration: none; }
.breadcrumb a:hover, .links a:hover, .doc-card a { color: var(--brand-dark); }

.hero {
    width: min(720px, calc(100vw - 40px));
    margin: 0 auto;
    padding: clamp(36px, 8vh, 92px) 0 64px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 24px;
    text-align: center;
}

.hero-logo {
    width: clamp(180px, 40vw, 290px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 28px rgba(67, 75, 87, 0.14));
}

.platform {
    margin: 0;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.lead {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2.6vw, 1.18rem);
    line-height: 1.8;
    font-weight: 600;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.feature-pills li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px;
    color: var(--muted);
    font-size: 0.84rem;
}

.doc-main {
    width: min(800px, calc(100vw - 36px));
    margin: 0 auto;
    padding: 24px 0 64px;
}

.doc-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(24px, 5vw, 48px);
}

.doc-card h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.doc-card h2 { margin: 36px 0 10px; font-size: 1.14rem; }
.doc-card h3 { margin: 22px 0 8px; font-size: 1rem; }

.doc-card p, .doc-card li {
    color: var(--muted);
    line-height: 1.85;
}

.doc-card ul { padding-left: 1.35rem; }
.doc-card li + li { margin-top: 5px; }

.meta {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7 !important;
}

.notice {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--brand-soft);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    background: var(--brand);
    color: white !important;
    text-decoration: none;
    font-weight: 800;
}

.button:hover { background: var(--brand-dark); }

@media (max-width: 560px) {
    .hero { padding-top: 24px; }
    .doc-main { width: min(100% - 24px, 800px); }
    .doc-card { border-radius: 20px; }
}
