/* UGOITA PLUS 下層ページ共通スタイル
   f-final-full.html のトーンを継承（黒×白×ゴールド）
   ヘッダー、ブレッドクラム、サブヒーロー、関連カード、フッターなどの共通部品 */

/* ===== HEADER（sticky・全下層共通） ===== */
.sub-header {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; padding: 20px 60px;
  border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: .15em; color: var(--text-3); text-transform: uppercase; font-weight: 700;
  background: rgba(10,10,12,.95); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
}
.sub-header .logo-link {
  font-family: 'Noto Serif JP', serif; font-weight: 900;
  font-size: 22px; color: var(--text); text-transform: none; letter-spacing: .02em;
  display: flex; align-items: baseline; gap: 4px;
}
.sub-header .logo-link .gold {
  color: var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
}
.sub-header nav { display: flex; gap: 24px; justify-content: center; }
.sub-header nav a { color: var(--text-2); }
.sub-header nav a.active { color: var(--gold); }
.sub-header .actions { display: flex; gap: 16px; align-items: center; justify-content: end; }
.sub-header .login { color: var(--text-2); font-size: 11px; }
.sub-header .btn-join {
  background: var(--gold); color: var(--bg);
  padding: 9px 18px; font-weight: 800; font-size: 11px; letter-spacing: .1em;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 20px 60px; border-bottom: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 14px; color: var(--text-3);
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); margin: 0 12px; }
.breadcrumb .current { color: var(--text); }

/* ===== SUB-HERO（番組詳細・講師詳細・一覧などのヘッダー部分） ===== */
.sub-hero {
  padding: 80px 60px 60px; border-bottom: 1px solid var(--line);
  position: relative;
}
.sub-hero.with-image {
  background-size: cover; background-position: center;
  min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end;
}
.sub-hero.with-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.5) 0%, rgba(10,10,12,.92) 100%);
}
.sub-hero > * { position: relative; z-index: 1; }
.sub-hero .meta-line {
  font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .25em;
  color: var(--gold); text-transform: uppercase; font-weight: 700;
  margin-bottom: 16px;
}
.sub-hero h1 {
  font-family: 'Noto Serif JP', serif; font-weight: 900;
  font-size: 64px; line-height: 1.3; letter-spacing: -.01em;
  margin-bottom: 16px; max-width: 1100px;
}
.sub-hero h1 em { font-style: normal; color: var(--gold); }
.sub-hero .sub-title {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 22px; color: var(--gold); font-weight: 500; margin-bottom: 32px;
}
.sub-hero .meta-row {
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-2);
  padding-top: 24px; border-top: 1px solid var(--line-2);
}
.sub-hero .meta-row .item { display: flex; align-items: center; gap: 8px; }
.sub-hero .meta-row .item .l { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); }
.sub-hero .meta-row .item .v { font-weight: 700; color: var(--text); }
.sub-hero .meta-row .badge {
  padding: 4px 12px; border: 1px solid var(--gold); color: var(--gold);
  font-size: 11px; letter-spacing: .15em; font-weight: 700;
}
.sub-hero .meta-row .badge.gold-rank {
  background: var(--gold); color: var(--bg);
}

/* ===== SUB-SECTION（下層ページのセクション共通） ===== */
.sub-sec { padding: 100px 60px; border-bottom: 1px solid var(--line); }
.sub-sec.bg-2 { background: var(--bg-2-solid); }
.sub-sec .sec-head { margin-bottom: 56px; }
.sub-sec .sec-head .label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 16px; color: var(--gold); font-weight: 500; margin-bottom: 12px;
}
.sub-sec .sec-head .label::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.sub-sec h2 {
  font-family: 'Noto Serif JP', serif; font-weight: 900;
  font-size: 40px; line-height: 1.4; letter-spacing: -.01em;
}
.sub-sec h2 em { font-style: normal; color: var(--gold); }

/* ===== 関連カード（番組カード／講師カード共通） ===== */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.related-card {
  background: var(--bg-2-solid); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .2s, transform .2s;
  display: block; color: inherit;
}
.related-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.related-card .img {
  height: 180px; background-size: cover; background-position: center;
  position: relative; border-bottom: 1px solid var(--line);
}
.related-card .img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,12,.7) 100%);
}
.related-card .img .n {
  position: absolute; top: 12px; left: 14px;
  background: var(--bg); color: var(--gold);
  padding: 4px 10px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 13px; font-weight: 500; z-index: 1;
}
.related-card.gold .img .n { color: var(--gold-light); border: 1px solid var(--gold-light); }
.related-card .body { padding: 22px 24px; }
.related-card .type {
  font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .25em;
  color: var(--gold); text-transform: uppercase; font-weight: 800; margin-bottom: 8px;
}
.related-card.gold .type { color: var(--gold-light); }
.related-card h4 {
  font-family: 'Noto Serif JP', serif; font-weight: 800;
  font-size: 18px; line-height: 1.4; margin-bottom: 6px;
}
.related-card .s { font-size: 13px; color: var(--text-3); margin-bottom: 14px; font-weight: 500; }
.related-card .m {
  display: flex; gap: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: var(--text-2); font-weight: 700; letter-spacing: .05em;
}

/* ===== SUB-FOOTER ===== */
.sub-footer {
  padding: 56px 60px 32px; background: #07070a;
  border-top: 1px solid var(--line);
}
.sub-footer .foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.sub-footer .brand-block .logo {
  font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: 20px; color: var(--text); margin-bottom: 12px;
}
.sub-footer .brand-block .logo .gold { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; margin-left: 4px; }
.sub-footer .brand-block p { font-size: 12px; color: var(--text-3); line-height: 1.9; }
.sub-footer h5 {
  font-size: 11px; color: var(--gold); letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 14px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
}
.sub-footer ul li { font-size: 12px; padding: 5px 0; color: var(--text-2); }
.sub-footer .copy {
  padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-3); letter-spacing: .12em;
}

/* ===== Inline CTA (mid-section) ===== */
.inline-cta {
  padding: 80px 60px; text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2-solid) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.inline-cta h3 {
  font-family: 'Noto Serif JP', serif; font-weight: 900;
  font-size: 36px; margin-bottom: 16px; line-height: 1.4;
}
.inline-cta h3 em { font-style: normal; color: var(--gold); }
.inline-cta p { font-size: 14px; color: var(--text-2); margin-bottom: 32px; }
.inline-cta .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .sub-header { padding: 16px 32px; gap: 16px; }
  .sub-header nav { gap: 18px; font-size: 11px; }
  .breadcrumb { padding: 16px 32px; }
  .sub-hero { padding: 60px 32px 48px; }
  .sub-hero h1 { font-size: 48px; }
  .sub-sec { padding: 80px 32px; }
  .sub-sec h2 { font-size: 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-footer { padding: 48px 32px 28px; }
  .sub-footer .foot-grid { gap: 28px; }
  .inline-cta { padding: 64px 32px; }
}

@media (max-width: 767px) {
  .sub-header {
    grid-template-columns: 1fr auto; gap: 12px;
    padding: 14px 20px;
  }
  .sub-header nav { display: none; }
  .sub-header .actions .login { display: none; }
  .sub-header .logo-link { font-size: 18px; }

  .breadcrumb { padding: 14px 20px; font-size: 12px; }
  .breadcrumb .sep { margin: 0 8px; }

  .sub-hero { padding: 40px 20px 32px; }
  .sub-hero.with-image { min-height: 380px; }
  .sub-hero .meta-line { font-size: 10px; margin-bottom: 12px; }
  .sub-hero h1 { font-size: 28px; line-height: 1.5; margin-bottom: 12px; }
  .sub-hero .sub-title { font-size: 16px; margin-bottom: 20px; }
  .sub-hero .meta-row { gap: 12px 20px; font-size: 12px; padding-top: 16px; }

  .sub-sec { padding: 56px 20px; }
  .sub-sec .sec-head { margin-bottom: 36px; }
  .sub-sec h2 { font-size: 24px; line-height: 1.5; }

  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .related-card .img { height: 180px; }

  .inline-cta { padding: 48px 20px; }
  .inline-cta h3 { font-size: 24px; }
  .inline-cta .ctas { flex-direction: column; gap: 12px; }
  .inline-cta .ctas a { width: 100%; text-align: center; padding: 14px 20px; font-size: 13px; }

  .sub-footer { padding: 40px 20px 24px; }
  .sub-footer .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .sub-footer .copy { flex-direction: column; gap: 8px; text-align: center; font-size: 10px; }
}
