/* ============================================================
   空室カレンダー ボトムシート — CSS
   ============================================================ */

/* ---- Overlay ---- */
.vc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.vc-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ---- Bottom Sheet ---- */
.vc-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-radius: 20px 20px 0 0;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.vc-sheet.is-active {
  transform: translateY(0);
  pointer-events: auto;
}

/* ---- Sheet Handle ---- */
.vc-sheet__handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
  cursor: grab;
  flex-shrink: 0;
}
.vc-sheet__handle::before {
  content: '';
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #d0d0d0;
}

/* ---- Sheet Header ---- */
.vc-sheet__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
  position: relative;
}
.vc-sheet__title {
  font-family: var(--font-family-Zen-Mi);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy, #0B2E5E);
  text-align: center;
}
.vc-sheet__close {
  position: absolute;
  right: 20px;
  top: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.vc-sheet__close::before,
.vc-sheet__close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: #666;
  border-radius: 1px;
}
.vc-sheet__close::before { transform: rotate(45deg); }
.vc-sheet__close::after  { transform: rotate(-45deg); }
.vc-sheet__close:hover {
  background: #e0e0e0;
}
.vc-sheet__close:hover::before,
.vc-sheet__close:hover::after {
  background: #333;
}

/* ---- Sheet Body (scrollable) ---- */
.vc-sheet__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1;
  padding: 0 16px 24px;
}

/* ---- Hotel Tabs ---- */
.vc-tabs {
  display: flex;
  gap: 3px;
  padding: 14px 0 10px;
  flex-shrink: 0;
  justify-content: center;
}
.vc-tabs::-webkit-scrollbar { display: none; }

/* ---- Tab Scroll Hint (on header border-bottom) ---- */
.vc-tabs-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--font-family-Zen-Go, sans-serif);
  color: var(--color-navy, #0B2E5E);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 9999px;
  padding: 3px 14px;
  white-space: nowrap;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  display:none!important;
}
.vc-tabs-hint.is-visible {
  opacity: 1;
}
.vc-tabs-hint.is-hiding {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vc-tab {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-size: 2.2vw;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #45474D;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-family-Zen-Go, sans-serif);
  text-align: center;
  line-height: 1.3;
  min-width: 0;
  white-space: nowrap;
}
.vc-tab:hover { background: #f5f6fa; }
.vc-tab.is-active {
  background: var(--color-navy, #0B2E5E);
  color: #fff;
  border-color: var(--color-navy, #0B2E5E);
  letter-spacing: -1px;
  font-size: 1rem;
  font-size: 2.8vw;
}

/* ---- Month Nav ---- */
.vc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 0;
}
.vc-nav__btn {
  background: none;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: background 0.15s;
  color: #333;
}
.vc-nav__btn:hover { background: #f5f6fa; }
.vc-nav__btn:disabled { opacity: 0.3; pointer-events: none; }
.vc-nav__label {
  font-family: var(--font-family-Zen-Go, sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 120px;
  text-align: center;
  color: var(--color-navy, #0B2E5E);
}

/* ---- Calendar Grid ---- */
.vc-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f7f7f7;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.vc-weekday {
  padding: 10px 0;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #666;
  font-family: var(--font-family-Zen-Go, sans-serif);
}
.vc-weekday--sun { color: #e53935; }
.vc-weekday--sat { color: #1e88e5; }

.vc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #eaeaea;
  border: 1px solid #eaeaea;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.vc-cell {
  background: #fff;
  padding: 10px 4px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.vc-cell:active { transform: scale(0.96); }

.vc-cell--avail  { background: #fff; }
.vc-cell--few    { background: #fff; }
.vc-cell--full   { background: #fff; }
.vc-cell--none   { background: #fafafa; cursor: default; pointer-events: none; }
.vc-cell--empty  { background: #fafafa; pointer-events: none; }
.vc-cell--today  { outline: 2px solid #1a73e8; outline-offset: -2px; border-radius: 6px; }

.vc-cell__day {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  font-family: var(--font-family-Zen-Go, sans-serif);
}
.vc-cell__status {
  font-size: 1.4rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}
.vc-cell--avail  .vc-cell__status { background: #e8f5e9; color: #2e7d32; }
.vc-cell--few    .vc-cell__status { background: #fff3e0; color: #e65100; }
.vc-cell--full   .vc-cell__status { background: #fce4ec; color: #c62828; }
.vc-cell--none   .vc-cell__status { color: #bbb; background: none; }
.vc-cell__day--sun { color: #e53935; }
.vc-cell__day--sat { color: #1e88e5; }
.vc-cell__day--holiday { color: #e53935; }

/* ---- Legend ---- */
.vc-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 0 0;
  font-size: 1.1rem;
  color: #333;
  font-family: var(--font-family-Zen-Go, sans-serif);
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 12px;
}
.vc-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vc-legend__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* ---- Loading / Error ---- */
.vc-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  flex-direction: column;
  gap: 14px;
  color: #888;
  font-size: 1.3rem;
  font-family: var(--font-family-Zen-Go, sans-serif);
}
.vc-loading__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #eee;
  border-top-color: var(--color-navy, #0B2E5E);
  border-radius: 50%;
  animation: vc-spin 0.8s linear infinite;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }

.vc-error {
  padding: 40px 20px;
  text-align: center;
  color: #c62828;
  font-size: 1.3rem;
}

/* ---- Body scroll lock ---- */
body.vc-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* ---- Touch devices: disable sticky :hover ---- */
@media (hover: none) {
  a.c-btn:hover,
  .c-btn:hover,
  .button:hover {
    opacity: 1 !important;
  }
  .reservation-link a:hover {
    opacity: 1 !important;
    color: var(--color-white) !important;
    background: transparent !important;
  }
}

/* ---- PC: center modal ---- */
@media screen and (min-width: 1025px) {
  .vc-sheet {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
  }
  .vc-sheet.is-active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  .vc-sheet__handle {
    display: none;
  }
  .vc-sheet__header {
    padding: 24px 28px 20px;
  }
  .vc-sheet__title {
    font-size: 2rem;
  }
  .vc-sheet__close {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
  }
  .vc-sheet__close::before,
  .vc-sheet__close::after {
    width: 18px;
    height: 2.5px;
  }
  .vc-cell:hover {
    background: #f0f4ff;
  }
  .vc-tabs {
    cursor: grab;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 12px;
  }
  .vc-tab {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 10px 20px;
    font-size: 1.2rem;
  }
  .vc-tab br {
    display: none;
  }
  .vc-tab.is-active {
    font-size: 1.2rem;
    letter-spacing: normal;
  }
}
/* ============================================================
   インラインカレンダー
   ============================================================ */
.vc-inline {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 12px;
}

@media (min-width: 1025px) {
  .vc-inline .vc-weekday {
    font-size: 1.4rem;
    padding: 12px 0;
  }
  .vc-inline .vc-cell {
    min-height: 72px;
    padding: 12px 4px;
  }
  .vc-inline .vc-cell__day {
    font-size: 1.5rem;
  }
  .vc-inline .vc-cell__status {
    font-size: 1.2rem;
    padding: 3px 10px;
  }
  .vc-inline .vc-legend {
    font-size: 1.3rem;
    padding: 16px 12px 0;
  }
  .vc-inline .vc-nav__label {
    font-size: 1.8rem;
  }
}



.vc-tab.is-active[data-slug="hotel-europe"] {background: #3d240d;border-color:#3d240d;}
.vc-tab.is-active[data-slug="hotel-amsterdam"] {background: #012962;border-color:#012962;}
.vc-tab.is-active[data-slug="hotel-denhaag"] {background: #01517b;border-color:#01517b;}
.vc-tab.is-active[data-slug="forest-villa"] {background: #004e3f;border-color:#004e3f;}
.vc-tab.is-active[data-slug="hotel-rotterdam"] {background:#ffe100;border-color:#ffe100;color:#000;}

#vcBody,
#vcInlineBody{
	padding: 10px;
	border-radius: 10px
}

#vcBody[data-slug="hotel-europe"],
#vcInlineBody[data-slug="hotel-europe"] {
	background: #fdeee1;
}
#vcBody[data-slug="hotel-amsterdam"],
#vcInlineBody[data-slug="hotel-amsterdam"] {
	background: #d9e8fe;
}
#vcBody[data-slug="hotel-denhaag"],
#vcInlineBody[data-slug="hotel-denhaag"] {
	background:#dae5ee;
}
#vcBody[data-slug="forest-villa"],
#vcInlineBody[data-slug="forest-villa"] {
	background:#e2efed;
}
#vcBody[data-slug="hotel-rotterdam"],
#vcInlineBody[data-slug="hotel-rotterdam"] {
	background:#f7f4db;
}
