/* ============================================================
   top.css — TOPページ専用スタイル
   ============================================================ */

/* ── ファーストビュー ────────────────────────────────── */
#firstView {
  position: relative;
  width: 100%;
  height: calc(100vh - 148px);
  margin-top: 88px; /* header高さ分 */
  overflow: hidden;
}

#firstView img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #C4B49A;
}

/* スライダーラッパー */
#heroSlider {
  position: absolute;
  inset: 0;
}

/* 各スライド */
.heroSlide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.heroSlide.active {
  opacity: 1;
}

.heroSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #C4B49A;
}

/* ドット */
#heroDots {
  position: absolute;
  bottom: 32px;
  left: calc(50% - 31px);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.heroDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.heroDot.active {
  background: #C9A96E;
}

/* テキストエリア：左寄せ・下部 */
#firstViewTitle {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  padding: 0 80px;
  max-width: 1280px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

#firstViewTitle .est {
  display: block;
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 6px;
  color: #C9A96E;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 5px 5px;
  width: 30%;
  background: rgba(0, 0, 0, 0.5);
}

#firstViewTitle h2 {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 72px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

#firstViewTitle .goldLine {
  width: 260px;
  margin: 0 0 20px 0;
}

#firstViewTitle .sub {
  display: block;
  font-size: 14px;
  color: #fff;
  opacity: 0.65;
  margin-bottom: 36px;
  width: 30%;
  background: rgba(0, 0, 0, 0.5);
 }


.heroBtns {
  display: flex;
  gap: 20px;
}


/* ── infoNav バー ────────────────────────────────────── */
#infoNav {
  background: #152236;
  height: 60px;
}

#infoNav .inner {
  height: 100%;
  display: flex;
  align-items: center;
}

#infoNav ul {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

#infoNav ul li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

/* 縦の区切り線 */
#infoNav ul li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: 1px;
  background: #C9A96E;
  opacity: 0.2;
}

#infoNav ul li div {
  text-align: center;
}

#infoNav ul li div p:first-child {
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 3px;
}

#infoNav ul li div p:last-child {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ── about セクション ────────────────────────────────── */
#about {
  background: #FAF6F0;
  padding: 100px 0;
}

#about .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* シェフ写真エリア */
.chefPhoto {
  width: 100%;
  height: 460px;
  background-color: #C4B49A;
  position: relative;
  overflow: hidden;
}

.chefPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT THE CHEF ラベル（写真の上側） */
.chefPhoto .chefLabel {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(255,255,255,0.7);
  z-index: 1;
}

/* プロフィールテキスト */
#profileText .chefLabel {
  margin-bottom: 6px;
}

#profileText .chefLabel:first-child {
  margin-bottom: 4px;
}

#profileText h3 {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
  font-size: 40px;
  color: #1C2B4A;
  margin: 8px 0 4px;
  letter-spacing: 0.05em;
}

.enName {
  display: block;
  font-family: Georgia, serif;
  font-size: 12px;
  color: rgba(44, 32, 22, 0.35);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

#profileText .desc {
  font-size: 14px;
  line-height: 2;
  color: #2C2016;
  margin-bottom: 28px;
}

/* ── information セクション ──────────────────────────── */
#infomation {
  background: #FAF6F0;
  padding: 0 0 100px;
}

#infomation .inner {
  border-top: 1px solid rgba(44, 32, 22, 0.1);
  padding-top: 60px;
}

#infomation .label {
  margin-bottom: 32px;
}

#infomation ul li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(44, 32, 22, 0.08);
  font-size: 14px;
}

.date {
  font-family: Georgia, serif;
  font-size: 13px;
  color: rgba(44, 32, 22, 0.5);
  white-space: nowrap;
}

.infoText {
  flex: 1;
  color: #2C2016;
}

.readMore {
  font-size: 11px;
  color: #C9A96E;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.readMore:hover {
  border-color: #C9A96E;
}

.viewMoreWrap {
  margin-top: 28px;
  text-align: right;
}

/* ── ourMenu セクション ──────────────────────────────── */
#ourMenu {
  background: #1C2B4A;
  padding: 100px 0;
}

#ourMenu .sectionTitle h3 {
  color: #fff;
}

.menuSub {
  display: block;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 60px;
  margin-top: -32px;
}

/* カテゴリラベル（LUNCH / DINNER） */
.menuCatLabel {
  display: block;
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 12px;
  margin-top: 40px;
}

.menuCatLabel:first-of-type {
  margin-top: 0;
}

/* ランチエリア */
.lunchArea {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  padding: 0 24px;
  margin-bottom: 0;
}

/* ディバイダー */
.menuDivider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(201, 169, 110, 0.15);
}

/* コース行 */
.courseRow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px 0;
  gap: 20px;
}

.courseLeft {
  flex: 1;
}

.courseLabel {
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 8px;
  display: block;
}

.courseRow h4 {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.courseDetail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.courseRight {
  text-align: right;
  flex-shrink: 0;
}

.perPerson {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.price {
  display: block;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 26px;
  color: #C9A96E;
}

/* ディナーコース：左ゴールドボーダー */
.courseRow.dinner {
  border-left: 3px solid #C9A96E;
  padding-left: 20px;
  margin-top: 8px;
}

.courseRow.dinner h4 {
  font-size: 24px;
}

.courseRow.dinner .price {
  font-size: 30px;
}

/* 注釈 */
.menuNote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 32px;
  margin-bottom: 24px;
}

#ourMenu .viewMoreWrap {
  text-align: center;
}

/* ============================================================
   gallery セクション（PC・SP共通スライダー）
   ============================================================ */

#gallery {
  background: #F0E8DC;
  padding: 100px 0;
}

#gallery .inner {
  overflow: hidden;
}

/* スライダーラッパー */
.gallerySlider {
  position: relative;
  overflow: hidden;
}

/* スライドトラック（全画像を横並びに並べる） */
.galleryTrack {
  display: flex;
  transition: transform 0.5s ease;
}

/* 各スライドアイテム */
.galleryTrack li {
  flex-shrink: 0;
  background-color: #C4B49A;
  overflow: hidden;
}

.galleryTrack li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galleryTrack li:hover img {
  transform: scale(1.03);
}


  .galleryTrack li {
    width: calc((100% - 40px) / 3);
    aspect-ratio: 1 / 1;
    margin-right: 20px;
  }



/* 前後ボタン */
.galleryBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(28, 43, 74, 0.7);
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: #C9A96E;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.galleryBtn:hover {
  background: rgba(28, 43, 74, 0.95);
}

.galleryBtn.prev { left: 12px; }
.galleryBtn.next { right: 12px; }

/* ドット */
.galleryDots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.galleryDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(28, 43, 74, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.galleryDot.active {
  background: #C9A96E;
}

/* ============================================================
   モーダルウィンドウ
   ============================================================ */

/* 背景オーバーレイ */
#galleryModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* モーダルが開いた状態 */
#galleryModal.open {
  opacity: 1;
  pointer-events: auto;
}

/* 暗い背景 */
#modalOverlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 34, 54, 0.92);
  cursor: pointer;
}

/* コンテンツエリア */
#modalContent {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  padding: 0 48px;
  max-width: 1200px;
}

/* 画像ラッパー */
#modalImgWrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
}

#modalImg {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  /* 画像切り替え時のフェード */
  opacity: 0;
  transition: opacity 0.3s ease;
}

#modalImg.loaded {
  opacity: 1;
}

/* 閉じるボタン */
#modalClose {
  position: absolute;
  top: -48px;
  right: 48px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(201, 169, 110, 0.5);
  color: #C9A96E;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

#modalClose:hover {
  background: #C9A96E;
  color: #1C2B4A;
}

/* 前後ボタン */
#modalPrev,
#modalNext {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(28, 43, 74, 0.8);
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: #C9A96E;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#modalPrev:hover,
#modalNext:hover {
  background: rgba(28, 43, 74, 0.95);
  border-color: #C9A96E;
}

/* カウンター（1 / 4 など） */
#modalCounter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(250, 246, 240, 0.4);
}

/* ギャラリー画像にカーソルを変更 */
.galleryTrack li {
  cursor: pointer;
}



/* ── reservation セクション ──────────────────────────── */
#reservation {
  background: #1C2B4A;
  padding: 100px 0;
}

.reserveFrame {
  border: 0.6px solid #C9A96E;
  padding: 64px 80px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.reserveFrame .sectionTitle h3 {
  color: #fff;
}

.resDesc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 2;
  margin-bottom: 36px;
}

.reservationBtn {
  display: inline-block;
  padding: 16px 48px;
  background: #C9A96E;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.15em;
  transition: opacity 0.2s;
}

.reservationBtn:hover {
  opacity: 0.85;
}

.tel {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* ── access セクション ───────────────────────────────── */
#access {
  background: #FAF6F0;
  padding: 100px 0;
}

.accessGrid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* マップ */
.mapArea iframe {
  width: 100%;
  height: 340px;
  border: none;
  display: block;
  background: #C4B49A;
}

/* 店舗情報パネル */
.infoPanel {
  background: #fff;
  border-left: 3px solid #C9A96E;
  padding: 36px 32px;
}

.shopLabel {
  margin-bottom: 20px;
}

.infoPanel table {
  width: 100%;
}

.infoPanel table tr {
  border-bottom: 1px solid rgba(44, 32, 22, 0.07);
}

.infoPanel table th {
  padding: 12px 16px 12px 0;
  font-size: 11px;
  color: #C9A96E;
  letter-spacing: 0.1em;
  font-weight: normal;
  white-space: nowrap;
  vertical-align: top;
}

.infoPanel table td {
  padding: 12px 0;
  font-size: 13px;
  color: #2C2016;
  line-height: 1.7;
}

/* ── レスポンシブ（768px以下）────────────────────────── */
@media (max-width: 768px) {

  /* ファーストビュー */
  #firstView {
    height: calc(100vh - 214px);/*540px;*/
    margin-top: 64px;
  }

  #firstViewTitle {
    bottom: 48px;
    padding: 0 24px;
  }

  #firstViewTitle h2 {
    font-size: 40px;
  }

  #firstViewTitle .goldLine {
    width: 180px;
  }

  .heroBtns {
    flex-direction: column;
    gap: 12px;
  }

  .heroBtns a {
    text-align: center;
  }
  #firstViewTitle .est{
    display: none;
  }
   #firstViewTitle .sub{
    width: 100%;
  }
    #heroDots {
    right: 50%;
    transform: translateX(50%);
	bottom: 20px;
	}

  /* infoNav */
  #infoNav {
    height: 150px;
  }

  #infoNav .inner {
    padding: 16px 24px;
  }

  #infoNav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
  }

  #infoNav ul li {
    border: none;
    padding: 8px 0;
    
  }
  #infoNav ul li:nth-child(1){
    border-bottom: 1px solid  #C9A96E;
  }
    #infoNav ul li:nth-child(2){
    border-bottom: 1px solid  #C9A96E;
  }

  #infoNav ul li::before {
    display: none !important;
  }

  /* about */
  #about {
    padding: 64px 0;
  }

  #about .inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .chefPhoto {
    width: 100%;
    height: 300px;
  }

  #profileText h3 {
    font-size: 32px;
  }
  #profileText .viewMore{
    width: 100%;
    text-align: right;
  }
  .goldLine {
    width: 200px;
  }

  /* infomation */
  #infomation {
    padding: 0 0 64px;
  }

  #infomation ul li {
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
  }
 .readMore {
  display: inline-block;
   width: 100%;
  text-align: right;
}

  /* ourMenu */
  #ourMenu {
    padding: 64px 0;
  }

  .courseRow {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .courseRight {
    width: 100%;
    text-align: right;
  }

  /* gallery */
  #gallery {
    padding: 64px 0;
  }
  
  /* PCの古いgalleryGridスタイルを上書きして無効化 */
  .galleryGrid {
    display: block;
  }
  /* スライダー：1画面に1枚表示 */
  .galleryTrack li {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-right: 0;
  }

  /* モーダル */
  #modalContent {
    padding: 0 16px;
    gap: 12px;
  }

  #modalPrev,
  #modalNext {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  #modalClose {
    top: -44px;
    right: 16px;
  }

  #modalImgWrap {
    max-height: 70vh;
  }

  #modalImg {
    max-height: 70vh;
  }
}

  /* reservation */
  #reservation {
    padding: 64px 0;
  }
  #reservation h3 #break{
    display: block;
  }
  #reservation h3 #hide{
    display: none;
  }
  .reserveFrame {
    padding: 40px 24px;
  }

  /* access */
  #access {
    padding: 64px 0;
  }

  .accessGrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mapArea iframe {
    height: 240px;
  }

