
:root {
  /* カラー */
  --color-green:       #53c41e;
  --color-green-dark:  #048c00;
  --color-green-light: #bfff36;
  --color-green-hover: #3e9e14;
  --color-gold:        #cec361;
  --color-gold-dark:   #af9f2b;
  --color-bg:          #f7f0c9;
  --color-bg-warm:     #fffbe6;
  --color-text:        #444;
  --color-white:       #fff;

  /* フォント */
  --font-rounded: "Corporate-Logo-Rounded-Bold-ver3", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", sans-serif;
  --font-maru:    "vdl-v7marugothic", sans-serif;

  /* シャドウ */
  --shadow-card: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

/* =============================================================================
   基本設定
============================================================================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
}

article {
  margin: 0 auto;
}

/* =============================================================================
   メインエリア
============================================================================= */
main {
  display: block;
  width: 100%;
  position: relative;
  padding-top: 128px;
}

main #main_img {
  margin: 0 auto;
  width: 100%;
  display: block;
}

main #start,
main #time {
  width: 100%;
  height: auto;
}

#top h1 {
  margin: 0;
}

/* --- 放送開始バー / 放送時間バー（共通レイアウト）--- */
#start h1,
#time h1 {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
  text-align: center;
  font-family: var(--font-rounded);
  font-style: normal;
  font-size: 45px;
}

#start h1 {
  background-color: var(--color-green-light);
  color: var(--color-green-dark);
}

#time h1 {
  background-color: var(--color-green-dark);
  color: var(--color-green-light);
}

#time span {
  color: var(--color-green-dark);
  background-color: var(--color-green-light);
  font-size: 60%;
  padding: 10px;
  border-radius: 25px;
  display: inline-block;
  line-height: 1;
  position: relative;
  top: -5px;
}

/* =============================================================================
   ナビゲーション（丸いボタン）
============================================================================= */
.nav_list {
  display: flex;
  justify-content: center;
  gap: 5vw;
  list-style: none;
  margin: 6rem auto;
}

.nav_item a {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  text-decoration: none;
  font-family: var(--font-rounded);
  font-style: normal;
  font-size: 18px;
  color: var(--color-white);
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-card);
}

.nav_item:nth-child(odd) a  { background-color: var(--color-green); }
.nav_item:nth-child(even) a { background-color: var(--color-gold-dark); }

.nav_item img {
  width: 30%;
  height: auto;
  margin-top: 5px;
}

.nav_item a:hover {
  transform: scale(1.05);
}

/* =============================================================================
   ハンバーガーメニュー
============================================================================= */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  z-index: 100;
  cursor: pointer;
}

.hamburger_border {
  display: block;
  position: absolute;
  left: 15px;
  width: 20px;
  height: 3px;
  background-color: var(--color-white);
  transition: all 0.4s;
}

.hamburger_border_top    { top: 15px; }
.hamburger_border_center { top: 25px; }
.hamburger_border_bottom { top: 35px; }

/* =============================================================================
   次回の放送エリア（#next）
============================================================================= */
#next {
  margin: 100px auto;
}

#next p {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", sans-serif;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 70px;
  color: var(--color-text);
  background-color: #ffffff59;
}

.bg_city {
  width: 100%;
  aspect-ratio: 1200 / 295;
  background-image: url(../img/back.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

.next-content {
  background-color: var(--color-white);
  padding-top: 1px;
  text-align: center;
  position: relative;
  background-image:
    url("../img/foot_01.png"),
    url("../img/foot_02.png"),
    url("../img/tree.png"),
    url("../img/cloud.png");
  background-repeat: no-repeat;
  background-position:
    5% 5%,
    95% 60%,
    2% 90%,
    95% 0%;
  background-size:
    150px auto,
    150px auto,
    120px auto,
    150px auto;
}

.next-content h1 {
  font-family: var(--font-rounded);
  font-style: normal;
  font-size: 40px;
  color: var(--color-green);
  margin-top: -150px;
  margin-bottom: 4rem;
}

.next-content h2 {
  background-color: var(--color-green);
  color: var(--color-white);
  padding: 10px 50px;
  text-align: left;
  font-family: var(--font-maru);
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.next-content h2 span {
  font-size: 20px;
  margin-left: 10px;
}

.next-box {
  width: 70%;
  margin: 0 auto;
}

#next .next-photo{
  display: flex;
}

#next .next-photo img{
  width: 45%;
  height: auto;
  margin: auto;
}

.next-box p {
  text-align: left;
  margin-bottom: 60px;
}

/* --- 写真エリア --- */
.next-box > .next-photo {
  background-color: var(--color-bg);
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

/* 左側：スライダー */
.slider-wrapper {
  width: 45%;
  flex-shrink: 0;
}

.slider-container #slider {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 10px;
}

#thumbs {
  display: flex;
  gap: 5px;
}

#thumbs div {
  flex: 1;
  cursor: pointer;
}

/* 右側：手がかり写真 */
.next-box .next-photo .key-photo {
  width: 100%;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: visible;
}

.next-box .next-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 手がかり写真：四隅の鉤括弧（共通部分を統合）*/
.next-box .next-photo .key-photo::before,
.next-box .next-photo .key-photo::after {
  content: "";
  position: absolute;
  left: -10px;
  width: calc(100% + 20px);
  height: 25px;
  z-index: 2;
  background-image:
    linear-gradient(to right, var(--color-gold-dark) 25px, transparent 25px),
    linear-gradient(to left,  var(--color-gold-dark) 25px, transparent 25px);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  border-left:  2px solid var(--color-gold-dark);
  border-right: 2px solid var(--color-gold-dark);
}

.next-box .next-photo .key-photo::before {
  top: -10px;
  background-position: left top, right top;
}

.next-box .next-photo .key-photo::after {
  bottom: -10px;
  background-position: left bottom, right bottom;
}

/* --- ラベル（共通ベース）--- */
.label-green,
.label-gold {
  color: var(--color-white);
  padding: 0 25px;
  border-radius: 5px;
  font-family: var(--font-rounded);
  font-style: normal;
}

.label-green {
  background-color: var(--color-green);
  font-size: 22px;
}

.label-gold {
  background-color: var(--color-gold);
  font-size: 18px;
}

/* --- 情報行・マップ・ナレーション（共通フォント）--- */
.info-row dd,
.map,
.narration dd {
  font-family: var(--font-rounded);
  font-style: normal;
  font-size: 22px;
  margin: 0;
  color: var(--color-text);
}

.info-row {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin: 30px auto;
}

.info-row dl {
  display: flex;
  align-items: center;
  gap: 20px;
}

.map {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon_map {
  width: 40px;
  height: auto;
}

.narration {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  margin: 0;
}

.narration dd {
  font-size: 18px;
  display: flex;
  align-items: center;
}

/* --- アーカイブボタン --- */
.btn-archive {
  display: inline-block;
  background-color: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-maru);
  font-weight: 700;
  font-size: 20px;
  padding: 15px 200px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 60px;
  margin-bottom: 120px;
  box-shadow: 0 4px 0 var(--color-green-hover);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-archive:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--color-green-hover);
}

/* =============================================================================
   番組紹介エリア（#intro）
============================================================================= */
#intro {
  --wave-height: 25px;

  position: relative;
  background-color: var(--color-bg-warm);
  padding: 80px 20px;
  margin: 300px 0;
  background-image: url("../img/foot_01.png");
  background-repeat: no-repeat;
  background-position: left 5% top 10%;
  background-size: 150px auto;
}

#intro::before,
#intro::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--wave-height);
  background-color: var(--color-bg-warm);
  z-index: 1;
}

#intro::before {
  top: 0;
  transform: translateY(-100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 C50,100 80,20 150,20 C220,20 250,70 320,70 C390,70 420,10 500,10 C580,10 620,90 700,90 C780,90 820,30 900,30 C980,30 1050,100 1200,100 L1200,100 L0,100 Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 C50,100 80,20 150,20 C220,20 250,70 320,70 C390,70 420,10 500,10 C580,10 620,90 700,90 C780,90 820,30 900,30 C980,30 1050,100 1200,100 L1200,100 L0,100 Z'/%3E%3C/svg%3E");
  mask-size: 70% 100%;
}

#intro::after {
  bottom: 0;
  transform: translateY(100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C80,0 120,80 200,80 C280,80 320,20 400,20 C480,20 520,70 600,70 C680,70 720,10 800,10 C880,10 950,90 1050,90 C1150,90 1200,0 1200,0 L1200,0 L0,0 Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C80,0 120,80 200,80 C280,80 320,20 400,20 C480,20 520,70 600,70 C680,70 720,10 800,10 C880,10 950,90 1050,90 C1150,90 1200,0 1200,0 L1200,0 L0,0 Z'/%3E%3C/svg%3E");
  mask-size: 70% 100%;
}

.intro-content {
  position: relative;
  width: 70%;
  margin: 0 auto;
  text-align: center;
}

.intro-content::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 330px;
  height: 330px;
  background-image: url("../img/photo_il.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}

.intro-content h1 {
  font-family: var(--font-rounded);
  color: var(--color-green);
  font-size: 36px;
  margin-bottom: 40px;
  display: inline-block;
}

.intro-content p {
  font-family: var(--font-maru);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.5;
  margin: 0 auto;
  color: var(--color-text);
}

.intro-content span {
  font-size: 35px;
  font-weight: bold;
  font-feature-settings: "palt";
  color: var(--color-green);
}

/* =============================================================================
   アーカイブセクション
============================================================================= */
#archive {
  margin: 0;
}

#archive .next-content{
  background-image: none;
}

.more-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0 10rem;
  box-sizing: border-box;
}

.more-list li a {
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

.more-list li a:hover {
  transform: scale(1.05);
  z-index: 5;
}

/* --- アーカイブカード --- */
.bn_article {
  background-color: var(--color-green);
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
  box-shadow: var(--shadow-card);
  color: var(--color-white);
  min-height: 110px;
  box-sizing: border-box;
}

.bn_article h5 {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-gold);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
  color: var(--color-white);
  font-size: 1.6rem;
  padding: 5px 10px;
  margin: 0;
  z-index: 2;
  font-weight: bold;
}

.bn_article::after {
  content: "〉";
  font-size: 18px;
  font-weight: bold;
  margin-left: 1rem;
  color: var(--color-white);
  flex-shrink: 0;
}

.thumb {
  width: 45%;
  aspect-ratio: 16 / 9;
  background-color: #999;
  margin-right: 10px;
  flex-shrink: 0;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  align-items: center;
  min-width: 0;
  color: var(--color-white);
}

.info strong {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.info p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--color-white);
}

.info span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  margin-top: 0.5rem;
  padding: 5px 10px;
  width: fit-content;
  background-color: var(--color-gold);
}

/* --- バナーエリア --- */
.bnrarea {
  display: flex;
  list-style: none;
  margin: 5rem auto;
  gap: 10px;
  width: 45%;
  max-width: 1000px;
}

.bnr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================================================================
   レスポンシブ：タブレット（769px〜1024px）
============================================================================= */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  .intro-content::after {
    right: -100px;
    bottom: -250px;
    width: 300px;
    height: 300px;
  }

  .more-list {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
    padding: 4rem 0 6rem;
  }

  .bn_article {
    min-height: 100px;
    padding: 8px;
  }

  .bn_article h5 {
    font-size: 1.3rem;
    padding: 2px 6px;
  }

  .bn_article::after {
    font-size: 14px;
    margin-left: 0.5rem;
  }

  .thumb {
    width: 40%;
    margin-right: 8px;
  }

  .info strong {
    font-size: 14px;
    margin-bottom: 3px;
    white-space: normal;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .info p    { font-size: 13px; }
  .info span { font-size: 12px; padding: 4px 8px; }
}

/* PCではハンバーガーを非表示 */
@media (min-width: 769px) {
  .hamburger { display: none !important; }
}

/* =============================================================================
   レスポンシブ：スマホ（〜768px）
============================================================================= */
@media (max-width: 768px) {

  /* --- 基本 --- */
  main {
    padding-top: 113px;
  }

  /* --- ハンバーガーメニュー --- */
  .hamburger {
    display: block;
    position: fixed;
    top: 135px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 50;
    cursor: pointer;
    background-color: var(--color-green);
    border-radius: 25px;
    border: 2px solid var(--color-green-light);
  }

  .hamburger.is-active .hamburger_border_top    { transform: translateY(10px) rotate(45deg); }
  .hamburger.is-active .hamburger_border_center { opacity: 0; }
  .hamburger.is-active .hamburger_border_bottom { transform: translateY(-10px) rotate(-45deg); }

  .menu_inner {
    position: fixed;
    top: 0;
    right: -100%;
    width: 35%;
    height: 100vh;
    background-color: #f7f0c9e6;
    transition: 0.4s;
    z-index: 50;
    padding-top: 170px;
    box-shadow: 0 0 15px var(--color-gold-dark);
  }

  #menu.is-active .menu_inner {
    right: 0;
  }

  /* --- ナビゲーション --- */
  .nav_list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px;
    margin: 0;
  }

  .nav_item a {
    width: 75px;
    height: 75px;
    font-size: 11px;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
  }

  /* --- 放送時間バー --- */
  #start h1 { font-size: 18px; }
  #time h1  { font-size: 22px; }

  #time span {
    padding: 5px;
    top: -2px;
  }

  /* --- 次回の放送エリア --- */
  #next {
    margin: 50px auto;
  }

  #next p{
    margin-bottom: 60px;
  }

  .bg_city {
    background-size: cover;
    background-position: center;
  }

  .next-content {
    padding: 40px 0;
    background-position:
      1% 0%,
      95% 55%,
      2% 98%,
      99% -1%;
    background-size:
      80px auto,
      80px auto,
      80px auto,
      90px auto;
  }

  .next-box {
    width: 90%;
  }

  #archive{
    margin-top: 3rem;
  }

  .next-content h1 {
    font-size: 28px;
    margin-top: -65px;
    margin-bottom: 20px;
  }

  .next-content h2 {
    font-size: 20px;
    padding: 10px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .next-content h2 span {
    font-size: 15px;
    margin: 0;
    border-top: 2px solid var(--color-white);
    width: 100%;
  }

#next .next-photo{
  display: flex;
  flex-direction: column;
}

#next .next-photo img{
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

  .next-box > .next-photo {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .slider-wrapper {
    width: 100%;
  }

  .next-box .next-photo .key-photo {
    width: 90%;
  }

  .info-row {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    align-items: flex-start;
  }

  .info-row dl,
  .narration {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
  }

  .info-row dd,
  .map,
  .narration dd {
    font-size: 20px;
  }

  .btn-archive {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    font-size: 20px;
    margin: 40px 0 80px;
  }

  /* --- 番組紹介エリア --- */
  #intro {
    padding: 100px 20px;
    margin: 150px 0;
    background-size: 80px auto;
  }

  .intro-content {
    width: 100%;
  }

  .intro-content::after {
    right: 0;
    bottom: -180px;
    width: 200px;
    height: 200px;
  }

  .intro-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .intro-content p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }

/*  .intro-content p br {
    display: none;
  }*/

  .intro-content span {
    font-size: 20px;
  }

  /* --- アーカイブ --- */
  .more-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 90%;
    padding: 2rem 0 5rem;
    align-items: stretch;
  }

  .more-list li {
    display: flex;
  }

  .more-list li a {
    width: 100%;
  }

  .bn_article {
    flex-direction: column;
    align-items: stretch;
    padding: 30px 6px 8px;
    height: 100%;
    min-height: unset;
    overflow: hidden;
  }

  .bn_article h5 {
    font-size: 20px;
    padding: 5px 10px;
  }

  .bn_article::after {
    display: none;
  }

  .thumb {
    width: 100%;
    margin: 0 0 8px 0;
  }

  .info strong {
    font-size: 13px;
    line-height: 1.3;
    padding-bottom: 3px;
    margin-bottom: 5px;
    white-space: normal;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    width: 90%;
  }

  .info p {
    font-size: 11px;
    margin: 0 0 8px 0;
    flex-grow: 1;
  }

  .info span {
    font-size: 10px;
    margin-top: auto;
    padding: 3px 2px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  /* --- バナーエリア --- */
  .bnrarea {
    flex-direction: column;
    width: 90%;
    margin: 2rem auto;
    align-items: center;
    padding: 0;
    gap: 15px;
  }

  .bnr {
    width: 100%;
  }

  .bnr img {
    width: 100%;
  }
}
