@charset "UTF-8";

:root {
  --gold: #A27D30;
  --gold-light: #A27D30;
  --navy: black;
  --text: black;
  --text-light:black;
  --border: #d8d0c4;
  --bg: #faf9f7;
  --input-bg: #f5f3ef;
}

body{
  font-family: 'Noto Serif JP', serif !important;
}
/* thanks ページのみ flex レイアウト */
body.page-thanks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-thanks main {
  flex: 1;
}
/* ===== HERO ===== */
.hero {
  background: #fff;
  text-align: center;
  padding: 180px 20px 50px;
  animation: fadeUp 0.7s ease both;
}

/* confirmation ページのヒーローは padding 調整 */
.hero--confirm {
  padding-bottom: 40px;
}

.hero-label {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  /* letter-spacing: 0.35em; */
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* confirmation / thanks ページの h1 はやや小さく */
.hero--confirm h1,
.hero--thanks h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto 20px;
}

.hero-desc {
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* confirmation ページの hero-desc は margin-top なし */
.hero--confirm .hero-desc {
  margin-top: 0;
}

.required-note {
  margin-top: 10px;
  font-size: 15px;
  color: black;
  letter-spacing: 0.03em;
}

.required-note::before {
  content: '※';
  color: #c04040;
}

/* ===== FORM WRAPPER ===== */
.form-wrap {
  max-width: 695px;
  margin: 0 auto;
  padding: 0 20px 80px;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* ===== FORM TABLE ===== */
.form-table {
  width: 100%;
  border-collapse: collapse;
}

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

.form-table tr:first-child {
  border-top: 1px solid var(--border);
}

.form-table th {
  width: 180px;
  padding: 22px 16px 22px 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.form-table td {
  padding: 18px 0;
  vertical-align: top;
}

.req {
  color: #c04040;
  margin-left: 2px;
  font-size: 12px;
}

/* ===== INPUTS ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: calc(100% - 28px) !important;
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 11px 14px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
select{
  width:100% !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #b0a898;
  font-size: 12px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23b89a5a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}

/* ===== INLINE NUMBER INPUTS ===== */
.inline-num {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inline-num label {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

.num-adult {
  width: 140px !important;
}

.num-child {
  width: 120px !important;
}

/* ===== CHECKBOXES / RADIOS ===== */
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.check-group.cols2 {
  gap: 8px 0;
  flex-direction: column;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  letter-spacing: 0.02em;
  font-family: 'Noto Serif JP', serif;
}

.check-item input[type="checkbox"],
.check-item input[type="radio"] {
  width: 15px;
  height: 15px;
  border: 1px solid #7C7C7C; /* ← 未選択時も #7C7C7C に統一 */
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.check-item input[type="radio"] {
  border-radius: 50%;
}

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

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

/* ラジオボタン：選択時は背景白・枠 #7C7C7C をキープ */
.check-item input[type="radio"]:checked {
  background: #fff;
  border-color: #7C7C7C;
}

/* 内側の丸を #00A2FF に */
.check-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00A2FF;
}

/* ===== PLAN ITEM ===== */
.plan-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 8px;
}

.plan-item:last-child { margin-bottom: 0; }

.plan-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border: 1px solid var(--border);
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

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

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

/* ===== FIELD HINT / NOTE ===== */
/* 「ご希望の有無を選択してください。」などの補助テキスト */
.field-hint {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 10px;
  font-family: 'Noto Serif JP', serif;
}

/* 「※複数選択可」などの注釈 */
.note-sub {
  font-size: 11px;
  color: #999;
  font-weight: 300;
  display: block;
}

/* ===== ROOM IMAGE ===== */
.room-options {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.room-img-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 180px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 14px;
}

.room-img-slide {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-img-slide > div {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
}

.room-img-slide > div img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-img-large {
  background: linear-gradient(145deg, #9a8060 0%, #5a4030 50%, #3a2818 100%);
}

.room-img-small {
  background: linear-gradient(145deg, #607080 0%, #304050 50%, #182030 100%);
}

.room-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  color: #fff;
  font-family: 'EB Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 14px 10px 8px;
  pointer-events: none;
}

/* 部屋名テキスト（スライド内） */
.room-label-text {
  text-align: center;
  line-height: 1.6;
}

.room-label-sub {
  font-size: 11px;
  opacity: 0.7;
}

/* ===== CALENDAR ===== */
.cal-wrap { position: relative; }

.cal-input-btn {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 11px 14px;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s, background 0.2s;
}

.cal-input-btn:hover,
.cal-input-btn.open {
  border-color: var(--gold);
  background: #fff;
}

.cal-input-btn .placeholder {
  color: #b0a898;
  font-size: 12px;
}

.cal-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}

.cal-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  z-index: 200;
  padding: 16px;
  min-width: 300px;
  animation: fadeDown 0.18s ease both;
}

.cal-dropdown.open { display: block; }

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

.cal-nav {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
  transition: color 0.15s;
}

.cal-nav:hover { color: var(--navy); }

.cal-month-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.06em;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day-header {
  text-align: center;
  font-size: 10px;
  color: var(--text-light);
  padding: 4px 0 8px;
  letter-spacing: 0.04em;
}

.cal-day-header.sun { color: #c04040; }
.cal-day-header.sat { color: #4060c0; }

.cal-day {
  text-align: center;
  padding: 6px 2px;
  font-size: 12px;
  color: var(--text);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

.cal-day:hover:not(.empty):not(.past) {
  background: var(--input-bg);
  color: var(--gold);
}

.cal-day.selected {
  background: var(--gold);
  color: #fff !important;
}

.cal-day.today {
  font-weight: 700;
  color: var(--gold);
}

.cal-day.past  { color: #ccc; cursor: default; }
.cal-day.empty { cursor: default; }
.cal-day.sun:not(.empty):not(.past) { color: #c04040; }
.cal-day.sat:not(.empty):not(.past) { color: #4060c0; }
.cal-day.sun.selected,
.cal-day.sat.selected { color: #fff !important; }

/* ===== DIVIDER ===== */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 50px 0 40px;
}

/* ===== PRIVACY (form page) ===== */
.privacy-section {
  text-align: center;
  margin-bottom: 40px;
}

.privacy-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.privacy-text {
  font-size: 12px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 16px;
}

.privacy-text a {
  color: var(--gold);
  text-decoration: underline;
}

.privacy-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  margin-top: 14px;
}

.privacy-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.privacy-agree input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.privacy-agree input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ===== SUBMIT BUTTON ===== */
.submit-wrap {
  text-align: center;
  margin-top: 30px;
}

.btn-submit {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  padding: 16px 60px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
  min-width: 260px;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ===== CONFIRMATION PAGE ===== */
.confirm-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 80px;
  animation: fadeUp 0.7s 0.15s ease both;
}

.conf-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

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

.conf-table tr:first-child {
  border-top: 1px solid var(--border);
}

.conf-table th {
  width: 160px;
  padding: 18px 16px 18px 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.conf-table td {
  padding: 18px 0;
  font-size: 14px;
  color: var(--text);
  vertical-align: top;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.conf-table td.empty-val {
  color: #bbb;
  font-size: 13px;
}

.privacy-notice {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 36px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #888;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 15px 0;
  border: none;
  cursor: pointer;
  width: 200px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-edit:hover { background: #666; transform: translateY(-1px); }

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 15px 0;
  border: none;
  cursor: pointer;
  width: 200px;
  transition: background 0.2s, transform 0.15s;
}

.btn-send:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ===== THANKS PAGE ===== */
.thanks-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 100px;
}

.thanks-label {
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
  animation: fadeUp 0.6s ease both;
}

.thanks-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.5;
  animation: fadeUp 0.6s 0.1s ease both;
}

.thanks-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 28px auto 28px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.thanks-body {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2.4;
  letter-spacing: 0.04em;
  animation: fadeUp 0.6s 0.3s ease both;
  max-width: 560px;
  margin: 0 auto !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .inline-num{
    flex-direction: column;
    align-items: start;
  }

  .form-table th { padding-bottom: 4px; border-bottom: none; }
  .form-table tr { padding: 12px 0; }
  .hero h1 { font-size: 22px; }

  .conf-table th,
  .conf-table td { display: block; width: 100%; }
  .conf-table th { padding-bottom: 2px; border-bottom: none; font-size: 11px; }

  .btn-row { flex-direction: column; align-items: center; }
  .btn-edit,
  .btn-send { width: 100%; max-width: 300px; }

  .thanks-heading { font-size: 24px; }
}