/**
 * IDOL TOKYO NEO
 * Reusable Components & Feature Modules Styles
 * (Crystal Sky Blue, Luminous Wings & Neo-Clean Gradient Refinements)
 */

/* ==========================================================================
   0. SUB-PAGE COMMON HEADER SECTION (シネマティックページタイトル)
   ========================================================================== */
.page-header-section {
    padding-top: 140px;
    padding-bottom: var(--space-48);
    position: relative;
    z-index: 2;
    overflow: hidden;
    text-align: center;
}

.page-header-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-family: var(--font-en);
    font-size: clamp(64px, 12vw, 140px);
    font-weight: 700;
    color: var(--accent-main-watermark, rgba(4, 49, 86, 0.04));
    letter-spacing: 24px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    line-height: 1;
    white-space: nowrap;
}

.page-header-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-header-en {
    font-family: var(--font-en);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    color: var(--accent-cyan-deep, #0284C7);
    letter-spacing: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-24);
    margin: 0 auto;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.2);
}

.page-header-jp {
    font-size: 13px;
    color: var(--text-navy, #064070);
    letter-spacing: 4px;
    font-weight: 700;
    margin-top: var(--space-8);
    text-align: center;
}

.page-header-desc {
    font-size: 13px;
    color: var(--text-muted, #537593);
    line-height: 26px;
    max-width: 760px;
    margin-top: var(--space-16);
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.8px;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 1023px) {
    .page-header-section {
        padding-top: 120px;
        padding-bottom: var(--space-36);
    }
    .page-header-watermark {
        font-size: clamp(48px, 10vw, 90px);
        letter-spacing: 16px;
    }
    .page-header-en {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: 6px;
        gap: var(--space-16);
    }
}

@media (max-width: 768px) {
    .page-header-section {
        padding-top: 100px;
        padding-bottom: var(--space-28);
    }
    .page-header-watermark {
        font-size: 40px;
        letter-spacing: 8px;
        transform: translate(-50%, -50%);
    }
    .page-header-en {
        font-size: 22px;
        line-height: 30px;
        letter-spacing: 3px;
        gap: var(--space-8);
    }
    .page-header-jp {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-top: var(--space-6);
    }
    .page-header-desc {
        font-size: 11px;
        line-height: 20px;
        margin-top: var(--space-10);
        padding: 0 var(--space-12);
    }
}

/* ==========================================================================
   1. SECTION TITLES & DIVIDERS (鮮やかなシャイニーシアンブルー)
   ========================================================================== */
.sec-title-wrapper {
    text-align: center;
    margin-bottom: var(--space-64);
    position: relative;
    z-index: 2;
}

.sec-title-en {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-cyan-deep, #0284C7);
    letter-spacing: 8px;
    line-height: 40px;
    display: block;
    transition: color 0.5s ease;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.sec-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--space-16) auto;
    gap: 8px;
}

.sec-divider-line {
    width: 40px;
    height: 1px;
    background-color: var(--accent-cyan-deep, #0284C7);
    opacity: 0.6;
    transition: background-color 0.5s ease;
}

.sec-divider-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent-cyan-deep, #0284C7);
    border-radius: 50%;
    opacity: 0.8;
    transition: background-color 0.5s ease;
}

.sec-divider-diamond {
    width: 7px;
    height: 7px;
    background-color: var(--accent-cyan-deep, #0284C7);
    transform: rotate(45deg);
    transition: background-color 0.5s ease;
}

.sec-title-jp {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-navy, #064070);
    letter-spacing: 4px;
    margin-top: var(--space-8);
    display: block;
    transition: color 0.5s ease;
}

.sec-title-desc {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted, #537593);
    letter-spacing: 1px;
    margin-top: var(--space-12);
    text-align: center;
    line-height: 24px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1023px) {
    .sec-title-wrapper {
        margin-bottom: var(--space-40);
    }
}

@media (max-width: 767px) {
    .sec-title-wrapper {
        margin-bottom: 34px;
    }
    .sec-divider {
        margin: var(--space-10) auto;
        gap: 6px;
    }
    .sec-divider-line {
        width: 28px;
    }
    .sec-title-desc {
        font-size: 11px;
        line-height: 20px;
        margin-top: var(--space-8);
    }
}

/* ダークテーマ用セクションタイトル共通クラス（アイスブルー発光） */
.theme-dark-title .sec-title-en {
    color: #FFFFFF !important;
    text-shadow: 0 0 20px rgba(165, 243, 252, 0.4);
}

.theme-dark-title .sec-title-jp {
    color: var(--accent-ice, #A5F3FC) !important;
}

.theme-dark-title .sec-divider-line,
.theme-dark-title .sec-divider-dot,
.theme-dark-title .sec-divider-diamond {
    background-color: var(--accent-ice, #A5F3FC) !important;
    box-shadow: 0 0 8px rgba(165, 243, 252, 0.5);
}

.theme-dark-title .sec-title-desc {
    color: #E0F2FE !important;
    opacity: 0.85;
}

/* ==========================================================================
   2. BUTTONS & BADGES (爽快グラデーション & グラスモーフィズム)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 var(--space-32);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
}

/* 爽快な水色〜淡いピンク/ホワイトの透明感グラデーションボタン */
.btn-primary {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%));
    color: var(--text-main, #043156) !important;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.22), 0 1px 3px rgba(4, 49, 86, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-primary:hover {
    background: var(--grad-btn-primary-hover, linear-gradient(135deg, #A8E1FD 0%, #CBEBFE 45%, #FEDCE0 100%));
    color: var(--text-main, #043156) !important;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35), 0 0 20px rgba(165, 243, 252, 0.5);
    transform: translateY(-2px);
    border-color: #FFFFFF;
}

.btn-outline {
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--accent-cyan-deep, #0284C7);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.06);
}

.btn-outline:hover {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%));
    color: var(--text-main, #043156);
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.btn-sm {
    height: 36px;
    padding: 0 var(--space-16);
    font-size: 12px;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .btn {
        height: 44px;
        padding: 0 var(--space-20);
        font-size: 13px;
        letter-spacing: 1px;
    }
    .btn-sm {
        height: 32px;
        padding: 0 var(--space-12);
        font-size: 11px;
    }
}

/* --------------------------------------------------------------------------
   洗練されたグラスモーフィズム・ステータスバッジ
   -------------------------------------------------------------------------- */
.badge {
    position: absolute;
    height: 24px;
    width: max-content;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(4, 49, 86, 0.12);
    color: var(--text-main, #043156);
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(4, 49, 86, 0.05);
    transition: all 0.3s ease;
}

/* 即案内（アクアエメラルドグラス） */
.badge-instant {
    background: rgba(240, 253, 250, 0.95) !important;
    border: 1px solid rgba(20, 184, 166, 0.35) !important;
    color: #0D9488 !important;
    box-shadow: 0 2px 10px rgba(20, 184, 166, 0.15) !important;
}

/* 通常受付 */
.badge-gold {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: var(--text-main, #043156) !important;
}

/* 本日満了 */
.badge-soldout {
    background: rgba(241, 245, 249, 0.92) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    color: #64748B !important;
}

/* 退勤割（青みネオンピンク・パルス発光） */
.badge.alert {
    background: linear-gradient(135deg, rgba(255, 75, 130, 0.95) 0%, rgba(244, 63, 94, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(255, 75, 130, 0.35) !important;
    animation: neon-pink-pulse 2s infinite ease-in-out;
}

@keyframes neon-pink-pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 75, 130, 0.3);
    }
    50% {
        box-shadow: 0 4px 18px rgba(255, 75, 130, 0.55);
    }
}

.cast-badges-stack {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    pointer-events: none;
}

/* 写真右下タグバッジ（すりガラス・ピル型） */
.cast-tag-badge {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-8);
    background: rgba(4, 49, 86, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.position-static {
    position: static;
}

@media (max-width: 1023px) {
    .badge {
        height: 22px;
        padding: 0 8px;
        font-size: 10px;
        letter-spacing: 1px;
    }
    .cast-tag-badge {
        font-size: 10px;
        padding: 2px 8px;
        bottom: 6px;
        right: 6px;
    }
    .cast-badges-stack {
        top: 6px;
        left: 6px;
        gap: 4px;
    }
}

@media (max-width: 767px) {
    .badge {
        height: 21px;
        padding: 0 7px;
        font-size: 10px;
        letter-spacing: 0.5px;
        border-radius: 3px;
    }
    .cast-tag-badge {
        font-size: 10px;
        padding: 2px 7px;
        bottom: 4px;
        right: 4px;
    }
    .cast-badges-stack {
        top: 4px;
        left: 4px;
        gap: 3px;
    }
}

/* ==========================================================================
   3. CARDS & STATS & LOAD MORE BUTTONS
   ========================================================================== */
.card {
    background-color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-card, 0 10px 30px rgba(4, 49, 86, 0.06));
    box-sizing: border-box;
}

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

.cast-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background-color: transparent;
    padding: 2px 0;
    border-radius: 0;
    border: none;
    margin-bottom: var(--space-8);
    text-align: center;
    align-items: center;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

.cast-stats-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    color: var(--text-muted, #537593);
    white-space: nowrap;
    width: 100%;
    font-weight: 500;
}

.cast-stats-val {
    color: var(--text-main, #043156);
    font-weight: 700;
    font-family: var(--font-num);
    font-size: 11.5px;
}

@media (max-width: 1023px) {
    .cast-stats-grid {
        margin-bottom: 4px;
        padding: 0;
    }
    .cast-stats-item {
        font-size: 10.5px;
    }
    .cast-stats-val {
        font-size: 10.5px;
    }
}

@media (max-width: 767px) {
    .cast-stats-grid {
        gap: 0;
        margin-bottom: 2px;
    }
    .cast-stats-item {
        font-size: 10px;
        line-height: 1.2;
    }
    .cast-stats-val {
        font-size: 10px;
    }
}

.cast-slogan {
    font-size: 12px;
    color: var(--text-muted, #537593);
    font-weight: 500;
    border-left: 2px solid var(--accent-cyan, #38BDF8);
    padding-left: var(--space-8);
    margin-bottom: var(--space-16);
    min-height: 48px;
    line-height: 24px;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: border-color 0.5s ease;
}

.slogan-wrap {
    margin-bottom: var(--space-8);
}

.slogan-toggle-btn {
    font-size: 11px;
    color: var(--accent-cyan-deep, #0284C7);
    margin-top: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-weight: 700;
}

.load-more-wrap {
    text-align: center;
    margin-top: var(--space-40);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-16);
    width: 100%;
}

.load-more-text {
    font-size: 12px;
    color: var(--text-muted, #537593);
    letter-spacing: 1px;
    font-weight: 500;
}

.load-more-btns-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-16);
    width: 100%;
    flex-wrap: wrap;
}

.load-more-btns-row .btn {
    width: 260px;
    max-width: 300px;
    flex: 0 1 auto;
    height: 48px;
}

@media (max-width: 767px) {
    .load-more-wrap {
        margin-top: 34px;
        gap: var(--space-12);
    }
    .load-more-text {
        font-size: 11px;
    }
    .load-more-btns-row {
        flex-direction: column;
        gap: var(--space-10);
        width: 100%;
    }
    .load-more-btns-row .btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 44px;
        flex: none;
    }
}

/* ==========================================================================
   4. CUSTOM CAROUSEL NAVIGATION
   ========================================================================== */
.custom-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-16);
    margin-top: var(--space-40);
    color: var(--accent-cyan-deep, #0284C7);
}

.custom-nav-arrow {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.custom-nav-arrow:hover {
    opacity: 0.7;
}

.custom-nav-arrow-icon {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
}

.custom-nav-arrow-line {
    width: 64px;
    height: 1px;
    background-color: currentColor;
    opacity: 0.4;
}

.custom-nav-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.custom-nav-dot {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    transform: rotate(45deg);
    opacity: 0.25;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-nav-dot.active {
    opacity: 1;
    transform: rotate(45deg) scale(1.3);
}

#diary-nav {
    color: var(--accent-ice, #A5F3FC) !important;
}

@media (max-width: 767px) {
    .custom-carousel-nav {
        margin-top: var(--space-24);
        gap: var(--space-12);
    }
    .custom-nav-arrow-line {
        width: 32px;
    }
    .custom-nav-dots {
        gap: 8px;
    }
    .custom-nav-dot {
        width: 5px;
        height: 5px;
    }
}

/* ==========================================================================
   5. HEADER & NAVIGATION & LUXURY MOBILE MENU (メンズアイドル特化・見切れ防止＆追従✕ボタン)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: var(--z-header);
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-32);
    box-sizing: border-box;
    position: relative;
}

.site-logo-wrap {
    position: relative;
    top: 0;
    align-self: flex-start;
    width: 250px;
    height: 114px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px));
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px 24px 24px;
    box-sizing: border-box;
    z-index: 10;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 24px rgba(4, 49, 86, 0.10)) drop-shadow(0 2px 6px rgba(56, 189, 248, 0.08));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.site-logo-wrap:hover {
    transform: translateY(2px);
    filter: drop-shadow(0 14px 28px rgba(4, 49, 86, 0.15)) drop-shadow(0 4px 10px rgba(56, 189, 248, 0.2));
}

.custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.custom-logo,
.site-logo-wrap img {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.custom-logo:hover,
.site-logo-wrap img:hover {
    transform: scale(1.03);
}

.logo {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main, #043156);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    white-space: nowrap;
    text-align: center;
}

.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    text-decoration: none;
    padding: 4px 6px;
    box-sizing: border-box;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-en {
    display: block;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main, #043156);
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-jp {
    display: block;
    font-family: var(--font-jp);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted, #537593);
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-link:hover .nav-en,
.nav-link:hover .nav-jp,
.nav-item.active .nav-en,
.nav-item.active .nav-jp {
    color: var(--accent-cyan-deep, #0284C7);
}

.nav-item .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.28);
    white-space: nowrap;
    margin-left: 6px;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-sm);
    padding: var(--space-8) 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 160px;
    z-index: 200;
    box-shadow: 0 16px 32px rgba(4, 49, 86, 0.08);
}

.nav-item:hover .nav-dropdown,
.nav-item.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: var(--space-8) var(--space-16);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #043156);
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    color: var(--accent-cyan-deep, #0284C7);
    background-color: var(--bg-ice-100, #E0F2FE);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main, #043156);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   洗練メンズアイドル モバイルナビゲーション（上部見切れ完全防止＆追従✕ボタン）
   -------------------------------------------------------------------------- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(255, 255, 255, 0.98) 35%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: var(--z-modal);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: max(16px, env(safe-area-inset-top)) var(--space-16) calc(80px + env(safe-area-inset-bottom)) var(--space-16);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.mobile-nav-overlay.active {
    display: flex;
}

/* 上部固定追従バー（いつでも即座に閉じる操作が可能） */
.mobile-nav-header {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-pill, 9999px);
    padding: 8px 14px 8px 20px;
    margin-bottom: var(--space-20);
    box-shadow: 0 8px 24px rgba(4, 49, 86, 0.08), 0 0 16px rgba(165, 243, 252, 0.35);
    box-sizing: border-box;
    flex-shrink: 0;
}

.mobile-nav-logo {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #043156);
    letter-spacing: 2.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.mobile-nav-logo::before {
    content: '✦';
    color: var(--accent-cyan-deep, #0284C7);
    font-size: 13px;
}

/* 円形クリスタル閉じるボタン（即時タップ可能） */
.mobile-nav-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%));
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: var(--text-main, #043156);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.25);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav-close:hover,
.mobile-nav-close:active {
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.45);
}

/* メニューカードコンテナ（ステージパス風グリッド） */
.mobile-nav-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

/* アイドルステージパス調メニューアイテム */
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: var(--radius-md, 8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(4, 49, 86, 0.04);
    min-height: 68px;
}

/* カード上部のシアーアクセントライン */
.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #A5F3FC 0%, #38BDF8 50%, #FEF08A 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%));
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3), 0 0 16px rgba(165, 243, 252, 0.4);
    transform: translateY(-2px);
}

.mobile-nav-item:hover::before,
.mobile-nav-item:active::before {
    opacity: 1;
}

.mobile-nav-en {
    font-family: var(--font-en);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-main, #043156);
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}

.mobile-nav-jp {
    font-family: var(--font-jp);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted, #537593);
    margin-top: 3px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.mobile-nav-item:hover .mobile-nav-en,
.mobile-nav-item:active .mobile-nav-en {
    color: var(--text-main, #043156);
}

.mobile-nav-item:hover .mobile-nav-jp,
.mobile-nav-item:active .mobile-nav-jp {
    color: var(--text-navy, #064070);
}

/* 全幅WEB予約CTAボタン */
.mobile-nav-inner .btn-primary {
    grid-column: 1 / -1;
    height: 50px;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 8px;
    border-radius: var(--radius-sm, 4px);
    box-shadow: 0 6px 24px rgba(56, 189, 248, 0.38);
}

@media (max-width: 1023px) {
    .header {
        height: 68px;
    }
    .header-container {
        padding: 0 var(--space-20);
    }
    .site-logo-wrap {
        width: 185px;
        height: 90px;
        padding: 8px 14px 18px 14px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px));
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px));
    }
    .custom-logo,
    .site-logo-wrap img {
        max-height: 52px;
    }
    .logo {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 767px) {
    .header {
        height: 60px;
    }
    .header-container {
        padding: 0 var(--space-16);
    }
    .site-logo-wrap {
        width: 145px;
        height: 76px;
        padding: 6px 10px 14px 10px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
    }
    .custom-logo,
    .site-logo-wrap img {
        max-height: 44px;
    }
    .logo {
        font-size: 15px;
        letter-spacing: 1px;
    }
}

/* ==========================================================================
   6. LIVE STAGE LIGHT EFFECTS & PENLIGHTS (ディープネイビー ＆ マルチスポットライト)
   ========================================================================== */
.idol-diary-wrapper {
    position: relative;
    background: linear-gradient(180deg, var(--dark-bg-start, #0C192C) 0%, var(--dark-bg-end, #132238) 100%);
    overflow: hidden;
    --bg-base: #0C192C;
    --bg-surface: rgba(255, 255, 255, 0.06);
    --bg-surface-elevated: rgba(255, 255, 255, 0.1);
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --border-thin: rgba(165, 243, 252, 0.2);
}

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

.live-bg-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background: radial-gradient(ellipse at 50% 0%, rgba(165, 243, 252, 0.25) 0%, rgba(125, 211, 252, 0.08) 45%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.idol-diary-wrapper .container {
    position: relative;
    z-index: 2;
}

.spotlight {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    transition: background 0.5s ease, opacity 0.5s ease;
}

/* スポットライト1 */
.spotlight.sl-1 {
    top: -10%;
    right: 5%;
    width: 42vw;
    height: 150%;
    background: linear-gradient(to bottom, rgba(125, 211, 252, 0.32) 0%, rgba(165, 243, 252, 0.1) 40%, transparent 100%);
    transform: rotate(25deg);
    transform-origin: top right;
    filter: blur(26px);
}

/* スポットライト2 */
.spotlight.sl-2 {
    top: -10%;
    left: 8%;
    width: 34vw;
    height: 150%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(165, 243, 252, 0.1) 50%, transparent 100%);
    transform: rotate(-28deg);
    transform-origin: top left;
    filter: blur(30px);
}

/* スポットライト3 */
.spotlight.sl-3 {
    top: 20%;
    left: -10%;
    width: 28vw;
    height: 120%;
    background: linear-gradient(to bottom, rgba(255, 75, 130, 0.2) 0%, rgba(255, 75, 130, 0.05) 60%, transparent 100%);
    transform: rotate(-45deg);
    transform-origin: top left;
    filter: blur(38px);
}

/* スポットライト4 */
.spotlight.sl-4 {
    bottom: -10%;
    left: -10%;
    width: 35vw;
    height: 150%;
    background: linear-gradient(to top, rgba(125, 211, 252, 0.28) 0%, rgba(165, 243, 252, 0.08) 40%, transparent 100%);
    transform: rotate(60deg);
    transform-origin: bottom left;
    filter: blur(26px);
}

.center-glow {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) scaleY(0.25);
    width: 85vw;
    height: 85vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(165, 243, 252, 0.28) 0%, rgba(125, 211, 252, 0.08) 45%, transparent 70%);
}

.penlights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.penlight {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: blink infinite alternate ease-in-out;
}

@keyframes blink {
    0% { opacity: 0.1; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.3); }
}

.pl-red    { background-color: rgba(255, 75, 130, 0.85); box-shadow: 0 0 16px 4px rgba(255, 75, 130, 0.65); }
.pl-blue   { background-color: rgba(125, 211, 252, 0.85); box-shadow: 0 0 16px 4px rgba(125, 211, 252, 0.65); }
.pl-green  { background-color: rgba(16, 185, 129, 0.85);  box-shadow: 0 0 16px 4px rgba(16, 185, 129, 0.65); }
.pl-pink   { background-color: rgba(244, 114, 182, 0.85); box-shadow: 0 0 16px 4px rgba(244, 114, 182, 0.65); }
.pl-yellow { background-color: rgba(254, 240, 138, 0.85); box-shadow: 0 0 16px 4px rgba(254, 240, 138, 0.65); }
.pl-purple { background-color: rgba(168, 85, 247, 0.85);  box-shadow: 0 0 16px 4px rgba(168, 85, 247, 0.65); }
.pl-white  { background-color: rgba(255, 255, 255, 0.9);   box-shadow: 0 0 16px 4px rgba(255, 255, 255, 0.7); }

@media (max-width: 767px) {
    .spotlight.sl-1 {
        top: -8%;
        right: -5%;
        width: 60vw;
        height: 140%;
        background: linear-gradient(to bottom, rgba(125, 211, 252, 0.35) 0%, rgba(165, 243, 252, 0.12) 40%, transparent 100%);
        filter: blur(20px);
    }
    .spotlight.sl-2 {
        top: -8%;
        left: -5%;
        width: 55vw;
        height: 140%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.32) 0%, rgba(165, 243, 252, 0.1) 45%, transparent 100%);
        filter: blur(24px);
    }
    .spotlight.sl-3 {
        top: 30%;
        left: -15%;
        width: 45vw;
        height: 110%;
        background: linear-gradient(to bottom, rgba(255, 75, 130, 0.22) 0%, rgba(255, 75, 130, 0.06) 50%, transparent 100%);
        filter: blur(28px);
    }
    .spotlight.sl-4 {
        bottom: 0%;
        left: -10%;
        width: 50vw;
        height: 120%;
        background: linear-gradient(to top, rgba(125, 211, 252, 0.3) 0%, rgba(165, 243, 252, 0.09) 40%, transparent 100%);
        filter: blur(22px);
    }
    .center-glow {
        bottom: 8%;
        width: 90vw;
        height: 90vw;
        background: radial-gradient(circle, rgba(165, 243, 252, 0.3) 0%, rgba(125, 211, 252, 0.08) 45%, transparent 68%);
    }
}

/* ==========================================================================
   7. FAN LETTER REVIEWS & ACCORDION (洗練されたファンレター & モダンスタイル)
   ========================================================================== */
.review-card {
    padding: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    background-color: var(--bg-surface-elevated, #F1F5F9);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.review-card-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #A5F3FC 0%, #38BDF8 30%, #BAE6FD 70%, #FEF08A 100%);
    z-index: 2;
    opacity: 0.9;
}

.review-card-inner {
    padding: var(--space-32);
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.review-meta-top {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main, #043156);
    margin-bottom: var(--space-12);
    font-family: var(--font-en);
    letter-spacing: 1px;
}

.review-to {
    font-family: var(--font-jp);
}

.stars {
    color: var(--accent-gold, #FEF08A);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: var(--space-16);
    text-shadow: 0 0 8px rgba(254, 240, 138, 0.5);
}

.review-text {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main, #043156);
    margin-bottom: var(--space-24);
    line-height: 28px;
    background-image: repeating-linear-gradient(transparent, transparent 27px, var(--border-thin) 27px, var(--border-thin) 28px);
    background-attachment: local;
    display: block;
    padding-bottom: 6px;
}

.review-meta-bottom {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #537593);
    text-align: right;
    font-family: var(--font-en);
}

.review-from {
    font-family: var(--font-jp);
}

@media (max-width: 767px) {
    .review-card-inner {
        padding: var(--space-20) var(--space-16);
    }
    .review-meta-top {
        font-size: 13px;
        margin-bottom: var(--space-10);
    }
    .stars {
        font-size: 12px;
        letter-spacing: 3px;
        margin-bottom: var(--space-10);
    }
    .review-text {
        font-size: 12.5px;
        line-height: 24px;
        margin-bottom: var(--space-16);
    }
    .review-meta-bottom {
        font-size: 11px;
    }
}

/* --------------------------------------------------------------------------
   アコーディオン（ダーク空間 & ライト空間 双方最適化）
   -------------------------------------------------------------------------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.accordion-item,
.policy-accordion-item,
.news-accordion-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(165, 243, 252, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.accordion-item:hover,
.policy-accordion-item:hover,
.news-accordion-item:hover {
    border-color: rgba(165, 243, 252, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 16px rgba(165, 243, 252, 0.15);
}

.accordion-header,
.policy-accordion-header,
.news-accordion-header {
    width: 100%;
    min-height: 64px;
    height: auto;
    padding: var(--space-16) var(--space-24);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #FFFFFF;
    background: transparent;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    transition: color 0.3s ease;
}

.acc-icon {
    font-family: var(--font-en);
    font-size: 18px;
    color: var(--accent-ice, #A5F3FC);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    flex-shrink: 0;
}

.accordion-item.active .acc-icon,
.policy-accordion-item.active .acc-icon,
.news-accordion-item.active .acc-icon {
    transform: rotate(45deg);
    color: var(--accent-cyan, #38BDF8);
}

.accordion-content,
.policy-accordion-content,
.news-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    color: #E0F2FE;
    font-size: 13.5px;
    font-weight: 500;
    padding: 0 var(--space-24);
    box-sizing: border-box;
}

.accordion-item.active .accordion-content,
.policy-accordion-content.active,
.news-accordion-content.active {
    max-height: 2000px;
    padding-top: var(--space-16);
    padding-bottom: var(--space-24);
}

@media (max-width: 767px) {
    .accordion-header,
    .policy-accordion-header,
    .news-accordion-header {
        min-height: 54px;
        padding: var(--space-12) var(--space-16);
        font-size: 13px;
        letter-spacing: 1px;
    }
    .accordion-content,
    .policy-accordion-content,
    .news-accordion-content {
        font-size: 12px;
        padding: 0 var(--space-16);
    }
    .accordion-item.active .accordion-content,
    .policy-accordion-content.active,
    .news-accordion-content.active {
        padding-top: var(--space-12);
        padding-bottom: var(--space-16);
    }
}

/* --------------------------------------------------------------------------
   ダークテーマ上での発光・ルミナスボタン上書き（コントラスト＆視認性完全最適化）
   -------------------------------------------------------------------------- */
.idol-diary-wrapper .diary-meta,
.idol-diary-wrapper .system-card-time,
.idol-diary-wrapper .review-meta-top,
.idol-diary-wrapper .acc-icon {
    color: var(--accent-ice, #A5F3FC) !important;
}

.idol-diary-wrapper .stars {
    color: var(--accent-gold, #FEF08A) !important;
}

.idol-diary-wrapper .btn-outline {
    color: #FFFFFF !important;
    border: 1px solid rgba(165, 243, 252, 0.45) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
}

.idol-diary-wrapper .btn-outline:hover {
    background: rgba(165, 243, 252, 0.2) !important;
    border-color: rgba(165, 243, 252, 0.8) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 20px rgba(165, 243, 252, 0.4) !important;
    transform: translateY(-2px) !important;
}

.idol-diary-wrapper .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 20px rgba(165, 243, 252, 0.4) !important;
    font-weight: 800 !important;
}

.idol-diary-wrapper .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 28px rgba(165, 243, 252, 0.6) !important;
    transform: translateY(-2px) !important;
}

.idol-diary-wrapper .load-more-btns-row .btn-primary {
    color: #043156 !important;
}

.idol-diary-wrapper .load-more-btns-row .btn-outline {
    color: #FFFFFF !important;
}

.idol-diary-wrapper .system-tab {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(165, 243, 252, 0.3) !important;
    color: #E0F2FE !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-weight: 700;
}

.idol-diary-wrapper .system-tab.active {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%)) !important;
    color: #043156 !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 0 20px rgba(165, 243, 252, 0.5) !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   8. FORM CONTROLS & RECRUIT BOX
   ========================================================================== */
.form-box {
    background-color: #FFFFFF;
    border: none;
    box-shadow: var(--shadow-card, 0 10px 30px rgba(4, 49, 86, 0.06));
    padding: var(--space-48);
    border-radius: var(--radius-md);
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: var(--space-32);
}

.form-label,
.form-step-label {
    display: block;
    color: var(--text-main, #043156);
    font-size: 14px;
    margin-bottom: var(--space-8);
    letter-spacing: 1px;
    font-weight: 700;
}

.form-control,
.input-text-custom {
    width: 100%;
    height: 48px;
    background-color: var(--bg-base);
    border: 1px solid var(--border-thin);
    color: var(--text-main, #043156);
    padding: 0 var(--space-16);
    border-radius: var(--radius-sm);
    font-family: var(--font-jp);
    font-size: 14.5px;
    font-weight: 500;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    box-sizing: border-box;
}

.form-control:focus,
.input-text-custom:focus {
    border-color: var(--accent-cyan, #38BDF8);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.input-textarea-custom {
    width: 100%;
    min-height: 120px;
    background-color: var(--bg-base);
    border: 1px solid var(--border-thin);
    color: var(--text-main, #043156);
    padding: var(--space-12) var(--space-16);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.input-textarea-custom:focus {
    border-color: var(--accent-cyan, #38BDF8);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

select.form-control,
.input-select-custom {
    width: 100%;
    height: 48px;
    background-color: var(--bg-base);
    border: 1px solid var(--border-thin);
    color: var(--text-main, #043156);
    padding: 0 var(--space-16);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230284C7' viewBox='0 0 16 16'%3E%3Cpath d='M4 6h8l-4 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    box-sizing: border-box;
    cursor: pointer;
}

select.form-control:focus,
.input-select-custom:focus {
    border-color: var(--accent-cyan, #38BDF8);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.form-success-box {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid #10B981;
    color: #10B981;
    padding: var(--space-24);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    margin-top: var(--space-24);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .form-group {
        margin-bottom: var(--space-20);
    }
    .form-label,
    .form-step-label {
        font-size: 13px;
    }
    .form-control,
    .input-text-custom,
    select.form-control,
    .input-select-custom {
        height: 44px;
        font-size: 13.5px;
        padding: 0 var(--space-12);
    }
}

/* 求人採用ボックス（ダーク空間からの接続グラデーション ＆ 空透け防止） */
.recruit-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #132238 0%, #0C192C 100%);
}

.recruit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/recruit-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}

.recruit-section .container {
    position: relative;
    z-index: 2;
}

.recruit-box {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    padding: var(--space-64) var(--space-48);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
    box-shadow: 0 20px 48px rgba(4, 49, 86, 0.08);
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruit-box::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(4, 49, 86, 0.08);
    pointer-events: none;
    border-radius: var(--radius-sm);
}

.recruit-heading {
    font-family: var(--font-mincho, 'Shippori Mincho', 'Noto Serif JP', serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: var(--space-24);
    color: var(--text-main, #043156);
    text-align: center;
    max-width: 860px;
    letter-spacing: 0.08em;
}

.recruit-lead-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted, #537593);
    margin-bottom: var(--space-32);
    line-height: 28px;
    text-align: center;
    max-width: 860px;
}

@media (max-width: 768px) {
    .recruit-box {
        padding: var(--space-40) var(--space-20);
    }
    .recruit-heading {
        font-size: 20px;
        line-height: 34px;
        margin-bottom: var(--space-16);
    }
    .recruit-lead-text {
        font-size: 13px;
        line-height: 24px;
        margin-bottom: var(--space-24);
    }
}

/* ==========================================================================
   9. FOOTER & LUXURY BACK TO TOP BUTTON & MOBILE BOTTOM BAR (洗練フッター)
   ========================================================================== */
.footer {
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-thin);
    padding: var(--space-80) 0 160px 0;
    margin-top: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main, #043156);
    letter-spacing: 4px;
    margin-bottom: var(--space-24);
    text-transform: uppercase;
}

.footer-logo::before {
    content: '✧ ';
    color: var(--accent-cyan, #38BDF8);
}

.footer-address {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted, #537593);
    letter-spacing: 1px;
    line-height: 24px;
    margin-bottom: var(--space-40);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-32);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #537593);
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent-cyan-deep, #0284C7);
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-48) 0 74px 0;
        background-color: #F8FAFC;
    }
    .footer-logo {
        font-size: 20px;
        letter-spacing: 3px;
        margin-bottom: var(--space-16);
    }
    .footer-address {
        font-size: 11px;
        line-height: 20px;
        margin-bottom: var(--space-24);
        padding: 0 var(--space-16);
    }
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 16px;
        font-size: 11.5px;
        padding: 0 var(--space-20);
        max-width: 360px;
        margin: 0 auto;
        text-align: center;
    }
    .footer-links a {
        padding: 4px 0;
    }
}

/* --------------------------------------------------------------------------
   洗練されたネオ・クリスタル「TOPへ戻る」ボタン (ルミナス・グラスモーフィズム)
   -------------------------------------------------------------------------- */
.back-to-top-wrapper {
    position: fixed;
    right: var(--space-32);
    bottom: var(--space-32);
    z-index: var(--z-floating);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.back-to-top-wrapper.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.btn-back-to-top {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--accent-cyan-deep, #0284C7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.15), 
                0 0 1px rgba(255, 255, 255, 0.8),
                inset 0 0 0 1px rgba(56, 189, 248, 0.15);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.btn-back-to-top::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1px dashed rgba(56, 189, 248, 0.3);
    transition: all 0.35s ease;
    pointer-events: none;
}

.btn-back-to-top:hover {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%));
    color: var(--text-main, #043156);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 16px 36px rgba(56, 189, 248, 0.35), 
                0 0 20px rgba(165, 243, 252, 0.6);
}

.btn-back-to-top:hover::before {
    border-color: rgba(255, 255, 255, 0.6);
    border-style: solid;
}

.back-to-top-icon {
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 2px rgba(4, 49, 86, 0.05));
}

.btn-back-to-top:hover .back-to-top-icon {
    transform: translateY(-3px);
}

.back-to-top-text {
    display: none !important;
}

/* スマホ下部固定バー (1023px以下) */
.sp-fixed-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-thin);
    box-shadow: 0 -4px 16px rgba(4, 49, 86, 0.05);
}

.sp-fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-16) 0;
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

/* 爽快グラデーション */
.sp-fixed-btn-reserve {
    background: var(--grad-btn-primary, linear-gradient(135deg, #C7ECFE 0%, #EBF6FE 45%, #FDEBED 100%));
    color: var(--text-main, #043156);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 -2px 14px rgba(56, 189, 248, 0.25);
}

@media (max-width: 1023px) {
    .back-to-top-wrapper {
        right: var(--space-16);
        bottom: 80px;
    }
    .sp-fixed-bottom-bar {
        display: flex;
    }
}

@media (max-width: 767px) {
    .back-to-top-wrapper {
        right: 14px;
        bottom: 74px;
    }
    .btn-back-to-top {
        width: 44px;
        height: 44px;
    }
    .back-to-top-icon {
        font-size: 13px;
    }
    .sp-fixed-btn {
        padding: 13px 0;
        font-size: 13.5px;
        letter-spacing: 1.5px;
    }
}

/* ==========================================================================
   10. MODALS (HOLD, AGE VERIFICATION)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 49, 86, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    width: 480px;
    max-width: 90%;
    background-color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-40);
    position: relative;
    box-shadow: 0 24px 60px rgba(4, 49, 86, 0.2);
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: var(--space-16);
    right: var(--space-16);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-muted, #537593);
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

.modal-close:hover {
    color: var(--accent-cyan-deep, #0284C7);
}

@media (max-width: 767px) {
    .modal-box {
        padding: var(--space-24) var(--space-16);
        max-width: 95%;
    }
}

/* 年齢確認モーダル */
.age-check-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: var(--space-16);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    overflow-y: auto;
    box-sizing: border-box;
}

.age-check-overlay.active {
    opacity: 1;
    visibility: visible;
}

.age-check-box {
    width: 600px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    padding: var(--space-48) var(--space-40);
    text-align: center;
    box-shadow: 0 24px 60px rgba(4, 49, 86, 0.12);
    position: relative;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.age-check-overlay.active .age-check-box {
    transform: translateY(0);
}

.age-check-header {
    margin-bottom: var(--space-32);
}

.age-check-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan-deep, #0284C7);
    letter-spacing: 4px;
    margin-bottom: var(--space-16);
    border: 1px solid var(--border-accent);
    padding: 4px 16px;
    border-radius: 20px;
    background-color: rgba(224, 242, 254, 0.5);
}

.age-check-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #043156);
    letter-spacing: 2px;
}

.age-check-body {
    margin-bottom: var(--space-40);
}

.age-check-lead {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted, #537593);
    line-height: 28px;
    margin-bottom: var(--space-16);
    letter-spacing: 0.5px;
}

.age-check-sub {
    font-size: 15px;
    color: var(--text-main, #043156);
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 1px;
}

.age-check-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
}

.age-check-btn-yes {
    height: 56px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
}

.age-check-btn-no {
    height: 56px;
    font-size: 14px;
    letter-spacing: 1px;
}

.age-check-footer {
    border-top: 1px solid var(--border-thin);
    padding-top: var(--space-16);
}

.age-check-note {
    font-size: 11px;
    color: var(--text-muted, #537593);
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .age-check-box {
        padding: var(--space-32) var(--space-20);
    }
    .age-check-header {
        margin-bottom: var(--space-20);
    }
    .age-check-title {
        font-size: 20px;
    }
    .age-check-body {
        margin-bottom: var(--space-28);
    }
    .age-check-lead {
        font-size: 12.5px;
        line-height: 22px;
        margin-bottom: var(--space-12);
    }
    .age-check-sub {
        font-size: 13.5px;
        line-height: 24px;
    }
    .age-check-btn-yes,
    .age-check-btn-no {
        height: 48px;
        font-size: 14px;
    }
    .age-check-actions {
        gap: var(--space-12);
        margin-bottom: var(--space-16);
    }
}

/* ==========================================================================
   11. UTILITY CLASSES
   ========================================================================== */
.d-none,
.filtered-out { display: none !important; }
.w-full  { width: 100%; }
.max-w-320 { width: 320px; }
.max-w-640 { max-width: 640px; }
.max-w-768 { max-width: 768px; }
.max-w-960 { max-width: 960px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-main   { color: var(--text-main, #043156); }
.text-muted  { color: var(--text-muted, #537593); }
.text-accent { color: var(--accent-cyan-deep, #0284C7); }
.text-cyan   { color: var(--accent-cyan-deep, #0284C7); }
.text-pink   { color: var(--accent-pink, #FF4B82); }
.text-red    { color: var(--accent-pink, #FF4B82); }
.font-bold   { font-weight: 700; }
.font-num    { font-family: var(--font-num); }
.font-10     { font-size: 10px; }
.font-11     { font-size: 11px; }
.font-12     { font-size: 12px; }
.font-13     { font-size: 13px; }
.font-14     { font-size: 14px; }
.font-15     { font-size: 15px; }
.font-16     { font-size: 16px; }
.font-18     { font-size: 18px; }
.font-20     { font-size: 20px; }
.font-24     { font-size: 24px; }
.font-28     { font-size: 28px; }
.font-32     { font-size: 32px; }
.p-16        { padding: var(--space-16); }
.p-24        { padding: var(--space-24); }
.p-32        { padding: var(--space-32); }
.p-40        { padding: var(--space-40); }
.p-48        { padding: var(--space-48); }
.pt-8        { padding-top: var(--space-8); }
.pt-16       { padding-top: var(--space-16); }
.pb-16       { padding-bottom: var(--space-16); }
.mb-0        { margin-bottom: 0 !important; }
.mb-4        { margin-bottom: var(--space-4); }
.mb-8        { margin-bottom: var(--space-8); }
.mb-12       { margin-bottom: var(--space-12); }
.mb-16       { margin-bottom: var(--space-16); }
.mb-20       { margin-bottom: var(--space-20); }
.mb-24       { margin-bottom: var(--space-24); }
.mb-32       { margin-bottom: var(--space-32); }
.mb-40       { margin-bottom: var(--space-40); }
.mb-48       { margin-bottom: var(--space-48); }
.mb-56       { margin-bottom: var(--space-56); }
.mb-64       { margin-bottom: var(--space-64); }
.mt-4        { margin-top: var(--space-4); }
.mt-8        { margin-top: var(--space-8); }
.mt-12       { margin-top: var(--space-12); }
.mt-16       { margin-top: var(--space-16); }
.mt-24       { margin-top: var(--space-24); }
.mt-32       { margin-top: var(--space-32); }
.mt-40       { margin-top: var(--space-40); }
.mt-48       { margin-top: var(--space-48); }
.mt-64       { margin-top: var(--space-64); }
.mt-auto     { margin-top: auto; }
.flex-1      { flex: 1; }
.flex-between-center { display: flex; justify-content: space-between; align-items: center; }
.flex-center-gap-16  { display: flex; justify-content: center; align-items: center; gap: var(--space-16); }
.flex-column-gap-12  { display: flex; flex-direction: column; gap: var(--space-12); }
.flex-column-gap-16  { display: flex; flex-direction: column; gap: var(--space-16); }
.grid-col-all        { grid-column: 1 / -1; }
.border-bottom-thin  { border-bottom: 1px solid var(--border-thin); }
.border-top-thin     { border-top: 1px solid var(--border-thin); }
.overflow-hidden     { overflow: hidden !important; }