@charset "UTF-8";

/*共通部分*/

html{
    font-size: 100%;/*ユーザーの設定した文字サイズを反映*/
}

body{
    font-family:"M PLUS 1", sans-serif;
    font-style: normal;
    background-color: #F6FEFF;
    color: #1C2843;
}

/*topgazou*/
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* ここに修正と追加のCSS */
main {
  position: relative;
}

.overlay-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.overlay-image img {
  width: 100%;
  height: auto;
}

.slid-wrapper {
  width: 100%;
  overflow: hidden;
}

.slid-wrapper .slider {
  display: flex;
  flex-wrap: nowrap;
  width: 150%;
  animation-name: loop;
  animation-iteration-count: infinite;
  animation-duration: 20s;
  animation-timing-function: linear;
}

.slid-wrapper .slider img {
  max-height: 100vh;
  margin: 0;
  aspect-ratio: 16/10;
  object-fit: cover;
}

@keyframes loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-75%);
  }
}

/*kokoro*/
/*なび*/
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 子要素を垂直方向の中央に配置 */
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.7); /* 半透明の背景色 */
    backdrop-filter: blur(5px); /* 背景のうっすらしたぼかし効果 */
    
    position: fixed;
    z-index: 500;
  }
  
  .navbar-left {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    
    gap: 15px;
  }
  
  .logo {
  height: 100%;
}
  .logo img{
    max-width: 100%;
    max-height: 5vh;
    display: block;
    object-fit: contain;
  }
  
  .festival-title {
    font-size: 24px;
    font-weight: bold;
    color: #1C2843;
  }
  
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    
    
  }
  
  .bar {
    width: 100%;
    height: 3px;
    background-color: #1C2843;
    border-radius: 5px;
  }
/*ハンバーガー*/

/* サイドバーの初期状態（非表示） */
.sidebar {
    position: fixed;
    top: 0;
    right: -50%; /* 画面外に隠す */
    width: 50%;
    height: 100%;
    background-color: #B6D7F5;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  /* サイドバーが表示されるとき */
  .sidebar.active {
    right: 0;
  }
  
  /* ハンバーガーメニューの見た目 */
  .hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0a2940;
    border-radius: 3px;
  }
  
  /* 閉じるボタン */
  .close-btn {
    background: none;
    border: none;
    font-size: 5vw;
    cursor: pointer;
    color: #0a2940;
    margin: 5vw;
  }
/* ドロップダウンメニュー初期状態（非表示） */
  .dropdown-menu {
    font-family: "Dela Gothic One", sans-serif;
    text-align: left;
    display: none;
    list-style: none;
    padding-left: 5vw;
  }
  
  /* 開いた時 */
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  /* 見出しボタン */
  .dropdown-toggle {
    font-family: "Dela Gothic One", sans-serif;
    background: none;
    border: none;
  
    cursor: pointer;
    color: #0a2940;
    text-align: left;
    width: 100%;
 
  }
  .dropdown-toggle:hover{
    color: #3498db;
  }

  .menu-item {
    padding-left: 10vw;
    font-family: "Dela Gothic One", sans-serif;
    text-align: left;
    border: none;
    cursor: pointer;
    color: #0a2940;
    font-size: 4vw;
    text-decoration: none;
  }
  .menu-item:hover{
    color: #3498db;
  }

  .komidasi{
    color: #0a2940;
    font-size: 3vw;
    text-decoration: none;
  }

  .komidasi:hover {
    color: #3498db;
  }

    
/*てーま*/
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.text-container {
    flex: 2;
    max-width: 600px;
    min-width: 300px;
}

.text-container p {
  font-size: 2em;
}

.logo1 {
    flex: 1;
    max-width: 400px;
    min-width: 300px;
}

.logo1 img {
    width: 100%;
    height: auto;
    display: block;
}

.theme-section{
    padding: 15vh 10vw;
}
.furigana {
    text-align: center;
    font-size: 0.8em;
    color: #7f8c8d;
    margin: 0;
}

h1 {
    text-align: center;
    font-size: 3em;
    color: #1C2843;
    margin: 5px 0 20px 0;
    font-weight: bold;
}

p {
    margin: 10px 0;
}
/*sukeju-ru*/
.schedule{
  width: 100%;
  padding: 15vh 10vw;
  box-sizing: border-box;

}

.event-nav {
    width: 100%;
    padding: 15vh 10vw;
    box-sizing: border-box;
}

/* ボタンコンテナのスタイル */
.event-buttons {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

/* ボタン自体のスタイル */
.button {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
    color: #3498db;
    background-color: #fff;
}

.button-text {
    font-size: 2em;
    font-weight: bold;
    line-height: 1.4;
}

/* ホバー時のスタイル */
.button:hover {
    background-color: #3498db;
    color: #fff;
}

/* アクティブな（選択された）ボタンのスタイル */
.button.active {
    background-color: #3498db;
    color: #fff;
    transform: none; /* ホバー効果と区別するために、ここでは変形を無効化 */
}

.schedule-section {
    max-width: 800px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
}

/* ヘッダーのスタイル (再利用) */
.header{
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 15vh;
}

.header h2 {
    flex-shrink: 0;
    margin: 0 20px;
    font-size: 2em;
    color: #509BE2;
    position: relative;
}

.header hr {
    flex-grow: 1;
    border: none;
    height: 2px;
    background-color: #3498db;
    position: relative;
}

.header hr::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #3498db;
    border-radius: 50%;
}
.header hr:first-of-type::before {
    left: 0;
}
.header hr:last-of-type::before {
    right: 0;
}




/*tutu*/
.access{
    color: #509BE2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: 15vh 10vw;
}
.midashi{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

    margin-bottom: 10vh;
    gap: 2vw;
}
.sen{
    width: 30%;
}
.sen hr{
    border: none;         /* デフォルトの線を消す */
    height: 3px;          /* 線の太さ */
    background-color: #509BE2; /* 線の色 */
}
.map{
    width: 90%;
    height: 40vw;
}
.half-circle{
    min-width: 15px;
    min-height: 15px;
    background-color: #fff;
    border: 3px solid #509BE2;
    border-top: none;
    border-bottom-left-radius: 30vw 30vw;
    border-bottom-right-radius: 30vw 30vw;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1vw 2vw 2vw 2vw;
}
.half-circle button{
    color: #509BE2;
}


.nami{
    display: block;
    width: 100%;
    margin-bottom: -1px;
}
.renraku-kanren{
    background-color: #509BE2;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: center; 
    gap: 5vw;
    padding: 10vh 10vw;
}
.renraku-kanren button{
    color: #fff;
}
.info-gap{
    display: flex;
    flex-direction: column;
    gap: 2vh;
}
.kasen{
    padding-bottom: 1vh;
    border-bottom: 1px solid #fff;
}
.icon{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1vw;
}
.icon img{
    width: 20px;
    height: 20px;
}

.fb button:hover {
  color: #1C2843;
}

.cop{
    background-color: #EBA4A4;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 

}

/* レスポンシブデザイン */
@media (max-width: 600px) {
    th, td {
        font-size: 0.8em;
        padding: 3px;
    }
    .content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        order: -1;
        max-width: 200px;
    }

    .event-buttons {
        flex-direction: column;
        align-items: center;
    }

    /*tutu*/
    .renraku-kanren{
    display: flex;
    flex-direction: column;

    
    }
}