:root {
  /* Color Palette - Warm Brown Theme */
  --primary-color: #6B4423;
  /* Rich Brown */
  --secondary-color: #A0826D;
  /* Medium Brown */
  --accent-color: #C17A4A;
  /* Burnt Orange/Copper */
  --accent-gold: #D4A574;
  /* Golden Amber */
  --text-main: #2C1810;
  /* Deep Brown */
  --text-light: #FAF7F2;
  /* Warm Cream */
  --bg-dark: #3D2817;
  /* Dark Brown */
  --bg-light: #F5EFE7;
  /* Cream Beige */
  --bg-cream: #FAF7F2;
  /* Lighter Cream */
  --border-color: #D4A574;
  /* Gold accent for borders */

  /* Fonts */
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  /* Spacing */
  --section-padding: 70px 20px;
  --header-height: 80px;

  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  background-image:
    repeating-linear-gradient(90deg,
      transparent,
      transparent 2px,
      rgba(107, 68, 35, 0.01) 2px,
      rgba(107, 68, 35, 0.01) 4px);
  line-height: 1.8;
  overflow-x: hidden;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.05em;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* Base Components */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 2px;
  /* Sharper edges for premium feel */
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  letter-spacing: 0.1em;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(193, 122, 74, 0.3);
}

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

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

.btn-ig {
  padding: 4px 10px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  border-radius: 4px;
  vertical-align: middle;
  margin: 0 6px;
}

.note-small {
  font-size: 0.72rem;
  color: #6a4a34;
}

/* Header */
header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  color: white;
}

header.scrolled {
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(107, 68, 35, 0.1);
  color: var(--text-main);
  height: 70px;
}

header.scrolled .nav-link {
  color: var(--text-main);
}

header.scrolled .logo {
  color: var(--primary-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px;
}

.logo {
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  transition: var(--transition-smooth);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: currentColor;
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background-color: currentColor;
  transition: var(--transition-smooth);
}
 
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section Enhancement */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(61, 40, 23, 0.55), rgba(107, 68, 35, 0.75)), url('../img/store-out.jpg') center/cover no-repeat;
  z-index: -1;
  transform: scale(1.1);
  transition: transform 10s ease-out;
}

.hero.active .hero-bg {
  transform: scale(1);
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 50px;
  letter-spacing: 0.3em;
}

/* Sections Styling */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.section-title h2 {
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-color), var(--accent-gold));
}

.section-title span {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* Concept Section */
.concept-intro {
  background-color: var(--bg-cream);
  position: relative;
}

.concept-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(193, 122, 74, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.concept-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-main);
}

/* USP Grid & Feature Sections */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 80px;
}

.usp-item {
  position: relative;
  height: 600px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(107, 68, 35, 0.15);
  border-radius: 4px;
}

.usp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.usp-item:hover .usp-img {
  transform: scale(1.1);
}

.usp-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 40px;
  background: linear-gradient(transparent, rgba(61, 40, 23, 0.95));
  color: var(--text-light);
}

#menu {
  background-color: var(--bg-cream) !important;
  position: relative;
}

#menu::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 100px;
  background: radial-gradient(circle at bottom right, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

#menu {
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  #menu {
    padding-top: 50px;
    padding-bottom: 60px;
  }
}

.feature-section {
  display: flex;
  align-items: center;
  gap: 100px;
  margin-bottom: 150px;
}

.feature-img img {
  border-radius: 4px;
  box-shadow: 0 15px 30px rgba(107, 68, 35, 0.1);
}

.feature-text h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.feature-text p {
  color: var(--text-main);
  opacity: 0.9;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(107, 68, 35, 0.12);
  background: white;
}

.menu-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

/* Gallery */
.gallery-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 10px;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 6px 20px;
  scroll-behavior: smooth;
}

.gallery-track::-webkit-scrollbar {
  height: 8px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: rgba(107, 68, 35, 0.3);
  border-radius: 999px;
}

.gallery-slide {
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(107, 68, 35, 0.15);
  background: var(--bg-cream);
}

.gallery-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(107, 68, 35, 0.2);
  background: white;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 16px rgba(107, 68, 35, 0.15);
  transition: var(--transition-smooth);
}

.gallery-btn::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}

.gallery-btn.next::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-btn:hover {
  transform: translateY(-2px);
}

/* Access Table */
#access {
  background-color: var(--bg-light) !important;
}

.access-grid {
  justify-items: center;
}

.access-info {
  background: var(--bg-cream);
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(107, 68, 35, 0.05);
  border: 1px solid rgba(212, 165, 116, 0.2);
  width: 100%;
}

.access-map > div {
  aspect-ratio: 4 / 3;
  min-height: 600px;
}

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

.access-table th {
  text-align: center;
  padding: 20px 0;
  width: 30%;
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.access-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.address-line {
  white-space: nowrap;
}

.no-wrap {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .address-line {
    white-space: normal;
  }
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #4A3022 100%);
  color: var(--text-light);
  padding: 100px 20px 50px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info h3 {
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .feature-section {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 16px;
  }

  .hero {
    height: 88vh;
  }

  .hero-content {
    padding-top: 20px;
  }

  .section-title h2 {
    font-size: 1.75rem;
    letter-spacing: 0.04em;
  }

  .section-title span {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
  }

  .section-title {
    margin-bottom: 40px;
  }

  #menu-items,
  #gallery {
    padding-top: 50px;
    padding-bottom: 60px;
  }

  .concept-text,
  .feature-text,
  .access-info {
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  .concept-text p,
  .feature-text p {
    margin-top: 18px;
  }

  .usp-item,
  .access-info,
  .menu-card,
  .gallery-slide,
  .feature-img img {
    border-radius: 10px;
  }

  .usp-item,
  .access-info,
  .menu-card,
  .gallery-slide {
    box-shadow: 0 10px 24px rgba(107, 68, 35, 0.12);
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .menu-toggle {
    display: flex;
    color: white;
    width: 32px;
    height: 24px;
    position: relative;
  }

  .menu-toggle span {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    transform-origin: center;
  }

  .menu-toggle span:nth-child(1) {
    top: 3px;
  }

  .menu-toggle span:nth-child(2) {
    top: 11px;
  }

  .menu-toggle span:nth-child(3) {
    top: 19px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    height: 100vh;
    background-color: #2b1a10;
    flex-direction: column;
    justify-content: center;
    padding: 80px 36px;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.5rem;
    color: white;
  }

  .nav-menu .nav-link {
    color: white;
  }

  header.scrolled .nav-menu .nav-link {
    color: white;
  }

  header.scrolled .menu-toggle {
    color: var(--primary-color);
  }

  .menu-toggle.active {
    color: var(--accent-gold);
  }


  .hero-content h1 {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .usp-item {
    height: 450px;
  }

  .feature-section {
    flex-direction: column !important;
  }

  .feature-img::after {
    display: none;
  }

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

  .menu-card {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
  }

  .menu-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--bg-cream);
  }

  .gallery-wrap {
    grid-template-columns: 1fr;
  }

  .gallery-btn {
    display: none;
  }

  .gallery-track {
    grid-auto-columns: 82%;
    padding: 10px 2px 18px;
  }

  .gallery-slide img {
    height: 200px;
  }

  #access {
    padding-left: 0;
    padding-right: 0;
  }

  #access .container {
    padding-left: 0;
    padding-right: 0;
  }

  .access-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    justify-items: center;
  }

  .access-info,
  .access-map {
    width: 100%;
    max-width: 520px;
  }

  .access-info {
    padding: 24px 16px;
  }

  .access-table {
    table-layout: fixed;
    width: 100%;
  }

  .access-table th {
    width: 36%;
    font-size: 0.95rem;
  }

  .access-table td {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .access-map > div {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }
}
