/* ===== リセット・基本 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

main a {
  color: #00b0a0;
  text-decoration: none;
}

main a:hover {
  text-decoration: underline;
}

main img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== ヘッダーバナー ===== */
.hero img {
  width: 100%;
  height: auto;
}

/* ===== タブナビゲーション ===== */
.tab-nav {
  display: flex;
  border-bottom: 2px solid #ddd;
  background: #343C46;
  /* position: sticky;
  top: 0;
  z-index: 100; */
}

.tab-nav a {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid #ddd;
  /* transition: background 0.2s; */
}

.tab-nav a:last-child {
  border-right: none;
}

/* .tab-nav a:hover {
  background: #f0faf9;
  color: #00b0a0;
  text-decoration: none;
} */

/* ===== 共通コンテナ ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== チケット購入リンク ===== */
.purchase-link {
  padding: 8px 20px;
  font-size: 14px;
  color: #555;
  margin: 20px 0;
}

.purchase-link a {
  color: #555;
}

/* ===== セクション共通 ===== */
.section {
  background: #fff;
  padding: 0 0 50px;
}

/* ===== セクションタイトル ===== */
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  color: #fff;
  padding: 6px 30px;
  margin-bottom: 40px;
  letter-spacing: 0.12em;
}

.section-title--green {
  background: #27B19F;
}

/* ===== サブタイトル ===== */
.subsection {
  margin-bottom: 50px;
}

.subsection-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #22897C;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.subsection-title::after {
  content: "";
  display: block;
  width: 300px;
  height: 4px;
  background: #22897C;
  margin: 8px auto 30px;
  border-radius: 999px;
}

.sp-break {
  display: none;
}

.subsection-desc {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 36px;
}

.subsection-desc>*+* {
  margin-top: 0.5em;
}

.subsection-desc a {
  color: #00b0a0;
}

.sub-note {
  font-size: 14px;
}

/* ===================================================
    STEPブロック（バーとコンテンツをセットで管理）
=================================================== */
.step-blocks {
  margin-bottom: 16px;
}

.step-block {
  display: contents;
  /* PCではcontentsにして子要素をそのまま展開 */
}

/* ===================================================
    STEPバー（PC：横並び矢印）
=================================================== */
.step-bar {
  display: flex;
  width: 100%;
  margin-bottom: 32px;
  /* 矢印が重なるように負のマージンを使う */
  gap: 0;
  justify-content: center;
}

.step-bar__item {
  flex: 1;
  position: relative;
  display: flex;
  max-width: 387px;
  align-items: center;
  justify-content: center;
  height: 36px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.16em;
  color: #fff;
  /* 矢印シェイプ（最初のアイテム以外は左側にくぼみ） */
  clip-path: polygon(0% 0%,
      calc(100% - 22px) 0%,
      100% 50%,
      calc(100% - 22px) 100%,
      0% 100%,
      22px 50%);
  /* 隣と重ねて矢印をつなぐ */
  margin-right: -1px;
}

/* 最初のアイテムは左側をまっすぐに */
.step-bar__item:first-child {
  clip-path: polygon(0% 0%,
      calc(100% - 22px) 0%,
      100% 50%,
      calc(100% - 22px) 100%,
      0% 100%);
}

/* 最後のアイテムは右側をまっすぐに */
.step-bar__item:last-child {
  clip-path: polygon(0% 0%,
      100% 0%,
      100% 100%,
      0% 100%,
      22px 50%);
  margin-right: 0;
}

/* 紫→ピンク */
.step-bar--pink .step-bar__item:nth-child(1) {
  background: linear-gradient(90deg, #D7B8FF, #FFBCD0);
}

.step-bar--pink .step-bar__item:nth-child(2) {
  background: linear-gradient(90deg, #FFBCD0, #D7B8FF);
}

.step-bar--pink .step-bar__item:nth-child(3) {
  background: linear-gradient(90deg, #D7B8FF, #FFBCD0);
}

.step-bar--pink.step-bar--2col .step-bar__item {
  background: linear-gradient(90deg, #D7B8FF, #FFBCD0);
}

/* .step-bar--pink.step-bar--2col .step-bar__item:nth-child(2) {
  background: #e89090;
} */

/* オレンジ系 */
.step-bar--orange .step-bar__item {
  background: #FFB846;
}

/* ===== STEPリスト（PC：横並び） ===== */
.steps {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-bottom: 16px;
}

.step-item {
  flex: 1;
  min-width: 0;
  max-width: 387px;
  text-align: center;
}

.step-item img {
  /* width: 100%; */
  max-height: 310px;
  justify-self: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 14px;
  color: #444;
  text-align: left;
  padding: 0 20px;
}

.steps--2col .step-item {
  max-width: 300px;
}

/* 2カラム内のテキストブロックを縦中央に配置（PCのみ） */
@media (min-width: 601px) {
  .step-item--vcenter {
    display: flex;
    align-items: center;
  }

  .step-item--vcenter p {
    width: 100%;
  }
}

/* ===================================================
    2枚横並び＋三角矢印
=================================================== */
.step-item__images {
  display: flex;
  height: 310px;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}

.step-item__images img {
  /* 通常のstep-item imgスタイルを上書き */
  width: calc(50% - 18px);
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  border-radius: 8px;
}

/* 三角矢印 */
.step-item__triangle {
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin: 0 8px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 16px solid #D7B8FF;
  /* デフォルト：紫 */
}

/* ===== 注意書き ===== */
.note {
  font-size: 14px;
  background: #fafafa;
  border-radius: 4px;
  padding: 30px 10px;
  margin-top: 16px;
}

.note p+p {
  margin-top: 4px;
}

.note p {
  margin: 0 auto;
  max-width: 750px;
}

.tokuten-note {
  font-size: 14px;
  padding: 30px 10px;
  margin-top: 16px;
}

.tokuten-note p {
  margin: 0 auto;
  max-width: 750px;
}

/* ===== 特典ボックス ===== */
.tokuten-box {
  background: rgba(255, 253, 234, 0.5);
  border-radius: 8px;
  padding: 24px;
  margin-top: 30px;
}

.tokuten-title {
  font-size: 20px;
  font-weight: bold;
  /* color: #f5a623; */
  margin-bottom: 8px;
  text-align: center;
}

.tokuten-desc {
  font-size: 14px;
  text-align: center;
  color: #555;
  margin-bottom: 20px;
}

/* ===== 分配セクションタイトル ===== */
.share-subsection-title {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  text-align: center;
  border-bottom: 2px solid #22897C;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.note-red {
  color: #FF0000;
}

/* ===== FAQ ===== */
.faq-section {
  text-align: center;
  padding: 0 0 60px;
}

.faq-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
}

.btn-help {
  display: inline-block;
  background: #42474C;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 100px;
  border-radius: 12px;
  transition: background 0.2s;
}

.btn-help:hover {
  background: #00a896;
  text-decoration: none;
}

/* ===== 区切り線 ===== */
.divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 40px 0;
}

/* =========================================
    スマホ：STEPバーとコンテンツを交互に表示
========================================= */
@media (max-width: 600px) {

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .subsection-title {
    font-size: 22px;
    letter-spacing: 0.01em;
  }

  .subsection {
    margin-bottom: 0;
  }

  .sp-break {
    display: inline;
  }

  .purchase-link {
    padding: 0;
  }

  .purchase-link a {
    text-decoration: underline;
  }

  .tokuten-box {
    padding: 24px 14px;
  }

  .tokuten-note {
    padding: 10px;
  }

  /* --- STEPバーをPC用に非表示 --- */
  .step-bar {
    display: none;
  }

  /* --- STEPリストを縦並びに --- */
  .steps,
  .steps--2col {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0;
  }

  .steps--2col .step-item {
    max-width: 100%;
  }

  /* --- 各step-itemをSTEPバー付きブロックに --- */
  .step-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding-bottom: 20px;
  }

  /* step-itemの前にSTEPバーを疑似要素で挿入 */
  /* data-step属性で番号・色を管理 */
  .with-label::before {
    content: attr(data-label);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin: 0 auto;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 16px;
    /* border-radius: 4px; */
  }

  /* 紫→ピンク系 */
  .steps.steps--pink .with-label::before {
    background: linear-gradient(90deg, #D7B8FF, #FFBCD0);
  }

  /* オレンジ系 */
  .steps.steps--orange .with-label::before {
    background: #FFB846;
  }

  /* 2枚並び画像：スマホでも横並びを維持しつつ縮小 */
  .step-item__images img {
    width: calc(50% - 18px);
  }

  .step-item img {
    max-width: 180px;
    margin: 0 auto 10px;
  }

  .step-item p {
    /* text-align: center; */
    font-size: 16px;
    padding: 0 18px;
  }
}
