/* ========================================
   予約ボタン - 承認済みデザイン
   パターン3: グラデーション背景
   ======================================== */

/* ========================================
   PC版 - 画面右側縦固定
   ======================================== */
.reservation-button-pc {
  position: fixed;
  right: 15px;
  top: 25%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 80px;
  background-color: rgba(93, 190, 188, 0.4); /* さらに薄く */
  padding: 1rem 0.5rem;
  border-radius: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05); /* 影も薄く */
  backdrop-filter: blur(1px);
  animation: slideInRight 0.8s ease;
  opacity: 0.4; /* 全体の透明度を上げる */
  transition: all 0.3s ease; /* ホバー時の変化を滑らかに */
}

/* ホバー時にくっきり表示 */
.reservation-button-pc:hover {
  opacity: 1;
  background-color: rgba(93, 190, 188, 0.95);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  transform: scale(1.02);
}

@keyframes slideInRight {
  from {
    right: -100px;
    opacity: 0;
  }
  to {
    right: 15px;
    opacity: 1;
  }
}

/* 新規バッジ - エレガントゴールド */
.reservation-badge {
  background: linear-gradient(135deg, #FFF8E1 0%, #F5DEB3 50%, #D4AF37 100%);
  color: #4A3B2A;
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  padding: 0.5rem 0.2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  margin: 0;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-sub {
  display: block;
  font-size: 0.55rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.1rem;
}

.badge-main {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #8B4513;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* 電話予約ボタン */
.reservation-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: #5DBEBC;
  padding: 0.8rem 0.2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.7rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: none;
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1.1;
}

.reservation-phone:hover {
  background-color: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #4EAEAC;
}

.reservation-phone-icon {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  color: inherit;
}

/* LINE予約ボタン */
.reservation-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: #06C755;
  padding: 0.8rem 0.2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.7rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: none;
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1.1;
}

.reservation-line:hover {
  background-color: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #05b54d;
}

.reservation-line-icon {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  color: inherit;
}

.reservation-text {
  font-size: 0.65rem;
  line-height: 1;
  display: block;
  white-space: nowrap;
}

/* ========================================
   スマホ版 - 画面下部横固定（グラデーション背景）
   ======================================== */
.reservation-button-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  display: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F1E8 100%);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  animation: slideInUp 0.8s ease;
}

@keyframes slideInUp {
  from {
    bottom: -200px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

.reservation-mobile-content {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* モバイル版バッジ */
.reservation-mobile-badge {
  text-align: center;
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.95rem;
}

/* モバイルボタングリッド */
.reservation-mobile-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* モバイル電話ボタン */
.reservation-mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #5DBEBC;
  color: #FFFFFF;
  padding: 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(93, 190, 188, 0.3);
  transition: all 0.3s ease;
}

.reservation-mobile-phone:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(93, 190, 188, 0.4);
}

/* モバイルLINEボタン */
.reservation-mobile-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #06C755;
  color: #FFFFFF;
  padding: 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
  transition: all 0.3s ease;
}

.reservation-mobile-line:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(6, 199, 85, 0.4);
}

/* ========================================
   レスポンシブ切り替え
   ======================================== */

/* PC版表示 */
@media (min-width: 769px) {
  .reservation-button-pc {
    display: flex;
  }
  
  .reservation-button-mobile {
    display: none;
  }
}

/* モバイル版表示 */
@media (max-width: 768px) {
  .reservation-button-pc {
    display: none;
  }
  
  .reservation-button-mobile {
    display: block;
  }
  
  /* モバイルの場合、下部に余白を追加してボタンが重ならないように */
  body {
    padding-bottom: 120px;
  }
}

/* 小型モバイル調整 */
@media (max-width: 480px) {
  .reservation-mobile-content {
    padding: 0.8rem 1rem;
  }
  
  .reservation-mobile-badge {
    font-size: 0.85rem;
  }
  
  .reservation-mobile-buttons {
    gap: 0.8rem;
  }
  
  .reservation-mobile-phone,
  .reservation-mobile-line {
    padding: 0.9rem;
    font-size: 0.95rem;
  }
}

/* ========================================
   アクセシビリティ
   ======================================== */
.reservation-phone:focus,
.reservation-line:focus,
.reservation-mobile-phone:focus,
.reservation-mobile-line:focus {
  outline: 3px solid #D4AF37;
  outline-offset: 2px;
}

/* ========================================
   印刷時は非表示
   ======================================== */
@media print {
  .reservation-button-pc,
  .reservation-button-mobile {
    display: none;
  }
}
