@charset "UTF-8";
/* =========================================
   PuPu COLLECTION - 予約フォーム
   ========================================= */

.pupu-reservation-form {
  max-width: 720px;
  margin: 0 auto;
}

/* =========================================
   セレクトボックス
   ========================================= */
.res-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.res-selects label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text-on-light);
}

.res-selects select {
  padding: 12px 16px;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: #fff;
  color: var(--c-text-on-light);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}


/* =========================================
   カレンダー
   ========================================= */
.res-calendar {
  margin-bottom: 24px;
}

.res-calendar__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.res-calendar__month {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-on-light);
  min-width: 140px;
  text-align: center;
}

.res-calendar__prev,
.res-calendar__next {
  background: none;
  border: 1px solid var(--c-border-light);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-text-muted-on-light);
  transition: all 0.2s;
}

.res-calendar__prev:hover,
.res-calendar__next:hover {
  background: var(--c-accent-on-light);
  color: #fff;
  border-color: var(--c-accent-on-light);
}

.res-calendar__table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.res-calendar__table th {
  padding: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text-muted-on-light);
  border-bottom: 1px solid var(--c-border-light);
}

.res-calendar__table th:first-child { color: #e57373; }
.res-calendar__table th:last-child  { color: #5c9ce6; }

.res-calendar__day {
  padding: 10px;
  font-size: 0.88rem;
  cursor: default;
  transition: all 0.2s;
}

.res-calendar__day--disabled {
  color: var(--c-border-light);
}

.res-calendar__day--available {
  cursor: pointer;
  font-weight: 700;
  color: var(--c-accent-on-light);
  position: relative;
}

.res-calendar__day--available::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent-on-light);
}

.res-calendar__day--available:hover {
  background: rgba(0, 112, 74, 0.08);
  border-radius: 50%;
}

.res-calendar__day--selected {
  background: var(--c-accent-on-light) !important;
  color: #fff !important;
  border-radius: 50%;
}

.res-calendar__day--selected::after {
  background: #fff;
}

/* ホテル：チェックイン日 */
.res-calendar__day--checkin {
  background: var(--c-accent-on-light) !important;
  color: #fff !important;
  border-radius: 50% 0 0 50%;
}

.res-calendar__day--checkin::after {
  background: #fff;
}

/* ホテル：チェックアウト日 */
.res-calendar__day--checkout {
  background: var(--c-accent-on-light) !important;
  color: #fff !important;
  border-radius: 0 50% 50% 0;
}

.res-calendar__day--checkout::after {
  background: #fff;
}

/* ホテル：範囲内の日 */
.res-calendar__day--range {
  background: rgba(0, 112, 74, 0.12) !important;
  color: var(--c-accent-on-light) !important;
  border-radius: 0;
}

/* ホテル：ガイドテキスト */
.res-calendar__guide {
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-accent-on-light);
  font-weight: 700;
  margin-bottom: 12px;
}

.res-calendar__guide i {
  margin-right: 4px;
}

/* 選択エラー */
.res-selected-info__inner--error {
  background: rgba(229, 115, 115, 0.08);
  border-color: rgba(229, 115, 115, 0.3);
  color: #e57373;
}

.res-selected-info__inner--error i {
  color: #e57373;
}


/* =========================================
   時間帯
   ========================================= */
.res-timeslots {
  margin-bottom: 24px;
}

.res-timeslots__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.res-timeslots__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.res-timeslots__btn:hover {
  border-color: var(--c-accent-on-light);
  background: rgba(0, 112, 74, 0.04);
}

.res-timeslots__btn.is-selected {
  background: var(--c-accent-on-light);
  border-color: var(--c-accent-on-light);
  color: #fff;
}

.res-timeslots__time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-on-light);
}

.res-timeslots__btn.is-selected .res-timeslots__time {
  color: #fff;
}

.res-timeslots__remain {
  font-size: 0.68rem;
  color: var(--c-text-muted-on-light);
}

.res-timeslots__btn.is-selected .res-timeslots__remain {
  color: rgba(255, 255, 255, 0.8);
}

.res-timeslots__empty {
  text-align: center;
  color: var(--c-text-muted-on-light);
  font-size: 0.88rem;
  padding: 24px;
}


/* =========================================
   選択済み情報
   ========================================= */
.res-selected-info {
  margin-bottom: 32px;
}

.res-selected-info__inner {
  background: rgba(0, 112, 74, 0.06);
  border: 1px solid rgba(0, 112, 74, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--c-accent-on-light);
  text-align: center;
}

.res-selected-info__inner i {
  color: var(--c-accent-on-light);
  margin-right: 4px;
}


/* =========================================
   フォーム入力欄
   ========================================= */
.res-section {
  margin-bottom: 32px;
}

.res-section__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text-on-light);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-accent-on-light);
  margin-bottom: 20px;
}

.res-field {
  margin-bottom: 16px;
}

.res-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text-on-light);
  margin-bottom: 6px;
}

.res-field label .required {
  color: #e57373;
  font-size: 0.72rem;
  margin-left: 4px;
}

.res-field input[type="text"],
.res-field input[type="email"],
.res-field input[type="tel"],
.res-field input[type="number"],
.res-field select,
.res-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: #fff;
  color: var(--c-text-on-light);
  box-sizing: border-box;
}

.res-field input:focus,
.res-field select:focus,
.res-field textarea:focus {
  outline: none;
  border-color: var(--c-accent-on-light);
  box-shadow: 0 0 0 3px rgba(0, 112, 74, 0.1);
}

.res-field .note {
  font-size: 0.75rem;
  color: var(--c-text-muted-on-light);
  margin-top: 4px;
}

.res-radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.res-radio-group label {
  font-weight: 400;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}


/* =========================================
   送信ボタン
   ========================================= */
.res-submit {
  margin-top: 40px;
  text-align: center !important;
}

.res-submit p {
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.res-submit input[type="submit"],
.res-submit .wpcf7-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 48px;
  background: var(--c-accent-on-light);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(0, 112, 74, 0.2);
}

.res-submit input[type="submit"]:hover {
  background: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 112, 74, 0.3);
}


/* =========================================
   ローディング
   ========================================= */
.res-loading {
  text-align: center;
  padding: 40px;
  color: var(--c-text-muted-on-light);
}


/* =========================================
   レスポンシブ
   ========================================= */
@media (max-width: 599px) {
  .res-selects {
    grid-template-columns: 1fr;
  }

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


/* =========================================
   サンクスページ
   ========================================= */
.res-thanks {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.res-thanks__icon {
  font-size: 3rem;
  color: var(--c-accent-on-light);
  margin-bottom: 24px;
}

.res-thanks__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--c-text-on-light);
  margin-bottom: 20px;
}

.res-thanks__desc {
  font-size: 0.9rem;
  color: var(--c-text-muted-on-light);
  line-height: 2;
  margin-bottom: 24px;
}

.res-thanks__info {
  background: var(--c-bg-2);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--c-text-on-light);
}

.res-thanks__info a {
  color: var(--c-accent-on-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.res-thanks__btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
