/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 17 2025 | 00:07:35 */
/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6B46C1;
    --primary-dark: #553C9A;
    --accent: #FBBF24;
    --accent-light: #FDE68A;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --shadow: rgba(107, 70, 193, 0.1);
    --transition: all 0.3s ease-out;
    --header-height: 60px;
    --footer-nav-height: 70px;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent) 0%, #F59E0B 100%);
    color: var(--dark);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* ヒーローセクション with パララックス */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: 
        linear-gradient(to bottom, 
            rgba(107, 70, 193, 0.7) 0%,
            rgba(107, 70, 193, 0.4) 50%,
            rgba(85, 60, 154, 0.8) 100%
        ),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><filter id="blur"><feGaussianBlur in="SourceGraphic" stdDeviation="0.5"/></filter></defs><rect width="1920" height="1080" fill="%23E8D5F2"/><circle cx="300" cy="200" r="150" fill="%23D4B5E8" filter="url(%23blur)"/><circle cx="1600" cy="800" r="200" fill="%23C19EDD" filter="url(%23blur)"/><path d="M0,600 Q480,500 960,600 T1920,600 L1920,1080 L0,1080 Z" fill="%23B388D1" opacity="0.6"/><g opacity="0.3"><rect x="100" y="400" width="300" height="400" fill="%239C6EC1" transform="rotate(-15 250 600)"/><rect x="1400" y="300" width="250" height="350" fill="%23A478CA" transform="rotate(20 1525 475)"/></g><text x="960" y="540" text-anchor="middle" fill="%23FFFFFF" font-size="120" font-family="serif" opacity="0.1">DANCE</text></svg>');
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, var(--white) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 0 1.5rem;
    transform: translateZ(0);
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-highlight {
    color: var(--accent);
    display: block;
    margin-top: 0.5rem;
}

.hero p {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 14px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* セクション共通 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container h2{
    text-align: center;
    margin: 1rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 16px;
}

/* カウントダウンセクション */
.countdown-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem 0;
    position: sticky;
    top: var(--header-height);
}

.countdown-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.countdown-item {
    text-align: center;
}

.countdown-label {
    font-size: 12px;
    opacity: 0.8;
}

.countdown-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.early-bird {
    background: var(--accent);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


/* ギャラリー */
.gallery {
    background: var(--white);
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 16px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    margin-right: 0.5rem;
    min-width: 45px;
}

.filter-btn {
    padding: 0.4rem 1rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 20px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(107, 70, 193, 0.6) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-gradient {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay-text {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.download-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .download-btn {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ベストショットスライダー */
.best-shot {
    margin-top: 2rem;
}

/* モバイル用横スクロールスライダー */
.best-shot-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    background: var(--white);
}

.slides-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    scroll-behavior: smooth;
}

.slides-wrapper::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    aspect-ratio: 16/9;
    min-height: 200px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* キャプション（モバイルでは下部に分離） */
.slide-captions {
    background: var(--white);
    padding: 1rem;
}

.slide-caption {
    display: none;
    padding: 0.5rem 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.slide-caption.active {
    display: block;
    opacity: 1;
}

.slide-caption p {
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* ドットナビゲーション */
.slide-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.dot.active {
    background: var(--primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* CTA バナー */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-banner .cta-button {
    font-size: 18px;
    padding: 1rem 2.5rem;
    position: relative;
    z-index: 1;
}

/* FAQ */
.faq {
    background: var(--light-gray);
    padding-bottom: calc(60px + var(--footer-nav-height));
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.accordion-header {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-weight: 600;
    font-size: 15px;
}

.accordion-header:hover {
    background: var(--light-gray);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 0 1.25rem 1.25rem;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-item.active .accordion-header {
    color: var(--primary);
}

.accordion-header::after {
    content: '+';
    font-size: 20px;
    color: var(--accent);
    transition: var(--transition);
}
/* Lightbox with ピンチズーム対応 */
.lightbox {
    display: none;
    position: sticky;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    touch-action: none;
    box-sizing: border-box;
    transform: none !important;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    width: 100vw;
    height: 80vh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 20px;
}

.lightbox-wrapper {
    position: static;
    transform-origin: center center;
    transition: transform 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lightbox img {
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    pointer-events: none;
    display: block;
    margin: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.lightbox-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    z-index: 10;
}

/* タブレット対応 */
@media (min-width: 768px) {        
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* タブレット用スライダー調整 */
    .slide {
        aspect-ratio: 16/9;
        min-height: 300px;
    }
    
    .slide-captions {
        padding: 1.5rem;
    }
    
    .slide-caption p {
        font-size: 16px;
    }
    
    .filter-bar {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    .footer-nav {
        display: none;
    }
    
    .floating-cta {
        bottom: 30px;
    }
    
    .faq {
        padding-bottom: 80px;
    }
    
}

/* デスクトップ対応 */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    .lightbox-content{
        height: 100vh;
    }
    .lightbox-close{
        top: 60px;
    }
    
    /* デスクトップ用スライダー調整 */
    .slide {
        aspect-ratio: 16/9;
        min-height: 400px;
    }
    
    .slide-captions {
        padding: 2rem;
    }
    
    .slide-caption p {
        font-size: 18px;
        max-width: 1080px;
        margin: 0 auto;
    }
    .cta-banner::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
        opacity: 0.1;
        animation: rotate 20s linear infinite;
    }
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}


.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--dark);
}