:root {
    --text-color: #EAEAEA;
    --accent-color-1: #FACC15; /* ホバー時に使用される色も合わせて定義します */
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #0D0D0D;
    color: #EAEAEA;
}

/* フォントファミリー */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* --- Mobile Navigation --- */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger:focus {
    outline: none;
}

.hamburger-line {
    width: 2rem;
    height: 2px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
    transform-origin: 1px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 45; /* Below hamburger button, above content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.mobile-nav-link:hover {
    color: var(--accent-color-1);
}

/* Hamburger animation when open */
.hamburger.is-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* メインビジュアル */
.main-visual {
    /* TODO: 'flyer.jpg'という名前の画像ファイルを指定 */
    background-image: url('main.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 背景にグラデーションを追加してテキストを読みやすくする */
    background: linear-gradient(to top, rgba(13, 13, 13, 1) 5%, rgba(13, 13, 13, 0.2) 50%, rgba(13, 13, 13, 1) 100%);
}

/* ナビゲーション */
.nav-link {
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.nav-link:hover {
    color: #FACC15; /* 黄色系のアクセントカラー */
    transform: translateX(5px);
}

/* セクションタイトル */
.section-title {
    font-family: 'Montserrat', sans-serif;
    border-bottom: 2px solid #FACC15;
    padding-bottom: 0.75rem;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* チケットボタン */
.ticket-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
    background: linear-gradient(45deg, #FACC15, #F59E0B);
    color: #141414;
}

.ticket-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5);
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* アーティスト画像 */
.artist-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* アスペクト比を16:9の横長に固定 */
    object-fit: cover; /* コンテナに合わせて画像をトリミング */
    object-position: center; /* 画像の中央を基準に表示 */
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 動画コンテナ */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 アスペクト比 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Google Map Iframe */
.map-container iframe {
    border-radius: 0.5rem;
    width: 100%;
    height: 350px;
}
/* スマホ表示調整 */
@media (max-width: 767px) {
    .main-visual {
        background-size: contain; /* 画像全体が表示されるように変更 */
        background-repeat: no-repeat;
        height: 60vh; /* スマホでの高さを調整 */
        background-position: center;
    }
    .section-title {
        font-size: 2rem;
    }
    .map-container iframe {
        height: 300px;
    }
    #flyer img {
        max-width: 90%; /* フライヤーの幅を画面に合わせる */
    }
}
