/* Shared document shell, navigation, tokens and footer. */
:root {
    --lani-section-ink: #16364d;
    --lani-section-muted: #526978;
    --lani-section-line: #cae5f3;
    --lani-section-soft: #f0fafe;
    --lani-section-primary: #1768b0;
    --lani-section-primary-dark: #0b4f87;
    --lani-section-accent: #007a80;
    --lani-section-cyan: #83eaf1;
    --lani-section-blue: #63a4ff;
    --lani-section-focus: #1367b1;
    --lani-section-shadow: 0 18px 48px rgba(23, 104, 176, 0.13);
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 20px;
}

body.lani-section-document {
    background: #fff;
    color: var(--lani-section-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.75;
    margin: 0;
    overflow-wrap: anywhere;
}

body.lani-section-document,
body.lani-section-document * {
    box-sizing: border-box;
}

body.lani-section-document img,
body.lani-section-document svg,
body.lani-section-document video {
    height: auto;
    max-width: 100%;
}

body.lani-section-document a {
    color: inherit;
}

body.lani-section-document a:focus-visible,
body.lani-section-document button:focus-visible,
body.lani-section-document input:focus-visible,
body.lani-section-document summary:focus-visible {
    outline: 3px solid var(--lani-section-focus);
    outline-offset: 3px;
}

.lani-section-skip-link {
    background: #fff;
    border: 2px solid var(--lani-section-primary);
    color: var(--lani-section-primary-dark);
    font-weight: 800;
    left: 12px;
    padding: 10px 14px;
    position: fixed;
    top: -100px;
    z-index: 100000;
}

.lani-section-skip-link:focus {
    top: 12px;
}

.lani-section-header,
.lani-section-footer {
    box-sizing: border-box;
}

.lani-section-header {
    background: radial-gradient(circle at 82% 0%, color-mix(in srgb, var(--lani-section-cyan) 24%, transparent), transparent 28%), linear-gradient(110deg, var(--lani-section-soft) 0%, #fff 52%, color-mix(in srgb, var(--lani-section-blue) 8%, #fff) 100%);
    border-bottom: 1px solid var(--lani-section-line);
    box-shadow: 0 7px 26px color-mix(in srgb, var(--lani-section-primary) 8%, transparent);
    color: var(--lani-section-ink);
    position: relative;
    z-index: 1000;
}

.lani-section-header__inner {
    align-items: center;
    display: flex;
    gap: 20px;
    margin-inline: auto;
    max-width: 1120px;
    min-height: 76px;
    width: calc(100% - 36px);
}

.lani-section-brand {
    align-items: center;
    color: inherit;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 10px;
    line-height: 1;
    text-decoration: none;
}

.lani-section-brand__mark {
    align-items: center;
    background: linear-gradient(145deg, var(--lani-section-primary) 0%, var(--lani-section-blue) 55%, var(--lani-section-accent) 100%);
    border-radius: 50%;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--lani-section-primary) 24%, transparent);
    color: #fff;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.lani-section-brand__mark svg {
    display: block;
    height: 27px;
    width: 27px;
}

.lani-section-brand__mark--logo {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    flex: 0 0 106px;
    height: 40px;
    width: 106px;
}

.lani-section-brand__logo {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    width: 106px;
}

.lani-section-brand__text {
    align-items: baseline;
    display: inline-flex;
    gap: 8px;
}

.lani-section-brand__lani {
    color: var(--lani-section-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.015em;
}

.lani-section-brand__label {
    color: #375b70;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.lani-section-menu {
    margin-left: auto;
    position: relative;
}

.lani-section-menu__toggle {
    appearance: none;
    background: transparent;
    border: 0;
    display: none;
    font: inherit;
}

.lani-section-nav {
    align-items: center;
    display: flex;
    gap: 2px;
}

.lani-section-nav a {
    border-radius: 8px;
    color: #274b61;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    padding: 11px 9px;
    text-decoration: none;
    white-space: nowrap;
}

.lani-section-nav a:hover {
    background: #eaf7fc;
    color: var(--lani-section-primary-dark);
}

.lani-section-nav .lani-section-nav__main {
    border-left: 1px solid var(--lani-section-line);
    border-radius: 0 8px 8px 0;
    color: #5b7381;
    gap: 4px;
    margin-left: 5px;
    padding-left: 13px;
}

.lani-section-header__search {
    align-items: center;
    border: 1px solid #b9deef;
    border-radius: 50%;
    color: var(--lani-section-primary);
    display: none;
    height: 44px;
    justify-content: center;
    margin-left: auto;
    text-decoration: none;
    width: 44px;
}

.lani-section-header__search svg {
    fill: none;
    height: 21px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
    width: 21px;
}

.lani-section-breadcrumb {
    background: #f7fcff;
    border-bottom: 1px solid #d7ebf5;
    color: var(--lani-section-muted);
    font-size: 12px;
}

.lani-section-breadcrumb ol {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 0 auto;
    max-width: 1120px;
    padding: 10px 0;
    width: calc(100% - 36px);
}

.lani-section-breadcrumb li {
    align-items: center;
    display: inline-flex;
    min-width: 0;
}

.lani-section-breadcrumb li:not(:last-child)::after {
    color: #8aa6b8;
    content: "/";
    margin-left: 7px;
}

.lani-section-breadcrumb a {
    text-decoration: underline;
    text-decoration-color: #b6d8e9;
    text-underline-offset: 3px;
}

.lani-section-breadcrumb span[aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lani-section-main {
    min-height: 50vh;
}

.lani-section-main--archive,
.lani-section-main--article {
    margin-inline: auto;
    max-width: 1120px;
    padding: clamp(38px, 6vw, 74px) 0 clamp(64px, 8vw, 100px);
    width: calc(100% - 36px);
}

.lani-section-kicker {
    color: var(--lani-section-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.lani-section-page-header h1,
.lani-section-article__header h1 {
    color: var(--lani-section-ink);
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -0.035em;
    line-height: 1.32;
    margin: 0;
}
.lani-section-footer {
    background: radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--lani-section-cyan) 12%, transparent), transparent 30%), linear-gradient(135deg, var(--lani-section-primary) 0%, var(--lani-section-primary-dark) 57%, color-mix(in srgb, var(--lani-section-primary-dark) 82%, #071b2a) 100%);
    color: #fff;
    padding: 52px 0 20px;
    position: relative;
    z-index: 2;
}

.lani-section-footer__inner {
    margin-inline: auto;
    max-width: 1120px;
    width: calc(100% - 36px);
}

.lani-section-footer__grid {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(140px, 0.75fr));
}

.lani-section-brand--footer,
.lani-section-brand--footer .lani-section-brand__lani,
.lani-section-brand--footer .lani-section-brand__label {
    color: #fff;
}

.lani-section-brand--footer .lani-section-brand__mark {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.lani-section-brand--footer .lani-section-brand__mark--logo {
    background: transparent;
}

.lani-section-brand--footer .lani-section-brand__logo {
    filter: brightness(0) invert(1);
}

.lani-section-footer__about p {
    color: #fff;
    font-size: 13px;
    line-height: 1.9;
    margin: 17px 0 0;
    max-width: 330px;
}

.lani-section-footer__nav h2 {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.5;
    margin: 7px 0 15px;
}

.lani-section-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lani-section-footer__nav li + li {
    margin-top: 10px;
}

.lani-section-footer__nav a {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 12.5px;
    line-height: 1.6;
    min-height: 36px;
    padding-block: 5px;
    text-decoration: none;
}

.lani-section-footer__nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lani-section-footer a:focus-visible {
    box-shadow: 0 0 0 5px rgba(11, 79, 135, 0.72);
    outline-color: #fff;
}

.lani-section-footer__bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 18px;
}

.lani-section-footer__bottom p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    margin: 0;
}

@media (max-width: 900px) {
    .lani-section-header__inner {
        gap: 7px;
        min-height: 64px;
        width: calc(100% - 24px);
    }

    .lani-section-brand__mark {
        height: 36px;
        width: 36px;
    }

    .lani-section-brand__mark svg {
        height: 23px;
        width: 23px;
    }

    .lani-section-brand__mark--logo {
        flex-basis: 90px;
        height: 34px;
        width: 90px;
    }

    .lani-section-brand__logo {
        width: 90px;
    }

    .lani-section-brand__lani {
        font-size: 25px;
    }

    .lani-section-brand__label {
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .lani-section-header__search {
        display: inline-flex;
    }

    .lani-section-menu {
        margin-left: 0;
    }

    .lani-section-menu__toggle {
        align-items: center;
        border: 1px solid #b9deef;
        border-radius: 10px;
        color: var(--lani-section-primary);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        height: 44px;
        justify-content: center;
        padding: 5px 7px 4px;
        width: 51px;
    }

    .lani-section-menu__icon {
        display: grid;
        gap: 3px;
        width: 18px;
    }

    .lani-section-menu__icon i {
        background: currentColor;
        border-radius: 999px;
        display: block;
        height: 2px;
        transform-origin: center;
        transition: transform 0.18s ease, opacity 0.18s ease;
        width: 18px;
    }

    .lani-section-menu__label {
        font-size: 8px;
        font-weight: 800;
        line-height: 1;
        margin-top: 4px;
    }

    .lani-section-menu.is-open .lani-section-menu__icon i:first-child {
        transform: translateY(5px) rotate(45deg);
    }

    .lani-section-menu.is-open .lani-section-menu__icon i:nth-child(2) {
        opacity: 0;
    }

    .lani-section-menu.is-open .lani-section-menu__icon i:last-child {
        transform: translateY(-5px) rotate(-45deg);
    }

    .lani-section-menu:not(.is-open) > .lani-section-nav {
        display: none;
    }

    .lani-section-menu.is-open > .lani-section-nav {
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--lani-section-line);
        border-radius: 16px;
        box-shadow: 0 18px 44px rgba(11, 79, 135, 0.2);
        display: grid;
        gap: 2px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 10px;
        position: absolute;
        right: 0;
        top: calc(100% + 9px);
        width: min(330px, calc(100vw - 24px));
    }

    .lani-section-nav a {
        align-items: center;
        border-radius: 10px;
        font-size: 14px;
        min-height: 44px;
        padding: 11px 13px;
        white-space: normal;
    }

    .lani-section-nav .lani-section-nav__main {
        border-left: 0;
        border-top: 1px solid var(--lani-section-line);
        border-radius: 0 0 10px 10px;
        margin: 5px 0 0;
        padding-left: 13px;
        padding-top: 14px;
    }

    .lani-section-footer__grid {
        grid-template-columns: 1.2fr repeat(2, minmax(140px, 0.8fr));
    }

    .lani-section-footer__about {
        grid-column: 1 / -1;
    }
}
@media (max-width: 680px) {
    .lani-section-breadcrumb ol,
    .lani-section-main--archive,
    .lani-section-main--article {
        width: calc(100% - 24px);
    }

    .lani-section-main--archive,
    .lani-section-main--article {
        padding-block: 36px 68px;
    }
    .lani-section-footer {
        padding-top: 42px;
    }

    .lani-section-footer__inner {
        width: calc(100% - 30px);
    }

    .lani-section-footer__grid {
        gap: 31px 22px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lani-section-footer__nav:first-of-type {
        grid-column: 1 / -1;
    }

    .lani-section-footer__nav:first-of-type ul {
        display: grid;
        gap: 10px 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lani-section-footer__nav:first-of-type li + li {
        margin-top: 0;
    }

    .lani-section-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-top: 34px;
    }
}
@media (max-width: 370px) {
    .lani-section-brand__label {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .lani-section-document *,
    .lani-section-document *::before,
    .lani-section-document *::after {
        transition-duration: 0.01ms !important;
    }
}
@media print {
    .lani-section-header,
    .lani-section-footer,
    .lani-section-breadcrumb {
        display: none !important;
    }
}
