/* =========================================
   基本リセット
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}


/* =========================================
   共通文字装飾関連
   ========================================= */
.marker{
	background:linear-gradient(transparent 50%, #ffff33 50%);
}


/* =========================================
   背景設定
   ========================================= */
main {
  background-image: url("../images/YukawaBack.png");
  background-repeat: repeat;      /* タイル状に敷き詰め */
  background-size: auto;          /* 元画像サイズのまま繰り返し */
  background-position: top center;
}

body {
  padding-top: 80px; /* ← 固定ヘッダの実際の高さに合わせる */
}


/* =========================================
   KV設定
   ========================================= */
.kv {
  width: 100%;
}
.kv_img {
  width: 100%;
  height: auto;          /* ★基本はこれで見切れない */
  object-fit: contain;   /* ★もし height 指定があるなら保険で */
}


/* =========================================
   STORY 前のタイトルセクション
   ========================================= */
.title-section {
  padding: 60px 16px 20px;
  text-align: center;
}

.title-section__text {
  font-size: clamp(1.3rem, 3vw, 2.0rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0 auto;

  /* 少し濃い水色 */
  color: #3fa9f5;

  /* 外側に広がる白フチ（2段構え） */
  text-shadow:
    /* 内側補強 */
    0 0 2px rgba(255,255,255,0.9),

    /* 1px */
    1px  0   0 #fff,
   -1px  0   0 #fff,
    0    1px  0 #fff,
    0   -1px  0 #fff,

    /* 2px（外側） */
    2px  0   0 #fff,
   -2px  0   0 #fff,
    0    2px  0 #fff,
    0   -2px  0 #fff,

    /* 斜め補完 */
    2px  2px  0 #fff,
   -2px  2px  0 #fff,
    2px -2px  0 #fff,
   -2px -2px  0 #fff;
}



.title-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.title-section__logo {
  display: inline-block;
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.title-section__logo img {
  display: block;
  width: min(40vw, 350px);
  height: auto;
}

@media screen and (max-width: 768px) {
  .title-section__logo {
    padding: 16px 20px;
  }

  .title-section__logo img {
    width: 45vw;
    max-width: 260px;
  }
}


/* =========================================
   STORY セクション
   ========================================= */
.story-section {
  padding: 40px 16px;
  text-align: center;
}
/* 中央の STORY ボタン */
.story-toggle {
  display: inline-block;
  min-width: 180px;
  padding: 12px 32px;
  border-radius: 999px; /* 丸角（カプセル型） */
  border: none;
  background: #ff5a5f; /* 必要に応じてサイトのテーマカラーに変更 */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.story-toggle:hover {
  opacity: 0.9;
  transform: translateY(1px);
}
/* 開閉されるボックス（アコーディオン） */
.story-accordion {
  max-width: 800px;
  margin: 16px auto 0;
  border-radius: 16px;

  /* 枠線を完全に消す */
  border: none !important;

  background: #ffffff;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
/* 内側の余白とテキスト */
.story-accordion__inner {
  padding: 20px 24px;
  text-align: left;
  line-height: 1.8;
  font-size: 0.95rem;
}
/* 開いている状態（JSで .is-open を付与） */
.story-accordion.is-open {
  /* JS側で max-height を動的に設定するのでここは空でOK */
}


/* =========================================
   インデックスセクション（左右に画像追加）
   ========================================= */

.index-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;         /* 左/右画像と中央ボタンの間隔 */
  flex-wrap: wrap;   /* スマホでは自動で折り返し */
}

/* 左右の画像（100px固定） */
.index-side__img {
  width: 100px;
  height: auto;
  display: block;
}

/* 3つのボタン画像（既存） */
.index-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.index-buttons__item img {
  display: block;
  width: 180px;  /* 必要に応じて調整 */
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* スマホ表示時：縦並びに切り替え */
@media (max-width: 600px) {
  .index-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}


/* =========================================
   アニメ公式サイト案内セクション
   ========================================= */
.animesite-section {
  padding: 40px 16px 20px;
  text-align: center;
}

.animesite-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.animesite-wrapper {
  display: flex;
  justify-content: center;   /* 全体を中央寄せ */
  align-items: center;
  gap: 24px;                 /* 左画像とバナーの間隔 */
  flex-wrap: wrap;           /* スマホで折り返し */
}

/* 左側の画像（固定100px） */
.animesite-side__img {
  width: 100px;
  height: auto;
  display: block;
}

/* 中央のバナー */
.animesite-banner__img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;        /* お好みで。不要なら削除 */
  transition: opacity 0.3s ease;
}

.animesite-banner__img:hover {
  opacity: 0.85;
}

/* スマホでは縦並びに */
@media (max-width: 600px) {
  .animesite-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

/* バナー下の注意書き */
.animesite-note {
  font-size: 0.75rem;     /* 小さめ文字 */
  color: #555;            /* 少し薄めのグレー */
  margin-top: 6px;
  text-align: center;
  opacity: 0.8;           /* 控えめに表示 */
}

.anime-site-button {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 9999px;          /* ★丸角（完全に丸） */
  
  background-color: #ff5b77;
  color: #fff;                    /* 白文字 */
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;

  /* 縁取り（前に作ったスタイルと同系統） */
  text-shadow:
    -1px -1px 0 #ff5b77,
     1px -1px 0 #ff5b77,
    -1px  1px 0 #ff5b77,
     1px  1px 0 #ff5b77;

  transition: all 0.2s ease;
}

.anime-site-button:hover {
  background-color: #ff5b77;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}


/* =========================================
   放送情報セクション（2カラム仕様）
   ========================================= */
.onair-section {
  padding: 40px 16px 60px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.onair-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.onair-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  color: #333;
}

/* onair-list 全体を中央寄せ */
.onair-list {
  max-width: 620px;   /* ★段組み全体の幅を小さくして中央寄せしやすくする */
  margin: 0 auto;
}

/* 1行（放送局＋放送時間） */
.onair-row {
  display: grid;
  grid-template-columns: 140px 1fr; /* ★左カラムを140pxに縮小 → 自然なバランスに */
  gap: 16px;
  margin: 12px 0;
  text-align: left;
}

.onair-col--left {
  font-weight: 700;
  font-size: 1rem;
  text-align: right;   /* ★左カラムを右寄せすると整列して綺麗に見える */
  padding-right: 4px;  /* 微調整 */
}

.onair-col--right {
  font-size: 1rem;
  line-height: 1.6;
}

/* スマホでは 1 列（中央寄せ） */
@media (max-width: 600px) {
  .onair-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .onair-col--left {
    text-align: center;
    padding-right: 0;
    margin-bottom: 4px;
  }
}


/* =========================================
   配信情報セクション
   ========================================= */

.streaming-section {
  padding: 40px 16px 60px;
  text-align: center;

  /* 背景：白70%（不透明度0.7） */
  background: rgba(255, 255, 255, 0.7);
}


.streaming-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* タイトル */
.streaming-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  color: #333;
}

/* リード（先行配信の説明） */
.streaming-lead {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: 600;
}

/* 各グループ（各サービスカテゴリ） */
.streaming-group {
  margin-bottom: 28px;
}

/* グループタイトル */
.streaming-group__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* グループ本文 */
.streaming-group__text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* 備考 */
.streaming-note {
  margin-top: 30px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}


/* =========================================
   ガウガウモンスター公式サイト案内セクション
   ========================================= */

.gaugaumonstersite-section {
  padding: 40px 16px 20px;
  text-align: center;
}

.gaugaumonstersite-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.gaugau-wrapper {
  display: flex;
  justify-content: center;   /* 中央寄せ配置 */
  align-items: center;
  gap: 24px;                 /* バナーと右画像の間隔 */
  flex-wrap: wrap;           /* スマホ対応で折り返し */
}

/* バナー画像 */
.gaugau-banner__img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.gaugau-banner__img:hover {
  opacity: 0.85;
}

/* バナー下の注意書き */
.gaugau-note {
  font-size: 0.75rem;
  color: #555;
  margin-top: 6px;
  opacity: 0.8;
  text-align: center;
}

/* 右側の画像（固定100px） */
.gaugau-side__img {
  width: 100px;
  height: auto;
  display: block;
}

.gaugau-site-button {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 9999px;          /* ★丸角（完全に丸） */
  
  background-color: #ff5b77;
  color: #fff;                    /* 白文字 */
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;

  /* 縁取り（前に作ったスタイルと同系統） */
  text-shadow:
    -1px -1px 0 #ff5b77,
     1px -1px 0 #ff5b77,
    -1px  1px 0 #ff5b77,
     1px  1px 0 #ff5b77;

  transition: all 0.2s ease;
}

.gaugau-site-button:hover {
  background-color: #ff5b77;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* スマホでは縦並びに */
@media (max-width: 600px) {
  .gaugau-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}


/* =========================================
   クレジットセクション
   ========================================= */

.credit-section {
  padding: 30px 16px 40px;
  text-align: center;
}

.credit-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.credit-text {
  font-size: 0.85rem;
  color: #444;
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}
