:root {
    color-scheme: light;
    --ink: #162838;
    --navy: #163449;
    --teal: #146056;
    --line: #d8e1e4;
    --paper: #f5f7f7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.8 "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
    overflow-wrap: anywhere;
}

.wrap {
    width: min(1100px, calc(100% - 48px));
    margin-inline: auto;
}

a {
    color: var(--teal);
    text-underline-offset: .22em;
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid #ad5900;
    outline-offset: 4px;
}

.skip {
    position: absolute;
    top: -10em;
    left: 1rem;
    background: #fff;
    padding: .5rem 1rem;
}

.skip:focus {
    top: 1rem;
    z-index: 2;
}

.brand {
    background: #fff;
    padding: 16px 0;
    font-weight: 750;
}

.hero {
    background: var(--navy);
    color: #fff;
    padding: 40px 0 46px;
    border-bottom: 5px solid #4a9b8d;
}

.hero .eyebrow {
    color: #d2ece6;
    font-size: .9rem;
    font-weight: bold;
    letter-spacing: .13em;
    margin: 0 0 8px;
}

h1 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1.3;
    margin: 0 0 16px;
    letter-spacing: .02em;
}

.hero p:last-child {
    margin: 0;
    color: #e4eef2;
}

.layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding-block: 30px 50px;
}

nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
}

nav h2 {
    margin: 0 0 8px;
    font-size: 1rem;
}

nav ul,
.insurers {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li+li,
.insurers li+li {
    border-top: 1px solid var(--line);
}

nav a {
    display: block;
    padding: 9px 3px;
    font-size: .94rem;
    font-weight: 650;
}

section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: clamp(18px, 4vw, 32px);
    margin-bottom: 18px;
    scroll-margin-top: 14px;
}

section:last-child {
    margin-bottom: 0;
}

section:target {
    border-color: var(--teal);
}

section h2 {
    margin: 0 0 15px;
    padding-left: 12px;
    border-left: 4px solid var(--teal);
    font-size: clamp(1.17rem, 2.8vw, 1.44rem);
    line-height: 1.45;
}

section h3 {
    margin: 20px 0 4px;
    font-size: 1.02rem;
}

section p {
    margin: 8px 0;
}

section ol {
    margin: 10px 0;
    padding-left: 1.6rem;
}

section ol li+li {
    margin-top: 7px;
}

dl {
    margin: 0;
}

dl div {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

dl div:last-child {
    border: 0;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0;
}

.insurers {
    margin: 8px 0;
}

.insurers li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 18px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.insurers a {
    font-size: .9rem;
}

footer {
    background: var(--navy);
    color: #e4eef2;
    padding: 20px 0;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 8px 18px;
    flex-wrap: wrap;
}

footer a {
    color: #e4eef2;
}

@media (max-width:760px) {
    .layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding-top: 18px;
    }
}

@media (max-width:430px) {
    .wrap {
        width: calc(100% - 28px);
    }

    dl div {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

@media print {
    body {
        background: #fff;
    }

    .layout {
        display: block;
        padding-block: 10px;
    }

    nav,
    .skip,
    footer a {
        display: none;
    }

    .hero,
    footer {
        background: #fff;
        color: #000;
        padding: 10px 0;
    }

    .hero .eyebrow,
    .hero p:last-child {
        color: #000;
    }

    section h2,
    section h3 {
        break-after: avoid;
    }
}