/* ---------------------------------------------------------------------- */
/* CSS Design Awards 受賞レベルデザイン - yee9.com LP */
/* ---------------------------------------------------------------------- */

/* 基本設定 */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f0f0f5; 
    overflow-x: hidden;
    position: relative;
    font-size: 0.95rem;
    /* Tailwind CSSのグローバルスタイルをオーバーライドする場合はここに記述 */
}

/* 1. Grainy Gradient (ノイズの入ったグラデーション) - ライトモード */
/* bodyの代わりに、LPを囲むメインコンテナに適用することを想定 */
.yee9-lp-container {
    position: relative;
    min-height: 100vh;
    background-color: #f0f0f5; 
    z-index: 1; /* コンテンツが手前に来るように設定 */
}

.yee9-lp-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* 明るいグラデーション */
    background: radial-gradient(circle at top left, #e8e8ff 0%, #f0f0f5 60%); 
    /* ノイズ効果 */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj4KICAgIDZGNzcwNkMvPgo8L3N2Zz4=');
    background-size: 50% 50%;
    opacity: 0.15;
}

/* 2. Glassmorphism (グラスモーフィズム) */
.glass-card {
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem; /* rounded-xl */
    /* Tailwindでbg-white/70を設定することを推奨 */
    border: 1px solid rgba(0, 0, 0, 0.05); /* 非常に薄い境界線 */
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.05); /* 浮遊感のあるシャドウ */
    transition: all 0.3s ease-in-out;
}

/* 3. Fade-in Up アニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s cubic-bezier(0.19, 1, 0.22, 1), transform 1.0s cubic-bezier(0.19, 1, 0.22, 1); /* スムーズなイージング */
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Micro-interactions (ボタン/リンクのホバー効果) */
.micro-interaction {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.micro-interaction:hover {
    transform: translateY(-4px); /* 大きく浮き上がらせる */
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
}

/* 成人向けボタンの特別装飾 */
.adult-cta {
    background: linear-gradient(45deg, #ff3366, #ff8c00);
    box-shadow: 0 5px 20px rgba(255, 51, 102, 0.5);
}
.adult-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.8);
}



/* Gallery preview */
.gallery-section {
    padding-top: 2rem;
}

.gallery-panel__header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.gallery-row {
    height: 95px;
    padding-bottom: 0.5rem;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}

.gallery-row.auto-scroll {
    display: flex;
}

.gallery-track {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    width: max-content;
    animation: gallery-scroll 35s linear infinite;
    animation-duration: 35s;
    will-change: transform;
}

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

@media (min-width: 768px) {
    .gallery-row {
        height: 110px;
    }
}

.gallery-thumb {
    height: 100%;
    width: auto;
    border-radius: 0.95rem;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.gallery-tip {
    text-align: center;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    max-width: min(90vw, 700px);
    max-height: 90vh;
    border-radius: 1rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.5);
}

.image-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 999px;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-thumb {
    width: 100%;
    height: 120px;
    border-radius: 0.9rem;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

@media (min-width: 768px) {
    .hero-thumb {
        height: 150px;
    }
}

.thumb-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.thumb-row-image {
    height: 120px;
    width: auto;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

@media (min-width: 1024px) {
    .thumb-row-image {
        height: 150px;
    }
}

.thumb-row::-webkit-scrollbar,
.gallery-row::-webkit-scrollbar {
    height: 6px;
}

.thumb-row::-webkit-scrollbar-track,
.gallery-row::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 999px;
}

.thumb-row::-webkit-scrollbar-thumb,
.gallery-row::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.6);
    border-radius: 999px;
}

@media (max-width: 640px) {
    .gallery-row {
        height: 85px;
    }
    .gallery-track {
        animation-duration: 55s;
    }
}

@media (max-width: 640px) {
    header h3 {
        font-size: 0.5rem;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 0 1.5rem 1rem;
    gap: 0.5rem;
}

.mobile-nav a {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
    color: #0f172a;
}

.mobile-nav a.mobile-adult-link {
    color: #dc2626 !important;
}


.mobile-nav.is-open {
    display: flex;
}
