/* ============================================================
   申込前確認ページ 専用スタイル (entry/index.html)
   ============================================================ */

/* ========== ウィザード共通 ========== */
.wizard-step {
    margin-top: 1rem;
  display: block;
}
.wizard-step[hidden] {
  display: none !important;
}

/* ========== プログレスバー ========== */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 0rem; */
  /* margin: 0 auto; */
  padding: 0 1rem;
}

.wp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.wp-item::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: calc(50% + 1rem);
  right: calc(-50% + 1rem);
  height: 2px;
  background: var(--line);
  z-index: -1;
}

.wp-item:last-child::after {
  display: none;
}

.wp-item.active::after,
.wp-item.done::after {
  background: var(--primary);
}

.wp-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  font-family: 'Carme', sans-serif;
  transition: all 0.3s;
  flex-shrink: 0;
}

.wp-item.active .wp-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(29,150,213,0.15);
}

.wp-item.done .wp-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.wp-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--line);
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

.wp-item.active .wp-label {
  color: var(--primary);
}

.wp-item.done .wp-label {
  color: var(--primary);
}

/* ========== ステップ見出し ========== */
.step-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.step-heading__en {
  font-family: 'Carme', sans-serif;
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.3rem;
}

.step-heading__ja {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1.35;
}

/* ========== 選択状態バナー（戻るボタンあり） ========== */
.selection-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #e8f5fe;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.selection-banner__tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}

.selection-banner__name {
  font-weight: 700;
  color: var(--primary-dark);
  flex: 1;
  min-width: 0;
}

.selection-banner__change {
  font-size: 0.75rem;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

/* ========== クラスカードグリッド ========== */
.class-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.class-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  color: inherit;
}

.class-card:hover {
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(29,150,213,0.12);
  transform: translateY(-1px);
}

.class-card.selected {
  border-color: var(--primary);
  background: #e8f5fe;
  box-shadow: 0 0 0 3px rgba(29,150,213,0.2);
}

.class-card__icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-weight: 900;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.class-card__body {
  flex: 1;
  min-width: 0;
  gap: 0.25rem;
  display: flex;
  flex-direction: column;
}

.class-card__name {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.class-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--primary);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  margin-bottom: 0.3rem;
}

.class-card__target {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.class-card__desc {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.55;
}

.class-card__arrow {
  color: var(--line);
  font-size: 1.1rem;
  flex-shrink: 0;
  align-self: center;
  transition: color 0.2s, transform 0.2s;
}

.class-card:hover .class-card__arrow,
.class-card.selected .class-card__arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* ========== クラスカード：コンパクト表示 ========== */
.class-card--compact {
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  align-items: center;
}

.class-card--compact .class-card__icon {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1rem;
}

.class-card--compact .class-card__name {
  font-size: 0.95rem;
  margin-bottom: 0.05rem;
}

.class-card--compact .class-card__target {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.class-card--compact .class-card__desc {
  display: none;
}

.class-card__meta {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 2px 8px;
}

.mini-pill--price {
  background: #fff8e1;
  border-color: #ffcc80;
  color: #e65100;
}

/* ========== クラス別カラー（トップページと整合） ========== */
.class-card__icon--kids { background: #FF0000; color: #fff; }
.class-card__icon--beginner { background: #0067A5; color: #fff; }
.class-card__icon--advanced { background: #8300FF; color: #fff; }
.class-card__icon--high, .class-card__icon--highschool { background: #228C22; color: #fff; }
.class-card__icon--skillup { background: #FF00FF; color: #fff; }

/* ========== スケジュールカードグリッド ========== */
.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
}

.schedule-card:hover {
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(29,150,213,0.12);
  transform: translateY(-1px);
}

.schedule-card.selected {
  border-color: var(--primary);
  background: #e8f5fe;
  box-shadow: 0 0 0 3px rgba(29,150,213,0.2);
}

.schedule-card__day-col {
  background: var(--primary-dark);
  color: #fff;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 3.8rem;
  flex-shrink: 0;
}

.schedule-card__day {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.schedule-card__day-en {
  font-family: 'Carme', sans-serif;
  font-size: 0.62rem;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.schedule-card.selected .schedule-card__day-col {
  background: var(--primary);
}

.schedule-card__body {
  padding: 0.6rem 1rem;
  flex: 1;
  min-width: 0;
  gap: 4px;
    display: flex;
    flex-direction: column;
  align-items: flex-start
}

.schedule-card__time {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.schedule-card__venue {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 0.15rem;
}

.schedule-card__note {
  font-size: 0.75rem;
  color: var(--text-sub);
  background: var(--bg-soft);
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
}

/* 時間の横に配置された場合の余白・整列 */
.schedule-card__time .schedule-card__note {
  margin-left: 8px;
  font-weight: 600;
  font-size: 0.78rem;
  vertical-align: baseline;
}

.schedule-card__arrow {
  color: var(--line);
  font-size: 1.1rem;
  flex-shrink: 0;
  align-self: center;
  padding-right: 1rem;
  transition: color 0.2s, transform 0.2s;
}

.schedule-card:hover .schedule-card__arrow,
.schedule-card.selected .schedule-card__arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* お問い合わせカード専用 */
.schedule-card--inquiry .schedule-card__day-col {
  background: #607d8b;
}

/* ========== STEP3: スポスル確認 ========== */
.sposuru-question {
  margin: 1rem 0 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.sposuru-subtitle {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.sposuru-app-guide {
  margin: 1.25rem 0 1.5rem;
  padding: 1.1rem 1rem;
  background: linear-gradient(180deg, #f7fbff 0%, #eef7fe 100%);
  border: 1px solid rgba(29, 150, 213, 0.18);
  border-radius: 14px;
}

.sposuru-app-guide__image {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 22px;
  margin: 0 0 0.9rem;
  border: 1px solid rgba(29, 150, 213, 0.14);
  box-shadow: 0 8px 24px rgba(29, 150, 213, 0.12);
  background: #fff;
}

.sposuru-app-guide__lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-sub);
}

.sposuru-store-links {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sposuru-store-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(29, 150, 213, 0.14);
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.sposuru-store-link:hover {
  color: var(--primary);
  border-color: rgba(29, 150, 213, 0.32);
}

.sposuru-store-link__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.sposuru-store-link__url {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--text-sub);
  word-break: break-all;
}

.sposuru-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sposuru-choice-btn {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, background 0.2s;
}

.sposuru-choice-btn:hover {
  border-color: var(--primary);
}

.sposuru-choice-btn.selected {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #e8f5fe;
  box-shadow: 0 0 0 3px rgba(29, 150, 213, 0.16);
}

.sposuru-choice-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ========== 次へボタン（ステップ遷移） ========== */
.step-next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  margin: 1.5rem auto 0;
  transition: background 0.22s, transform 0.15s;
}

.step-next-btn:hover:not(:disabled) {
  background: #1277b0;
  transform: translateY(-2px);
}

.step-next-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.step-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: none;
  border: 1.5px solid var(--line);
  color: var(--text-sub);
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  margin: 0.75rem auto 0;
  display: block;
  transition: border-color 0.2s, color 0.2s;
}

.step-back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== PC対応（ウィザードUI） ========== */
@media (min-width: 841px) {
  .class-grid {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
  }

  .schedule-grid {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
  }

  .step-next-btn,
  .step-back-btn {
    max-width: 360px;
  }

  .sposuru-store-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .sposuru-app-guide__image {
    width: 96px;
    height: 96px;
  }
}


/* ページ共通 */
.confirm-page .policy-hero {
  background: var(--primary-dark);
}

.confirm-lead {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}

/* ========== セクション共通 ========== */
.confirm-section {
  margin-bottom: 3rem;
}

.confirm-section__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

.confirm-section__title .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ========== 参加までの流れ ========== */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.flow-step::before {
  content: '';
  position: absolute;
  left: 1.4rem;
  top: 2.8rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.flow-step:last-child::before {
  display: none;
}

.flow-step__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 2.8rem;
}

.flow-step__circle {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e65100;
  color: #e65100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Carme', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-step__body {
  padding-top: 0.35rem;
}

.flow-step__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  line-height: 1.4;
}

.flow-step__desc {
  font-size: 0.83rem;
  color: var(--text-sub);
  margin-top: 0.25rem;
  line-height: 1.65;
}

.flow-step--current .flow-step__circle {
     color: #fff;
  background: #e65100;
  box-shadow: 0 0 0 4px rgba(230,81,0,0.15);
}

.flow-step--current .flow-step__label {
  color: #e65100;
}

.flow-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: #e65100;
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ========== 準備いただくもの ========== */
.prepare-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.prepare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.prepare-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.prepare-note {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 0.75rem;
  padding-left: 0.5rem;
}

/* ========== 会費・費用 ========== */
.fee-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 320px;
}

.fee-table thead {
  background: var(--primary-dark);
  color: #fff;
}

.fee-table thead th {
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 500;
}

.fee-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.fee-table tbody tr:last-child {
  border-bottom: none;
}

.fee-table tbody tr:nth-child(even) {
  /* background: var(--bg-soft); */
}

.fee-table td {
  padding: 0.62rem 0.9rem;
  vertical-align: top;
  line-height: 1.6;
}

.fee-table td:last-child {
  font-weight: 700;
  white-space: nowrap;
}

.fee-table .fee-total-row {
  background: #fff8e1 !important;
}

.fee-table .fee-total-row td {
  font-weight: 700;
  color: #e65100;
}

/* 選択クラス行の控えめ強調（太字のみ） */
/* .fee-row--selected td:first-child { font-weight: 700; } */
.fee-row--muted td { opacity: 0.85; }

.fee-note {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 0.75rem;
  padding-left: 0.5rem;
  line-height: 1.7;
}

/* ====== 入会申込ページ: 料金テーブル 備考列の文字サイズ調整 ====== */
#fees .fee-table tbody td:nth-child(3) {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-sub);
  white-space: normal; /* 既存の nowrap を上書きして折り返し */
  font-weight: 400;    /* 備考は太字にしない */
}

@media (min-width: 841px) {
  #fees .fee-table tbody td:nth-child(3) {
    font-size: 0.76rem;
  }
}

/* ========== 規約埋め込み ========== */
.terms-embed-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
  display: block;
}

.terms-embed-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 320px;
  overflow-y: scroll;
  padding: 1.25rem 1.25rem 1rem;
  background: #f9fdff;
  font-size: 0.83rem;
  line-height: 1.8;
  color: var(--text);
  scroll-behavior: auto;
  position: relative;
  transition: border-color 0.3s;
}

.terms-embed-box.scrolled-to-end {
  border-color: var(--primary);
}

.terms-embed-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 1rem 0 0.4rem;
  text-align: left;
}

.terms-embed-box h3:first-child {
  margin-top: 0;
}

.terms-embed-box p, .terms-embed-box li {
  font-size: 0.82rem;
}

.terms-embed-box ol, .terms-embed-box ul {
  padding-left: 1.4rem;
  margin: 0.35rem 0;
}

.terms-embed-box li {
  margin-bottom: 0.3rem;
}

.terms-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 0.5rem;
  transition: opacity 0.4s;
}

.terms-scroll-hint .hint-arrow {
  animation: bounce-down 1.2s ease-in-out infinite;
  display: inline-block;
}

.terms-scroll-hint.done {
  color: var(--primary);
  font-weight: 700;
}

.terms-scroll-hint.done .hint-arrow {
  animation: none;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* ========== 同意チェックボックスエリア ========== */
.confirm-checks {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.confirm-checks__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
  margin-bottom: 0.2rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 0.1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.check-item input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.check-item input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, 1px);
  position: absolute;
  top: 4px;
  left: 3px;
}

.check-item input[type="checkbox"]:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.check-item.disabled-hint {
  opacity: 0.5;
}

.check-item span {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
}

.check-item span .note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 0.1rem;
}

/* ========== 申込ボタン ========== */
.confirm-submit-wrap {
  margin-top: 1.75rem;
  text-align: center;
}

.confirm-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
  transition: background 0.22s, transform 0.15s, opacity 0.22s;
  width: 100%;
  max-width: 360px;
}

.confirm-submit-btn:not(:disabled):hover {
  background: #1277b0;
  transform: translateY(-2px);
}

.confirm-submit-btn:not(:disabled):active {
  transform: translateY(0);
}

.confirm-submit-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
  opacity: 0.6;
}

.confirm-submit-btn .btn-arrow {
  font-size: 1.1em;
}

.confirm-submit-note {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 0.6rem;
}

/* ========== 区切り線 ========== */
.confirm-divider {
  border: none;
  border-top: 1px dashed var(--line);
  margin: 2.5rem 0;
}

/* ========== PC対応 ========== */
@media (min-width: 841px) {
  /* .flow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  } */

  /* .flow-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
    padding-right: 0.5rem;
  } */

  /* .flow-step::before {
    content: '';
    position: absolute;
    left: calc(50% + 1.4rem);
    top: 1.4rem;
    bottom: auto;
    width: calc(100% - 2.8rem);
    height: 2px;
    background: var(--line);
  } */

  .flow-step__body {
    padding-top: 0.65rem;
  }

  .flow-step__desc {
    font-size: 0.78rem;
  }

  .confirm-checks {
    padding: 2rem;
  }

  .confirm-submit-btn {
    max-width: 400px;
    font-size: 1.05rem;
    padding: 1.1rem 3rem;
  }

  .prepare-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   ご利用ガイド（entry/guide/index.html）向け 追加スタイル
   ページ限定で作用するよう .guide-page にスコープ
   ============================================================ */

.guide-page .policy-hero {
  background: var(--primary-dark);
}

/* ヒーロー（プライバシーポリシー準拠） */
.guide-page .policy-hero {
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
}

.guide-page .policy-hero__eyebrow {
  font-family: 'Carme', 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 10px;
}

.guide-page .policy-hero__title {
  font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
}

.guide-lead {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin: 1.25rem 0 1.75rem;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}

.guide-lead a{
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 注意バー（上部の強調告知） */
.guide-attention {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8e1;
  border: 1px solid #ffe0b2;
  color: #5d4037;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 14px;
}
.guide-attention__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-attention__text {
  font-size: 0.88rem;
  line-height: 1.8;
}

/* パンくず（プライバシーポリシー準拠） */
.guide-page .breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.guide-page .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-sub);
}

.guide-page .breadcrumb__list li + li::before {
  content: '/';
  margin-right: 4px;
  opacity: 0.5;
}

.guide-page .breadcrumb__list a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-page .breadcrumb__list a:hover {
  opacity: 0.75;
}

/* TL;DR ボックス（スクロールで縮小） */
.guide-tldr {
  position: sticky;
  top: 72px; /* 固定ヘッダー分のマージン */
  z-index: 10;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(29,150,213,0.08);
  padding: 1rem 1rem;
  transition: padding 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  margin-bottom: 1.25rem;
}

.guide-tldr.is-shrunk {
  padding: 0.6rem 0.75rem;
  box-shadow: 0 2px 10px rgba(29,150,213,0.06);
  transform: translateY(-2px);
}

.guide-tldr__title {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-tldr__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-tldr__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.6;
}

.guide-tldr__item::before {
  content: '•';
  color: var(--primary);
  font-weight: 900;
  margin-top: 0.05rem;
}

@media (min-width: 720px) {
  .guide-tldr__list {
    grid-template-columns: 1fr 1fr;
  }
}

/* レイアウト */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* クイックリンク（章へのジャンプチップ） */
.guide-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.guide-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  border-radius: 999px;
}
.guide-chip:hover { background: var(--bg-soft); }
.guide-chip__icon { width: 14px; height: 14px; opacity: 0.8; }

/* @media (min-width: 1040px) {
  .guide-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
} */

/* ============================================================
   side-nav「トップに戻る」リンク
   ============================================================ */
.side-nav__back span {
  opacity: 0.65;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

.side-nav__back:hover span {
  opacity: 1;
}

/* サイド目次 */
.guide-toc {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}

.guide-toc__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.guide-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guide-toc__list a {
  display: block;
  padding: 6px 8px;
  font-size: 0.82rem;
  color: var(--text-sub);
  border-radius: 8px;
}

.guide-toc__list a:hover {
  background: var(--bg-soft);
}

.guide-toc__list a.is-active {
  background: #e8f5fe;
  color: var(--primary-dark);
  border: 1px solid var(--line);
}

/* 本文セクション */
.guide-section {
  margin-bottom: 2.5rem;
}

.guide-section__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

.guide-section__body p,
.guide-section__body li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
}

.guide-section__body p > span.guide-note {
  line-height: 1.2 !important; /* 注意書きの行間をさらに詰める */
}

/* 小見出しの視認性を強化 */
.guide-section__body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 1.3rem;
  margin-bottom: 0.25rem;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.guide-section__body ul {
  padding-left: 1.1rem;
}

.guide-note {
  font-size: 0.8rem;
  line-height: 1.2 !important; /* 注意書きの行間をさらに詰める */
  color: var(--text-sub);
}

.guide-icon{
  width: 16px;
  height: auto;
  flex-shrink: 0;
  margin-top: 2px;

}

/* バッジ（注意・補足） */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 4px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  vertical-align: middle;
}

.badge--warn {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffcc80;
}

.badge--note {
  background: #e8f5fe;
  color: var(--primary-dark);
}

/* --- ガイド内テーブル（シンプル版） --- */
.guide-page .guide-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.guide-page .guide-section thead th {
  text-align: left;
  font-weight: 800;
  color: var(--primary-dark);
  border-bottom: 1.5px solid var(--line);
  padding: 0.5rem 0.6rem;
}

.guide-page .guide-section td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.guide-page .guide-section tbody tr:last-child td {
  border-bottom: none;
}

.guide-page .guide-section tr.fee-total-row td {
  font-weight: 700;
  color: var(--primary-dark);
}

/* ガイド内テーブルの小見出しセル（2列まとめの行） */
td.guide-table-section {
  background: #f2f9ff;
  color: var(--primary-dark);
  font-weight: 800;
  text-align: left;
}


.fee-table td.fee-table-section {
    background: #f2f9ff;
    color: var(--primary-dark);
    font-weight: 800;
    text-align: center;
}

/* ガイド：本文内リンクの視認性向上（ガイド限定） */
.guide-page .guide-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.guide-page .guide-body a:hover {
  text-decoration-thickness: 2px;
}
.guide-page .guide-body a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 交互背景でセクションを区切り（読み筋を作る） 
.guide-section:nth-of-type(even) .guide-section__body {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 14px;
}*/

/* ヘッダーの配色（プライバシーポリシー準拠・ガイド専用） */
.guide-page .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.guide-page .floating-logo {
  width: auto;
  height: 40px;
}

.guide-page .menu-toggle .menu-label { color: #fff; }
.guide-page .menu-toggle .menu-lines span { background-color: #fff; }
.guide-page .menu-toggle.active .menu-label { color: #000; }
.guide-page .menu-toggle.active .menu-lines span { background-color: #000; }

/* 140px スクロール後：トグルをダーク表示（scroll-toggle.js と連動） */
.guide-page .site-header.scrolled .menu-toggle .menu-label { color: #000; }
.guide-page .site-header.scrolled .menu-toggle .menu-lines span { background-color: #000; }

/* @media (min-width: 841px) {
  .guide-page .policy-hero { padding: 80px 0 72px; }
  .guide-page .policy-hero__title { font-size: 2rem; }
} */

/* ===== 幅の最適化（ガイドページ限定） ===== */
/* .guide-page .container {
  width: min(100% - 48px, 1200px);
} */

/* @media (min-width: 1280px) {
  .guide-page .container {
    width: min(100% - 64px, 1280px);
  }
} */



/* ===== デスクトップ可読性チューニング（ガイドのみ） ===== 
@media (min-width: 1040px) {
  .guide-section__body p,
  .guide-section__body li {
    font-size: 0.95rem;
    line-height: 1.95;
  }

  .guide-section {
    margin-bottom: 2.6rem;
  }

  .guide-tldr__item {
    font-size: 0.92rem;
  }

  .guide-section:nth-of-type(even) .guide-section__body {
    padding: 16px 18px 18px;
  }
}*/

/* ============================================================
   Entry: STEP1 コールアウト（複数受講案内）
   ============================================================ */
.entry-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-soft);
  
  border-radius: 12px;
  padding: 10px 12px;
  margin: 30px 0 30px;
}
.entry-callout__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.entry-callout__text {
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ============================================================
   定員ステータス（定員・残りわずか）
   ============================================================ */

/* クラスカードのミニピル：定員 */
.mini-pill--full {
  background: #e4e4e4;
  border-color: #aaaaaa;
  color: #b6b6b6;
  font-weight: 700;
}

/* クラスカードのミニピル：残りわずか */
.mini-pill--few {
  background: #fff3e0;
  border-color: #ffa040;
  color: #bf360c;
  font-weight: 700;
}

/* スケジュールカード：定員（グレーアウト・クリック不可） */
.schedule-card--full {
  cursor: default;
  background: #f5f5f5;
  opacity: 0.9;
}

.schedule-card--full:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.schedule-card--full .schedule-card__day-col {
  background: #9e9e9e;
}

/* 定員メッセージ */
.schedule-card__full-msg {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c62828;
  margin-top: 0.4rem;
}

/* LINE通知ボタン */
.notify-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding: 0.45rem 1rem;
  background: #06c755;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'M PLUS 1p', sans-serif;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  transition: background 0.2s, transform 0.15s;
}

.notify-line-btn:hover {
  background: #05a848;
  transform: translateY(-1px);
}

/* スケジュールカード：残りわずか */
.schedule-card--few {
  
}

.schedule-card--few:hover {
  /* border-color: #e65100; */
  box-shadow: 0 3px 12px rgba(230, 81, 0, 0.12);
}

/* 残りわずかバッジ */
.schedule-card__status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 0.3rem;
}

.schedule-card__status-badge--few {
  background: #fff3e0;
  color: #bf360c;
  border: 1px solid #ffa040;
}
