/* ---- パーティクル（文字版） ---- */
.particle {
    position: fixed;
    font-size: 1em;
    font-weight: bold;
    pointer-events: none;

    background: radial-gradient(circle at center,
            #ffb3ec 0%,
            #FF9BF6 40%,
            #b8f3ff 100%);

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.95;

    animation:
        particle-move 1300ms ease-out forwards,
        particle-twinkle 900ms ease-in-out infinite alternate;
}

/* ---- ふわっと飛ぶ（移動アニメ） ---- */
@keyframes particle-move {
    from {
        opacity: 1;
        transform: translate(0, 0) rotate(var(--r));
    }

    to {
        opacity: 0;
        transform: translate(var(--x), var(--y)) rotate(var(--r));
    }
}

/* ---- キラキラ点滅（opacityのみ） ---- */
@keyframes particle-twinkle {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ────────────────
  ガラスボタン
──────────────── */
.glass-btn {
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    /* ボーダー */
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    -webkit-backdrop-filter: blur(20px);
    /* ぼかしエフェクト */
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(222, 183, 242, 0.4);
    /* 薄い影 */
}


/* ────────────────
  パステルボタン
──────────────── */

.gallery-btn-area {
    display: grid;
    grid-auto-flow: column;
    /* ← 自動で横に流す（横並びになる） */
    cursor: crosshair;
    gap: 20px;
}

.pastel-mini{
    
        padding: 2px 5px !important;
        font-size: 1em !important;
    max-height: 30px;
}

.pas-380{width: 380px;}

.btn-pastel {
    position: relative;
    box-sizing: border-box;
    padding: 10px 50px;
    max-height: 80px;
    font-size: 1.4em;
    font-weight: 600;
    letter-spacing: 2px;
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, #FF9ABD, #67BEFF);
    border-image-slice: 1;
    cursor: crosshair;
    overflow: hidden;

    /* 文字グラデ */
    background: linear-gradient(45deg, #FF9ABD, #67BEFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* 発光用 */
    transition: box-shadow 0.4s ease, transform 0.2s ease;
}

/* hover時の発光 */
.btn-pastel:hover {
    position: relative;
    box-sizing: border-box;
    padding: 10px 50px;
    max-width: 450px;
    max-height: 80px;
    font-size: 1.4em;
    font-weight: 600;
    letter-spacing: 2px;
    border: 3px solid transparent;
    border-image: linear-gradient(-45deg, #9567FF, #FF9ABD);
    border-image-slice: 1;
    cursor: crosshair;
    overflow: hidden;
    border-radius: 16px;
    color: transparent;

    /* 文字グラデ */
    background: linear-gradient(-45deg, #9567FF, #FF9ABD);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: scale(1.05);
    /* 少し膨らむ */
    box-shadow:
        0 0 10px rgba(219, 223, 231, 0.2),
        0 0 10px rgba(219, 223, 231, 0.2);
}

/* ────────────────
  スマホ用
──────────────── */

@media screen and (max-width: 768px) {
  .gallery-btn-area {
    display: block;
    grid-template-columns: repeat(2, 1fr); /* 2列にする */
    gap: 15px;
    justify-items: center;
  }

  .btn-pastel {
    padding: 2px 3px;  /* PCより横幅を狭く調整 */
    font-size: 1em;    /* スマホ向けに少し小さく */
    width: 100%;         /* 列幅いっぱいに広げる */
    max-width: 400px;    /* 最大横幅を設定してPCとバランス */
  }

  .btn-pastel:hover {
    padding: 10px 40px;  /* hover も合わせる */
  }
}



/*==========================
  メンバーナビ矢印
==========================*/
.page-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at center, rgba(255, 190, 220, 0.1), rgba(255, 150, 200, 0.1));
    border-radius: 50%;
    border: 1px solid rgba(255, 150, 200, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    z-index: 9999;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 10px rgba(255, 150, 200, 0.15);
    cursor: crosshair;
}

.page-arrow:hover {
    box-shadow: 0 0 15px rgba(255, 150, 200, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.arrow-icon {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-arrow.left:hover .arrow-icon {
    transform: translateX(-4px);
}

.page-arrow.right:hover .arrow-icon {
    transform: translateX(4px);
}

.page-arrow.left {
    left: 2rem;
}

.page-arrow.right {
    right: 2rem;
}










/* ────────────────
  ゆらゆらボタン
──────────────── */




.yura-btn {
    width: auto;
    height: 40px;
    padding: 7px 7px;
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    font-size: 1em;
    border: 1px dotted #5627B1;
    cursor: crosshair;

    &:hover {
        .wave {
            top: -120px;
        }
    }

    span {
        position: relative;
        z-index: 1;
        color: white;
        font-size: 15px;
        letter-spacing: 8px;
    }

    .wave {
        width: 200px;
        height: 200px;
        background-color: rgba(255, 198, 239, 0.5);
        box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.5);
        position: absolute;
        left: 0;
        top: -80px;
        transition: 0.4s;

        &::before,
        &::after {
            width: 200%;
            height: 200%;
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translate(-50%, -75%);
            
        }

        &::before {
            border-radius: 45%;
            background-color: rgba(193, 156, 239, 0.5);
            animation: wave 5s linear infinite;
        }

        &::after {
            border-radius: 40%;
            background-color: rgba(255, 255, 255, 0.5);
            animation: wave 10s linear infinite;
        }
    }
}

@keyframes wave {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}





/* -------------------------
   ハンバーガーボタン
--------------------------*/
.hamburger {
    position: fixed;
    display: none; /* PCでは非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 300;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #604997;
    border-radius: 3px;
    transition: 0.3s;
}

/* × に変形 */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* -------------------------
   ハンバーガーボタンメニュー開閉用
--------------------------*/
nav {
    transition: 0.3s;
}

/* スマホ用レイアウト */
@media screen and (max-width: 768px) {

    .hamburger {
        display: flex;
        position: fixed;   /* ← ここを fixed に */
        right: 15px;
        top: -150px;
        z-index: 3000;     /* メニューより上に */
    }

    nav ul {
        position: fixed;
        top: -150px;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255,255,255,0.65);
        backdrop-filter: blur(8px);
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        gap: 20px;
        transition: 0.3s;
        z-index: 2000;
    }

    nav ul.open {
        right: -20%;
    }
}

