

.hd-top h2,
.hd-top-title {
  margin: 0;
  padding: 15px 20px;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
  color: white;
}

/* 縦書きメニュー用スタイル */
.vertical-menu {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 20px 30px;
  position: fixed;
  top: 60px;
  right: 0;
  z-index: 9999;
  height: auto;
  justify-content: flex-end;
  pointer-events: auto;
}

.vertical-menu a {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 8px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  margin: 0 5px;
  letter-spacing: 2px;
}

.vertical-menu a:hover {
  color: #ff0000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.vertical-menu a.active {
  color: #ff0000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .vertical-menu {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    right: auto;
    left: 0;
    right: 0;
    height: auto;
    justify-content: flex-start;
  }
  
  .vertical-menu a {
    writing-mode: horizontal-tb;
    min-height: auto;
    padding: 8px 15px;
    margin: 2px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  }
} 


/* フッター */
.footer {
  position: relative;
  background: #000000;
  color: #fff;
  font-size: 0.9rem;
}

/* スマホ表示時のフッター背景最適化 */
@media (max-width: 767px) {
  .footer {
    background: #000000;
  }
}

.footer-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem 1rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #4a6e79;
}

.footer h6 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer-links li {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer-links li:not(:last-child)::after {
  content: "|";
  margin-left: 0.5rem;
  color: #fff;
  
}

@media (max-width: 576px) {
  .footer h6 {
      font-size: 1.5rem;
      text-align: center;
  }

  .footer-links {
      text-align: left;
      padding-left: 0;
  }
}

/* メニューリスト用スタイル */
.menulist-row {
  --bs-gutter-y: 1rem;
  min-height: 200px; /* 最小高さを設定 */
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.menulist-item {
  /* アイテム全体のスタイル */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menulist-header {
  /* ヘッダー部分（メニュー名と価格）のスタイル */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 40px; /* 最小高さを設定 */
  flex-shrink: 0;
}

.menulist-title {
  /* メニュー名のスタイル */
  flex: 1;
  margin-right: 10px;
  word-break: break-word;
  line-height: 1.3;
}

.menulist-price {
  /* 価格のスタイル */
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: bold;
}

.menulist-description {
  line-height: 1.2;
  margin-bottom: 10px;
  flex: 1;
  min-height: auto;
  height: auto;
}

.menulist-divider {
  /* 区切り線のスタイル */
  margin-top: auto;
  margin-bottom: 0;
  height: auto;
}

/* メニュー数が少ない時のレイアウト調整 */
.menu-table .list {
  min-height: 300px; /* メニューエリアの最小高さ */
  display: flex;
  flex-direction: column;
}

.menu-table .list .row {
  min-height: 250px; /* 行の最小高さ */
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

/* メニューが1つだけの場合の調整 */
.menulist-row:has(.menulist-item:only-child) {
  justify-content: flex-start;
}

.menulist-row:has(.menulist-item:only-child) .menulist-item {
  max-width: 50%;
}

/* メニューが2つの場合の調整 */
.menulist-row:has(.menulist-item:nth-child(2):last-child) {
  justify-content: flex-start;
}

/* 空のメニューアイテム用スタイル */
.menulist-empty {
  visibility: hidden;
  pointer-events: none;
}

.menulist-empty .menulist-header,
.menulist-empty .menulist-description,
.menulist-empty .menulist-divider {
  visibility: hidden;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .menulist-row {
    min-height: 150px;
  }
  
  .menulist-item {
    min-height: 60px;
  }
  
  .menulist-header {
    min-height: 30px;
  }
  
  .menu-table .list {
    min-height: 200px;
  }
  
  .menu-table .list .row {
    min-height: 150px;
  }
  
  /* モバイルでは空のアイテムを非表示にする */
  .menulist-empty {
    display: none;
  }
}

/* フッターロゴ画像用 */
.footer-logo-img {
  height: 200px !important;
  display: block !important;
}
@media (max-width: 767px) {
  .footer-logo-img {
    margin-left: auto !important;
    margin-right: auto !important;
    height:170px !important; /* スマホでは小さく（10%拡大） */
  }
}

/* Contact Page - リキャプチャとボタンのレイアウト */
.recaptcha-button-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.g-recaptcha {
  flex: 0 0 auto;
}

.submit-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #3f0707, #b71c1c);
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #b71c1c, #8e0000);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* スマホ対応 */
@media (max-width: 767px) {
  .recaptcha-button-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
  }
  
  .submit-btn {
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    font-size: 18px;
  }
}

/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1023px) {
  .recaptcha-button-container {
    gap: 15px;
  }
  
  .submit-btn {
    padding: 14px 25px;
    font-size: 16px;
  }
}

/* グローバルなcontact-btnスタイル */
.contact-btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #3f0707, #b71c1c);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
  background: linear-gradient(135deg, #b71c1c, #8e0000);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: white;
  text-decoration: none;
}

/* スマホ用の調整 */
@media (max-width: 767px) {
  .contact-btn {
    padding: 12px 25px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* sec15のレイアウト */
#sec15 .sec15-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

#sec15 .title {
  flex: 0 0 auto;
}

#sec15 .content {
  flex: 1;
}

#sec15 .content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
}

#sec15 .button-area {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

#sec15 .contact-btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #3f0707, #b71c1c);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#sec15 .contact-btn:hover {
  background: linear-gradient(135deg, #b71c1c, #8e0000);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* スマホ用の調整 */
@media (max-width: 767px) {
  #sec15 .sec15-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  #sec15 .content p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  #sec15 .button-area {
    flex-direction: column;
    align-items: center;
  }
  
  #sec15 .contact-btn {
    padding: 12px 25px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ショップスライダー */
.shop-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
}

.shop-slider-container {
  overflow: hidden;
}

.shop-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.shop-slider-item {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  min-width: 0;
}

.shop-slider-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.shop-slider-prev,
.shop-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s ease;
}

.shop-slider-prev {
  left: 10px;
}

.shop-slider-next {
  right: 10px;
}

.shop-slider-prev:hover,
.shop-slider-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .shop-slider-item {
    flex: 0 0 calc(100% - 20px);
  }
  
  .shop-slider-prev,
  .shop-slider-next {
    padding: 8px 12px;
  }
  
  .shop-slider-prev {
    left: 5px;
  }
  
  .shop-slider-next {
    right: 5px;
  }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  [id^="sec5-"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* メニューカテゴリセクションの基本スタイル */
.menu-category-section {
  position: relative;
  overflow: hidden;
  background-attachment: scroll; /* iOS Safariでの固定背景問題を回避 */
}

/* メニューオーバーレイ（黒い透過） */
.menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* メニューカテゴリのテキストコンテンツ */
.menu-category-section .wrap {
  position: relative;
  z-index: 2;
}

/* メニューカテゴリのタイトルとテキストの可読性向上 */
.menu-category-section .section-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

.menu-category-section .txt {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

/* iOS Safariでの背景画像レンダリング最適化 */
@supports (-webkit-touch-callout: none) {
  .menu-category-section {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
  }
  
  .menu-category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: -1;
  }
}