[data-site-shell],
[data-site-shell] * {
    box-sizing: border-box;
}

[data-site-shell] {
    font-family: "Noto Sans JP", "Yu Gothic", Meiryo, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0;
}

[data-site-shell] a {
    color: inherit;
    text-decoration: none;
}

[data-site-shell] :focus-visible {
    outline: 2px solid #d5bd87;
    outline-offset: 4px;
}

.sai-site-header {
    position: relative;
    z-index: 10;
    background: #141311;
    color: #fff;
}

:is(.hero, .soh-hero, .soh-form-hero) > .sai-site-header {
    background: transparent;
}

.sai-site-header__inner,
.sai-site-footer__inner {
    width: calc(100% - 166px);
    margin-inline: auto;
}

.sai-site-header__inner {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    height: 74px;
    align-items: center;
}

.sai-site-brand {
    display: block;
    width: 188px;
}

.sai-site-brand img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.sai-site-nav,
.sai-site-footer__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 44px;
    min-width: 0;
}

.sai-site-nav a,
.sai-site-footer__nav a {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    white-space: nowrap;
    opacity: 0.92;
}

.sai-site-nav a::after,
.sai-site-footer__nav a::after {
    position: absolute;
    inset: auto 0 6px;
    height: 1px;
    background: #c7aa65;
    content: "";
    opacity: 0;
}

.sai-site-nav a:hover,
.sai-site-footer__nav a:hover {
    opacity: 1;
}

.sai-site-nav a[aria-current="page"]::after,
.sai-site-footer__nav a[aria-current="page"]::after {
    opacity: 1;
}

.sai-site-menu {
    display: none;
}

.sai-site-footer {
    padding-block: 24px;
    background: #141311;
    color: #fff;
}

.sai-site-footer__inner {
    display: grid;
    min-height: 92px;
    grid-template-columns: minmax(160px, 250px) minmax(0, 1fr) minmax(0, 300px);
    align-items: center;
    gap: 24px;
}

.sai-site-footer__copyright {
    min-width: 0;
    margin: 0;
    color: rgb(255 255 255 / 65%);
    font-size: 11px;
    line-height: 1.85;
    text-align: right;
}

@media (max-width: 1280px) and (min-width: 1101px) {
    .sai-site-nav,
    .sai-site-footer__nav {
        gap: 26px;
    }
}

@media (max-width: 1100px) {
    .sai-site-header__inner {
        width: calc(100% - 40px);
        height: 84px;
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .sai-site-brand {
        width: 150px;
    }

    .sai-site-nav {
        display: none;
    }

    .sai-site-menu {
        display: block;
    }

    .sai-site-menu summary {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        cursor: pointer;
        list-style: none;
    }

    .sai-site-menu summary::-webkit-details-marker {
        display: none;
    }

    .sai-site-menu summary img {
        display: block;
        width: 24px;
        height: 24px;
        filter: invert(1);
    }

    .sai-site-menu summary .sai-site-menu__close,
    .sai-site-menu[open] summary .sai-site-menu__open {
        display: none;
    }

    .sai-site-menu[open] summary .sai-site-menu__close {
        display: block;
    }

    .sai-site-menu nav {
        position: absolute;
        inset: 100% 0 auto;
        display: grid;
        padding: 12px 20px 20px;
        border-top: 1px solid rgb(255 255 255 / 15%);
        background: #141311;
    }

    .sai-site-menu:not([open]) nav {
        display: none;
    }

    .sai-site-menu nav a {
        display: flex;
        min-height: 44px;
        align-items: center;
        padding: 8px 0;
        font-size: 13px;
    }

    .sai-site-menu nav a[aria-current="page"] {
        color: #d5bd87;
    }

    .sai-site-footer {
        padding: 36px 24px;
    }

    .sai-site-footer__inner {
        width: 100%;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .sai-site-footer__brand {
        width: 156px;
        justify-self: center;
    }

    .sai-site-footer__nav {
        flex-wrap: wrap;
        gap: 0 24px;
    }

    .sai-site-footer__copyright {
        text-align: center;
    }
}
