/* 全体の基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: #333;
    background-color: #fdfdfd;
    line-height: 1.8;
}

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

/* ヘッダー */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}
/* ✨ この部分を追加 ✨ */
.logo a {
    text-decoration: none;
    color: #333;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav li {
    display: inline-block;
    margin-left: 30px;
}

header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: color 0.3s;
}

header nav a:hover {
    color: #e60073;
}

/* メインコンテンツ */
main {
    padding-top: 70px; /* ヘッダーの高さ分 */
}

.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.bg-gray {
    background-color: #f4f4f4;
}
/* メインビジュアル スライドショー */
#hero-slider {
    position: relative; 
    width: 100%;
    height: 70vh; 
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-item {
    /* スライドの絶対位置指定とアニメーション設定を削除 */
    width: 50%; /* 50%から100%に変更 */
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* 常に表示されるように opacity: 1; にします（デフォルトなので記述不要） */

    /* テキストを中央に配置する設定はそのまま残します */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}


.hero-text {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px 50px;
    border-radius: 5px;
}

.hero-text h2 {
    font-size: 48px;
    margin: 0 0 10px 0;
    font-family: 'Montserrat', sans-serif;
}


/* News */
.news-list {
    list-style: none;
    padding: 0;
}
.news-list li {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    display: flex;
    align-items: center;
}
.news-list .date {
    min-width: 100px;
    color: #777;
}
.news-list .label {
    background-color: #333;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    margin: 0 20px;
}
.news-list a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}
.news-list a:hover {
    color: #e60073;
}


/* Biography */
.bio-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}
.bio-image {
    flex: 1;
}
.bio-image img {
    max-width: 100%;
    border-radius: 5px;
}
.bio-text {
    flex: 2;
    text-align: justify;
}


/* Live/Tour */
.live-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    table-layout: auto; /* ✨テーブルのレイアウトを固定 */
}

.live-table th, .live-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    /* ✨はみ出したテキストを...で省略表示 */
    white-space: nowrap;
}

.live-table th {
    background-color: #333;
    color: white;
}


/* Contact */
#contact {
    text-align: center;
}
.contact-button {
    display: inline-block;
    background-color: #e60073;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 20px;
    transition: background-color 0.3s;
}
.contact-button:hover {
    background-color: #c40062;
}
.sns-links {
    margin-top: 40px;
}
.sns-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #555;
    font-weight: 700;
}
.sns-links a:hover {
    color: #e60073;
}


/* フッター */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* お問い合わせ専用ページ用スタイル */
.contact-page-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-buttons-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column; /* ボタンを縦に並べる */
    gap: 20px; /* ボタンとボタンの間隔 */
    align-items: center; /* ボタンを中央揃え */
}

.form-button {
    display: block;
    width: 90%;
    max-width: 400px;
    padding: 18px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.form-button:hover {
    background-color: #e60073; /* ホバー時の色 */
    transform: translateY(-2px); /* 少し浮き上がる効果 */
}

.back-link {
    display: inline-block;
    margin-top: 50px;
    color: #555;
    text-decoration: none;
}
/* ContactセクションのSNSリンク (アイコン用) */
.sns-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sns-links a {
    text-decoration: none;
    font-size: 40px;
    transition: transform 0.3s; /* ホバーで少し大きくする効果を追加 */
}

/* ホバー時の共通スタイル (少し大きくする) */
.sns-links a:hover {
    transform: scale(1.1); 
}

/* 各SNSのブランドカラーを常に表示 */
.fa-instagram {
    color: #E4405F; /* Instagramのブランドカラー */
}

.fa-youtube {
    color: #FF0000; /* YouTubeのブランドカラー */
}

/* FAQページ用スタイル */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 質問部分 (常に表示) */
.faq-item summary {
    font-weight: bold;
    font-size: 1.1em;
    padding: 20px;
    cursor: pointer;
    position: relative;
    list-style: none; /* デフォルトの▶︎を消す */
}

/* 質問の前の「＋」アイコン */
.faq-item summary::before {
    content: '+';
    font-size: 1.5em;
    color: #e60073;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

/* 開いたときの「−」アイコン */
.faq-item[open] summary::before {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Safari用の▶︎消し */
}

/* 答え部分 (クリックで開く) */
.faq-answer {
    padding: 0 20px 20px 20px;
    line-height: 1.8;
    border-top: 1px solid #eee;
}

.slideshow-container {
    max-width: 50%;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slides {
    display: none; /* JSで制御 */
}

.slides img {
    width: 100%;
    vertical-align: middle;
}

/* Next & previous ボタン */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* サムネイル */
.thumbnail-container {
    text-align: center;
    margin-top: 15px;
}

.thumbnail-item {
    width: 100px; /* サムネイルの幅 */
    height: 60px; /* サムネイルの高さ */
    object-fit: cover; /* 画像の比率を保ったままトリミング */
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
    border-radius: 4px;
    margin: 0 4px;
}

.thumbnail-item:hover, .thumbnail-item.active {
    opacity: 1;
    border-color: #e60073; /* アクティブなサムネイルの枠線の色 */
}

/* フェードアニメーション */
.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
/* レスポンシブ対応 (スマートフォン向け) */
@media (max-width: 768px) {
    header .container {
        /* flex-direction: column; を削除 */
        flex-wrap: wrap; /* ロゴとナビが画面幅に応じて折り返すようにする */
        justify-content: center; /* 全体を中央揃えにする */
        padding: 5px 0;
    }
    header nav ul {
        margin-top: 0; /* 上の余白をリセット */
        text-align: center; /* ナビ項目全体を中央に */
    }
    header nav li {
        display: inline-block;      /* 項目を横並びに戻す */
        margin: 5px 10px;      /* 上下の余白を減らし、左右の余白を調整 */
    }
    main {
        padding-top: 150px; /* ヘッダーの高さが減った分、上の余白を大幅に詰める */
    }
    .content-section {
        padding: 60px 0;
    }
    .hero-text h2 {
        font-size: 28px;
    }
    .bio-flex {
        flex-direction: column;
    }
    .news-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .news-list .label {
        margin: 0 0 0 0;
    }
    .slide-item {
        width: 100%;
    }
    .live-table {
        min-width: 600px; 
        table-layout: auto; /* テーブルのレイアウトを自動に戻す */
    }
    .table-wrapper {
        overflow-x: auto; /* 内容がはみ出た時だけ横スクロールバーを表示 */
        -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
    }
    .live-table th, .live-table td {
        overflow: visible;
        text-overflow: clip;
    }

    .slideshow-container {
        max-width: 100%; /* スライドショーの横幅を画面いっぱいに */
    }

    .thumbnail-item {
        width: 60px; /* サムネイルの幅を小さく */
        height: 40px; /* サムネイルの高さを小さく */
        margin: 0 2px; /* サムネイル間の余白を調整 */
    }
    

}