/* ===================================================
   リセット・ベース
=================================================== */
img { display: block; width: 100%; height: auto; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.sp { display: none; }
.pc { display: inline; }

/* ===================================================
   common color
=================================================== */
:root {
  /* アクセントカラー */
  --accent-color: #e48242;
}

/* ===================================================
   #fp-contents
=================================================== */
#fp-contents {
  font-size: 20px;
  line-height: 1.7;
  color: #1a1a1a;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  background: none;
  overflow-x: clip;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
#fp-contents::before {
  content: "";
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(../img/bg_yoko.jpg) no-repeat center center / cover;
}

/* ===================================================
   優先表示・遅延表示制御
=================================================== */

/* hero行：非表示・クリック不可 → is_visible で解除 */
.hero_row {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero_row.is_visible {
  opacity: 1;
  pointer-events: auto;
}

/* 日付フィルターバー */
#fp-contents .date_filter_bar {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
#fp-contents .date_filter_bar  {
  display: block;
  opacity: 1;
}

/* ドラマ・バラエティ（優先表示）：最初から表示 */
.content_section.is_priority {
  display: block;
  opacity: 1;
}

/* 報道・アニメ・特別番組：非表示 → is_visible でフェードイン */
.content_section:not(.is_priority),
.specialArea {
  display: none;
}
.content_section:not(.is_priority).is_visible,
.specialArea.is_visible {
  display: block;
  animation: fadeInContent 0.6s ease forwards;
}


@keyframes fadeInContent {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===================================================
   クレジット表示
=================================================== */
.thumb_credit,
.hero_credit {
  position: absolute;
  bottom: 4px;
  right: 5px;
  left: 5px;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.4;
  color: #4d4d4d;
  text-shadow:
     1px  1px 0 #fff, -1px -1px 0 #fff,
     1px -1px 0 #fff, -1px  1px 0 #fff,
     0    1px 0 #fff,  0   -1px 0 #fff,
     1px  0   0 #fff, -1px  0   0 #fff,
     0 0 4px #fff, 0 0 10px rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 2;
  word-break: break-all;
  text-align: right;
  white-space: pre-wrap;
}

.modal_credit {
  position: absolute;
  bottom: 6px;
  right: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 600;
  color: #4d4d4d;
  text-shadow:
    0 0 4px #fff, 0 0 8px #fff,
     1px  1px 0 #fff, -1px -1px 0 #fff,
     1px -1px 0 #fff, -1px  1px 0 #fff;
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 2;
  word-break: break-all;
  text-align: right;
}

/* ===================================================
   サイト固定ヘッダー
=================================================== */
.site_header {
  width: 95%;
  max-width: 1200px;
  border-radius: 10px;
  margin: 10px auto 0;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 2px 16px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.90);
    overflow: hidden;
}
.site_header.is_sticky {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
}

.site_header_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

/* ロゴ */
.site_header_logo_link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.site_header_logo_season {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: #e48242;
}
.site_header_logo_title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
}

/* ナビゲーション */
.site_header_nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===================================================
   site_header_nav_link：ボタン化
=================================================== */

.site_header_nav_link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.1s ease;
}

.site_header_nav_link:hover {
  background: rgba(232,132,42,0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.13),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  border-color: rgba(236, 143, 54, 0.4);
}

.site_header_nav_link:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* アクティブ状態（現在のページ） */
.site_header_nav_link.is_active {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  color: #e50013;
}

/* SP対応 */
@media (max-width: 768px) {
  .site_header_nav_link {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 10px;
  }
}


/* ===================================================
   メインビジュアル（流れるサムネイル）
=================================================== */
#fp-contents .main_visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 40px;
}

.hero_banner {
  position: relative;
  width: 100%;
  /* transform: rotate(-5deg); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hero_row {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  will-change: transform;
  flex-shrink: 0;
  height: max(200px, 14.28vw);
}

.hero_thumb {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  /* height: max(135px, 9.6vw); */
  border-radius: 5px;
  overflow: hidden;
  background: #e0e0e0;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0.9;
}
.hero_thumb img {
  width: auto;
  height: 100%;
  object-fit: fill;
  display: block;
}
.hero_thumb:hover {
  opacity: 1;
  transform: scale(1.03);
  z-index: 1;
}
.hero_row {
  animation: heroScrollLeft  80s linear infinite;
}
.hero_row_3, .hero_row_4 { animation: heroScrollRight  65s linear infinite; }

.hero_row_1:hover,
.hero_row_2:hover,
.hero_row_3:hover,
.hero_row_4:hover { animation-play-state: paused; }

@keyframes heroScrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--scroll-width, 100%))); }
}
@keyframes heroScrollRight {
  from { transform: translateX(calc(-1 * var(--scroll-width, 100%))); }
  to   { transform: translateX(0); }
}

/* ===================================================
   ロゴアニメーション
=================================================== */
.hero_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  width: 100%;
  text-align: center;
  margin: 8px 0;
  font-family: "Noto Sans JP", sans-serif;
}

.hero_title_season {
  position: relative;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--accent-color);
  text-shadow: 0 2px 16px rgba(255,255,255,0.9), 0 0 40px rgba(255,255,255,0.6);
  opacity: 0;
  animation: loadingSlideIn 0.6s cubic-bezier(0.22,1,0.36,1) 0.8s forwards;
}

.hero_title_main {
  position: relative;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
  opacity: 0;
  margin: 0;
  --duration: 1.6s;
  animation: loadingSlideIn 0.6s cubic-bezier(0.22,1,0.36,1) 1s forwards;
}

.hero_title_main .text {
  display: block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  filter:
    drop-shadow(0 2px 20px rgba(255,255,255,0.95))
    drop-shadow(0 0 60px rgba(255,255,255,0.7));
  background-image: linear-gradient(
    90deg,
    #1a1a1a  0%,  #1a1a1a  28%,
    #efc765  35%,
    #cce9d3  41%,
    #a7a6e2  47%,
    #cfd3f0  53%,
    #f1abb3  58%,
    #f4955b  63%,
    #1a1a1a  66%,  #1a1a1a 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  animation: shineMove var(--duration) cubic-bezier(0.45,0,0.55,1) 1.2s 4;
}

@keyframes shineMove {
  from { background-position: 100% 0%; }
  to   { background-position:   0% 0%; }
}
@keyframes loadingSlideIn {
  0%   { opacity: 0; transform: translateX(-120vw); }
  20%  { opacity: 0; }
  100% { opacity: 1; transform: translateX(0); }
}


/* ===================================================
   セクション共通
=================================================== */
#fp-contents .content_section { padding-bottom: 30px; }

#fp-contents .section_inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#fp-contents .section_title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  margin-bottom: 4px;
  padding-left: 20px;
  line-height: 1.3;
}

/* ===================================================
   プログラムブロック・トップセクションタイトル
=================================================== */
#fp-contents .program_block { margin-bottom: 20px; }

#fp-contents .top_section_title_wrap {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto 30px;
  background: linear-gradient(
    135deg,
    rgba(242,143,33,0.38) 0%,
    rgba(223,118,68,0.3) 70%,
    rgba(219,122,133,0.3) 100%
  );
}
#fp-contents .program_block:first-of-type .top_section_title_wrap { margin-top: 60px; }

#fp-contents .top_section_title {
  position: relative;
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.08em;
  line-height: 1.3;
  padding: 16px 0 10px 20px;
}
#fp-contents .top_section_title span {
  color: var(--accent-color);
  font-size: 60%;
}

/* ===================================================
   日付フィルターバー
=================================================== */
.date_filter_bar {
  position: sticky;
  top: 0;
  z-index: 400;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  box-shadow:
    0 2px 16px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.90);
}

.date_filter_inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

.date_filter_scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  padding-bottom: 6px; /* スクロールバーの分だけ余白を追加 */
}

.date_filter_scroll::-webkit-scrollbar       { height: 4px; }
.date_filter_scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.06); }
.date_filter_scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.20);
  border-radius: 2px;
}
.date_filter_scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.35);
}


.date_filter_list {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 2px 0;
}

.date_month_sep {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.06em;
  padding: 0 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.date_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  min-height: 54px;
  padding: 6px 4px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.90);
  color: #1a1a1a;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.date_btn:hover {
  background: rgba(232,132,42,0.15);
  border-color: rgba(236, 143, 54, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(232,132,42,0.20), inset 0 1px 0 rgba(255,255,255,0.90);
}
.date_btn.date_btn_today:hover {
  background: rgba(232,132,42,0.15);
}

/* ===================================================
   date_btn_today：当日ボタン
=================================================== */

.date_btn.date_btn_today {
  background: rgba(255, 200, 0, 0.05);
  border-color: rgba(255, 200, 0, 1);
  /* box-shadow: 0 2px 10px rgba(255, 160, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.85); */
  color: var(--accent-color);
}

/* ===================================================
   date_gray：グレーアウト
=================================================== */
.date_gray {
  color: #bbbbbb;
  background: rgba(0, 0, 0, 0.07);
  box-shadow: unset;
  pointer-events: none;
}



/* ===================================================
    ボタン選択時
=================================================== */
.date_btn.btn_active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232,132,42,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}
.date_btn.btn_active:hover { background: #d4801e; border-color: #d4801e; }

.date_btn_num {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}
.date_btn_day {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.date_btn.btn_active .date_btn_day { opacity: 0.9; }

/* 土曜・日曜の文字色 */
/* !! 日付ベタ書きのHTMLからVueによる自動生成に変更したため、data-date決め打ちのセレクタからクラス指定に変更しました。 */
/*
.date_btn[data-date$="-19"] .date_btn_day,
.date_btn[data-date$="-26"] .date_btn_day,
.date_btn[data-date="2027-01-02"] .date_btn_day,
.date_btn[data-date="2027-01-09"] .date_btn_day { color: #3a7bd5; }

.date_btn[data-date$="-20"] .date_btn_day,
.date_btn[data-date$="-27"] .date_btn_day,
.date_btn[data-date="2027-01-03"] .date_btn_day,
.date_btn[data-date="2027-01-10"] .date_btn_day { color: #e03a3a; }
*/
/* 変更後：Vueが曜日に応じてdate_sat（土）/ date_sun（日）クラスを付与します */
.date_btn.date_sat .date_btn_day { color: #3a7bd5; }
.date_btn.date_sun .date_btn_day { color: #e03a3a; }

.date_btn.btn_active .date_btn_day { color: #fff !important; }

/* フィルター非表示 */
#fp-contents .thumb_item.is_hidden,
#fp-contents .content_section.is_hidden,
#fp-contents .program_block.is_hidden { display: none; }

/* バッジ */
.date_filter_badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  white-space: nowrap;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, max-height 0.2s ease, margin-top 0.2s ease;
}
.date_filter_badge.is_visible { opacity: 1; max-height: 60px; margin-top: 12px; }

.date_filter_badge_reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-color);
  border-radius: 4px;
  padding: 5px 14px;
  transition: background 0.2s ease;
}
.date_filter_badge_reset:hover { background: #d4801e; }

/* ===================================================
   サムネイル共通
=================================================== */
#fp-contents .thumb_img_wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.90),
    inset 0 -1px 0 rgba(0,0,0,0.04);
}
#fp-contents .thumb_img_wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
#fp-contents .thumb_item:hover .thumb_img_wrap img {
  opacity: 0.75;
  transform: scale(1.04);
}
#fp-contents .thumb_item:hover .thumb_img_wrap {
  box-shadow: 0 3px 14px rgba(232,132,42,0.35);
  border-color: rgba(232,132,42,0.2);
}
#fp-contents .thumb_title {
  font-size: 14px;
  color: #1a1a1a;
  margin-top: 6px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: normal; 
}

/* 一覧タイトルspanスペース */
#fp-contents .thumb_title span {
  white-space: nowrap;
}
#fp-contents .thumb_title span::after {
  content: " ";
}
#fp-contents .thumb_title span.space_none::after {
  content: unset;
}
#fp-contents .thumb_title span.none::after {
  content: unset;
}
#fp-contents .thumb_title span.none {
  display: none;
}

/* ===================================================
   横スクロールエリア
=================================================== */
#fp-contents .thumb_scroll_wrap {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) transparent;
  padding: 20px 0;
  background: rgba(255,255,255,0.4);
  border-radius: 20px;
}
#fp-contents .thumb_scroll_wrap::-webkit-scrollbar       { height: 4px; }
#fp-contents .thumb_scroll_wrap::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); }
#fp-contents .thumb_scroll_wrap::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.20); border-radius: 2px; }
#fp-contents .thumb_scroll_wrap::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.35); }

#fp-contents .thumb_list {
  display: inline-flex;
  gap: 12px;
  padding: 0 20px;
}
#fp-contents .thumb_list .thumb_item {
  display: inline-block;
  width: 300px;
  flex-shrink: 0;
  vertical-align: top;
}

/* ===================================================
   放送終了エリア（過去の放送）
=================================================== */

/* セクションタイトル：グレー系でトーンを落とす */
#fp-contents .program_block.ended_area .top_section_title_wrap {
  background: linear-gradient(
    135deg,
    rgba(180, 180, 180, 0.25) 0%,
    rgba(140, 140, 140, 0.20) 50%,
    rgba(120, 120, 120, 0.18) 100%
  );
}
#fp-contents .program_block.ended_area .top_section_title_wrap h2 {
  padding: 16px 0 16px 20px;
  font-size: 26px;

}
#fp-contents .program_block.ended_area .top_section_title span {
  color: #999;
}
#fp-contents .program_block.ended_area .top_section_title {
  color: #000;
}



/* ===================================================
   モーダル
=================================================== */
.modal_overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  background: url(../img/bg_yoko_op.png) no-repeat center / cover;
}
.modal_overlay.is_active { display: flex; }

#fp-contents .modal_window {
  position: relative;
  width: min(90vw, 800px);
  max-height: 88vh;
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,1.0),
    inset 0 -1px 0 rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.modal_window::-webkit-scrollbar       { width: 4px; }
.modal_window::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.modal_close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  font-size: 20px;
  color: #1a1a1a;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}
.modal_close:hover { background: rgba(232,132,42,0.5); }

#fp-contents .modal_img_wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(0,0,0,0.04);
  /* backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%); */
  border-bottom: 1px solid rgba(255,255,255,0.8);
}
#fp-contents .modal_img_wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

#fp-contents .modal_inner {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
#fp-contents .modal_inner::-webkit-scrollbar       { width: 4px; }
#fp-contents .modal_inner::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.modal_body { 
  background: rgba(255, 255, 255, 0.3);
  padding: 22px 26px 40px
}

.modal_label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--accent-color);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.modal_title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
  white-space: pre-wrap;
}
.modal_title span {
  font-size: 0.55em;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.06em;
  margin: 4px 0;
}

#fp-contents .modal_oadate {
  font-size: 18px;
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* リード文 */
.modal_lead {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  white-space: pre-wrap;
}

/* 出演・スタッフ */
.modal_section_title {
  font-size: 16px;
  font-weight: 700;
  color: #ec8f36;
  letter-spacing: 0.1em;
  margin: 20px 0 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid #fff;
}
.modal_cast_wrap,
.modal_staff_wrap { display: block; }

.modal_cast,
.modal_staff {
  font-size: 14px;
  line-height: 1.7;
  color: #232323;
  margin: 0;
  white-space: pre-wrap;
}


/* 内容（desc）：出演・スタッフと同形式 */
.modal_desc_wrap {
  display: block;
}

.modal_desc {
  font-size: 14px;
  line-height: 1.7;
  color: #232323;
  margin: 0;
  white-space: pre-wrap;
}

/* SP対応（既存のSPブロック内に追記） */
@media (max-width: 768px) {
  .modal_lead { font-size: 14px; }
  .modal_desc { font-size: 13px; }
}


/* オフィシャルボタン */
.modal_btn_wrap { margin-top: 20px; text-align: center; }

#fp-contents .modal_official_btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent-color);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
}
#fp-contents .modal_official_btn:hover { background: #d4801e; transform: translateY(-1px); }
#fp-contents .modal_official_btn:active { transform: translateY(0); }

/* SNSアイコン */
.modal_sns_wrap {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.modal_sns_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.modal_sns_btn:hover { opacity: 0.75; transform: scale(1.08); }
.modal_sns_btn img   { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* テキストボタン */
.modal_sns_text_wrap {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}
.modal_sns_text_btn {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  color: #fff;
  background: #555;
  border: 2px solid #555;
  line-height: 1.4;
  word-break: break-all;
  text-align: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.modal_sns_text_btn:hover { background: #333; border-color: #333; transform: translateY(-1px); }

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal_window.is_animating { animation: modalFadeIn 0.28s ease both; }

/* ===================================================
   画像プロテクト関連
=================================================== */
/* 画像およびそのラッパーの選択禁止 */
.img-protected-wrapper,
.img-protected-wrapper *,
.img-protected {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* 画像のドラック禁止 */
.img-protected-wrapper img,
img.img-protected {
  -webkit-user-drag: none;
}

/* 長押しメニューのヒットターゲットを画像から奪う（Android対策）
   透明な擬似要素を画像の上にかぶせて「画像を保存」の対象にならないようにする。 */
.img-protected-wrapper {
  position: relative;
}
.img-protected-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  /* クレジット表記（z-index:2）より下、画像より上に重ねる */
  z-index: 1;
}

/* 印刷時に画像だけ消してスペースは残す */
@media print {
  .img-protected-wrapper img,
  img.img-protected{
    visibility: hidden !important;
  }
}



/* ===================================================
   レスポンシブ（SP: max-width 768px）
=================================================== */
@media (max-width: 768px) {
  .sp { display: inline; }
  .pc { display: none; }

  #fp-contents { font-size: 15px; }
  #fp-contents::before { background-image: url(../img/bg.jpg); }
  #fp-contents .main_visual { margin-bottom: 16px; }

  .hero_row   { 
    gap: 6px;
    animation-duration: 90s;
    height: max(135px, 34.6vw);
  }

  .hero_title        { gap: 4px; }
  .hero_title_season { font-size: clamp(15px, 4vw, 20px); }
  .hero_title_main   { font-size: clamp(22px, 7.5vw, 36px); letter-spacing: 0.04em; }

  .thumb_credit, .hero_credit { font-size: 4px; bottom: 3px; right: 4px; left: 4px; }
  .modal_credit { font-size: 7px; }

  .site_header_inner        { 
    width: 96%;
    padding: 8px 0;
  }
  .site_header_logo_season  { font-size: 10px; }
  .site_header_logo_title   { font-size: min(13px, 3.3vw); }
  .site_header_nav           { gap: min(10px, 1.8vw); }
  .site_header_nav_link      { 
    font-size: min(12px, 3.5vw);
    text-align: center;
    padding: 6px min(10px, 2.56vw);
    line-height: 1.2;
  }

  #fp-contents .program_block               { margin-bottom: unset; }
  #fp-contents .top_section_title_wrap { 
    width: 95%;
    margin: 20px auto;
  }
  #fp-contents .top_section_title_wrap h2 {
    padding: 16px min(20px, 5.1vw) 10px min(20px, 5.1vw);
  }
  #fp-contents .program_block:first-of-type .top_section_title_wrap { margin-top: 40px; }
  #fp-contents .top_section_title           { font-size: min(20px, 5.1vw); }
  #fp-contents .content_section            { padding-bottom: 20px; }
  #fp-contents .section_title              { font-size: min(17px, 4.3vw); padding-left: 10px; }
  
  #fp-contents .section_inner              { width: 95%; }

  #fp-contents .thumb_scroll_wrap { padding: 0 0 6px; background: unset; border-radius: 0; }
  #fp-contents .thumb_list        { gap: 10px; padding: 0 10px; }
  #fp-contents .thumb_list .thumb_item { width: 30vw; min-width: 150px; max-width: 200px; }
  #fp-contents .thumb_title {
  font-size: min(13px, 3.8vw);
}

  .date_filter_inner { padding: 8px 10px; }
  .date_btn          { width: 40px; min-height: 50px; border-radius: 10px; }
  .date_btn_num      { font-size: 15px; }
  .date_btn_day      { font-size: 10px; }
  .date_filter_list  { gap: 5px; }
  .date_filter_badge       { font-size: 14px; gap: 10px; }
  .date_filter_badge_reset { font-size: 12px; padding: 4px 12px; }

  #fp-contents .program_block.ended_area .top_section_title_wrap h2 {
    font-size: min(18px, 4.6vw);
    padding: 10px 0 10px min(20px, 5.1vw);
  }

  .modal_overlay {
    background: url(../img/bg_op.png) no-repeat center / cover;
  }
  #fp-contents .modal_window { width: 95vw; max-height: 80dvh; }
  .modal_title               { font-size: 23px; }
  #fp-contents .modal_oadate { font-size: 16px; }
  .modal_body                { padding: 16px 12px 30px; }
  .modal_desc                { font-size: 14px; }
  .modal_section_title       { font-size: 15px; }
  .modal_cast, .modal_staff  { font-size: 13px; }
  #fp-contents .modal_official_btn { font-size: 14px; }
  /* SNSアイコン */
  .modal_sns_wrap {
    gap: min(14px, 3.5vw);
  }
  .modal_sns_btn {
    width: 46px;
  }
  .modal_close {
    top: min(12px, 3vw);
    right: min(12px, 3vw);
  }

  /* スマホTOPボタンサイズ */
  .cx_smartphoneview #cx_commonPageTopBtn {
    width: 52px;
    height: 52px;
    bottom: 15px;
    background: rgba(242,143,33,0.6) ;
  }
  .cx_smartphoneview #cx_commonPageTopBtn a {
    width: 52px;
    height: 52px;
    line-height: 52px;
    font-size: 22px;
  }
}
