@import url("https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap");

:root {
  --max-width: 1200px;
  --ink: #fff;
  --ink-sub: rgba(255,255,255,.85);
  --line: rgba(255,255,255,.35);
  --gap: clamp(16px, 2.5vw, 28px);
}


.pf-wrap {
  max-width:1200px; 
  margin:0 auto;
  padding:0 clamp(16px,2vw,24px); 
  font-family: 'Do Hyeon', sans-serif;
}

.pf-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(20px,4vw,40px) clamp(16px,2vw,24px) clamp(40px,5vw,64px);
}

.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px,3vw,40px);
}
@media (max-width: 820px) {
  .pf-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== カラムタイトル ===== */
.pf-coltitle {
  margin: 0 0 clamp(12px,1.8vw,16px);
  font-weight: 400;
  font-size: clamp(22px,2.8vw,28px);
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--line);
}

/* ===== 項目リスト（上下配置） ===== */
.pf-list {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

.pf-list dt {
  font-family: 'Noto Sans JP', sans-serif; 
  font-weight: 500; /* 太字を強調 */
  color: var(--ink); /* 白で強調 */
  font-size: clamp(16px, 2.2vw, 18px); /* ← サイズを大きめに変更 */
  margin-bottom: 6px; /* 項目名とデータの間隔を少し広げる */
  line-height: 1.4;
}

.pf-list dd {
  font-family: 'Noto Sans JP', sans-serif; 
  margin: 0;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--ink-sub); /* データは少しトーンを落とす */
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  line-height: 1.6;
}

/* ===== スマホ用調整 ===== */
@media (max-width: 520px) {
  .pf-list {
    gap: clamp(12px, 2.2vw, 16px);
  }
  .pf-list dt {
    font-size: clamp(16px, 3.2vw, 20px); /* スマホでも見やすく */
  }
  .pf-list dd {
    font-size: clamp(14px, 3vw, 16px);
  }
}


/* プレイヤーギャラリー全体 */
.pg-wrap {
  margin: clamp(16px, 2.5vw, 28px) 0;
}
.pg-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 24px);
}

/* 2カラム構成 */
.pg-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap);
}
@media (max-width: 900px) {
  .pg-grid {
    grid-template-columns: 1fr;
  }
}

/* 左カラム（メイン画像＋サムネイル） */
.pg-main {
  width: 100%;
  background: #222;
  overflow: hidden;
}
.pg-main img{
  width:100%;
  height:auto;
  object-fit: contain;
  display:block;
}

/* サムネ群（4枚固定表示） */
.pg-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;  /* 中央揃え */
  flex-wrap: nowrap;        /* 改行禁止 */
  overflow: hidden;         /* スクロール無効化 */
  padding: 0;
}

/* サムネ枠（4等分） */
.pg-thumb {
  flex: 1 1 0%;            /* 等分割 */
  max-width: 25%;          /* 横幅を25%ずつ */
  aspect-ratio: 3 / 4;     /* 縦横比維持 */
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  background: #111;
  overflow: hidden;
  line-height: 0;
  cursor: pointer;
  box-sizing: border-box;
}

/* サムネ画像 */
.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.65);
  transition: filter .25s, transform .25s;
}


/* 状態 */
.pg-thumb:hover img { 
  transform: translateY(-1px); 
}
.pg-thumb[aria-current="true"] img { 
  filter: brightness(1); 
}
.pg-thumb[aria-current="true"] { 
  border-color: #ff7b00; 
}


/* 右カラム（ポジション図） */
.pg-pos {
  margin: 0;
}
.pg-pos img {
  width: 100%;
  height: auto;
  display: block;
  background: #222;
}
.pg-pos figcaption {
  text-align: center;
  font: 700 14px/1.6 'Noto Sans JP', sans-serif;
  color: #fff;
  opacity: 0.85;
  margin-top: 6px;
}

/* ページヘッダ */
.ph-wrap { padding: clamp(18px,3.5vw,36px) 0 0; }
.ph-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px,2vw,24px); }
.ph-breadcrumb ol { display:flex; gap:.6em; flex-wrap:wrap; color:#fff; opacity:.9; font: 500 13px/1.6 'Noto Sans JP', sans-serif; }
.ph-breadcrumb a { color:#fff; text-decoration:none; opacity:.9; }
.ph-breadcrumb li::after { content:"|"; margin-left:.6em; opacity:.5; }
.ph-breadcrumb li:last-child::after { content:""; }
.ph-title { margin:.3em 0 0; font: 900 clamp(26px,4.2vw,44px)/1.15 'Do Hyeon', sans-serif; color:#fff; letter-spacing:.02em; }

/* 右下の“ポジション名”キャプションは非表示 */
.pg-pos figcaption { display:none; }

/* パンくず */
.ph-breadcrumb ol {
  list-style: none;          /* 数字を消す */
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;                    /* ←ここ重要！隙間はCSSで制御 */
  color: #fff;
  opacity: .9;
  font: 500 14px/1.6 'Noto Sans JP', sans-serif;
}

.ph-breadcrumb li {
  display: flex;
  align-items: center;
}

/* 区切り文字を「|」にする（ここだけで管理） */
.ph-breadcrumb li + li::before {
  content: "|";
  margin: 0 .6em;  /* ←ここで間隔調整 */
  color: #fff;
  opacity: .6;
}

/* リンク */
.ph-breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: .95;
}

.ph-breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== パンくず全体 ===== */
.ph-wrap {
  background-color: #111; /* 黒背景 */
  padding: 12px 0;       /* 上下に余白 */
}

.ph-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 24px);
}

/* ===== パンくずリスト ===== */
.ph-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0; /* ←ここは0でOK、区切り線のmarginで調整する */
  color: #fff;
  font: 600 14px/1.6 'Noto Sans JP', sans-serif;
}

.ph-breadcrumb li {
  display: flex;
  align-items: center;
}

/* 区切り線「|」 */
.ph-breadcrumb li + li::before {
  content: "|";
  margin: 0 1em; /* ←左右にしっかり間隔を取る */
  color: #888;   /* 少しグレーっぽく */
  font-weight: normal;
}

/* リンク */
.ph-breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: .95;
}
.ph-breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== パンくずを完全に統一 ===== */
body.player-page .ph-breadcrumb li::before,
body.player-page .ph-breadcrumb li::after {
  content: none !important; /* 他CSSの区切りを強制オフ */
  margin: 0 !important;
}

/* 区切り線を1本だけ表示 */
body.player-page .ph-breadcrumb li + li::before {
  content: "|" !important;
  margin: 0 1em !important;
  color: #aaa !important;
  font-weight: normal !important;
  display: inline-block !important;
}

/* ============ BreadCrumb styles (scoped) ============ */
.bc-inner{ max-width:1200px; margin:0 auto; padding:0 clamp(16px,2vw,24px); }

.bc ol{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:0;
  color:#fff; font:600 14px/1.6 'Noto Sans JP', sans-serif; }

/* 他CSSの疑似要素を無効化（二重の区切り対策） */
.bc li::before, .bc li::after{ content:none !important; margin:0 !important; }
.bc li{ display:flex; align-items:center; }

/* 区切り | を1本だけ出す */
.bc li + li::before{
  content:"|" !important; margin:0 1em !important; color:#aaa !important; display:inline-block !important;
}

/* タイトル＆リンク */
.bc-title{ margin:.35em 0 0; font:700 clamp(26px,4.2vw,44px)/1.15 'Do Hyeon', sans-serif; color:#fff; }
.bc a{ color:#fff; text-decoration:none; opacity:.95; }
.bc a:hover{ text-decoration:underline; }

/* どのテンプレでも効く“全画面背景レイヤー” */
.page-bg{
  position: fixed;          /* 画面に張り付く */
  inset: 0;                 /* 上下左右ぜんぶ0 */
  z-index: -1;              /* すべての下へ（邪魔しない） */
  pointer-events: none;     /* クリック等を透過 */
  background-image: var(--bg);                       /* ← HTMLの style で差し替え */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;                      /* パララックス風の固定 */
}

.page-bg {
  position: fixed;
  inset: 0; /* top, right, bottom, left 全部0 */
  background-image: var(--bg);
  background-position: center top;
  background-repeat: repeat-y;
  background-size: cover;   /* PCでは画面いっぱい */
  z-index: -1;              /* 背景用に下げる */
}

/* タブレット以下（固定解除＋縮小表示） */
@media (max-width: 1024px) {
  .page-bg {
    background-attachment: scroll;
    background-size: cover;
  }
}

/* スマホ以下（縮小して画像全体を見せる） */
@media (max-width: 768px) {
  .page-bg {
    background-size: contain;     /* ← 全体を縮小表示 */
    background-repeat: no-repeat; /* ← 繰り返し防止 */
    background-color: #000;       /* ← 余白を背景色で埋める（任意） */
  }
}



