/* ARIEL OFFICIAL SHARED HEADER CUTE TURQUOISE START 20260813 */

.site-header.site-header--official {
    position: sticky;
    top: 0;
    z-index: 9000;
    display: block;
    width: min(100%, 520px);
    margin: 0 auto;
    color: #2aa89e;
    background: #fffaf8;
    border: 0;
    box-shadow: none;
}

.site-header.site-header--official::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #2aa89e;
    content: "";
    pointer-events: none;
}

.site-header.site-header--official .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    min-height: 64px;
    margin: 0;
    padding: 7px 16px 8px;
}

.site-header__brand {
    display: block;
    flex: 0 1 190px;
    width: min(190px, calc(100vw - 82px));
    min-width: 0;
    border-radius: 8px;
}

.site-header__logo-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.site-header__menu {
    position: static;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.site-header__menu-summary {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: #2aa89e;
    background: #fffaf8;
    border: 1.5px solid #2aa89e;
    border-radius: 15px;
    box-shadow: none;
    cursor: pointer;
    list-style: none;
    place-items: center;
}

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

.site-header__menu-summary::marker {
    content: "";
}

.site-header__menu-icon {
    display: grid;
    align-content: center;
    gap: 4px;
    width: 19px;
    height: 20px;
}

.site-header__menu-line {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform-origin: center;
}

.site-header__menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header__menu[open] .site-header__menu-summary {
    color: #fff;
    background: #2aa89e;
}

.site-header__menu[open] .site-header__menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header__menu[open] .site-header__menu-line:nth-child(2) {
    opacity: 0;
}

.site-header__menu[open] .site-header__menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-header__panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    padding: 15px 16px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #2aa89e;
    background: #fffaf8;
    border-bottom: 2px solid #2aa89e;
    box-shadow: none;
}

.site-header__panel-title {
    margin: 0 0 8px;
    color: #2aa89e;
    font-family:
        "Hiragino Maru Gothic ProN",
        "Yu Gothic",
        sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-align: center;
}

.site-header__primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
}

.site-header__primary-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 43px;
    padding: 9px 4px;
    color: #2aa89e;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(42, 168, 158, 0.32);
    border-radius: 0;
    font-family:
        "Hiragino Maru Gothic ProN",
        "Yu Gothic",
        sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.site-header__primary-link::after {
    flex: 0 0 auto;
    margin-left: 5px;
    content: "›";
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.site-header__action-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 13px;
}

.site-header__application-link,
.site-header__line-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 9px 10px;
    border: 2px solid #2aa89e;
    border-radius: 14px;
    font-family:
        "Hiragino Maru Gothic ProN",
        "Yu Gothic",
        sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.site-header__application-link {
    color: #fff;
    background: #2aa89e;
}

.site-header__line-link {
    color: #2aa89e;
    background: #fffaf8;
}

.site-header__privacy-link {
    display: block;
    width: fit-content;
    margin: 12px auto 0;
    padding: 4px;
    color: #2aa89e;
    font-family:
        "Hiragino Maru Gothic ProN",
        "Yu Gothic",
        sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header__brand:focus-visible,
.site-header__menu-summary:focus-visible,
.site-header__primary-link:focus-visible,
.site-header__application-link:focus-visible,
.site-header__line-link:focus-visible,
.site-header__privacy-link:focus-visible {
    outline: 3px solid rgba(42, 168, 158, 0.38);
    outline-offset: 3px;
}

body.admin-bar .site-header.site-header--official {
    top: 32px;
}

@media (hover: hover) {
    .site-header__primary-link:hover,
    .site-header__line-link:hover {
        background: rgba(42, 168, 158, 0.08);
    }
}

@media (max-width: 782px) {
    body.admin-bar .site-header.site-header--official {
        top: 46px;
    }
}

@media (max-width: 359px) {
    .site-header.site-header--official .site-header__inner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-header__brand {
        flex-basis: 178px;
        width: min(178px, calc(100vw - 76px));
    }

    .site-header__panel {
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-header__action-links {
        grid-template-columns: 1fr;
    }
}

/* ARIEL OFFICIAL SHARED HEADER CUTE TURQUOISE END 20260813 */

/* ARIEL OFFICIAL SITE MENU BUTTON START 20260816 */

.site-header__official-site-link {
    display: flex;
    min-height: 64px;
    margin-top: 14px;
    padding: 10px 16px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 2px solid #1c6689;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #167e91 0%,
            #23639a 100%
        );
    color: #ffffff;
    text-align: center;
    text-decoration: none;
}

.site-header__official-site-kicker {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.3;
    opacity: 0.9;
}

.site-header__official-site-label {
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.45;
}

.site-header__official-site-link:visited {
    color: #ffffff;
}

.site-header__official-site-link:focus-visible {
    outline: 3px solid rgba(255, 227, 109, 0.96);
    outline-offset: 3px;
}

@media (hover: hover) {
    .site-header__official-site-link:hover {
        filter: brightness(1.07);
    }
}

/* ARIEL OFFICIAL SITE MENU BUTTON END 20260816 */
