@charset "UTF-8";

html {
  font-size: 100%;
  font-family: "Hiragino Maru Gothic ProN";
}

/* ブラウザ独自の余白をリセット */
body, html {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 0.9rem;
  background-color: #0b1421;
}

.full-screen-img {
  width: 100% !important; /* 他の設定を無視して強制的に広げる */
  object-fit: cover;
}

a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.site-title {
  width: 120px;
  line-height: 1px;
  padding: 10px 0;
}
.site-title a {
  display: block;
}


.top-title {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 30px;
  border-bottom: solid 1px #ff9900;
}
.content-title {
  font-size: 1rem;
  margin: 10px 0;
}
.wrapper {
  max-width: 960px;
  margin: 0 auto 30px;
  padding: 0 4%;
  text-align: center;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  position: fixed;      /* 画面に固定する */
  top: 0;               /* 上端に隙間なく配置 */
  left: 0;              /* 左端から配置 */
  width: 100%;          /* 横幅いっぱいにする */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  background-color: #ffffff;
  z-index: 100; /* ←この1行を追加してください！ */
}
#header ul {
  display: flex;
  padding: 10px 0;
}
#header li {
  margin-left: 30px;
}
#header li a {
  color: #24292e;
}
#header li a:hover {
  opacity: 0.7;
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/

.first_view {
  width: 100vw;
  height: 100vh;
  /* margin-leftのcalcは削除してOKです */
}

.first_view img {
  display: block;    /* 画像の下の隙間を消す */
  width: 100%;       /* 画面幅いっぱい */
  height: 100%;      /* 画面高さいっぱい */
  object-fit: contain; /* 画像全体を表示（比率維持） */
}
/*-------------------------------------------
infomation_top
-------------------------------------------*/
#infomation_top .content {
  display: flex;
  flex-direction: column; /* これで縦並びになります */
  justify-content: center;
  align-items: center;    /* 縦並びの時の「左右中央」はこれ */
  text-align: center;
}

#infomation_top img {
  width: 100%;
  object-fit: contain;
}

#infomation_top .text {
  text-align: center;
  margin-bottom: 10px;
}

/*-------------------------------------------
infomation_time
-------------------------------------------*/

#infomation_time .content {
  display: flex;
  flex-direction: column; /* これで縦並びになります */
  justify-content: center;
  align-items: center;    /* 縦並びの時の「左右中央」はこれ */
  text-align: center;
}

#infomation_time img {
  object-fit: contain;/* 要素いっぱいに画像を表示（はみ出た部分は削除） */
  width: 100%;      /* 親要素の幅いっぱい */
  height: 100%      /* 親要素の高さいっぱい */
}

/* textタグではなくクラス名（例: .text）にするのが一般的です */
#infomation_time .text {
  text-align: center;
  
}

/*-------------------------------------------
About
-------------------------------------------*/

#About .content {
  display: flex;
  flex-direction: column; /* これで縦並びになります */
  justify-content: center;
  align-items: center;    /* 縦並びの時の「左右中央」はこれ */
  text-align: center;
}

#About img {
  object-fit: contain;/* 要素いっぱいに画像を表示（はみ出た部分は削除） */
  width: 100%;      /* 親要素の幅いっぱい */
  height: 100%      /* 親要素の高さいっぱい */
}

/* textタグではなくクラス名（例: .text）にするのが一般的です */
#About .text {
  text-align: center;
  margin-bottom: 10px;
}

.slide-container {
  width: 100%;
  height: 30%;
  overflow: hidden;
  margin: 10px 0; 
}

.slide-wrapper {
  display: flex;
  /* 数値指定ではなく、中身に合わせる設定に変えます */
  width: max-content; 
  animation: slide-flow 20s infinite linear;
}

.slide {
  /* 50% ではなく 50vw（画面の半分）に指定 */
  width: 50vw; 
  /* 以下は今の設定のままでOK */
  max-width: 400px;
  height: auto; 
  aspect-ratio: 1;
  object-fit: cover;
  padding: 20px; /* ここを0にすれば隙間は完全になくなります */
  display: block;
}
@keyframes slide-flow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/*-------------------------------------------
About
-------------------------------------------*/

#Event .content {
  display: flex;
  flex-direction: column; /* これで縦並びになります */
  justify-content: center;
  align-items: center;    /* 縦並びの時の「左右中央」はこれ */
  text-align: center;
}

#Event img {
  object-fit: contain;/* 要素いっぱいに画像を表示（はみ出た部分は削除） */
  width: 100%;      /* 親要素の幅いっぱい */
  height: 100%      /* 親要素の高さいっぱい */
}

/* textタグではなくクラス名（例: .text）にするのが一般的です */
#Event .text {
  text-align: center;
  margin-bottom: 10px;
}

/* イベントリスト全体の調整 */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

/* カードのデザイン */
/* --- イベントカード全体の調整 --- */
.event-card {
  border: 1px solid #ffffff;
  border-radius: 15px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* 背景は透明感のある紺色のまま */
  padding-bottom: 15px;
}

/* --- タイトル部分：ここを以前の「白背景・黒文字」に戻しました --- */
.event-card-title {
  background-color: #ffffff;
  color: #0b1421;
  padding: 10px;
  font-size: 1.1rem;
  margin: 0;
}

/* --- 詳しくはこちらボタン（クリックで消える） --- */
.event-toggle {
  background: none;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 8px 20px;
  margin: 15px auto;
  display: block;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.3s;
}

/* --- 詳細エリア（最初は線なし） --- */
.event-details {
  display: none; 
  padding: 0 15px 15px; /* 上のパディングを詰め、横と下に余白 */
  text-align: left;
  border-top: none;    /* ①最初は線を出しません */
  line-height: 1.6;
}

/* 3枚の画像を縦に並べる設定 */
.details-images img {
  width: 100%;
  display: block;
  margin-bottom: 10px; /* 画像ごとの隙間 */
  border-radius: 5px;
}

/* --- ②詳細の最後に来る線と戻るボタン --- */
.details-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #ffffff;
  text-align: center;
}

.close-toggle {
  display: block;        /* 中央寄せを効かせるためにblockにする */
  margin: 20px auto 0;  /* 左右を auto にして中央寄せ、下は 0 */
  background: none;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 5px 25px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
}

.reserve-link {
  display: block;        /* inline-blockからblockに変更 */
  width: fit-content;    /* 文字幅に合わせる */
  margin: 20px auto;     /* 上下に余白を作り、左右中央寄せ */
  color: #000000;
  background-color: #ff9900;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.8rem;
}

/*-------------------------------------------
Bicycle
-------------------------------------------*/
#bicycle ul {
  display: flex;
  justify-content: space-between;
}
#bicycle li {
  width: 32%;
}

/*-------------------------------------------
footer
-------------------------------------------*/
/* フッター全体の固定設定 */
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1a1a1a; /* 夜空をイメージした黒 */
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column; /* スマホ向けに縦並び */
  align-items: center;
  gap: 8px;
}

/* カウントダウン部分 */
.countdown-label {
  font-size: 11px;
  margin: 0;
  text-align: center;
  color: #ffd700; /* 金色で強調 */
}

#countdown-timer {
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
}

#countdown-timer small {
  font-size: 10px;
  margin: 0 4px 0 2px;
  color: #ccc;
}

/* LINEボタン */
.line-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #06C755; /* LINEカラー */
  color: white;
  text-decoration: none;
  width: 90%; /* スマホで押しやすい幅 */
  max-width: 300px;
  padding: 8px 0;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
}

.line-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

main {
  padding-bottom: 160px; 
}


/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {

  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  #mainvisual img {
    height: calc(100vh - 60px);
  }

  /*-------------------------------------------
  About
  -------------------------------------------*/
  #about .content {
    flex-direction: column;
  }
  #about img {
    margin-right: 0;
  }

  /*-------------------------------------------
  Bicycle
  -------------------------------------------*/
  #bicycle ul {
    flex-direction: column;
  }
  #bicycle li {
    width: 100%;
    margin-bottom: 30px;
  }

  
}