/*
Theme Name: Member Booking Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: 会員登録・予約システム付きWordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: member-booking
Tags: custom-template, booking, membership
*/

:root {
  /* === カラー === */
  --color-primary: #007aff;
  --color-primary-dark: #005ecb;
  --color-text: #222;
  --color-text-light: #555;
  --color-bg: #fff;
  --color-border: #e5e5e5;

  /* === フォント === */
  --font-family: "Noto Sans JP", sans-serif;
  --font-size: 15px;

  /* === レイアウト共通 === */
  --radius: 8px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;

  /* === ステータスカラー === */
  --status-pending: #fff5d6;
  --status-confirmed: #e8f8f5;
  --status-inprogress: #e8f0ff;
  --status-completed: #eef8ff;
  --status-paid: #e9fce9;
  --status-cancelled: #fce9e9;
}

body{
  font-size: var(--font-size);
  font-family: var(--font-family);
}

/* ========================================
   会員登録ページ スタイル
   ======================================== */

.register-container {
  max-width: 420px;
  margin: 0 auto;
  padding: 32px 16px;
  background-color: #fff;
  min-height: 100vh;
}

.register-step {
  display: none;
  text-align: center;
}

.register-step.active {
  display: block;
}

.register-title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
  color: #222;
}

.description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #007AFF;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.register-container label {
  display: block;
  font-size: 14px;
  color: #444;
  margin: 12px 0 4px;
  text-align: left;
}

.register-container input[type="tel"],
.register-container input[type="text"],
.register-container input[type="email"],
.register-container input[type="password"],
.register-container select {
  border: none;
  border-bottom: 1px solid #ccc;
  width: 100%;
  padding: 12px 4px;
  font-size: var(--font-size);
  background: transparent;
  outline: none;
}

.code-inputs {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 12px 0;
}

.code-inputs input {
  flex: 1;
  text-align: center;
  font-size: 20px;
  padding: 12px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.button,
.primary-button {
  display: block;
  width: 100%;
  padding: 14px 0;
  background: #007AFF;
  color: #fff;
  text-align: center;
  font-size: var(--font-size);
  font-weight: bold;
  border: none;
  border-radius: 10px;
  margin-top: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 122, 255, 0.1);
  transition: background 0.2s;
}

.button:hover,
.primary-button:hover {
  background-color: #005ecb;
}

.resend {
  text-align: center;
  margin-top: 16px;
  color: #007AFF;
  cursor: pointer;
  font-size: 14px;
}

.form-note {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  text-align: left;
}

.checkbox {
  margin-top: 16px;
  font-size: 14px;
  text-align: left;
}

.checkbox input {
  margin-right: 8px;
}

.login-note {
  margin-top: 24px;
  font-size: 14px;
  color: #444;
}

.login-note a {
  color: #007AFF;
  text-decoration: none;
}

.icon-success {
  margin: 24px auto 16px;
  width: 80px;
  height: 80px;
  text-align: center;
}

.icon-success svg {
  display: block;
  margin: 0 auto;
}

.completed-message {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-top: 16px;
}

/* ========================================
   予約フォーム スタイル
   ======================================== */

.booking-container {
  max-width: 480px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-container h1 {
  font-size: var(--font-size);
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-group label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}

.booking-container input[type="text"],
.booking-container select,
.booking-container textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.booking-container textarea {
  resize: vertical;
  font-family: inherit;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.radio-group label,
.checkbox-group label {
  background: #f4f4f4;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.radio-group input,
.checkbox-group input {
  margin-right: 6px;
}

/*.radio-vertical-group label {
  display: block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
}

.radio-vertical-group input[type="radio"] {
  margin-right: 8px;
}
*/
.total {
  margin-top: 16px;
  font-weight: bold;
  color: #007aff;
  font-size: var(--font-size);
}

.section-title {
  font-size: var(--font-size);
  font-weight: bold;
  margin: 32px 0 8px;
  border-left: 4px solid #007aff;
  padding-left: 8px;
  color: #333;
}

.selected-date-label {
  font-size: 14px;
  font-weight: bold;
  color: #555;
}

.confirmation p {
  margin: 6px 0;
  font-size: 14px;
}

/* ナビボタン */
.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.buttons button {
  width: 48%;
  padding: 12px;
  font-size: var(--font-size);
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.next-btn {
  background-color: #007aff;
  color: white;
}

.prev-btn {
  background-color: #ccc;
  color: #333;
}

.next-btn.full {
  width: 100%;
  margin-top: 16px;
}

/* カレンダー */
.ozRsv_Calendar--Table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ozRsv_Calendar--DayHeader {
  background: #f0f0f0;
  font-size: 13px;
  padding: 8px;
}

.ozRsv_Calendar--DayCell {
  border: 1px solid #ddd;
  height: 56px;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s;
  padding: 4px;
}

.ozRsv_Calendar--Date {
  font-size: 14px;
}

.ozRsv_Calendar--DayCell.selected {
  background: #f0f8ff;
  border: 2px solid #007aff;
}

.ozRsv_Calendar--DayCell.disabled {
  background-color: #f2f2f2;
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}

.ozRsv_Calendar--Header {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  align-items: center;
}

.ozRsv_Calendar--CurrentMonth {
  font-weight: bold;
  font-size: var(--font-size);
}

.ozRsv_Calendar--Prev a,
.ozRsv_Calendar--Next a {
  color: #007aff;
  text-decoration: none;
  font-size: 14px;
}

/* ========================================
   マイページ スタイル
   ======================================== */

.mypage-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 16px;
  background: #fff;
  min-height: 100vh;
}

.mypage-container h1 {
  font-size: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 12px;
}

.profile-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text {
  font-size: var(--font-size);
}

.section {
  margin-bottom: 32px;
}

.section-title {
  font-weight: bold;
  font-size: var(--font-size);
  margin-bottom: 12px;
  color: #333;
}

.notice {
  background: #f0f0f0;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
}

/* スライド */
.reservation-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reservation-card,
.add-card {
  flex: 0 0 80%;
  min-width: 280px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 16px;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.reservation-card h3 {
  font-size: var(--font-size);
  margin-bottom: 8px;
  color: #333;
}

.reservation-details {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.status {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  background: #007aff;
  color: #fff;
  border-radius: 12px;
  margin-top: 8px;
}

.status.confirmed {
  background: #34C759;
}

.status.pending {
  background: #ff9500;
}

.add-card {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #aaa;
  border: 2px dashed #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.add-card:hover {
  background: #f8f8f8;
}

.button-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button-link {
  display: block;
  text-align: center;
  padding: 14px;
  background: #007AFF;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background 0.2s;
}

.button-link:hover {
  background: #005ecb;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .booking-container,
  .register-container,
  .mypage-container {
    padding: 16px;
  }
  
  .reservation-card,
  .add-card {
    min-width: 260px;
  }
}


/* reservation */

/* --- コースセクション全体 --- */
.course-block {
  margin-bottom: 24px;
  /*padding: 16px 18px;*/
  /*background: #fafafa;*/
  border-radius: 12px;
  /*border: 1px solid #eee;*/
}

/* --- h3 見出しデザイン --- */
.course-block-title {
  /*font-size: 1.1rem;*/
  /*font-weight: 600;*/
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  /*padding-left: 10px;*/
  /*border-left: 4px solid #007bff; /* お好みでブランドカラー */*/
}

/* --- 各コース項目 --- */
.checkbox-group.full-width {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- ラベル1列いっぱいに広げる --- */
.course-item {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

/* --- チェックボックス部分 --- */
.course-item input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

/* --- ホバー・選択状態 --- */
.course-item:hover {
  background: #f0f8ff;
  border-color: #007bff;
}

.course-item input[type="checkbox"]:checked + .course-label {
  font-weight: 600;
  color: #007bff;
}

/* --- テキスト --- */
.course-label {
  flex: 1;
  line-height: 1.6;
  /*font-size: 14px;*/
  color: #333;
} 

/* --- 予約フォーム：コース選択のはみ出し防止 --- */
.booking-container .checkbox-group.full-width {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0;
}

.booking-container .checkbox-group.full-width label,
.booking-container .course-item {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* 既存の背景スタイルをリセット */
/*.booking-container .checkbox-group.full-width label {
  background: none;
  padding: 0;
  border-radius: 0;
}*/

/* ラベルを1列いっぱいに広げる */
.booking-container .course-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

/* --- 選択時・ホバー時 --- */
.booking-container .course-item:hover {
  background: #f0f8ff;
  border-color: #007aff;
}

.booking-container .course-item input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.booking-container .course-item input[type="checkbox"]:checked + .course-label {
  font-weight: 600;
  color: #007aff;
}

/* ========================================
   汎用：ラジオ・チェック項目を1列表示
   ======================================== */

/* 共通：1項目を1列に */
.booking-container .checkbox-group,
.booking-container .radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* 各項目ボックス（背景つき） */
.booking-container .checkbox-group label,
.booking-container .radio-group label {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

/* チェック・ラジオ部分 */
.booking-container .checkbox-group input[type="checkbox"],
.booking-container .radio-group input[type="radio"] {
  margin-right: 10px;
  transform: scale(1.2);
}

/* ホバー＆選択時 */
.booking-container .checkbox-group label:hover,
.booking-container .radio-group label:hover {
  background: #f0f8ff;
  border-color: #007aff;
}

.booking-container .checkbox-group input:checked + span,
.booking-container .radio-group input:checked + span {
  font-weight: 600;
  color: #007aff;
}

/* テキスト部（spanを使用している場合） */
.booking-container .checkbox-group span,
.booking-container .radio-group span {
  flex: 1;
  line-height: 1.5;
  color: #333;
  font-weight: 200;
}

/* === 予約カードリンク === */
.current-booking-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.current-booking-link:hover .current-booking {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* === 予約カード本体 === */
.current-booking {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.booking-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #444;
}

/* ステータス別カラーリング */
.booking-status.確認中 { background: #fef3c7; color: #92400e; }
.booking-status.確定   { background: #d1fae5; color: #065f46; }
.booking-status.進行中 { background: #e0f2fe; color: #075985; }
.booking-status.完了   { background: #ecfdf5; color: #065f46; }
.booking-status.支払い完了 { background: #f3e8ff; color: #6b21a8; }
.booking-status.キャンセル { background: #fee2e2; color: #991b1b; }

.cast-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cast-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
}

.cast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cast-meta {
  flex: 1;
}

/* reservation cast */

/* ==== キャスト情報（予約フォームヘッダー） ==== */
.booking-cast-info {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  /*border-radius: 12px;*/
  /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
  padding: 16px;
  margin-bottom: 24px;
}

.booking-cast-info .cast-thumb {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
}

.booking-cast-info .cast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.booking-cast-info .cast-details {
  flex: 1;
}

.booking-cast-info .cast-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #222;
}

.booking-cast-info .cast-catch {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .booking-cast-info {
    flex-direction: column;
    text-align: center;
  }
  .booking-cast-info .cast-thumb {
    width: 100px;
    height: 100px;
  }
}

/* reservation-confirm */
.confirm-wrap {
  max-width: 640px;
  margin: 0 auto 40px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px 28px;
}

.confirm-wrap h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  color: #111;
  letter-spacing: 0.03em;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.confirm-table th,
.confirm-table td {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.confirm-table th {
  width: 32%;
  font-weight: 500;
  color: #666;
  text-align: left;
}

.confirm-table td {
  color: #111;
  text-align: left;
}

#finalTotal {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  color: #111;
}

@media (max-width: 600px) {
  .confirm-wrap {
    padding: 24px 20px;
  }
  .confirm-table th, .confirm-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .confirm-table th {
    color: #999;
    font-size: 13px;
  }
  .confirm-table td {
    padding-bottom: 12px;
  }
}

/* reservation-completed */
.thankyou-container {
  max-width: 480px;
  margin: 80px auto;
  background: #fff;
  padding: 40px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.thankyou-title {
  font-size: 22px;
  font-weight: 700;
  color: #007aff;
  margin-bottom: 16px;
}

.thankyou-message {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 32px;
}

.thankyou-id {
  font-size: 15px;
  color: #007aff;
  font-weight: 600;
  margin-bottom: 24px;
}

.thankyou-next {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thankyou-button {
  display: block;
  padding: 14px 0;
  background: #007aff;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.thankyou-button:hover {
  background: #005ecb;
}

.thankyou-button.outline {
  background: #fff;
  color: #007aff;
  border: 1px solid #007aff;
}

/* mypage */

.mypage-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 50px 20px 100px;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
}

.mypage-header {
  text-align: center;
  margin-bottom: 40px;
}
.mypage-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.mypage-header .user-name {
  color: #555;
  font-size: 15px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  border-left: 4px solid #007aff;
  padding-left: 10px;
  margin-bottom: 18px;
}

/* === 予約情報 === */
.current-booking {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.booking-date {
  font-weight: 600;
  font-size: var(--font-size);
}
/* ==== ステータスバッジ（プロ仕様） ==== */
.booking-status {
  display: inline-block;
  min-width: 90px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  line-height: 1;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

/* 状態別カラー（OIKAZE+系トーン） */
.booking-status.確認中,
.booking-status.pending {
  background: #fff5d6;
  color: #9c7b00;
  border-color: #f3e3a1;
}

.booking-status.確定,
.booking-status.confirmed {
  background: #e8f8f5;
  color: #006a5e;
  border-color: #b9e3d8;
}

.booking-status.進行中,
.booking-status.in_progress {
  background: #e8f0ff;
  color: #2a4bb8;
  border-color: #c9d6ff;
}

.booking-status.完了,
.booking-status.completed {
  background: #eef8ff;
  color: #007acc;
  border-color: #b8dcff;
}

.booking-status.キャンセル,
.booking-status.cancelled {
  background: #fce9e9;
  color: #b32727;
  border-color: #f4c6c6;
}

.booking-status.支払い完了,
.booking-status.paid {
  background: #e9fce9;
  color: #197a19;
  border-color: #b7e5b7;
}

/* ホバー時（管理画面や詳細ページリンクに備えて） */
.booking-status:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.cast-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cast-thumb img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}
.cast-meta {
  flex: 1;
}
.cast-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.cast-area, .cast-shift, .cast-meeting {
  font-size: 13px;
  color: #555;
  margin: 2px 0;
}
.cast-status {
  font-size: 14px;
  color: #007AFF;
  font-weight: 500;
  margin-top: 4px;
}

/* ==== 予約履歴（横スクロール） ==== */
.mypage-history {
  margin-top: 40px;
}

.history-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.history-scroll::-webkit-scrollbar {
  height: 6px;
}
.history-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.history-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.history-card {
  min-width: 260px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  scroll-snap-align: start;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.history-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.history-date {
  font-weight: 600;
  font-size: 0.95rem;
}

.history-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
}

/* ステータス色 */
.history-status.完了 { background: #007bff; }
.history-status.支払い完了 { background: #28a745; }
.history-status.キャンセル { background: #dc3545; }
.history-status.確認中 { background: #ffc107; color: #333; }

.history-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.history-body .cast-thumb img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.cast-meta {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

/* ========================
   VIP セクション
======================== */
.vip-section {
  margin: 40px 0 60px;
}

.vip-banner {
  background: linear-gradient(135deg, #1e1e1e, #3c3c3c);
  border: 2px solid #d4af37;
  border-radius: 16px;
  padding: 28px 24px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.vip-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}

.vip-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.vip-desc {
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
}

/* ========================
   ボタンエリア
======================== */
.button-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.25s ease;
  text-decoration: none;
}

.btn-main {
  background: #007aff;
  color: #fff;
}
.btn-main:hover {
  background: #0060d0;
}

.btn-sub {
  background: #444;
  color: #fff;
}
.btn-sub:hover {
  background: #2a2a2a;
}

/* FAQバナー */
.faq-banner {
  display: block;
  text-align: center;
  padding: 18px 16px;
  background: #f7f8fa;
  color: #222;
  border: 1px solid #eee;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s ease;
}
.faq-banner:hover {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ========================
   レスポンシブ調整
======================== */
@media (min-width: 768px) {
  .button-area {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  .button-area a {
    flex: 1;
  }
  .faq-banner {
    flex: 2;
    margin-right: 10px;
  }
}

/* reservation-detail */

.booking-detail {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cast-info-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.cast-info-box .cast-thumb {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.cast-info-box .cast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cast-meta .cast-name {
  font-size: var(--font-size);
  font-weight: 700;
  margin-bottom: 6px;
}

.booking-detail-table {
  margin-bottom: 28px;
}

.booking-detail-table .table-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  border-left: 4px solid #007acc;
  padding-left: 8px;
}

.booking-detail-table table {
  width: 100%;
  border-collapse: collapse;
}

.booking-detail-table th {
  width: 30%;
  text-align: left;
  background: #fafafa;
  padding: 10px 12px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #eee;
}

.booking-detail-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  color: #555;
}

.detail-footer {
  text-align: center;
  margin-top: 24px;
}

.btn-sub {
  display: inline-block;
  background: #eee;
  color: #333;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-sub:hover {
  background: #ddd;
}