/*
Theme Name: HEROS TOKYO
Description: プレミアム メンズ エスコート サービス用WordPressテーマ
Version: 1.0
Author: Your Name
*/

/* ============================================
   ベーススタイル
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc2626;
    --dark-red: #991b1b;
    --light-red: #fef2f2;
    --accent-red: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-dark: #0f172a;
    --border-light: #e5e7eb;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-dark);
    background: var(--background);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ============================================
   共通レイアウト
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 6rem 0;
    margin: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-red), var(--accent-red));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ボタン共通スタイル
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-red), var(--accent-red));
    color: white;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* ============================================
   ヘッダー
   ============================================ */

.header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo img {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(255,255,255,0.3));
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

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

.nav-menu li {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
    height: 36px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.nav-menu .current-menu-item a,
.nav-menu .active a {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Language Switcher */
.menu-item-language-switcher {
    margin-left: 20px;
}

.language-switcher-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 36px;
}

.language-switcher-menu a {
    color: white !important;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    transition: all 0.3s ease;
    height: auto;
}

.language-switcher-menu a:hover {
    background: rgba(255,255,255,0.2);
}

.language-switcher-menu .current {
    color: white;
    background: rgba(255,255,255,0.3);
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.language-switcher-menu span {
    color: white;
    margin: 0 2px;
    font-size: 12px;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--dark-red) 100%);
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    z-index: 1001;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.mobile-menu-close::before {
    content: '×';
    font-weight: bold;
    line-height: 1;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 40px;
}

.mobile-nav-menu .current-menu-item a {
    background: rgba(255,255,255,0.15);
    border-left: 4px solid white;
}

.mobile-nav-menu .menu-item-language-switcher {
    border-top: 2px solid rgba(255,255,255,0.2);
    margin-top: 10px;
    padding-top: 10px;
}

.mobile-nav-menu .language-switcher-menu {
    padding: 15px 30px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-nav-menu .language-switcher-menu a,
.mobile-nav-menu .language-switcher-menu .current {
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.3);
}

.mobile-nav-menu .language-switcher-menu a:hover {
    background: rgba(255,255,255,0.2);
    padding-left: 12px;
}

body.menu-open {
    overflow: hidden;
}

/* パンくずリスト */
.breadcrumb {
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-light);
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
}

.breadcrumb-item::after {
    content: '>';
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb-item:last-child::after {
    content: '';
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-red);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.current span {
    color: var(--text-dark);
}

.main-content {
    margin-top: 0;
}

/* ============================================
   ヒーローセクション
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--background-dark) 0%, #1e293b 50%, var(--dark-red) 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero h1 .seo-sub {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    color: #94a3b8;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .age-verification {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid var(--primary-red);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.content-hidden {
    display: none;
}

.age-verification-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    width: 100vw;
}

/* ============================================
   ヒーロースライダー
   ============================================ */

section.hero-slider {
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1125px;
    max-height: 450px;
    margin: 0 auto;
    background: #000;
    padding: 0;
    display: block;
    clear: both;
    border: 1px solid #ccc;
    border-radius: 4px;
    aspect-ratio: 2.5 / 1;
    height: 0;
    padding-bottom: 40%;
    overflow: hidden;
}

@supports (aspect-ratio: 2.5 / 1) {
    .hero-slider {
        height: auto;
        padding-bottom: 0;
    }
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

.slide img,
.slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
    outline: none;
    border-radius: 4px;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border: none;
    outline: none;
    border-radius: 4px;
    overflow: hidden;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

.slide-placeholder h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: bold;
}

.slide-placeholder p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    opacity: 0.8;
    margin: 0;
    padding: 0 20px;
}

.slide-error {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

.slide-error h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: bold;
}

.slide-error p {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    opacity: 0.8;
    margin: 0;
    padding: 0 20px;
}

.slider-dots {
    position: absolute;
    bottom: clamp(15px, 3vw, 30px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(8px, 1.5vw, 15px);
    z-index: 10;
}

.dot {
    width: clamp(10px, 1.5vw, 15px);
    height: clamp(10px, 1.5vw, 15px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.dot:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.dot:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.slider-btn svg {
    width: clamp(20px, 3vw, 30px);
    height: clamp(20px, 3vw, 30px);
}

.prev-btn {
    left: clamp(10px, 2vw, 30px);
}

.next-btn {
    right: clamp(10px, 2vw, 30px);
}

/* ============================================
   ボーイスライダー（アバウト）
   ============================================ */

#about-boys-slider.section {
    padding: 1rem 0;
}

.about-boys-slider {
    display: flex;
    animation: slideLeft 50s linear infinite;
    gap: 15px;
    width: max-content;
}

.about-boy-item {
    flex-shrink: 0;
    width: 150px;
    background: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.about-boy-item:hover {
    transform: scale(1.05);
}

.about-boy-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.about-boy-item img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.about-boy-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    font-size: 12px;
    font-weight: normal;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    margin: 0;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-boys-slider:hover {
    animation-play-state: paused;
}

/* ============================================
   サービス紹介セクション（全幅赤背景）
   ============================================ */

#services {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    padding: 80px 0;
    position: relative;
    margin: 0 !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    max-width: none !important;
    box-sizing: border-box;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.5;
    pointer-events: none;
}

#services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#services .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

#services .section-title h2 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

#services .section-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.6);
}

.service-card h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ============================================
   Today's Boys と All Boys の統一スタイル
   ============================================ */

/* 共通セクション設定 */
#today-cast,
#all-boys {
    padding: 60px 0;
}

#today-cast {
    background: #f8f9fa;
}

#all-boys {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef, #f1f3f4);
    position: relative;
}

/* コンテナの完全統一 */
#today-cast .container,
#all-boys .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: auto !important;
    box-sizing: border-box !important;
}

/* タイトル共通スタイル */
#today-cast h1,
#all-boys h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

#today-cast p,
#all-boys p {
    text-align: center;
    margin: 0.5rem 0;
}

/* グリッドレイアウトの完全統一 */
#today-cast .boys-grid-container,
#all-boys .boys-grid-container {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ボーイカード共通スタイル */
#today-cast .boy-card,
#today-cast .boys-grid-container > div:not(.boys-count):not(.no-boys-message),
#all-boys .boy-card,
#all-boys .boys-grid-container > div,
.search-boys-grid .boy-card {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* カードリンク */
#today-cast .boy-card-link,
#today-cast .boys-grid-container > div > a,
#all-boys .boy-card-link,
#all-boys .boys-grid-container > div > a,
.search-boys-grid .boy-card-link {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    height: 100% !important;
}

/* 画像エリア統一 */
#today-cast .boy-card-image,
#all-boys .boy-card-image,
.search-boys-grid .boy-card-image {
    width: 100% !important;
    height: 240px !important;
    background: #f8f9fa !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

#today-cast .boy-card-image img,
#all-boys .boy-card-image img,
.search-boys-grid .boy-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transition: transform 0.3s ease !important;
}

/* 名前オーバーレイ統一 */
#today-cast .boy-name-overlay,
#all-boys .boy-name-overlay,
.search-boys-grid .boy-name-overlay {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    z-index: 10 !important;
}

/* 詳細情報エリア統一 */
#today-cast .boy-info-area,
#all-boys .boy-info-area,
.search-boys-grid .boy-info-area {
    padding: 8px !important;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: white !important;
    transition: all 0.3s ease !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* 性的思考タグ */
#today-cast .sex-info,
#all-boys .sex-info,
.search-boys-grid .sex-info {
    text-align: center !important;
    margin-bottom: 6px !important;
}

#today-cast .sex-tag,
#all-boys .sex-tag,
.search-boys-grid .sex-tag {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 1px 4px !important;
    border-radius: 6px !important;
    font-size: 0.65rem !important;
    margin: 0 1px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

/* プレイ情報グリッド統一 */
#today-cast .play-info-grid,
#all-boys .play-info-grid,
.search-boys-grid .play-info-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3px !important;
    font-size: 0.6rem !important;
    margin-top: auto !important;
}

#today-cast .play-info-grid > div,
#all-boys .play-info-grid > div,
.search-boys-grid .play-info-grid > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
}

#today-cast .play-info-grid span:first-child,
#all-boys .play-info-grid span:first-child,
.search-boys-grid .play-info-grid span:first-child {
    white-space: nowrap !important;
}

#today-cast .play-info-grid span:last-child,
#all-boys .play-info-grid span:last-child,
.search-boys-grid .play-info-grid span:last-child {
    font-size: 0.7rem !important;
    min-width: 12px !important;
    text-align: center !important;
    font-weight: bold !important;
}

/* Today's Boys 固有スタイル */
#today-cast .work-time,
.search-boys-grid .work-time {
    text-align: center !important;
    margin-bottom: 6px !important;
    font-size: 0.7rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

#today-cast .overnight-info,
.search-boys-grid .overnight-info {
    text-align: center !important;
    margin-bottom: 6px !important;
    font-size: 0.65rem !important;
    opacity: 0.9 !important;
    transition: opacity 0.3s ease !important;
}

#today-cast .sold-out-badge,
.search-boys-grid .sold-out-badge {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: #ff5722 !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    z-index: 10 !important;
}

/* ホバー効果統一 */
#today-cast .boy-card:hover,
#today-cast .boys-grid-container > div:hover,
#all-boys .boy-card:hover,
#all-boys .boys-grid-container > div:hover,
.search-boys-grid .boy-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-red) !important;
}

#today-cast .boy-card:hover .boy-card-image img,
#today-cast .boys-grid-container > div:hover .boy-card-image img,
#all-boys .boy-card:hover .boy-card-image img,
#all-boys .boys-grid-container > div:hover .boy-card-image img,
.search-boys-grid .boy-card:hover .boy-card-image img {
    transform: scale(1.05) !important;
}

#today-cast .boy-card:hover .boy-name-overlay,
#today-cast .boys-grid-container > div:hover .boy-name-overlay,
#all-boys .boy-card:hover .boy-name-overlay,
#all-boys .boys-grid-container > div:hover .boy-name-overlay,
.search-boys-grid .boy-card:hover .boy-name-overlay {
    background: rgba(220, 38, 38, 0.9) !important;
    transform: scale(1.05) !important;
}

#today-cast .boy-card:hover .boy-info-area,
#today-cast .boys-grid-container > div:hover .boy-info-area,
#all-boys .boy-card:hover .boy-info-area,
#all-boys .boys-grid-container > div:hover .boy-info-area,
.search-boys-grid .boy-card:hover .boy-info-area {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--dark-red) 100%) !important;
}

#today-cast .boy-card:hover .sex-tag,
#today-cast .boys-grid-container > div:hover .sex-tag,
#all-boys .boy-card:hover .sex-tag,
#all-boys .boys-grid-container > div:hover .sex-tag,
.search-boys-grid .boy-card:hover .sex-tag {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05) !important;
}

#today-cast .boy-card:hover .play-info-grid > div,
#today-cast .boys-grid-container > div:hover .play-info-grid > div,
#all-boys .boy-card:hover .play-info-grid > div,
#all-boys .boys-grid-container > div:hover .play-info-grid > div,
.search-boys-grid .boy-card:hover .play-info-grid > div {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.02) !important;
}

#today-cast .boy-card:hover .work-time,
#today-cast .boys-grid-container > div:hover .work-time {
    background: rgba(255, 255, 255, 0.25) !important;
}

#today-cast .boy-card:hover .overnight-info,
#today-cast .boys-grid-container > div:hover .overnight-info {
    opacity: 1 !important;
}

/* 投稿数表示・メッセージエリア */
#today-cast .boys-count,
#today-cast .no-boys-message,
#all-boys .boys-count,
#all-boys .no-boys-message {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    margin-top: 2rem !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border-radius: 12px !important;
    color: #666 !important;
    border: 2px solid #dee2e6 !important;
    transition: all 0.3s ease !important;
    display: block !important;
    height: auto !important;
}

#today-cast .boys-count:hover,
#today-cast .no-boys-message:hover,
#all-boys .boys-count:hover,
#all-boys .no-boys-message:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6) !important;
    border-color: #adb5bd !important;
    transform: translateY(-2px) !important;
}

#today-cast .boys-count p,
#today-cast .no-boys-message p,
#all-boys .boys-count p,
#all-boys .no-boys-message p {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

/* ============================================
   ランキングセクション（全幅金色背景）
   ============================================ */

#ranking {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    left: 50% !important;
    right: 50% !important;
    transform: translateX(-50%) !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

#ranking::before {
    content: '';
    position: absolute;
    top: 0;
    left: -9999px;
    right: -9999px;
    bottom: 0;
    background: 
        linear-gradient(135deg, #fbbf24, #f59e0b, #d97706),
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

#ranking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="goldPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23goldPattern)"/></svg>') repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

#ranking .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
    width: auto !important;
}

#ranking .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

#ranking .section-title h2 {
    color: #78350f;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    position: relative;
}

#ranking .section-title h2::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

#ranking .section-title p {
    color: #92400e;
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ranking-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.ranking-item {
    flex: 0 0 auto;
    width: 200px;
    margin-bottom: 30px;
    animation: goldFadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.ranking-item .col-lg-2,
.ranking-item .col-md-2,
.ranking-item .col-sm-4,
.ranking-item .col-xs-4 {
    width: 100%;
    padding: 0;
}

.panel-ranking {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 280px;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#ranking .panel-ranking:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.panel-ranking .panel-body {
    padding: 0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-head {
    position: absolute;
    bottom: 45px;
    left: 10px;
    z-index: 10;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.panel-head h3 {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.panel-ranking-no1 {
    position: relative;
    overflow: hidden;
}

.panel-ranking-no1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #d97706, #fbbf24);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.8;
    animation: goldGlow 3s ease-in-out infinite alternate;
}

.panel-ranking-no1 .panel-head {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.5);
    border: 2px solid #fcd34d;
}

.panel-ranking-no1 .panel-head h3 {
    color: #78350f !important;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.panel-ranking-no2 .panel-head {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.panel-ranking-no2 .panel-head h3 {
    color: #333 !important;
}

.panel-ranking-no3 .panel-head {
    background: linear-gradient(135deg, #cd7f32, #daa520);
}

.panel-ranking a {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.panel-ranking img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.panel-ranking:hover img {
    transform: scale(1.05);
}

.panel-ranking .innrTxt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 12px 10px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(2px);
}

#ranking > .container > p {
    text-align: center;
    color: #92400e;
    font-size: 1rem;
    margin: 0;
    padding-top: 20px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* ============================================
   ニュースセクション
   ============================================ */

.news-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.news-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
}

.news-subtitle {
    font-size: 20px;
    font-weight: normal;
    margin-left: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-no-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

.news-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.news-category-badge {
    background: rgba(220, 20, 60, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.news-card-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.news-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #dc143c;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.more-link {
    display: inline-block;
    background: #dc143c;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.more-link:hover {
    background: #a00e2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

/* ============================================
   料金セクション
   ============================================ */

#price .section {
    text-align: center;
    margin-top: 40px;
}

#price .price-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-transform: none;
}

#price .price-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, var(--dark-red), var(--dark-red));
    color: white;
    text-decoration: none;
}

#price .price-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#price .price-button:hover::before {
    left: 100%;
}

#price .price-button::after {
    content: '→';
    margin-left: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#price .price-button:hover::after {
    transform: translateX(5px);
}

#price .price-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

#price .price-button:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3), 0 0 0 3px rgba(220, 38, 38, 0.2);
}

#price .section-title {
    margin-bottom: 40px;
}

#price .price-content {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* ============================================
   アクセス情報
   ============================================ */

.access {
    background: var(--background-dark);
    color: white;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.access-content .map-placeholder {
    order: -1;
}

.access-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-red);
    position: relative;
    padding-bottom: 0.5rem;
}

.access-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-red);
}

.access-info p {
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 1rem;
}

.reservation-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.reservation-buttons .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reservation-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.map-placeholder {
    background: #374151;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.map-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.map-placeholder iframe {
    width: 100% !important;
    height: 400px !important;
    border: none !important;
    border-radius: 15px;
    display: block;
    transition: all 0.3s ease;
}

.map-placeholder:hover iframe {
    filter: brightness(1.1) contrast(1.05);
}

/* ============================================
   フッター
   ============================================ */

.footer {
    background: var(--background-dark);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid #374151;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p, 
.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ============================================
   ページネーション
   ============================================ */

.page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}

.page-numbers a:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.page-numbers .current {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* ============================================
   アニメーション
   ============================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up:nth-child(1) { animation-delay: 0.2s; }
.fade-in-up:nth-child(2) { animation-delay: 0.4s; }
.fade-in-up:nth-child(3) { animation-delay: 0.6s; }

@keyframes goldFadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goldGlow {
    0% { opacity: 0.6; filter: blur(0px); }
    100% { opacity: 0.9; filter: blur(1px); }
}

@keyframes slideIn {
    from { transform: scale(1.05); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.slide.fade-in {
    animation: slideIn 0.8s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

/* ランキングアイテムのアニメーション遅延 */
#ranking .ranking-item:nth-child(1) { animation-delay: 0.1s; }
#ranking .ranking-item:nth-child(2) { animation-delay: 0.2s; }
#ranking .ranking-item:nth-child(3) { animation-delay: 0.3s; }
#ranking .ranking-item:nth-child(4) { animation-delay: 0.4s; }
#ranking .ranking-item:nth-child(5) { animation-delay: 0.5s; }
#ranking .ranking-item:nth-child(6) { animation-delay: 0.6s; }
#ranking .ranking-item:nth-child(7) { animation-delay: 0.7s; }
#ranking .ranking-item:nth-child(8) { animation-delay: 0.8s; }
#ranking .ranking-item:nth-child(9) { animation-delay: 0.9s; }
#ranking .ranking-item:nth-child(10) { animation-delay: 1.0s; }
#ranking .ranking-item:nth-child(11) { animation-delay: 1.1s; }
#ranking .ranking-item:nth-child(12) { animation-delay: 1.2s; }

/* ロード時のアニメーション無効化 */
.preload * {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
}

/* ============================================
   レスポンシブデザイン
   ============================================ */

/* 大画面（1200px以上） */
@media (min-width: 1200px) {
    #today-cast .boys-grid-container,
    #all-boys .boys-grid-container {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 18px !important;
    }
    
    .ranking-item {
        width: 180px;
    }
    
    .panel-ranking {
        height: 250px;
    }
    
    .hero-slider {
        width: 1125px;
        height: 450px;
        max-width: 1125px;
        max-height: 450px;
        aspect-ratio: unset;
        padding-bottom: 0;
    }
}

/* 中画面（768px - 1199px） */
@media (max-width: 1199px) and (min-width: 768px) {
    #today-cast .boys-grid-container,
    #all-boys .boys-grid-container {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
    }
    
    #today-cast .boy-card-image,
    #all-boys .boy-card-image {
        height: 200px !important;
    }
    
    #today-cast .boy-name-overlay,
    #all-boys .boy-name-overlay {
        font-size: 0.75rem !important;
        padding: 3px 6px !important;
    }
    
    #today-cast .boy-info-area,
    #all-boys .boy-info-area {
        padding: 10px !important;
    }
    
    #today-cast .play-info-grid,
    #all-boys .play-info-grid {
        font-size: 0.6rem !important;
    }
    
    .ranking-content {
        gap: 15px;
    }
    
    .ranking-item {
        width: 160px;
    }
    
    .panel-ranking {
        height: 220px;
    }
    
    .panel-head h3 {
        font-size: 0.8rem;
    }
    
    .panel-ranking .innrTxt {
        font-size: 0.9rem;
        padding: 10px 8px;
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .age-verification-page {
        margin-left: 0;
        width: 100vw;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    .header {
        height: 50px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .mobile-menu {
        width: 280px;
        right: -280px;
        padding-top: 70px;
    }
    
    #today-cast .container,
    #all-boys .container {
        padding: 0 15px !important;
    }
    
    #today-cast .boys-grid-container,
    #all-boys .boys-grid-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
    
    #today-cast .boy-card-image,
    #all-boys .boy-card-image {
        height: 180px !important;
    }
    
    #today-cast .boy-name-overlay,
    #all-boys .boy-name-overlay {
        font-size: 0.7rem !important;
        padding: 2px 5px !important;
    }
    
    #today-cast .boy-info-area,
    #all-boys .boy-info-area {
        padding: 8px !important;
    }
    
    #today-cast .sex-tag,
    #all-boys .sex-tag {
        font-size: 0.6rem !important;
        padding: 1px 4px !important;
    }
    
    #today-cast .play-info-grid,
    #all-boys .play-info-grid {
        font-size: 0.55rem !important;
        gap: 2px !important;
    }
    
    #today-cast .play-info-grid > div,
    #all-boys .play-info-grid > div {
        padding: 1px 3px !important;
    }
    
    .hero-slider {
        aspect-ratio: 2.5 / 1;
        padding-bottom: 40%;
    }
    
    @supports (aspect-ratio: 2.5 / 1) {
        .hero-slider {
            padding-bottom: 0;
        }
    }
    
    .slide img,
    .slide a img {
        object-position: center;
        object-fit: contain;
        background: transparent;
    }
    
    .ranking-content {
        gap: 10px;
    }
    
    .ranking-item {
        width: 140px;
    }
    
    .panel-ranking {
        height: 180px;
        border-radius: 10px;
    }
    
    .panel-head {
        padding: 5px 10px;
        bottom: 35px;
    }
    
    .panel-ranking-no1 .panel-head {
        bottom: 35px;
    }
    
    .panel-head h3 {
        font-size: 0.7rem;
    }
    
    .panel-ranking .innrTxt {
        font-size: 0.8rem;
        padding: 8px 6px;
    }
    
    #services {
        padding: 60px 0;
    }
    
    #services .section-title h2 {
        font-size: 2.2rem;
    }
    
    #services .section-title p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    /* アクセスセクション モバイル対応 */
    .access-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .access-content .access-map {
        order: -1;
    }

    .access-content .access-map iframe {
        width: 100% !important;
        height: 250px !important;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .news-section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .news-title {
        font-size: 24px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .news-subtitle {
        font-size: 18px;
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-card-title {
        font-size: 15px;
    }
    
    #price .price-button {
        padding: 14px 30px;
        font-size: 1rem;
        border-radius: 40px;
    }
    
    #price .price-button::after {
        font-size: 1.1rem;
        margin-left: 6px;
    }
    
    #today-cast h1,
    #all-boys h1 {
        font-size: 2rem !important;
    }
    
    #today-cast p,
    #all-boys p {
        font-size: 1rem !important;
    }
}

/* 小画面（600px以下） */
@media (max-width: 600px) {
    #today-cast .boys-grid-container,
    #all-boys .boys-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    #today-cast .boy-card-image,
    #all-boys .boy-card-image {
        height: 160px !important;
    }
    
    #today-cast .boy-name-overlay,
    #all-boys .boy-name-overlay {
        font-size: 0.65rem !important;
        bottom: 6px !important;
        left: 6px !important;
    }
    
    #today-cast .boy-info-area,
    #all-boys .boy-info-area {
        padding: 6px !important;
    }
    
    #today-cast .sex-tag,
    #all-boys .sex-tag {
        font-size: 0.55rem !important;
    }
    
    #today-cast .play-info-grid,
    #all-boys .play-info-grid {
        font-size: 0.5rem !important;
    }
    
    .ranking-item {
        width: 120px;
    }
    
    .panel-ranking {
        height: 160px;
        border-radius: 10px;
    }
    
    .panel-head {
        padding: 4px 8px;
        border-radius: 15px;
        bottom: 25px;
    }
    
    .panel-ranking-no1 .panel-head {
        bottom: 25px;
    }
    
    .panel-head h3 {
        font-size: 0.6rem;
    }
    
    .panel-ranking .innrTxt {
        font-size: 0.7rem;
        padding: 6px 4px;
        border-radius: 0 0 10px 10px;
    }
    
    #ranking {
        padding: 40px 0;
    }
    
    #ranking h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .ranking-content {
        gap: 8px;
    }
}

/* 極小画面（480px以下） */
@media (max-width: 480px) {
    .mobile-menu {
        width: 250px;
        right: -250px;
    }
    
    .logo img {
        height: 25px;
    }
    
    .mobile-nav-menu a {
        font-size: 14px;
        padding: 12px 25px;
    }
    
    .mobile-nav-menu a:hover {
        padding-left: 35px;
    }
    
    #today-cast .boys-grid-container,
    #all-boys .boys-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    #today-cast .boy-card-image,
    #all-boys .boy-card-image {
        height: 180px !important;
    }
    
    #today-cast .boy-name-overlay,
    #all-boys .boy-name-overlay {
        font-size: 0.7rem !important;
    }
    
    #today-cast .boy-info-area,
    #all-boys .boy-info-area {
        padding: 6px !important;
    }
    
    #today-cast .sex-tag,
    #all-boys .sex-tag {
        font-size: 0.6rem !important;
    }
    
    #today-cast .play-info-grid,
    #all-boys .play-info-grid {
        font-size: 0.5rem !important;
        gap: 1px !important;
    }
    
    .hero-slider {
        aspect-ratio: 2.5 / 1;
        padding-bottom: 40%;
    }
    
    @supports (aspect-ratio: 2.5 / 1) {
        .hero-slider {
            padding-bottom: 0;
        }
    }
    
    .slide img,
    .slide a img {
        object-position: center;
        object-fit: contain;
        background: transparent;
    }
    
    #services .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .news-title {
        font-size: 20px;
    }
    
    .news-subtitle {
        font-size: 16px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-card-title {
        font-size: 14px;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    #price .price-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: auto;
        min-width: 200px;
    }
    
    #ranking .section-title h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    #ranking .section-title p {
        font-size: 1rem;
    }
    
    #today-cast h1,
    #all-boys h1 {
        font-size: 1.8rem !important;
    }
    
    #today-cast p,
    #all-boys p {
        font-size: 0.9rem !important;
    }
}

/* 極小画面（375px以下） */
@media (max-width: 375px) {
    #today-cast .boys-grid-container,
    #all-boys .boys-grid-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    #today-cast .boy-card-image,
    #all-boys .boy-card-image {
        height: 220px !important;
    }
    
    #today-cast .boy-name-overlay,
    #all-boys .boy-name-overlay {
        font-size: 0.8rem !important;
    }
    
    #today-cast .boy-info-area,
    #all-boys .boy-info-area {
        padding: 8px !important;
    }
    
    #today-cast .sex-tag,
    #all-boys .sex-tag {
        font-size: 0.65rem !important;
    }
    
    #today-cast .play-info-grid,
    #all-boys .play-info-grid {
        font-size: 0.55rem !important;
        gap: 2px !important;
    }
}

/* 極小画面（320px以下） */
@media (max-width: 320px) {
    .hero-slider {
        aspect-ratio: 2.5 / 1;
        padding-bottom: 40%;
        min-height: 128px;
    }
    
    @supports (aspect-ratio: 2.5 / 1) {
        .hero-slider {
            padding-bottom: 0;
        }
    }
    
    .slide img,
    .slide a img {
        object-position: center;
        object-fit: contain;
        background: transparent;
    }
}

/* 横向きスマホ対応 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider {
        aspect-ratio: 2.5 / 1;
        padding-bottom: 40%;
    }
    
    @supports (aspect-ratio: 2.5 / 1) {
        .hero-slider {
            padding-bottom: 0;
        }
    }
    
    .slide img,
    .slide a img {
        object-position: center;
        object-fit: contain;
        background: transparent;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 全体コンテナ */
.recruitment-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  color: #2c3e50;
  line-height: 1.6;
}

/* トップ画像 */
.top-image-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ヘッダー */
.recruitment-header {
  text-align: center;
  margin: 40px 0;
}
.recruitment-header h1 {
  font-size: 2.5rem;
  color: #e74c3c;
}
.recruitment-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-top: 10px;
}

/* コンセプト */
.concept-section {
  margin: 40px 0;
  text-align: center;
}
.concept-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.concept-section p {
  margin-bottom: 10px;
}

/* グリッド共通 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.feature-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.feature-card h3,
.feature-card h4 {
  margin-bottom: 10px;
  color: #2c3e50;
}
.feature-card p {
  margin-bottom: 5px;
}

/* ハイライトボックス */
.highlight-box {
  background: #f9f9f9;
  border-left: 4px solid #e74c3c;
  padding: 20px;
  margin: 40px 0;
}
.highlight-box p + p {
  margin-top: 10px;
}

/* 比較ボックス */
.comparison-box {
  background: #e8f5e8;
  border-left: 4px solid #27ae60;
  padding: 20px;
  margin: 40px 0;
}
.comparison-box h3 {
  margin-bottom: 10px;
}
.comparison-box p {
  margin-bottom: 8px;
}

/* ベネフィット（設備） */
.benefits-section {
  margin: 40px 0;
}
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.benefit-item {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.benefit-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
}

/* 集客率グラフ */
.stats-chart {
  text-align: center;
  margin: 40px 0;
}
.stats-chart img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.stats-chart h3 {
  font-size: 1.5rem;
  color: #e74c3c;
  margin: 20px 0;
}

/* 給与・募集概要 */
.salary-section {
  margin: 40px 0;
}
.salary-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.salary-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.salary-item {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
}

/* チェックリスト */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.checklist-item {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

/* Q&A */
.qa-section {
  margin: 40px 0;
}
.qa-item {
  margin-bottom: 30px;
}
.qa-question {
  font-weight: bold;
  margin-bottom: 8px;
}
.qa-answer {
  padding-left: 15px;
  border-left: 3px solid #3498db;
  line-height: 1.6;
}

/* 店長メッセージ */
.message-section {
  margin: 40px 0;
}
.message-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.message-section p {
  margin-bottom: 10px;
}

/* CTA セクション */
.cta-section {
  text-align: center;
  margin: 60px 0;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* 応募フォーム */
.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto 40px auto;
  text-align: center;
}
.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* LINE 応募 */
.line-contact-section {
  background: #2cbb6c;
  color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 40px;
}
.line-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.line-info p {
  margin: 5px 0;
}
.line-add-button-text {
  display: inline-block;
  background: #fff;
  color: #2cbb6c;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}
.line-description {
  margin-top: 15px;
  font-size: 0.9rem;
}

/* レスポンシブ微調整 */
@media (max-width: 768px) {
  .recruitment-header h1 {
    font-size: 2rem;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
}
