/* =============================================
   HOUJO — 豊穣  Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400&family=Noto+Sans+JP:wght@300;400&display=swap');

:root {
  --black:   #0c0c0c;
  --dark:    #141414;
  --mid:     #2a2a2a;
  --grey:    #888;
  --light:   #d0d0d0;
  --white:   #f5f5f5;
  --pure:    #ffffff;
  --accent:  #a8a8a0;
  --stores:  https://houjo.stores.jp/;
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ── Header ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 160px;
  transition: background .4s, border-color .4s;
}
header.scrolled {
  background: rgba(12,12,12,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid);
}
/* PC: hamburger wrapper hidden; logo sits left naturally */
.header-left { display: none; }
.logo { display: flex; align-items: center; }
.logo-img { height: 140px; width: auto; display: block; }

/* フッター内ロゴは少し小さく */
.footer-brand .logo-img { height: 64px; }

/* Desktop nav */
nav { display: flex; gap: 36px; align-items: center; justify-content: flex-end; }
nav a {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--light); transition: color .2s;
}
nav a:hover { color: var(--pure); }
nav a.active { color: var(--pure); }
.nav-store {
  border: 1px solid var(--grey); padding: 8px 20px;
  font-size: 11px; letter-spacing: .2em;
  transition: background .2s, color .2s;
}
.nav-store:hover { background: var(--pure); color: var(--black) !important; }

/* Hamburger (mobile only) */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 1px; background: var(--white);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--black); flex-direction: column;
  align-items: center; justify-content: center; gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--light); }
.mobile-menu a:hover { color: var(--pure); }

/* ── Hero Slider ── */
.hero {
  position: relative; height: 100svh; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%);
}
.hero-content {
  position: absolute; bottom: 15%; left: 8%;
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200; font-size: clamp(36px, 5vw, 64px);
  letter-spacing: .1em; line-height: 1.3;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 12px; letter-spacing: .15em; color: var(--light);
  margin-bottom: 40px;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--white); padding: 14px 36px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-fill {
  display: inline-block;
  background: var(--white); color: var(--black);
  padding: 14px 36px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  transition: background .25s;
}
.btn-fill:hover { background: var(--light); }

/* Slider dots */
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer;
  transition: background .3s;
}
.hero-dots span.active { background: var(--white); }

/* ── Section commons ── */
section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-size: 9px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 16px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200; font-size: clamp(24px, 3vw, 40px);
  letter-spacing: .08em; line-height: 1.5;
}
.section-body {
  font-size: 14px; color: var(--light); line-height: 2.0;
  max-width: 480px;
}

/* ── Concept section ── */
.concept { background: var(--dark); }
.concept-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.concept-img { aspect-ratio: 4/5; overflow: hidden; }

/* ── Collection grid ── */
.collection-section { background: var(--black); }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.collection-item {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
}
.collection-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.collection-item:hover img { transform: scale(1.04); }

/* ── CTA section ── */
.cta-section {
  background: var(--mid); text-align: center; padding: 100px 40px;
}
.cta-section .section-title { margin-bottom: 16px; }
.cta-section p { color: var(--grey); font-size: 13px; letter-spacing: .1em; margin-bottom: 40px; }

/* ── About page ── */
.about-hero {
  height: 60svh; position: relative; overflow: hidden;
}
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.3);
  display: flex; align-items: flex-end; padding: 60px;
}
.about-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; padding: 100px 0;
}
.about-text p { font-size: 14px; color: var(--light); line-height: 2.2; margin-bottom: 1.5em; }
.about-img { aspect-ratio: 3/4; overflow: hidden; }

/* ── Collection page ── */
.page-header {
  padding: 190px 40px 60px;
  text-align: center;
}
.full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 0 0 2px;
}
.full-grid .grid-item {
  aspect-ratio: 3/4; overflow: hidden; cursor: pointer;
}
.full-grid .grid-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.full-grid .grid-item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw; max-height: 88vh;
  object-fit: contain; width: auto; height: auto;
}
.lb-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 28px; cursor: pointer; color: var(--white); line-height: 1;
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 40px; cursor: pointer; color: var(--white);
  padding: 0 24px; user-select: none;
}
.lb-prev { left: 0; }
.lb-next { right: 0; }

/* ── Contact ── */
.contact-wrap {
  max-width: 600px; margin: 0 auto; padding: 190px 40px 100px;
}
.contact-wrap .section-title { margin-bottom: 8px; }
.contact-wrap .section-body { margin-bottom: 60px; }
.form-row { margin-bottom: 28px; }
.form-row label {
  display: block; font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 10px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--mid);
  color: var(--white); font-family: inherit; font-size: 14px;
  padding: 10px 0; outline: none;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--grey); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: transparent; border: 1px solid var(--white);
  color: var(--white); font-family: inherit;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  padding: 16px 48px; cursor: pointer;
  transition: background .25s, color .25s;
}
.form-submit:hover { background: var(--white); color: var(--black); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--mid);
  padding: 60px 40px 40px;
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand .logo { font-size: 20px; }
.footer-brand p { font-size: 11px; color: var(--grey); margin-top: 12px; letter-spacing: .1em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 11px; letter-spacing: .15em; color: var(--grey); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  width: 100%; padding-top: 40px;
  border-top: 1px solid var(--mid);
  font-size: 10px; color: var(--grey); letter-spacing: .1em;
}

/* ── Fade-in animation ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Divider ── */
hr.thin { border: none; border-top: 1px solid var(--mid); margin: 0; }

/* ────────────────────────────
   RESPONSIVE — Mobile
──────────────────────────── */
@media (max-width: 768px) {
  /* Mobile: 3-column grid — hamburger | logo center | empty */
  header {
    display: grid; grid-template-columns: 1fr auto 1fr;
    padding: 0 20px; height: 120px;
  }
  .header-left { display: flex; align-items: center; }
  .logo { justify-content: center; }
  .logo-img { height: 96px; }
  nav { display: none; }

  .hero-content { left: 5%; bottom: 12%; }
  .hero-title { font-size: 32px; }

  section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .concept-inner { grid-template-columns: 1fr; gap: 40px; }
  .concept-img { aspect-ratio: 16/9; }

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

  .about-body { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .about-img { aspect-ratio: 4/3; }

  .page-header { padding: 130px 20px 40px; }

  footer { flex-direction: column; gap: 32px; padding: 40px 20px 24px; }
  .footer-bottom { padding-top: 24px; }

  .cta-section { padding: 64px 20px; }
}
