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

:root {
  --max-width: 1200px;
  --page-gutter: clamp(12px, 4vw, 24px);
  --navy: #2E2D59;
  --orange-dark: #FF7A00;
  --orange-light: #FFB76B;
}

/* ===== ページヘッダー（MEMBERS タイトル部分） ===== */
.ptb-hero {
  position: relative;
  color: #fff;
  background: url("./images/background02.jpg") center/cover no-repeat;
}

.ptb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(15deg, rgba(0,0,0,.18), rgba(0,0,0,0) 45%);
  pointer-events: none;
}

.ptb-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(16px,3vw,36px) clamp(16px,2vw,24px) clamp(8px,1.5vw,16px);
  text-align: center;
  font-family: 'Do Hyeon', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px,1vw,10px);
}

/* 英語タイトル（MEMBERS）+ 左右ライン */
.ptb-title {
  margin: 0;
  padding: 0 clamp(22px,2.6vw,32px);
  font: 400 clamp(20px,5vw,42px)/1.2 'Do Hyeon', sans-serif;
  color: #fff;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.ptb-title::before,
.ptb-title::after {
  content: "";
  display: inline-block;
  width: clamp(24px,5vw,80px);
  height: 2px;
  background: rgba(255,255,255,.9);
  margin: 0 clamp(8px,1.6vw,14px);
}

/* 日本語サブタイトル（メンバー） */
.ptb-sub.under-en {
  margin: 0;
  padding: 0;
  font: 700 clamp(10px,1.8vw,16px)/1 'Do Hyeon', sans-serif;
  letter-spacing: .10em;
  color: #fff;
  opacity: .95;
}

/* ===== パンくずリスト ===== */
.bc-wrap {
  background: #111;
  padding: 8px 0 8px;
}

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

.bc {
  color: #fff;
}

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

@media (max-width: 520px) {
  .bc ol {
    font-size: 12px;
  }
}

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

.bc li::before,
.bc li::after {
  content: none !important;
  margin: 0 !important;
}

.bc li + li::before {
  content: "|" !important;
  margin: 0 1em !important;
  color: #aaa !important;
  display: inline-block !important;
}

.bc a {
  color: #fff;
  text-decoration: none;
  opacity: .95;
}

.bc a:hover {
  text-decoration: underline;
}

/* ===== 選手リストバンド ===== */
.pl-band {
  padding: 0 clamp(12px,2vw,20px) 24px;
  background: linear-gradient(90deg, var(--orange-dark) 0%, var(--orange-light) 40%, var(--orange-light) 60%, var(--orange-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Do Hyeon', sans-serif;
}

/* スマホ時の余白を狭く */
@media (max-width: 520px) {
  .pl-band {
    padding: 0 6px 24px;
  }
}

.pl-titlebar {
  width: 100%;
  max-width: var(--max-width);
  margin: clamp(20px,2.5vw,60px) auto clamp(20px,2.5vw,20px);
  padding: 0 clamp(12px,3vw,24px);
  height: 36px;
  background: var(--navy);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* スマホ時のタイトルバー余白調整 */
@media (max-width: 520px) {
  .pl-titlebar {
    padding: 0 6px;
  }
}

.pl-titlebar h2 {
  margin: 0;
  color: #fff;
  font: 700 clamp(16px,2.2vw,22px)/1 'Do Hyeon', sans-serif;
  letter-spacing: .06em;
}

/* ===== 選手グリッド ===== */
.pl-grid {
  width: 100%;
  max-width: var(--max-width) !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px,2.5vw,32px);
  justify-items: stretch;
  align-items: stretch;
  margin: 0 auto;
  padding: 0 clamp(12px,3vw,24px);
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .pl-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px,2.5vw,28px);
  }
}

@media (max-width: 820px) {
  .pl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px,3vw,24px);
    padding: 0 clamp(10px,2.5vw,20px);
  }
}

/* スマホ時のグリッド余白を更に狭く */
@media (max-width: 520px) {
  .pl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 6px;
  }
}

/* ===== 選手カード ===== */
.pl-card {
  width: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.pl-photo {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #f4f4f6;
  border-radius: 4px 4px 0 0;
}

.pl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .35s ease;
}

.pl-card:hover .pl-photo img {
  transform: scale(1.02);
}

/* ===== カード下部（名前・ポジション） ===== */
.pl-bar {
  margin-top: auto;
  background: #FC5F00;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 12px 10px;
  min-height: 72px;
  border-radius: 0 0 4px 4px;
}

@media (max-width: 520px) {
  .pl-bar {
    padding: 10px 6px;
    min-height: 64px;
    gap: 6px;
  }
}

.pl-name {
  width: 100%;
  font: 700 clamp(14px,3.8vw,28px)/1.3 'Do Hyeon', sans-serif;
  letter-spacing: .04em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 520px) {
  .pl-name {
    font-size: 13px;
    line-height: 1.25;
  }
}

.pl-pos {
  background: #fff;
  color: #FC5F00;
  font: 700 clamp(9px,2vw,12px)/1.2 'Do Hyeon', sans-serif;
  padding: 6px 12px;
  border-radius: 9999px;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 520px) {
  .pl-pos {
    font-size: 10px;
    padding: 5px 10px;
    max-width: 100%;
  }
}

.pl-bar.is-stacked {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ===== 下部マージン ===== */
#players-bk {
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  #players-bk {
    margin-bottom: 30px;
  }
}