/**
 * IDOL TOKYO NEO
 * Front Page & Section Specific Styles
 * (Crystal Sky Blue, Luminous Wings & Neo-Clean Gradient Refinements)
 */

/* ==========================================================================
   1. HERO VISUAL & MARQUEE (右側配置・上端完全整列短冊 ＆ 洗練1段クリスタルマーキー)
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    border-bottom: 1px solid var(--border-thin);
    background-color: transparent;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: contrast(0.98) saturate(0.98);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.4) 100%),
                linear-gradient(to top, rgba(255, 255, 255, 0.65) 0%, transparent 35%);
    pointer-events: none;
}

.hero-inner.hero-inner-vertical {
    z-index: 2;
    width: 100%;
    padding: 0 var(--space-48);
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* --------------------------------------------------------------------------
   縦書き短冊キャッチコピー（上端ライン水平一致・18px・シアー透明感・GPU合成対応）
   -------------------------------------------------------------------------- */
.hero-vertical-catch-group {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: var(--space-16);
    position: relative;
    z-index: 3;
    padding-top: var(--space-32);
    padding-bottom: 70px;
    margin-right: var(--space-24);
    user-select: none;
}

.hero-catch-vertical {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: var(--space-16);
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

/* メイン短冊（文字サイズ18px・白背景不透明度調整・高視認性） */
.v-card {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: var(--font-mincho, 'Shippori Mincho', 'Noto Serif JP', "Yu Mincho", serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.14em;
    color: var(--text-main, #043156);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-sm, 4px);
    padding: 20px 10px;
    box-shadow: 0 12px 30px rgba(4, 49, 86, 0.08), 
                0 2px 8px rgba(2, 132, 199, 0.06),
                inset 0 0 8px rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    display: inline-block;
    opacity: 0;
    transform-origin: top center;
    will-change: transform, opacity;
}

/* 1行目 */
.v-card-1 {
    animation: vCardGrowDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* 2行目 */
.v-card-2 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(224, 242, 254, 0.65) 100%);
    border-color: rgba(165, 243, 252, 0.7);
    color: var(--text-main, #043156);
    box-shadow: 0 14px 32px rgba(4, 49, 86, 0.1), 
                0 0 16px rgba(165, 243, 252, 0.35),
                inset 0 0 8px rgba(255, 255, 255, 0.75);
    animation: vCardGrowDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* サブリード文章 */
.hero-sub-vertical {
    display: flex;
    align-items: flex-start;
    margin-top: 0;
}

.v-card-sub {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: var(--font-mincho, 'Shippori Mincho', 'Noto Serif JP', "Yu Mincho", serif);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.85;
    letter-spacing: 0.12em;
    color: var(--text-navy, #064070);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm, 4px);
    padding: 20px 8px;
    box-shadow: 0 10px 24px rgba(4, 49, 86, 0.06),
                inset 0 0 6px rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
    display: inline-block;
    opacity: 0;
    transform-origin: top center;
    will-change: transform, opacity;
    animation: vCardGrowDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* GPU合成(transform, opacity)による完全60fpsアニメーション */
@keyframes vCardGrowDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -14px, 0) scaleY(0.94);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scaleY(1);
    }
}

.hero-vertical-catch-group:hover .v-card {
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   洗練スリム・1段クリスタルマーキー（高さ42px・超透明すりガラスティッカー）
   -------------------------------------------------------------------------- */
.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 4px 16px rgba(4, 49, 86, 0.04);
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: background-color 0.5s ease;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: marquee-left 48s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-text {
    font-family: var(--font-en);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-main, #043156);
    padding-right: var(--space-48);
    display: inline-flex;
    align-items: center;
}

.marquee-text .accent-dot {
    color: var(--accent-cyan-deep, #0284C7);
    margin-right: 6px;
}

@keyframes marquee-left {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   2. INTRODUCTION (3D FLOATING FRAMES & CAROUSEL with Enhanced Box Shadow)
   ========================================================================== */
.campaign-gallery-section {
    position: relative;
    z-index: 5;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1060px;
    perspective: 1200px;
    box-sizing: border-box;
    background-color: transparent;
    padding-top: 80px;
    padding-bottom: 80px;
}

.gallery-center-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 var(--space-16);
}

.gallery-intro-top,
.gallery-intro-bottom {
    position: relative;
    z-index: 10;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 0 32px #FFFFFF;
}

.gallery-intro {
    font-family: var(--font-en);
    color: var(--accent-cyan-deep, #0284C7);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: var(--space-16);
    text-transform: uppercase;
}

.gallery-title {
    font-family: var(--font-mincho, 'Shippori Mincho', 'Noto Serif JP', serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 44px;
    color: var(--text-main, #043156);
    margin-bottom: var(--space-32);
    letter-spacing: 0.08em;
}

.gallery-desc {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-navy, #064070);
    line-height: 28px;
    margin-top: var(--space-32);
    letter-spacing: 0.5px;
}

/* メインバナーカルーセル */
.intro-banner-carousel {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 6px solid #FFFFFF;
    box-shadow: 0 24px 56px rgba(4, 49, 86, 0.12), 
                0 8px 24px rgba(2, 132, 199, 0.14),
                inset 0 0 0 1px rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-sizing: border-box;
    z-index: 8;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.intro-banner-carousel:hover {
    box-shadow: 0 28px 64px rgba(4, 49, 86, 0.16), 
                0 12px 32px rgba(2, 132, 199, 0.2),
                inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.intro-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.intro-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.intro-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.intro-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(0.98) saturate(0.95);
}

/* 3D浮遊フレーム群 */
.gallery-frame {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    border: 5px solid #FFFFFF;
    box-shadow: 0 20px 44px rgba(4, 49, 86, 0.12), 
                0 6px 18px rgba(2, 132, 199, 0.12),
                inset 0 0 0 1px rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 2;
    box-sizing: border-box;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 2px;
    background-color: #FFFFFF;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    box-sizing: border-box;
    filter: contrast(0.98) saturate(0.95);
}

.gallery-img.active {
    opacity: 1;
}

.frame-1 .gallery-img,
.frame-4 .gallery-img,
.frame-6 .gallery-img {
    transform: rotate(90deg) scale(1.35);
}

.frame-3 .gallery-img {
    transform: rotate(-90deg) scale(1.35);
}

.frame-1 {
    width: 215px;
    height: 285px;
    top: 5%;
    left: calc(50% - 584px);
    animation: float-1 12s infinite ease-in-out alternate;
}

.frame-2 {
    width: 265px;
    height: 175px;
    top: 7%;
    left: calc(50% + 376px);
    animation: float-2 14s infinite ease-in-out alternate;
}

.frame-3 {
    width: 195px;
    height: 195px;
    top: 40%;
    left: calc(50% - 726px);
    animation: float-3 10s infinite ease-in-out alternate;
}

.frame-4 {
    width: 225px;
    height: 305px;
    top: 36%;
    left: calc(50% + 516px);
    animation: float-4 15s infinite ease-in-out alternate;
}

.frame-5 {
    width: 185px;
    height: 135px;
    top: 75%;
    left: calc(50% - 530px);
    animation: float-5 11s infinite ease-in-out alternate;
}

.frame-6 {
    width: 205px;
    height: 265px;
    top: 73%;
    left: calc(50% + 380px);
    animation: float-6 13s infinite ease-in-out alternate;
}

@keyframes float-1 {
    0%   { transform: translate3d(0, 0, 0) rotateZ(-5deg); }
    100% { transform: translate3d(14px, -12px, 24px) rotateZ(-1deg); }
}

@keyframes float-2 {
    0%   { transform: translate3d(0, 0, 0) rotateZ(4deg); }
    100% { transform: translate3d(-14px, 14px, 30px) rotateZ(7deg); }
}

@keyframes float-3 {
    0%   { transform: translate3d(0, 0, 0) rotateZ(-7deg); }
    100% { transform: translate3d(16px, 12px, 18px) rotateZ(-3deg); }
}

@keyframes float-4 {
    0%   { transform: translate3d(0, 0, 0) rotateZ(5deg); }
    100% { transform: translate3d(-16px, -16px, 32px) rotateZ(2deg); }
}

@keyframes float-5 {
    0%   { transform: translate3d(0, 0, 0) rotateZ(-8deg); }
    100% { transform: translate3d(12px, 16px, 14px) rotateZ(-4deg); }
}

@keyframes float-6 {
    0%   { transform: translate3d(0, 0, 0) rotateZ(7deg); }
    100% { transform: translate3d(-12px, -12px, 24px) rotateZ(10deg); }
}

/* ==========================================================================
   3. NEWS SECTION (PORTAL 3-COL PC / 2-COL SP CARD GRID)
   ========================================================================== */
.news-section {
    position: relative;
    z-index: 2;
}

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--space-32);
    row-gap: var(--space-48);
    width: 100%;
    box-sizing: border-box;
}

.news-card-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

/* サムネイル画像枠 (アスペクト比 4:3 黄金比率 & 上部12%優先) */
.news-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm, 4px);
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.6) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(254, 235, 237, 0.6) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 6px 18px rgba(4, 49, 86, 0.06);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.news-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center 12% !important;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: contrast(0.98) saturate(0.98);
}

.news-card-thumb[src*="placeholder.svg"],
.news-card-thumb:not([src]) {
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #E0F2FE 0%, #FFFFFF 50%, #FDEBED 100%);
    opacity: 0.85;
}

.news-card-link:hover .news-card-thumb-wrap {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.18);
}

.news-card-link:hover .news-card-thumb {
    transform: scale(1.04);
}

/* カード本文 (日付 + カテゴリ + ハイフン線 + タイトル) */
.news-card-body {
    padding-top: var(--space-12);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    font-size: 13px;
    line-height: 1.2;
}

.news-card-date {
    font-family: var(--font-num);
    font-weight: 700;
    color: var(--text-navy, #064070);
    letter-spacing: 0.5px;
}

.news-card-cat {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-cyan-deep, #0284C7);
}

.news-card-cat.badge-campaign {
    color: #059669;
}

.news-card-cat.badge-important {
    color: var(--accent-pink, #FF4B82);
}

.news-card-cat.badge-schedule {
    color: #0284C7;
}

/* 日付とタイトルの間のアクセントハイフン線 */
.news-card-line {
    width: 24px;
    height: 1.5px;
    background-color: var(--accent-cyan-deep, #0284C7);
    margin: 8px 0 10px 0;
    opacity: 0.6;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.news-card-link:hover .news-card-line {
    width: 36px;
    opacity: 1;
}

.news-card-title {
    font-family: var(--font-jp);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main, #043156);
    line-height: 24px;
    letter-spacing: 0.4px;
    margin: 0;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
    transition: color 0.3s ease;
}

.news-card-link:hover .news-card-title {
    color: var(--accent-cyan-deep, #0284C7);
}

.empty-news-box {
    grid-column: 1 / -1;
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card, 0 10px 30px rgba(4, 49, 86, 0.08));
    box-sizing: border-box;
}

/* ==========================================================================
   4. LAST CALL (EMOTIONAL ENCORE & NEON PINK 3D CAROUSEL)
   ========================================================================== */
.last-call {
    z-index: 2;
    overflow: hidden;
}

.lc-carousel-container {
    position: relative;
    width: 100%;
    height: 490px;
    perspective: 1200px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin: 0 auto;
}

.lc-card-wrapper {
    position: absolute;
    width: 480px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, z-index 0.6s ease;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    box-sizing: border-box;
}

.lc-card-wrapper.active {
    pointer-events: auto;
}

.last-call-frame {
    background: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-24);
    position: relative;
    box-shadow: var(--shadow-card, 0 10px 30px rgba(4, 49, 86, 0.08));
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.35s ease;
}

.lc-card-wrapper:hover .last-call-frame {
    box-shadow: var(--shadow-hover, 0 18px 40px rgba(2, 132, 199, 0.15));
}

.last-call-frame::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    pointer-events: none;
    border-radius: var(--radius-sm);
}

.lc-timer-block-outer {
    text-align: center;
    margin-bottom: var(--space-12);
    position: relative;
}

.lc-timer {
    font-family: var(--font-num);
    font-size: 38px;
    font-weight: 700;
    background: linear-gradient(135deg, #0284C7 0%, #38BDF8 50%, #FF4B82 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: 4px;
    filter: drop-shadow(0 2px 12px rgba(56, 189, 248, 0.35));
    display: inline-block;
}

.lc-container {
    gap: var(--space-12);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lc-badge-time-wrap {
    width: 100%;
    text-align: center;
}

.lc-badge-time-text {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-cyan-deep, #0284C7);
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(254, 226, 226, 0.6) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 16px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}

.lc-cast-block {
    display: flex;
    align-items: stretch;
    gap: var(--space-16);
    width: 100%;
}

.lc-cast-avatar-wrap {
    position: relative;
    width: 160px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.lc-cast-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    filter: contrast(0.98) saturate(0.95);
}

.lc-card-wrapper:hover .lc-cast-avatar {
    transform: scale(1.04);
}

.lc-cast-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lc-tags-row {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.lc-tag-primary {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%));
    color: var(--text-main, #043156);
    border: 1px solid rgba(255, 255, 255, 0.9);
    font-size: 10px;
    padding: 2.5px 9px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    display: inline-block;
    font-family: var(--font-jp);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(56, 189, 248, 0.15);
}

.lc-tag-stay {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-main, #043156);
    border: 1px solid var(--border-accent);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-block;
    font-family: var(--font-jp);
}

.lc-name-row {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-8);
    color: var(--text-main, #043156);
}

.lc-slogan-text {
    margin-bottom: var(--space-8);
    padding-left: var(--space-8);
    border-left: 2px solid var(--accent-cyan, #38BDF8);
    font-size: 12px;
    color: var(--text-muted, #537593);
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.lc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background-color: rgba(248, 250, 252, 0.9);
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    margin-bottom: 0;
    box-sizing: border-box;
}

.lc-stats-grid .cast-stats-item {
    font-size: 10px;
    color: var(--text-muted, #537593);
}

.lc-stats-grid .cast-stats-val {
    font-size: 12px;
    color: var(--text-main, #043156);
    font-weight: 700;
}

.lc-price-discount-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: var(--space-8);
    width: 100%;
}


.lc-price-new {
    font-family: var(--font-jp);
    font-size: 18px;
    color: var(--accent-pink, #FF4B82);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 75, 130, 0.25);
}

.lc-departure-box,
.cast-departure-box {
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    width: 100%;
}

.lc-departure-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-main, #043156);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.7) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    display: block;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.4;
    word-break: break-all;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.cast-departure-text {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-main, #043156);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    display: block;
    text-align: center;
    letter-spacing: 0.3px;
    line-height: 1.4;
    word-break: break-all;
    box-sizing: border-box;
}

/* ==========================================================================
   5. NOW ON SALE & SCHEDULE & IDOL SECTION (濁りのないクリアな空間遷移)
   ========================================================================== */
.now-on-sale {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.now-on-sale .container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    padding-left: var(--space-48);
    padding-right: var(--space-48);
}

.scroll-container {
    display: flex;
    gap: var(--space-16);
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-16) 0 var(--space-32) 0;
    margin: 0;
    cursor: grab;
    user-select: none;
    touch-action: pan-x pan-y;
}

.scroll-container.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.scroll-container img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* キャストカード */
.cast-card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    background-color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card, 0 10px 30px rgba(4, 49, 86, 0.08));
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    overflow: hidden;
}

.cast-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover, 0 18px 40px rgba(2, 132, 199, 0.15));
}

.scroll-container .cast-card {
    min-width: 224px;
    width: 224px;
}

.cast-grid .cast-card,
.schedule-grid .cast-card {
    min-width: 0;
    width: 100%;
}

.cast-img-wrap {
    position: relative;
    padding-top: 126%;
    overflow: hidden;
    background-color: var(--bg-base);
}

.cast-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.98;
    transition: transform 0.5s ease, opacity 0.3s;
    filter: contrast(0.98) saturate(0.95);
}

.cast-card:hover .cast-img {
    transform: scale(1.05);
    opacity: 1;
}

.cast-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-48) var(--space-16) var(--space-16);
    background: linear-gradient(to top, rgba(4, 49, 86, 0.85) 0%, transparent 100%);
    z-index: 1;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
}

.cast-name {
    font-family: var(--font-jp);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cast-age {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-num);
    font-weight: 500;
}

.cast-info {
    padding: var(--space-16);
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   SCHEDULE セクション（白濁オーバーレイ完全撤廃・クリアな暗転）
   -------------------------------------------------------------------------- */
.schedule.stage-transition-wrap {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    padding-top: 60px;
}

.schedule::before,
.boys-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/idol-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* 白濁フォグを完全に非表示化 */
.stage-transition-overlay {
    display: none !important;
}

.boys-list {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.boys-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent 0%, #0C192C 100%);
    pointer-events: none;
    z-index: 1;
}

.schedule .container,
.boys-list .container {
    position: relative;
    z-index: 2;
}

.schedule-tabs,
.filter-controls {
    display: flex;
    justify-content: flex-start;
    gap: var(--space-16);
    margin-bottom: var(--space-40);
    position: relative;
    z-index: 2;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: var(--space-8);
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.schedule-tab,
.filter-btn {
    padding: var(--space-16) var(--space-32);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(165, 243, 252, 0.25);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFFFFF;
    transition: all 0.3s;
    flex-shrink: 0;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.schedule-tab.active,
.schedule-tab:hover,
.filter-btn.active,
.filter-btn:hover {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%)) !important;
    color: var(--text-main, #043156) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 20px rgba(165, 243, 252, 0.5);
}

.time-badge {
    font-family: var(--font-num);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main, #043156);
    letter-spacing: 1.5px;
    background-color: rgba(165, 243, 252, 0.2);
    padding: 6px 12px;
    border: 1px dashed rgba(56, 189, 248, 0.4);
    display: inline-block;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   6. DIARY (PHONE MOCKUP LAYOUT with phon.png & 額縁フレームカード)
   ========================================================================== */
.diary-grid {
    display: block;
}

.diary-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.diary-carousel-container {
    position: relative;
    width: 100%;
    max-width: 816px;
    margin: 0 auto;
}

.diary-pho-wrapper {
    position: relative;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.4s ease;
    box-sizing: border-box;
}

.diary-pho-wrapper.large {
    max-width: 800px;
    margin: 0 auto;
}

.pho-frame-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 0 24px rgba(165, 243, 252, 0.35));
}

.pho-content-area {
    position: absolute;
    background-color: var(--bg-base);
    color: var(--text-main);
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

/* 横向きiPhoneモックアップ (phon.png) の液晶有効領域に合わせた最適マージン */
.diary-pho-wrapper.large .pho-content-area {
    top: 6.8%;
    bottom: 6.8%;
    left: 9.8%;
    right: 9.8%;
    z-index: 1;
    border-radius: 6px;
}

.pho-content-left {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pho-content-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(0.98) saturate(0.95);
}

.pho-content-right {
    width: 50%;
    height: 100%;
    padding: var(--space-24);
    display: flex;
    flex-direction: column;
    background-color: var(--bg-surface);
    color: var(--text-main);
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.diary-pho-wrapper.large .diary-title {
    font-size: 20px;
    margin-bottom: var(--space-16);
    font-weight: 700;
    color: var(--text-main, #043156);
}

.diary-pho-wrapper.large .diary-title a {
    color: var(--text-main, #043156);
    transition: color 0.3s ease;
}

.diary-pho-wrapper.large .diary-title a:hover {
    color: var(--accent-cyan-deep, #0284C7);
}

.diary-pho-wrapper.large .diary-desc {
    font-size: 14px;
    line-height: 24px;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    overflow: hidden;
    color: var(--text-muted, #537593);
}

.diary-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-cyan-deep, #0284C7);
    font-family: var(--font-num);
    margin-bottom: var(--space-16);
    border-bottom: 1px solid var(--border-thin);
    padding-bottom: var(--space-8);
}

/* 下段 額縁調フレームカード */
.diary-row-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
    width: 100%;
    max-width: 816px;
    margin: var(--space-32) auto 0 auto;
    box-sizing: border-box;
}

.diary-sub-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.diary-sub-frame:hover {
    transform: translateY(-5px) scale(1.02);
}

.diary-frame-inner {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    box-sizing: border-box;
    padding: 6px;
    background: linear-gradient(135deg, #132238 0%, #0C192C 100%);
    border: 2px solid rgba(165, 243, 252, 0.35);
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 
                inset 0 0 8px rgba(0, 0, 0, 0.8),
                inset 0 1px 2px rgba(165, 243, 252, 0.3);
}

.diary-frame-border {
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(165, 243, 252, 0.2);
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
    transition: border-color 0.3s ease;
}

.diary-frame-inner:hover .diary-frame-border {
    border-color: rgba(165, 243, 252, 0.5);
}

.diary-frame-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    background-color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.6);
}

.diary-frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    filter: contrast(0.98) saturate(0.95);
}

.diary-sub-frame:hover .diary-frame-img {
    transform: scale(1.06);
}

.diary-frame-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 10px 8px 10px;
    background: linear-gradient(to top, rgba(12, 25, 44, 0.92) 0%, rgba(12, 25, 44, 0.4) 60%, transparent 100%);
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.diary-frame-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10.5px;
    font-family: var(--font-num);
    color: rgba(224, 242, 254, 0.85);
    letter-spacing: 0.5px;
}

.diary-frame-author {
    font-weight: 700;
    color: #FFFFFF;
    font-family: var(--font-jp);
}

.diary-frame-title {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.35;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   7. SYSTEM SECTION (HYBRID IDOL VIP LIVE STAGE PASS)
   ========================================================================== */
.system-section {
    position: relative;
    z-index: 2;
    padding-top: var(--space-48);
    padding-bottom: var(--space-48);
}

.system-section .container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    padding-left: var(--space-48);
    padding-right: var(--space-48);
}

.system-tabs {
    display: flex;
    gap: var(--space-12);
    margin-bottom: var(--space-32);
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: var(--space-8);
    position: relative;
    z-index: 5;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.system-tab {
    padding: 12px 28px;
    border: 1px solid rgba(165, 243, 252, 0.25);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(224, 242, 254, 0.85);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.system-tab.active {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%)) !important;
    color: var(--text-main, #043156) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 20px rgba(165, 243, 252, 0.45);
}

.system-cards-container {
    display: flex;
    gap: var(--space-24);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 48px 0 40px 0;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    perspective: 1200px;
    touch-action: pan-x pan-y;
}

.system-card.ticket-card {
    min-width: 330px;
    width: 340px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(165, 243, 252, 0.3);
    border-radius: var(--radius-md);
    padding: 0;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0 0 15px rgba(165, 243, 252, 0.2), 
                0 16px 36px rgba(0, 0, 0, 0.5);
    overflow: visible;
    transform: translateY(0);
}

/* RECOMMEND対象カードの特別強調 */
.system-card.ticket-card.is-recommend {
    border-color: rgba(165, 243, 252, 0.8);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 30px rgba(165, 243, 252, 0.4), 0 24px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(-20px);
    z-index: 5;
}

.system-card.ticket-card:hover {
    border-color: rgba(165, 243, 252, 0.7);
    transform: translateY(-10px);
    box-shadow: 0 0 28px rgba(165, 243, 252, 0.4), 0 28px 56px rgba(0, 0, 0, 0.7);
}

.system-card.ticket-card.is-recommend:hover {
    transform: translateY(-28px);
    box-shadow: 0 0 40px rgba(165, 243, 252, 0.6), 0 32px 64px rgba(0, 0, 0, 0.8);
}

/* バッジ */
.system-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    height: 28px;
    padding: 0 18px;
    border-radius: 20px;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 2px;
    white-space: nowrap;
    text-transform: uppercase;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.system-card-badge.badge-dark {
    background: #0C192C !important;
    border: 1px solid rgba(165, 243, 252, 0.4) !important;
    color: #FFFFFF !important;
}

.system-card-badge.badge-dark span {
    color: var(--accent-ice, #A5F3FC) !important;
}

/* RECOMMENDバッジの文字色をディープネイビー（#043156）へ完全統一 */
.system-card-badge.badge-recommend {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%)) !important;
    border: 1px solid #FFFFFF !important;
    color: #043156 !important;
    box-shadow: 0 0 20px rgba(165, 243, 252, 0.7) !important;
}

.system-card-badge.badge-recommend span,
.system-card-badge.badge-recommend * {
    color: #043156 !important;
    font-weight: 900 !important;
    letter-spacing: 2px;
}

/* ① チケット上部ビジュアル枠 */
.system-card-visual {
    width: 100%;
    height: 146px;
    background: linear-gradient(135deg, rgba(165, 243, 252, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(165, 243, 252, 0.15);
}

.system-visual-hologram-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(165, 243, 252, 0.8) 0%, 
        rgba(56, 189, 248, 0.8) 35%, 
        rgba(254, 205, 211, 0.8) 70%, 
        rgba(165, 243, 252, 0.8) 100%
    );
    background-size: 200% 100%;
    animation: hologram-shimmer 6s linear infinite;
    z-index: 3;
}

.ticket-header-meta {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(165, 243, 252, 0.6);
    box-sizing: border-box;
    z-index: 2;
}

.system-visual-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FFFFFF;
    z-index: 2;
    margin-top: 14px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.system-visual-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    max-width: 90%;
    margin: 0 auto;
}

.system-visual-logo-img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(165, 243, 252, 0.5));
    transition: transform 0.4s ease;
}

.system-card.ticket-card:hover .system-visual-logo-img {
    transform: scale(1.06);
}

.system-visual-logo-text {
    font-family: var(--font-en);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(165, 243, 252, 0.5);
    text-align: center;
    line-height: 1.2;
}

.system-visual-serial {
    font-family: var(--font-num);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(165, 243, 252, 0.6);
    text-transform: uppercase;
}

/* チケットノッチ ＆ ミシン目ライン */
.ticket-notch-row {
    position: relative;
    width: 100%;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -9px;
    margin-bottom: -9px;
    z-index: 5;
    pointer-events: none;
}

.ticket-notch {
    width: 18px;
    height: 18px;
    background-color: #0C192C;
    border-radius: 50%;
    position: absolute;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}

.ticket-notch.notch-left {
    left: -9px;
    border-right: 1px solid rgba(165, 243, 252, 0.3);
}

.ticket-notch.notch-right {
    right: -9px;
    border-left: 1px solid rgba(165, 243, 252, 0.3);
}

.ticket-perf-line {
    width: calc(100% - 24px);
    margin: 0 auto;
    border-bottom: 2px dashed rgba(165, 243, 252, 0.25);
}

/* ② チケット本文 */
.system-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    box-sizing: border-box;
}

.system-card-head {
    text-align: center;
    margin-bottom: 8px;
}

.system-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.8px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.system-card-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-num);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent-ice, #A5F3FC);
    letter-spacing: 1px;
    background-color: rgba(165, 243, 252, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid rgba(165, 243, 252, 0.3);
}

.system-card-time .time-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.system-card-desc {
    font-size: 12px;
    font-weight: 500;
    color: #CBD5E1;
    line-height: 20px;
    margin-bottom: 12px;
    text-align: center;
    min-height: 38px;
    letter-spacing: 0.3px;
}

.system-card-price-wrap {
    border-top: 1px dashed rgba(165, 243, 252, 0.2);
    padding-top: 10px;
    margin-bottom: 12px;
    text-align: center;
    box-sizing: border-box;
}

.system-card-price-label {
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 700;
    color: rgba(224, 242, 254, 0.7);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.system-card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}

.system-card-currency {
    font-family: var(--font-num);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-ice, #A5F3FC);
}

.system-card-price {
    font-family: var(--font-num);
    font-size: 30px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-shadow: 0 0 14px rgba(165, 243, 252, 0.4);
}

.system-card-suffix {
    font-family: var(--font-num);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-ice, #A5F3FC);
}

.ticket-mini-barcode-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.ticket-mini-barcode {
    width: 130px;
    height: 14px;
    background: repeating-linear-gradient(
        90deg,
        #A5F3FC 0px,
        #A5F3FC 1px,
        transparent 1px,
        transparent 3px,
        #A5F3FC 3px,
        #A5F3FC 5px,
        transparent 5px,
        transparent 7px,
        #A5F3FC 7px,
        #A5F3FC 8px,
        transparent 8px,
        transparent 11px
    );
    border-radius: 1px;
}

.ticket-mini-num {
    font-family: var(--font-num);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent-ice, #A5F3FC);
    line-height: 1;
}

.system-card-btn {
    height: 42px;
    font-size: 12px;
    letter-spacing: 1.2px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: var(--radius-sm);
}

.system-card-btn.btn-primary {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%)) !important;
    color: #043156 !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 16px rgba(165, 243, 252, 0.4) !important;
    font-weight: 800 !important;
}

.system-card-btn.btn-primary:hover {
    background: var(--grad-btn-primary-hover, linear-gradient(135deg, #A8E1FD 0%, #CBEBFE 45%, #FEDCE0 100%)) !important;
    color: #043156 !important;
    box-shadow: 0 8px 24px rgba(165, 243, 252, 0.6) !important;
}

/* ==========================================================================
   8. RESPONSIVE REFINEMENTS (1279px以下 / 1023px以下 / 767px以下 / 480px以下)
   ========================================================================== */
@media (max-width: 1279px) and (min-width: 1024px) {
    .frame-1 {
        width: 185px;
        height: 245px;
        top: 4%;
        left: calc(50% - 484px);
    }
    .frame-2 {
        width: 225px;
        height: 150px;
        top: 6%;
        left: calc(50% + 312px);
    }
    .frame-3 {
        width: 165px;
        height: 165px;
        top: 40%;
        left: calc(50% - 505px);
    }
    .frame-4 {
        width: 190px;
        height: 255px;
        top: 37%;
        left: calc(50% + 348px);
    }
    .frame-5 {
        width: 155px;
        height: 115px;
        top: 75%;
        left: calc(50% - 450px);
    }
    .frame-6 {
        width: 175px;
        height: 225px;
        top: 73%;
        left: calc(50% + 318px);
    }
}

@media (max-width: 1023px) {
    .campaign-gallery-section {
        min-height: 880px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .gallery-center-content {
        max-width: 500px;
    }
    .intro-banner-carousel {
        height: 250px;
        border-width: 5px;
    }
    .gallery-title {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: var(--space-24);
    }
    .gallery-desc {
        font-size: 13px;
        line-height: 24px;
        margin-top: var(--space-24);
    }
    .frame-1 {
        width: 145px;
        height: 195px;
        top: 4%;
        left: calc(50% - 434px);
    }
    .frame-2 {
        width: 175px;
        height: 120px;
        top: 6%;
        left: calc(50% + 272px);
    }
    .frame-3 {
        width: 130px;
        height: 130px;
        top: 40%;
        left: calc(50% - 450px);
    }
    .frame-4 {
        width: 150px;
        height: 205px;
        top: 38%;
        left: calc(50% + 298px);
    }
    .frame-5 {
        width: 125px;
        height: 95px;
        top: 74%;
        left: calc(50% - 395px);
    }
    .frame-6 {
        width: 135px;
        height: 175px;
        top: 72%;
        left: calc(50% + 272px);
    }
    .news-card-grid {
        column-gap: var(--space-20);
        row-gap: var(--space-36);
    }
    .system-section .container {
        padding-left: var(--space-24);
        padding-right: var(--space-24);
    }
    .system-tab {
        padding: 10px 22px;
        font-size: 12.5px;
    }
    .system-cards-container {
        padding: 36px 0 28px 0;
    }
    .system-card.ticket-card.is-recommend {
        transform: translateY(0);
    }
    .diary-row-bottom {
        gap: var(--space-16);
    }
    .diary-pho-wrapper.large .pho-content-right {
        padding: var(--space-16);
    }
    .diary-pho-wrapper.large .diary-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .diary-pho-wrapper.large .diary-desc {
        font-size: 12px;
        line-height: 18px;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}

@media (max-width: 767px) {
    /* メインビジュアルの縦長すぎを解消（画面比率に合わせた最適高） */
    .hero {
        height: 85vh;
        min-height: 560px;
        max-height: 720px;
        overflow: hidden;
        position: relative;
    }

    /* メインビジュアル背景：GPU合成(transform: translate3d)で完全60fpsスムーズ往復 */
    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .hero-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        height: 100%;
        min-width: 185%;
        max-width: none;
        object-fit: cover;
        will-change: transform;
        animation: heroPanSpTransform 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
        transform: translate3d(-10%, 0, 0);
    }

    @keyframes heroPanSpTransform {
        0% {
            transform: translate3d(-8%, 0, 0);
        }
        100% {
            transform: translate3d(-50%, 0, 0);
        }
    }

    /* 1. メインビジュアル内の文字：ヘッダー被り防止・上部見切れ完全解消 ＆ 最適配置 */
    .hero-inner.hero-inner-vertical {
        padding: 76px 8px 46px 8px;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
        box-sizing: border-box;
    }

    .hero-vertical-catch-group {
        margin-right: 0;
        gap: 6px;
        padding-top: 0;
        padding-bottom: 0;
        transform: none;
    }

    .v-card {
        font-size: clamp(10.5px, 2.2vh, 12px);
        line-height: 1.4;
        padding: 10px 5px;
        white-space: nowrap;
        letter-spacing: 0.08em;
    }

    .v-card-sub {
        font-size: clamp(8.5px, 1.7vh, 9.5px);
        line-height: 1.45;
        padding: 10px 4px;
        white-space: nowrap;
        letter-spacing: 0.06em;
    }

    /* 2. バナー枠（7枚）を上に4pxシフト */
    .campaign-gallery-section {
        min-height: auto;
        padding-top: 36px;
        padding-bottom: 60px;
        display: block;
        position: relative;
    }
    .gallery-center-content {
        max-width: 100%;
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    .gallery-intro-top {
        order: 1;
        width: 100%;
        margin-bottom: 0;
        text-align: center;
    }
    .gallery-intro {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }
    .gallery-title {
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 16px;
    }
    .gallery-intro-bottom {
        order: 2;
        width: 100%;
        margin-top: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    .gallery-desc {
        font-size: 11.5px;
        line-height: 20px;
        margin-top: 0;
        text-align: center;
    }
    .intro-banner-carousel {
        order: 3;
        width: clamp(280px, 65vw, 368px);
        height: clamp(156px, 34.8vw, 206px);
        border: 4px solid #FFFFFF;
        border-radius: 4px;
        margin: 36px auto 44px auto;
        position: relative;
        z-index: 10;
        box-shadow: 0 16px 36px rgba(4, 49, 86, 0.16), 0 4px 14px rgba(2, 132, 199, 0.15);
    }
    .custom-carousel-nav#intro-nav {
        order: 4;
        margin-top: 15px;
        margin-bottom: 10px;
        position: relative;
        z-index: 20;
    }
    .gallery-frame {
        display: block !important;
        position: absolute;
        box-shadow: 0 10px 24px rgba(4, 49, 86, 0.14), 0 2px 8px rgba(2, 132, 199, 0.12);
    }
    .frame-1 {
        width: 105px;
        height: 140px;
        top: auto;
        bottom: 299px;
        left: calc(50% - min(43vw, 309px));
        border: 3px solid #FFFFFF;
        z-index: 4;
        transform: rotate(-10deg);
        animation: none;
    }
    .frame-2 {
        width: 115px;
        height: 85px;
        top: auto;
        bottom: 315px;
        left: calc(50% + min(23vw, 175px));
        border: 3px solid #FFFFFF;
        z-index: 4;
        transform: rotate(8deg);
        animation: none;
    }
    .frame-3 {
        width: 95px;
        height: 125px;
        top: auto;
        bottom: 189px;
        left: calc(50% - min(46vw, 340px));
        border: 3px solid #FFFFFF;
        z-index: 4;
        transform: rotate(-5deg);
        animation: none;
    }
    .frame-4 {
        width: 105px;
        height: 140px;
        top: auto;
        bottom: 179px;
        left: calc(50% + min(30vw, 228px));
        border: 3px solid #FFFFFF;
        z-index: 4;
        transform: rotate(6deg);
        animation: none;
    }
    .frame-5 {
        width: 100px;
        height: 80px;
        top: auto;
        bottom: 94px;
        left: calc(50% - min(42vw, 290px));
        border: 3px solid #FFFFFF;
        z-index: 4;
        transform: rotate(-7deg);
        animation: none;
    }
    .frame-6 {
        width: 110px;
        height: 90px;
        top: auto;
        bottom: 92px;
        left: calc(50% + min(23vw, 170px));
        border: 3px solid #FFFFFF;
        z-index: 4;
        transform: rotate(9deg);
        animation: none;
    }
    .frame-1 .gallery-img,
    .frame-3 .gallery-img,
    .frame-4 .gallery-img {
        transform: rotate(90deg) scale(1.35);
    }
    .frame-2 .gallery-img,
    .frame-5 .gallery-img,
    .frame-6 .gallery-img {
        transform: rotate(0deg) scale(1);
    }

    /* 3. スケジュール＆IDOLセクションのボタンパディングを数px縮小 */
    .schedule-tab,
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* 4. キャストカードの名前フォントサイズ 12px */
    .cast-name {
        font-size: 12px !important;
        gap: 4px;
    }
    .cast-name a {
        font-size: 12px !important;
    }
    .cast-age {
        font-size: 10px;
    }

    /* 5. キャストカードの出勤時間フォントサイズ 13px */
    .time-badge {
        font-size: 13px !important;
        padding: 4px 8px;
    }

    /* 6. キャストカードの「可愛い」などタグフォントサイズ 9px */
    .cast-tag-badge {
        font-size: 9px !important;
        padding: 2px 6px;
        bottom: 4px;
        right: 4px;
    }

    /* 7. コース料金のカードを縦に4〜6px短縮 */
    .system-section .container {
        padding-left: var(--space-16);
        padding-right: var(--space-16);
    }
    .system-tabs {
        gap: 8px;
        margin-bottom: var(--space-20);
    }
    .system-tab {
        padding: 8px 16px;
        font-size: 11.5px;
    }
    .system-card.ticket-card {
        min-width: 280px;
        width: 280px;
        max-width: 280px;
    }
    .system-card-visual {
        height: 120px;
    }
    .system-visual-logo-wrap {
        height: 44px;
    }
    .system-visual-logo-img {
        max-height: 44px;
    }
    .system-card-body {
        padding: 15px 16px 16px;
    }
    .system-card-desc {
        font-size: 11.5px;
        line-height: 18px;
        margin-bottom: 8px;
        min-height: 36px;
    }
    .system-card-price-wrap {
        padding-top: 8px;
        margin-bottom: 10px;
    }
    .system-card-price {
        font-size: 26px;
    }

    /* NEWS スマホ最適化 */
    .news-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 12px;
        row-gap: 24px;
    }
    .news-card-thumb-wrap {
        aspect-ratio: 4 / 3;
    }
    .news-card-body {
        padding-top: 8px;
    }
    .news-card-meta {
        gap: 6px;
        font-size: 11px;
    }
    .news-card-date {
        font-size: 11px;
    }
    .news-card-cat {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    .news-card-line {
        width: 16px;
        margin: 4px 0 6px 0;
    }
    .news-card-title {
        font-size: 12px;
        line-height: 18px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* LAST CALL スマホ最適化 */
    .lc-carousel-container {
        height: 400px;
    }
    .lc-card-wrapper {
        width: 330px;
    }
    .last-call-frame {
        padding: var(--space-16);
    }
    .lc-timer {
        font-size: 30px;
        letter-spacing: 2px;
    }
    .lc-cast-avatar-wrap {
        width: 105px;
    }
    .lc-name-row {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .lc-slogan-text {
        font-size: 11px;
        line-height: 16px;
        margin-bottom: 4px;
    }
    .lc-stats-grid {
        padding: 3px 4px;
        gap: 2px;
    }
    .lc-stats-grid .cast-stats-item {
        font-size: 10px;
    }
    .lc-stats-grid .cast-stats-val {
        font-size: 11px;
    }
    .lc-price-new {
        font-size: 15px;
    }
    .lc-departure-text {
        font-size: 10px;
        padding: 4px 6px;
    }

    /* DIARY スマホ最適化 (液晶内寸に完全一致) */
    .diary-pho-wrapper.large .pho-content-area {
        top: 6.8%;
        bottom: 6.8%;
        left: 9.8%;
        right: 9.8%;
        border-radius: 4px;
    }
    .diary-pho-wrapper.large .pho-content-right {
        padding: 8px 10px;
    }
    .diary-pho-wrapper.large .diary-meta {
        font-size: 8.5px;
        margin-bottom: 4px;
        padding-bottom: 2px;
    }
    .diary-pho-wrapper.large .diary-title {
        font-size: 11.5px;
        line-height: 1.25;
        margin-bottom: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .diary-pho-wrapper.large .diary-desc {
        font-size: 9.5px;
        line-height: 14px;
        display: -webkit-box;
        display: box;
        -webkit-box-orient: vertical;
        box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
    }
    .diary-row-bottom {
        gap: 8px;
        margin-top: var(--space-24);
    }
    .diary-frame-inner {
        padding: 4px;
        border-width: 1.5px;
    }
    .diary-frame-border {
        inset: 2px;
    }
    .diary-frame-overlay {
        padding: 16px 6px 6px 6px;
    }
    .diary-frame-meta {
        font-size: 9.5px;
    }
    .diary-frame-title {
        font-size: 10.5px;
        line-height: 1.25;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 82vh;
        min-height: 520px;
        max-height: 660px;
    }

    .news-card-grid {
        column-gap: 8px;
        row-gap: 20px;
    }
    .news-card-title {
        font-size: 11.5px;
        line-height: 16px;
    }

    .lc-card-wrapper {
        width: 310px;
    }
    .lc-cast-avatar-wrap {
        width: 95px;
    }
    .lc-name-row {
        font-size: 15px;
    }
    .lc-price-new {
        font-size: 14px;
    }
    .frame-1 {
        width: 82px;
        height: 110px;
        bottom: 259px;
        left: calc(50% - 179px);
    }
    .frame-2 {
        width: 90px;
        height: 68px;
        bottom: 275px;
        left: calc(50% + 95px);
    }
    .frame-3 {
        width: 74px;
        height: 98px;
        bottom: 164px;
        left: calc(50% - 200px);
    }
    .frame-4 {
        width: 82px;
        height: 110px;
        bottom: 154px;
        left: calc(50% + 128px);
    }
    .frame-5 {
        width: 78px;
        height: 64px;
        bottom: 84px;
        left: calc(50% - 175px);
    }
    .frame-6 {
        width: 86px;
        height: 70px;
        bottom: 82px;
        left: calc(50% + 93px);
    }

    /* 超小型スマホ用液晶最適化 */
    .diary-pho-wrapper.large .pho-content-area {
        top: 6.8%;
        bottom: 6.8%;
        left: 9.8%;
        right: 9.8%;
        border-radius: 3px;
    }
    .diary-pho-wrapper.large .pho-content-right {
        padding: 6px 8px;
    }
    .diary-pho-wrapper.large .diary-meta {
        font-size: 7.5px;
        margin-bottom: 2px;
        padding-bottom: 1px;
    }
    .diary-pho-wrapper.large .diary-title {
        font-size: 10px;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .diary-pho-wrapper.large .diary-desc {
        font-size: 8.5px;
        line-height: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .diary-row-bottom {
        gap: 6px;
        margin-top: var(--space-20);
    }
    .diary-frame-inner {
        padding: 3px;
        border-width: 1px;
    }
    .diary-frame-meta {
        font-size: 9px;
    }
    .diary-frame-title {
        font-size: 10px;
    }
}