/* =============================================================
   朝食付きプラン検索モーダル
   ============================================================= */

/* -------------------------------------------------------------
   モーダル基本
   ------------------------------------------------------------- */

.svc-breakfast-modal[hidden] {
  display: none !important;
}

.svc-breakfast-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.svc-breakfast-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.svc-breakfast-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;

  /*
   * PC幅：
   * 2ヶ月カレンダーの見た目に合わせる。
   * 狭くしたい場合は 820px / 800px あたりまで調整。
   */
  width: 560px;
  /* width: 680px; */
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);

  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  overflow: auto;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

/* 閉じるボタンは非表示：右上の月送りアイコンと被るため */
.svc-breakfast-modal__close {
  display: none !important;
}

body.is-svc-breakfast-modal-open {
  overflow: hidden;
}


/* -------------------------------------------------------------
   カレンダー
   ------------------------------------------------------------- */

.svc-breakfast-modal__calendar-wrap {
  min-height: 300px;
  padding: 0;
  background: #fff;

  display: flex;
  justify-content: center;
}

.svc-breakfast-modal__calendar {
  width: auto;
  display: flex;
  justify-content: center;
}

/* モーダル内のカレンダーは常時表示なので位置固定を解除 */
.svc-breakfast-modal .flatpickr-calendar {
  position: static !important;
  inset: auto !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  width: auto !important;
  z-index: 1 !important;
}

.svc-breakfast-modal .flatpickr-calendar.inline {
  display: block;
}

.svc-breakfast-modal .flatpickr-innerContainer,
.svc-breakfast-modal .flatpickr-rContainer {
  width: auto !important;
}

.svc-breakfast-modal .flatpickr-days {
  width: auto !important;
  min-height: 240px !important;
}

/* 1ヶ月分の幅と高さ */
.svc-breakfast-modal .dayContainer {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  min-height: 240px !important;
}


/* -------------------------------------------------------------
   下部操作エリア：人数選択 2列
   ------------------------------------------------------------- */

.svc-breakfast-modal__bottom {
  box-sizing: border-box;
  width: 100%;
  padding: 28px 32px 32px;
  border-top: 1px solid #eee;
  background: #fff;
}

.svc-breakfast-people {
  width: 100%;
}

.svc-breakfast-people__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
}

.svc-breakfast-people__item label {
  display: block;
  margin: 0 0 10px;
  color: #2e1d10;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.svc-breakfast-people__item select {
  width: 100%;
  height: 60px;
  padding: 0 52px 0 18px;

  border: 1px solid #cfc7bf;
  border-radius: 10px;
  background-color: #fff;

  background-image:
    linear-gradient(45deg, transparent 50%, #222 50%),
    linear-gradient(135deg, #222 50%, transparent 50%);
  background-position:
    calc(100% - 34px) 50%,
    calc(100% - 26px) 50%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;

  color: #222;
  font-size: 16px;
  font-weight: 500;
  line-height: 60px;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.svc-breakfast-modal__submit {
  display: block;
  min-width: 160px;
  height: 64px;
  margin: 28px 0 0 auto;
  padding: 0 36px;

  border: 0;
  border-radius: 12px;
  background: #fb8627;
  color: #fff;

  font-size: 18px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  box-shadow: 0 4px 0 rgba(150, 75, 0, .35);
}

.svc-breakfast-modal__submit:hover,
.svc-breakfast-modal__submit:focus-visible {
  filter: brightness(1.04);
}


/* -------------------------------------------------------------
   朝食付きプランボタン
   ------------------------------------------------------------- */

/*
 * 元CSSが .svc-breakfast-plan-btn a 前提でも、
 * button 化した後に同じ見た目を維持する。
 */
.svc-breakfast-plan-btn .svc-breakfast-plan-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 320px;
  max-width: 720px;
  padding: 18px 40px;

  border: 0;
  border-radius: 8px;
  background: #fb8627;
  color: #fff;

  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;

  text-decoration: none;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
}

.svc-breakfast-plan-btn .svc-breakfast-plan-open:hover,
.svc-breakfast-plan-btn .svc-breakfast-plan-open:focus-visible {
  filter: brightness(1.04);
}


.svc-bento-2meal-plan-btn a,
.svc-bento-2meal-plan-btn button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 320px;
  max-width: 720px;
  padding: 18px 40px;

  border: 0;
  border-radius: 8px;
  background: #fb8627;
  color: #fff;

  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
}

.svc-bento-2meal-plan-btn a:hover,
.svc-bento-2meal-plan-btn a:focus-visible,
.svc-bento-2meal-plan-btn button:hover,
.svc-bento-2meal-plan-btn button:focus-visible {
  filter: brightness(1.04);
}