@charset "utf-8";

/* ==============================================
ご予約プランページ 専用CSS
============================================== */

:root{
  --r-sub: #4a4460; 
}

.utility{ font-family: 'Zen Kaku Gothic New', sans-serif; }

/* ================= HERO ================= */
.reservation-hero{
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h) - var(--nav-h, 64px));
  min-height: 420px;
  overflow: hidden;
}

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

/* 写真の明暗にかかわらず文字を読みやすくするための暗幕 */
.reservation-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(45,0,77,0.55) 0%, rgba(45,0,77,0.22) 38%, rgba(45,0,77,0.38) 100%);
  pointer-events: none;
}

.reservation-hero-badge{
  position: absolute;
  z-index: 2;
  left: 5%;
  top: 12%;
  width: 220px;
  height: 220px;
  background: rgba(204,204,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--purple);
}

.reservation-hero-text{
  position: absolute;
  z-index: 2;
  right: 6%;
  top: 14%;
  text-align: right;
  max-width: 560px;
}

.reservation-hero-text .script{
  font-family: 'La Belle Aurore', cursive;
  font-size: clamp(28px, 4.2vw, 48px);
  color: var(--paper);
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.reservation-hero-text .sub{
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--paper);
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

@media (max-width: 800px){
  .reservation-hero-badge{ width: 150px; height: 150px; font-size: 19px; left: 6%; top: 8%; }
  .reservation-hero-text{ left: 6%; right: 6%; text-align: left; top: auto; bottom: 8%; }
}

/* ================= 共通見出し ================= */
.section-head{
  text-align: center;
  padding: 0 6%;
  margin-bottom: 48px;
}

.en-title{
  font-family: 'Castoro', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--yellow);
  margin-bottom: 18px;
}

.divider{
  width: 100%;
  max-width: 900px;
  height: 0;
  border-top: 3px solid var(--lavender);
  margin: 0 auto 24px;
}

.lead{
  font-size: 16px;
  line-height: 2;
  max-width: 860px;
  margin: 0 auto;
}

/* ================= ご予約の流れ(STEP) ================= */
.steps-section{ padding: 90px 6%; }

.steps{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step-label{
  font-family: 'Castoro', serif;
  font-size: 22px;
  color: var(--purple);
}

.step-circle{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.5;
}

.step-arrow{
  font-size: 22px;
  color: var(--lavender);
}

@media (max-width: 760px){
  .steps{ flex-direction: column; gap: 28px; }
  .step-arrow{ transform: rotate(90deg); }
}

/* ================= PLAN セクション ================= */
.plan-section{ padding: 0 6% 90px; }
.plan-section .section-head{ padding: 90px 0 0; }

.plan-card{
  max-width: 1200px;
  margin: 0 auto 60px;
  border: 1px solid var(--lavender);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.plan-bar{
  background: var(--lavender);
  padding: 20px 28px;
  font-size: 19px;
  font-weight: 600;
  color: var(--purple);
  line-height: 1.6;
}

.plan-body{
  display: flex;
  gap: 40px;
  padding: 32px 28px;
}

.plan-text{
  flex: 1 1 55%;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--r-sub);
}

.plan-note{
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.05em;
  background: var(--mint, #E7F7F4);
  color: var(--purple);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.plan-highlight{
  font-size: 17px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}

.plan-detail{ margin-top: 24px; }
.plan-detail dt{
  font-weight: 700;
  color: var(--purple);
  margin-top: 20px;
  margin-bottom: 6px;
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
}
.plan-detail dt:first-child{ margin-top: 0; }
.plan-detail dd{ padding-left: 15px; }
.plan-detail .note{ font-size: 13px; color: #8a8398; }

.plan-media{
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-main-photo{ aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; }
.plan-main-photo img{ width: 100%; height: 100%; object-fit: cover; }

.plan-thumbs{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.thumb{ aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; }
.thumb img{ width: 100%; height: 100%; object-fit: cover; }

.btn-plan{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: var(--purple);
  color: var(--yellow);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-top: 8px;
}

@media (max-width: 900px){
  .plan-body{ flex-direction: column; }
  .plan-bar{ font-size: 16px; }
}

@media (max-width: 480px){
  .plan-thumbs{ grid-template-columns: repeat(2, 1fr); }
}

/* ================= 空室状況 ================= */
.availability-section{ padding: 0 6% 120px; }

.availability-box{
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
  background: var(--lavender);
  border: 3px solid var(--yellow);
  border-radius: 8px;
}

.calendar-wrap{
  flex: 1 1 420px;
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
}

.calendar-wrap .flatpickr-calendar{
  width: 100% !important;
  max-width: 420px;
  box-shadow: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 15px;
}

.availability-form{
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.field-row{
  display: flex;
  align-items: center;
  gap: 18px;
}

.field-row label{
  flex: 0 0 110px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
}

.field-row select,
.field-row input[type="text"]{
  flex: 1;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid var(--gray);
  border-radius: 6px;
  background: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  color: var(--purple);
}

.field-row select{ cursor: pointer; }

/* 人数のプラスマイナスステッパー(タップしやすい大きめボタン) */
.stepper{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stepper-btn{
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--purple);
  background: #fff;
  color: var(--purple);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.stepper-btn:active{ background: var(--yellow); }

.stepper input{
  flex: 1;
  min-height: 48px;
  text-align: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  border: 1px solid var(--gray);
  border-radius: 6px;
  background: #fff;
}

.search-btn{
  margin-top: 8px;
  min-height: 58px;
  background: var(--yellow);
  border: none;
  border-radius: 6px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  transition: filter .2s ease;
}
.search-btn:hover{ filter: brightness(0.94); }

@media (max-width: 800px){
  .availability-box{ flex-direction: column; padding: 20px; }
  .field-row{ flex-wrap: wrap; }
  .field-row label{ flex: none; width: 100%; }
  .field-row select,
  .field-row input[type="text"]{ width: 100%; }
}

/* flatpickr のブランドカラー上書き */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange{
  background: var(--purple) !important;
  border-color: var(--purple) !important;
  color: var(--yellow) !important;
}
.flatpickr-day.inRange{
  background: rgba(45,0,77,0.12) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.flatpickr-day.today{ border-color: var(--yellow) !important; }