.fixed-buttons {
  position: fixed;
  z-index: 1000;
}

/* PC（右側縦並び） */
@media (min-width: 768px) {
  .fixed-buttons {
      right: 0;
      top: 52%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 12px;
  }
}

/* SP（下部横並び） */
@media (max-width: 767px) {
  .fixed-buttons {
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      display: flex;
      justify-content: space-around;
      gap: 0;
  }
}

/* ボタン共通スタイル */
.fixed-button {
  text-align: center;
  padding: 15px 20px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;

  margin-left: auto;
  width: 70px;
  font-size: 20px;
  line-height: 28px;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 0 4px #737373;

  position: relative; /* ホバーアニメーション用 */
  overflow: hidden; /* 疑似要素がはみ出ないように */

  cursor: pointer;
}

@media (max-width: 767px) {
  .fixed-button {
    text-align: center;
    padding: 15px 20px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 0;
    text-decoration: none;
    transition: 0.5s;
    width: 50%;
    
    margin-left: none;
    line-height: auto;
    box-shadow: none;

    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;

    cursor: pointer;
  }
}


/* 各ボタンのデザイン */
.fixed-button.reservation {
  background: #F36616;
}

.fixed-button.phone {
  background: #9eb8b8;
}

/* ホバー時のグラデーションアニメーション */
.fixed-button::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* ホバー時にグラデーションが浮かび上がる */
.fixed-button:hover::after {
  opacity: 1;
}

@media (max-width: 767px) {
  .button-img {
    width: 24px
  }
}




/* モーダルの背景 */
.modal {
  display: none; /* 初期状態で非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 背景を暗く */
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
/* モーダルウィンドウの内容 */
.modal-content {
  background: white;
  padding: 52px;
  border-radius: 12px;
  width: 90%;
  max-width: 620px;
  text-align: center;
  position: relative;
}
.modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
/* 電話リスト */
.phone-list {
  list-style: none;
  padding: 0;
}
.phone-list li {
  margin: 10px 0;
}
.phone-list a {
  display: block;
  background: #F36616;
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
}
.phone-list a:hover {
  background: #D35514;
}
/* 閉じるボタン */
.modal-close {
  text-decoration: none;
  color: #222;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 16px;
}



@media (max-width: 767px) {
  /* モーダルの背景 */
  .modal {
    display: none; /* 初期状態で非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 背景を暗く */
    z-index: 2000;
    justify-content: center;
    align-items: center;
  }
  /* モーダルウィンドウの内容 */
  .modal-content {
    background: white;
    padding: 12px;
    border-radius: 12px;
    width: 90%;
    max-width: 620px;
    text-align: center;
    position: relative;
  }
  .modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
  }
  /* 電話リスト */
  .phone-list {
    list-style: none;
    padding: 0;
  }
  .phone-list li {
    margin: 8px 0;
  }
  .phone-list a {
    display: block;
    background: #F36616;
    color: white;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
  }
  .phone-list a:hover {
    background: #D35514;
  }
  /* 閉じるボタン */
  .modal-close {
    text-decoration: none;
    color: #222;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }
}



.sp-on {
  display: none!important;
}
@media (max-width: 767px) {
  .sp-on {
    display: block!important;
  }
}
