@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@400;600;900&display=swap');

:root {
    --green: #00e431;
    --black: #000;
    --scroll-speed: 25s;
    --text-base-color: #ffffff;
    --pc-scale: 1;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.sp {
    display: none !important;
}

@media (max-width: 768px) {
    .sp {
        display: block !important;
    }

    .pc {
        display: none !important;
    }

    .news-wrapper,
    .event-wrapper,
    .special-number-wrapper {
        zoom: 1 !important;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        /* ← マイナス配置画像の画面外はみ出しをカット */
    }

    /* 2. SPECIAL NUMBER の装飾画像のはみ出し防止 */
    .special-number-wrapper {
        position: relative;
        overflow: hidden;
        /* ← これで right: -70px が画面外に伸びなくなります */
    }

    /* 3. NEWSエリアの見出し領域の幅制御 */
    .news .heading-area {
        max-width: 100%;
    }
}

/* -----------------------
追従ナビ
----------------------- */
.hamburger-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 100px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 0;
    mix-blend-mode: difference;
}

/* ボタンの2本線（共通設定） */
.hamburger-btn .bar {
    display: block;
    width: 100px;
    height: 3px;
    background-color: #ffffff;
    transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
    transform-origin: center;
}

/* ① 上の線: 左から右へ伸びる（アニメーション） */
.hamburger-btn .bar-top {
    clip-path: inset(0 100% 0 0);
    /* 最初は右側を100%カットして隠す */
    animation: barSlideFromLeft 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.2s forwards;
}

/* ② 下の線: 右から左へ伸びる（アニメーション） */
.hamburger-btn .bar-bottom {
    clip-path: inset(0 0 0 100%);
    /* 最初は左側を100%カットして隠す */
    animation: barSlideFromRight 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.2s forwards;
}

/* メニューオープン時は反転を解除して色を固定 */
.hamburger-btn.open {
    mix-blend-mode: normal;
}

.hamburger-btn.open .bar {
    background-color: #000;
    clip-path: inset(0 0 0 0);
    /* メニュー開閉時は切り抜きを完全解除 */
}

/* 上の線を斜め下に傾ける（×印） */
.hamburger-btn.open .bar-top {
    transform: translateY(8px) rotate(15deg);
}

/* 下の線を斜め上に傾ける（×印） */
.hamburger-btn.open .bar-bottom {
    transform: translateY(-8px) rotate(-15deg);
}

/* ==================================================
   ハンバーガーボタン用キーフレームアニメーション
================================================== */

/* 上の線: 左から右へ伸びるキーフレーム */
@keyframes barSlideFromLeft {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 下の線: 右から左へ伸びるキーフレーム */
@keyframes barSlideFromRight {
    0% {
        clip-path: inset(0 0 0 100%);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--green);
    /* 黒透過背景 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;

    /* 初期状態（非表示・透明） */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* メニューオープン時（表示） */
.fullscreen-nav.open {
    opacity: 1;
    visibility: visible;
}

/* メニューリスト構造 */
.fullscreen-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.fullscreen-nav .nav-list a {
    color: var(--black);
    font-size: clamp(26px, 3.25vw, 50px);
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.fullscreen-nav .nav-list a:hover {
    color: var(--green);
    /* ホバーでブランドカラー（緑）へ */
}

@media (max-width: 768px) {
    .hamburger-btn {
        position: fixed;
        top: 12px;
        right: 17px;
        width: 60px;
    }

    .hamburger-btn .bar {
        width: 60px;
    }
}

/* -----------------------
footer
----------------------- */
.footer {
    position: relative;
    z-index: 2;
    padding-top: 64px;
    width: 100%;
    background: var(--black);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.footer .footer_icon {
    filter: brightness(0) invert(1);
    height: 40px;
    width: auto;
}

.footer .footer-icon-area a:hover {
    opacity: 0.7;
}

.footer .copyright {
    margin: 0;
    text-align: center;
    color: var(--text-base-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.footer .page-top {
    width: 150px;
    display: block;
    margin: auto;
}

@media (max-width: 768px) {
    .footer ul {
        flex-direction: column;
        gap: 40px;
    }
}