/* 大渚亭別館 お食事会ページ専用CSS
   作成日：2025年9月28日
   担当：大渚亭 別館
*/

/* 全体フォントと背景（和の雰囲気） */
body, html {
  margin: 0;
  padding: 0;
  font-family: "HGP正楷書体", "AR P教科書体M", "Yu Mincho", "Hiragino Mincho ProN", serif;
   font-size: 0.97em !important;
  line-height: 1.7 !important;
  letter-spacing: 0.02em !important;

  background-color: #000;
  color: #fff;
}

/* メイン見出し（大渚亭で愉しむ お食事会） */
.main1 h1, .main1 .headline {
  font-size: 2em;
  font-family: "HGP正楷書体", "Yu Mincho", serif;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #ffffff;
}

/* サブ見出し（お食事＋飲み放題など） */
.main1 h2, .main1 .subheadline {
  font-size: 1.5em;
  font-family: "AR P教科書体M", "Yu Mincho", serif;
  text-align: center;
  margin-bottom: 1em;
  color: #cccccc;
}

/* コース価格表の文字 */
.course-prices {
  font-size: 1.2em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  text-align: center;
  color: #ffffff;
  line-height: 1.6;
}

/* 固定ヘッダーの設定 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 115px; /* ← ヘッダーの高さをここで調整 */
  z-index: 1000;
  background-color: #000; /* 必要に応じて背景色 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 任意の影効果 */
}

/* 本文の開始位置を調整 */
main {
  padding-top: 80px; /* ← ヘッダーの高さと同じ値にすることで隠れない */
}

/* ナビゲーション（PC） */
.desktop-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-nav ul li {
  margin: 5px 10px;
}
.desktop-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* ハンバーガーアイコン */
.hamburger {
  position: fixed;
  top: 110px;
  right: 20px;
  width: 30px;
  height: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10001;
}
.hamburger span {
  display: block;
  height: 2px;
  background-color: white;
  border-radius: 2px;
}
.hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* モバイルナビ */
#mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 240px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding-top: 60px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}
#mobile-nav.open {
  transform: translateX(0);
}
#mobile-nav ul {
  list-style-type: none;
  padding-left: 24px;
  padding-right: 24px;
  text-align: left;
}
#mobile-nav li {
  margin: 20px 0;
  text-align: left;
}
#mobile-nav a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.3s ease;
}
#mobile-nav a:hover {
  opacity: 0.7;
}

/* フッター */
footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  #mobile-nav {
    display: block;
  }
}






/* ★アラカルトメニュー専用★ */


.menu-header {
  text-align: center;
  margin-top: 80px;
}
.menu-title {
  font-size: 2em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: white;
}
.menu-period {
  font-size: 1.2em;
  color: #ccc;
  margin-top: 8px;
}

.menu-images {
  margin-top: 40px;
}
.image-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.image-row img {
  width: 196px;
  height: auto;
  border-radius: 6px;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.menu-list {
  margin-top: 60px;
  padding: 0 24px;
}
.menu-category {
  margin-bottom: 40px;
}
.category-title {
  font-size: 1.4em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: white;
  border-bottom: 1px solid #999;
  padding-bottom: 4px;
}


.menu-items li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 48px;
  padding: 6px 0;
  border-bottom: 1px dotted #666;
  font-size: 1em;
  color: #ccc;
}
.item-name {
  text-align: left;
}
.item-price {
  text-align: right;
}

.main1 {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.menu-images .image-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;     /* 折り返しを防ぐ */
  overflow-x: auto;       /* 横スクロール許可 */
}

.menu-images img {
  width: 30%;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
  max-width: none;        /* ← 100%指定は不要なので解除 */
}

@media screen and (max-width: 480px) {
  .main1 {
    padding: 0 12px;
    font-size: 0.95em;
  }

  .menu-images .image-row {
    gap: 12px;            /* スマホ時の余白調整のみ */
  }
}



@media screen and (max-width: 600px) {
  .menu-list .menu-items li {
    font-size: 0.7em;
  }
}




/* ★法事のお出前専用★ */

.fixed-header2 {
  position: fixed;
  top: 0;
  width: 100%;
  height: 120px;
  z-index: 1000;
  background-color: #000;
}

.main2 {
  padding-top: 140px;
  color: #ffffff;
  background-color: #000000;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.centered-section2 {
  text-align: center;
  margin: 0 auto;
  color: #ffffff;
}

.centered-section2 table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 400px;
}

.centered-section2 td {
  text-align: center;
  padding: 6px;
}

/* ご来店にて〜 の2行表示 */
.centered-text2 {
  text-align: center;
  max-width: 50em;
  margin: 0 auto;
}

.centered-text2 p {
  font-size: 1.5em;
  line-height: 1.1;
  margin: 0;
}

.text-large2 {
  font-size: 1.8em;
  line-height: 1.6;
  text-align: center;
}

.nowrap-text2 {
  white-space: nowrap;
  font-size: 1.3em;
  text-align: center;
}


@media screen and (max-width: 480px) {
  .main2 {
    transform: scale(0.9);         /* ← 例：0.95よりさらに控えめに */
    transform-origin: top center;   /* ← 上から中央に向けて縮小 */
  }
}



/* ★お部屋専用★ */

.main3 {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 16px 40px; /*← この「80px」がヘッダーの高さに対応しています */
  box-sizing: border-box;
  background-color: #000;
  color: white;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}



.room3-gallery {
  text-align: center;
  margin-bottom: 40px;
}

.room3-gallery img {
  width: 250px;
  height: 170px; /* 例：縦横比 3:2 に統一 */
  object-fit: cover; /* はみ出しを切り取り、均一表示 */
  margin: 8px;
  border-radius: 6px;
  transition: transform 1.2s ease, opacity 1.2s ease;
}
.room3-text {
  text-align: center;
  font-size: 1.2em;
  color: #ccc;
  margin-bottom: 40px;
  line-height: 1.6;
}

@media screen and (max-width: 600px) {
  .room3-gallery img {
    width: 90%;
    margin: 12px auto;
    display: block;
  }

  .room3-text {
    font-size: 1em;
    padding: 0 12px;
  }
}

/* ▼ ロビーと個室入口の並び調整 ▼ */
.room3-top-images {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 下端を揃える */
  gap: 0; /* 画像の間隔なし */
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.room3-top-images .main-image {
  width: 450px;
  max-width: 100%;
  margin: 0;
}

.room3-top-images .side-image {
  width: 150px;
  height: auto;
  margin: 0;
}

@media screen and (max-width: 600px) {
  .room3-top-images {
    flex-direction: column;
    align-items: center;
  }

  .room3-top-images .main-image,
  .room3-top-images .side-image {
    width: 90%;
  }
}

/* ▼ 画像4枚を横並び・少し小さく表示 ▼ */
.room3-gallery.small {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.room3-gallery.small img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  margin: 0;
  border-radius: 6px;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

@media screen and (max-width: 600px) {
  .room3-gallery.small {
    flex-direction: column;
    align-items: center;
  }

  .room3-gallery.small img {
    width: 90%;
    height: auto;
    margin: 12px 0;
    object-fit: contain;
  }
}

.room3-gallery.with-caption {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.room3-item {
  text-align: center;
  width: 189px;
}

.room3-item img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.caption {
  font-size: 0.95em;
  color: #ccc;
  line-height: 1.4;
}

@media screen and (max-width: 600px) {
  .room3-gallery.with-caption {
    flex-direction: column;
    align-items: center;
  }

  .room3-item {
    width: 90%;
  }

  .room3-item img {
    height: auto;
  }
}


@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden; /* 横スクロール防止 */
  }

  .main3 {
    width: 960px;
    transform: scale(0.9);
    transform-origin: top center;
  }
}

img {
  max-width: 100%;
  height: auto;
}





.scale-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .scale-wrapper {
    transform: scale(0.9);
    transform-origin: top center;
  }

  body {
    overflow-x: hidden;
  }

  .main3 {
    width: 960px;
  }
}


.scale-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .scale-wrapper {
    transform: scale(0.6);
    transform-origin: top center;
  }

  body {
    overflow-x: hidden;
  }

  .main3 {
    width: 960px;
  }

  /* 画像の並びを崩さないように */
  .room3-gallery.uniform {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* 折り返し防止 */
    gap: 16px;
  }

  .room3-gallery.uniform img {
    width: 250px;
    height: 170px;
    object-fit: cover;
  }

  /* 文字の行数を保つためにフォントサイズを固定 */
  .room3-text {
    font-size: 1.1em;
    line-height: 1.6;
    width: 100%;
    text-align: center;
  }
}


.room3-gallery.with-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  padding: 0 16px;
}

.room3-item {
  width: 189px;
  text-align: center;
}

.room3-item img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.caption {
  font-size: 0.95em;
  color: #ccc;
  line-height: 1.4;
}


@media screen and (max-width: 768px) {
  .hamburger {
    top: 65px; /* ← 例えば20pxに変更。お好みで調整可能です */
    right: 16px; /* 必要なら右位置も微調整できます */
  }
}


/* 全体の文字スタイル（和の雰囲気） */
body, html {
  font-family: "HGP正楷書体", "AR P教科書体M", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.1em;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #fff;
}

/* メイン見出し（大渚亭で愉しむ お食事会） */
.main1 h1, .main1 .headline {
  font-size: 2em;
  font-family: "HGP正楷書体", "Yu Mincho", serif;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #ffffff;
}

/* サブ見出し（お食事＋飲み放題など） */
.main1 h2, .main1 .subheadline {
  font-size: 1.5em;
  font-family: "AR P教科書体M", "Yu Mincho", serif;
  text-align: center;
  margin-bottom: 1em;
  color: #cccccc;
}

/* コース価格表の文字 */
.course-prices {
  font-size: 1.2em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  text-align: center;
  color: #ffffff;
  line-height: 1.6;
}

/* 電話リンク（スマホのみ表示） */
.mobile-call-only {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .mobile-call-only {
    display: block !important;
  }
}