/* フォントの設定 */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #f8f8f8;
}

/* ヘッダー */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

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

header .logo {
    font-size: 1.5em;
    color: #333;
}

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

header nav ul li {
    margin-left: 20px;
}

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

header nav ul li a:hover {
    color: #51a5ff;
}

header .btn {
    padding: 10px 20px;
    background-color: #ffaa00;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: left;
}

header .btn:hover {
    background-color: #ffde82;
}

/* ヒーローセクション */
.hero {
    /* background-image: url('ge2025-top-s.jpg'); ← JavaScriptで設定するため削除 */
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 画像切り替え時の変化を滑らかにするためtransitionを追加 */
    transition: background-image 1s ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.595);
}

.hero-content {
    position: relative;
    color: #fff;
    z-index: 1;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

.hero .btn {
    padding: 15px 30px;
    background-color: #0056b0;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: #51a5ff;
}

/* セクション共通 */
section {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #333;
}

/* イベント概要セクション */
.about .container {
    max-width: 800px;
    margin: 0 auto;
}

.about p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* アクセスセクション */
.access .map-container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.access p {
    font-size: 1.2em;
    line-height: 1;
    margin-bottom: 2px;
    text-align: center;
}

/* メーカーセクション */
.maker .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maker a {
    /* 既存のスタイルを保持 */
    font-size: 1.2em;
    line-height: 1.8;
    margin: 0;
    padding-bottom: 10px;
    text-align: left;
    width: 100%;
    max-width: 600px;
    color: #333; /* リンクの色 */
    text-decoration: none; /* 下線を消す */
  
    /* 枠を追加 */
    border: 1px solid #e0e0e0; /* 枠の色と太さを調整 */
    padding: 10px; /* 枠内と文字の余白 */
    width: 50%; /* 枠の幅を200ピクセルに設定 */
  }

.maker a:last-child {
    /* 最後の段落のpadding-bottomを削除 */
    padding-bottom: 0;
}

/* イベントセクション */

.event {
    text-align: center;
    padding: 40px 20px; /* 上下左右の余白調整 */
}

.event .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event h3 {
    font-size: 1.5em; /* 適切なフォントサイズ */
    color: #333;
    margin-bottom: 20px;
}





/* 販売セクション */
.buy {
    text-align: center; /* セクション全体を右寄せ */
}
.buy p {
    width: 30%; /* 幅を固定 */
    margin: 0 auto; /* 親要素内で中央寄せ */
    text-align: left; /* 念のため、左揃えに設定 */
    font-size: 0.8em
}

.buy .btn {
    padding: 15px 30px;
    background-color: #0056b0;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: left;
}

.buy a {
    margin-bottom: 20px;
}

.buy .btn:hover {
    background-color: #51a5ff;
}

.buy h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.buy h4 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}




/*マウスオーバー時に着色*/
.maker a:hover {
    color: #007bff; /* マウスオーバー時の色 */
    text-decoration: underline; /* 下線を引く */
  }

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

footer p {
    margin: 0;
    font-size: 1.2em;
    line-height: 1;
    margin-bottom: 2px;
    text-align: center;
    margin-top: 10px;
}

footer h3 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

footer h4 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
}

footer a {
    /* 既存のスタイルを保持 */
    font-size: 1.2em;
    line-height: 1.8;
    margin: 0;
    padding-bottom: 10px;
    text-align: left;
    width: 100%;
    max-width: 600px;
    color: #ffffff; /* リンクの色 */
    margin-bottom: 20px;
}

footer h5 {
    margin: 0;
    font-size: 1.2em;
    line-height: 1;
    margin-bottom: 2px;
    text-align: center;
    margin-top: 10px;
}

footer h6 {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffffff;
}

/* スクロールトップボタン */
#scrollTopButton {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #0056b0;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s, opacity 0.3s;
    z-index: 1000;
}

#scrollTopButton:hover {
    background-color: #0056b0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    section h2 {
        font-size: 2em;
    }

    #scrollTopButton {
        right: 20px;
        bottom: 20px;
    }
}

.menu-btn {
    display: none; /* 通常時は非表示 */
  }
  
  @media (max-width: 768px) {
    .menu-btn {
      display: block;
    }
  
    .nav {
      display: none;
    }
  
    .menu-btn:checked ~ .nav {
      display: block;
    }
  }

  /* フォントの設定 */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #f8f8f8;
}

/* ヘッダー */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

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

header .logo {
    font-size: 1.5em;
    color: #333;
}

/* デフォルトのナビゲーション */
header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

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

header nav ul li a:hover {
    color: #51a5ff;
}

/* ハンバーガーメニュー（スマホ用） */
header .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

header .hamburger div {
    width: 100%;
    height: 3px;
    background-color: #333;
}

header nav {
    display: flex;
}

header nav ul {
    flex-direction: row;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    header .hamburger {
        display: flex;
    }

    header nav {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        border-top: 1px solid #e0e0e0;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 10px 0;
    }

    header nav ul li {
        margin: 10px 0;
    }

    header nav.active {
        display: flex;
    }

    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    section h2 {
        font-size: 2em;
    }

    #scrollTopButton {
        right: 20px;
        bottom: 20px;
    }
}

/* JavaScriptで制御されるクラス */
header nav.active {
    display: flex;
}

/* スマホ表示時のフォントサイズ調整 */
@media (max-width: 768px) {
    /* すべての要素のフォントサイズを一度に小さくする例 */
    body, header, section, .hero, .about, .access, .maker, .buy, footer {
      font-size: 0.8em; /* 80%に縮小 */
    }
  
    /* 特定の要素のフォントサイズを個別調整 */
    .hero h2 {
      font-size: 2em;
    }