/* =========================================
   Base Styles & Variables - Yumekawaii Y2K Theme
   ========================================= */
:root {
    /* Primary Pink Palette */
    --color-main: #FF1493;
    /* Deep Pink (Hot Pink) */
    --color-main-light: #FF69B4;
    /* Hot Pink */
    --color-main-pale: #FFB6C1;
    /* Light Pink */
    --color-main-vivid: #FF007F;
    /* Vivid Rose */
    --color-header-footer: #ff4ea2;

    /* Background Colors */
    --color-bg: #FFFFFF;
    /* Pure White base */
    --color-bg-cream: #FFF5F8;
    /* Pink-tinted cream */
    --color-bg-gradient-start: #FFE4EC;
    --color-bg-gradient-end: #E8D5FF;

    /* Text Colors */
    --color-text: #333333;
    /* Dark gray for readability */
    --color-text-light: #666666;
    --color-text-white: #FFFFFF;

    /* Accent Colors (Y2K palette) */
    --color-accent: #DDA0DD;
    /* Plum/Lilac */
    --color-accent-lavender: #E6E6FA;
    --color-accent-lilac: #DDA0DD;
    --color-accent-baby-blue: #87CEEB;
    --color-accent-mint: #98FB98;
    --color-accent-peach: #FFDAB9;
    --color-accent-gold: #FFD700;
    /* For sparkle effects */

    /* Glass/Translucent */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 105, 180, 0.3);
    --glass-shadow: rgba(255, 20, 147, 0.15);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

body {
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, #edf8ff 50%, var(--color-bg-gradient-end) 100%);
    background-attachment: fixed;
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: auto;
    min-height: 100vh;
}

body.loading {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.page-light-bg {
    background: #fbf9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-main);
}

ul {
    list-style: none;
}

/* =========================================
   Removed Custom Cursor
   ========================================= */

/* =========================================
   Opening Animation - 3D WebGL + Overlay
   ========================================= */
#opening-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: linear-gradient(
        135deg,
        var(--color-bg-gradient-start) 0%,
        var(--color-main-pale) 50%,
        var(--color-bg-gradient-end) 100%
    );
}

#opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.opening-content {
    text-align: center;
    position: relative;
}

.opening-logo {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.opening-logo .letter {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-main);
    text-shadow:
        2px 2px 0 white,
        4px 4px 0 var(--color-main-pale);
    opacity: 0;
    transform: translateY(50px) rotate(-10deg);
    display: inline-block;
}

.opening-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1em;
    color: var(--color-accent-lilac);
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
}

/* Sparkle Effect */
.sparkle-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-accent-gold);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px var(--color-accent-gold), 0 0 20px var(--color-accent-gold);
}

.sparkle:nth-child(1) { top: 10%; left: 20%; }
.sparkle:nth-child(2) { top: 15%; left: 80%; }
.sparkle:nth-child(3) { top: 50%; left: 5%; }
.sparkle:nth-child(4) { top: 50%; left: 95%; }
.sparkle:nth-child(5) { top: 85%; left: 15%; }
.sparkle:nth-child(6) { top: 80%; left: 85%; }
.sparkle:nth-child(7) { top: 30%; left: 50%; }
.sparkle:nth-child(8) { top: 70%; left: 50%; }

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================
   Header - Glass Morphism Style
   ========================================= */
#header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 100;
    text-align: right;
}

/* Logo Plate */
.logo-plate {
    position: fixed;
    top: -50px;
    left: 30px;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo-sphere {
    display: block;
    width: min(20vw, 200px) !important;
    height: min(20vw, 200px) !important;
    cursor: pointer;
}

#header nav {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 40px;
    background: var(--glass-bg);
    border-radius: 50vw 0 0 50vw;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 10px var(--glass-shadow);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    color: var(--color-text);
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-main);
}

/* ハンバーガーボタン */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 102;
    width: 50px;
    height: 50px;
    padding: 12px;
    background: var(--glass-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px var(--glass-shadow);
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    transform: translateY(-6px);
}

.hamburger span:nth-child(3) {
    transform: translateY(6px);
}

/* ハンバーガー開いた状態 */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.98), rgba(255, 255, 255, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 70px 20px 40px;
    box-sizing: border-box;
    overflow-y: auto;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu-list li {
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-menu.is-active .mobile-menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.is-active .mobile-menu-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-active .mobile-menu-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.is-active .mobile-menu-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-active .mobile-menu-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.is-active .mobile-menu-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.is-active .mobile-menu-list li:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-list a {
    display: block;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.mobile-menu-list a:hover {
    color: var(--color-main);
}

/* モバイルメニュー閉じるボタン */
.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: background 0.3s ease;
}

.mobile-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-close:hover::before,
.mobile-menu-close:hover::after {
    background: var(--color-main);
}

/* モバイルメニューSNSリンク */
.mobile-menu-sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-text);
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-sns a:hover {
    color: var(--color-main);
    transform: scale(1.1);
}

.mobile-menu-sns svg {
    width: 24px;
    height: 24px;
}

/* =========================================
   Hero Section - Yumekawaii Style
   ========================================= */
#hero {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    position: relative;
    background: linear-gradient(
        180deg,
        var(--color-bg-gradient-start) 0%,
        var(--color-bg-cream) 30%,
        var(--color-main-pale) 70%,
        var(--color-bg-gradient-end) 100%
    );
}

/* スライドが1枚のみの場合 */
#hero.single-slide .slider-nav,
#hero.single-slide .slider-pagination {
    display: none;
}

/* =========================================
   Circular Slider (Hero) - Yumekawaii Style
   ========================================= */
.slider-container {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--color-bg-gradient-start) 0%,
        var(--color-main-pale) 50%,
        var(--color-bg-gradient-end) 100%
    );
}

/* 3D Slider Background Canvas */
#slider-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.arc-slider {
    position: absolute;
    top: 12%;
    right: 0;
    transform: rotate(-10deg);
    width: 1000px;
    height: 700px;
    z-index: 2;
}

.arc-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 700px;
    transform-origin: top left;
    cursor: pointer;
    will-change: transform;
}

/* GSAP handles transitions */

.slide-frame {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.35),
        0 8px 25px rgba(217, 51, 128, 0.2);
    box-sizing: border-box;
    overflow: hidden;
}

.slide-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
    /* Maintain 3:2 aspect ratio */
    aspect-ratio: 3 / 2.1;
}

/* Slide Text Overlays - Right Side */
.slide-texts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.slide-text {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 8%;
    max-width: 45%;
    transform: translateY(-50%) translateX(-30px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: left;
}

.slide-text.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.slide-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.6;
    display: inline;
    padding: .1em .25em;
    background: linear-gradient(var(--color-main), var(--color-main)) no-repeat;
    background-size: 0% 100%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.slide-text.active h1 {
    animation: markerDrawBg 0.8s ease-out 0.3s forwards;
}

.slide-subtitle {
    margin-top: .5em;
}

.slide-text p {
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    color: var(--color-main);
    font-weight: 700;
    opacity: 0.9;
    line-height: 1.8;
    display: inline;
    padding: .25em .5em;
    background: linear-gradient(#fff, #fff) no-repeat left center;
    background-size: 0% 100%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.slide-text.active p {
    animation: markerDrawBg 0.6s ease-out 0.6s forwards;
}

@keyframes markerDrawBg {
    0% {
        background-size: 0% 100%;
    }
    100% {
        background-size: 100% 100%;
    }
}

/* スライダーナビゲーション矢印 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: var(--color-main);
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* ページネーションドット */
.slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 5%;
    display: flex;
    gap: 12px;
    z-index: 15;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--color-main);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--color-main);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--color-main);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    width: 100px;
    height: 100px;
    bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, .5);
    border-radius: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-main);
    text-shadow: 0 0 10px var(--color-main-pale);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: var(--color-main);
    border-radius: 2px;
    position: relative;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-main);
    animation: scrollDotMove 1.5s ease-in-out infinite;
}

@keyframes scrollDotMove {
    0% {
        top: -2px;
        opacity: 1;
        width: 0;
        height: 0;
        box-shadow: 0 0 10px var(--color-main);
    }
    50% {
        top: 50%;
        opacity: 1;
        width: 10px;
        height: 10px;
        box-shadow: 0 0 20px 5px var(--color-main);
    }
    100% {
        top: 100%;
        opacity: 0;
        width: 2px;
        height: 2px;
        box-shadow: 0 0 10px var(--color-main);
    }
}

/* Floating Shapes - Kawaii Hearts & Stars */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.6;
    filter: drop-shadow(0 4px 15px rgba(255, 20, 147, 0.3));
}

/* Heart Shape */
.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    background: var(--color-main);
    transform: rotate(-45deg);
    animation: floatHeart 10s infinite ease-in-out;
}

.shape-1::before,
.shape-1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--color-main);
    border-radius: 50%;
}

.shape-1::before {
    top: -40px;
    left: 0;
}

.shape-1::after {
    left: 40px;
    top: 0;
}

/* Star Shape */
.shape-2 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--color-accent-lilac);
    bottom: 15%;
    right: 10%;
    animation: floatStar 12s infinite ease-in-out reverse;
    filter: drop-shadow(0 4px 20px rgba(221, 160, 221, 0.5));
}

.shape-2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 100px solid var(--color-accent-lilac);
    top: 30px;
    left: -50px;
}

/* Diamond Shape */
.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-main-pale), var(--color-accent-lavender));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: floatDiamond 8s infinite ease-in-out;
    border-radius: 8px;
}

@keyframes floatHeart {
    0%, 100% {
        transform: rotate(-45deg) translate(0, 0);
    }
    50% {
        transform: rotate(-45deg) translate(20px, -30px);
    }
}

@keyframes floatStar {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-20px, -25px) rotate(10deg);
    }
}

@keyframes floatDiamond {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1.1);
    }
}

/* Parallax Decorative Sparkles */
.parallax-decos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.deco-sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-accent-gold), 0 0 30px var(--color-accent-gold);
    animation: twinkle 2s infinite ease-in-out;
    z-index: 1;
}

.deco-1 {
    top: 25%;
    left: 15%;
    animation-delay: 0s;
}

.deco-2 {
    top: 40%;
    right: 20%;
    animation-delay: 0.5s;
}

.deco-3 {
    top: 65%;
    left: 25%;
    animation-delay: 1s;
}

.deco-4 {
    top: 80%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Floating Deco Images */
.floating-decos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.floating-decos-smart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

.floating-deco {
    position: absolute;
    opacity: 1;
    filter: drop-shadow(0 10px 30px rgba(255, 20, 147, 0.3));
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.floating-decos-smart .floating-deco {
    filter: none;
}

.deco-img-1 {
    width: 320px;
    top: 60%;
    left: 15%;
    animation: floatDeco1 8s ease-in-out infinite;
}

.deco-img-2 {
    width: 400px;
    top: 80%;
    right: 0;
    animation: floatDeco2 10s ease-in-out infinite;
}

.deco-img-3 {
    width: 400px;
    top: -10%;
    left: 25%;
    animation: floatDeco3 7s ease-in-out infinite;
}

.deco-img-4 {
    width: 600px;
    top: -15%;
    left: 5%;
    animation: floatDeco4 10s ease-in-out infinite;
}

@keyframes floatDeco1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatDeco2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(-8deg);
    }
}

@keyframes floatDeco3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

@keyframes floatDeco4 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(12deg);
    }
}

/* =========================================
   Sections Common
   ========================================= */
.section-padding {
    padding: 100px 40px;
}

.container {
    margin: 0 auto;
    padding: 0 30px;
}

.container.wide-960 {
    max-width: 960px;
}

.container.wide-800 {
    max-width: 800px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: min(20vw, 250px);
    font-weight: 900;
    line-height: .8;
    margin-bottom: 60px;
    color: var(--color-main);
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.section-title.is-visible {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 769px) and (max-width: 1200px) {

    .deco-img-4 {
        width: min(50vw, 500px);
        left: -10%;
    }

}

/* =========================================
   About Section - Yumekawaii Style
   ========================================= */
#about {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: var(--color-text);
    top: 0;
    z-index: 1;
    min-height: 80vh;
    overflow: hidden;
}

.about-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#about .container {
    position: relative;
    z-index: 1;
    mix-blend-mode: difference;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.about-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.big-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.highlight {
    background: linear-gradient(
        120deg,
        var(--color-main) 0%,
        var(--color-accent-lilac) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    color: var(--color-text-white);
    font-size: 1rem;
    line-height: 2;
    padding: 1em 0;
}

/* =========================================
   Talents Section - Physics Ball Style
   ========================================= */
#talents {
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

#talents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, var(--color-main-pale) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--color-accent-lavender) 0%, transparent 40%);
    opacity: 0.4;
    pointer-events: none;
}

#constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

#talents .section-title {
    pointer-events: none;
    color: var(--color-main);
    position: absolute;
    top: min(80vw, 80px);
    left: 0;
    z-index: 10;
}

.talents-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding-top: min(13vw, 200px);
    padding-bottom: min(10vw, 100px)
}

.talent-physics-area {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
}

.talent-ball {
    position: absolute;
    border-radius: 50%;
    overflow: visible;
    opacity: 0;
    transition: opacity 0.5s ease, box-shadow 0.3s ease;
}

.talent-ball.visible {
    opacity: 1;
}

.talent-ball::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 15%;
    width: 30%;
    height: 20%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.talent-ball .talent-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: auto;
    transition: transform 0.3s ease;
    position: relative;
}

/* Hover ring effect on talent-ball */
.talent-ball::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    opacity: 0;
}

.talent-ball:hover {
    z-index: 50 !important;
}

.talent-ball:hover .talent-link {
    transform: scale(1.08);
    box-shadow:
        0 0 25px rgba(231, 2, 91, 0.6),
        0 0 50px rgba(255, 105, 180, 0.4);
}

.talent-ball:hover::after {
    border-color: var(--color-main);
    opacity: 1;
    animation: talent-ring-pulse 1.5s ease-in-out infinite;
}

@keyframes talent-ring-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.talent-ball img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
}

.view-more {
    position: sticky;
    display: block;
    margin: 0 auto;
    width: min(60vw, 250px);
    margin: min(5vw, 50px) auto 0;
    padding: .85rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-main);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-main);
    border-radius: 50vw;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    z-index: 51;
}

.talents-view-more {
    position: absolute;
    bottom: min(15vw, 150px);
}

.view-more:hover {
    color: #fff;
    background: var(--color-main);
    box-shadow:
        0 0 20px rgba(231, 2, 91, 0.5),
        0 0 40px rgba(255, 105, 180, 0.3);
    transform: translateX(-50%) scale(1.05);
}

/* =========================================
   Video Section - Yumekawaii Style
   ========================================= */
#videos {
    overflow-x: clip;
    position: relative;
    z-index: 2;
    background: var(--color-bg-cream);
    padding: min(10vw, 100px) 0;
}

#videos .section-title {
    text-align: right;
}

/* Wave Text Animation */
.wave-text {
    display: inline-block;
}

.wave-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

/* LATEST gradient colors: light cyan to light purple */
.text-latest span[style*="--i:1"] { color: #a6c3ff; }
.text-latest span[style*="--i:2"] { color: #aebcff; }
.text-latest span[style*="--i:3"] { color: #b9b2ff; }
.text-latest span[style*="--i:4"] { color: #caa3ff; }
.text-latest span[style*="--i:5"] { color: #da95ff; }
.text-latest span[style*="--i:6"] { color: #eb86ff; }

/* VIDEOS stays pink */
.text-videos span {
    color: var(--color-main);
}

/* Fade-in + Bounce animation combined */
.wave-text.animate span {
    animation: letter-fade-bounce 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(var(--i) * 0.06s);
}

@keyframes letter-fade-bounce {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    30% {
        opacity: 1;
        transform: translateY(-15px) scaleY(1.1);
    }
    50% {
        transform: translateY(0) scaleY(0.95);
    }
    70% {
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce only (for repeat animation) */
.wave-text.shown span {
    opacity: 1;
    transform: translateY(0);
}

.wave-text.bounce span {
    animation: letter-bounce 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(var(--i) * 0.06s);
}

@keyframes letter-bounce {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-15px) scaleY(1.1);
    }
    50% {
        transform: translateY(0) scaleY(0.95);
    }
    70% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.video-grid .video-item {
    flex: 0 1 calc(50% - 15px);
    max-width: 600px;
    min-width: 300px;
}

/* Coming Soon テキスト */
.coming-soon-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-main);
    text-align: center;
    padding: 80px 20px;
    width: 100%;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.video-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.15);
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.video-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.video-item:hover {
    transform: translateY(-8px) scale(1.03) rotate(0.5deg);
    box-shadow:
        0 20px 40px rgba(231, 2, 91, 0.3),
        0 0 20px rgba(255, 105, 180, 0.2);
}

.video-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(231, 2, 91, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(231, 2, 91, 0.4);
}

.video-play-btn span {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-item:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 30px rgba(231, 2, 91, 0.6);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--color-main);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #ff1493;
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(231, 2, 91, 0.3);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =========================================
   Video Archive Page
   ========================================= */
.video-archive-page {
    background: var(--color-bg);
}

.video-archive-section {
    padding: min(10vw, 100px) 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.video-archive-section .container {
    max-width: 1200px;
}

.video-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.video-filter-btn {
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-main);
    background: transparent;
    border: 2px solid var(--color-main);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-filter-btn:hover,
.video-filter-btn.active {
    color: #fff;
    background: var(--color-main);
}

.video-archive-grid {
    max-width: 1000px;
    margin: 0 auto;
}

/* 動画一覧ページでは常に表示 */
.video-archive-page .video-item {
    opacity: 1 !important;
    transform: translateY(0) scale(1) rotate(0deg) !important;
    visibility: visible !important;
}

/* =========================================
   Event Section - 横スクロールスライダー
   ========================================= */
#events {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    overflow: hidden;
    padding: min(10vw, 100px) 0;
}

#events .section-title {
    padding-left: min(5vw, 60px);
    color: rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 2px #ff1493;
    text-shadow:
        0 0 5px rgba(255, 20, 147, 0.8),
        0 0 10px rgba(255, 20, 147, 0.5);
}

#events .section-title.is-visible {
    animation: neon-tube-flash 8s ease-in-out infinite;
}

@keyframes neon-tube-flash {
    0%, 100% {
        -webkit-text-stroke: 2px #ff1493;
        text-shadow:
            0 0 3px #ff1493,
            0 0 8px #ff1493,
            0 0 15px #ff69b4;
    }
    25% {
        -webkit-text-stroke: 2px #00ffff;
        text-shadow:
            0 0 3px #00ffff,
            0 0 8px #00ffff,
            0 0 15px #00ffff;
    }
    50% {
        -webkit-text-stroke: 2px #ffff00;
        text-shadow:
            0 0 3px #ffff00,
            0 0 8px #ffff00,
            0 0 15px #ffff00;
    }
    75% {
        -webkit-text-stroke: 2px #b400ff;
        text-shadow:
            0 0 3px #b400ff,
            0 0 8px #b400ff,
            0 0 15px #b400ff;
    }
}

.event-description {
    padding: 0 min(7vw, 80px) min(10vw, 100px);
    color: var(--color-text-white);
    line-height: 2;
}

/* ミラーボール（Three.js用コンテナ） */
#mirrorball-container {
    position: absolute;
    top: -96px;
    right: 0;
    width: min(40vw, 600px);
    height: min(40vw, 600px);
    z-index: 2;
    pointer-events: none;
}

#mirrorball-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* レーザービーム */
.laser-beams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.laser-beam {
    position: absolute;
    top: -50px;
    right: 80px;
    width: 6px;
    height: 200vh;
    transform-origin: top center;
    opacity: 0.9;
    filter: blur(1px);
}

/* 外側のグロー */
.laser-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 100%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.8;
}

/* さらに広いグロー */
.laser-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
    background: inherit;
    filter: blur(40px);
    opacity: 0.5;
}

/* レーザー1 - ピンク */
.laser-1 {
    background: linear-gradient(to bottom, rgba(255, 20, 147, 1), rgba(255, 20, 147, 0));
    animation: laser-sweep-1 8s ease-in-out infinite;
}

/* レーザー2 - シアン */
.laser-2 {
    background: linear-gradient(to bottom, rgba(0, 255, 255, 1), rgba(0, 255, 255, 0));
    animation: laser-sweep-2 7s ease-in-out infinite;
}

/* レーザー3 - イエロー */
.laser-3 {
    background: linear-gradient(to bottom, rgba(255, 255, 0, 1), rgba(255, 255, 0, 0));
    animation: laser-sweep-3 9s ease-in-out infinite;
}

/* レーザー4 - パープル */
.laser-4 {
    background: linear-gradient(to bottom, rgba(180, 0, 255, 1), rgba(180, 0, 255, 0));
    animation: laser-sweep-4 6s ease-in-out infinite;
}

/* レーザー5 - グリーン */
.laser-5 {
    background: linear-gradient(to bottom, rgba(0, 255, 128, 1), rgba(0, 255, 128, 0));
    animation: laser-sweep-5 10s ease-in-out infinite;
}

@keyframes laser-sweep-1 {
    0%, 100% { transform: rotate(-60deg); opacity: 0.8; }
    25% { transform: rotate(20deg); opacity: 0.6; }
    50% { transform: rotate(80deg); opacity: 0.9; }
    75% { transform: rotate(-10deg); opacity: 0.5; }
}

@keyframes laser-sweep-2 {
    0%, 100% { transform: rotate(30deg); opacity: 0.7; }
    25% { transform: rotate(-40deg); opacity: 0.9; }
    50% { transform: rotate(60deg); opacity: 0.6; }
    75% { transform: rotate(-80deg); opacity: 0.8; }
}

@keyframes laser-sweep-3 {
    0%, 100% { transform: rotate(70deg); opacity: 0.6; }
    33% { transform: rotate(-30deg); opacity: 0.8; }
    66% { transform: rotate(10deg); opacity: 0.7; }
}

@keyframes laser-sweep-4 {
    0%, 100% { transform: rotate(-20deg); opacity: 0.7; }
    50% { transform: rotate(50deg); opacity: 0.9; }
}

@keyframes laser-sweep-5 {
    0%, 100% { transform: rotate(40deg); opacity: 0.5; }
    25% { transform: rotate(-70deg); opacity: 0.8; }
    50% { transform: rotate(0deg); opacity: 0.6; }
    75% { transform: rotate(90deg); opacity: 0.7; }
}

/* きらめきパーティクル */
.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--color-main);
    animation: sparkle 3s ease-in-out infinite;
}

.sparkles span:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.sparkles span:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.3s; }
.sparkles span:nth-child(3) { top: 30%; left: 40%; animation-delay: 0.6s; }
.sparkles span:nth-child(4) { top: 15%; left: 60%; animation-delay: 0.9s; }
.sparkles span:nth-child(5) { top: 40%; left: 10%; animation-delay: 1.2s; }
.sparkles span:nth-child(6) { top: 50%; left: 90%; animation-delay: 1.5s; }
.sparkles span:nth-child(7) { top: 60%; left: 30%; animation-delay: 1.8s; }
.sparkles span:nth-child(8) { top: 70%; left: 70%; animation-delay: 2.1s; }
.sparkles span:nth-child(9) { top: 25%; left: 15%; animation-delay: 2.4s; }
.sparkles span:nth-child(10) { top: 35%; left: 85%; animation-delay: 2.7s; }
.sparkles span:nth-child(11) { top: 45%; left: 50%; animation-delay: 0.2s; }
.sparkles span:nth-child(12) { top: 55%; left: 25%; animation-delay: 0.5s; }
.sparkles span:nth-child(13) { top: 65%; left: 75%; animation-delay: 0.8s; }
.sparkles span:nth-child(14) { top: 75%; left: 45%; animation-delay: 1.1s; }
.sparkles span:nth-child(15) { top: 80%; left: 5%; animation-delay: 1.4s; }

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.event-slider-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 20px 0 0;
}

.event-horizontal-swiper {
    overflow: visible;
    padding: 20px 0;
}

.event-horizontal-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.event-horizontal-swiper .swiper-slide {
    flex-shrink: 0;
    width: 350px !important;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* イベントスライダー ナビゲーション矢印 */
.event-prev,
.event-next {
    color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 20, 147, 0.6) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    transition: all 0.3s ease !important;
    top: var(--swiper-navigation-top-offset,43%);
}

.event-prev:hover,
.event-next:hover {
    background: var(--color-main) !important;
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.event-prev::after,
.event-next::after {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.event-prev {
    left: 20% !important;
}

.event-next {
    right: 20% !important;
}

/* イベントスライダー ページネーション（ドット） */
.event-pagination {
    position: relative !important;
    bottom: auto !important;
    padding: 1em 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.event-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.6);
}

.event-pagination .swiper-pagination-bullet-active {
    background: var(--color-main);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--color-main);
}

/* EVENTセクション VIEW MORE */
#events .view-more {
    color: var(--color-main);
    background-color: transparent;
    border-color: var(--color-main);
}

#events .view-more:hover {
    color: var(--color-text-white);
    background: var(--color-main);
    border-color: var(--color-main);
}

/* イベントカード */
.event-card {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(231, 2, 91, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(231, 2, 91, 0.25);
}

.event-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.event-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top;  /* 画像上部を基準に配置 */
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card-content {
    padding: 20px;
}

.event-card-date {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.event-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
}

/* =========================================
   News Section
   ========================================= */
#news {
    position: relative;
    z-index: 2;
    background: var(--color-bg);
    padding: min(10vw, 100px) 0;
}

#news .section-title {
    text-align: center;
    color: var(--color-main);
}

#news .container {
    max-width: 1200px;
}

/* カテゴリフィルター */
.news-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.news-filter-btn {
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-main);
    background: transparent;
    border: 2px solid var(--color-main);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-filter-btn:hover {
    background: var(--color-main-pale);
}

.news-filter-btn.active {
    color: #fff;
    background: var(--color-main);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 1200px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-item.hidden {
    display: none;
}

.news-archive-section {
    padding: min(10vw, 100px) 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.news-item a {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-item a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(231, 2, 91, 0.2);
}

/* サムネイル */
.news-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 120px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.news-item a:hover .news-thumb img {
    transform: scale(1.1);
}

/* ニュースコンテンツ */
.news-content {
    flex: 1;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.news-date {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #999;
    white-space: nowrap;
}

.news-category {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-main);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.news-title {
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-view-more {
    align-self: flex-start;
    margin-top: 30px;
}

/* =========================================
   Talents Page
   ========================================= */

.page-header {
    padding: min(5vw, 60px) min(5vw, 60px) min(2vw, 10px);
    text-align: center;
    background: var(--color-header-footer);
}

.page-title {
    padding: min(8vw, 100px) 0 0 min(11vw, 240px);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 900;
    color: var(--color-text-white);
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.page-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.talent-group {
    padding: 40px 0 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.talent-group.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-header + .talent-group {
    padding-top: 60px;
}

.talent-group:has(+ .talent-solo-section),
.talents-page > .talent-group:last-child {
    padding-bottom: 80px;
}

.group-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.group-description {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    text-align: center;
}

.members-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/* グループカード（大きめ） */
.talent-card-group {
    flex-shrink: 0;
    width: 280px;
}

/* 吹き出しメンバーコンテナ */
.members-bubble {
    position: relative;
    flex: 1;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.15);
}

/* 吹き出しの矢印 */
.bubble-arrow {
    position: absolute;
    left: -20px;
    top: 50px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #fff;
    filter: drop-shadow(-3px 0 3px rgba(255, 105, 180, 0.1));
}

/* メンバーグリッド */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

/* メンバーカード（小さめ） */
.talent-card-member {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.talent-card-member .talent-card-info {
    padding: 12px;
}

.talent-card-member .talent-name {
    margin-bottom: 0;
    font-size: 1rem;
}

/* ソロタレントセクション */
.talent-solo-section {
    padding: 80px 0;
    background: var(--color-bg-cream);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.talent-solo-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.solo-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 900;
    color: var(--color-main);
    text-align: center;
    margin-bottom: 40px;
}

.solo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ソロタレントカード（中サイズ） */
.talent-card-solo {
    width: 100%;
}

.talent-card-solo .talent-card-info {
    padding: 15px;
}

.talent-card-solo .talent-name {
    font-size: 1.1rem;
}

/* SNSリンク */
.sns-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px 25px;
    border-radius: 0 0 12px 12px;
    max-width: 220px;
    margin: 0 auto;
}

.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--color-main);
    border: solid 1px var(--color-main);
    transition: all 0.3s ease;
}

.sns-link:hover {
    transform: scale(1.15);
    border: none;
}

.sns-link svg {
    width: 16px;
    height: 16px;
}

/* SNSアイコン別カラー */
.sns-link.sns-x:hover {
    background: #000;
    color: #fff;
}

.sns-link.sns-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.sns-link.sns-tiktok:hover {
    background: #000;
    color: #fff;
}

.sns-link.sns-youtube:hover {
    background: #FF0000;
    color: #fff;
}

.sns-link.sns-facebook:hover {
    background: #1877F2;
    color: #fff;
}

.sns-link.sns-line:hover {
    background: #06C755;
    color: #fff;
}

.sns-link.sns-other:hover {
    background: var(--color-main);
    color: #fff;
}

/* 外部リンクアイコン */
.external-link-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.talent-card-link:hover .external-link-icon {
    opacity: 1;
}

.external-link-icon svg {
    width: 16px;
    height: 16px;
}

/* タレントカード画像にpositionを設定 */
.talent-card-group .talent-card-image,
.talent-card-solo .talent-card-image {
    position: relative;
}

/* 検索ボタン（右下固定） */
.search-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-main);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(231, 2, 91, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.search-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(231, 2, 91, 0.5);
}

/* 検索パネルオーバーレイ */
.search-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}

.search-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 検索パネル */
.search-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease;
    z-index: 1002;
    overflow-y: auto;
}

.search-panel.active {
    right: 0;
}

.search-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--color-main);
    color: #fff;
}

.search-panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.search-panel-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.search-panel-body {
    padding: 20px;
}

.search-group {
    margin-bottom: 25px;
}

.search-label {
    display: block;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--color-main);
}

.search-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.search-select:focus {
    border-color: var(--color-main);
}

.search-radio-group,
.search-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-radio,
.search-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
}

.search-radio:hover,
.search-checkbox:hover {
    background: var(--color-main-pale);
}

.search-radio input,
.search-checkbox input {
    display: none;
}

.search-radio input:checked + span,
.search-checkbox input:checked + span {
    color: var(--color-main);
    font-weight: 700;
}

.search-radio:has(input:checked),
.search-checkbox:has(input:checked) {
    background: white;
    border: 2px solid var(--color-main);
}

.search-btn-group {
    display: flex;
    gap: 10px;
}

.search-submit-btn {
    flex: 1;
    padding: 15px;
    background: var(--color-main);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.search-submit-btn:hover {
    background: #c4025a;
    transform: translateY(-2px);
}

.search-clear-btn {
    padding: 15px 20px;
    background: transparent;
    color: var(--color-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 検索結果セクション */
.search-results-section {
    padding: 60px 0;
    background: var(--color-bg);
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 960px;
    margin: 0 auto 2.5rem;
}

.search-results-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-main);
}

.search-results-clear {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--color-main);
    color: var(--color-main);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-results-clear:hover {
    background: var(--color-main);
    color: #fff;
}

.search-loading,
.search-error,
.search-no-results {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
    grid-column: 1 / -1;
}

.search-result-card {
    position: relative;
}

.talent-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-main);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

.talent-card-furigana {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

.talent-card-romaji {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: 0.05em;
    margin-top: 5px;
}

.talent-card-sns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0 .25rem 20px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--color-main);
    border: solid 1px var(--color-main);
    transition: all 0.3s ease;
}

.sns-icon:hover {
    transform: scale(1.15);
    border: none;
}

.sns-icon svg {
    width: 16px;
    height: 16px;
}

/* SNSアイコン別ホバーカラー */
.sns-icon.sns-x:hover {
    background: #000;
    color: #fff;
}

.sns-icon.sns-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.sns-icon.sns-tiktok:hover {
    background: #000;
    color: #fff;
}

.sns-icon.sns-youtube:hover {
    background: #FF0000;
    color: #fff;
}

.sns-icon.sns-facebook:hover {
    background: #1877F2;
    color: #fff;
}

.sns-icon.sns-line:hover {
    background: #06C755;
    color: #fff;
}

.sns-icon.sns-other:hover {
    background: var(--color-main);
    color: #fff;
}

/* スマホ用レスポンシブ */
@media (max-width: 768px) {
    .group-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .talent-card-group {
        width: 240px;
    }

    .members-bubble {
        width: 100%;
    }

    .bubble-arrow {
        left: 50%;
        top: -20px;
        transform: translateX(-50%);
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 20px solid #fff;
        border-top: none;
        filter: drop-shadow(0 -3px 3px rgba(255, 105, 180, 0.1));
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.talent-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.talent-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(231, 2, 91, 0.25);
}

.talent-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.talent-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.talent-card:hover .talent-card-image img {
    transform: scale(1.1);
}

.talent-card-info {
    padding: 20px 20px 4px;
    text-align: center;
}

.talent-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 5px;
}

.talent-role {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: 0.1em;
}

/* ロゴリンク（タレントページ用） */
.logo-link {
    display: block;
}

.logo-img {
    width: 150px;
    height: auto;
}

nav a.current {
    color: var(--color-main);
}

nav a.current::after {
    width: 100%;
}

/* =========================================
   Footer - Yumekawaii Style
   ========================================= */
footer {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    text-align: center;
    background: var(--color-header-footer);
    border-top: none;
}

.footer-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-text-white);
}

.footer-content p {
    color: var(--color-text-white);
}

.btn-contact {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 60px;
    background: var(--color-text-white);
    border: none;
    border-radius: 50px;
    color: var(--color-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-contact:hover {
    background: var(--color-main-vivid);
    color: var(--color-text-white);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.4);
}

.copyright {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

/* フッターナビゲーション */
.footer-nav-area {
    margin-top: 50px;
}

.footer-main-nav {
    margin-bottom: 20px;
}

.footer-main-menu,
.footer-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
}

.footer-main-menu li a,
.footer-sub-menu li a {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-main-menu li a:hover,
.footer-sub-menu li a:hover {
    color: #fff;
}

.footer-sub-menu li a {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* フッターSNSリンク */
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.footer-sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.footer-sns-link:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-main);
    transform: translateY(-3px);
}

.footer-sns-link svg {
    width: 20px;
    height: 20px;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 768px) {

    /* Opening Animation Mobile */
    .opening-logo .letter {
        font-size: 3rem;
    }

    .opening-tagline {
        font-size: 1rem;
        letter-spacing: 0.5em;
    }

    .sparkle-container {
        width: 280px;
        height: 280px;
    }

    /* Header - モバイル */
    #header {
        top: 0;
        background: transparent;
    }

    #header .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .mobile-menu {
        display: block;
    }

    .logo-plate {
        top: -5vw;
        left: 0;
    }

    #logo-sphere {
        width: 30vw !important;
        height: 30vw !important;
    }

    /* Typography */
    .big-text {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
        /* Reduce container padding to give more width */
    }

    /* Hero */
    .slider-container {
        height: 100vh;
        height: 100dvh;
    }

    .arc-slider {
        width: 100vw;
        height: auto;
    }

    .slide-item {
        position: absolute;
        top: 21vw;
        left: -10vw;
        width: 100vw;
        height: auto;
    }

    /* Mobile Slider Text - Bottom position */
    .slide-texts {
        top: -21vw;
    }

    .slide-text {
        top: auto;
        bottom: 15%;
        left: 5%;
        right: auto;
        max-width: 90%;
        transform: translateY(30px);
    }

    .slide-text.active {
        transform: translateY(0);
    }

    .slide-text h1 {
        font-size: 2rem;
        line-height: 1.4;
    }

    .slide-text p {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
        line-height: 1.6;
    }

    /* モバイル用ナビゲーション - 小さめ */
    .slider-nav {
        width: 36px;
        height: 36px;
    }

    .slider-nav svg {
        width: 18px;
        height: 18px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    /* モバイル用ドット - 小さめ */
    .slider-pagination {
        bottom: 20px;
        gap: 8px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .deco-img-1 {
        top: 59%;
        left: auto;
        right: -10%;
        width: min(63vw, 375px);
    }

    .deco-img-2 {
        top: 77%;
        left: -10%;
        width: min(79vw, 375px);
    }

    .deco-img-3 {
        top: -7%;
        left: 24%;
        width: min(70vw, 365px);
    }

    .scroll-indicator {
        bottom: 15px;
    }

    .scroll-line {
        height: 40px;
    }

    /* About */
    #about {
        padding: 60px 20px;
    }

    /* Talents - Physics Area */

    .talents-container {
        padding-top: 36vw;
        padding-bottom: 30vw;
    }

    #talents .section-title {
        left: 50%;
        transform: translateX(-50%);
    }

    .talent-physics-area {
        height: 73vh;
        min-height: 400px;
    }

    .view-more.talents-view-more {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Videos */

    #videos {
        padding: 30vw 0 18vw;
    }

    #videos .section-title {
        text-align: center;
    }

    .floating-decos-smart {
        top: -17vw;
        left: 8%;
        width: 70vw;
        height: 70vw;
    }

    .floating-decos-smart img {
        width: 100%;
        height: 100%;
    }

    .video-grid .video-item {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: auto;
    }

    /* News */

    .news-filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    .news-content {
        width: 60%;
        padding: 15px;
    }

    .news-item a {
        gap: 0;
    }

    .news-thumb {
        width: 40%;
    }

    .news-title {
        font-size: 0.9rem;
    }

    /* VIEW MOREボタン - スマホ用センタリング */
    .view-more {
        position: relative;
        left: 0;
        transform: none;
        margin: min(8vw, 50px) auto 0;
    }

    .view-more:hover {
        transform: scale(1.05);
    }

    /* Event - スマホ用 */
    #events {
        padding-top: 40vw;
    }
    
    #mirrorball-container {
        top: -12vw;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 50vw;
        height: 50vw;
    }

    #mirrorball-container canvas {
        display: block;
        width: 50vw;
        height: 50vw;
    }

    #events .section-title {
        text-align: center;
    }

    .laser-beam {
        top: 0;
        right: 50vw;
        width: 3px;
    }

    .sparkles span {
        width: 4px;
        height: 4px;
    }

    .event-horizontal-swiper .swiper-slide {
        width: 260px !important;
    }

    .event-prev,
    .event-next {
        width: 40px !important;
        height: 40px !important;
    }

    .event-prev::after,
    .event-next::after {
        font-size: 14px !important;
    }

    .event-prev {
        left: 10px !important;
    }

    .event-next {
        right: 10px !important;
    }

    .event-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    /* Footer */
    footer {
        padding: 60px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {

    .arc-slider {
        width: 800px;
        height: 560px;
    }

    .slide-item {
        width: 800px;
        height: 560px;
    }

    .slide-text {
        top: 71%;
        max-width: 100%;
    }

    .deco-img-1 {
        top: 48%;
        left: -4%;
    }

    .deco-img-3 {
        top: -20%;
        left: 13%;
    }

}

/* =========================================
   TALENT DETAIL PAGE
   ========================================= */

.talent-detail {
    min-height: 100vh;
    background: var(--color-bg);
}

/* ヘッダーセクション */
.talent-detail-header {
    width: 100%;
    padding: 120px 0 60px;
    background: linear-gradient(180deg, rgba(255, 20, 147, 0.08) 0%, rgba(138, 43, 226, 0.04) 50%, transparent 100%);
    position: relative;
}

.talent-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 20, 147, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.talent-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.talent-detail-hero-group {
    grid-template-columns: 1.2fr 0.8fr;
}

/* 画像スワイパー */
.talent-detail-images {
    position: relative;
    max-width: 420px;
}

.talent-detail-images-wide {
    max-width: 600px;
}

.talent-swiper {
    border-radius: 20px;
    overflow: hidden;
}

.talent-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 4.2;
}

.talent-detail-images .swiper-horizontal {
    aspect-ratio: 3 / 4.2;
}

.talent-detail-images-wide .swiper-slide img {
    aspect-ratio: 4 / 3;
}

.talent-swiper .swiper-pagination {
    bottom: 20px;
}

.talent-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.talent-swiper .swiper-pagination-bullet-active {
    background: var(--color-main);
    transform: scale(1.2);
}

.talent-single-image {
    border-radius: 20px;
    overflow: hidden;
}

.talent-single-image img {
    width: 100%;
    height: auto;
}

/* カバー画像（グループ用） */
.talent-cover-image {
    border-radius: 20px;
    overflow: hidden;
}

.talent-cover-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 基本情報 */
.talent-detail-info {
    padding: 10px 0;
}

.talent-detail-group {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.talent-detail-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.talent-detail-romaji {
    font-family: var(--font-heading);
    font-size: .7rem;
    color: var(--color-main);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.talent-belonging-to {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.5rem;
}

.talent-belonging-to > p {
    font-size: .75rem;
}

.talent-belonging-to .group-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-main);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-main);
}

.talent-belonging-to .group-link .external-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.talent-belonging-to .group-link:hover {
    background: var(--color-main);
    color: #fff;
    border-color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.talent-belonging-to .group-link:hover .external-icon {
    opacity: 1;
}

/* SNSリンク（既存デザインを継承） */
.talent-detail-sns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.talent-detail-sns .sns-icon {
    width: 36px;
    height: 36px;
}

.talent-detail-sns .sns-icon svg {
    width: 16px;
    height: 16px;
}

/* 公式サイト・オンラインショップボタン */
.talent-detail-buttons,
.talent-detail-shop {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.official-site-button,
.shop-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--color-main);
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--color-main);
}

.official-site-button:hover,
.shop-button:hover {
    background: transparent;
    color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.official-site-button .external-icon,
.shop-button .shop-icon {
    flex-shrink: 0;
}

/* インライン説明文（グループ詳細用） */
.description-content-inline {
    margin-top: 2rem;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--color-text);
    padding-left: 0;
    border-left: none;
}

.description-content-inline p {
    margin-bottom: 1em;
}

.description-content-inline p:last-child {
    margin-bottom: 0;
}

/* メタ情報 */
.talent-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
}

.talent-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.talent-detail-meta .meta-item:last-child {
    border-bottom: none;
}

.talent-detail-meta .meta-label {
    font-size: 0.7rem;
    color: var(--color-main);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    min-width: 100px;
    flex-shrink: 0;
}

.talent-detail-meta .meta-value {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 400;
}

/* 説明文セクション */
.talent-detail-description {
    padding: 70px 0;
    position: relative;
}

.talent-detail-description .container {
    max-width: 800px;
}

.description-content {
    font-size: .85em;
    line-height: 1.8;
    color: var(--color-text);
    position: relative;
}

.description-content p {
    margin-bottom: 1.5em;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* 実績セクション */
.talent-detail-achievements {
    padding: 70px 0;
    background: linear-gradient(180deg, rgba(255, 20, 147, 0.04) 0%, rgba(138, 43, 226, 0.02) 100%);
    position: relative;
}

.talent-detail-achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.3), transparent);
}

.talent-detail-achievements .container {
    max-width: 800px;
}

.talent-detail-achievements .section-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-main);
    margin-bottom: 24px;
    letter-spacing: 0.15em;
}

.common-section-title {
    padding-bottom: 2rem;
}

.achievements-content {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.03);
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.achievements-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.achievements-content li:last-child {
    margin-bottom: 0;
}

.achievements-content li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-main);
    font-size: 0.7em;
    top: 0.4em;
}

/* メンバー一覧セクション */
.talent-detail-members {
    width: 100%;
    padding: 40px 0;
    position: relative;
}

.talent-detail-members .section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-main);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.15em;
}

.talent-detail-members .members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

/* メンバーカード（タレントカードと統一デザイン） */
.member-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(231, 2, 91, 0.25);
}

.member-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-card-image img {
    transform: scale(1.1);
}

.member-color-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.member-card-info {
    padding: 15px;
    text-align: center;
}

.member-card-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}

.member-card-romaji {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--color-main);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* メンバーカード追加情報（ニックネーム・担当カラー） */
.member-card-extra {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: left;
}

.member-card-nickname,
.member-card-color {
    font-size: 0.72rem;
    display: flex;
    gap: 2px;
}

.member-card-label {
    color: #888;
    flex-shrink: 0;
}

.member-card-value {
    color: #555;
    font-weight: 500;
}

/* メンバーカードリンク */
.member-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* メンバーカードSNS */
.member-card-sns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0 .25rem 20px;
}

.member-card-sns .sns-icon {
    width: 28px;
    height: 28px;
}

.member-card-sns .sns-icon svg {
    width: 14px;
    height: 14px;
}

/* 戻るリンク */
.talent-detail-back {
    padding: 60px 0 80px;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    color: var(--color-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-main);
    border-radius: 30px;
    transition: all 0.3s ease;
    background: transparent;
}

.back-link:hover {
    background: var(--color-main);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
    transform: translateY(-2px);
}

.back-arrow {
    font-size: 1.2rem;
}

/* レスポンシブ */
@media (max-width: 768px) {

    .talent-detail-header {
        padding: 18vw 0 8vw;
    }

    .talent-detail-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: min(7vw, 60px);
    }

    .talent-detail-hero-group {
        grid-template-columns: 1fr;
    }

    .talent-detail-images {
        max-width: 90%;
        margin: 0 auto;
    }

    .talent-detail-images-wide {
        max-width: 100%;
    }

    .talent-swiper {
        border-radius: 16px;
    }

    .talent-detail-name {
        font-size: 1.8rem;
        text-align: center;
        margin-top: 0;
    }

    .talent-detail-romaji {
        text-align: center;
    }

    .talent-detail-group .group-link {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .talent-detail-sns .sns-icon {
        width: 34px;
        height: 34px;
    }

    .talent-detail-meta {
        margin-top: 20px;
    }

    .talent-detail-meta .meta-item {
        padding: 10px 0;
        gap: 12px;
    }

    .talent-detail-meta .meta-label {
        min-width: 85px;
        font-size: 0.65rem;
    }

    .talent-detail-meta .meta-value {
        font-size: 0.9rem;
    }

    .talent-detail-description,
    .talent-detail-achievements {
        padding: 40px 0;
    }

    .achievements-content {
        padding: 20px;
    }

    .talent-detail-members {
        padding: 10vw 0;
    }

    .talent-detail-members .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .member-card-info {
        padding: 15px;
    }

    .member-card-name {
        font-size: 0.95rem;
    }

    .member-card-nickname,
    .member-card-color {
        flex-direction: column;
    }

    .member-card-label {
        font-size: .58rem;
    }

    .member-card-value {
        padding-left: .5rem;
    }

    .talent-detail-back {
        padding: 40px 0;
    }
}

/* タレント詳細ページ タブレット対応 */
@media (min-width: 769px) and (max-width: 1200px) {
    .talent-detail-members .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   Event Archive Page
   ========================================= */
.event-archive {
    min-height: 100vh;
    background-color: var(--color-bg);
}

.event-list-section {
    overflow: hidden;
    padding: 60px 0 100px;
}

/* カテゴリブロック */
.event-category-block {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.event-category-block:nth-child(2) {
    animation-delay: 0.3s;
}

.event-category-block:nth-child(3) {
    animation-delay: 0.4s;
}

.event-category-block:last-child {
    margin-bottom: 0;
}

.event-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--color-main);
}

.event-category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-main);
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.event-category-sns {
    display: flex;
    gap: 10px;
}

.event-category-sns .sns-icon {
    width: 32px;
    height: 32px;
}

.event-category-sns .sns-icon svg {
    width: 18px;
    height: 18px;
}

.event-category-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 30px;
}

/* イベントカテゴリスライダー */
.event-category-slider {
    position: relative;
    padding: 0;
    margin: 0 -40px;
}

.event-category-slider .swiper {
    overflow-x: clip;
    padding: 40px;
}

.event-category-swiper {
    overflow: visible;
    padding: 15px 0;
    margin: -15px 0;
}

.event-category-swiper .swiper-wrapper {
    overflow: visible;
}

.event-category-swiper .swiper-slide {
    height: auto;
}

/* スライダー無効時（グリッド表示） */
.event-category-slider.slider-disabled .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    transform: none !important;
}

.event-category-slider.slider-disabled .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
}

.event-category-slider.slider-disabled .event-cat-prev,
.event-category-slider.slider-disabled .event-cat-next {
    display: none;
}

/* スライダーナビゲーション（トップページと統一） */
.event-cat-prev,
.event-cat-next {
    color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 20, 147, 0.6) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    transition: all 0.3s ease !important;
}

.event-cat-prev:hover,
.event-cat-next:hover {
    background: var(--color-main) !important;
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.event-cat-prev::after,
.event-cat-next::after {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.event-cat-prev {
    left: 20px !important;
}

.event-cat-next {
    right: 20px !important;
}

.event-cat-prev.swiper-button-disabled,
.event-cat-next.swiper-button-disabled {
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.event-archive .event-card {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(231, 2, 91, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-archive .event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(231, 2, 91, 0.25);
}

.event-archive .event-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.event-archive .event-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.event-archive .event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-archive .event-card-noimage {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-main-pale) 0%, var(--color-accent-lavender) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-archive .event-card-content {
    padding: 20px;
}

.event-archive .event-card-date {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.event-archive .event-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
}

.no-events {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-light);
    font-size: 1.1rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid rgba(255, 20, 147, 0.1);
}

/* 戻るリンク */
.event-back {
    padding: 40px 0 100px;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .event-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .page-header {
        padding: 18vw 0 3vw;
    }

    .page-title {
        padding: 8vw 4vw 0;
    }

    .event-list-section {
        padding: 40px 0 70px;
    }

    .event-category-block {
        margin-bottom: 50px;
    }

    .event-category-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .event-category-title {
        font-size: 1.4rem;
    }

    .event-category-sns .sns-icon {
        width: 28px;
        height: 28px;
    }

    .event-category-sns .sns-icon svg {
        width: 14px;
        height: 14px;
    }

    .event-category-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* スライダー無効時（モバイル） */
    .event-category-slider.slider-disabled .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* スライダーナビゲーション（モバイル：非表示） */
    .event-cat-prev,
    .event-cat-next {
        display: none !important;
    }

    .event-archive .event-card-content {
        padding: 15px;
    }

    .event-archive .event-card-date {
        font-size: 0.8rem;
    }

    .event-archive .event-card-title {
        font-size: 0.9rem;
    }

    .event-back {
        padding: 30px 0 70px;
    }
}

@media (max-width: 480px) {
    .event-category-slider.slider-disabled .swiper-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* モバイルメニュー - 小さい画面向け調整 */
    .mobile-menu-inner {
        padding: 60px 15px 30px;
    }

    .mobile-menu-list a {
        padding: 12px 20px;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

/* =========================================
   Default Page (汎用固定ページ)
   ========================================= */

.page-content-section {
    padding: 60px 0 80px;
}

.page-content {
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-content h2 {
    margin: 2em 0 1em;
    padding-bottom: 0.5em;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-main);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    margin: 1.5em 0 0.8em;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.page-content p {
    margin: 1em 0;
    line-height: 2;
    color: var(--color-text);
}

.page-content ul,
.page-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.page-content li {
    margin: 0.5em 0;
    line-height: 1.8;
}

.page-content a {
    color: var(--color-main);
    text-decoration: underline;
}

.page-content a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .page-content-section {
        padding: 40px 0 60px;
    }

    .page-content {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .page-content h2 {
        font-size: 1.3rem;
    }

    .page-content h3 {
        font-size: 1.1rem;
    }
}

/* =========================================
   About Page
   ========================================= */
.about-page {
    background: var(--color-bg-gradient-start);
}

.about-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 80px 20px;
    background: #000;
}

.about-hero .about-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-hero .about-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero .about-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.about-hero .container {
    position: relative;
    z-index: 1;
    mix-blend-mode: difference;
}

/* 会社概要セクション */
.company-info {
    padding: min(10vw, 100px) 0;
    background: linear-gradient(
        318deg,
        var(--color-bg-gradient-start) 0%,
        var(--color-main-pale) 50%,
        var(--color-bg-gradient-end) 100%
    );
}

.company-info .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: min(20vw, 120px);
}

.company-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.company-table-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(217, 51, 128, 0.1);
}

.company-table tr {
    border-bottom: 1px solid rgba(217, 51, 128, 0.1);
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th,
.company-table td {
    padding: 24px 30px;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 160px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-main);
    background: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.company-table td {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
}

.company-note {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

.map-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    margin-top: 16px;
    padding: 10px 20px;
    background: var(--color-main);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50vw;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-button:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 51, 128, 0.3);
}

.map-button svg {
    flex-shrink: 0;
}

/* 会社SNSリンク */
.company-sns {
    margin-top: 50px;
    text-align: center;
}

.company-sns-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.company-sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 240, 245, 0.9));
    border-radius: 50%;
    color: var(--color-main);
    transition: all 0.3s ease;
}

.company-sns-link:hover {
    background: var(--color-main);
    border-color: var(--color-main);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.3);
}

.company-sns-link svg {
    width: 22px;
    height: 22px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .about-hero {
        min-height: 50vh;
        padding: 60px 20px;
    }

    .company-info .section-title {
        margin-bottom: 40px;
        font-size: 10vw;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 16px 20px;
    }

    .company-table th {
        padding-bottom: 8px;
        background: transparent;
        border-bottom: none;
    }

    .company-table td {
        padding-top: 0;
    }

    .company-table tr {
        display: block;
        padding: 8px 0;
    }
}

/* =========================================
   News Archive Page
   ========================================= */

.news-archive-section .news-filter {
    margin-bottom: 40px;
}

.news-archive-list {
    max-width: 1200px;
    margin: 0 auto;
}

/* もっと見るボタン */
.load-more-wrapper {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-main);
    background: transparent;
    border: 2px solid var(--color-main);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    color: #fff;
    background: var(--color-main);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 51, 128, 0.3);
}

.load-more-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* =========================================
   Single Post Page
   ========================================= */
.single-post-page {
    background: var(--color-bg-gradient-start);
}

.single-post {
    background: linear-gradient(
        180deg,
        var(--color-bg-gradient-start) 0%,
        var(--color-main-pale) 50%,
        var(--color-bg-gradient-end) 100%
    );
}

.single-post.section-padding {
    padding: min(8vw, 60px) 0;
}

.container.narrow {
    max-width: 800px;
}

/* 記事ヘッダー */
.post-header {
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.post-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #888;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-main);
    border-radius: 4px;
}

.post-title {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
}

/* アイキャッチ画像 */
.post-thumbnail {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 記事本文 */
.post-content {
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(217, 51, 128, 0.1);
    margin-bottom: 60px;
}

.post-content p {
    line-height: 2;
}

.post-content h2 {
    margin: 2em 0 1em;
    font-size: 1.4rem;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-main-pale);
}

.post-content h3 {
    margin: 1.5em 0 0.8em;
    font-size: 1.2rem;
    font-weight: 700;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.post-content a {
    color: var(--color-main);
    text-decoration: underline;
}

.post-content ul,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.post-content li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

/* 記事ナビゲーション */
.post-navigation {
    display: block;
    justify-content: center;
    margin-top: 60px;
    backdrop-filter: unset;
    background: transparent;
    box-shadow: none;
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.post-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-main);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-main);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    color: #fff;
    background: var(--color-main);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 51, 128, 0.3);
}

.post-nav-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.post-nav-link.list {
    background: var(--color-main);
    color: #fff;
}

.post-nav-link.list:hover {
    background: var(--color-accent);
}

.nav-arrow {
    font-size: 1.2rem;
}

/* イベント詳細ページ */
.event-info-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.9));
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.1);
}

.event-info-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 105, 180, 0.2);
}

.event-info-item:last-child {
    border-bottom: none;
}

.event-info-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-main);
    min-width: 60px;
}

.event-info-value {
    font-size: 1rem;
    color: var(--color-text);
}

.event-external-link {
    font-size: 1rem;
    line-height: 1.8;
}

.event-external-link a {
    color: var(--color-main);
    text-decoration: underline;
    word-break: break-all;
}

.event-external-link a:hover {
    color: var(--color-accent);
}

/* =========================================
   Contact Page
   ========================================= */

.contact-section {
    padding: 60px 0 80px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.contact-intro {
    text-align: center;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 2;
}

.required,
.any {
    background-color: #e33a50;
    color: white;
    font-weight: normal;
    font-size: .7rem;
    padding: .1rem .25rem;
    border-radius: 3px;
    margin-right: .5rem;
}

.any {
    background-color: #858585;
}

.top-bottom-spacer-min {
    width: 100%;
    padding-top: min(10vw, 50px);
    padding-bottom: min(10vw, 50px);
}

.form-inner-tit {
  position: relative;
  margin-bottom: 2em;
  padding: .8em 0;
  font-weight: 700;
  text-align: center;
}

.form-inner-tit::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  margin: auto;
  background-color: var(--color-text);
  top: 0;
  bottom: 0;
  left: 0;
}

.form-inner-tit span {
  position: relative;
  padding: 0.5em 1em;
  background-color: #fbf9f9;
}

.accept-wrap {
    background: #f7f2f2;
    padding: 1rem .5rem;
    border-radius: 8px;
    margin: 1.5em 0;
    border-left: 4px solid #e6658d;
    text-align: center;
}

.accept-wrap .wpcf7-list-item-label {
    gap: .5rem;
}

.accept-wrap p,
.accept-wrap .wpcf7-list-item {
    width: auto;
    margin-bottom: 0 !important;
}

/* Contact Form 7 スタイル */
.wpcf7-form p {
    margin-bottom: 24px;
}

.wpcf7-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    margin-top: .25rem;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.wpcf7-form textarea {
    min-height: 180px;
    resize: vertical;
}

.wpcf7-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 18px 40px;
    background: var(--color-main);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover:not(:disabled) {
    background: var(--color-main-vivid);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}

.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form input[type="submit"].btn-disabled {
    background: #ccc !important;
    color: #888 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

/* バリデーションエラー */
.wpcf7-not-valid {
    border-color: #ff4792 !important;
}

.wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #e74c3c;
}

/* 送信中のスピナー */
.wpcf7-spinner {
    display: block;
    margin: 15px auto 0;
}

/* 送信完了/エラーメッセージ */
.wpcf7-response-output {
    margin: 30px 0 0 !important;
    padding: 20px !important;
    border-radius: 10px !important;
    text-align: center;
    font-size: 0.95rem;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--color-main) !important;
    background: rgba(255, 20, 147, 0.05);
    color: var(--color-main);
}

.wpcf7-mail-sent-ng,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #ff4792 !important;
    background: rgba(231, 76, 60, 0.05);
    color: #ff4792;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #f39c12 !important;
    background: rgba(243, 156, 18, 0.05);
    color: #f39c12;
}

.accep-wrap {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 1.5em 0;
    border-left: 4px solid #ffa1be;
    text-align: center;
}

.accep-wrap p,
.accep-wrap .wpcf7-list-item {
    margin-bottom: 0 !important;
}

/* チェックボックス・ラジオボタン */
.wpcf7-list-item {
    display: inline-block;
    margin-bottom: 12px;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    padding: .8rem 2.5rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50vw;
    transition: all 0.2s ease;
}

.wpcf7-list-item label:hover {
    border-color: var(--color-main-pale);
    background: rgba(255, 20, 147, 0.03);
}

/* デフォルトのinputを非表示 */
.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* カスタムチェックボックス */
.wpcf7-list-item-label {
    display: flex;
    align-items: center;
}

.wpcf7-list-item-label .custom-checkbox {
    display: none;
}

.wpcf7-list-item input[type="checkbox"] + .wpcf7-list-item-label::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex-shrink: 0;
    border: 2px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s ease;
    margin-right: 10px;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: var(--color-main);
    border-color: var(--color-main);
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
    color: var(--color-main);
    font-weight: 500;
}

.wpcf7-list-item:has(input[type="checkbox"]:checked) label {
    border-color: var(--color-main);
    background: rgba(255, 20, 147, 0.05);
}

/* カスタムラジオボタン */
.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
    color: var(--color-main);
    font-weight: 500;
}

.wpcf7-list-item:has(input[type="radio"]:checked) label {
    border-color: var(--color-main);
    background: rgba(255, 20, 147, 0.05);
}

/* ラジオボタン・チェックボックスグループ */
.wpcf7-radio,
.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* accept-wrap内のスタイル調整 */
.accept-wrap .wpcf7-list-item label {
    background: transparent;
    border: none;
    padding: 8px 0;
}

.accept-wrap .wpcf7-list-item label:hover {
    background: transparent;
}

.accept-wrap .wpcf7-list-item:has(input:checked) label {
    background: transparent;
    border: none;
}

/* 必須マーク */
.required-mark {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: var(--color-main);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
}

/* Contact レスポンシブ */
@media (max-width: 768px) {

    .contact-intro {
        font-size: 0.9rem;
    }

    .wpcf7-form input[type="submit"] {
        max-width: 100%;
    }

    /* ラジオ・チェックボックスをモバイルで縦並び */
    .wpcf7-radio,
    .wpcf7-checkbox {
        width: 100%;
        justify-content: center;
    }

    .wpcf7-list-item label {
        font-size: 0.95rem;
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .post-title {
        font-size: 1.4rem;
    }

    .post-content {
        padding: 24px;
    }

    .post-nav-links {
        flex-direction: column;
    }

    .post-nav-link {
        width: 100%;
        justify-content: center;
    }

    .post-nav-link.prev {
        order: 1;
    }

    .post-nav-link.list {
        order: 0;
    }

    .post-nav-link.next {
        order: 2;
    }
}

/* =========================================
   タレント詳細ページ ポップイン演出
   ========================================= */

/* 初期状態（非表示） */
.talent-detail-hero .talent-detail-images,
.talent-detail-hero .talent-detail-info > * {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
}

/* ポップインアニメーション */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    70% {
        transform: scale(1.01) translateY(-1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* アニメーション適用クラス */
.talent-detail-hero .talent-detail-images.pop-in,
.talent-detail-hero .talent-detail-info > .pop-in {
    animation: popIn 0.35s ease-out forwards;
}

/* 各要素に遅延を設定 */
.talent-detail-hero .talent-detail-images.pop-in {
    animation-delay: 0.05s;
}

.talent-detail-hero .talent-detail-info > .pop-in:nth-child(1) {
    animation-delay: 0.1s;
}

.talent-detail-hero .talent-detail-info > .pop-in:nth-child(2) {
    animation-delay: 0.15s;
}

.talent-detail-hero .talent-detail-info > .pop-in:nth-child(3) {
    animation-delay: 0.2s;
}

.talent-detail-hero .talent-detail-info > .pop-in:nth-child(4) {
    animation-delay: 0.25s;
}

.talent-detail-hero .talent-detail-info > .pop-in:nth-child(5) {
    animation-delay: 0.3s;
}

/* メンバーカードのポップイン演出 */
.talent-detail-members .member-card {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
}

.talent-detail-members .member-card.pop-in {
    animation: popIn 0.35s ease-out forwards;
}