/*=============================================================
  SM Prisoner - フロントページスタイル
  カラー方針:
  明: NEWS / CAST / SCHEDULE / RECRUIT / SNS → 白背景
  暗: pay-banner / CONCEPT / SYSTEM → 黒背景（style.cssに委ねる）
=============================================================*/

/* ─────────────────────────────────────────────
   0. リセット・共通
───────────────────────────────────────────── */
.fp-main {
  position: relative;
  z-index: 1;
}

.fp-section {
  padding: 72px 0;
}

.fp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
/* ─── 文字サイズ・行間 グローバル強化（優先度１）─── */

/* 共通見出し */
.fp-heading {
  font-size: 26px !important;
  line-height: 1.4 !important;
}

/* NEWS */
.fp-news-date {
  font-size: 13px !important;
}

.fp-news-title {
  font-size: 16px !important;
  line-height: 1.8 !important;
}

/* PICK UP CAST */
.fp-pickup-name {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

/* SCHEDULE 出勤時間バッジ */
.fp-schedule-time {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

/* 空欄メッセージ */
.fp-empty {
  font-size: 16px !important;
  line-height: 1.8 !important;
}

/* もっと見るリンク */
.fp-more a {
  font-size: 15px !important;
}

/* RECRUIT 本文 */
.fp-recruit-body p {
  font-size: 16px !important;
  line-height: 2 !important;
}

/* RECRUIT リンク */
.fp-recruit-link {
  font-size: 17px !important;
}

/* SNS バナー */
.fp-sns-links img {
  height: 52px !important;
}
/* ─────────────────────────────────────────────
   1. 明るいセクション（白背景）
───────────────────────────────────────────── */
/* .fp-section--2col,
.fp-section--schedule,
.fp-section--recruit,
.fp-section--sns {
  background: #ffffff;
} */

.fp-section--schedule {
  position: relative;
  z-index: 1;
}

/* 透過レイヤー */
.fp-section--schedule::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05); /* ←濃さ調整 */
  z-index: 0;
}

/* 中身をレイヤーより前へ */
.fp-section--schedule > * {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   2. 暗いセクション（style.cssに委ねる）
───────────────────────────────────────────── */
.fp-section--pay,
.fp-section--concept,
.fp-section--system {
  background: transparent; /* style.css の layered__bg / pay-banner に委ねる */
  padding: 0;
}

/* ─────────────────────────────────────────────
   3. 見出し（明セクション用）
───────────────────────────────────────────── */
.fp-heading {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #b38b2d;
  font-family: "Raleway", "Shippori Mincho", serif;
}

/* もっと見るリンク */
.fp-more {
  margin-top: 24px;
  text-align: right;
}

.fp-more a {
  display: inline-flex !important;
  align-items: center;
  font-size: 14px;
  color: #b38b2d;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.fp-more a::after {
  content: " →";
  margin-left: 4px;
}

.fp-more a:hover {
  opacity: 0.75;
}

.fp-empty {
  color: #666;
  font-size: 15px;
  padding: 20px 0;
}

/* ─────────────────────────────────────────────
   4. NEWS + PICK UP CAST 2カラム
───────────────────────────────────────────── */
.fp-section--2col .fp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* NEWS */
.fp-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fp-news-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.fp-news-item a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  color: #111;
  transition: opacity 0.2s;
}

.fp-news-item a:hover {
  opacity: 0.75;
}

.fp-news-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 2px;
}

.fp-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-news-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fp-news-date {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.06em;
}

.fp-news-title {
  font-size: 15px;
  line-height: 1.6;
  color: #222;
}

.fp-news-empty {
  font-size: 14px;
  color: #666;
  padding: 14px 0;
}

/* PICK UP CAST */
.fp-pickup-link {
  display: block !important;
  text-decoration: none;
  color: #111;
  transition: opacity 0.2s;
}

.fp-pickup-link:hover {
  opacity: 0.88;
}

.fp-pickup-img {
  overflow: hidden;
  border-radius: 2px;
}

.fp-pickup-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.fp-pickup-link:hover .fp-pickup-img img {
  transform: scale(1.03);
}

.fp-pickup-name {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #111;
}

/* ─────────────────────────────────────────────
   5. TODAY'S SCHEDULE
───────────────────────────────────────────── */
.fp-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.fp-schedule-item {
  position: relative;
  overflow: hidden;
}

.fp-schedule-item a {
  display: block !important;
  text-decoration: none;
}

.fp-schedule-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fp-schedule-item:hover .fp-schedule-img img {
  transform: scale(1.04);
}

.fp-schedule-time {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────
   6. PAY BANNER（style.cssのデザインを活かす）
───────────────────────────────────────────── */
.fp-section--pay {
  /* style.css の .pay-banner に完全に委ねる */
  padding: 0;
}
.pay-banner {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.92),
    rgba(15, 15, 15, 0.95)
  ) !important;
  border: 1px solid rgba(201, 168, 118, 0.25) !important;
}

.pay-banner__inner {
  background: transparent !important;
}
/* ─────────────────────────────────────────────
   7. CONCEPT / SYSTEM（style.cssのデザインを活かす）
───────────────────────────────────────────── */
.fp-section--concept,
.fp-section--system {
  padding: 0;
}

/* style.css の .section padding を復元 */
.fp-section--concept .section,
.fp-section--system .section {
  padding: 36px 0;
}

/* ─────────────────────────────────────────────
   8. RECRUIT
───────────────────────────────────────────── */
.fp-section--recruit {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-recruit-flex {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.fp-recruit-img {
  flex: 0 0 400px;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.fp-recruit-img img {
  width: 100%;
  height: auto;
  display: block;
}

.fp-recruit-body {
  flex: 1 1 auto;
  padding-top: 8px;
}

.fp-recruit-body p {
  font-size: 16px;
  line-height: 2;
  color: #444;
  margin-bottom: 28px;
}

.fp-recruit-link {
  display: inline-flex !important;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 2px solid #b38b2d;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.fp-recruit-link:hover {
  color: #b38b2d;
  opacity: 1;
}

/* ─────────────────────────────────────────────
   9. SNS
───────────────────────────────────────────── */
.fp-section--sns {
  background: #f6f6f6;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-sns-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.fp-sns-links a {
  display: inline-flex !important;
  transition: opacity 0.2s;
}

.fp-sns-links a:hover {
  opacity: 0.75;
}

.fp-sns-links img {
  height: 52px;
  width: auto;
  display: block;
}

/* ─────────────────────────────────────────────
   10. フッターとの接続（SNS→フッターを滑らかに）
───────────────────────────────────────────── */
.fp-section--sns {
  /* SNSセクション下端をフッターの黒に近づける */
  padding-bottom: 80px;
}

/* ─────────────────────────────────────────────
   11. レスポンシブ
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .fp-section {
    padding: 52px 0;
  }

  .fp-inner {
    padding: 0 20px;
  }

  .fp-section--2col .fp-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fp-schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-schedule-img img {
    height: 220px;
  }

  .fp-recruit-flex {
    flex-direction: column;
  }

  .fp-recruit-img {
    flex: 0 0 auto;
    width: 100%;
  }

  .fp-heading {
    font-size: 24px;
  }
  .pay-banner__logos {
    justify-content: center;
    padding-inline: 0;
  }
}

@media (max-width: 600px) {
  .fp-section {
    padding: 40px 0;
  }

  .fp-schedule-grid {
    grid-template-columns: 1fr;
  }

  .fp-schedule-img img {
    height: 260px;
  }

  .fp-heading {
    font-size: 22px;
  }

  .fp-news-thumb {
    width: 60px;
    height: 60px;
  }

  .fp-news-title {
    font-size: 14px;
  }
  .pay-banner__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    padding-inline: 0;
  }
}

/* ─── CONCEPT/SYSTEM を白背景に統一 ─── */
.fp-section--concept .layered__bg,
.fp-section--system .layered__bg {
  display: none !important;
}

.fp-section--concept .layered__frame,
.fp-section--system .layered__frame {
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #111 !important;
}

.fp-section--concept,
.fp-section--system {
  padding: 72px 0 !important;
}

/* ─── 白背景用テキスト色 + 視認性強化（優先度１） ─── */

/* CONCEPT / SYSTEM 大見出し */
.fp-section--concept .section-title,
.fp-section--system .section-title {
  color: #111 !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 8px !important;
}

/* CONCEPT / SYSTEM サブタイトル（"コンセプト" / "システム"） */
.fp-section--concept .section-title .section-sub,
.fp-section--system .section-title .section-sub {
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  color: #888 !important;
  margin-top: 6px !important;
}

/* CONCEPT コンセプトリード文 */
.fp-section--concept .concept-lead {
  font-size: 17px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
  /* text-shadow: none !important; */
  margin-bottom: 32px !important;
}

/* CONCEPT ポイント見出し（h3） */
.fp-section--concept .concept-point h3 {
  color: #b38b2d !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid rgba(179, 139, 45, 0.3) !important;
}

/* CONCEPT ポイント本文 */
.fp-section--concept .concept-point p {
  /* color: #444 !important; */
  font-size: 16px !important;
  line-height: 1.95 !important;
  /* text-shadow: none !important; */
}

/* SYSTEM ブロック見出し（h3） */
.fp-section--system .system-title {
  color: #b38b2d !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 12px !important;
}

/* SYSTEM 説明文（p） */
.fp-section--system .system-message p {
  font-size: 16px !important;
  line-height: 1.95 !important;
  /* text-shadow: none !important; */
  margin-bottom: 12px !important;
}

/* SYSTEM リスト */
.fp-section--system .system-list {
  padding-left: 1.2em !important;
  margin-bottom: 12px !important;
}

.fp-section--system .system-list li {
  /* color: #333 !important; */
  font-size: 16px !important;
  line-height: 1.9 !important;
  /* text-shadow: none !important; */
  margin-bottom: 4px !important;
}

/* SYSTEM 注意書き */
.fp-section--system .system-note {
  color: #000 !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  /* text-shadow: none !important; */
}

.fp-section--system .system-block {
  border-top-color: rgba(0, 0, 0, 0.1) !important;
}

/* CONCEPT/SYSTEM の交互グレー */

/* ─── SYSTEM 背景画像透過 ─── */
.fp-section--system .layered__frame {
  position: relative !important;
  overflow: hidden !important;
}

/* .fp-section--system .layered__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("<?php echo get_stylesheet_directory_uri(); ?>/img/system8.png")
    center center no-repeat;
  background-size: cover;
  opacity: 0.12;
  filter: saturate(0.9) contrast(1.05) blur(0.5px);
  z-index: 0;
} */
.fp-section--concept .layered__bg {
  /* display: none !important; */
}

.fp-section--concept .section-concept {
  background: transparent;
}

.fp-section--system .layered__frame > * {
  position: relative;
  z-index: 2;
}

/* ─────────────────────────────────────────────
   12. Pick Up Cast：3人横並びグリッド
───────────────────────────────────────────── */
.fp-pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fp-pickup-grid .fp-pickup-link {
  display: block !important;
}

.fp-pickup-grid .fp-pickup-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 2px;
}

.fp-pickup-grid .fp-pickup-name {
  margin-top: 8px;
  font-size: 14px !important;
  text-align: center;
  color: #111;
  font-weight: 600;
}

@media (max-width: 900px) {
  .fp-pickup-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .fp-pickup-grid .fp-pickup-img img {
    height: 160px;
  }
}

@media (max-width: 600px) {
  .fp-pickup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-pickup-grid .fp-pickup-img img {
    height: 140px;
  }
}

/* ─────────────────────────────────────────────
   13. Today's Schedule：グレーアウト表示
───────────────────────────────────────────── */

/* グレーアウト通知バー */
.fp-schedule-grayout-notice {
  grid-column: 1 / -1;
  background: #f0f0f0;
  border-left: 3px solid #b38b2d;
  padding: 10px 16px;
  margin-bottom: 4px;
  border-radius: 2px;
}

.fp-schedule-grayout-notice span {
  font-size: 14px;
  color: #666;
  letter-spacing: 0.04em;
}

/* グレーアウトアイテム */
.fp-schedule-item--grayout {
  opacity: 0.38;
  filter: grayscale(80%);
  pointer-events: none; /* クリック不可 */
  transition: none;
}

/* グレーアウト時の出勤バッジ */
.fp-schedule-item--grayout .fp-schedule-time {
  background: rgba(80, 80, 80, 0.7);
  color: #ccc;
  font-size: 13px !important;
}

/* ─────────────────────────────────────────────
   14. RECRUIT バナー
───────────────────────────────────────────── */
.rct-banner {
  grid-template-columns: 50% 1fr;
  min-height: 240px;
  border-radius: 6px;
  overflow: hidden;
  background: #0f0f0f;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 168, 118, 0.2);
}

/* 左：写真 */
.rct-banner__img {
  position: relative;
  overflow: hidden;
}

.rct-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(0.85);
}

/* 右：テキストエリア */
.rct-banner__body {
  padding: 28px 36px;
  background:
    radial-gradient(
      ellipse at 80% 50%,
      rgba(120, 0, 0, 0.35) 0%,
      transparent 65%
    ),
    linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* SM PRISONER サブタイトル */
.rct-banner__brand {
  font-family: "Raleway", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(201, 168, 118, 0.75);
  text-transform: uppercase;
  margin: 0;
}

/* 「女王様」大募集 */
.rct-banner__title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #c9a876;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", serif;
}

/* チェックリスト */
.rct-banner__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.rct-banner__list li {
  font-size: 14px;
  color: rgba(245, 245, 245, 0.88);
  letter-spacing: 0.04em;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.rct-banner__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c9a876;
  font-weight: 700;
}

.rct-banner__list li span {
  font-size: 12px;
  color: rgba(245, 245, 245, 0.55);
}

/* ボタン群 */
.rct-banner__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rct-banner__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}

.rct-banner__btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* LINEボタン */
.rct-banner__btn--line {
  background: #c0392b;
  color: #fff !important;
  border: none;
}

.rct-banner__btn--line:hover {
  background: #a93226;
  opacity: 1;
}

/* 詳細ボタン */
.rct-banner__btn--detail {
  background: transparent;
  color: rgba(245, 245, 245, 0.88) !important;
  border: 1px solid rgba(201, 168, 118, 0.5);
}

.rct-banner__btn--detail:hover {
  background: rgba(201, 168, 118, 0.15);
  border-color: rgba(201, 168, 118, 0.85);
  opacity: 1;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .rct-banner {
    grid-template-columns: 1fr;
  }

  .rct-banner__img {
    height: 220px;
  }

  .rct-banner__body {
    padding: 24px 24px;
  }

  .rct-banner__title {
    font-size: 30px;
  }

  .rct-banner__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .rct-banner__title {
    font-size: 26px;
  }

  .rct-banner__btns {
    flex-direction: column;
  }

  .rct-banner__btn {
    text-align: center;
  }
}
