.circle-button {
  font-family: 'Ysabeau', serif;
  width: 145px;
  height: 45px;
  border-radius: 22px;
  background-color: transparent;
  border: 1px solid #504946;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  color: #504946;
  padding: 0;
  transition: opacity 0.3s ease-out;
}

/* 遷移のアニメーション */
.fade-in {
  opacity: 0;
  animation: fadeIn 3s forwards ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* reservation リンクボタン */
.link-buttons {
  position: relative;
}

.link-buttons button {
  width: 145px;
  height: 45px;
  border-radius: 22px;
  background-color: transparent;
  border: 1px solid #eee9e6;
  cursor: pointer;
  display: flex; /* フレックスボックスを使用 */
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
  text-align: center;
  font-size: 18px;
  color: #eee9e6;
  padding: 0;
  transition: opacity 0.3s ease-out;
}

.link-buttons button.black {
  border: 1px solid #504946;
  color: #504946;
}

.link-buttons div {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  z-index: 11;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.link-buttons div a {
  position: relative;
  width: 145px;
  height: 45px;
  margin-bottom: 30px;
  border-radius: 22px;
  background-color: #eee9e6;
  border: 1px solid #eee9e6;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  z-index: 11;
}

.link-buttons div a:hover {
  opacity: 0.65;
}

.link-buttons div a span {
  font-size: 18px;
  line-height: 18px;
  color: #504946;
}

.link-buttons div a span.sp-only {
  display: none;
}

.link-buttons div a img {
  padding: 6px 3px 0;
  width: 18px;
  height: 18px;
  margin-left: 7px;
}

.link-buttons div a:last-child {
  margin-bottom: 0;
}

/* グローバルナビゲーションのコンテナー */
.global-nav-container {
  position: fixed;
  top: 50%;
  right: -100%;
  transform: translateY(-50%);
  width: 375px;
  height: 75vh;
  min-height: 630px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f6f5;
  transition: right 0.3s ease;
  z-index: 1000;
}

/* グローバルナビゲーションの内部 */
.global-nav-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 250px;
}

.global-nav-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10.6vh;
}

/* メニューリスト */
.global-nav-menu,
.global-nav-page {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav-menu {
  margin-bottom: 5.1vh;
}

.global-nav-page {
  margin-bottom: 7.4vh;
}

.global-nav-menu li,
.global-nav-page li {
  margin-bottom: 6px;
}

.global-nav-menu li a,
.global-nav-page li a {
  text-decoration: none;
  font-size: 18px;
  color: #504946;
  transition: color 0.3s ease;
}

.global-nav-menu li a:hover,
.global-nav-page {
  color: #000;
}

/* フッター */
.global-nav-footer p {
  font-size: 18px;
  color: #504946;
  margin-bottom: 0;
}

/* トグルアイコン */
.global-nav-icon {
  cursor: pointer;
  z-index: 10;
}

.global-nav-icon span {
  display: block;
  width: 100px;
  height: 1px;
  background-color: #eee9e6;
  margin: 0 0 20px 0;
}

.global-nav-icon.black span {
  background-color: #504946;
}

.global-nav-icon span:last-child {
  margin-bottom: 0;
}

.hotels {
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.hotels a {
  flex-grow: 0;
  font-size: 18px;
  line-height: 18px;
  margin-bottom: 14px;
  color: #eee9e6;
  opacity: 0.65;
  text-align: left;
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 0;
  position: relative;
  transition: opacity 1s ease;
  text-decoration: none;
}

.hotels.black a {
  color: #504946;
}

.hotels.black a::before {
  color: #504946;
}

.hotels a:last-child {
  margin-bottom: 0;
}

.hotels a.active {
  opacity: 1;
}

.hotels a::before {
  content: '●';
  position: absolute;
  left: -20px;
  color: #eee9e6;
  font-size: 7px;
  line-height: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hotels a.active::before,
.hotels a:hover::before {
  opacity: 1;
}

/* ホームボタン */

.home-button {
  width: 47px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 180px;
  margin-left: 40px;
}

.home-button img {
  width: 30px;
  height: 30px;
}

.home-button span {
  font-size: 18px;
  line-height: 18px;
  color: #504946;
  margin-top: 15px;
}
/* sidebar */

.sidebar {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.sidebar .page-navi {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-left: 2.6vw;
}

.sidebar .page-navi a {
  font-size: 18px;
  line-height: 18px;
  margin-bottom: 14px;
  color: #504946;
  opacity: 0.65;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 1s ease;
}

.sidebar .page-navi a:last-child {
  margin-bottom: 0;
}

.sidebar .page-navi a.active {
  opacity: 1;
}

.sidebar .hotels {
  padding-left: 40px;
}

.scroll-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: none;
}

.scroll-button span {
  display: block;
  width: 1px;
  height: 88px;
  background-color: #504946;
  margin-bottom: 17.5px;
}

.scroll-button p {
  font-size: 18px;
  color: #504946;
  margin: 0;
  transition: all 0.6s ease;
  opacity: 1;
}

.scroll-button p.hidden {
  opacity: 0;
}

@media screen and (max-width: 767px) {
  .link-buttons {
    order: 2;
  }

  .link-buttons button {
    width: 100px;
    height: 35px;
    position: relative;
    display: inline-block;
    font-size: 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
  }

  .link-buttons button.black {
    border: none;
  }

  .link-buttons button::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.16);
    border-radius: 50%; /* 丸にする */
    z-index: -1; /* テキストの後ろに配置 */
  }

  .link-buttons button.black::before {
    background-color: rgba(80, 73, 70, 0.16);
  }

  .link-buttons div a {
    width: 100px;
    height: 35px;
  }

  .link-buttons div a span {
    font-size: 16px;
    line-height: 16px;
  }

  .link-buttons div a span.sp-only {
    display: block;
    text-align: center;
    font-size: 15px;
    line-height: 16px;
  }

  .link-buttons div a span.pc-only {
    display: none;
  }

  .link-buttons div a img {
    padding: 5px 2px 0;
    width: 16px;
    height: 16px;
    margin-left: 5px;
  }

  .sidebar .page-navi {
    display: none;
  }

  .home-button {
    display: none;
  }

  .global-nav-icon {
    order: 1;
    margin-bottom: 30px;
  }

  .global-nav-container {
    width: 100%;
    height: 100vh;
    top: 0;
    right: -100%;
    transform: none;
  }

  .global-nav-inner {
    width: 61%;
    min-width: 230px;
  }

  .scroll-button {
    position: fixed;
    right: 45px;
    bottom: 50px;
  }

  .scroll-button p {
    width: 45px;
    text-align: center;
  }
}
