.site-header {
    position: fixed;
    top: 8px;
    left: 0;
    right: 0;
    z-index: 50;
    padding-top: calc(max(env(safe-area-inset-top), 0px) + 8px);
    pointer-events: none;
}

.lp-progressive-chrome:not(.is-lp-header-visible) .site-header {
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
}

.lp-progressive-chrome .site-header {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

:root {
    --lp-header-offset-desktop: 104px;
    --lp-header-offset-mobile: 92px;
}

.lp-page {
    padding-top: var(--lp-header-offset-desktop);
}

.lp-progressive-chrome .lp-page {
    padding-top: 0;
}

.site-header__inner {
    width: min(1120px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(217, 134, 149, 0.14);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(16px);
    overflow: hidden;
    pointer-events: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 500;
    color: var(--site-ink);
    text-decoration: none;
}

.brand__wordmark {
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    font-size: 17px;
}

.brand__logo {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    object-fit: cover;
    display: block;
}

.lp-top-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
    flex-shrink: 0;
}

.lp-top-links__actions {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.consultation-badge {
    align-self: stretch;
    min-height: 0;
    padding: 0 20px 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 0;
    color: var(--site-ink);
    text-decoration: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.consultation-badge:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.consultation-badge:active {
    transform: scale(0.98);
}

.consultation-badge__label {
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.consultation-badge svg {
    width: 31px;
    height: 31px;
    display: block;
}

.menu-button {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-button__bar {
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: var(--site-ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.menu-button[aria-expanded="true"] .menu-button__bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__bar:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] .menu-button__bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.site-nav {
    position: fixed;
    top: calc(max(env(safe-area-inset-top), 0px) + 88px);
    right: max(18px, calc((100vw - 1120px) / 2 + 18px));
    bottom: calc(118px + env(safe-area-inset-bottom));
    left: max(18px, calc((100vw - 1120px) / 2 + 18px));
    z-index: 46;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
    padding: 42px min(8vw, 76px) 46px;
    border-radius: 48px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 253, 0.98) 100%);
    border: 1px solid rgba(217, 134, 149, 0.16);
    box-shadow:
        0 34px 80px rgba(32, 33, 36, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav[hidden] {
    display: none;
}

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

.site-nav > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 0 76px 0 14px;
    border-radius: 0;
    border-bottom: 1px solid rgba(32, 33, 36, 0.16);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    color: var(--site-ink);
    text-decoration: none;
    letter-spacing: 0;
    line-height: 1.15;
    transition: transform 0.18s ease;
}

.site-nav > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(217, 134, 149, 0.96) 0%, rgba(195, 99, 119, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: translateY(-50%);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.site-nav > a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 13px;
    height: 13px;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
    pointer-events: none;
}

@media (hover: hover) {
    .site-nav > a:hover {
        transform: translateX(2px);
    }

    .site-nav > a:hover::after {
        background: var(--site-accent-deep);
        transform: translateY(-50%) scale(1.04);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.24),
            0 8px 18px rgba(191, 109, 125, 0.24);
    }
}

.site-nav__install-lead {
    max-width: 820px;
    width: 100%;
    margin: 30px auto 0;
    color: var(--site-ink);
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
}

.site-nav__install-lead::before,
.site-nav__install-lead::after {
    content: "";
    width: 34px;
    height: 2px;
    display: inline-block;
    margin: 0 12px 6px;
    border-radius: 999px;
    background: var(--site-accent);
    transform: rotate(62deg);
}

.site-nav__install-lead::after {
    transform: rotate(-62deg);
}

.site-nav__store {
    max-width: 820px;
    width: 100%;
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.site-nav__store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 74px;
    flex: 0 1 auto;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.18s ease;
}

.site-nav__store-link::after {
    display: none;
}

.site-nav__store-link img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 759px) {
    .site-header {
        top: 6px;
    }

    .lp-page {
        padding-top: var(--lp-header-offset-mobile);
    }

    .site-header__inner {
        width: min(100% - 18px, 1120px);
        min-height: 58px;
        padding: 0 0 0 20px;
    }

    .brand {
        gap: 12px;
    }

    .brand__wordmark {
        font-size: 16px;
    }

    .brand__logo {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .menu-button {
        width: 46px;
        height: 46px;
    }

    .lp-top-links__actions {
        gap: 8px;
    }

    .consultation-badge {
        min-height: 0;
        padding: 0 16px 0 19px;
        gap: 8px;
    }

    .consultation-badge__label {
        font-size: 17px;
    }

    .consultation-badge svg {
        width: 31px;
        height: 31px;
    }

    .menu-button__bar {
        width: 28px;
    }

    .site-nav {
        top: calc(max(env(safe-area-inset-top), 0px) + 72px);
        right: 10px;
        bottom: calc(96px + env(safe-area-inset-bottom));
        left: 10px;
        width: auto;
        padding: 22px 30px 34px;
        border-radius: 34px;
        box-shadow:
            0 28px 68px rgba(32, 33, 36, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.95);
        overscroll-behavior: contain;
    }

    .site-nav > a {
        min-height: 64px;
        padding: 0 60px 0 8px;
        font-size: clamp(21px, 5.8vw, 25px);
        line-height: 1.18;
        border-bottom-color: rgba(32, 33, 36, 0.14);
        -webkit-tap-highlight-color: transparent;
        transition: none;
    }

    .site-nav > a::after {
        width: 44px;
        height: 44px;
        transition: none;
    }

    .site-nav > a::before {
        right: 18px;
        width: 11px;
        height: 11px;
        border-top-width: 4px;
        border-right-width: 4px;
        transition: none;
    }

    .site-nav__install-lead {
        margin-top: 22px;
        padding-bottom: 4px;
        font-size: 17px;
    }

    .site-nav__install-lead::before,
    .site-nav__install-lead::after {
        width: 24px;
        margin-inline: 8px;
        margin-bottom: 5px;
    }

    .site-nav__store {
        margin-top: 14px;
        gap: 8px;
    }

    .site-nav__store-link {
        height: 48px;
        min-height: 0;
        padding: 0;
    }
}
