:root {
    --seg-blue-real: #0a2960;
    --seg-blue-basic: #1065c6;
    --seg-blue-dark: #004b87;
    --seg-blue-soft: #b7c3e4;
    --seg-blue-light: #d7e3f4;
    --seg-blue-pale: #bedeff;
    --seg-gray: #6d7b93;
    --seg-gray-soft: #bcc4d6;
    --seg-black: #000000;
    --seg-white: #ffffff;
    --seg-magenta: #e26596;
    --radius-ui: 4px;
    --app-bg: #ffffff;
    --app-text: #0f1729;
    --panel-bg: #ffffff;
    --panel-border: #d7e3f4;
    --heading-color: #001d95;
    --header-bg: #f3f3f3;
    --footer-bg: #d7e3f4;
    --footer-text: #0a2960;
    --link-color: #1065c6;
    --link-hover: #0a2960;
    --theme-toggle-bg: #ffffff;
    --theme-toggle-border: #c9cfdd;
    --footer-separator: rgba(10, 41, 96, 0.2);
}

[data-theme="dark"] {
    --app-bg: #0d1f35;
    --app-text: #e8eef9;
    --panel-bg: #132a45;
    --panel-border: #2b4668;
    --heading-color: #bedeff;
    --header-bg: #0f2743;
    --footer-bg: #112843;
    --footer-text: #dbe9ff;
    --link-color: #8ec1ff;
    --link-hover: #bedeff;
    --theme-toggle-bg: #1a3556;
    --theme-toggle-border: #36557b;
    --footer-separator: rgba(219, 233, 255, 0.22);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

@view-transition {
    navigation: auto;
}

body {
    min-height: 100vh;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    text-align: justify;
    font-size: 16px;
    line-height: 1.5;
    color: var(--app-text);
    background-color: var(--app-bg);
}

::view-transition-old(root),
::view-transition-new(root) {
    mix-blend-mode: normal;
}

::view-transition-old(root) {
    animation: notice-page-out 180ms ease both;
    z-index: 1;
}

::view-transition-new(root) {
    animation: notice-page-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
    z-index: 2;
}

.theme-transitioning::view-transition-old(root),
.theme-transitioning::view-transition-new(root) {
    animation: none;
}

@keyframes notice-page-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes notice-page-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 0.75rem;
    top: 0.75rem;
    width: auto;
    height: auto;
    padding: 0.45rem 0.75rem;
    background: var(--seg-blue-basic);
    color: var(--seg-white);
    border-radius: var(--radius-ui);
    z-index: 1000;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    width: 100%;
    border-bottom: 1px solid var(--panel-border);
}

.header-top {
    background-color: var(--header-bg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 0;
    position: relative;
}

.brand-logo {
    width: auto;
    display: block;
}

.gov-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.brand-logo--header {
    height: 80px;
    width: auto;
}

.theme-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--theme-toggle-border);
    border-radius: 10px;
    background-color: var(--theme-toggle-bg);
    color: var(--link-color);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.theme-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.theme-icon-sun {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: block;
}

[data-theme="dark"] .theme-icon-moon {
    display: none;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(16, 101, 198, 0.25);
}

main {
    padding: 1.1rem 0 2.4rem;
}

.hero {
    margin: 0 0 0.8rem;
    padding: 1rem 1rem 0.95rem;
    border: 1px solid var(--panel-border);
    border-left: 6px solid var(--seg-blue-basic);
    border-radius: var(--radius-ui);
    background-color: var(--panel-bg);
}

.hero h2 {
    margin: 0.3rem 0 0.5rem;
    color: var(--heading-color);
    font-size: clamp(24px, 3.2vw, 30px);
    line-height: 1.15;
}

.hero p {
    margin: 0;
    max-width: fit-content;
}

.notice-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 0.8rem;
    text-align: left;
}

.notice-switch-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-ui);
    background-color: var(--panel-bg);
    color: var(--link-color);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.notice-switch-link:hover,
.notice-switch-link:focus-visible {
    border-color: var(--seg-blue-basic);
    color: var(--link-hover);
}

.notice-switch-link.is-active {
    border-color: var(--seg-blue-basic);
    background-color: var(--seg-blue-basic);
    color: var(--seg-white);
}

.card {
    margin-top: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-ui);
    background-color: var(--panel-bg);
}

.card h3 {
    margin: 0 0 0.45rem;
    color: var(--heading-color);
    font-size: clamp(20px, 2.4vw, 24px);
    line-height: 1.2;
}

.card p,
.card li {
    margin-top: 0;
}

.card ul,
.card ol {
    margin: 0.45rem 0 1rem;
    padding-left: 1.18rem;
}

.list-check {
    list-style: none;
    padding-left: 0;
}

.list-check li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.45rem;
}

.list-check li::before {
    content: "■";
    position: absolute;
    left: 0.18rem;
    color: var(--seg-blue-basic);
    font-size: 10px;
    line-height: 1;
    top: 0.45rem;
}

.table-wrap {
    margin: 0.7rem 0;
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid var(--panel-border);
    padding: 0.72rem;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: var(--panel-border);
    color: var(--heading-color);
}

a {
    color: var(--link-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
    color: var(--link-hover);
}

:focus-visible {
    outline: 2px solid var(--seg-blue-basic);
    outline-offset: 2px;
    border-radius: 2px;
}

.site-footer {
    width: 100%;
    margin-top: 1.25rem;
    border-top: 1px solid var(--panel-border);
    background-color: var(--panel-bg);
    color: var(--footer-text);
}

.footer-bottom {
    background-color: var(--footer-bg);
}

.footer-bottom-content {
    padding: 0.7rem 0 0.6rem;
}

.footer-mobile-swiper {
    overflow: hidden;
}

.footer-swipe-track {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
    justify-content: center;
    min-height: 168px;
}

.footer-panel {
    min-width: 0;
}

.footer-panel-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
}

.footer-brand-logo {
    width: auto;
    height: 102px;
    display: block;
    flex: 0 0 auto;
}

.footer-brand-light {
    display: block;
}

.footer-brand-dark {
    display: none;
}

[data-theme="dark"] .footer-brand-light {
    display: none;
}

[data-theme="dark"] .footer-brand-dark {
    display: block;
}

.footer-locations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: center;
}

.footer-location {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 0.9rem;
}

.footer-location + .footer-location {
    border-left: 1px solid var(--footer-separator);
}

.footer-location h4,
.footer-location p {
    margin: 0;
}

.footer-location h4 {
    font-size: 16px;
    line-height: 1.15;
    color: var(--footer-text);
}

.footer-location p {
    font-size: 14px;
    line-height: 1.2;
    color: var(--footer-text);
}

.footer-copy {
    margin: 0;
    font-size: 11px;
    color: var(--footer-text);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.footer-swipe-dots {
    display: none;
}

.footer-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background-color: var(--footer-text);
    opacity: 0.28;
    cursor: pointer;
    padding: 0;
}

.footer-dot.is-active {
    width: 18px;
    background-color: var(--footer-text);
    opacity: 1;
}

body,
.site-header,
.header-top,
.hero,
.card,
th,
td,
.site-footer,
.footer-bottom,
.footer-location h4,
.footer-location p,
.footer-copy,
a,
.notice-switch-link,
.theme-toggle {
    transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

@media (max-width: 760px) {
    .container {
        width: min(1100px, calc(100% - 1.3rem));
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .brand-logo--header {
        height: 62px;
    }

    .theme-toggle {
        width: 42px;
        height: 42px;
    }

    .footer-swipe-track {
        display: flex;
        gap: 0;
        align-items: stretch;
        justify-content: flex-start;
        will-change: transform;
        touch-action: pan-y;
    }

    .footer-panel {
        min-width: 100%;
        flex: 0 0 100%;
        min-height: 190px;
        padding: 0.2rem 0;
        display: flex;
        align-items: center;
    }

    .footer-panel-summary {
        width: 100%;
        justify-content: center;
        gap: 0.95rem;
    }

    .footer-brand-logo {
        height: 200px;
    }

    .footer-copy {
        font-size: 17px;
        max-width: 68%;
    }

    .footer-panel-locations {
        width: 100%;
    }

    .footer-panel-locations .footer-locations {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-location {
        padding: 0.45rem 0.6rem;
        text-align: center;
    }

    .footer-location + .footer-location {
        border-left: 1px solid var(--footer-separator);
        border-top: 0;
    }

    .footer-location h4 {
        font-size: 16px;
        margin-bottom: 0.18rem;
    }

    .footer-location p {
        font-size: 14px;
        line-height: 1.28;
    }

    .footer-swipe-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.45rem;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .hero,
    .card {
        padding: 0.9rem;
    }

    .notice-switch {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero h2,
    .card h3 {
        font-size: 20px;
    }

    .brand-logo--header {
        height: 52px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
    }

    .theme-icon {
        width: 18px;
        height: 18px;
    }

    .footer-brand-logo {
        height: 150px;
    }

    .footer-copy {
        font-size: 17px;
        max-width: 72%;
    }

    .footer-location {
        padding: 0.35rem 0.45rem;
    }

    .footer-location h4 {
        font-size: 15px;
    }

    .footer-location p {
        font-size: 13px;
    }
}
