@charset "UTF-8";

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-matcha: #3d5a3e;
  --color-matcha-light: #5a7a5b;
  --color-matcha-pale: #e8f0e8;
  --color-gold: #b8960c;
  --color-gold-light: #d4af37;
  --color-earth: #7a5c3d;
  --color-washi: #faf6f0;
  --color-washi-dark: #f0e8dc;
  --color-ink: #1a1a1a;
  --color-ink-mid: #4a4a4a;
  --color-ink-light: #7a7a7a;
  --color-white: #ffffff;
  --color-border: #d4c8b8;
  --color-border-dark: #b0a090;

  --font-serif: 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --max-width: 1100px;
  --max-width-narrow: 800px;
  --max-width-text: 680px;

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-ink);
  background-color: var(--color-washi);
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--color-matcha);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-ink);
}

h1 { font-size: var(--text-4xl); font-weight: 600; }
h2 { font-size: var(--text-3xl); font-weight: 600; }
h3 { font-size: var(--text-2xl); font-weight: 400; }
h4 { font-size: var(--text-xl); font-weight: 400; }

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--text {
  max-width: var(--max-width-text);
}

.section {
  padding: var(--space-16) 0;
}

.section--alt {
  background-color: var(--color-washi-dark);
}

.section--matcha {
  background-color: var(--color-matcha);
  color: var(--color-white);
}

/* Section heading */
.section-header {
  margin-bottom: var(--space-12);
  text-align: center;
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--color-ink);
  position: relative;
  display: inline-block;
  padding-left: var(--space-6);
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 3px;
  height: 1.2em;
  background: var(--color-gold);
}

.section--matcha .section-title {
  color: var(--color-white);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-matcha));
  margin: var(--space-4) auto var(--space-8);
}

.section-desc {
  color: var(--color-ink-mid);
  font-size: var(--text-lg);
  max-width: var(--max-width-text);
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   5. COMPONENTS
   ============================================================ */

/* --- 5a. Site Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-washi);
  border-top: 3px solid var(--color-gold);
  transition: box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2) var(--space-6);
  gap: var(--space-4);
}

.header-logo {
  flex-shrink: 0;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header-tel {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-ink);
  letter-spacing: 0.05em;
  display: none;
}

.header-tel span {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-light);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-6);
  background: var(--color-matcha);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 4px;
  transition: background var(--transition-fast);
}

.header-contact:hover {
  background: var(--color-matcha-light);
  color: var(--color-white);
}

/* --- 5b. Desktop Navigation --- */
.nav-desktop {
  background: var(--color-washi);
  border-bottom: 1px solid var(--color-border);
  display: none;
}

.nav-desktop ul {
  display: flex;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-desktop li {
  flex: 1;
  text-align: center;
}

.nav-desktop a {
  display: block;
  padding: var(--space-3) var(--space-2);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  width: 60%;
}

.nav-desktop a[aria-current="page"] {
  color: var(--color-matcha);
}

.nav-desktop .nav-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-light);
  letter-spacing: 0.15em;
  margin-top: var(--space-1);
}

/* --- 5c. Hamburger Button --- */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

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

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

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

/* --- 5d. Mobile Navigation --- */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-washi);
  z-index: 200;
  padding: var(--space-24) var(--space-8) var(--space-8);
  transition: right var(--transition-base);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.nav-mobile.is-open {
  right: 0;
}

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-mobile.is-open ~ .nav-mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  display: block;
  padding: var(--space-4) 0;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-border);
}

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

.nav-mobile-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-2xl);
  color: var(--color-ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 5e. Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 280px;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.45);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.page-hero__label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-3);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.15em;
}

/* --- 5f. Homepage Hero (full-screen slideshow) --- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 15s infinite;
}

.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 5s; }
.hero__slide:nth-child(3) { animation-delay: 10s; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.45);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 0 var(--space-6);
}


.hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.15em;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-12);
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-align: center;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.4);
  margin: var(--space-2) auto 0;
  animation: scrollCue 2s infinite;
}

/* --- 5g. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

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

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

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.8);
}

.btn--gold {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-gold-light);
}

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

.btn--white-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.6);
}

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

.btn__arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* --- 5h. Product Cards (homepage grid) --- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.product-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card__body {
  padding: var(--space-6);
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.product-card__desc {
  color: var(--color-ink-mid);
  font-size: var(--text-sm);
}

/* --- 5i. Product Detail (alternating layout, product page) --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}

.product-detail:last-child {
  border-bottom: none;
}

.product-detail__image {
  border-radius: 8px;
  overflow: hidden;
}

.product-detail__image a {
  display: block;
  cursor: zoom-in;
}

.product-detail__image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.product-detail__image a:hover img {
  transform: scale(1.03);
}

.product-detail__body h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  position: relative;
  padding-left: var(--space-6);
}

.product-detail__body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 3px;
  height: 1.2em;
  background: var(--color-gold);
}

.product-detail__body p {
  color: var(--color-ink-mid);
  line-height: 2;
}

/* --- 5j. CSS Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: none;
  place-items: center;
}

.lightbox:target,
.lightbox.is-open {
  display: grid;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  text-align: center;
}

.lightbox__toolbar {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 2;
}

.lightbox__zoom-in,
.lightbox__zoom-out,
.lightbox__close-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: var(--text-lg);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.lightbox__zoom-in:hover,
.lightbox__zoom-out:hover,
.lightbox__close-x:hover {
  background: rgba(255,255,255,0.3);
  color: var(--color-white);
}

.lightbox__zoom-in:disabled,
.lightbox__zoom-out:disabled {
  opacity: 0.3;
  cursor: default;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  transition: transform 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
}

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

/* --- 5k. Company Info Table --- */
.info-table {
  width: 100%;
}

.info-table dt {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-matcha);
  padding: var(--space-4) 0 var(--space-1);
  letter-spacing: 0.08em;
}

.info-table dd {
  padding: 0 0 var(--space-4);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink);
  line-height: 1.8;
}

/* --- 5l. News List --- */
.news-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}

.news-date {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-ink-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.news-text {
  font-size: var(--text-sm);
  color: var(--color-ink);
}

.news-badge {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: var(--text-xs);
  padding: 1px 8px;
  border-radius: 2px;
  margin-left: var(--space-2);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- 5l-2. Topics --- */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.topic-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: var(--space-8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.topic-card h3 {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--color-matcha);
  margin-bottom: var(--space-3);
}

.topic-card p {
  font-size: var(--text-sm);
  color: var(--color-ink-light);
  line-height: 1.8;
}

.topic-card p a:not(.btn) {
  color: var(--color-matcha);
  text-decoration: underline;
}

.topic-flyer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.topic-flyer img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  transition: opacity 0.2s;
}

.topic-flyer a:hover img {
  opacity: 0.8;
}

/* --- 5m. CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: var(--space-16) var(--space-6);
}

.cta-banner p {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-8);
  letter-spacing: 0.1em;
}

/* --- 5n. About Teaser (homepage) --- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.about-teaser__image {
  border-radius: 8px;
  overflow: hidden;
}

.about-teaser__image img {
  width: 100%;
  height: auto;
}

.about-teaser__body h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.about-teaser__body p {
  color: var(--color-ink-mid);
  line-height: 2;
}

/* --- 5o. About Content Sections --- */
.about-section {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--color-border);
}

.about-section:last-child {
  border-bottom: none;
}

.about-section h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: var(--space-6);
}

.about-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 3px;
  height: 1.2em;
  background: var(--color-gold);
}

.about-section p {
  color: var(--color-ink-mid);
  line-height: 2;
}

/* --- 5p. Map Section --- */
.map-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.map-section__map {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-washi-dark);
}

.map-section__map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.map-section__info h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.map-section__info p {
  color: var(--color-ink-mid);
  line-height: 2;
}

/* --- 5q. Contact --- */
.contact-tel {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-washi-dark);
  border-radius: 8px;
  margin-bottom: var(--space-12);
}

.contact-tel__number {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--color-matcha);
  letter-spacing: 0.05em;
}

.contact-tel__hours {
  font-size: var(--text-sm);
  color: var(--color-ink-light);
  margin-top: var(--space-2);
}

.contact-notice {
  max-width: 600px;
  margin: 0 auto var(--space-8);
  padding: var(--space-6);
  background: var(--color-matcha-pale);
  border-left: 3px solid var(--color-matcha);
  border-radius: 4px;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-ink);
}

.contact-notice__title {
  font-family: var(--font-serif);
  font-weight: 600;
  margin-bottom: 0.5em;
  color: var(--color-matcha);
}

.contact-notice__emphasis {
  font-weight: 700;
  text-decoration: underline wavy #c05030;
  text-decoration-skip-ink: none;
  text-underline-offset: 3px;
}

.contact-form iframe {
  width: 100%;
  min-height: 1300px;
  border: none;
}

/* --- 5r. Legal Page --- */
.legal-content h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.legal-content p {
  color: var(--color-ink-mid);
  margin-bottom: var(--space-4);
}

/* --- 5s. Error Page --- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-6);
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-page__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.error-page__desc {
  color: var(--color-ink-mid);
  margin-bottom: var(--space-8);
}

/* --- 5t. Footer --- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-16);
}

.site-footer a {
  color: rgba(255,255,255,0.75);
}

.site-footer a:hover {
  color: var(--color-gold-light);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-12);
}

.footer-brand {
  text-align: center;
}

.footer-brand__logo {
  height: 40px;
  width: auto;
  margin: 0 auto var(--space-4);
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer-brand__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.footer-column h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-column li {
  margin-bottom: var(--space-2);
}

.footer-column a {
  font-size: var(--text-sm);
}

.footer-column p {
  font-size: var(--text-sm);
  line-height: 2;
}

.footer-shop-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-6);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.footer-shop-link:hover {
  border-color: var(--color-gold-light);
}

/* Footer social */
.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: rgba(255,255,255,0.7);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.6);
}

/* --- 5u. Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--color-matcha);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), background var(--transition-fast);
  z-index: 50;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-matcha-light);
}

/* ============================================================
   6. ANIMATIONS
   ============================================================ */
@keyframes heroSlide {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes scrollCue {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__slide {
    animation: none;
    opacity: 1;
  }
  .hero__slide:nth-child(n+2) {
    opacity: 0;
  }
  .hero__scroll::after {
    animation: none;
  }
}

/* ============================================================
   7. RESPONSIVE
   ============================================================ */

/* Tablet (600px+) */
@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail:nth-child(even) .product-detail__image {
    order: 2;
  }

  .about-teaser {
    grid-template-columns: 1fr 1fr;
  }

  .map-section {
    grid-template-columns: 2fr 1fr;
  }

  .info-table {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
  }

  .info-table dt {
    padding: var(--space-4) var(--space-4) var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .info-table dd {
    padding: var(--space-4) 0;
  }

  .footer-top {
    grid-template-columns: 1fr 3fr;
    text-align: left;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-brand__logo {
    margin: 0 0 var(--space-4);
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop (900px+) */
@media (min-width: 900px) {
  .header-tel {
    display: block;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .page-hero__title {
    font-size: var(--text-5xl);
  }

  .info-table {
    grid-template-columns: 200px 1fr;
  }
}

/* Wide Desktop (1200px+) */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-8);
  }
}
