/* =====================================================
  基本設定 / 共通
===================================================== */
:root {
  --jumbotron-padding-y: 3rem;

  /* flow animation */
  --red: #e24a3a;
  --gap: 22px;
  --dur: 0.6s;
  --between: 0ms;
}

html {
  font-size: 14px;
}

html,
body {
  overflow-x: hidden;
}

body {
  padding-top: 50px; /* ナビの高さに合わせる */

  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  body {
    padding-top: 5px; /* ナビの高さに合わせる */
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.ticket-row.history.following a,
#notes a,
#ticket a,
#trade a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* =====================================================
  フォント
===================================================== */
.kozuka {
  font-family: "小塚ゴシック Pro L", "Kozuka Gothic Pro Light", sans-serif;
}
.helfont {
  font-family: Helvetica, Arial, sans-serif;
}
.timesfont {
  font-family: "Times New Roman", Times, serif;
}

/* =========================
   Sparkle Title
========================= */

.tour-lead {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700; /* 800→700に */
  letter-spacing: 0.12em; /* 少し広げる */
  line-height: 1.4;
  margin: 0;
  padding: 20px 0;
  font-size: clamp(22px, 4vw, 42px);
  position: relative;
}

.sparkle {
  position: relative;
}

.gold {
  background: linear-gradient(
    90deg,
    #d4af37 0%,
    #fff3b0 20%,
    #d4af37 40%,
    #b8860b 60%,
    #d4af37 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

.tour-lead span {
  display: block;
  font-weight: 500;
  font-size: 0.8em;
  letter-spacing: 0.2em;
  margin: 8px 0;
  opacity: 0.8;
  color: #555; /* ← これ追加 */
}

.sub {
  display: block;
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.2em;
  margin: 8px 0;
  opacity: 0.8;
  color: #555;
}

.sparkle::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 40%,
      rgba(255, 255, 255, 0.4),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 60%,
      rgba(255, 255, 255, 0.3),
      transparent 40%
    );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.tour-lead {
  margin: 3rem 0;
}

/* 光沢アニメーション */
@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* =====================================================
  紙吹雪
===================================================== */

/* =====================================================
  汎用
===================================================== */
.bg-light02 {
  background-color: #f7f7f7 !important;
}
.fontcolor01 {
  color: #ffaf49;
}
.red {
  color: #ff1818;
}
.mainmarbin {
  margin-top: 118px;
}

/* ===============================
   navbar 固定＋背景強化
================================ */
.navbar-narrow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: rgb(255, 246, 230);
  padding-top: 10px; /* ← 上に余白 */
  height: 60px; /* 高さを増やす */
}

/* 中身だけ中央寄せ */
.navbar-narrow .container {
  max-width: 650px;
  margin: 0 auto;
}

section {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 23rem;
  }
}

/* =========================
   スマホ：ハンバーガーを右上固定
========================= */
@media (max-width: 768px) {
  /* メニューは閉じた状態に */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    text-align: center;
  }

  /* ナビヘッダーを基準にする */
  .navbar-narrow {
    position: fixed;
  }

  /* ハンバーガーを右上へ */
  .navbar-toggle {
    position: fixed;
    right: 5px;
    z-index: 10000; /* collapseより上に出す */
  }

  .navbar-collapse.in {
    position: relative;
    z-index: 9990;
  }

  /* 横並びナビは消す（閉じているとき） */
  .navbar-nav {
    text-align: center;
  }
}
/* =========================
   スマホ：navbarを完全に透明化
========================= */
@media (max-width: 768px) {
  /* navbar本体の背景を消す */
  .navbar-narrow {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* containerも透過 */
  .navbar-narrow .container {
    background: transparent !important;
  }

  /* メニュー部分の枠線も消す */
  .navbar-collapse {
    border: none !important;
    box-shadow: none !important;
    overflow-x: hidden !important;
    background: rgb(255, 246, 230);
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  /* ULも念のため */
  .navbar-collapse .navbar-nav {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* LIもはみ出さない */
  .navbar-collapse .navbar-nav > li {
    width: 100%;
  }
  /* liやaの枠線が出る場合も消す */
  .navbar-nav > li > a {
    border: none !important;
    background: transparent !important;
  }

  /* ▼ 開いたときだけ背景 */
  #navbar.collapse.in {
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
}

/* =====================================================
  コンテナ幅
===================================================== */
.album .container {
  max-width: 950px;
}
.news .container {
  max-width: 985px;
}
.about .container {
  max-width: 675px;
}
.group .container {
  max-width: 660px;
}
.talent .container {
  max-width: 868px;
}
.talentcont .container {
  max-width: 755px;
}
.training .container {
  max-width: 700px;
}
.training02 .container {
  max-width: 630px;
}

/* =====================================================
  training list
===================================================== */
.training-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  font-size: 1rem;
}
.training-list li {
  margin-bottom: 0.6em;
}
.training-list span {
  font-size: 26px;
  margin-right: 5px;
}

/* =====================================================
  Slider
===================================================== */
#slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1026 / 479;
  background-color: #f7f7f7;
  max-height: 479px;
}
#slideBox {
  margin: 115px auto 0;
  max-width: 1028px;
}
#slideshow {
  position: relative;
}
#slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
}
#slideshow img.active {
  opacity: 1;
  z-index: 2;
}

/* =====================================================
  扉絵
===================================================== */
.hero {
  width: 100vw;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-sp {
  display: none;
}

/* スマホ */
@media (max-width: 768px) {
  .hero-pc {
    display: none;
  }

  .hero-sp {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 38vh; /* 見せたい迫力に応じて 60〜80vh */
  }

  .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

/* =========================
   Fade Up Animation
========================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   flow：date / label フォント指定
============================== */

/* PC */
#flow .date {
  font-size: 1.4rem;
  line-height: 1.2;
  white-space: nowrap;
}

#flow .label {
  margin-top: 8px;
  font-size: 1.3rem;
  line-height: 1.2;
}

/* スマホ */
@media (max-width: 768px) {
  #flow .date {
    font-size: 0.9rem;
  }

  #flow .label {
    font-size: 0.9rem;
  }

  .flow {
    gap: 10px; /* 既存14px → 10px（好みで8〜12） */
  }

  .arrow {
    margin-top: -6px;
    margin-bottom: -6px;
  }
}

/* =====================================================
  応募資格カード
===================================================== */
.qualification-section {
  padding: 60px 0;
  background: #f5f5f5;
}

.qualification-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 80px 40px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.qualification-title {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);

  background: linear-gradient(180deg, #ffb36b 0%, #ff9d3a 100%);
  color: #fff;

  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;

  padding: 12px 44px;
  border-radius: 9999px;

  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(255, 157, 58, 0.25);
}

#ticket .qualification-title,
#trade .qualification-title {
  padding: 12px 26px;
}

.qualification-sub {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
}

#buppanNotes .qualification-sub {
  margin-top: 30px;
}

#buppanNotes .kotira {
  margin-bottom: -1rem;
}

@media (max-width: 768px) {
  #buppanNotes .kotira {
    margin-top: 0.7rem;
    margin-bottom: -2rem;
  }
}

.qualification-sub.top-text {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* list */
.qualification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #e5e5e5;
}

.qualification-sub.kaijo,
.qualification-sub.buppan {
  background-color: #fdf6e2;
  padding: 1rem;
  border-radius: 1rem;
}

.qualification-sub.following {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1em 1em;

  background-color: #fdf6e2;
  border-radius: 1rem;

  font-weight: bold;
  line-height: 1;
}

.qualification-sub.kaijo,
.qualification-sub.following {
  display: table;
  margin: 3rem auto 30px;
  text-align: center;
}

#letter .container {
  max-width: 500px;
}

@media (max-width: 768px) {
  #letter .qualification-sub.following {
    margin-bottom: -0.5rem;
  }
}

#letter .qualification-list li {
  border-bottom: none;
  margin-bottom: -3rem;
}

.qualification-sub.buppan {
  display: table;
  margin: 1rem auto 30px;
  text-align: center;
}

.buppan-image {
  max-width: 760px; /* qualification-list--note と同じ */
  margin: 0 auto; /* 中央寄せ */
}

.buppan-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* お好みで */
}

.ticket-row.history {
  display: grid;
  grid-template-columns: 9em auto;
  column-gap: 0.8em;
  align-items: baseline;

  max-width: 600px; /* ← 好きな幅に調整 */
  margin: 0 auto; /* ← 中央寄せ */

  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .ticket-row.history {
    grid-template-columns: auto auto;
    width: fit-content; /* ← 重要 */
    margin: 0 auto; /* ← 中央 */
    margin-bottom: 3rem;
  }
}

.history .ticket-ippan,
.history .ticket-date {
  font-size: medium;
  font-weight: 400;
}

@media (max-width: 768px) {
  .history .ticket-ippan,
  .history .ticket-date {
    font-size: small;
  }
}

.banner-spacer {
  height: 3rem;
}

@media (max-width: 768px) {
  .banner-spacer {
    height: 1rem;
  }
}

.history-banner {
  width: 100%;
  height: 125px; /* ← 画像の高さに合わせる（重要） */

  background-image: url("/images/2026_47/47city.png");
  background-repeat: repeat-x;
  background-size: auto 100%; /* 高さ基準で拡大縮小 */

  animation: scroll-left 60s linear infinite;

  padding-top: 3rem;
}

/* 左に流す */
@keyframes scroll-left {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -2000px 0;
  }
}

@media (max-width: 768px) {
  .history-banner {
    height: 85px;
    animation: scroll-left 80s linear infinite;
  }
}

.ticket-row.history.following {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .ticket-row.history.following {
    margin-bottom: 0.8rem;
  }
}

.qualification-sub.buppanDetail {
  margin: 3rem auto 30px;
}

#buppan .qualification-sub {
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.seiriken-date {
  font-weight: 600;
  background-color: #fdf6e2;
  border-radius: 8px;
  padding: 1px 8px 3px 8px;
}

#buppanNotes .qualification-list--note li,
#buppan .qualification-list--note li {
  display: block; /* flexをやめる */
}

#link .qualification-sub {
  margin-bottom: 1rem;
  font-weight: 500;
}

.following-divider {
  margin: 3rem 0 1.5rem;
  border-top: 1px solid #e5e5e5;
}

.qualification-list li {
  display: flex;
  gap: 18px;
  padding: 1.5rem 10px 1.5rem 10px;
  border-bottom: 1px solid #e5e5e5;
}

.qualification-list .check {
  font-size: 28px;
  color: #bbb;
}

.qualification-list .text {
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.4em;
  width: 100%;
  display: grid;
  grid-template-columns: 7.5em 4em 1fr 6em;
  align-items: center;
  column-gap: 0.8em;
}

/* 中央寄せ用 */
.qualification-list.text-center li {
  display: block;
  text-align: center;
}
.qualification-list.text-center .check {
  display: none;
}

.qualification-list .text-desc {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.kotira {
  color: rgb(255, 149, 0);
  display: block;
  text-align: right;
  margin-top: -0.2rem;
  margin-right: 0.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* スマホ時 */
@media (max-width: 768px) {
  .qualification-list .text-desc {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .qualification-sub.top-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .qualification-sub.kaijo {
    margin-top: 1rem;
  }

  .qualification-sub.following {
    padding: 1em 1.5em;
  }

  .kotira {
    margin-top: -0.8rem;
    margin-right: 0;
    font-size: 0.8rem;
  }
}

/* ==============================
   qualification：備考（羅列・整列版）
============================== */

.qualification-list--note {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
}

.qualification-list--note li {
  display: flex; /* ← ここが重要 */
  align-items: flex-start; /* 文頭を揃える */
  gap: 0.4em;

  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  line-height: 1.7;
  padding-left: 1em; /* ← 数値を増やすほど右へ */
  border-bottom: 1px solid #e5e5e5; /* ← 各行の薄い線 */
}

/* 最後の線だけ消す */
.qualification-list--note li:last-child {
  border-bottom: none;
}

/* 文頭の「・」 */
.qualification-list--note li::before {
  content: "・";
  flex-shrink: 0;
  line-height: 1.7; /* ← 文章と完全一致 */
  color: #555;
}

/* スマホ */
@media (max-width: 768px) {
  .qualification-list--note li {
    font-size: 0.85rem;
    line-height: 1.7;
    padding: 8px 0;
  }
}

/* ==============================
   応募フォームリンク（最優先）
============================== */

.qualification-sub .apply-link,
.qualification-sub .apply-link:visited,
.qualification-sub .apply-link:hover,
.qualification-sub .apply-link:active {
  color: #000 !important; /* ← 赤を完全に潰す */
  text-decoration: none !important; /* ← Bootstrap下線殺す */
}

/* 下線アニメーション */
.qualification-sub .apply-link {
  position: relative;
  font-weight: 700;
}

/* 擬似下線（中央から） */
.qualification-sub .apply-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.7);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

/* hover時のみ表示 */
.qualification-sub .apply-link:hover::after {
  transform: scaleX(1);
}

/* =====================================================
  ナビゲーション（PC）
===================================================== */
@media (min-width: 992px) {
  .navbar .container {
    position: relative;
  }

  .navbar-brand {
    margin-left: -1rem;
    z-index: 2;
  }

  .navbar-collapse {
    position: absolute;
    left: calc(50% + 20px);
    transform: translateX(-50%);
  }

  .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }

  .navbar-nav .nav-item {
    white-space: nowrap;
  }
}

.navbar-nav > li > a {
  white-space: nowrap;
}

.navbar-inner .navbar-nav > li > a {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #ff8f00; /* 枠線色（お好みで） */
  border-radius: 9999px; /* ← 完全な角丸 */
  color: #000;
  text-decoration: none;

  /* 見た目調整 */
  font-size: 14px;
  letter-spacing: 0.05em;
  white-space: nowrap;

  /* hover用アニメーション */
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease;
}

/* hover時 */
.navbar-inner .navbar-nav > li > a:hover {
  background-color: #ff8f00;
  color: #fff;
  transform: translateY(-1px);
}

/* =====================================================
  公演スケジュール
===================================================== */

#koen {
  padding-top: 10rem;
}

@media (max-width: 768px) {
  #koen {
    padding-top: 6rem;
  }
}

.is-disabled {
  background-color: #f2f2f2;
  pointer-events: none;
  opacity: 0.6;
}

.note-light {
  display: inline-block;
  font-weight: 400; /* 細く */
  color: #6a6a6a; /* 薄く */
  font-size: 0.85em; /* 少し小さく */
  letter-spacing: 0.05em; /* 少しだけ上品に */
}

/* 日付を太字 */
.text .date {
  font-weight: 700;
}

/* ソロ名だけ色変更 */
.text .solo {
  color: #378aff; /* テーマカラーに合わせる */
  font-weight: 700;
}

.date {
  font-weight: bold;
}

.pref {
  display: inline-block;
  background: #f0f4ff;
  color: #2c43b3;
  padding: 0.15em 0.6em;
  border-radius: 6px;
  font-size: 0.9em;
  text-align: center;
}

.venue {
  white-space: nowrap; /* 崩したくなければ */
}

.ticket .text:has(.ticket-fc),
.ticket .text:has(.ticket-ippan) {
  grid-template-columns: 1fr;
}

/* ソロ名 共通 */
.solo {
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.solo.prince {
  color: #4bb6e8;
}
.solo.knockso {
  color: #8a5cff;
}
.solo.tomitake {
  color: #f2a3b3;
}
.solo.bentou {
  color: #8b5a2b;
}
.solo.aoi {
  color: #e53935;
}

/* ソロは右へ押し出す */
.solo-row {
  white-space: nowrap;
}

/* ソロ全体の基準 */
.solo-wrap {
  position: relative; /* ← 超重要 */
  display: inline-block;
  justify-self: start;
  margin-left: -1rem;
}

@media (max-width: 768px) {
  .solo-wrap {
    margin-left: 0;
  }
}

/* 「ソロ」タグ */
.solo-label {
  position: absolute;
  top: 0.4em;
  left: -3.5em;
  background: #000;
  color: #fff;
  font-size: 0.65em;
  padding: 4px 6px;
  border-radius: 2em;
  line-height: 1;
  white-space: nowrap;
}

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* 斜めリボンベース */
.badge.sold {
  position: absolute;
  top: -17px;
  left: -135px;

  width: 75px;
  text-align: center;

  background: linear-gradient(135deg, #ff003c, #c4002f);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 0;

  transform: rotate(-12deg);
  box-shadow: 0 4px 10px rgba(255, 0, 60, 0.4);

  letter-spacing: 0.08em;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .badge.sold {
    position: absolute;
    top: 30px;
    left: 120px;

    width: 60px;
    text-align: center;

    font-size: 0.6rem;
    font-weight: 600;
    padding: 5px 0;

    letter-spacing: 0.08em;
    line-height: 1;
  }
}

/* venueをrelativeにする（重要） */
.venue {
  position: relative;
  display: inline-block;
}

/* 斜めリボンベース */
.badge.sold-ticket {
  position: absolute;
  top: -8px;
  left: -30px;

  width: 75px;
  text-align: center;

  background: linear-gradient(135deg, #ff003c, #c4002f);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 0;

  transform: rotate(-12deg);
  box-shadow: 0 4px 10px rgba(255, 0, 60, 0.4);

  letter-spacing: 0.08em;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .badge.sold-ticket {
    width: 60px;
    text-align: center;

    font-size: 0.6rem;
    font-weight: 600;
    padding: 5px 0;

    letter-spacing: 0.08em;
    line-height: 1;
  }
}

.sold-block {
  position: relative;
  display: block; /* ← inline-blockをやめる */
  width: fit-content; /* ← 中身幅だけ */
  margin: 3rem auto 30px; /* ← 中央 */
}

#ticket .sold-block + .qualification-list {
  border-top: none;
}

/* ラベル側（FC先行 / 一般販売） */
.ticket-fc,
.ticket-ippan {
  white-space: nowrap;
  font-weight: 700;
  text-align: right;
}

/* 日付側 */
.ticket-date {
  white-space: nowrap;
}

.ticket-date.finished {
  text-decoration: line-through;
}

.qualification-list.ticket li.date-center-row {
  justify-content: center;
}

.qualification-list.ticket li.date-center-row .check {
  display: none; /* ②を消したい場合（必要なければ削除） */
}

.ticket-text-ippan {
  align-items: flex-start;
}

.qualification-list.ticket li.date-center-row .text {
  display: flex; /* gridを無効化 */
  justify-content: center;
  gap: 0.4em;

  width: auto; /* ← これが超重要 */
  text-align: center;
  grid-template-columns: none;
}
/* qualification-list の中だけに限定する */
.qualification-list.ticket li.date-center-row > .text {
  display: flex;
  justify-content: center;
  gap: 0.4em;
}
.ticket-text {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  font-size: large;
}

.ticket-row {
  display: grid;
  grid-template-columns: 9em auto;
  column-gap: 0.8em;
  align-items: baseline;

  width: 32em; /* ← ★ 基準幅を作る */
  margin: 0 auto; /* ← ★ その幅を中央へ */
}

.qualification-list.ticket li .text:has(.ticket-date) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline; /* ← center → baseline */
  column-gap: 0.6em;
}

#trade .date-center-row {
  margin-top: 1.2rem;
}

#trade .ticket-date {
  margin-bottom: 1.5rem;
}

#trade .ticket-fc {
  font-weight: 600;
  text-align: right;
}

@media (max-width: 768px) {
  #trade .ticket-text {
    margin-top: -0.6rem;
  }

  #trade .ticket-date {
    margin-bottom: 3rem;
  }

  #trade .ticket-fc {
    font-size: small;
    font-weight: 500;
  }
}

.qualification-list.ticket li {
  border-bottom: none;
  padding: 0.6rem 0.6rem;
}

.qualification-sub + .qualification-list {
  border-top: none;
}

@media (max-width: 768px) {
  .qualification-list .text {
    flex-wrap: wrap;
  }

  .solo-row {
    width: 100%;
    margin-left: 0;
    margin-top: 0.4em;
  }
}

/* スマホ改行制御 */
@media (max-width: 768px) {
  .pref {
    font-size: 0.85em;
    padding: 0.12em 0.45em;
  }

  .sp-br {
    display: inline;
  }
}
@media (min-width: 769px) {
  .sp-br {
    display: none;
  }
}

/* =========================
   公演スケジュール：スマホ最適化
========================= */
@media (max-width: 768px) {
  .qualification-list .text {
    display: block;
    font-size: 1rem;
    line-height: 1.6;
  }

  .qualification-list .text > strong {
    display: inline-block;
    margin-right: 0.4em;
    white-space: nowrap;
  }

  .qualification-list .pref {
    margin-right: 0.4em;
    font-size: 0.85em;
  }

  /* 会場名を改行して余白を出す */
  .qualification-list .text::after {
    content: "";
    display: block;
    margin-bottom: 0.2em;
  }

  /* ソロ表示を通常フローに戻す */
  .solo-wrap {
    display: inline-block;
    margin-top: 0.7em;
    font-size: small;
  }

  .solo-label {
    position: static;
    margin-right: 0.3em;
    font-size: 0.7em;
  }

  .qualification-list .venue {
    display: block; /* ← ここで改行 */
    margin-top: 0.15em; /* 日付行との間隔 */
    white-space: normal; /* 長い会場名もOK */
  }
}

/* =====================================
   特典会（PCだけ縦並びにする）
===================================== */
#letter .qualification-list .text,
#meeting .qualification-list .text,
#ticket .qualification-list .text,
#trade .qualification-list .text {
  display: block; /* gridを無効化 */
  width: 100%;
}

#meeting .qualification-sub.following.onTheDay {
  margin-bottom: -0.2rem;
}

#ticket .qualification-list .text {
  display: block; /* gridを無効化 */
  width: 100%;
  /* text-align: center; */
}

#meeting .qualification-list .text-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4em;
}

@media (max-width: 768px) {
  #meeting .qualification-list .text-title {
    display: block;
    font-size: 1rem;
    line-height: 1.6;
  }
}

#meeting .qualification-list .text-desc {
  margin-top: 0;
}

/* =====================================================
  トップに戻るボタン
===================================================== */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff8f00;
  color: #fff;
  border: none;
  opacity: 0;
  visibility: hidden;
}
#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* =====================================================
  アーティスト表示
===================================================== */
.artist-block {
  text-align: center;
}
.artist-inner {
  display: inline-block;
  text-align: left;
}
.artist-label {
  font-size: 0.85rem;
  color: #666;
}
.artist-name a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000 !important;
  text-decoration: none;
}

/* =====================================================
  アコーディオン
===================================================== */
/* base: 非表示マーカー/無効化/グレー/余白揃え */
details.accordion.finished {
  pointer-events: none;
  background: #eee;
  padding: 0.25em 0.5em 0 !important;
}
details.accordion.finished[open] {
  background: #eee;
}
details.accordion.finished > summary {
  background: #eee !important;
  color: #777;
  cursor: default;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 0.4em 0.6em;
  position: relative;
}
details.accordion.finished > summary::-webkit-details-marker {
  display: none !important;
}
details.accordion.finished > summary::marker {
  content: "" !important;
}
/* 自前の左アイコンは見えなくしてスペースだけ残す（ズレ防止＋少し広め） */
details.accordion.finished > summary::before {
  content: "";
  width: 8px;
  height: 14px;
  margin-right: 4px;
  visibility: hidden;
}
.event_toggle {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 2rem;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  font-size: medium;
}

.event_toggle.ticket {
  margin-top: 1rem;
}

/* ▶ */
.event_toggle::before {
  content: "";
  position: absolute;
  left: 45%;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  width: 20px;
  height: 20px;

  background: linear-gradient(180deg, #ffb36b 0%, #ff8f00 100%);

  /* ぷっくり感 */
  border-radius: 4px;

  /* 三角形 */
  clip-path: polygon(28% 15%, 28% 85%, 88% 50%);

  /* 立体感 */
  box-shadow:
    0 3px 6px rgba(255, 143, 0, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

/* 開いているとき */
details.accordion[open] .event_toggle::before {
  transform: translateY(-50%) rotate(90deg);
}

/* 下ボタン用の余白（お好み） */
.event_toggle.bottom {
  margin-top: 2rem;
}

/* mobile: 文字も少し小さめ＋背景も低め（高さは line-height で安定） */
@media screen and (max-width: 768px) {
  details.accordion.finished > summary {
    font-size: 0.75em;
    line-height: 1.6;
    padding: 0 0.5em 0.25em 0.5em;
  }
  details.accordion.finished > summary::before {
    margin-right: 5px;
  }
}
@media screen and (min-width: 769px) {
  details.accordion.finished > summary {
    font-size: 0.9em;
    line-height: 1.6;
    padding: 0 0.65em 0.35em 0.65em;
  }
}

/* =====================================================
  スマホ調整
===================================================== */
@media (max-width: 768px) {
  .flow {
    gap: 14px;
  }
  .arrow {
    font-size: 28px;
  }
  .stepBox {
    padding: 16px 14px;
  }

  .qualification-card {
    padding: 70px 20px 30px;
  }
  .qualification-title {
    font-size: 0.9rem;
    padding: 10px 24px;
    top: -20px;
  }

  #ticket .qualification-title,
  #trade .qualification-title,
  #timeTable .qualification-title {
    padding: 10px 18px;
    font-size: 0.86rem;
  }
  .qualification-sub {
    font-size: 1rem;
  }
  .qualification-list .text {
    font-size: 1rem;
  }
  .artist-name a {
    font-size: 1rem;
  }

  .event_toggle {
    font-size: small;
  }
  .event_toggle.ticket {
    margin-top: -0.5rem;
  }
  .event_toggle::before {
    width: 16px;
    height: 16px;
    left: 40%;
  }

  #koen .event_toggle {
    margin-top: -1em;
  }

  #koen .qualification-list {
    margin-left: 3em;
    margin-right: 3em;
  }
  #koen .qualification-list li .text {
    text-align: left;
  }

  .qualification-list .check {
    font-size: 1.5rem;
  }

  .ticket-text {
    font-size: small;
    margin-top: 1.5rem;
    margin-bottom: -0.8rem;
  }

  .ticket-text.first {
    margin-bottom: 2rem;
  }

  #koen .event_toggle.bottom {
    margin-top: 3rem;
  }
}

/* ==============================
   スマホのみ改行
============================== */
.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}

/* =====================================================
  フッター
===================================================== */
footer {
  min-height: 200px;
  background: #000 !important;
  display: block;
  margin-top: 0;
  padding-top: 2.7rem;
  padding-left: 1rem;
  padding-bottom: 2.2rem;
}

.footertop {
  background: #000; /* 必要なら */
  text-align: center;
}

.footertop .sns {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;
  gap: 20px; /* アイコン間の余白 */
}

.footertop .sns p {
  margin: 0;
}

.footertop .sns img {
  width: 32px; /* サイズ調整 */
  height: auto;
  transition: opacity 0.3s ease;
}

.footertop .sns img:hover {
  opacity: 0.7;
}

footer p {
  margin: 0; /* 余白をリセット */
  line-height: 1.7; /* 行間を調整（1.4〜1.7で好み） */
}

.icon-x {
  transform: scale(0.9);
}

.icon-tiktok {
  transform: scale(1.2);
}

.icon-youtube {
  transform: scale(1.1);
}

.corporation {
  margin-top: 3rem;
  color: #aaaaaa;
}

.fixed-left-image {
  position: fixed;
  bottom: 20px; /* 下からの距離 */
  left: 20px; /* 左からの距離 */
  z-index: 9999; /* 前面に表示 */
}

.fixed-left-image img {
  width: 120px; /* サイズ調整 */
  height: auto;
}
