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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 400;
  color: #2c2c2c;
  background-color: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  opacity: 0.75;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ===========================
   VARIABLES
=========================== */
:root {
  --color-kaki: #e67e22;
  --color-kaki-dark: #c0631a;
  --color-kaki-light: #fdf0e3;
  --color-text: #2c2c2c;
  --color-text-light: #666;
  --color-white: #fff;
  --color-bg-alt: #faf8f5;
  --color-border: #e8e0d5;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --section-padding: 100px 24px;
  --section-padding-sp: 64px 20px;
  --max-width: 1100px;
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ===========================
   TYPOGRAPHY
=========================== */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--color-kaki);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

.section-body {
  font-size: 0.95rem;
  color: #555;
  line-height: 2;
  margin-bottom: 16px;
}

.section-divider {
  width: 40px;
  height: 2px;
  background-color: var(--color-kaki);
  margin-bottom: 28px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-kaki);
  color: #fff;
  border-color: var(--color-kaki);
}

.btn-primary:hover {
  background-color: var(--color-kaki-dark);
  border-color: var(--color-kaki-dark);
  opacity: 1;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-kaki);
  border-color: var(--color-kaki);
}

.btn-outline:hover {
  background-color: var(--color-kaki);
  color: #fff;
  opacity: 1;
}

.btn-white {
  background-color: #fff;
  color: var(--color-kaki);
  border-color: #fff;
}

.btn-white:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  opacity: 1;
}

.btn-full {
  width: 100%;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

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

.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  transition: opacity var(--transition);
}

.logo-cat {
  width: 22px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-kaki);
  transition: color var(--transition);
}

.site-header:not(.scrolled) .logo-cat {
  color: rgba(255,255,255,0.9);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.site-header:not(.scrolled) .logo-main {
  color: #fff;
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
}

.site-header:not(.scrolled) .logo-sub {
  color: rgba(255,255,255,0.75);
}

.site-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  font-weight: 500;
}

.site-header:not(.scrolled) .site-nav a:not(.nav-cta) {
  color: rgba(255,255,255,0.9);
}

.site-nav .nav-cta {
  background-color: var(--color-kaki);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.8rem;
}

.site-nav .nav-cta:hover {
  background-color: var(--color-kaki-dark);
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.site-header:not(.scrolled) .nav-toggle span {
  background-color: #fff;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.3) 60%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-lead {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.88);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 480px;
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  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; }
}

/* ===========================
   CONTENT SECTIONS
=========================== */
.content-section {
  padding: var(--section-padding);
  background-color: var(--color-white);
}

.content-section--alt {
  background-color: var(--color-bg-alt);
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-layout--reverse {
  direction: rtl;
}

.split-layout--reverse > * {
  direction: ltr;
}

.split-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-image:hover img {
  transform: scale(1.03);
}

/* ===========================
   SHOP SECTION
=========================== */
.shop-section {
  padding: var(--section-padding);
  background-color: var(--color-white);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-kaki);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 2px;
  font-weight: 500;
}

.product-info {
  padding: 28px;
}

.product-category {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-kaki);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--color-text);
}

.product-name span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.product-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.shop-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===========================
   BANNER SECTION
=========================== */
.banner-section {
  background-color: var(--color-kaki);
  padding: 64px 24px;
}

.banner-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.banner-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background-color: #1a1a1a;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 32px 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.footer-logo .logo-main {
  color: #fff;
  font-size: 1.3rem;
}

.footer-logo .logo-sub {
  color: rgba(255,255,255,0.45);
}

.footer-address {
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255,255,255,0.55);
}

.footer-address a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-heading {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ===========================
   SCROLL ANIMATION
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===========================
   RESPONSIVE — TABLET
=========================== */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px 24px;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-layout--reverse {
    direction: ltr;
  }

  .split-layout--reverse .split-image {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 24px 40px;
  }

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

/* ===========================
   RESPONSIVE — MOBILE
=========================== */
@media (max-width: 640px) {
  :root {
    --section-padding: var(--section-padding-sp);
  }

  .site-header {
    padding: 0 20px;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 70px 0 0 0;
    background-color: rgba(255,255,255,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .site-nav a {
    font-size: 1rem;
    color: var(--color-text) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

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

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

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  }

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

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom {
    padding: 20px;
  }

  .btn {
    padding: 13px 28px;
  }
}
