/* ================================================
   FESN ONLINE SHOP &#8212; TOP PAGE CSS (Renewal)
   ================================================ */

/* --- Hero Swiper（前後ピーク表示） --- */
.hero-swiper-wrap {
  padding: 40px 0 0;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .hero-swiper-wrap { padding-top: 16px; }
}
.hero-swiper {
  overflow: visible !important;
}
.hero-swiper .swiper-slide {
  transition: opacity 0.4s ease;
  opacity: 0.4;
}
.hero-swiper .swiper-slide-active {
  opacity: 1;
}
.hero-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-swiper .swiper-pagination {
  bottom: 16px !important;
}
.hero-swiper .swiper-pagination-bullet {
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: background 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: rgba(255,255,255,1);
}

/* ================================================
   横スクロール商品セクション
   New Arrivals / Best Sellers / Recommended 共通
   ================================================ */
.p-hscroll-section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--color-border);
}
/* スライダー直後のセクションはボーダー不要（視覚的に滑らかに繋げる） */
.hero-swiper-wrap + .p-hscroll-section { border-top: none; }
@media screen and (max-width: 768px) {
  /* セクション間は呼吸を持たせ、タイトル直下は詰める（モバイルのリズム優先） */
  .p-hscroll-section { padding-top: 40px; padding-bottom: 40px; }
}

/* セクションヘッダー（タイトル + ナビボタン行） */
.p-hscroll-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
@media screen and (max-width: 768px) {
  .p-hscroll-section__header { margin-bottom: 18px; }
}

/* タイトル＋日本語サブラベル（2層ヘッダー） */
.p-hscroll-section__ttl-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
/* 日本語サブラベル: タイトルバッジからの小さな吹き出し */
.p-section-sub {
  position: relative;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  white-space: nowrap;
  background: #F2F2EF;
  padding: 5px 10px;
  line-height: 1;
}
.p-section-sub::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #F2F2EF;
  transform: translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 768px) {
  .p-hscroll-section__ttl-group { gap: 10px; }
  .p-section-sub { font-size: 9px; padding: 4px 8px; }
}

/* セクションタイトル &#8212; TOPページ専用スタイル（黒背景バッジ型） */
.p-hscroll-section .c-section-ttl {
  display: inline-block;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 20px 8px;
  margin-bottom: 0;
  line-height: 1;
}
.p-hscroll-section .c-section-ttl::after { display: none; }
@media screen and (max-width: 768px) {
  .p-hscroll-section .c-section-ttl {
    font-size: 10px;
    padding: 8px 16px 7px;
  }
}

/* ナビボタン */
.p-hscroll-nav { display: flex; gap: 4px; flex-shrink: 0; }
.p-hscroll-nav__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--color-border);
  background: none; cursor: pointer;
  color: var(--color-text);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
/* 「次へ→」は吹き出しと同じ淡グレー背景で、進む方向をさりげなく示す */
.p-hscroll-nav__arrow--next { background: #F2F2EF; }
.p-hscroll-nav__arrow:hover { border-color: var(--color-text); background: var(--color-text); color: #fff; }
.p-hscroll-nav__arrow:disabled { opacity: 0.25; cursor: default; pointer-events: none; }
@media screen and (max-width: 768px) { .p-hscroll-nav { display: none; } }
.p-hscroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.p-hscroll::-webkit-scrollbar { display: none; }
.p-hscroll__item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.p-hscroll__item:hover { opacity: 0.9; transform: translateY(-4px); }
/* タッチ端末: タップ押下フィードバック */
@media (hover: none) {
  .p-hscroll__item:active { transform: scale(0.97); opacity: 0.85; }
}
@media screen and (max-width: 768px) {
  .p-hscroll { gap: 12px; }
  .p-hscroll__item { flex: 0 0 160px; }
}
.p-hscroll__img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-subtle);
  margin-bottom: 10px;
}

/* SOLD OUT: 画像オーバーレイ + カード全体を淡く */
.p-hscroll__item:has(.p-hscroll__price.is-soldout) {
  opacity: 0.65;
}
.p-hscroll__item:has(.p-hscroll__price.is-soldout) .p-hscroll__img::after {
  content: 'SOLD OUT';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-text);
}
.p-hscroll__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.p-hscroll__item:hover .p-hscroll__img img {
  transform: scale(1.04);
}
.p-hscroll__rank {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--color-text);
  color: var(--color-bg);
  z-index: 1;
}
/* ランキングTOP3はブランドアクセントで強調 */
.p-hscroll__item:nth-child(-n+3) .p-hscroll__rank { background: var(--color-accent); }
.p-hscroll__name {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-hscroll__price {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.p-hscroll__price.is-soldout {
  color: var(--color-text-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.p-hscroll__price.is-discount {
  color: var(--color-sale);
}

/* 旧オーバーレイ式ボタン（削除済み） */

/* ================================================
   スクロールフェードイン
   ================================================ */
.p-hscroll-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.p-hscroll-section.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .p-hscroll-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================
   Film Module（YouTube最新動画 タブ切り替え）
   ================================================ */

/* 外側セクション */
.p-hscroll-section:has(.p-film__module) {
  background: transparent;
}

/* モジュール本体（暗いカード＝自己完結）
   flexのorderで表示順を再構成: ヘッダー → タブ → 本体 → ティッカー（フッター帯） */
.p-film__module {
  --color-accent: #FF0000;
  background: radial-gradient(120% 90% at 50% 0%, #1A1A1A 0%, #111 55%, #0C0C0C 100%);
  border-top: 3px solid var(--color-accent);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.p-film__topbar { order: 1; }
.p-film__tab-row { order: 2; }
.p-film__module-body { order: 3; }
.p-film__ticker { order: 4; }

/* タブ行: 左=日付タブ / 右=再生中タイトル（ステータスバー） */
.p-film__tab-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.p-film__tab-row .p-film__tab-nav {
  background: none;
  border-bottom: none;
}
.p-film__tab-side {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 20px;
}
.p-film__tab-side span {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}
/* タイトルが入ったら頭に赤い縦バー（放送UIのリストマーカー風） */
.p-film__tab-side span:not(:empty)::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 11px;
  background: var(--color-accent);
  margin-right: 9px;
  vertical-align: -1px;
}
@media screen and (max-width: 768px) {
  .p-film__tab-side { display: none; }
}

/* トップバー: ● NOW PLAYING + チャンネルリンク */
.p-film__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.p-film__topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-film__topbar-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  flex-shrink: 0;
  animation: film-dot-pulse 2s ease-in-out infinite;
}
@keyframes film-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.6); }
}
.p-film__topbar-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
}
.p-film__topbar-ch {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.p-film__topbar-ch:hover {
  color: #fff;
  opacity: 1;
}
.p-film__topbar-ch img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.p-film__topbar-ch-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: inherit;
}
.p-film__topbar-ch-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: inherit;
  white-space: nowrap;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.p-film__topbar-ch:hover .p-film__topbar-ch-cta {
  background: #fff;
  color: #111;
  border-color: #fff;
}
@media screen and (max-width: 768px) {
  .p-film__topbar { padding: 14px 14px 12px; }
  .p-film__topbar-title { font-size: 12px; letter-spacing: 0.24em; }
  .p-film__topbar-ch-name { display: none; }
  .p-film__topbar-ch-cta { font-size: 9px; padding: 4px 9px; }
}

/* タブナビ */
.p-film__tab-nav {
  display: flex;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.p-film__tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 15px 26px 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-bottom: -1px;
  color: rgba(255, 255, 255, 0.32);
}
.p-film__tab-btn.is-active {
  border-bottom-color: var(--color-accent);
  color: #fff;
}
.p-film__tab-btn:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.65);
}
.p-film__tab-date {
  /* Oswald: コンデンスド書体でポスター/掲示板の日付らしい縦長数字 */
  font-family: 'Oswald', 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: inherit;
  font-variant-numeric: tabular-nums;
}
/* アクティブタブの日付前に小さな再生マーク（ラベルではなく記号で示す） */
.p-film__tab-btn.is-active .p-film__tab-date::before {
  content: '\25B6';
  font-size: 7px;
  color: var(--color-accent);
  margin-right: 7px;
  vertical-align: 1px;
}
/* 先頭タブ＝最新動画: 縦書きLATESTバッジ（背表紙のように日付に寄り添う） */
.p-film__tab-btn:first-child::before {
  content: 'LATEST';
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 7px;
}
.p-film__tab-btn:first-child.is-active::before {
  color: var(--color-accent);
}
@media screen and (max-width: 768px) {
  /* タイトル枠は非表示のため、タブナビが行の全幅を使う */
  .p-film__tab-row .p-film__tab-nav { width: 100%; }
  .p-film__tab-btn {
    flex: 1;
    padding: 12px 8px 10px;
  }
  .p-film__tab-date { font-size: 13px; letter-spacing: 0.06em; }
}

/* コンテンツボディ */
.p-film__module-body {
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .p-film__module-body { padding: 14px; }
}

/* 動画＋商品グリッド */
.p-film__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}
@media screen and (max-width: 768px) {
  .p-film__layout { grid-template-columns: 1fr; gap: 0; }
}
.p-film__main {
  display: flex;
  flex-direction: column;
  /* グリッド列がhscroll内容のmin-content(136px×4個)に引っ張られて580pxに広がるのを防止 */
  min-width: 0;
}

/* 動画フレーム */
.p-film__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
.p-film__frame iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: 0;
}
.p-film__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  z-index: 1;
  transition: opacity 0.5s ease;
  animation: film-pulse 1.8s ease-in-out infinite;
}
.p-film__frame.is-loaded::before {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
@keyframes film-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
/* スポンサーティッカー */
/* 帯全体を白いテープのストリップに（フィルム末尾のリーダーテープ） */
.p-film__ticker {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #E8E8E6;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.p-film__ticker:hover {
  background: #F1F1EF;
  opacity: 1;
}
.p-film__ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 18px 0 12px;
  /* 白テープの上の黒い印字ブロック（ページ共通の黒バッジ言語の反転） */
  background: #1A1A1A;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
  /* 右端の斜めカット＝テープの切り口 */
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
/* 握手アイコン（ラベル先頭） */
.p-film__ticker-hand {
  flex-shrink: 0;
  margin: 0 6px 0 0;
  color: #FFFFFF;
}
.p-film__ticker-scroll {
  overflow: hidden;
  flex: 1;
}
.p-film__ticker-track {
  display: flex;
  width: max-content;
  padding: 7px 0;
  animation: film-ticker 90s linear infinite;
}
.p-film__ticker-track span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(26, 26, 26, 0.72);
  white-space: nowrap;
}
@keyframes film-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .p-film__topbar-dot { animation: none; }
  .p-film__frame::before { animation: none; }
  .p-film__ticker-track { animation: none; }
}

/* 商品エリア（右列） */
.p-film__products-wrap {
  margin-top: 0;
  /* 商品カード列のmin-contentでグリッド列が広がるのを防止（横スクロールを機能させる） */
  min-width: 0;
}
@media screen and (min-width: 769px) {
  .p-film__products-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 16px;
  }
  .p-film__products-wrap .p-film__products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    /* 商品が増えても枠は伸ばさず、内側で縦スクロール（次の行が少し覗いて誘導になる高さ） */
    max-height: 360px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  }
  .p-film__products-wrap .p-film__products::-webkit-scrollbar { width: 5px; }
  .p-film__products-wrap .p-film__products::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); }
  .p-film__products-wrap .p-film__products::-webkit-scrollbar-track { background: transparent; }
  .p-film__products-wrap .p-hscroll__item {
    flex: none;
  }
}
@media screen and (max-width: 768px) {
  .p-film__products-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-top: 16px;
  }
  .p-film__products-wrap .p-hscroll__item { flex: 0 0 136px; }
}
/* 紹介商品画像: 85%縮小・センタリング */
.p-film__products-wrap .p-hscroll__img {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}
.p-film__products.p-hscroll {
  margin: 0;
}

/* 商品エリア見出し */
.p-film__products-ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.85);
}
/* FEATUREDバッジ: ティッカーと同じ白テープ言語（赤は使わない） */
.p-film__products-ttl::before {
  content: 'FEATURED';
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #1A1A1A;
  background: #E8E8E6;
  padding: 3px 8px;
  flex-shrink: 0;
}
/* 見出しテキスト: FEATUREDバッジからの吹き出し（ダーク版） */
.p-film__products-ttl-txt {
  position: relative;
  background: #2C2C2C;
  padding: 5px 10px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}
.p-film__products-ttl-txt::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #2C2C2C;
  transform: translateY(-50%) rotate(45deg);
}

/* 暗い背景内の商品カードテキスト色補正 */
.p-film__module .p-hscroll__name {
  color: rgba(255, 255, 255, 0.88);
}
.p-film__module .p-hscroll__price {
  color: rgba(255, 255, 255, 0.55);
}
.p-film__module .p-hscroll__price.is-soldout {
  color: rgba(255, 255, 255, 0.35);
}
.p-film__module .p-hscroll__item:hover .p-hscroll__name {
  color: #fff;
}

/* ================================================
   News（$free_space 全文表示）
   ================================================ */
.p-news-free {
  line-height: 1.95;
  font-size: 14px; /* 可読性重視（40代以上の読者を想定） */
  color: var(--color-text-secondary);
}
.p-news-free a { color: var(--color-text); }
.p-news-free a:hover { text-decoration: underline; opacity: 1; }

/* ================================================
   News欄の記事デザイン &#8212; .p-news-free 内限定
   （共通CSSの .ni を上書き。PAST NEWSページには影響しない）
   ================================================ */

/* デスクトップ: タブ方式（左1/3=記事一覧 / 右2/3=選択記事の全文）
   一覧はJSがフリースペースの記事から自動生成。モバイルは従来の縦積みのまま */
.p-news-list { display: none; }
@media screen and (min-width: 769px) {
  .p-news-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 2fr;
    gap: 48px;
    align-items: start;
  }
  /* 左カラム: 記事一覧（タブ）。全記事を常に表示（記事数は運用でPAST NEWSへ移して管理） */
  .p-news-list {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--color-text);
  }
  .p-news-list__item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 32px 12px 14px;
    cursor: pointer;
    color: var(--color-text);
    transition: background 0.15s ease, color 0.15s ease;
  }
  /* 「押せる」ことを常時示す右端シェブロン */
  .p-news-list__item::after {
    content: '\203A';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 700;
    opacity: 0.3;
  }
  .p-news-list__item:hover { background: var(--color-bg-subtle); }
  /* アクティブ: 淡グレー面＋左端の赤バー（黒ベタより穏やかな現在地表現） */
  .p-news-list__item.is-active {
    background: #F0F0ED;
    box-shadow: inset 3px 0 0 var(--color-accent);
  }
  .p-news-list__item.is-active::after { opacity: 0.75; color: var(--color-accent); }
  /* 日付ブロック: ミニカレンダー型（年小・月日大の縦組み）＋区切り線 */
  .p-news-list__d {
    flex: 0 0 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Barlow Condensed', 'DIN Alternate', 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    border-right: 1px solid var(--color-border);
    padding-right: 12px;
  }
  .p-news-list__y {
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #999;
    margin-bottom: 2px;
  }
  /* 最新記事には日付の下に赤のLATESTタグ */
  .p-news-list__item:first-child .p-news-list__d::after {
    content: 'LATEST';
    font-family: var(--font-main);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--color-accent);
    margin-top: 3px;
  }
  .p-news-list__t {
    flex: 1;
    align-self: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .p-news-list__past {
    display: block;
    flex-shrink: 0;
    margin-top: 16px;
    padding: 11px 0;
    border: 1.5px solid var(--color-text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .p-news-list__past:hover {
    background: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
  }
  /* 右ペイン: アクティブな記事だけ全文表示（切り替え時にふわっと入る） */
  .p-news-free .ni { display: none; }
  .p-news-free .ni.is-active {
    display: block;
    padding: 12px 0 26px; /* 日付タグの罫密着(margin-top:-12px)と整合 */
    animation: news-detail-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@keyframes news-detail-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .p-news-free .ni.is-active { animation: none; }
}

/* 九五館News: 横スクロール末尾のPAST NEWSカード */
.p-kyu-endcap__box {
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.p-kyu-endcap:hover .p-kyu-endcap__box {
  background: var(--color-text);
  color: var(--color-bg);
}
.p-kyu-endcap:hover .p-news-past-jp {
  color: rgba(255, 255, 255, 0.75);
}

/* PAST NEWSボタンの日本語サブテキスト（PC一覧下・スマホ末尾の両ボタン共通） */
.p-news-past-jp {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: none;
  color: #999;
  margin-top: 3px;
}
.p-news-endcap:hover .p-news-past-jp,
.p-news-list__past:hover .p-news-past-jp {
  color: rgba(255, 255, 255, 0.75);
}

/* News本文末尾のPAST NEWSリンク:
   スマホ=READ MORE展開領域内の最終記事の下に全幅ボタン / デスクトップ=非表示（左一覧の下のボタンを使用） */
.p-news-endcap {
  display: none;
}
@media screen and (max-width: 768px) {
  .p-news-endcap {
    display: block;
    margin-top: 8px;
    padding: 12px 16px;
    border: 1.5px solid var(--color-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .p-news-endcap:hover {
    background: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
  }
}
/* フリースペースの自動改行で紛れ込むトップレベル<br>を無効化 */
.p-news-free > br { display: none; }
/* フリースペース内に旧PAST NEWSリンクが残っていても表示しない（スタッフ運用の保険） */
.p-news-free .ni-more { display: none; }

/* 記事 = 新聞のセクション罫スタイル（記事の頭にだけ黒罫＋赤チップ） */
.p-news-free .ni {
  break-inside: avoid;
  position: relative;
  border-top: 2px solid var(--color-text);
  border-bottom: none;
  padding: 12px 0 20px;
}
/* 黒罫の右端に効かせるブランドレッドのチップ */
.p-news-free .ni::before {
  content: '';
  position: absolute;
  top: -2px;
  right: 0;
  width: 36px;
  height: 2px;
  background: var(--color-accent);
}
.p-news-free .ni:first-of-type { padding-top: 12px; }
.p-news-free .ni:last-of-type { border-bottom: none; padding-bottom: 20px; }

/* 日付 &#8212; 黒罫から下がるデートタグ（黒地白抜き・罫と一体化。PC/スマホ共通） */
.p-news-free .ni-d {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: 'Barlow Condensed', 'DIN Alternate', 'Oswald', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background: #1A1A1A;
  padding: 6px 12px 7px;
  margin-top: -12px; /* 記事上罫に密着させて構造の一部にする */
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.p-news-free .ni-d span {
  display: inline;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}
/* 最新記事: タグ内末尾に小さな赤LATEST（黒地で読める明るめの赤。PC/スマホ共通） */
.p-news-free .ni:first-of-type .ni-d::after {
  content: 'LATEST';
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-sale);
  margin-left: 2px;
}

/* タイトル &#8212; 下に赤のショートバー（上罫の赤チップ36pxと対になる寸法。PC/スマホ共通） */
.p-news-free .ni-t {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.p-news-free .ni-t::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--color-accent);
}
.p-news-free .ni img { margin: 10px 0; }
.p-news-free .ni > a:last-child img:last-child,
.p-news-free .ni > img:last-child { margin-bottom: 0; }
.p-news-free .ni-y { margin: 12px 0; }

@media screen and (max-width: 768px) {
  /* 縦積みでは枠同士が密着しないよう記事間に間隔 */
  .p-news-free .ni { padding: 10px 0 18px; margin-bottom: 24px; }
  .p-news-free .ni:last-of-type { margin-bottom: 0; }
}

/* 詳細記事ヘッダーの磨き込み（デスクトップ: 日付プレート＋タイトル＋ヘアライン） */
@media screen and (min-width: 769px) {
  /* 日付プレートはベース定義（PC/スマホ共通）を使用 */
  .p-news-free .ni-t {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.01em;
    text-wrap: balance;
    margin-bottom: 16px;
  }
}

/* モバイル: News折りたたみ（切り位置=記事2の途中。高さはJSがインラインで設定） */
.p-news-free.is-collapsed {
  max-height: 400px; /* JS無効時のフォールバック */
  overflow: hidden;
  position: relative;
}
/* 記事2の途中で切れていることを示すフェード */
.p-news-free.is-collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--color-bg));
  pointer-events: none;
}
.p-news-toggle {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 11px 0;
  background: none;
  border: 1px solid var(--color-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
}
.p-news-toggle[hidden] { display: none; }

/* 「PAST NEWS →」ボタン */
.ni-more {
  display: block;
  margin-top: 28px;
  padding: 14px 20px;
  border: 1.5px solid var(--color-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.ni-more:hover {
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .ni-more { margin-top: 20px; padding: 12px 16px; }
}

/* スワイプヒント（モバイルのみ）
   &#8212; NOW PLAYINGのティッカーを引用したマイクロティッカー型。
     SWIPEラベル + アクセント色の「&#8250;&#8250;&#8250;&#8250;」がレーン内を右へ流れ続ける。
     リストをスワイプしたらフェードアウト。 */
.p-swipe-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.p-hscroll-section.is-revealed .p-swipe-hint { opacity: 1; }
.p-swipe-hint.is-done { opacity: 0 !important; }
.p-swipe-hint__txt {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #B0B0B0;
  line-height: 1;
}
.p-swipe-hint__lane {
  display: flex;
  overflow: hidden;
  width: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.p-swipe-hint__flow {
  display: block;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #B0B0B0;
  animation: swipe-flow 1.8s linear infinite;
  animation-play-state: paused;
}
.p-hscroll-section.is-revealed .p-swipe-hint__flow { animation-play-state: running; }
@keyframes swipe-flow {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .p-swipe-hint__flow { animation: none; }
}

/* === CUSTOM SETUP CTAバナー &#8212; ポップなフライヤー風（白地＋黒枠＋赤オフセット） === */
.p-setup-cta-section {
  padding-top: 24px;
  padding-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .p-setup-cta-section { padding-top: 16px; padding-bottom: 16px; }
}
.p-setup-cta {
  position: relative;
  display: block;
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid #1A1A1A;
  border-radius: 2px;
  box-shadow: 4px 4px 0 0 #1A1A1A;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.p-setup-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 #1A1A1A;
  opacity: 1;
}
/* 写真: 暗幕オーバーレイ廃止。右側に明るいまま斜めカットで配置 */
.p-setup-cta__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.p-setup-cta__overlay { display: none; }
.p-setup-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 62%;
  padding: 26px 0 26px 28px;
  box-sizing: border-box;
}
.p-setup-cta__text { flex: 1; }
/* ＼ ／ の応援スラッシュ付きアイブロウ（赤） */
.p-setup-cta__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
}
.p-setup-cta__eyebrow::before { content: '＼'; color: #B9B9B4; }
.p-setup-cta__eyebrow::after  { content: '／'; color: #B9B9B4; }
.p-setup-cta__catch { margin: 0; line-height: 1.6; }
.p-setup-cta__l1 {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 0.02em;
}
.p-setup-cta__l2 {
  display: block;
  font-size: 12px;
  color: #666666;
  margin-top: 6px;
}
/* ボタン: 黒地白抜き＋赤のオフセット影（ホバーで赤黒反転） */
.p-setup-cta__btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 13px 26px;
  background: #1A1A1A;
  border: none;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 0 var(--color-accent);
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.p-setup-cta:hover .p-setup-cta__btn {
  background: var(--color-accent);
  box-shadow: 3px 3px 0 0 #1A1A1A;
}
@media screen and (max-width: 768px) {
  /* スマホ: 写真を上帯にして明るく、その下にテキスト＋全幅ボタン */
  .p-setup-cta__bg {
    position: relative;
    display: block;
    width: 100%;
    height: 130px;
    clip-path: none;
  }
  .p-setup-cta__inner {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px 18px;
  }
  .p-setup-cta__l1 { font-size: 14.5px; }
  .p-setup-cta__btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

