/* ===========================================
   AERO TOYOTA - Static HTML/CSS/jQuery Version
   =========================================== */

/* ===== CSS Variables ===== */
:root {
  /* Brand Colors */
  --color-burgundy: #a72916;
  --color-burgundy-hover: #8d1f0f;
  --color-gold: #7c6e1d;
  --color-gold-hover: #6d6119;
  --color-blue: #1872ae;
  --color-blue-hover: #145a8a;
  --color-blue-active: #4A90E2;

  /* Text Colors */
  --color-text: #0f0f0f;
  --color-text-dark: #060606;
  --color-text-gray: #707070;
  --color-text-muted: #8d8a8a;
  --color-text-light: #6b6b6b;
  --color-text-dark-gray: #4a4a4a;
  --color-text-mid-gray: #5f5f5f;
  --color-text-input: #333333;
  --color-text-placeholder: #a0a0a0;

  /* Background Colors */
  --color-bg-white: #ffffff;
  --color-bg-gray: #f5f5f5;
  --color-bg-gray-light: #f1efef;
  --color-bg-input: #ffffff;
  --color-bg-select: #ffffff;
  --color-bg-faq: #ececec;

  /* Border Colors */
  --color-border: #c0bfbf;
  --color-border-medium: #a2a2a2;
  --color-border-light: #bfbfbf;
  --color-border-dark: #a5a5a5;
  --color-border-inactive: #a3a3a3;
  --color-border-tab: #877b79;

  /* Status Colors */
  --color-success: #14c243;
  --color-error: #d4183d;

  /* Layout */
  --container-max: 1200px;
  --header-height: 120px;

  /* Shadows */
  --shadow-header: 5px 4px 9px 2px rgba(189, 173, 173, 0.25);
  --shadow-card: 0px 4px 0px 3px rgba(0, 0, 0, 0.04);
  --shadow-button: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg-white);
  line-height: 1.5;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Layout Utilities ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }

.grid {
  display: grid;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.w-full { width: 100%; }
.h-full { height: 100%; }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* ===== Header ===== */
.header {
  background-color: var(--color-bg-white);
  height: var(--header-height);
  box-shadow: var(--shadow-header);
}

[data-page="terms-of-service"] .header {
  box-shadow: none;
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 308px;
  height: 36px;
  cursor: pointer;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-bg-gray-light);
  padding: 64px 0;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.footer-logo img {
  width: 308px;
  height: auto;
  cursor: pointer;
}

.footer-links {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 16px;
  color: #000;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-burgundy);
}

.footer-copyright {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 650px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #2f0f0f);
}

.hero-content {
  position: relative;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 0;
}

.hero-subtitle {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* サブタイトルのモバイル限定改行(<br>)はPCでは無効化し、従来どおり1行表示にする */
@media (min-width: 768px) {
  .hero-subtitle br {
    display: none;
  }
}

.hero-line {
  border-top: 1px solid #fff;
  width: 220px;
  margin-bottom: 24px;
}

.hero-title {
  color: #fff;
  font-size: 50px;
  font-weight: 200;
}

@media (max-width: 1366px) {
  .hero-title {
    font-size: 42px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-content {
    padding-top: 140px;
  }
}

/* ===== Tab Navigation ===== */
.tab-navigation {
  position: relative;
  margin-top: -85px;
  z-index: 10;
  padding: 0 16px;
}

.tab-navigation .container {
  display: flex;
  padding: 0;
}

.tab-btn {
  flex: 1;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 5px solid;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.tab-btn.active {
  background-color: var(--color-bg-white);
  border-top-color: var(--color-burgundy);
}

.tab-btn:not(.active) {
  background-color: var(--color-bg-select);
  border-top-color: var(--color-border-tab);
  box-shadow: var(--shadow-button);
}

.tab-btn:not(.active):hover {
  background-color: #e5e5e5;
}

.tab-btn img {
  width: 41px;
  height: 18px;
}

.tab-btn.jet-tab img {
  width: 23px;
  height: 21px;
}

.tab-btn span {
  font-size: 18px;
  font-weight: 700;
}

.tab-btn.active span {
  color: var(--color-burgundy);
}

.tab-btn:not(.active) span {
  color: var(--color-text);
}

.tab-btn .tab-icon {
  font-size: 24px;
}

.tab-btn.active .tab-icon {
  color: var(--color-burgundy);
}

.tab-btn:not(.active) .tab-icon {
  color: var(--color-text);
}

/* ===== Reservation Section ===== */
.reservation-section {
  max-width: var(--container-max);
  margin: 0 auto 64px;
  box-shadow: var(--shadow-card);
  background-color: var(--color-bg-white);
  padding: 24px 16px;
}

.section-label {
  color: var(--color-gold);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-line {
  border-top: 2px solid var(--color-gold);
  width: 220px;
  margin-bottom: 16px;
}

.section-title {
  color: var(--color-burgundy);
  font-size: 60px;
  font-weight: 200;
  margin-bottom: 24px;
}

.section-desc {
  font-size: 18px;
  color: #000;
  line-height: 1.75;
  max-width: 560px;
}

/* ===== Trip Type Toggle ===== */
.trip-type-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
}

.trip-type-btn {
  padding: 12px 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.trip-type-btn.active {
  background-color: var(--color-gold);
  color: #fff;
}

.trip-type-btn:not(.active) {
  background-color: var(--color-bg-gray);
  color: #999;
}

/* ===== Form Elements ===== */
.form-group {
  margin-bottom: 24px;
}

.grid > .form-group {
  margin-bottom: 0;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--color-text);
}

.form-label img {
  width: 14px;
  height: 19px;
}

.form-label-icon {
  width: 14px;
  height: 19px;
}

.required-badge {
  background-color: var(--color-burgundy);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.optional-badge {
  background-color: var(--color-text-muted);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.input-box {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  transition: border-color var(--transition-fast);
}

.input-box:hover {
  border-color: var(--color-gold);
}

.input-box label {
  font-size: 12px;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 8px;
}

.input-box select {
  width: 100%;
  appearance: none;
  font-size: 20px;
  font-weight: 500;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.input-box .chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  pointer-events: none;
}

.input-box input[type="date"],
.input-box input[type="time"] {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.input-text {
  background-color: var(--color-bg-input);
  height: 60px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  padding: 0 16px;
  display: flex;
  align-items: center;
}

.input-text input {
  background: transparent;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--color-text-input);
}

.input-text input::placeholder {
  color: var(--color-text-placeholder);
}

.select-box {
  position: relative;
  width: 282px;
}

.select-box select {
  background-color: var(--color-bg-select);
  height: 60px;
  width: 100%;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 16px;
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--color-border);
  color: var(--color-text-input);
}

.select-box .chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-border-light);
}

.textarea-box {
  background-color: var(--color-bg-input);
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  padding: 12px 16px;
}

.textarea-box textarea {
  background: transparent;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--color-text-input);
  resize: none;
}

.textarea-box textarea::placeholder {
  color: var(--color-text-placeholder);
}

/* ===== Swap Button ===== */
.swap-btn {
  background: var(--color-bg-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  transition: border-color var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.swap-btn:hover {
  border-color: var(--color-gold);
}

.swap-btn svg {
  color: var(--color-gold);
}

/* ===== Aircraft Card ===== */
.aircraft-card {
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-button);
  padding: 32px;
  margin-top: 32px;
}

.aircraft-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.aircraft-label {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 4px;
}

.aircraft-name {
  font-size: 20px;
  font-weight: 700;
}

.aircraft-price {
  font-size: 23px;
  font-weight: 700;
  color: var(--color-text);
}

.aircraft-time {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

/* 単一機体ブランド向け: カード内に機体写真をインライン表示（クリックで詳細モーダル） */
.aircraft-card--single {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.aircraft-card--single .aircraft-card-info {
  flex: 1 1 240px;
  min-width: 200px;
}

.aircraft-card-photo {
  display: block;
  flex: 0 1 536px;
  width: 536px;
  max-width: 100%;
  aspect-ratio: 536 / 357;
  border: none;
  padding: 0;
  background-color: #fff;
  overflow: hidden;
  cursor: pointer;
}

/* 画像の左右が見切れないよう枠内に収める（余白は白背景） */
.aircraft-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fff;
}

/* トップページ機体写真のインラインカルーセル（画像が複数ある場合のみ矢印・カウンターを表示） */
.aircraft-card-photo-carousel {
  position: relative;
  flex: 0 1 536px;
  width: 536px;
  max-width: 100%;
}

.aircraft-card-photo-carousel .aircraft-card-photo {
  flex: none;
  width: 100%;
}

.aircraft-card-photo-carousel .carousel-nav,
.aircraft-card-photo-carousel .carousel-counter {
  display: none;
}

.aircraft-card-photo-carousel.has-multiple .carousel-nav {
  display: block;
  line-height: 0;
}

.aircraft-card-photo-carousel.has-multiple .carousel-counter {
  display: block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-gold {
  background-color: var(--color-gold);
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 予約者＝搭乗者1 のとき、搭乗者No.1の姓名入力をロック表示 */
.is-locked {
  background-color: #f0f0f0;
  color: #888;
  cursor: not-allowed;
}

.btn-burgundy {
  background-color: var(--color-burgundy);
  color: #fff;
  padding: 20px 24px;
  font-size: 16px;
}

.btn-burgundy:hover {
  background-color: var(--color-burgundy-hover);
}

.btn-gray {
  background-color: var(--color-text-dark-gray);
  color: #fff;
  padding: 20px 24px;
  font-size: 16px;
}

.btn-gray:hover {
  background-color: #5a5a5a;
}

.btn-outline {
  background-color: var(--color-bg-white);
  border: 1px solid #000;
  color: #000;
  padding: 16px 64px;
  font-size: 19px;
}

.btn-outline:hover {
  background-color: var(--color-bg-gray);
}

.btn-blue {
  background-color: var(--color-blue);
  color: #fff;
  padding: 8px 24px;
  font-size: 16px;
  border-radius: var(--radius-sm);
}

.btn-blue:hover {
  background-color: var(--color-blue-hover);
}

.btn-lg {
  padding: 24px 64px;
  font-size: 19px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ===== Action Buttons Row ===== */
.action-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.action-buttons .btn {
  flex: 1;
}

/* ===== Flight Tours Section ===== */
.flight-tours {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 32px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.category-bar {
  background-color: var(--color-gold);
  width: 5px;
  height: 50px;
}

.category-title {
  color: var(--color-gold);
  font-size: 30px;
  font-weight: 700;
}

.tour-card {
  display: flex;
  gap: 16px;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  margin-bottom: 32px;
}

.tour-card:hover {
  opacity: 0.8;
}

.tour-card-image {
  width: 490px;
  height: 298px;
  object-fit: cover;
  flex-shrink: 0;
}

.tour-card-large .tour-card-image {
  width: 776px;
  height: 260px;
}

.tour-card-content {
  flex: 1;
}

.tour-date {
  color: var(--color-gold);
  font-size: 19px;
  margin-bottom: 8px;
}

.tour-title {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.tour-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 8px;
}

.tour-price {
  color: var(--color-burgundy);
  font-size: 30px;
  font-weight: 700;
}

.tour-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tour-tag {
  border: 1px solid var(--color-text-muted);
  padding: 4px 12px;
  font-size: 16px;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-bg-white);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  position: sticky;
  top: 0;
  background-color: var(--color-gold);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header.burgundy {
  background-color: var(--color-burgundy);
}

.modal-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  color: #fff;
  transition: opacity var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.modal-close:hover {
  opacity: 0.8;
}

.modal-body {
  padding: 20px;
}

/* ===== Aircraft Modal ===== */
.aircraft-modal .modal {
  max-width: 600px;
}

.carousel {
  position: relative;
  margin-bottom: 16px;
}

.no-image-placeholder {
  display: none;
  height: 240px;
  background-color: #e0e0e0;
  color: #999;
  font-size: 16px;
  align-items: center;
  justify-content: center;
}

.carousel-image-container {
  position: relative;
  aspect-ratio: 3 / 2;
  background-color: #f3f3f3;
  border-radius: 8px;
  overflow: hidden;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 8px;
  transition: background var(--transition-fast);
  border: none;
  cursor: pointer;
}

.carousel-nav:hover {
  background: #fff;
}

.carousel-nav.prev {
  left: 16px;
}

.carousel-nav.next {
  right: 16px;
}

.carousel-nav svg {
  color: var(--color-gold);
}

.carousel-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #d1d5db;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background-color: var(--color-gold);
  width: 32px;
}

.carousel-dot:hover:not(.active) {
  background-color: #9ca3af;
}

/* Aircraft Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.aircraft-specs-note {
  font-size: 12px;
  color: #888;
  margin: 0 0 16px;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.payment-logos img {
  height: 28px;
  width: auto;
  display: block;
}

.suitcase-size-note {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin-top: 12px;
  white-space: normal;
}

/* Custom time select (hour/minute) */
.time-select-box {
  position: relative;
}
.time-select-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
}
.time-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: transparent;
  font-size: 16px;
  padding: 0 2px;
  cursor: pointer;
  min-width: 0;
  text-align: center;
}
.time-select:focus {
  outline: none;
}
.time-colon {
  font-size: 16px;
  color: #333;
}

.spec-card {
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.spec-icon {
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.spec-label {
  color: var(--color-text-muted);
  font-size: 10px;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 18px;
  font-weight: 700;
}

/* Aircraft Selection Grid */
.aircraft-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.aircraft-option {
  padding: 8px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  background: none;
}

.aircraft-option:hover {
  border-color: rgba(124, 110, 29, 0.5);
}

.aircraft-option.active {
  border-color: var(--color-gold);
  background-color: rgba(124, 110, 29, 0.05);
}

.aircraft-option-name {
  font-size: 14px;
  font-weight: 500;
}

.aircraft-option-capacity {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ===== Progress Steps ===== */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 64px;
  gap: 32px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 16px;
}

.progress-circle.active {
  background-color: var(--color-burgundy);
  color: #fff;
}

.progress-circle.inactive {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-inactive);
  color: #000;
}

.progress-label {
  font-size: 16px;
  padding: 4px 12px;
  border-radius: 4px;
}

.progress-label.active {
  background-color: var(--color-burgundy);
  color: #fff;
}

.progress-line {
  width: 200px;
  height: 1px;
  background-color: #000;
  margin-bottom: 32px;
}

/* ===== Booking Pages ===== */
.booking-page {
  background-color: var(--color-bg-white);
}

.booking-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 32px;
}

.divider {
  border-top: 1px solid var(--color-border-medium);
  margin-bottom: 48px;
}

.divider-thick {
  border-top: 3px solid var(--color-border-dark);
  margin-bottom: 48px;
}

/* Flight Info */
.flight-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.info-card {
  border: 1px solid #000;
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
}

.info-label {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 8px;
}

.info-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.info-value-lg {
  font-size: 23px;
  font-weight: 700;
}

/* Flight Detail Table */
.flight-detail-table {
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  overflow: hidden;
}

.flight-detail-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--color-border-light);
}

.flight-detail-row:last-child {
  border-bottom: none;
}

.flight-detail-label {
  display: flex;
  align-items: center;
  width: 80px;
  min-width: 80px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  background-color: #f8f8f8;
  border-right: 1px solid var(--color-border-light);
}

.flight-detail-value {
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

/* Weight Info Box */
.weight-info {
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.weight-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.weight-divider {
  width: 1px;
  height: 35px;
  background-color: var(--color-border-light);
}

/* Google Map */
.map-container {
  margin-top: 16px;
  width: 240px;
  height: 240px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.map-container iframe {
  border: 0;
}

.map-container-full {
  width: 100%;
  max-width: none;
  height: 300px;
}

.map-container-full iframe {
  width: 100%;
  height: 100%;
}

/* Passenger Table */
.passenger-table-container {
  background-color: var(--color-bg-gray);
  border-radius: 8px;
  overflow: hidden;
}

.passenger-table-header {
  display: grid;
  grid-template-columns: 50px 90px 160px 90px 130px 80px 140px 1fr;
  gap: 12px;
  padding: 16px;
  background-color: var(--color-bg-gray);
  border-bottom: 1px solid #d9d9d9;
  font-size: 14px;
  color: #0f0f0f;
}

.passenger-table-row {
  display: grid;
  grid-template-columns: 50px 90px 160px 90px 130px 80px 140px 1fr;
  gap: 12px;
  padding: 16px;
  align-items: center;
  background-color: white;
  border-bottom: 1px solid #d9d9d9;
}

.passenger-table-row:last-child {
  border-bottom: none;
}

/* 英語版: 氏名を First / Middle / Last に分割した10列グリッド（1行に収める） */
.passenger-table-en .passenger-table-header,
.passenger-table-en .passenger-table-row {
  grid-template-columns: 40px 74px 96px 96px 96px 72px 112px 56px 134px 1fr;
  gap: 8px;
}

/* 列幅を詰めるため、英語版はパディングとフォントを小さく */
.passenger-table-en .passenger-table-row input[type="text"],
.passenger-table-en .passenger-table-row input[type="date"],
.passenger-table-en .passenger-table-row select {
  padding-left: 8px;
  padding-right: 8px;
  font-size: 13px;
}

.passenger-table-en .passenger-table-row select {
  padding-right: 24px;
}

.passenger-table-en .passenger-table-header {
  font-size: 13px;
}

/* 日本語版: 搭乗者氏名を 姓 / 名 に分割（敬称なし）した8列グリッド */
.passenger-table-ja-split .passenger-table-header,
.passenger-table-ja-split .passenger-table-row {
  grid-template-columns: 50px 90px 90px 90px 130px 80px 140px 1fr;
}

/* booking-confirm.html用の7列グリッド (No / Title / Name / Gender / Nationality / Weight / Birthdate) */
.passenger-table-confirm {
  grid-template-columns: 60px 80px 1fr 80px 1fr 100px 1fr;
}

/* 日本語確認画面: 敬称なしの6列グリッド (No / Name / Gender / Nationality / Weight / Birthdate) */
.passenger-table-confirm-ja {
  grid-template-columns: 60px 1fr 80px 1fr 100px 1fr;
}

.passenger-row-number {
  font-size: 14px;
  color: #0f0f0f;
}

.passenger-table-row input[type="text"],
.passenger-table-row input[type="date"] {
  background-color: white;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-text-input);
  width: 100%;
  box-sizing: border-box;
}

.passenger-table-row input[type="text"]::placeholder {
  color: var(--color-text-placeholder);
}

.passenger-table-row .select-wrapper {
  position: relative;
}

.passenger-table-row select {
  background-color: white;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 8px 12px;
  padding-right: 32px;
  font-size: 14px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
}

.passenger-table-row .select-wrapper .chevron {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #bfbfbf;
  width: 16px;
  height: 16px;
}

.passenger-table-row .checkbox-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.passenger-table-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--color-burgundy);
}

/* ===== Plan Detail Page ===== */
.plan-detail {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 32px;
}

.plan-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
}

.plan-desc {
  font-size: 16px;
  margin-bottom: 32px;
}

.plan-stat-label {
  font-size: 16px;
  margin-bottom: 8px;
}

.plan-stat-value {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-stat-note {
  font-size: 14px;
}

.status-badge {
  background-color: var(--color-bg-select);
  border-radius: 20px;
  padding: 8px 24px;
  display: inline-block;
  font-size: 16px;
}

.status-good {
  color: var(--color-success);
  font-size: 30px;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-category {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.faq-item {
  background-color: var(--color-bg-faq);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-blue);
}

.faq-toggle {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-burgundy);
}

.faq-answer {
  padding: 0 48px 16px;
  font-size: 17px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== Checkbox ===== */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-burgundy);
}

.checkbox-label {
  color: #000;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== Agent Login Modal ===== */
.agent-modal .modal {
  max-width: 580px;
  border-radius: 20px;
  overflow: hidden;
}

.agent-modal .modal-header {
  padding: 24px 32px;
  position: relative;
}

.agent-modal .modal-title {
  text-align: center;
  font-size: 24px;
}

.agent-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

.agent-modal .modal-body {
  padding: 40px 48px;
}

.agent-modal .modal-desc {
  color: var(--color-text-dark-gray);
  font-size: 15px;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

.agent-modal .form-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.agent-modal .form-input {
  width: 100%;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--color-text-input);
  transition: border-color var(--transition-fast);
}

.agent-modal .form-input::placeholder {
  color: var(--color-text-placeholder);
}

.agent-modal .form-input:focus {
  border-color: var(--color-burgundy);
  outline: none;
}

.agent-modal .btn-login {
  width: 100%;
  background-color: var(--color-burgundy);
  color: #fff;
  border-radius: 8px;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  margin-top: 32px;
  transition: background-color var(--transition-fast);
}

.agent-modal .btn-login:hover {
  background-color: var(--color-burgundy-hover);
}

/* ===== Availability Modal ===== */
.availability-modal .modal {
  max-width: 500px;
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.time-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.time-slot:hover:not(.unavailable) {
  border-color: var(--color-burgundy);
}

.time-slot.selected {
  border-color: var(--color-burgundy);
  background-color: rgba(167, 41, 22, 0.05);
}

.time-slot.unavailable {
  opacity: 0.5;
  cursor: not-allowed;
}

.time-slot-time {
  font-size: 16px;
  font-weight: 500;
}

.time-slot-status {
  font-size: 14px;
  margin-left: 8px;
}

.time-slot-status.available {
  color: var(--color-success);
}

.time-slot-status.unavailable {
  color: var(--color-text-muted);
}

/* ===== Utility Classes ===== */
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }

.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-light { font-weight: 200; }

.text-burgundy { color: var(--color-burgundy); }
.text-gold { color: var(--color-gold); }
.text-gray { color: var(--color-text-gray); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: #fff; }
.text-red { color: #dc2626; }

.bg-burgundy { background-color: var(--color-burgundy); }
.bg-gold { background-color: var(--color-gold); }

.hidden { display: none; }

/* ===== Link Styles ===== */
.link-blue {
  color: var(--color-blue);
  text-decoration: underline;
  cursor: pointer;
}

.link-blue:hover {
  opacity: 0.8;
}

/* ===== Body Modal Open ===== */
body.modal-open {
  overflow: hidden;
}

/* ===== Privacy Consent Modal ===== */
/* 同意必須のため、オーバーレイクリック・ESCでは閉じない（app.js側で制御） */
.privacy-consent-modal {
  z-index: 100;
}

.privacy-consent-modal .modal {
  max-width: 720px;
}

.privacy-consent-modal .modal-body {
  padding: 24px;
}

.privacy-consent-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.privacy-consent-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.privacy-consent-box {
  background: var(--color-bg-gray);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 24px;
}

.privacy-consent-box dl {
  margin-bottom: 16px;
}

.privacy-consent-box dl:last-child {
  margin-bottom: 0;
}

.privacy-consent-box dt {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.privacy-consent-box dd {
  font-size: 14px;
  line-height: 1.8;
  margin-left: 0;
}

.privacy-consent-modal .modal-body a {
  text-decoration: underline;
}

.privacy-consent-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 767px) {
  .privacy-consent-modal .modal-body {
    padding: 16px;
  }

  .privacy-consent-box {
    padding: 16px;
  }

  .privacy-consent-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .privacy-consent-actions .btn {
    width: 100%;
  }
}

/* ===========================================
   RESPONSIVE STYLES
   Breakpoint: 768px (Mobile / Desktop)
   =========================================== */

/* ===== Mobile First Base Styles ===== */

/* Container - smaller padding on mobile */
.container {
  padding: 0 16px;
}

/* ===== Header Responsive ===== */
.header-logo img {
  width: 200px;
  height: auto;
}

/* ===== Hero Section Responsive ===== */
.hero {
  height: auto;
  min-height: 350px;
  padding: 40px 0;
}

.hero-title {
  font-size: 50px;
}

.hero-subtitle {
  font-size: 18px;
}

/* ===== Section Title Responsive ===== */
.section-title {
  font-size: 60px;
}

/* ===== Reservation Section Responsive ===== */
.reservation-section {
  margin: 0 16px 48px;
  padding: 24px 16px;
}

/* ===== Grid Utilities Responsive ===== */
.grid-cols-2 {
  grid-template-columns: 1fr;
}

.grid-cols-3 {
  grid-template-columns: 1fr;
}

.grid-cols-4 {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== Tab Navigation Responsive ===== */
.tab-navigation {
  padding: 0 8px;
}

.tab-btn {
  padding: 16px 12px;
  font-size: 14px;
}

/* ===== Select Box Responsive ===== */
.select-box {
  width: 100%;
}

/* ===== Input Text Responsive ===== */
.input-text {
  width: 100%;
}

/* ===== Flight Info Grid Responsive ===== */
.flight-info-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ===== Progress Steps Responsive ===== */
.progress-steps {
  gap: 8px;
}

.progress-circle {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.progress-line {
  width: 40px;
}

.progress-label {
  font-size: 12px;
}

/* ===== Tour Card Responsive ===== */
.tour-card {
  flex-direction: column;
  width: 100%;
}

.tour-card-image {
  width: 100%;
  height: auto;
  min-height: 180px;
  aspect-ratio: 16 / 10;
}

.tour-card-large .tour-card-image {
  width: 100%;
  height: auto;
  min-height: 180px;
  aspect-ratio: 16 / 10;
}

.tour-title {
  font-size: 18px;
  line-height: 1.4;
}

.tour-date {
  font-size: 14px;
}

.tour-price {
  font-size: 20px;
}

.tour-meta {
  flex-wrap: wrap;
  gap: 12px;
}

.tour-tag {
  font-size: 12px;
  padding: 3px 8px;
}

/* ===== Passenger Table Responsive ===== */
.passenger-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.passenger-table-header,
.passenger-table-row {
  min-width: 900px;
}

/* ===== Modal Responsive ===== */
.modal {
  width: 92vw;
  max-width: 600px;
  max-height: 90vh;
}

.modal-body {
  padding: 24px 16px;
}

.aircraft-modal .modal {
  width: 95vw;
}

.agent-modal .modal-body {
  padding: 24px;
}

/* ===== Map Container Responsive ===== */
.map-container {
  width: 100%;
  max-width: 240px;
}

.map-container iframe {
  width: 100%;
  height: 180px;
}

.map-container-full {
  max-width: none;
  height: 300px;
}

.map-container-full iframe {
  height: 100%;
}

/* ===== Booking Page Responsive ===== */
.booking-content {
  padding: 24px 16px;
}

/* ===== Flight Tours Section Responsive ===== */
.flight-tours {
  padding: 32px 16px;
}

.flight-tours-header {
  margin-bottom: 24px;
}

.flight-tours-title {
  font-size: 20px;
}

/* ===== Info Card Responsive ===== */
.info-card {
  padding: 20px;
}

/* ===== Weight Info Responsive ===== */
.weight-info {
  flex-wrap: wrap;
  gap: 8px;
}

.weight-divider {
  display: none;
}

/* ===== Aircraft Grid Responsive ===== */
.aircraft-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ===== Aircraft Card Responsive ===== */
.aircraft-card {
  width: 100%;
}

/* ===== Plan Detail Responsive ===== */
.plan-detail {
  padding: 32px 16px;
}

.plan-images {
  grid-template-columns: 1fr;
}

.plan-image-container {
  width: 100%;
  height: auto;
  min-height: 200px;
}

.plan-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FAQ Responsive ===== */
.faq-header {
  padding: 12px 16px;
}

.faq-answer {
  padding: 0 16px 16px;
}

/* ===== Button Responsive ===== */
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ===== Footer Responsive ===== */
.footer {
  padding: 32px 0;
}

.footer-logo img {
  width: 180px;
}

/* ===== Specs Grid Responsive ===== */
.specs-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== Form Group Responsive ===== */
.form-group {
  margin-bottom: 20px;
}

/* ===== Grid Column Span ===== */
.grid-col-span-2 {
  grid-column: span 1; /* モバイル時は1列 */
}

/* ===========================================
   DESKTOP STYLES (min-width: 768px)
   =========================================== */
@media (min-width: 768px) {
  /* Container */
  .container {
    padding: 0 32px;
  }

  /* Header */
  .header-logo img {
    width: 308px;
  }

  /* Hero Section */
  .hero {
    height: 650px;
    min-height: 650px;
    padding: 0;
  }

  .hero-title {
    font-size: 100px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  /* Section Title */
  .section-title {
    font-size: 100px;
  }

  /* Grid Utilities */
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Tab Navigation */
  .tab-navigation {
    padding: 0;
  }

  .tab-btn {
    padding: 24px 16px;
    font-size: 18px;
  }

  /* Reservation Section */
  .reservation-section {
    margin: 0 auto 64px;
    padding: 48px;
  }

  /* Select Box */
  .select-box {
    width: 282px;
  }

  /* Flight Info Grid */
  .flight-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Progress Steps */
  .progress-steps {
    gap: 32px;
  }

  .progress-circle {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .progress-line {
    width: 200px;
  }

  .progress-label {
    font-size: 16px;
  }

  /* Tour Card */
  .tour-card {
    flex-direction: row;
  }

  .tour-card-image {
    width: 490px;
    height: 298px;
    aspect-ratio: auto;
  }

  .tour-card-large .tour-card-image {
    width: 776px;
    height: 260px;
    aspect-ratio: auto;
  }

  .tour-title {
    font-size: 30px;
    line-height: 1.3;
  }

  .tour-date {
    font-size: 19px;
  }

  .tour-price {
    font-size: 30px;
  }

  .tour-meta {
    gap: 24px;
  }

  .tour-tag {
    font-size: 16px;
    padding: 4px 12px;
  }

  /* Flight Tours Section */
  .flight-tours {
    padding: 64px 32px;
  }

  .flight-tours-title {
    font-size: 24px;
  }

  /* Modal */
  .modal {
    width: auto;
  }

  .modal-body {
    padding: 32px;
  }

  .agent-modal .modal-body {
    padding: 40px 48px;
  }

  /* Map Container */
  .map-container iframe {
    height: 240px;
  }

  .map-container-full iframe {
    height: 100%;
  }

  /* Booking Content */
  .booking-content {
    padding: 48px 32px;
  }

  /* Info Card */
  .info-card {
    padding: 32px;
  }

  /* Weight Info */
  .weight-divider {
    display: block;
  }

  /* Aircraft Grid */
  .aircraft-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Plan Detail */
  .plan-detail {
    padding: 64px 32px;
  }

  .plan-images {
    grid-template-columns: repeat(3, 1fr);
  }

  /* FAQ */
  .faq-header {
    padding: 16px 48px;
  }

  .faq-answer {
    padding: 0 48px 16px;
  }

  /* Button */
  .btn-lg {
    padding: 18px 48px;
    font-size: 18px;
  }

  /* Footer */
  .footer {
    padding: 48px 0;
  }

  .footer-logo img {
    width: 308px;
  }

  /* Specs Grid */
  .specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Grid Column Span */
  .grid-col-span-2 {
    grid-column: span 2;
  }
}

/* ===== Loading Overlay ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #ccc;
  border-top: 4px solid #b8860b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Flight Legs (Inquiry Form) ===== */
.flight-leg-row {
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

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

.flight-leg-number {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}

.flight-leg-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.flight-leg-fields .input-box {
  margin-bottom: 0;
}

.remove-leg-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--color-text-gray);
  transition: color var(--transition-fast);
  border-radius: 4px;
}

.remove-leg-btn:hover {
  color: var(--color-burgundy);
  background: rgba(167, 41, 22, 0.1);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: white;
}

.btn-outline svg {
  width: 16px;
  height: 16px;
}

/* Inquiry Link */
.link-inquiry {
  color: var(--color-blue);
  font-size: 14px;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.link-inquiry:hover {
  color: var(--color-blue-hover);
}

/* Responsive - Flight Legs */
@media (max-width: 768px) {
  .flight-leg-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== Agent Authentication ===== */
.agent-info-box {
  background: var(--color-bg-gray-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agent-badge {
  display: inline-block;
  background: var(--color-gold);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}

.discount-badge {
  display: inline-block;
  background: var(--color-burgundy);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-error {
  background: rgba(212, 24, 61, 0.1);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

.alert-success {
  background: rgba(20, 194, 67, 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

/* ===== 必須項目バリデーションのエラー表示 ===== */
/* .input-text / .input-box は枠線がラッパ側、.select-box は内側 select 側 */
.form-group.has-error .input-text,
.form-group.has-error .input-box {
  border-color: var(--color-error);
}
.form-group.has-error .select-box select,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--color-error);
}
.field-error-msg {
  color: var(--color-error);
  font-size: 12px;
  margin-top: 6px;
}

#agent-discount-info {
  color: var(--color-burgundy);
  font-weight: 600;
}

/* ===== Language Switcher ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.lang-switch .lang-active {
  color: var(--color-text);
  font-weight: 700;
}

.lang-switch .lang-link {
  color: var(--color-text-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-switch .lang-link:hover {
  color: var(--color-text);
}

/* ===== LEXUS FLIGHT Brand Overrides ===== */
[data-brand="lexus"] {
  --color-burgundy: #000000;
  --color-burgundy-hover: #333333;
  --color-gold: #000000;
  --color-gold-hover: #333333;
  --color-text: #403d3c;
  /* FONTPLUS Webフォント: 欧文=Nobel（Book400/Regular500/Bold700）、和文=Lexus Rodin（M400/DB500/B700） */
  font-family: "Nobel", "Lexus Rodin", sans-serif;
}

/* LEXUS Webフォントは 400/500/700 のみ提供のため、200→400 / 600→500 に寄せる */
[data-brand="lexus"] .hero-title,
[data-brand="lexus"] .section-title,
[data-brand="lexus"] .font-light {
  font-weight: 400;
}

[data-brand="lexus"] .hero-subtitle,
[data-brand="lexus"] .section-label,
[data-brand="lexus"] #agent-discount-info,
[data-brand="lexus"] .terms-content .terms-company,
[data-brand="lexus"] .terms-content h3,
[data-brand="lexus"] .terms-content .terms-table th {
  font-weight: 500;
}

[data-brand="lexus"] .header {
  background: #fff;
}

[data-brand="lexus"] .footer {
  background: #fff;
}

[data-brand="lexus"] .btn-burgundy {
  background: var(--color-burgundy);
}

[data-brand="lexus"] .btn-burgundy:hover {
  background: var(--color-burgundy-hover);
}

[data-brand="lexus"] .btn-gold {
  background: var(--color-gold);
}

[data-brand="lexus"] .btn-gold:hover {
  background: var(--color-gold-hover);
}

/* ========================================
   Terms of Service Page
   ======================================== */
.terms-page {
  padding: 4rem 0;
}

.terms-page .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.terms-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.terms-content .terms-company {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.terms-content .terms-preamble {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.terms-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #d1d5db;
}

.terms-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.terms-content p {
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.terms-content .article-item {
  padding-left: 1.5rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.terms-content .article-subitem {
  padding-left: 3rem;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.terms-content .terms-footer {
  margin-top: 2.5rem;
  text-align: right;
  line-height: 1.8;
}

.terms-content .terms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}

.terms-content .terms-table th,
.terms-content .terms-table td {
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.9rem;
  text-align: left;
  line-height: 1.6;
  vertical-align: top;
}

.terms-content .terms-table th {
  background-color: #f3f4f6;
  font-weight: 600;
}

.checkbox-label .terms-agree-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-label .terms-agree-link:hover {
  opacity: 0.7;
}

/* ===========================================
   モバイル専用調整 (max-width: 767px)
   PC (>=768px) には適用されない補集合ブロック
   =========================================== */
@media (max-width: 767px) {
  /* ヒーローのコピーを上に上げ、重なるタブボタン(margin-top:-85px)に隠れないようにする */
  .hero-content {
    padding: 24px 24px 100px;
  }

  /* タブラベルの折り返し制御。CJKの任意位置改行を抑止し、
     「ビジネス<wbr>ジェット」の <wbr> 位置でのみ改行させる */
  .tab-btn span {
    word-break: keep-all;
    line-height: 1.25;
  }

  /* 日付・時刻フォーム: 縦積み時に中央寄せに見えるのを左寄せに統一。
     ネイティブの中央表示を解除して text-align を効かせる */
  .input-box input[type="date"],
  .input-box input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    text-align: left;
  }
  .time-select-group {
    justify-content: flex-start;
    gap: 14px;
    width: 100px;
  }
  .time-select {
    text-align: left;
  }

  /* 「機体を選択する」ボタン: <wbr> 位置(機体を／選択する)でのみ改行させる */
  #open-aircraft-modal {
    word-break: keep-all;
    line-height: 1.25;
  }

  /* 確認画面ボタンの段ズレ対策。「内容修正」は1行で保持し、
     「リクエスト予約を送信」をやや小さくして折返しの崩れを防ぐ */
  .booking-confirm-actions {
    gap: 12px;
  }
  .booking-confirm-actions #back-to-form {
    padding: 16px 28px;
    font-size: 16px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .booking-confirm-actions #submit-booking {
    padding: 18px 16px;
    font-size: 15px;
    flex: 1 1 auto;
    min-width: 0;
  }

  /* 搭乗者テーブル: 生年月日(date input)がネイティブ幅で隣のアレルギー欄に
     はみ出すのを防ぐ。appearance リセットで width:100%/border を効かせる
     （iOS WebKit / Android Blink 両対応）。PCはネイティブ表示を残すためモバイル限定 */
  .passenger-table-row input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    /* appearance リセットで失われたネイティブ高さを補い、隣のテキスト入力と高さを揃える
       (padding 8px*2 + font 14px*line-height + border 1px*2 ≒ 38px / box-sizing:border-box) */
    min-height: 38px;
    line-height: 1.4;
  }
}
