:root {
  --bg-dark: #ffffff;
  --bg-light: #fefcf8;
  --accent: #3a5a40;
  --accent-gold: #3a5a40;
  --text-light: #ffffff;
  --text-dark: #2c241e;
  --max-width: 1150px;
  --section-padding: 100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: var(--bg-dark);
  color: var(--text-dark);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.section.alt {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Noto Serif JP", serif;
  line-height: 1.35;
  margin-top: 0;
  word-break: auto-phrase;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

p {
  word-break: auto-phrase;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: opacity 0.25s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn.btn-small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
}

.btn-gold {
  background: var(--accent-gold) !important;
  color: #fff !important;
}

.sp-only {
  display: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: padding 0.3s ease, background 0.3s ease;
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: grid;
  line-height: 1.2;
}

.logo-main {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  opacity: 0.8;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
}

.global-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  margin: 6px 0;
  transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  text-align: center;
  color: var(--text-light);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  height: 100%;
}

.hero-overlay {
  background: linear-gradient(120deg,
      rgba(90, 50, 30, 0.9),
      rgba(90, 50, 30, 0.78));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  max-width: 720px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.strength-section {
  max-width: 760px;
  text-align: center;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 12px auto 28px;
}

.strength-text h3 {
  margin: 32px 0 16px;
  font-size: 1.4rem;
  color: var(--accent);
}

.strength-text p {
  margin: 6px 0;
}

.strength-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(183, 50, 50, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.alt .strength-card {
  background: #fff;
}

.strength-card img {
  height: 220px;
  transition: transform 0.35s ease;
}

.strength-card:hover img {
  transform: scale(1.05);
}

.strength-card h3,
.strength-card p {
  margin: 14px 16px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.story-image img {
  min-height: 480px;
  border-radius: 14px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.menu-item {
  position: relative;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.menu-item img {
  height: 220px;
  border-radius: 8px;
  transition: transform 0.35s ease;
}

.menu-item span {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  padding: 38px 10px 10px;
  font-size: 0.88rem;
}

.menu-item:hover img,
.gallery-item:hover img {
  transform: scale(1.05);
}

.note {
  margin: 10px 0 24px;
  opacity: 0.8;
}

.gallery-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 calc(80% - 16px);
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 600px) {
  .gallery-item {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (min-width: 900px) {
  .gallery-item {
    flex: 0 0 calc(33.333% - 11px);
  }
}

.gallery-item img {
  height: 200px;
  transition: transform 0.35s ease;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-panel dl {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 110px 1fr;
  margin-bottom: 24px;
}

.info-panel dt,
.info-panel dd {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.info-panel dt {
  font-weight: 700;
  color: var(--accent);
}

.info-panel dt:last-of-type,
.info-panel dd:last-of-type {
  border-bottom: none;
}

.info-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.info-panel dt {
  font-weight: 700;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 14px;
}

.site-footer {
  background: linear-gradient(135deg, #1a2b20, #111111);
  padding: 48px 0 24px;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 20px;
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.insta {
  align-self: start;
  color: var(--accent);
}

.copyright {
  margin: 28px 0 0;
  text-align: center;
  opacity: 0.6;
  font-size: 0.86rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative background text */
.section::before {
  content: attr(data-bg-text);
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  z-index: 0;
  pointer-events: none;
  font-family: sans-serif;
  letter-spacing: 0.1em;
}

.section.alt::before {
  color: rgba(58, 90, 64, 0.04);
}

.section .container {
  position: relative;
  z-index: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 75vh;
  border-radius: 10px;
}

.lightbox p {
  margin-top: 12px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2rem;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 0;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .section::before {
    font-size: 4rem;
    opacity: 0.02;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .global-nav.open {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .global-nav a {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
  }

  .global-nav .btn-gold {
    width: 80%;
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
    margin-top: 10px;
    color: #ffffff !important;
  }

  .strength-grid,
  .story-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .story-image img {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 64px 0;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .menu-item img {
    height: 120px;
  }

  .info-panel dl {
    grid-template-columns: 100px 1fr;
    padding: 16px;
  }

  .info-panel dt,
  .info-panel dd {
    padding: 12px 0;
    font-size: 0.92rem;
  }
}