/* ===========================
   CSS Variables & Reset
   =========================== */

:root {
  /* CUE Color Palette */
  --color-background: #f7e6cd;
  --color-text: #453a37;
  --color-primary: #3c290e;
  --color-primary-dark: #2d1c0a;
  --color-accent: #8b6914;
  --color-accent-dark: #6b520f; /* 小さめの文字用(ベージュ地でWCAG AAを満たす) */
  --color-secondary: #6d5a4f;
  --color-light: #faf6f0;
  --font-serif: 'Playfair Display', 'Noto Serif JP', serif;
}

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

html {
  scroll-behavior: smooth;
  /* 固定ヘッダーの高さぶん、ページ内アンカーの着地位置をずらす */
  scroll-padding-top: 5.5rem;
  font-size: 16px;
  /* iOSはbodyだけのoverflow-x:hiddenを無視して横パンできるため、htmlにも指定する */
  overflow-x: hidden;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

/* ===========================
   Layout Components
   =========================== */

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding: 0 2rem;
  }
}

.container-narrow {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-narrow {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-narrow {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.bg-light {
  background-color: var(--color-light);
}

/* 画像を<picture>で包んでもラッパーいっぱいに広がるようにする */
.about-image-wrapper picture,
.feature-image-wrapper picture,
.gallery-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   Header
   =========================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled,
.header.menu-open {
  background-color: rgba(247, 230, 205, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px -12px rgba(60, 41, 14, 0.25);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header-logo a {
  display: block;
}

.logo-image {
  height: 2.5rem;
  width: auto;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .logo-image {
    height: 3rem;
  }
}

/* トップページ: ヒーロー表示中はナビを白抜きにし、ロゴはヒーロー内の
   大ロゴと重複しないよう隠す(スクロールでフェードイン)。
   モバイルメニュー展開中(.menu-open)はベージュ背景に戻すため除外する */
.header--overlay:not(.scrolled):not(.menu-open) .logo-image {
  opacity: 0;
}

.header--overlay:not(.scrolled):not(.menu-open) .header-logo a {
  pointer-events: none;
}

.header--overlay:not(.scrolled):not(.menu-open) .nav-link,
.header--overlay:not(.scrolled):not(.menu-open) .sns-link,
.header--overlay:not(.scrolled):not(.menu-open) .mobile-menu-btn {
  color: rgba(250, 246, 240, 0.92);
}

.header--overlay:not(.scrolled):not(.menu-open) .nav-link:hover,
.header--overlay:not(.scrolled):not(.menu-open) .sns-link:hover,
.header--overlay:not(.scrolled):not(.menu-open) .nav-link.active {
  color: #ffffff;
}

.header--overlay:not(.scrolled):not(.menu-open) .nav-link.active::after {
  background-color: rgba(250, 246, 240, 0.75);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
}

.header-sns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
}

.sns-link {
  color: var(--color-text);
  transition: color 0.3s ease;
}

.sns-link:hover {
  color: var(--color-accent);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  color: var(--color-text);
  transition: color 0.3s ease;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .menu-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-light);
  background-color: var(--color-background);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  color: var(--color-text);
  font-weight: 500;
  text-align: left;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary);
}

.mobile-sns {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.mobile-sns .sns-link {
  color: var(--color-text);
}

/* ===========================
   Buttons
   =========================== */

.btn-primary,
.btn-outline,
.btn-light,
.btn-ghost {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(60, 41, 14, 0.3);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

/* 暗い写真の上に置くボタン(ヒーロー用) */
.btn-light {
  background-color: var(--color-background);
  color: var(--color-primary);
}

.btn-light:hover {
  background-color: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
}

.btn-ghost {
  border: 1px solid rgba(250, 246, 240, 0.65);
  color: #faf6f0;
  background-color: rgba(26, 17, 8, 0.22);
}

.btn-ghost:hover {
  background-color: rgba(250, 246, 240, 0.16);
  border-color: rgba(250, 246, 240, 0.95);
}

/* ===========================
   Hero Section
   =========================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 画像ロード前の下地 */
  background-color: var(--color-primary-dark);
  padding: 7rem 0 4.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 明るくカジュアルな写真を活かすため暗幕は控えめに。文字の可読性は
     text-shadowと中央の楕円シェードで補う */
  background:
    radial-gradient(ellipse 70% 55% at 50% 52%, rgba(26, 17, 8, 0.32), rgba(26, 17, 8, 0) 70%),
    linear-gradient(
      180deg,
      rgba(26, 17, 8, 0.44) 0%,
      rgba(26, 17, 8, 0.16) 45%,
      rgba(26, 17, 8, 0.5) 100%
    );
}

/* 立ちのぼる煙(CSS+生成テクスチャ・装飾)
   .smoke-puff: ぼかした光の塊でベースの量感を作る
   .smoke-wisp: 筋・渦のある煙テクスチャ(img/smoke-*.webp)で本物らしさを出す */
.hero-smoke {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.smoke-puff {
  position: absolute;
  bottom: -280px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(250, 246, 240, 0.8) 0%, rgba(250, 246, 240, 0.25) 45%, rgba(250, 246, 240, 0) 70%);
  filter: blur(14px);
  opacity: 0;
  will-change: transform, opacity;
}

.smoke-puff-1 {
  left: 4%;
  animation: smoke-rise-right 17s linear infinite;
}

.smoke-puff-2 {
  left: 30%;
  width: 340px;
  height: 340px;
  animation: smoke-rise-left 22s linear infinite;
  animation-delay: -8s;
}

.smoke-puff-3 {
  right: 2%;
  animation: smoke-rise-left 19s linear infinite;
  animation-delay: -14s;
}

.smoke-wisp {
  position: absolute;
  bottom: -560px;
  width: 260px;
  height: 520px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  will-change: transform, opacity;
}

.smoke-wisp-1 {
  left: 5%;
  background-image: url(../img/smoke-1.webp);
  animation: wisp-rise-a 18s linear infinite;
  animation-delay: -5s;
}

.smoke-wisp-2 {
  left: 34%;
  width: 330px;
  height: 660px;
  background-image: url(../img/smoke-2.webp);
  animation: wisp-rise-b 24s linear infinite;
  animation-delay: -14s;
}

.smoke-wisp-3 {
  right: 2%;
  background-image: url(../img/smoke-2.webp);
  animation: wisp-rise-a 21s linear infinite;
  animation-delay: -18s;
}

@media (min-width: 768px) {
  .smoke-puff {
    width: 340px;
    height: 340px;
    filter: blur(18px);
  }

  .smoke-puff-2 {
    width: 440px;
    height: 440px;
  }

  .smoke-wisp {
    bottom: -900px;
    width: 340px;
    height: 680px;
  }

  .smoke-wisp-2 {
    width: 430px;
    height: 860px;
  }
}

@keyframes smoke-rise-right {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(90px, -115vh, 0) scale(2);
    opacity: 0;
  }
}

@keyframes smoke-rise-left {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 0.75;
  }
  60% {
    opacity: 0.45;
  }
  100% {
    transform: translate3d(-90px, -115vh, 0) scale(2);
    opacity: 0;
  }
}

/* テクスチャ煙: 蛇行(X往復)+わずかな回転を加えて本物の揺らぎに寄せる */
@keyframes wisp-rise-a {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  35% {
    transform: translate3d(30px, -46vh, 0) rotate(5deg) scale(1.18);
  }
  60% {
    opacity: 0.6;
  }
  75% {
    transform: translate3d(-18px, -96vh, 0) rotate(-3deg) scale(1.4);
  }
  100% {
    transform: translate3d(34px, -132vh, 0) rotate(6deg) scale(1.58);
    opacity: 0;
  }
}

@keyframes wisp-rise-b {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) scaleX(-1);
    opacity: 0;
  }
  10% {
    opacity: 0.85;
  }
  35% {
    transform: translate3d(-30px, -44vh, 0) rotate(-5deg) scale(1.2) scaleX(-1);
  }
  60% {
    opacity: 0.55;
  }
  75% {
    transform: translate3d(20px, -94vh, 0) rotate(3deg) scale(1.42) scaleX(-1);
  }
  100% {
    transform: translate3d(-36px, -130vh, 0) rotate(-6deg) scale(1.6) scaleX(-1);
    opacity: 0;
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo-image {
  height: 6rem;
  width: auto;
  /* 黒ロゴを白抜きにする */
  filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

@media (min-width: 768px) {
  .hero-logo-image {
    height: 7.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-logo-image {
    height: 8.5rem;
  }
}

.hero-main-text {
  color: #faf6f0;
  font-size: 1.1875rem;
  line-height: 2;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .hero-main-text {
    font-size: 1.375rem;
  }
}

.hero-sub-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  color: rgba(250, 246, 240, 0.85);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .hero-sub-text {
    font-size: 1.0625rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.5rem;
  width: 100%;
}

.hero-cta a {
  width: min(100%, 17.5rem);
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .hero-cta a {
    width: auto;
    min-width: 13rem;
  }
}

/* ===========================
   Section Headers
   =========================== */

.section-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4.5rem;
  }
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.decorative-line {
  width: 6rem;
  height: 2px;
  background-color: var(--color-accent);
  margin: 0 auto 1.25rem;
}

.section-subtitle {
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--color-accent-dark);
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.125rem;
  }
}

/* ===========================
   About Section
   =========================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .about-heading {
    font-size: 2.25rem;
  }
}

.about-accent-line {
  width: 4rem;
  height: 2px;
  background-color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.75;
}

.about-main {
  font-size: 1.125rem;
}

.about-image-wrapper {
  aspect-ratio: 3 / 4;
  background-color: var(--color-background);
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.feature-image-wrapper {
  aspect-ratio: 4 / 3;
  background-color: var(--color-background);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  transition: transform 0.3s ease;
  order: 2; /* スマホ表示では写真を下に配置 */
}

@media (min-width: 768px) {
  .feature-image-wrapper {
    order: 0; /* PC表示では元の順序に戻す */
  }
}

.feature-card:hover .feature-image-wrapper {
  transform: scale(1.05);
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ===========================
   Gallery Section
   =========================== */

.gallery-grid {
  display: grid;
  /* スマホは2列・全タイル正方形(largeとwideの変形はPCのみ) */
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.gallery-large {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-wide {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-wide {
    grid-column: span 2;
  }
}

/* スマホのみ: 1枚目・6枚目を全幅の大タイルで表示(PCのモザイクには影響しない) */
@media (max-width: 767px) {
  .gallery-sp-large {
    grid-column: span 2;
  }
}

.gallery-item {
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1 / 1;
}

/* Gallery Image Styling */
.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-link:hover .gallery-img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .gallery-item.gallery-wide {
    aspect-ratio: 2 / 1;
  }
}

/* ===========================
   Access Section
   =========================== */

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.access-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .access-heading {
    font-size: 1.875rem;
  }
}

.access-accent-line {
  width: 4rem;
  height: 2px;
  background-color: var(--color-accent);
  margin-bottom: 2rem;
}

.access-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.access-item-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.access-icon {
  flex-shrink: 0;
  margin-right: 0.75rem;
  color: var(--color-accent-dark);
}

.access-item-text {
  line-height: 1.75;
  margin-left: 1.75rem;
}

.font-medium {
  font-weight: 500;
}

.hours-note {
  font-size: 0.875rem;
  opacity: 0.8;
}

.map-wrapper {
  aspect-ratio: 4 / 3;
  background-color: var(--color-background);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(139, 105, 20, 0.2);
  position: relative;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.map-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 105, 20, 0.05), rgba(60, 41, 14, 0.05));
  pointer-events: none;
  z-index: 1;
}

.map-line-top,
.map-line-bottom,
.map-line-right {
  position: absolute;
  background-color: rgba(139, 105, 20, 0.3);
  pointer-events: none;
  z-index: 2;
}

.map-line-top {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.map-line-bottom {
  bottom: 0;
  right: 0;
  width: 66.666%;
  height: 2px;
}

.map-line-right {
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
}

/* ===========================
   Contact Section
   =========================== */

.contact-intro {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-methods {
  display: grid;
  /* minmax(0,1fr): ボタンの文字列(@cue.shisha_infusions)の最小幅でトラックが
     広がり320px級の画面で横スクロールが生じるのを防ぐ */
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(139, 105, 20, 0.2);
  transition: border-color 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  border-color: rgba(139, 105, 20, 0.4);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: rgba(139, 105, 20, 0.12);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.contact-note {
  font-size: 0.875rem;
  color: rgba(69, 58, 55, 0.7);
  padding-top: 2rem;
  text-align: center;
}

/* ===========================
   Footer
   =========================== */

.footer {
  background-color: var(--color-secondary);
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo-image {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
  /* 黒ロゴを白抜きにして焦げ茶背景でも視認できるようにする */
  filter: brightness(0) invert(1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-sns-link {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-sns-link:hover {
  background-color: var(--color-accent);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-icon {
  color: #d8b25f;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-detail a {
  transition: color 0.3s ease;
}

.footer-detail a:hover {
  color: var(--color-background);
}

.footer-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-related-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-related-card {
  background-color: rgba(255, 255, 255, 0.12);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.footer-related-card:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-related-title {
  font-weight: 600;
  color: var(--color-background);
  margin-bottom: 0.5rem;
}

.footer-related-link {
  display: inline-block;
  font-size: 0.875rem;
  background-color: var(--color-background);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.footer-related-link:hover {
  background-color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-operated {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ===========================
   Menu Page
   =========================== */

.menu-section {
  min-height: 100vh;
  background-color: var(--color-background);
  padding: 8rem 0 4rem;
}

.menu-images {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-image-item {
  position: relative;
  background-color: var(--color-light);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(139, 69, 19, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-image-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 35px -5px rgba(139, 69, 19, 0.15);
}

.menu-img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-back {
  text-align: center;
  margin-top: 3rem;
}

/* ===========================
   Animations
   =========================== */

/* JSが動いている(html.js-loaded)ときだけ初期非表示にする。
   JS無効・読み込み失敗時にコンテンツが消えたままになるのを防ぐ */
.js-loaded .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-loaded .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-smoke {
    display: none;
  }

  .gallery-link:hover .gallery-img,
  .feature-card:hover .feature-image-wrapper,
  .menu-image-item:hover,
  .btn-primary:hover,
  .btn-light:hover {
    transform: none;
  }
}
