@charset "UTF-8";



/* ======================================================
todo CTA／button 全ページ公開後削除　以下一時的にこのファイルに記述
====================================================== */

/* Component: CTA btn
-------------------------------- */

.c-cta {
    border-radius: var(--radius-xs);
    color: var(--color-white);
    text-align: center;
    transition: var(--transition);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.c-cta:hover {
    color: var(--color-white);
}

.c-cta-green {
    background: var(--color-cta-green);
}

.c-cta-green:hover {
    background: var(--color-cta-green--hover);
}

.c-cta-orange {
    background: var(--color-cta-orange);
}

.c-cta-orange:hover {
    background: var(--color-cta-orange--hover);
}

/* Component: CTA btn
-------------------------------- */
button {
    appearance: none;
    font-family: var(--font-base) !important;
    border: none;
}
/*end*/


/* ==========================================
   Header Layout
========================================== */
:root {
    --header-height: 90px;
}

.header__spacer {
    height: var(--header-height);
}

/* ==========================================
   Header
========================================== */

#Header-Wrapper {
    position: fixed;
    top: 0;
    z-index: var(--z-modal);
    transition: top .25s ease;
    padding: 15px;
    width: 100vw;
    margin-inline: auto;
    height: var(--header-height);
}

#Header-Wrapper.is-scrolled {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header__inner {
    display: grid;
    gap: 15px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    font-family: var(--font-base);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-base);
    max-width: var(--container-lg);
    margin-inline: auto;
}

.header__logo img {
    display: block;
    width: 265px;
    height: auto;
    justify-self: start;
}

.header__nav {
    background: var(--color-bg);
    padding: 15px 32px;
    border-radius: 50px;
    border: 1px #EEEEEE solid;
    justify-self: center;
    box-shadow: var(--shadow-sm);
}

.header__navList {
    align-items: center;
    gap: 36px;
    display: flex;
}

.header__navItem {
    position: relative;
}

.header__navItem > a {
    display: flex;
    align-items: center;
}

.header__navItem--hasChild > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: var(--transition);
}

.header__navItem--hasChild:hover > a::after {
    transform: rotate(-135deg) translateY(1px);
}

.header__subList {
    position: absolute;
    bottom: -25px;
    left: 0;
    z-index: var(--z-header);
    min-width: 220px;
    padding: 30px 32px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.header__navItem:hover > .header__subList {
    opacity: 1;
    visibility: visible;
}

.header__subItem a {
    display: block;
    padding: 13px 18px;
    color: var(--color-text-base);
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.header__subItem a:hover {
    background: var(--color-bg);
}

.header__menuBtn, .header__spMenu {
    display: none;
}

.c-header__ctaWrapper {
    display: flex;
    gap: 8px;
}

.c-header__cta {
    width: 160px;
    font-weight: 500;
    padding: 8px;
}
.spMenu__panel{
    font-family: var(--font-base);
}


/* ==========================================
SP
========================================== */
@media screen and (max-width: 1024px) {
    .header__nav, .c-header__ctaWrapper {
        display: none;
    }

    #Header-Wrapper {
        top: 0;
    }

    #Header-Wrapper.is-scrolled {
        background: transparent;
        backdrop-filter: none;
    }


    .header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 40px rgba(125, 135, 140, .1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }


    .header__logo img {
        width: 200px;
        height: auto;
    }

    .header__nav,
    .c-header__ctaWrapper {
        display: none;
    }

    .header__menuBtn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        align-items: center;
    }

    .header__menuBtn span {
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: var(--color-text-medium);
        transition: .3s;
        display: block;
        transform-origin: center;
    }

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

    .header__menuBtn.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

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

    .header__spMenu {
        position: fixed;
        inset: 0;
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
        z-index: calc(var(--z-modal) - 1);
    }

    .header__spMenu.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .spMenu__overlay {
        position: absolute;
        inset: 0;
        background: var(--color-white);
        height: 100vh;
    }

    .spMenu__panel {
        overflow-y: auto;
        padding: 150px 16px 35px;
        text-align: center;
        background: var(--color-white);
        transition: transform .3s ease;
        height: 100vh;
    }

    .header__spMenu.is-open .spMenu__panel {
        transform: translateY(0);
    }

    .spMenu__list {
        display: grid;
        gap: 35px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .spMenu__item > a {
        display: block;
        color: var(--color-text-base);
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
    }

    .spMenu__list > a:hover {
        color: var(--color-text-base) !important;
    }

    .spMenu__parent > a {
        color: var(--color-text-base);
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
    }

    .spMenu__subList {
        display: grid;
        gap: 10px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        padding-left: 16px;
        list-style: none;
        transition: max-height .35s ease, opacity .25s ease, margin-top .35s ease;
    }

    .spMenu__item.is-open .spMenu__subList {
        max-height: 300px;
        opacity: 1;
        margin-top: 12px;
    }

    .spMenu__parent {
        display: flex;
        align-items: center;
        gap: 6px;
        justify-content: center;
    }

    .spMenu__toggle {
        width: 16px;
        height: 16px;
        background: transparent;
        cursor: pointer;
        position: relative;
        appearance: none;
    }

    .spMenu__toggle::before {
        content: "";
        position: absolute;
        inset: 3px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }

    .spMenu__subList a {
        font-size: 14px;
        text-decoration: none;
    }

    .spMenu__cta {
        display: flex;
        gap: 20px;
        margin-top: 35px;
        justify-content: center;
    }

    body.is-menu-open {
        overflow: hidden;
    }
}
