/*
 * 推しカレーナンバー1 ? redesign overrides
 * 既存の style.css の後に読み込んでください。
 */

:root {
  --page-bg: #f7ead8;
  --page-bg-deep: #eed8bd;
  --ink: #2a1710;
  --brown: #431d10;
  --red: #d93a20;
  --red-deep: #a92314;
  --yellow: #f5bd3f;
  --cream: #fffaf1;
  --line: rgba(67, 29, 16, .16);
}

html {
  background: var(--page-bg);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(245, 189, 63, .16), transparent 28rem),
    linear-gradient(180deg, #f4dfc7 0, var(--page-bg) 34rem, #fff8ee 100%);
}

/* Header: 番組本体より目立たせない */
.site-header {
  min-height: 54px;
  padding: 7px clamp(14px, 2.5vw, 30px);
  border-bottom: 0;
  background: rgba(255, 250, 241, .93);
  box-shadow: 0 1px 0 rgba(67, 29, 16, .07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo {
  width: clamp(70px, 8vw, 96px);
}

/* Hero: “カード”ではなく番組ポスターとして見せる */
.hero {
  min-height: clamp(360px, 57vw, 670px);
  padding: clamp(46px, 7vw, 88px) clamp(18px, 4vw, 54px) clamp(88px, 10vw, 128px);
  background:
    radial-gradient(circle at 78% 14%, rgba(245, 189, 63, .42), transparent 20rem),
    radial-gradient(circle at 16% 86%, rgba(255, 255, 255, .08), transparent 22rem),
    linear-gradient(145deg, #5b180d 0%, #9f2817 46%, #cf4a24 100%);
}

.hero::before {
  opacity: .26;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 96%);
}

.hero::after {
  left: -8%;
  bottom: -110px;
  width: 62vw;
  height: 240px;
  border-radius: 50%;
  background: rgba(245, 189, 63, .28);
  filter: blur(38px);
  transform: none;
}

.logomessage_setting h1 {
  width: min(92vw, 940px);
  filter: drop-shadow(0 16px 26px rgba(42, 15, 7, .28));
}

/* Main */
.site-main {
  width: min(100%, 1140px);
  padding-bottom: clamp(62px, 8vw, 96px);
}

/* 放送日時: SaaS風pillをやめて番宣テロップ寄りへ */
.schedule-section {
  margin-top: clamp(-52px, -5vw, -34px) !important;
  margin-bottom: clamp(64px, 8vw, 92px) !important;
}

.p-program__date {
  display: inline-block;
  max-width: min(94vw, 820px);
  padding: 15px clamp(20px, 4vw, 38px) 17px;
  border: 4px solid var(--brown);
  border-radius: 10px;
  color: var(--brown);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--yellow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 900;
  letter-spacing: .03em;
}

.accent {
  color: var(--red);
  font-size: 1.75em;
  text-shadow: 2px 2px 0 rgba(245, 189, 63, .42);
}

/* セクション間隔と見出し */
.content-section {
  margin-bottom: clamp(68px, 9vw, 106px) !important;
}

h2 {
  margin-bottom: clamp(28px, 4vw, 38px) !important;
  padding: 0;
  color: var(--brown);
  font-size: clamp(30px, 4.8vw, 48px);
  font-weight: 900;
  letter-spacing: .04em;
}

/* 番組内容: 浮いた白カード感を抑える */
.bangumi-naiyou {
  width: min(100%, 900px);
  padding: clamp(26px, 4.5vw, 50px);
  border: 0;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 250, 241, .88);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bangumi-naiyou p {
  /* margin: 0 !important; */
  color: #3a261d;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 650;
  line-height: 2;
}

.bangumi-naiyou p:first-child {
  color: inherit;
  font-weight: 650;
}

/* 出演者: カード装飾を減らし、写真を主役に */
.cast-list {
  gap: clamp(14px, 2.6vw, 24px);
  width: min(100%, 1040px);
}

.cast-item {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.cast-item:hover {
  transform: none;
  box-shadow: none;
}

.cast-item dt {
  overflow: hidden;
  border-radius: 18px;
  background: #ead5bd;
  box-shadow: 0 12px 28px rgba(67, 29, 16, .12);
}

.cast-item img {
  transition: transform .35s ease;
}

.cast-item:hover img {
  transform: scale(1.02);
}

.cast-item dd {
  padding: 13px 6px 0;
  color: var(--brown);
  background: transparent;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 900;
}

/* 配信: 独立した情報枠として整理 */
.streaming-section {
  width: min(100%, 920px) !important;
  padding: clamp(28px, 4vw, 44px) !important;
  border: 2px solid var(--brown);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: 8px 8px 0 rgba(67, 29, 16, .12);
}

.streaming-section h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.haishin {
  gap: 10px;
}

.haishin li {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.haishin li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(67, 29, 16, .09);
}

footer {
  background: #35170f;
}

/* ページトップも装飾を簡略化 */
.pagetop {
  border: 0;
  background: var(--brown);
  box-shadow: 0 8px 18px rgba(47, 33, 27, .2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 599px) {
  .site-header {
    min-height: 50px;
  }

  .hero {
    min-height: 340px;
    padding-top: 42px;
    padding-bottom: 92px;
  }

  .logomessage_setting h1 {
    width: min(96vw, 720px);
  }

  .schedule-section {
    margin-top: -44px !important;
    padding-inline: 8px;
  }

  .p-program__date {
    width: 100%;
    padding: 14px 12px 16px;
    border-width: 3px;
    box-shadow: 6px 6px 0 var(--yellow);
    line-height: 1.5;
  }

  h2::before {
    width: 28px;
    height: 6px;
  }

  .bangumi-naiyou {
    padding: 24px 20px;
    border-left-width: 7px;
    border-radius: 0 12px 12px 0;
  }

  .bangumi-naiyou p {
    line-height: 1.85;
  }

  .cast-list {
    gap: 30px;
  }

  .cast-item dt {
    border-radius: 14px;
  }

  .streaming-section {
    padding: 26px 18px !important;
    border-radius: 12px;
    box-shadow: 5px 5px 0 rgba(67, 29, 16, .12);
  }
}

/* ==========================================================
   Hero / schedule connection ? 1500 × 1380px image
   画像を一切トリミングしない版
   ========================================================== */

/*
 * 1500 × 1380 = 横:縦 約 1.087:1。
 * 固定height、拡大率、overflow:hiddenを使わず、
 * 画像そのものの縦横比に高さを任せる。
 */
.hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 0;
  overflow: visible;
  background: var(--cream);
}

/* 以前のヒーロー背景装飾は非表示 */
.hero::before,
.hero::after {
  display: none;
}

.logomessage_setting h1 {
  display: block;
  width: 100%;
  max-width: 1500px;
  height: auto;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  filter: none;
}

.logomessage_setting h1 img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: initial;
  object-position: initial;
  transform: none;
}

.site-main {
  padding-top: 0;
}

/* 放送日時は画像直下に接続 */
.schedule-section {
  position: relative;
  z-index: 5;
  width: 100vw !important;
  margin-top: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: clamp(62px, 8vw, 92px) !important;
  padding: clamp(18px, 2.6vw, 28px) 16px clamp(22px, 3vw, 34px);
  border-top: 7px solid var(--yellow);
  background: var(--cream);
  box-shadow: 0 8px 26px rgba(67, 29, 16, .08);
  text-align: center;
}

.p-program__date {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--brown);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: .02em;
}

.accent {
  font-size: 1.8em;
}

/* タブレット・スマホでも画像比率は変えない */
@media (max-width: 900px) {
  .hero,
  .logomessage_setting h1 {
    height: auto;
  }

  .logomessage_setting h1 img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 599px) {
  .hero {
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .logomessage_setting h1 {
    width: 100%;
    height: auto;
  }

  .logomessage_setting h1 img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .schedule-section {
    padding: 14px 10px 19px;
    border-top-width: 5px;
  }

  .p-program__date {
    font-size: clamp(17px, 5.2vw, 23px);
  }
}

/* ==========================================================
   v6: 背景範囲を初期デザインに戻す
   ページ全体はクリーム系、ヒーローだけ赤茶系。
   画像は1500x1380をトリミングせず全表示する。
   ========================================================== */
html {
  background: var(--page-bg);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(245, 189, 63, .16), transparent 28rem),
    linear-gradient(180deg, #f4dfc7 0, var(--page-bg) 34rem, #fff8ee 100%);
}

.hero {
  background:
    radial-gradient(circle at 78% 14%, rgba(245, 189, 63, .42), transparent 20rem),
    radial-gradient(circle at 16% 86%, rgba(255, 255, 255, .08), transparent 22rem),
    linear-gradient(145deg, #5b180d 0%, #9f2817 46%, #cf4a24 100%);
}

/* 1500×1380の画像は縦横とも切らない */
.logomessage_setting h1 {
  width: 100%;
  max-width: 1500px;
  height: auto;
  margin: 0 auto;
}

.logomessage_setting h1 img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
