/*=============================
.btn-trigger
=============================*/
.btn-trigger {
  position: relative;
  width: 50px;
  height: 44px;
  cursor: pointer;
  z-index: 9999; /* 一番上に設定 */
  margin-top: 5px;
}

.btn-trigger span {
  position: absolute;
  left: 15%;
  width: 70%;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
  transform-origin: center;
}

.btn-trigger,
.btn-trigger span {
  display: inline-block;
  transition: all .5s;
  box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
  top: 10px;
}

.btn-trigger span:nth-of-type(2) {
  top: 20px;
}

.btn-trigger span:nth-of-type(3) {
  top: 30px;
}

#btn03.active {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

#btn03.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(45deg);
  transform: translateY(10px) rotate(45deg);
}

#btn03.active span:nth-of-type(2) {
  -webkit-transform: translateY(0) rotate(-45deg);
  transform: translateY(0) rotate(-45deg);
}

#btn03.active span:nth-of-type(3) {
  opacity: 0;
}

/* フルスクリーンメニュー */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #133e73;
  z-index: 9998; /* ハンバーガーボタンより下に設定 */
  opacity: 0;
    pointer-events: none;
  transform: translateY(100%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fullscreen-menu.active {
  opacity: 1;
pointer-events: auto;
  transform: translateY(0);
}

/* メニューコンテンツのスクロール対応 */
.menu-content {
  position: relative;
  height: 100%;
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* centerからflex-startに変更 */
  align-items: center;
  text-align: center;
  color: white;
  overflow-y: auto; /* スクロールを有効化 */
  overflow-x: hidden; /* 横スクロールを無効化 */
}

/* スクロールバーのスタイリング */
.menu-content::-webkit-scrollbar {
  width: 6px;
}

.menu-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.menu-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* メニューナビゲーションの調整 */
.menu-navigation {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
}

/* クリニック情報 */
.clinic-info-logo{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
}


.clinic-info-logo img{
  width: 100%;
  height: auto;
}

.clinic-info-tel{
  width: 70%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
    margin: 0 auto;
}

.clinic-info-tel img{
  width: 100%;
  height: auto;
}

/* メニューナビゲーション */
.menu-navigation {
  margin-top: 20px;
  margin-bottom: 10px;
}

.menu-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-navigation li {
  margin: 5px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  transition-delay: 0.1s;
}

.fullscreen-menu.active .menu-navigation li {
  opacity: 1;
  transform: translateY(0);
}

.menu-navigation li:nth-child(1) {
  transition-delay: 0.1s;
}

.menu-navigation li:nth-child(2) {
  transition-delay: 0.2s;
}

.menu-navigation li:nth-child(3) {
  transition-delay: 0.3s;
}

.menu-navigation li:nth-child(4) {
  transition-delay: 0.4s;
}

.menu-navigation li:nth-child(5) {
  transition-delay: 0.5s;
}

.menu-navigation li:nth-child(6) {
  transition-delay: 0.6s;
}

.menu-navigation li:nth-child(7) {
  transition-delay: 0.7s;
}

.menu-navigation li:nth-child(8) {
  transition-delay: 0.8s;
}

.menu-navigation li:nth-child(9) {
  transition-delay: 0.9s;
}

.menu-navigation li:nth-child(10) {
  transition-delay: 1.0s;
}

.menu-navigation a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}



/* SNSアイコン */
.social-icons {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.fullscreen-menu.active .social-icons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

.social-icon {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #93c5fd;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .menu-content {
    padding: 60px 20px 40px; /* 上部のパディングを調整 */
  }

  .clinic-info h2 {
    font-size: 20px;
  }

  .menu-navigation a {
    font-size: 16px;
  }
}

/* メニューリストのスタイル */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.fullscreen-menu.active .menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.menu-list a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}


/* メニュー項目の順次表示 */
.menu-list li:nth-child(1) { transition-delay: 0.1s; }
.menu-list li:nth-child(2) { transition-delay: 0.2s; }
.menu-list li:nth-child(3) { transition-delay: 0.3s; }
.menu-list li:nth-child(4) { transition-delay: 0.4s; }
.menu-list li:nth-child(5) { transition-delay: 0.5s; }
.menu-list li:nth-child(6) { transition-delay: 0.6s; }
.menu-list li:nth-child(7) { transition-delay: 0.7s; }
.menu-list li:nth-child(8) { transition-delay: 0.8s; }
.menu-list li:nth-child(9) { transition-delay: 0.9s; }
.menu-list li:nth-child(10) { transition-delay: 1.0s; }

/* メニューリンクのホバー効果を調整（優先順位を上げる） */
.fullscreen-menu .menu-navigation .menu-list a {
    color: white !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: block !important;
    padding: 5px 0 !important;
    position: relative !important;
}


/* メニュー項目の順次表示（優先順位を上げる） */
.fullscreen-menu.active .menu-navigation .menu-list li {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fullscreen-menu .menu-navigation .menu-list li {
    margin: 5px 0 !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.4s ease !important;
}

.fullscreen-menu .menu-navigation .menu-list li:nth-child(1) { transition-delay: 0.1s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(2) { transition-delay: 0.2s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(3) { transition-delay: 0.3s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(4) { transition-delay: 0.4s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(5) { transition-delay: 0.5s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(6) { transition-delay: 0.6s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(7) { transition-delay: 0.7s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(8) { transition-delay: 0.8s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(9) { transition-delay: 0.9s !important; }
.fullscreen-menu .menu-navigation .menu-list li:nth-child(10) { transition-delay: 1.0s !important; }



/* sp menu Webはこちら */

.sp_reservation_btn {
  background-color: #fff;
  width: auto;
  border-radius: 5px;
  margin: 0 auto;
  padding: 5px 10px;
}

.sp_reservation_btn a {
  color: #1a4174;
  font-size: 18px;
  font-weight: 600;
}


/* ソーシャルアイコン */
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon i {
  font-size: 24px;
}

.social-icon.youtube i {
  color: #fff;
}

.social-icon.line i {
  color: #fff;
}

.social-icon.instagram i {
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}