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

:root {
  --bg: #faf9f7;
  --bg-warm: #f5f2ed;
  --gold: #b89a6a;
  --gold-light: #d4b896;
  --text: #3d3530;
  --text-light: #8a7d74;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

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

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,249,247,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,154,106,0.2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-img { height: 54px; width: auto; display: block; }
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--text);
}
.logo-en .logo-dot { color: var(--gold); }
.logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  color: var(--gold);
}

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2rem; }
.site-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-light);
  transition: color 0.3s;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold); }

.lang-toggle {
  background: none;
  border: 1px solid var(--gold-light);
  color: var(--text-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.lang-toggle:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== Heading ===== */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--text);
}
.heading-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

.page-hero {
  padding: 120px 2rem 3rem;
  text-align: center;
}
.page-title { margin-bottom: 0.5rem; }
.en-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
}
.ja-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}
.page-hero .heading-line { margin-top: 1.5rem; }

/* ===== Buttons ===== */
.btn-minne {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-minne:hover { background: var(--gold); color: var(--white); }
.btn-minne.small { padding: 8px 20px; font-size: 0.8rem; }

.display-only {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-light);
  border: 1px solid rgba(184,154,106,0.3);
  background: var(--bg-warm);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: gap 0.3s;
}
.link-arrow:hover { gap: 0.75rem; }
.link-arrow .arrow { font-family: serif; }

/* ===== TOP Hero ===== */
.hero {
  margin-top: 64px;
  position: relative;
  height: calc(100vh - 64px);
  min-height: 500px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(61,53,48,0.1) 0%, rgba(61,53,48,0.45) 100%);
}
.hero-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  width: 90%;
}
.catch-ja, .catch-en {
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  font-weight: 300;
}
.hero-text .btn-minne {
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
}
.hero-text .btn-minne:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== Home Gallery ===== */
.home-gallery {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.home-grid-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
}
.home-grid-item img {
  transition: transform 0.6s ease;
}
.home-grid-item:hover img { transform: scale(1.04); }
.more-link { text-align: center; }

/* ===== Home About ===== */
.home-about {
  background: var(--bg-warm);
  padding: 6rem 2rem;
}
.about-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.about-concept {
  font-size: 0.9rem;
  line-height: 2.2;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ===== Gallery Page ===== */
.gallery-section {
  padding: 2rem 2rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  margin-bottom: 5rem;
}
.gallery-item {}
.gallery-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 1.25rem;
}
.gallery-img-wrap img { transition: transform 0.6s ease; }
.gallery-img-wrap:hover img { transform: scale(1.04); }
.gallery-info { text-align: center; }
.item-title {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.item-material {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.gallery-minne-banner {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid rgba(184,154,106,0.2);
}
.gallery-minne-banner p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,25,22,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  max-width: 80vw;
  max-height: 85vh;
}
.lightbox-img-wrap img {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
  width: auto;
  height: auto;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s;
  padding: 1rem;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--white); }

/* ===== About Page ===== */
.about-section {
  padding: 2rem 2rem 6rem;
  max-width: 1000px;
  margin: 0 auto;
}
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.about-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}
.about-text .heading-line { margin: 0 0 1.5rem; }
.about-text p {
  font-size: 0.875rem;
  line-height: 2.3;
  color: var(--text-light);
}
.about-minne-banner {
  text-align: center;
  padding: 4rem 0 6rem;
}

/* ===== Contact Page ===== */
.contact-section {
  padding: 2rem 2rem 8rem;
}
.contact-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.contact-lead {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 2.2;
  margin-bottom: 3rem;
}
.contact-card {
  border: 1px solid rgba(184,154,106,0.3);
  padding: 3rem 2.5rem;
  margin-bottom: 2rem;
}
.contact-icon {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.contact-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.contact-card-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 2rem;
}
.contact-note {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 3rem 2rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-minne {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  transition: color 0.3s;
}
.footer-minne:hover { color: var(--white); }
.copyright {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(250,249,247,0.98);
    border-bottom: 1px solid rgba(184,154,106,0.2);
    padding: 1.5rem 2rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 1.25rem; }
  .site-nav a { font-size: 1rem; }

  .menu-toggle { display: flex; }
  .header-inner { gap: 1rem; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-img { height: 44px; }
  .logo-en { font-size: 1.2rem; }
  .logo-ja { font-size: 0.55rem; letter-spacing: 0.4em; text-indent: 0.4em; }
  .lang-toggle { margin-left: 0; }

  .home-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

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

  .about-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .profile-block .about-img { order: -1; }

  .hero { height: calc(100svh - 64px); }
}

@media (max-width: 480px) {
  .home-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .catch-ja, .catch-en { font-size: 0.95rem; }
}
