/* ============================================================
   カラー・フォント設定（ジャングル・トロピカル・トレジャーテーマ）
   ブランドカラーを変える場合は、この :root 内の値だけ変更すればOK
============================================================ */
:root {
  /* ベース：ジャングルの深緑 */
  --jungle-950: #081a11;
  --jungle-900: #0d2b1c;
  --jungle-800: #123a26;
  --jungle-700: #1c5236;
  --jungle-600: #2c6b48;
  --jungle-500: #3d8760;

  /* アクセント：ゴールド */
  --gold-100: #faf0c8;
  --gold-300: #f0cf5e;
  --gold-500: #d4af37;
  --gold-700: #8a6d1d;

  /* 差し色：トロピカルなオレンジ〜レッド */
  --ember-500: #e2611c;
  --ember-600: #c94a1c;
  --ember-700: #9a3414;

  /* 背景・文字 */
  --parchment: #f6efdc;
  --parchment-dark: #ece0bd;
  --ink: #241f16;
  --ink-soft: #55492f;
  --cream: #f7f2e4;
  --cream-soft: rgba(247, 242, 228, 0.7);

  --font-base: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Zen Maru Gothic", var(--font-base);

  --header-height: 76px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--jungle-950);
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

/* leaf ornament (gold) as a reusable background image */
:root {
  --leaf-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23d4af37' d='M32 3C15 12 6 29 11 45c4 13 15 17 21 17s17-4 21-17C58 29 49 12 32 3z'/%3E%3Cpath fill='%238a6d1d' d='M32 10v46' stroke='%238a6d1d' stroke-width='2'/%3E%3C/svg%3E");
}

/* ============================================================
   ヘッダー
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: linear-gradient(180deg, var(--jungle-950), var(--jungle-900));
  border-bottom: 3px solid var(--gold-500);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-300);
  letter-spacing: 1px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.site-nav ul {
  display: flex;
  gap: 30px;
}

.site-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  padding-bottom: 4px;
  transition: color 0.2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.25s ease, left 0.25s ease;
}

.site-nav a:hover {
  color: var(--gold-300);
}

.site-nav a:hover::after {
  width: 100%;
  left: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold-500);
}

/* ============================================================
   ヒーロー
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-500);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--jungle-900);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(8, 26, 17, 0.18) 0%, rgba(8, 26, 17, 0.6) 55%, rgba(6, 15, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 26, 17, 0.8) 0%, rgba(8, 26, 17, 0.3) 32%, rgba(8, 26, 17, 0.55) 72%, rgba(6, 15, 10, 0.92) 100%);
}

.hero-mascot {
  position: absolute;
  top: 96px;
  /* ヘッダー内のロゴ(左端)と同じコンテンツ幅の右端に揃えて左右バランスを取る */
  right: max(20px, calc((100% - var(--max-width)) / 2 + 20px));
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid var(--gold-500);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  z-index: 2;
  animation: mascot-float 4s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-crest {
  width: min(480px, 88vw);
  margin: 0 auto 20px;
  /* 背景透過済みの画像を使用しているため、枠は設けずロゴをそのまま大きく配置 */
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 5.2vw, 3.2rem);
  color: var(--gold-300);
  letter-spacing: 1.5px;
  line-height: 1.5;
  white-space: pre-line;
  margin-bottom: 18px;
  /* 緑系の背景写真に緑の縁取りが埋もれてしまうため、縁取り・影は無彩色(黒)に統一してコントラストを確保 */
  -webkit-text-stroke: 1.5px #000;
  text-shadow:
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000,
    0 0 14px rgba(0, 0, 0, 0.85),
    0 6px 18px rgba(0, 0, 0, 0.7);
}

.hero-canopy {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'%3E%3Cpath d='M0 24 L9 5 L14 12 L20 0 L26 12 L31 5 L40 24 Z' fill='%23f6efdc'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 30px;
  z-index: 2;
}

/* ============================================================
   ボタン
============================================================ */
.btn {
  display: inline-block;
  padding: 16px 38px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.98rem;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.45) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(160deg, var(--gold-300), var(--ember-600));
  color: var(--jungle-950);
  border: 2px solid var(--gold-700);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(212, 175, 55, 0.18) inset;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.6);
}

.btn-outline {
  border: 2px solid var(--gold-500);
  color: var(--gold-300);
  background: var(--jungle-800);
  box-shadow: 0 8px 18px rgba(8, 26, 17, 0.35);
}

.section-alt .btn-outline {
  color: var(--jungle-950);
  background: var(--gold-500);
  border-color: var(--gold-300);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.btn-outline:hover {
  background: var(--ember-600);
  border-color: var(--gold-300);
  color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   共通セクション
============================================================ */
.section {
  padding: 96px 20px;
  background: var(--parchment);
  background-image: radial-gradient(rgba(36, 31, 22, 0.05) 1px, transparent 1px);
  background-size: 7px 7px;
  position: relative;
  scroll-margin-top: var(--header-height);
}

.section-alt {
  background-color: var(--jungle-900);
  background-image:
    repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.035) 0px, rgba(212, 175, 55, 0.035) 2px, transparent 2px, transparent 26px);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.8vw, 2.2rem);
  text-align: center;
  color: var(--jungle-900);
  letter-spacing: 1.5px;
  line-height: 1.6;
  margin: 0 0 52px;
  padding-bottom: 28px;
  position: relative;
}

.section-alt .section-title {
  color: var(--gold-300);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.deco-diamond {
  display: inline-block;
  color: var(--ember-500);
  font-size: 0.6em;
  margin: 0 12px;
  vertical-align: middle;
  transform: translateY(-2px);
}

.section-title::before {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember-500) 15%, var(--gold-300) 50%, var(--ember-500) 85%, transparent);
}

.section-lead {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.section-alt .section-lead {
  color: var(--cream-soft);
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--parchment-dark);
  border: 2px solid var(--gold-500);
  border-radius: 10px;
  padding: 36px 30px;
  position: relative;
  box-shadow: 0 10px 24px rgba(36, 31, 22, 0.12);
}

.about-text::before,
.about-text::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  top: -15px;
  background-image: var(--leaf-gold);
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.about-text::before { left: -15px; transform: rotate(-40deg); }
.about-text::after { right: -15px; transform: rotate(220deg) scaleX(-1); }

/* ============================================================
   ギャラリー
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--gold-500);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.4);
}

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

/* ============================================================
   メニュー
============================================================ */
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.menu-item {
  padding: 24px 22px;
  background: linear-gradient(165deg, var(--parchment-dark), var(--parchment));
  border: 2px solid var(--gold-500);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 8px 18px rgba(36, 31, 22, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 22px rgba(36, 31, 22, 0.2);
}

.menu-item::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 26px;
  height: 26px;
  background-image: var(--leaf-gold);
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-30deg);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.menu-item .menu-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--jungle-800);
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.menu-item .menu-price {
  color: var(--ember-600);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.menu-item .menu-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ============================================================
   店舗案内
============================================================ */
.shop-info-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.shop-info-table {
  width: 100%;
  border-collapse: collapse;
}

.shop-info-table th,
.shop-info-table td {
  text-align: left;
  padding: 16px 10px;
  border-bottom: 1px solid var(--jungle-600);
  vertical-align: top;
}

.shop-info-table th {
  width: 110px;
  color: var(--gold-300);
  font-weight: 500;
}

.shop-info-table td {
  color: var(--cream);
}

.shop-info-table td a:hover {
  color: var(--gold-300);
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 3px 0;
  border: none;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--cream);
  width: auto;
}

.hours-table th {
  padding-right: 14px;
  white-space: nowrap;
  color: var(--cream);
}

.hours-table tr.is-closed td,
.hours-table tr.is-closed th {
  color: rgba(247, 242, 228, 0.45);
}

.map-embed {
  min-height: 260px;
  background: var(--jungle-800);
  border: 3px solid var(--gold-500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 4px;
}

.map-placeholder {
  color: var(--cream-soft);
  font-size: 0.9rem;
  text-align: center;
}

.access-map-img {
  width: 100%;
  border-radius: 4px;
}

/* ============================================================
   最新情報 / SNS
============================================================ */
#news .btn-outline,
#tweets .btn-outline {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ============================================================
   Xの投稿紹介
============================================================ */
.tweet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.tweet-card {
  margin: 0;
  background: var(--parchment);
  border: 2px solid var(--gold-500);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tweet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.tweet-card-handle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--cream);
  background: linear-gradient(90deg, var(--jungle-800), var(--ember-600));
  padding: 8px 14px;
  letter-spacing: 0.5px;
}

.tweet-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.tweet-card figcaption {
  padding: 14px 16px 18px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================================
   フッター
============================================================ */
.site-footer {
  padding: 52px 20px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--jungle-900), var(--jungle-950));
  border-top: 3px solid var(--gold-500);
  color: var(--cream);
}

.site-footer p:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-300);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.site-footer .copyright {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(247, 242, 228, 0.55);
}

/* ============================================================
   レスポンシブ
============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--jungle-900), var(--jungle-950));
    border-bottom: 3px solid var(--gold-500);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open { transform: translateY(0); }

  .site-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 18px;
  }

  .hero-mascot {
    width: 60px;
    height: 60px;
    top: 90px;
    right: max(14px, calc((100% - var(--max-width)) / 2 + 14px));
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .tweet-grid { grid-template-columns: repeat(2, 1fr); }

  .shop-info-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tweet-grid { grid-template-columns: 1fr; }
}
