/* ==========================================================================
   1. 変数・基本設定
   ========================================================================== */
:root {
  --text-color: #1a1a1a;
  --bg-color: #fffaf0;
  --gold-color: #b8860b;
  --phakchi-green: #43a047;
  --phakchi-dark: #2e7d32;
  --header-height: 180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
}

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

a:hover {
  color: var(--gold-color);
}

/* ==========================================================================
   2. ヘッダー
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9999;
  background-color: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex-shrink: 0;
}

.logo-link {
  display: block;
  padding: 0;
  margin: 0;
}

.header-logo-img {
  height: 130px;
  width: auto;
  display: block;
}

/* ナビゲーション */
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 55px;
  transition: 0.3s;
}

.site-nav a i {
  font-size: 1.2rem;
  color: var(--gold-color);
  margin-bottom: 0.4rem;
  transition: 0.3s;
}

.site-nav a span {
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  opacity: 0.5;
  font-weight: bold;
  transition: 0.3s;
}

.site-nav a:hover i {
  transform: translateY(-3px);
}

.site-nav a:hover span {
  opacity: 1;
  color: var(--gold-color);
}

/* ==========================================================================
   3. メインレイアウト
   ========================================================================== */
main {
  margin-top: var(--header-height);
  width: 90%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 5rem 0;
}

main article h1 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.25rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 4rem;
}

main article h1::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-color) 40%, transparent 40%, transparent 60%, var(--gold-color) 60%, transparent);
}

main article h1::after {
  content: "\f06c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold-color);
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

h2 {
  font-size: 1.5rem;
  margin: 4rem 0 2rem;
  border-bottom: 1px dashed #ccc;
  display: flex;
  align-items: center;
}

h2::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--gold-color);
  margin-right: 0.8rem;
  transform: rotate(45deg);
  flex-shrink: 0;
}

h3 {
  margin: 3rem 0 1.2rem;
  border-left: 3px solid var(--gold-color);
  padding-left: 0.8rem;
  color: var(--gold-color);
}

main ul {
  list-style: none;
  padding-left: 0.5rem;
}

main li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

main li::before {
  content: "\f069";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 0.6rem;
  color: var(--gold-color);
  transform: rotate(15deg);
}

/* ボタン */
.tel-button-container {
  margin: 4rem 0;
  text-align: center;
}

.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--phakchi-green);
  color: #fff !important;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-tel:hover {
  background-color: var(--phakchi-dark);
  transform: translateY(-2px);
}

/* フッター */
footer {
  margin-top: 8rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #999;
  font-size: 0.75rem;
}

/* ==========================================================================
   4. トップページ：ヒーロー画像
   ========================================================================== */
.top-hero-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0;
  text-align: center;
  line-height: 0;
}

.top-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  border: 3px solid var(--gold-color) !important;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* ==========================================================================
   5. トップページ：導入文
   ========================================================================== */
.home-intro {
  text-align: center;
  margin-bottom: 5rem;
}

.home-intro p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 2;
}

.home-intro h1 {
  margin-top: 0;
}

/* ==========================================================================
   6. 地図
   ========================================================================== */
.access-map {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3.5rem 0;
}

.access-map iframe {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid rgba(184, 134, 11, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   7. アーカイブページ
   ========================================================================== */
.archive-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.archive-header {
  text-align: center;
  margin-bottom: 3rem;
}

.archive-header h1 {
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  color: var(--text-color);
  margin-bottom: 0.8rem;
}

.archive-decoration {
  width: 30px;
  height: 3px;
  background-color: var(--gold-color);
  margin: 0 auto;
}

.post-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.post-date {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  color: #888;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.post-title {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

/* ==========================================================================
   8. メニューページ（1段1枚のギャラリー ＋ 価格リスト）
   ========================================================================== */
.menu-gallery {
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.menu-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-sizing: border-box;
  border: 3px solid var(--gold-color) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.page-menu h2 {
  font-family: "Yu Mincho", serif;
  text-align: center;
  margin: 6rem 0 3rem;
}

.page-menu ul {
  list-style: none;
  padding: 0;
  max-width: 650px;
  margin: 0 auto;
}

.page-menu li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
  font-size: 1.1rem;
}

.page-menu li::before {
  content: none !important;
}

.menu-price {
  font-family: 'Courier New', Courier, monospace;
  color: var(--gold-color);
  font-weight: bold;
  margin-left: 1rem;
  flex-shrink: 0;
}

/* 写真下の情報エリア */
.menu-photo-info {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.2rem;
}

.menu-photo-info .name {
  display: block;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-color);
  line-height: 1;
}

.menu-photo-info .price {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  color: var(--gold-color);
  font-weight: bold;
  line-height: 1;
  position: relative;
  top: -5px;
  display: inline-block;
}

/* 写真群とリスト部分を分ける境界線 */
.menu-divider {
  border: none;
  border-top: 1px solid rgba(184, 134, 11, 0.2);
  margin: 6rem auto;
  width: 60px;
}

/* ==========================================================================
   9. モバイル対応（~768px）
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 200px;
  }

  .header-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 0.8rem;
  }

  .header-logo-img {
    height: 85px;
    width: auto;
  }

  .site-nav {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-nav ul {
    gap: 1rem;
    padding: 0;
  }

  .site-nav a {
    width: 55px;
  }

  .site-nav a i {
    font-size: 1.1rem;
  }

  .site-nav a span {
    font-size: 0.5rem;
  }

  main {
    margin-top: var(--header-height);
    padding-top: 2rem;
  }

  .top-hero-image {
    width: 92%;
    margin-bottom: 2.5rem;
  }

  .top-hero-image img {
    border-width: 2px;
    border-radius: 8px;
  }

  .home-intro {
    margin-bottom: 3.5rem;
    padding: 0 5%;
  }

  .access-map {
    margin: 2rem 0;
  }

  .access-map iframe {
    border-radius: 0;
  }

  .post-item {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.5rem 0;
  }

  .post-date {
    margin-right: 0;
    font-size: 0.85rem;
  }

  .post-title {
    text-align: center;
  }

  .menu-gallery {
    gap: 2rem;
  }

  .menu-gallery img {
    border-width: 2px;
  }

  .page-menu li {
    font-size: 1rem;
  }

  .menu-photo-info {
    padding: 0;
  }

  .menu-photo-info .name {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
  }

  .menu-photo-info .price {
    font-size: 1.05rem;
  }
}
