/* ===== リセット & 基本設定 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 60px;
}

body {
    font-family: 'Shippori Mincho', 'Cormorant Garamond', serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
}

/* スワイプリロード無効化 */
body {
    overscroll-behavior-y: contain;
}

/* ===== ヒーローセクション ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 画像ラッパー - 画像に追従 */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 画像 */
.hero-image {
    display: block;
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
}

/* 上部グラデーション - 画像の上端に追従 */
.hero-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to bottom, 
        #0a0a0a 0%,
        rgba(10, 10, 10, 0.5) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* 下部グラデーション - 画像の下端に追従 */
.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, 
        #0a0a0a 0%,
        #0a0a0a 30%,
        rgba(10, 10, 10, 0.7) 60%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* ガラス光エフェクト - 画像内のみ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 60%,
        transparent 100%
    );
    animation: glassShine 4s ease-in-out infinite;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 40%,
        rgba(212, 175, 55, 0.05) 45%,
        rgba(212, 175, 55, 0.15) 50%,
        rgba(212, 175, 55, 0.05) 55%,
        transparent 60%,
        transparent 100%
    );
    animation: glassShineVertical 6s ease-in-out infinite 2s;
}

@keyframes glassShine {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

@keyframes glassShineVertical {
    0%, 100% { top: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 200%; opacity: 0; }
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    z-index: 10;
    pointer-events: none;
}

.scroll-indicator span {
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #d4af37, transparent);
    animation: scrollFade 2s ease-in-out infinite;
}

@keyframes scrollFade {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* ===== ナビゲーション ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-link {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    position: relative;
    transition: all 0.3s ease;
    animation: navLinkPulse 3s ease-in-out infinite;
}

.nav-link:nth-child(1) { animation-delay: 0s; }
.nav-link:nth-child(2) { animation-delay: 0.5s; }
.nav-link:nth-child(3) { animation-delay: 1s; }
.nav-link:nth-child(4) { animation-delay: 1.5s; }

@keyframes navLinkPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; text-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-link:hover::after {
    width: 80%;
}

/* ===== セクション共通 ===== */
.section {
    padding: 100px 20px;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-sub {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: #999;
    font-weight: 400;
}

.title-main {
    font-size: 2.5rem;
    color: #d4af37;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 20px;
    animation: glowPulse 3s ease-in-out infinite;
}

.title-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% { width: 60px; opacity: 1; }
    50% { width: 100px; opacity: 0.7; }
}

/* ===== Aboutセクション ===== */
.about-section .title-main::after {
    display: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.about-text {
    text-align: center;
    font-size: 1rem;
    line-height: 2;
    color: #ccc;
    letter-spacing: 0.05em;
    animation: textBreath 4s ease-in-out infinite;
}

@keyframes textBreath {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

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

/* ===== 料金システムセクション ===== */
/* 料金テーブル */
.price-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    overflow: hidden;
    animation: tableGlow 3s ease-in-out infinite;
    table-layout: fixed;
}

@keyframes tableGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.3); }
}

.table-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    color: #d4af37;
    padding: 10px 10px;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    animation: shimmer 2s ease-in-out infinite;
    width: 50%;
}

/* 左側ヘッダー（右に区切り線） */
.table-header:first-child {
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.table-emoji {
    filter: grayscale(100%) brightness(1.5);
}

@keyframes shimmer {
    0%, 100% { background-position: -100% 0; }
    50% { background-position: 100% 0; }
}

.price-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 25%;
}

/* 2列目（左側の価格セル）に右ボーダー */
.price-table td:nth-child(2) {
    border-right: 1px solid rgba(212, 175, 55, 0.15);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.time-cell {
    color: #ccc;
    font-size: 0.9rem;
    text-align: left;
}

.price-cell {
    color: #d4af37;
    font-size: 1rem;
    font-weight: 500;
    text-align: right;
    animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
}

.tax-notice {
    text-align: center;
    margin-top: 30px;
}

.tax-notice p {
    color: #999;
    font-size: 0.9rem;
}

/* ===== キャストセクション ===== */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cast-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    animation: cardFloat 4s ease-in-out infinite;
}

.cast-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.cast-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cast-card:hover .cast-image {
    transform: scale(1.1);
}

.cast-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.cast-name {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.more-button-container {
    text-align: center;
    margin-top: 50px;
}

.more-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    animation: buttonPulse 3s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.5); }
}

.more-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    animation: none;
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.more-button:hover .arrow {
    transform: translateX(10px);
    animation: none;
}

/* ===== アクセスセクション ===== */
.access-content {
    max-width: 800px;
    margin: 0 auto;
}

.access-info {
    display: grid;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    animation: infoGlow 4s ease-in-out infinite;
}

.info-item:nth-child(1) { animation-delay: 0s; }
.info-item:nth-child(2) { animation-delay: 1s; }

@keyframes infoGlow {
    0%, 100% { border-color: rgba(212, 175, 55, 0.1); box-shadow: none; }
    50% { border-color: rgba(212, 175, 55, 0.4); box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    filter: grayscale(100%) brightness(1.5);
}

.info-text h4 {
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.info-text p {
    color: #ccc;
    line-height: 1.8;
}

.tel-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.tel-link:hover {
    color: #f4d03f;
}

.holiday {
    color: #999;
    font-size: 0.9rem;
}

/* 地図 */
.map-container {
    margin-top: 0;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: mapGlow 4s ease-in-out infinite;
}

@keyframes mapGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); border-color: rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); border-color: rgba(212, 175, 55, 0.5); }
}

.map-container iframe {
    display: block;
}

/* ===== 電話ボタン（固定） ===== */
.floating-tel-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 50%;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.5);
    animation: telPulse 2s ease-in-out infinite, telFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-tel-button:hover {
    transform: scale(1.1);
}

.tel-icon {
    font-size: 1.5rem;
    filter: none;
}

.tel-text {
    font-size: 0.6rem;
    color: #000;
    font-weight: 600;
    letter-spacing: 0.05em;
}

@keyframes telPulse {
    0%, 100% { box-shadow: 0 5px 25px rgba(212, 175, 55, 0.5); }
    50% { box-shadow: 0 5px 40px rgba(212, 175, 55, 0.8), 0 0 60px rgba(212, 175, 55, 0.4); }
}

@keyframes telFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== 追加アニメーション ===== */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
    50% { text-shadow: 0 0 30px rgba(212, 175, 55, 1), 0 0 50px rgba(212, 175, 55, 0.5); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(212, 175, 55, 0.2); }
    50% { border-color: rgba(212, 175, 55, 0.6); }
}

@keyframes bgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== フッター ===== */
.footer {
    padding: 60px 20px;
    background: #000;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    animation: footerBorderGlow 5s ease-in-out infinite;
}

@keyframes footerBorderGlow {
    0%, 100% { border-top-color: rgba(212, 175, 55, 0.2); }
    50% { border-top-color: rgba(212, 175, 55, 0.6); }
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
    font-size: 2rem;
    color: #d4af37;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
    50% { text-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 50px rgba(212, 175, 55, 0.4); }
}

.footer-text {
    color: #999;
    margin-bottom: 20px;
}

.copyright {
    color: #666;
    font-size: 0.85rem;
}

/* ===== 女の子一覧ページ ===== */
.girls-page {
    background: #0a0a0a;
}

.page-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4af37;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.back-button:hover {
    background: rgba(212, 175, 55, 0.1);
}

.arrow-left {
    font-size: 1.2rem;
}

.page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 0.2em;
}

.girls-list-section {
    padding: 60px 20px 100px;
}

.full-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* ===== レスポンシブ対応 ===== */
@media (min-width: 768px) {
    .cast-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .full-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-container {
        gap: 30px;
    }
    
    .nav-link {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .full-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== アニメーション ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.8s ease-out;
}

/* ===== タッチデバイス最適化 ===== */
@media (hover: none) {
    .cast-card:active {
        transform: scale(0.98);
    }
    
    .more-button:active {
        transform: scale(0.95);
    }
    
    .nav-link:active {
        background: rgba(212, 175, 55, 0.1);
    }
}

/* ===== 区切り装飾 ===== */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.about-section::before {
    display: none;
}
