/* =========================================
LOGO
========================================= */

.logo-img {
    width: 230px;
}


/* =========================================
HEADER
========================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    padding: 55px 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    height: 90px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1000;
}


/* =========================================
PC NAV
========================================= */

.pc-nav {
    height: 60px;
    padding: 0 30px;
    border-radius: 50px;
    background-color: rgb(255 255 253 / 0.5);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.pc-nav > a {
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .3s ease;
}

.pc-nav > a:hover {
    color: #10b4bf;
}


/* =========================================
SNS
========================================= */

.sns {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.sns.instagram {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #4f5bd5);
    color: #fff;
    font-size: 19px;
}

.sns.line {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #06c755;
    color: #fff;
    font-size: 6px;
    font-weight: 700;
}


/* =========================================
ENTRY
========================================= */

.entry-button {
    height: 42px;
    padding: 0 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #f4c72d;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .05em;
    transition: transform .3s ease, background .3s ease;
}

.entry-button:hover {
    transform: translateY(-2px);
    background: #eabb1f;
}


/* =========================================
SP MENU BUTTON
========================================= */

.sp-menu {
    display: none;
    width: 58px;
    height: 58px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #11b8c2, #9fc58f);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10002;
}

.sp-menu:hover {
    box-shadow: 0 8px 25px rgba(17, 184, 194, .18);
}

.sp-menu-text {
    display: none;
}


/* =========================================
SP MENU ICON
========================================= */

.sp-menu-icon {
    position: relative;
    width: 24px;
    height: 16px;
    margin: 0;
}

.sp-menu-icon span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 1px;
    background: #fff;
    transform: translateX(-50%);
    transform-origin: center;
    transition: top .3s ease, transform .3s ease;
}

.sp-menu-icon span:first-child {
    top: 4px;
}

.sp-menu-icon span:last-child {
    top: 11px;
}

.sp-menu.active .sp-menu-icon span:first-child {
    top: 7px;
    transform: translateX(-50%) rotate(45deg);
}

.sp-menu.active .sp-menu-icon span:last-child {
    top: 7px;
    transform: translateX(-50%) rotate(-45deg);
}


/* =========================================
SP NAV PANEL
========================================= */

.sp-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding: 110px 25px 40px;
    background: linear-gradient(135deg, #11b8c2, #9fc58f);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 10000;
}

.sp-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sp-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sp-nav-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .1em;
}

.sp-nav a {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.sp-nav-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}


/* =========================================
SP CLOSE BUTTON
========================================= */

.sp-nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    cursor: pointer;
    z-index: 10003;
}

.sp-nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 1px;
    background: #fff;
}

.sp-nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sp-nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* =========================================
OPEN STATE
========================================= */

body.menu-open {
    overflow: hidden;
    height: 100dvh;
    touch-action: none;
}


/* =========================================
TABLET / SP
========================================= */

@media (max-width: 900px) {
    .site-header {
        top: 0;
        right: 18px;
        left: auto;
        width: auto;
        height: 80px;
        padding: 0;
        background: transparent;
        pointer-events: auto;
        z-index: 10001;
    }

    .pc-nav {
        display: none !important;
    }

    .sp-menu {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        margin: 0;
        transform: none;
        animation: none;
    }

    .hero {
        min-height: 700px;
    }

    .header {
        padding: 30px 5vw;
    }

    .logo {
        font-size: 32px;
        gap: 12px;
    }

    .logo-mark {
        transform: scale(.75);
        transform-origin: left center;
    }

    .hero-content {
        width: 90%;
        top: 48%;
    }

    .catchcopy {
        font-size: clamp(38px, 7vw, 58px);
        white-space: normal;
        line-height: 1.5;
    }

    .english-copy {
        font-size: 12px;
        letter-spacing: .15em;
    }

    .post {
        width: 190px;
        height: 120px;
        right: 5vw;
        bottom: 7vh;
    }

    .scroll {
        left: 5vw;
        bottom: 5vh;
        font-size: 14px;
    }

    .wave {
        transform: translateX(-50%) scale(.75);
    }
}


/* =========================================
SMARTPHONE
========================================= */

@media (max-width: 600px) {
    .site-header {
        right: 14px;
        height: 75px;
    }

    .sp-menu {
        width: 58px;
        height: 58px;
    }

    .sp-nav {
        padding: 100px 20px 40px;
    }

    .sp-nav-inner > a:not(.entry-button):not(.sns) {
        font-size: 22px;
    }

    .hero {
        min-height: 760px;
    }

    .header {
        padding: 25px 20px;
    }

    .logo {
        font-size: 25px;
        letter-spacing: .22em;
    }

    .logo-img {
        width: 170px;
    }

    .logo-mark {
        width: 26px;
        height: 42px;
        transform: scale(.65);
    }

    .hero-content {
        top: 45%;
    }

    .catchcopy {
        font-size: 34px;
        letter-spacing: .05em;
        line-height: 1.6;
    }

    .english-copy {
        margin-top: 20px;
        font-size: 10px;
        line-height: 2;
        letter-spacing: .08em;
    }

    .shape-wrapper {
        top: -20px;
        width: 440px;
        transform: translateX(-50%) scale(.5);
    }

    .wave {
        top: 80px;
        transform: translateX(-50%) scale(.5);
    }

    .post {
        width: 150px;
        height: 95px;
        right: 20px;
        bottom: 90px;
    }

    .post-label {
        width: 80px;
        height: 80px;
        right: -20px;
        top: -35px;
    }

    .scroll {
        bottom: 35px;
        left: 20px;
        font-size: 12px;
    }
}

/* =========================================================
COMMON SP NAV FINAL
全ページ共通
========================================================= */

@media (max-width: 900px) {

    /* ヘッダー右上のメニューボタン位置を統一 */
    .site-header {
        position: fixed !important;
        top: 0 !important;
        right: 18px !important;
        left: auto !important;

        width: auto !important;
        height: 80px !important;

        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        background: transparent !important;

        pointer-events: auto !important;

        z-index: 10001 !important;
    }

    .pc-nav {
        display: none !important;
    }

    .sp-menu {
        display: flex !important;

        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 58px !important;
        height: 58px !important;

        margin: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        transform: none !important;
        animation: none !important;

        z-index: 10002 !important;
    }


    /* =========================
    NAV PANEL
    ========================= */

    .sp-nav {
        position: fixed !important;
        inset: 0 !important;

        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;

        margin: 0 !important;
        padding: 0 !important;

        background: linear-gradient(
            135deg,
            #18b7c4 0%,
            #64c5ad 55%,
            #b6d09b 100%
        ) !important;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        overflow-y: auto !important;
        overscroll-behavior: contain;

        transform: none !important;

        transition:
            opacity .35s ease,
            visibility .35s ease !important;

        z-index: 10000 !important;
    }

    .sp-nav.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }


    /* =========================
    NAV CONTENT
    どのページでも中央配置
    ========================= */

    .sp-nav-inner {
        position: relative !important;
        z-index: 2 !important;

        width: 100% !important;
        min-height: 100dvh !important;

        margin: 0 !important;
        padding: 90px 25px 55px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 20px !important;

        text-align: center !important;

        transform: none !important;
    }

    .sp-nav-title {
        position: relative !important;
        z-index: 3 !important;

        margin: 0 0 8px !important;

        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: .1em !important;

        text-align: center !important;
    }

    .sp-nav-inner > a:not(.entry-button):not(.sns) {
        position: relative !important;
        z-index: 3 !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #fff !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 1.6 !important;

        text-align: center !important;

        transform: none !important;
    }

    .sp-nav-bottom {
        position: relative !important;
        z-index: 3 !important;

        width: 100% !important;

        margin: 18px 0 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 12px !important;

        transform: none !important;
    }

    .sp-nav-bottom .entry-button {
        margin: 0 auto !important;
    }


    /* =========================
    CLOSE BUTTON
    全ページ同じデザイン
    ========================= */

    .sp-nav-close {
        display: block !important;

        position: fixed !important;

        top: 18px !important;
        right: 18px !important;

        width: 54px !important;
        height: 54px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: none !important;
        border-radius: 50% !important;

        background: rgba(255, 255, 255, .18) !important;

        cursor: pointer !important;

        transform: none !important;

        z-index: 10003 !important;
    }

    .sp-nav-close span {
        position: absolute !important;

        top: 50% !important;
        left: 50% !important;

        width: 22px !important;
        height: 1px !important;

        margin: 0 !important;

        background: #fff !important;

        transform-origin: center !important;
    }

    .sp-nav-close span:first-child {
        transform: translate(-50%, -50%) rotate(45deg) !important;
    }

    .sp-nav-close span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg) !important;
    }


    /* =========================
    OPEN STATE
    ========================= */

    body.menu-open {
        overflow: hidden !important;
        height: 100dvh !important;
        touch-action: none !important;
    }
}


@media (max-width: 600px) {

    .site-header {
        right: 14px !important;
        height: 75px !important;
    }

    .sp-menu {
        width: 58px !important;
        height: 58px !important;
    }

    .sp-nav-inner {
        padding: 82px 20px 45px !important;
        gap: 18px !important;
    }

    .sp-nav-close {
        top: 14px !important;
        right: 14px !important;
    }
}

