/* --- フォント設定 --- */
@font-face {
  font-family: 'LRFont';
  font-style: normal;
  font-weight: lighter;
  src: url('https://jlr-japan.com/landrover/fonts/LandRoverWeb-Medium.woff') format('woff');
}

/* --- リセット & 基本設定 --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: #ffffff;
  color: #1a1a1a;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

body {
  padding: 40px 15px;
}

a, span, table, tr, td, th, h1, h2 {
  font-family: inherit;
  color: inherit;
}

h1 {
  font-size: 1.4rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 400;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 400;
}

p {
  font-size: 14px;
  line-height: 1.8;
}

/* --- テーブル・レイアウト --- */
.content-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

.content-table img {
  width: 100%;
  height: auto;
  display: block;
}

.section-spacing {
  height: 30px;
}

.line-spacing {
  height: 10px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

/* --- フォームセクション & ヘッダー --- */
.header {
  text-align: center;
  margin-bottom: 40px;
}
.header h1 {
  font-size: 24px;
  letter-spacing: 0.2em;
  color: #000;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.divider {
  width: 40px;
  height: 1px;
  background-color: #000;
  margin: 0 auto 40px auto;
}

.section-title {
  font-size: 18px;
  color: #000;
  letter-spacing: 0.15em;
  margin-top: 40px;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.form-group {
  margin-bottom: 30px;
}
.form-group label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: #4a4a4a;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}

/* バッジデザイン */
.badge-req {
  background-color: #000;
  color: #fff;
  font-size: 10px;
  padding: 3px 7px;
  margin-left: 10px;
  font-weight: bold;
  vertical-align: middle;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.badge-sentence {
  background-color: #000;
  color: #fff;
  font-size: 16px;
  padding: 8px 10px;
  font-weight: bold;
  vertical-align: middle;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  display: inline-block;
}
.badge-attention {
  background-color: #000;
  color: #fff;
  width:100%;
  font-size: 13px;
  padding: 8px 80px;
  font-weight: bold;
  vertical-align: middle;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  display: inline-block;
}
.badge-opt {
  background-color: #f2f2f2;
  color: #777;
  font-size: 10px;
  padding: 3px 7px;
  margin-left: 10px;
  vertical-align: middle;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.badge-attent {
  background-color: #000;
  color: #fff;
  font-size: 12px;
  padding: 3px 7px;
  margin-left: 10px;
  vertical-align: middle;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.note {
  font-size: 11px;
  color: #888;
  margin-top: 6px;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}

/* --- 入力要素のスタイル --- */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 14px 18px;
  background-color: #fff;
  border: 1px solid #E0E0E0;
  color: #222;
  -webkit-text-fill-color: #222;
  font-size: 15px;
  border-radius: 0;
  transition: all 0.3s;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
input:focus, select:focus {
  outline: none;
  border-color: #000;
}

select option {
  color: #222;
  -webkit-text-fill-color: #222;
}

/* 2列レイアウト */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 日程選択カスタムラジオ */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
}
.radio-card {
  position: relative;
}
.radio-card input {
  position: absolute;
  opacity: 0;
}
.radio-card label {
  display: block;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #E0E0E0;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  color: #333;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.radio-card input:checked + label {
  border-color: #000;
  background-color: #000;
  color: #fff;
}

/* --- 送信ボタン --- */
.submit-btn {
  width: 100%;
  padding: 20px;
  background-color: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  letter-spacing: 0.25em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 50px;
  text-transform: uppercase;
  transition: background-color 0.3s, transform 0.1s;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.submit-btn:hover {
  background-color: #333;
}
.submit-btn:disabled {
  background-color: #f2f2f2;
  color: #aaa;
  cursor: not-allowed;
}

.bgblgray {
  width: 100%;
  padding: 2%;
  background-color: #4B4F53;
  color: #ffffff;
}

/* --- 完了画面（thanks.html）用 --- */
.message-box {
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
  color: #333;
  margin-bottom: 50px;
}
.message-box p {
  margin-bottom: 20px;
}
.status-badge {
  display: inline-block;
  border: 1px solid #000;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}
.back-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  font-family: 'LRFont', "Minion Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.back-btn:hover {
  background-color: #000;
  color: #fff;
}

/* レスポンシブ調整 (スマホ) */
@media (max-width: 600px) {
  body { padding: 20px 10px; }
  .container { padding: 0 5px; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.2rem; }
  p { font-size: 0.95rem; line-height: 1.6; }
  .grid-2 { grid-template-columns: 1fr; gap: 15px; }
}

/* Program Schedule Checkbox UI */
.program-row { margin-bottom: 20px; border-bottom: 1px dashed #ccc; padding-bottom: 10px; }
.program-row strong { display: block; margin-bottom: 10px; font-size: 14px; font-weight: bold;}
.time-slot { display: inline-block; margin: 0 10px 10px 0; }
.time-slot label { background: #fff; border: 1px solid #E0E0E0; padding: 10px 15px; cursor: pointer; font-size: 13px; user-select: none; transition: 0.2s;}
.time-slot input[type="checkbox"] { display: none; }
.time-slot input[type="checkbox"]:checked + label { background: #000; color: #fff; border-color: #000; }
.time-slot input[type="checkbox"]:disabled + label { background: #eee; color: #aaa; cursor: not-allowed; border-color: #eee; text-decoration: line-through; }
.time-slot.waitlist label { border-color: #d32f2f; color: #d32f2f; }
.time-slot.waitlist input[type="checkbox"]:checked + label { background: #d32f2f; color: #fff; }
