/* ブースページ専用スタイル */

/* ベースフォント（iOS含む全端末での統一表示） */
body {
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    color: #333;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-main-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 157, 149, 0.8) 0%, rgba(0, 157, 149, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 4;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションタイトル */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #009d95 0%, #007a73 100%);
    border-radius: 2px;
}

/* ブースエリアセクション */
.booth-areas {
    padding: 80px 0;
    background: #f8f9fa;
}

/* フィルターボタン */
.booth-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #009d95;
    background: white;
    color: #009d95;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #009d95 0%, #007a73 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 157, 149, 0.3);
}

/* カテゴリ別フィルターボタン色分け */
.filter-btn[data-category="food"] {
    border-color: #e74c3c;
    color: #e74c3c;
}

.filter-btn[data-category="food"].active,
.filter-btn[data-category="food"]:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.filter-btn[data-category="shopping"] {
    border-color: #009d95;
    color: #009d95;
}

.filter-btn[data-category="shopping"].active,
.filter-btn[data-category="shopping"]:hover {
    background: linear-gradient(135deg, #009d95 0%, #007a73 100%);
    box-shadow: 0 5px 15px rgba(0, 157, 149, 0.3);
}

.filter-btn[data-category="experience"] {
    border-color: #9b59b6;
    color: #9b59b6;
}

.filter-btn[data-category="experience"].active,
.filter-btn[data-category="experience"]:hover {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.filter-btn[data-category="service"] {
    border-color: #f39c12;
    color: #f39c12;
}

.filter-btn[data-category="service"].active,
.filter-btn[data-category="service"]:hover {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* ブースグリッド */
.booth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ブースカード */
.booth-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

/* ブース番号 */
.booth-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 157, 149, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.booth-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.booth-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.booth-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.booth-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.booth-card:hover .booth-photo {
    transform: scale(1.05);
}

.booth-content {
    padding: 2rem;
}

.booth-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.booth-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* カテゴリ別のアクセントカラー（カード） */
.booth-card[data-category="food"] {
    border-top: 4px solid #e74c3c;
}

.booth-card[data-category="shopping"] {
    border-top: 4px solid #009d95;
}

.booth-card[data-category="experience"] {
    border-top: 4px solid #9b59b6;
}

.booth-card[data-category="service"] {
    border-top: 4px solid #f39c12;
}

/* カテゴリ別のブース番号の色 */
.booth-card[data-category="food"] .booth-number {
    background: rgba(231, 76, 60, 0.9);
}

.booth-card[data-category="shopping"] .booth-number {
    background: rgba(0, 157, 149, 0.9);
}

.booth-card[data-category="experience"] .booth-number {
    background: rgba(155, 89, 182, 0.9);
}

.booth-card[data-category="service"] .booth-number {
    background: rgba(243, 156, 18, 0.9);
}

.booth-card[data-category="other"] .booth-number {
    background: rgba(108, 117, 125, 0.9);
}

/* アニメーション */
.booth-card {
    animation: fadeInUp 0.6s ease forwards;
}

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

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-content {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .booth-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 200px;
        text-align: center;
    }

    .booth-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .booth-content {
        padding: 1.5rem;
    }

    .booth-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .booth-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .booth-image {
        height: 200px;
    }

    .booth-content {
        padding: 1rem;
    }

    .booth-content h3 {
        font-size: 1.2rem;
    }

    .booth-content p {
        font-size: 0.9rem;
    }
}

/* ローディングアニメーション */
.booth-card.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* フィルターアニメーション */
.booth-card.filtering {
    transition: all 0.3s ease;
}

/* ホバー効果の強化 */
.booth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 157, 149, 0.1) 0%, rgba(0, 122, 115, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.booth-card:hover::before {
    opacity: 1;
}

.booth-content {
    position: relative;
    z-index: 2;
}