/* Dayseizeの直接リンク可能な案内文書の共通表示を定義する。 */
:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2a38;
    background: #f4f6f8;
    line-height: 1.8;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #f4f6f8;
}

a {
    color: #9c3b0d;
    text-underline-offset: 0.18em;
}

a:hover { color: #6e2708; }

a:focus-visible {
    outline: 3px solid #f3b04a;
    outline-offset: 3px;
}

.document {
    width: min(100% - 2rem, 860px);
    margin: 0 auto;
    padding: clamp(1.25rem, 5vw, 3.5rem) 0;
}

.document__header {
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 4vw, 2.25rem);
    border: 1px solid #d7dde5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(31, 42, 56, 0.08);
}

.document__brand {
    margin: 0 0 0.5rem;
    color: #9c3b0d;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

h1,
h2,
h3 { line-height: 1.4; }

h1 {
    margin: 0;
    font-size: clamp(1.8rem, 6vw, 2.65rem);
}

h2 {
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #d7dde5;
    font-size: clamp(1.25rem, 4vw, 1.55rem);
}

h3 { margin: 1.5rem 0 0.5rem; }

p,
ul,
ol { margin: 0.9rem 0; }

li + li { margin-top: 0.45rem; }

.document__updated {
    margin: 0.75rem 0 0;
    color: #657386;
    font-size: 0.9rem;
}

.document__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
}

.document__content {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid #d7dde5;
    border-radius: 16px;
    background: #fff;
}

.document__notice {
    padding: 1rem 1.15rem;
    border-left: 4px solid #e78625;
    border-radius: 6px;
    background: #fff7eb;
}

.document__footer {
    margin: 1.5rem 0 0;
    color: #657386;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 480px) {
    .document { width: min(100% - 1rem, 860px); }
    .document__header,
    .document__content { border-radius: 10px; }
}

@media print {
    :root,
    body { background: #fff; }
    .document { width: 100%; padding: 0; }
    .document__header,
    .document__content { border: 0; box-shadow: none; }
    .document__nav { display: none; }
}
