/*
 * style.css
 * pullussagio公式サイト向けモダンデザインCSS (最終統合版)
 */

/* --- CSS変数定義（カラーとフォント） --- */
:root {
  --color-primary: #721D34;      /* ボルドー (メインカラー) */
  --color-accent: #D4AF37;       /* ゴールド (強調カラー) */
  --color-bg-light: #F8F4F0;     /* 明るい背景色 (アイボリー系) */
  --color-text-dark: #333333;
  --font-serif: 'Playfair Display', serif; /* エレガントな見出し (Google Fonts) */
  --font-sans: 'Noto Sans JP', sans-serif; /* モダンな本文 (Google Fonts) */
}

/* --- 全体設定とリセット --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  line-height: 1.7;
  background-color: var(--color-bg-light);
  overflow-x: hidden; /* 横スクロールを禁止 */
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 固定ヘッダー対策と文字色の保証 */
#container {
    padding-top: 80px; /* 固定ヘッダーの高さに合わせて調整 */
    position: relative; 
    z-index: 10; 
}

/* ページのセクションで文字色と背景色を保証 */
.section-about, 
.section-course, 
.section-message, 
.section-takeout-order, 
.section-gallery,
.section-concept-message,
.section-scene,
.section-memorial {
    background-color: var(--color-bg-light); 
    color: var(--color-text-dark);
    position: relative; 
}

/* ギャラリーセクションの背景は純粋な白に設定 */
.section-gallery,
.bg-white-section {
    background-color: #FFFFFF;
}


/* --- 固定予約ボタン --- */
.fixed-reserve-btn {
  position: fixed;
  top: 50%;
  right: -50px; /* 初期位置は少し隠す */
  transform: translateY(-50%) rotate(90deg);
  z-index: 1000;
  padding: 10px 20px;
  background-color: var(--color-accent);
  color: white;
  font-weight: bold;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s ease-out;
}
.fixed-reserve-btn:hover {
  right: -30px;
  opacity: 1;
}

/* --- ヘッダー --- */
.header {
  position: fixed;
  width: 100%;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

/* PCナビゲーション */
.main-nav {
    display: block; /* PC表示 */
}
.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover {
  border-bottom: 2px solid var(--color-accent);
  opacity: 1;
}
.lang-switch {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* ハンバーガーメニューボタン (モバイル用、PCでは非表示) */
.menu-toggle {
  display: none; 
}


/* --- ヒーローセクション (トップページ共通) --- */
.section-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
/* メニュー・コンセプトページ用 */
.section-hero-menu,
.section-hero-concept {
  height: 60vh; 
}
.menu-top-slider .slide-item,
.concept-top-slider .slide-item {
  height: 60vh;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.slide-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65); /* 暗くしてテキストを読みやすく */
  transition: transform 6s ease-out; /* スライド内の画像を動かすアニメーション用 */
}

/* ヒーロー画像の設定 (ファイル名に合わせて調整してください) */
.slide-1 { background-image: url(images/top.jpg); } 
.slide-2 { background-image: url(images/nasu/LINE_ALBUM_20211007_211010_50.jpg); } 
.slide-3 { background-image: url(images/nasu/LINE_ALBUM_20211007_211010_4.jpg); } 
/* メニューヒーロー画像 (menu.html参照) */
.slide-menu-1 { background-image: url(images/nasu/menu1.jpg); }
.slide-menu-2 { background-image: url(images/nasu/top6.jpg); }
.slide-menu-3 { background-image: url(images/nasu/top9.jpg); }
/* コンセプトヒーロー画像 (concept.html参照) */
.slide-concept-1 { background-image: url(images/nasu/top8.jpg); }


.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: white;
}

.main-title {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.sub-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
  display: inline-block;
}

.cta-scroll-down {
  display: block;
  margin-top: 80px;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: white;
  opacity: 0.8;
  position: relative;
}
.cta-scroll-down::after {
  content: '↓';
  display: block;
  margin-top: 10px;
  animation: bounce 1.5s infinite;
}

/* --- 全コンテンツ共通スタイル --- */
.section-about, .section-menu, .section-concept, .section-access,
.section-concept-message, .section-scene, .section-memorial {
  padding: 100px 0;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-primary);
  text-align: center;
}
.heading-ja {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: #888;
  margin-top: 5px;
}
.align-left {
  text-align: left;
}


/* --- ABOUTセクション/コンセプトメッセージ --- */
.about-text-box {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
}
.lead-text {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 25px;
}
.lead-text strong {
  color: var(--color-primary);
}
.description-text {
  margin-top: 20px;
}

/* --- グリッドレイアウトセクション (MENU/CONCEPT) --- */
.grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* テキスト1に対し画像1.2の比率 */
  gap: 80px;
  align-items: center;
  margin-top: 50px;
}

.grid-layout.reverse {
  grid-template-areas: "image text";
}
.grid-layout.reverse .grid-image-content { grid-area: image; }
.grid-layout.reverse .grid-text-content { grid-area: text; }

.grid-text-content {
  padding-right: 20px;
}
/* 画像が削除されたメッセージセクションのテキストを中央に配置 */
.message-content-single {
    max-width: 800px;
    margin: 50px auto;
    padding-right: 0;
}


.grid-image-content img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.1); /* 影を付けて重厚感を */
}

.link-more {
  display: inline-block;
  margin-top: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}
.link-more:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* --- コンセプトページ専用見出し (グリッド内の小見出し) --- */
.concept-heading {
    font-family: var(--font-sans); /* 日本語なのでNoto Sans JPに戻す */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 5px;
}
.section-scene {
    padding-bottom: 50px;
}
.section-memorial {
    padding-top: 50px;
}


/* --- ACCESSセクション --- */
.section-access {
  background-color: white; /* 背景色を変えて差別化 */
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-top: 40px;
}

.access-info {
  font-style: normal;
}

.hours-info {
  margin: 30px 0;
}

.hours-info dt {
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 10px;
}

.tel-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 15px 0;
}

.reserve-note {
  font-size: 0.9rem;
}

.access-map iframe {
  border: none;
  width: 100%;
}

/* --- SNSリンク --- */
.sns-links {
  text-align: center;
  margin-top: 60px;
}
.sns-links a {
  display: inline-block;
  width: 180px; /* PC版: 180px */
  height: 180px; 
  margin: 0 20px; 
  opacity: 0.8;
}
.sns-links a img {
  width: 100%;
  height: auto;
}
.sns-links a:hover {
  opacity: 1;
}

/* --- フッター --- */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-site-map {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-site-map li {
  margin: 0 15px;
}

.footer-site-map a {
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.footer-site-map a:hover {
  opacity: 1;
  border-bottom: 1px solid white;
}

.copyright {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* --- メニューページ専用スタイル --- */

/* メニュー/コース/ランチブロック */
.menu-item-block {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  padding: 30px;
  border: 1px solid var(--color-primary); 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.menu-item-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--color-accent); 
  display: inline-block;
  padding-bottom: 5px;
}

.menu-price-group {
  margin: 15px 0 20px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.reservation-note {
  font-size: 0.9rem;
  color: #888;
}

.mt-60 {
  margin-top: 60px;
}

/* メッセージセクション */
.sub-title-passion {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: block;
}


/* テイクアウト＆オーダーセクション (左右分割) */
.section-takeout-order {
  padding: 80px 0;
}

.menu-side-by-side {
  display: flex;
  gap: 80px;
}

.menu-column {
  flex: 1;
}

.menu-list-table {
  width: 100%;
  margin-top: 30px;
  border-collapse: collapse;
}

.menu-list-table th, .menu-list-table td {
  padding: 15px 0;
  border-bottom: 1px dashed #ccc;
  text-align: left;
  font-size: 1.1rem;
}

.menu-list-table th {
  font-weight: 700;
  color: var(--color-primary);
  width: 70%;
}

.order-notes {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* ギャラリーセクション */
.section-gallery {
  padding-bottom: 100px;
}

.gallery-slider {
  margin: 40px 0 10px;
}

.gallery-slider img {
  width: 100%;
  height: auto;
}

.gallery-thumb-slider {
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-thumb-slider img {
  width: 100%;
  height: auto;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
  padding: 5px;
}

.gallery-thumb-slider .slick-current img {
  opacity: 1;
  border: 2px solid var(--color-accent);
}


/* --- アニメーション関連 (JS連携: スクロールで出現) --- */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1), transform 1s cubic-bezier(0.33, 1, 0.68, 1);
}
.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-5px);
  }
  60% {
      transform: translateY(-3px);
  }
}

/* ---------------------------------------------------- */
/* --- レスポンシブデザイン (モバイル向け) --- */
/* ---------------------------------------------------- */
@media (max-width: 992px) {
  
  .container {
      padding: 0 20px; 
  }
  
  .header-inner {
      padding: 10px 20px;
  }

  /* タイトルをモバイル向けに最適化 */
  .main-title {
      font-size: 2.5rem; 
      margin-bottom: 5px;
  }
  .sub-title {
      font-size: 1rem; 
  }

  /* セクション全体の上下の余白を調整 */
  .section-about, .section-menu, .section-concept, .section-access,
  .section-concept-message, .section-scene, .section-memorial {
      padding: 60px 0;
  }
  
  /* ヒーローセクションの高さを調整 */
  .section-hero {
      height: 60vh;
  }
  .slide-item {
      height: 60vh;
  }
  .section-hero-menu,
  .section-hero-concept {
      height: 40vh;
  }
  .menu-top-slider .slide-item,
  .concept-top-slider .slide-item {
      height: 40vh;
  }


  /* 英語見出しを調整 */
  .section-heading {
      font-size: 2rem;
  }
  .heading-ja {
      font-size: 0.9rem;
  }
  .lead-text {
      font-size: 1.1rem;
  }

  /* PCナビゲーションを隠す（ハンバーガーメニュー用） */
  .main-nav {
      display: none; 
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: var(--color-primary);
      transform: translateX(100%);
      transition: transform 0.5s ease;
      z-index: 98;
      padding-top: 80px;
      display: block; /* モバイル時はブロック要素として扱う */
  }

  .main-nav.is-open {
      transform: translateX(0);
  }

  .nav-list {
      flex-direction: column;
      text-align: center;
      margin-top: 50px;
  }

  .nav-list li {
      margin: 15px 0;
  }

  .nav-list a {
      font-size: 1.5rem;
      color: white;
      border-bottom: none;
  }

  /* ハンバーガーメニューボタンを表示 */
  .menu-toggle {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 25px;
      cursor: pointer;
      z-index: 100;
  }

  .menu-toggle span {
      display: block;
      height: 3px;
      width: 100%;
      background: var(--color-primary);
      border-radius: 5px;
      transition: all 0.3s ease;
  }

  /* ハンバーガーアイコンのアニメーション */
  .menu-toggle.is-active span {
      background: white; /* 開いた時は白に変更 */
  }
  .menu-toggle.is-active span:nth-child(2) {
      opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(1) {
      transform: translateY(11px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(3) {
      transform: translateY(-11px) rotate(-45deg);
  }
  
  /* 固定予約ボタンを右下に移動 */
  .fixed-reserve-btn {
      top: unset;
      bottom: 20px;
      right: 20px;
      transform: rotate(0deg);
      padding: 15px 25px;
      font-size: 1rem;
      letter-spacing: 0.05em;
  }
  .fixed-reserve-btn:hover {
      right: 20px;
  }

  /* グリッドを縦積みに */
  .grid-layout {
      grid-template-columns: 1fr;
      gap: 50px;
  }
  
  /* MENU/CONCEPTで、テキストを画像の上に配置 */
  .grid-layout.reverse, .grid-layout {
      grid-template-areas: unset;
  }
  .grid-layout .grid-text-content { order: 1; padding: 0; }
  .grid-layout .grid-image-content { order: 2; }
  
  /* 画像が削除されたメッセージセクションのモバイル対応 */
  .message-content-single {
      margin-top: 0;
      padding: 0 10px;
  }

  /* コンセプトページグリッド内の見出しとテキストを中央寄せ */
  .concept-heading {
      font-size: 1.4rem;
      text-align: center; /* モバイルでは中央寄せ */
      width: 100%;
      margin-bottom: 10px;
  }
  .section-scene .grid-text-content,
  .section-memorial .grid-text-content {
      text-align: center;
  }

  .access-grid {
      grid-template-columns: 1