/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* メインビジュアル */
.hero {
    height: 100vh;
    background: url('https://www.kfb.co.jp/festival/assets/stage/stage_100.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: fadeInBackground 1s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 159, 232, 0.7) 0%, rgba(0, 191, 255, 0.6) 50%, rgba(135, 206, 235, 0.5) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
    opacity: 0;
    animation: fadeInOverlay 1s ease-out 0.5s forwards;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
    max-width: 800px;
    opacity: 0;
    animation: fadeInContent 1s ease-out 1s forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-description p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ヒーローナビゲーション */
.hero-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-text {
    font-size: 1rem;
}

/* ステージ背景要素 */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stage-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: fadeInElements 1s ease-out 0.3s forwards;
}

.stage-element {
    position: absolute;
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
}

.spotlight {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.music {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.dance {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.mic {
    bottom: 20%;
    right: 25%;
    animation-delay: 3s;
}

.guitar {
    top: 15%;
    left: 25%;
    animation: floatReverse 6s ease-in-out infinite;
    animation-delay: 4s;
    font-size: 3.5rem;
}

.drum {
    top: 25%;
    right: 30%;
    animation: bounce 4s ease-in-out infinite;
    animation-delay: 5s;
    font-size: 3rem;
}

.piano {
    bottom: 15%;
    left: 30%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 6s;
    font-size: 3.5rem;
}

.trumpet {
    top: 40%;
    left: 5%;
    animation: floatReverse 5s ease-in-out infinite;
    animation-delay: 7s;
    font-size: 3rem;
}

.saxophone {
    top: 50%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 8s;
    font-size: 3.2rem;
}

.violin {
    bottom: 40%;
    right: 15%;
    animation: floatReverse 8s ease-in-out infinite;
    animation-delay: 9s;
    font-size: 3.3rem;
}

.star {
    top: 10%;
    left: 50%;
    animation: twinkle 3s ease-in-out infinite;
    animation-delay: 10s;
    font-size: 2.5rem;
}

.heart {
    bottom: 10%;
    left: 50%;
    animation: bounce 5s ease-in-out infinite;
    animation-delay: 11s;
    font-size: 2.8rem;
}

.sparkle {
    top: 60%;
    left: 15%;
    animation: twinkle 2s ease-in-out infinite;
    animation-delay: 12s;
    font-size: 2.2rem;
}

.note1 {
    top: 70%;
    right: 20%;
    animation: float 4s ease-in-out infinite;
    animation-delay: 13s;
    font-size: 2.5rem;
}

.note2 {
    top: 80%;
    left: 40%;
    animation: floatReverse 5s ease-in-out infinite;
    animation-delay: 14s;
    font-size: 2.3rem;
}

.note3 {
    bottom: 30%;
    left: 10%;
    animation: twinkle 3s ease-in-out infinite;
    animation-delay: 15s;
    font-size: 2.4rem;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #009FE8, #00bfff);
    border-radius: 2px;
}

/* ステージスケジュール */
.stage-schedule {
    padding: 5rem 0 0 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #ddeeff 100%);
}

/* タブナビゲーション */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: linear-gradient(90deg, #009FE8, #00bfff);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 159, 232, 0.3);
}

/* スケジュールコンテンツ */
.schedule-content {
    position: relative;
}

.day-schedule {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.day-schedule.active {
    display: block;
}

/* タイムライン */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.time-slot {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.time-slot:nth-child(1) {
    animation-delay: 0.1s;
}

.time-slot:nth-child(2) {
    animation-delay: 0.2s;
}

.time-slot:nth-child(3) {
    animation-delay: 0.3s;
}

.time-slot:nth-child(4) {
    animation-delay: 0.4s;
}

.time-slot:nth-child(5) {
    animation-delay: 0.5s;
}

.time {
    min-width: 80px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #009FE8;
    padding: 0.5rem;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-right: 1.5rem;
    position: relative;
    z-index: 2;
}

.time::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.event {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.event h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.performer {
    font-size: 1rem;
    color: #009FE8;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.description {
    color: #666;
    line-height: 1.6;
}

/* 出演者紹介 */
.performers {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 50%, #f0f8ff 100%);
}

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

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #009FE8;
}

.filter-btn.active {
    background: linear-gradient(90deg, #009FE8, #00bfff);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 159, 232, 0.3);
    border-color: transparent;
}

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

.performer-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

/* 出演者カード内の要素はポインターイベントを有効にする（ホバー効果のため） */
.performer-card * {
    pointer-events: auto;
}

.performer-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.performer-image {
    margin-bottom: 1rem;
    text-align: center;
}

.performer-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* AKB48の画像は横長なので、すべて表示されるように調整 */
.akb48-photo {
    object-fit: contain !important;
    background-color: #f8f9fa;
}

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

.performer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.performer-stage {
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.performer-date {
    color: #009FE8;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.performer-description {
    color: #666;
    line-height: 1.6;
}

/* Coming Soon スタイル */
.performer-card.coming-soon {
    opacity: 0.8;
    position: relative;
}

.performer-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 159, 232, 0.1), rgba(0, 191, 255, 0.1));
    border-radius: 20px;
    z-index: 1;
}

.coming-soon-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px dashed #009FE8;
}

.coming-soon-icon {
    font-size: 4rem;
    opacity: 0.6;
}

.performer-card.coming-soon h3 {
    color: #009FE8;
    font-style: italic;
}

.performer-card.coming-soon .performer-date {
    color: #999;
}

.performer-card.coming-soon .performer-description {
    color: #999;
    font-style: italic;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatReverse {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-25px) scale(1.1);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInElements {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

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

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

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

    .hero-navigation {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .schedule-tabs {
        gap: 5px;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .time-slot {
        flex-direction: column;
        text-align: center;
    }

    .time {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .time::after {
        display: none;
    }

    .performer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .performer-card {
        padding: 1.5rem 1rem;
    }

    .performer-photo {
        width: 150px;
        height: 150px;
    }

    .akb48-photo {
        object-fit: contain !important;
    }

    .performer-filters {
        gap: 5px;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .coming-soon-placeholder {
        width: 150px;
        height: 150px;
    }
}

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

    .container {
        padding: 0 15px;
    }

    .schedule-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 200px;
    }

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

    .performer-card {
        padding: 1rem 0.5rem;
    }

    .performer-card h3 {
        font-size: 1.1rem;
    }

    .performer-photo {
        width: 120px;
        height: 120px;
    }

    .akb48-photo {
        object-fit: contain !important;
    }

    .performer-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    .coming-soon-placeholder {
        width: 120px;
        height: 120px;
    }
}