
.head-left {
  display: flex; align-items: center; gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}
.back-top {
  font-family: var(--f-hl); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: 13px;
  color: var(--ink); opacity: .7;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  padding: 0 6px;
  transition: color .15s, opacity .15s;
}
.back-top:hover { opacity: 1; color: var(--orange); }
.back-top .arrow { font-size: 16px; line-height: 1; }
@media (max-width: 640px) {
  .back-top { font-size: 11px; letter-spacing: .1em; }
  .back-top .label-long { display: none; }
}

.team-hero {
  margin-top: 68px;
  position: relative;
  background: var(--paper);
}
.team-hero .photo {
  aspect-ratio: 3 / 2;
  background-size: cover; background-position: center;
  background-color: #0a0a18;
}
.team-hero .photo.is-empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-family: var(--f-mono); font-size: 13px;
  letter-spacing: .15em; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, #e8eaf0 0 12px, #f2f3f7 12px 24px);
}
.team-hero .meta {
  padding: 32px 24px 40px;
  text-align: center;
}
.team-hero .meta .gen-tag {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 12px;
  color: #fff;
  letter-spacing: .14em;
  border-radius: 3px;
  margin-bottom: 14px;
}
.team-hero .meta .gen-tag.gen-w { background: var(--orange); }
.team-hero .meta .gen-tag.gen-m { background: var(--blue); }
.team-hero .meta .country {
  display: block;
  font-family: var(--f-hl); font-weight: 700;
  font-size: clamp(36px, 7vw, 64px);
  letter-spacing: .04em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.team-hero .meta .ja {
  display: block;
  margin-top: 10px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.team-hero .meta .rank-row {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.team-hero .meta .rank {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
}
.team-hero .meta .host-badge {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--f-hl); font-weight: 600;
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 4px;
}

.team-body { padding: 72px 0; }
.text-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .team-body { padding: 56px 0; }
  .text-wrap { padding: 0 20px; }
}
.team-body .lead {
  font-family: var(--f-hl); font-weight: 700;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 40px;
  letter-spacing: -.005em;
}
.team-body .lead span { display: block; }
.team-body .lead span + span { color: var(--ink-mute); margin-top: 4px; }
.team-body .body p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  margin-bottom: 1.2em;
}
.team-body .body p:last-child { margin-bottom: 0; }

.team-staff {
  margin-top: 56px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.team-staff h2 {
  font-family: var(--f-hl); font-weight: 700;
  font-size: 18px; letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.team-staff p {
  font-size: 13px;
  color: var(--ink-mute);
}

.other-teams {
  border-top: 1px solid var(--line);
  padding: 72px 0;
  background: var(--paper);
}
.other-teams .sec-title {
  text-align: center;
  font-family: var(--f-hl); font-weight: 700;
  font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 40px;
}

.loading {
  padding: 200px 24px;
  text-align: center;
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: .1em;
}
.not-found {
  padding: 160px 24px;
  text-align: center;
}
.not-found h2 {
  font-family: var(--f-hl); font-weight: 700;
  font-size: 28px;
  margin-bottom: 14px;
}
.not-found p {
  color: var(--ink-mute); font-size: 14px;
  margin-bottom: 24px;
}
.not-found a {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--f-hl); font-weight: 600;
  font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.not-found a:hover { background: var(--ink); color: #fff; }

/* TOP のボタン (.btn / .btn-primary) を venue でも使うため複製 */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-hl); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  font-size: 14px;
  padding: 14px 24px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .15s, box-shadow .18s;
}
.btn:hover {
  background: var(--ink); color: var(--white); border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6,0,34,.18);
}
.btn.btn-primary {
  background: var(--grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  border: 0;
  color: var(--white);
  padding: 15px 26px;
  position: relative;
  transition: background-position .35s ease, transform .15s, box-shadow .18s;
}
.btn.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,72,0,.32);
}
.btn .arrow { display: inline-block; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ───── Venue ページ (会場マップ + マナー) ───── */

.venue-detail { margin-top: 68px; }

/* セクション見出し: 日本語にグラデtext-clip / 英文はグレー
   (日本語見出しは英字より視覚的に重いため TOP の80%程度に縮小) */
.venue-h2 {
  font-family: var(--f-hl); font-weight: 700;
  font-size: clamp(24px, 4.3vw, 45px);
  line-height: 1.1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin: 0 0 32px;
}
.venue-h2 .venue-h2-ja {
  display: inline-block;
  margin-left: 14px;
  font-family: var(--f-body); font-weight: 700;
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: .04em;
  text-transform: none;
  -webkit-text-fill-color: var(--ink-mute);
  color: var(--ink-mute);
  vertical-align: middle;
}
@media (max-width: 640px) {
  .venue-h2 { margin-bottom: 24px; }
}

/* マップセクション (会場周辺 / アリーナ 共通、TOP .sec / .sec.alt 同等) */
.venue-map-section {
  padding: 90px 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.venue-map-section + .venue-map-section { background: var(--white); }
@media (max-width: 640px) {
  .venue-map-section { padding: 60px 0 48px; }
}

.venue-map-stage {
  position: relative;
  margin: 24px 0 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.venue-map-viewport {
  position: relative;
  width: 100%;
  /* PC: 横:縦 = 5:3 (高さ ≒ 横幅60%) で縦を抑える / SP: 4:3 で見やすさ確保 */
  aspect-ratio: 5 / 3;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width: 640px) {
  .venue-map-viewport { aspect-ratio: 4 / 3; }
}
.venue-map-viewport:active { cursor: grabbing; }

.venue-map-content {
  position: absolute;
  inset: 0;
  padding: 32px;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .venue-map-content { padding: 16px; }
}
.venue-map-content > svg {
  width: 100%;
  height: 100%;
}

/* SVG 状態 class (チケット種別選択時) */
/* 選択されたシートは元の色のまま、未選択シートはうっすら残して位置がわかるように */
.venue-map-content svg .is-faded {
  opacity: .2;
  transition: opacity .2s;
}

.venue-error {
  padding: 32px;
  text-align: center;
  color: var(--ink-mute);
  font-family: var(--f-body);
  font-size: 13px;
}

/* スケールスライダー (右下、 縦置き) */
.venue-map-slider {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  width: 36px;
  height: 160px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  box-shadow: 0 4px 14px rgba(6,0,34,.18);
}
.venue-map-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 140px;
  height: 4px;
  transform: rotate(-90deg);
  background: linear-gradient(to right, var(--orange) 0%, var(--orange) var(--zoom-pct, 0%), var(--line) var(--zoom-pct, 0%), var(--line) 100%);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.venue-map-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(6,0,34,.25);
  cursor: grab;
}
.venue-map-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(6,0,34,.25);
  cursor: grab;
}

/* 「大きいマップで見る」 リンク行 */
.venue-map-fullsize-row {
  margin: 16px 0 0;
  text-align: right;
}
@media (max-width: 640px) {
  .venue-map-fullsize-row { margin: 12px 0 0; text-align: center; }
  .venue-map-fullsize-row .btn { width: 100%; justify-content: center; }
}

/* アリーナマップ用 下部コントロール */
.venue-map-controls {
  margin: 16px 0 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.venue-map-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.venue-map-controls-row:last-child { margin-bottom: 0; }
.venue-map-controls-label {
  font-family: var(--f-hl); font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  min-width: 96px;
}
.venue-map-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.venue-map-btns button {
  appearance: none;
  min-height: 44px;
  padding: 0 18px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-family: var(--f-hl); font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .15s, box-shadow .18s;
}
.venue-map-btns button:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6,0,34,.18);
}
.venue-map-btns button.is-on {
  background: var(--grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  border: 0;
  color: var(--white);
  padding: 0 20px;
  transition: background-position .35s ease, transform .15s, box-shadow .18s;
}
.venue-map-btns button.is-on:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 22px rgba(255,72,0,.32);
}
.venue-map-empty {
  font-family: var(--f-body); font-weight: 500;
  font-size: 12px;
  color: var(--ink-faint);
}

/* チケット種別プルダウン (PCは内容に応じて縮小、SPは横幅いっぱい) */
.venue-map-select-wrap {
  position: relative;
  display: inline-block;
  min-width: 0;
}
.venue-map-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.venue-map-select {
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  min-height: 44px;
  padding: 0 38px 0 16px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-family: var(--f-hl); font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.venue-map-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,72,0,.18);
}

@media (max-width: 640px) {
  .venue-map-stage { margin: 16px 0 0; }
  .venue-map-controls { margin: 12px 0 0; padding: 12px; }
  .venue-map-controls-row { gap: 8px; }
  .venue-map-controls-label { min-width: 100%; font-size: 11px; }

  /* SP: 試合タブ / フロアタブは2分割で横幅均等に */
  #map-arena-games button,
  #map-arena-floors button {
    flex: 1;
    padding: 0 12px;
  }
  /* SP: プルダウンは行いっぱいに広げる */
  .venue-map-select-wrap { display: block; width: 100%; }
  .venue-map-select { width: 100%; }
}

/* マナーセクション (TOP .sec 同等) */
.venue-manners {
  padding: 90px 0 80px;
  background: var(--paper);
}
@media (max-width: 640px) {
  .venue-manners { padding: 60px 0 48px; }
}

/* マナーセクション */
.venue-manners { padding: 72px 0 96px; }
@media (max-width: 640px) {
  .venue-map-area { padding: 56px 0 32px; }
  .venue-manners { padding: 56px 0 72px; }
}

.manner-lead {
  font-family: var(--f-hl); font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 40px;
}

.manner-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.manner-section:last-of-type { border-bottom: 1px solid var(--line); }

.manner-section-title {
  font-family: var(--f-hl); font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: .04em;
  color: var(--ink);
  margin: 0 0 14px;
}

.manner-section-lead {
  font-family: var(--f-body); font-weight: 500;
  font-size: 14px; line-height: 1.85;
  color: var(--ink-mute);
  margin: 0 0 14px;
}

.manner-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manner-items li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px; line-height: 1.85;
  color: var(--ink);
}
.manner-items li::before {
  content: '';
  position: absolute;
  left: 6px; top: 18px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* 撮影ルール等の入れ子サブ項目 (オレンジドット項目内にネスト) */
.manner-items li > .manner-sub-items {
  list-style: none;
  padding: 0;
  margin: 6px 0 4px;
}
.manner-items li > .manner-sub-items li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 13px; line-height: 1.75;
  color: var(--ink-mute);
}
.manner-items li > .manner-sub-items li::before {
  content: '・';
  position: absolute;
  left: 0; top: auto;
  width: auto; height: auto;
  background: transparent;
  border-radius: 0;
  color: var(--ink-mute);
}
.manner-sub-items li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--ink-mute);
}

.manner-note {
  margin-top: 14px;
  font-size: 12px; line-height: 1.7;
  color: var(--ink-mute);
}

.manner-closing {
  margin-top: 48px;
  padding: 24px;
  background: var(--paper);
  border-left: 4px solid var(--orange);
  font-family: var(--f-body); font-weight: 500;
  font-size: 14px; line-height: 1.95;
  color: var(--ink);
}
