@charset "UTF-8";
/* ------------------------------
追従 WEB予約ボタン
PC：画面右端中央の縦型タブ／SP：画面下部の全幅バー
------------------------------ */
.fixed-reserve {
  position: fixed;
  z-index: 9000; /* グロナビ(9999)より下 */
}

.fixed-reserve__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background-color: var(--primary, #5b2d90);
  color: var(--white, #fff);
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.fixed-reserve__link:hover,
.fixed-reserve__link:focus-visible {
  background-color: var(--p-dark, #2b0062);
  color: var(--white, #fff);
  opacity: 1;
}

.fixed-reserve__link:focus-visible {
  outline: 2px solid var(--white, #fff);
  outline-offset: -5px;
}

.fixed-reserve__icon {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
}

/* PC */
@media screen and (min-width: 768px) {
  .fixed-reserve {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .fixed-reserve__link {
    flex-direction: column;
    padding: 2.4rem 1.4rem;
    font-size: 1.6rem;
    writing-mode: vertical-rl;
    border-radius: 6px 0 0 6px;
  }
}

/* SP */
@media screen and (max-width: 767px) {
  .fixed-reserve {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .fixed-reserve__link {
    height: 5.6rem;
    font-size: 1.6rem;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: content-box;
  }

  /* バーでフッター最下部が隠れないよう余白を確保 */
  body {
    padding-bottom: calc(5.6rem + env(safe-area-inset-bottom));
  }

  /* TOPボタンをバーの上へ */
  #page-top {
    bottom: calc(5.6rem + 10px + env(safe-area-inset-bottom));
  }
}
