@charset "UTF-8";
/* CSS Document */

:root {
    --header-height: 72px;
    --header-cta: #e60012;
}

html {
    scroll-padding-top: var(--header-height);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.site-header__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1366px;
    min-height: var(--header-height);
    margin: 0 auto;
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 8px 20px 8px 24px;
}

.site-header__logo img {
    display: block;
    height: 54px;
    width: auto;
}

.site-header__nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 16px;
}

.site-header__nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__nav-row li {
    display: flex;
    align-items: center;
}

.site-header__nav-row li + li::before {
    content: "";
    display: block;
    width: 1px;
    height: 1.2em;
    margin: 0 14px;
    background: #cfcfcf;
}

.site-header__nav a {
    color: #333;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 148px;
    background: var(--header-cta);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.3;
    text-decoration: none;
}

.site-header__cta--ended {
    background: #c8c8c8;
    cursor: default;
}

.site-header__menu-button {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    margin: auto 8px auto 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.site-header__menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media screen and (max-width: 1100px) {
    .site-header__logo {
        padding: 8px 12px 8px 16px;
    }

    .site-header__logo img {
        height: 46px;
    }

    .site-header__nav {
        padding: 0 8px;
        gap: 4px;
    }

    .site-header__nav-row li + li::before {
        margin: 0 8px;
    }

    .site-header__nav a {
        font-size: 1.2rem;
    }

    .site-header__cta {
        width: 120px;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 790px) {
    :root {
        --header-height: 60px;
    }

    .site-header__inner {
        position: relative;
    }

    .site-header__logo {
        padding: 6px 12px;
    }

    .site-header__logo img {
        height: 40px;
    }

    .site-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    }

    .site-header__nav.is-open {
        display: flex;
    }

    .site-header__nav-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .site-header__nav-row li {
        display: block;
        width: 100%;
    }

    .site-header__nav-row li + li::before {
        display: none;
    }

    .site-header__nav a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 1.4rem;
        white-space: normal;
        border-bottom: 1px solid #cfcfcf;
    }

    .site-header__cta {
        width: auto;
        margin-left: auto;
        padding: 0 20px;
        font-size: 1.5rem;
    }

    .site-header__menu-button {
        display: flex;
    }
}
