@charset "UTF-8";

/* ==========================================================================
   基本設定 (Base)
   ========================================================================== */
:root {
  --main-brown: #663300;
  --accent-orange: #FF9500;
  --bg-cream: #FDF8CA;
  --text-color: #333;
  --price-color: #d35400;
  --line-green: #06C755;
  --coupon-border: #D4AF37;
}

body {
  background-color: #e0e0e0;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: var(--main-brown);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

/* ==========================================================================
   レイアウト枠 (Layout)
   ========================================================================== */
.wrapper {
  max-width: 960px;
  margin: 40px auto;
  background-color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.content-wrapper {
  background-color: var(--main-brown);
  padding: 40px;
}

/* 共通のインナーコンテナ（白背景部分） */
.inner-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 4px;
}

/* トップページ用：サイドバーがある場合のグリッドレイアウト */
.inner-container.has-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

/* ページタイトル周り */
.page-title {
  text-align: center;
  margin-bottom: 30px;
}

.page-intro,
.page-note {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

/* ==========================================================================
   ヘッダー & ナビゲーション (Header & Nav)
   ========================================================================== */
header {
  border-top: 5px solid var(--accent-orange);
  background: #fff;
  padding-bottom: 20px;
  position: relative;
}

/* ▼▼▼ 修正箇所：画像を横幅いっぱいに拡大 ▼▼▼ */
.header-visual {
  display: flex;
  justify-content: center;
  gap: 0;
  width: 100%; /* コンテナ幅いっぱい */
}

.header-visual img {
  width: 33.3333%; /* 3枚で100%になるように等分 */
  height: auto;
  object-fit: cover; /* 画像の比率を保ちつつ枠を埋める */
}
/* ▲▲▲ 修正ここまで ▲▲▲ */

/* ナビゲーション（PC） */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  gap: 10px;
}

nav a .nav-img {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s;
}

nav a:hover .nav-img {
  transform: translateY(-2px);
  opacity: 0.8;
}

.nav-text {
  display: none;
  /* PCでは非表示 */
}

/* ハンバーガーボタン (PCでは非表示) */
.hamburger-btn {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background-color: var(--main-brown);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  z-index: 100;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   サイドバー & 店舗情報 (Sidebar & Shop Info)
   ========================================================================== */
/* サイドバー（トップページ左側） */
.sidebar {
  background-color: var(--bg-cream);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  height: fit-content;
}

/* 店舗情報エリア（下層ページ下部） */
.shop-info-area {
  background-color: var(--bg-cream);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin-top: 60px;
}

.shop-address,
.shop-details {
  text-align: left;
  font-size: 13px;
  line-height: 2;
}
/* トップページのサイドバー内住所 */
.sidebar .shop-address {
  margin: 15px 0;
}
/* 下層ページの店舗情報内住所 */
.shop-details {
  font-size: 14px;
  text-align: center; 
}

/* 地図と写真の横並び（下層ページ用） */
.shop-info-flex {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.shop-photo,
.shop-map {
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* LINEボタン */
.line-btn {
  display: inline-block;
  background-color: var(--line-green);
  color: #fff !important;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 5px;
}

/* ==========================================================================
   共通コンテンツパーツ (Common Components)
   ========================================================================== */
/* 見出し */
main h2,
.contact-card h2 {
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-title-img {
  margin-bottom: 20px;
  display: block;
}

/* インフォメーション枠 */
.info-box {
  background: #f9f9f9;
  border-left: 5px solid var(--accent-orange);
  padding: 15px 20px;
  margin-bottom: 40px;
  font-size: 14px;
}

/* フッター */
footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #999;
}

/* ==========================================================================
   トップページ & メニュー (Menu Cards)
   ========================================================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.menu-card {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ccc;
  align-items: flex-start;
}

.menu-card:last-child {
  border-bottom: none;
}

.menu-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-text {
  flex: 1;
}

.menu-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: var(--main-brown);
}

.menu-desc {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.menu-price {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: var(--price-color);
  font-weight: bold;
}

.note-text {
  font-size: 12px;
  color: #888;
  margin-top: -20px;
  margin-bottom: 30px;
  text-align: right;
}

/* ==========================================================================
   Aboutページ (About Page)
   ========================================================================== */
.about-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}

.message-img {
  margin-bottom: 30px;
  max-width: 300px;
}

.about-images {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-images img {
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   メニューページ詳細 (Menu Page Detail)
   ========================================================================== */
.menu-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}

.menu-category {
  margin-bottom: 40px;
}

.category-title {
  margin-bottom: 15px;
  display: block;
  border-bottom: 2px solid var(--bg-cream);
  padding-bottom: 5px;
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.menu-table tr {
  border-bottom: 1px dotted #ddd;
}

.menu-table tr:last-child {
  border-bottom: none;
}

.menu-table td {
  padding: 8px 0;
  vertical-align: bottom;
}

.menu-table .menu-name {
  text-align: left;
  font-weight: 500;
}

.menu-table .menu-price {
  text-align: right;
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
  color: var(--price-color);
  white-space: nowrap;
  padding-left: 20px;
}

.photo-menu-column {
  background-color: var(--bg-cream);
  padding: 20px;
  border-radius: 8px;
}

.photo-menu-item {
  margin-bottom: 30px;
  text-align: center;
}

.photo-menu-item img {
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 8px;
}

.photo-menu-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
  color: var(--main-brown);
  font-size: 16px;
  display: block;
}

/* ==========================================================================
   お問い合わせページ (Contact Page)
   ========================================================================== */
.contact-section {
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  background-color: #fff;
  text-align: center;
}

.line-area {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.line-button {
  display: inline-block;
  background-color: var(--line-green);
  color: #fff !important;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 15px;
}

.line-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(6, 199, 85, 0.4);
  opacity: 1;
}

.phone-area {
  margin-top: 20px;
}

.phone-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: bold;
  color: var(--main-brown);
  margin: 10px 0;
  display: block;
}

.phone-note {
  font-size: 14px;
  color: #666;
}

/* ==========================================================================
   クーポンページ (Coupon Page)
   ========================================================================== */
.coupon-list {
  max-width: 800px;
  margin: 0 auto;
}

.coupon-card {
  border: 3px dashed var(--coupon-border);
  background-color: #fffaf0;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.coupon-title-area {
  flex: 1;
}

.coupon-header {
  display: inline-block;
  background-color: var(--accent-orange);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
}

.coupon-text {
  font-size: 18px;
  line-height: 1.6;
  font-weight: bold;
  color: var(--main-brown);
}

.coupon-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
  font-weight: normal;
}

.coupon-image {
  width: 240px;
  flex-shrink: 0;
}

.coupon-image img {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* ==========================================================================
   スマホ対応・レスポンシブ (Mobile Responsive)
   ========================================================================== */
@media (max-width: 768px) {
  .wrapper {
    margin: 0;
    box-shadow: none;
  }

  .content-wrapper {
    padding: 0;
  }

  /* インナーコンテナのレスポンシブ */
  .inner-container,
  .inner-container.has-sidebar {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    gap: 40px;
  }

  /* トップページ：コンテンツ順序入れ替え（メインを上に） */
  main {
    order: 1;
  }
  .sidebar {
    order: 2;
    width: auto;
    margin-bottom: 0;
  }

  /* Aboutページ */
  .about-section {
    flex-direction: column;
    gap: 30px;
  }
  .about-images {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }
  .about-images img {
    width: 48%;
  }

  /* メニューカード */
  .menu-card {
    flex-direction: column;
    text-align: left;
  }
  .menu-image {
    width: 100%;
    height: 200px;
  }

  /* メニュー詳細ページ */
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .photo-menu-column {
    order: -1; /* 写真を先に表示 */
    background: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .photo-menu-item {
    margin-bottom: 0;
  }

  /* Contact & Shop Info */
  .contact-card {
    padding: 20px;
  }
  .phone-number {
    font-size: 24px;
  }
  .line-button {
    width: 80%;
    font-size: 16px;
    padding: 15px 0;
  }
  .shop-info-flex {
    flex-direction: column;
    align-items: center;
  }

  /* クーポンページ */
  .coupon-card {
    flex-direction: column-reverse;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }
  .coupon-image {
    width: 100%;
  }

  /* ハンバーガーメニュー制御 */
  .hamburger-btn {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(102, 51, 0, 0.95);
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .global-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  nav a .nav-img {
    display: none;
  }
  .nav-text {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    padding: 15px;
  }
}

/* PC表示時はスマホ用テキスト非表示 */
@media (min-width: 769px) {
  .nav-text {
    display: none;
  }
  .global-nav {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}