/* ============================================================
   YATSUGATAKE BASE â€” Brand Site Stylesheet
   Design: Mobile-first, minimal, nature-inspired
   ============================================================ */

/* ============================================================
   Custom Properties (ãƒ‡ã‚¶ã‚¤ãƒ³ãƒˆãƒ¼ã‚¯ãƒ³)
============================================================ */
:root {
  /* Color */
  --color-white:      #FFFFFF;
  --color-off-white:  #F7F7F5;
  --color-ink:        #1A1A1A;
  --color-stone:      #6B6B6B;
  --color-sage:       #4A6741;
  --color-sage-light: #E8EDE7;
  --color-border:     #E0E0DC;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.375rem;  /* 22px */
  --text-2xl:  1.75rem;   /* 28px */
  --text-3xl:  2.25rem;   /* 36px */
  --text-4xl:  3rem;      /* 48px */
  --text-5xl:  4rem;      /* 64px */

  /* Spacing */
  --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;

  /* Layout */
  --max-width: 1200px;
  --header-h:  64px;

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-ink);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ã‚¢ã‚¯ã‚»ã‚·ãƒ“ãƒªãƒ†ã‚£: ãƒ•ã‚©ãƒ¼ã‚«ã‚¹è¡¨ç¤º */
:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 3px;
}

/* ãƒªãƒ³ã‚¯ */
a {
  color: inherit;
  text-decoration: none;
}

/* ãƒªã‚¹ãƒˆ */
ul, ol {
  list-style: none;
}

/* ç”»åƒ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* SVG */
svg {
  display: block;
}

/* ãƒ¢ãƒ¼ã‚·ãƒ§ãƒ³è»½æ¸›è¨­å®š */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆå…±é€š
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

/* ã‚»ã‚¯ã‚·ãƒ§ãƒ³ãƒ©ãƒ™ãƒ«ï¼ˆå°ã•ã„å¤§æ–‡å­—ã®ã‚­ãƒ£ãƒ—ã‚·ãƒ§ãƒ³ï¼‰ */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-4);
}

/* ã‚»ã‚¯ã‚·ãƒ§ãƒ³è¦‹å‡ºã— */
.section h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-3xl);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-8);
}

/* ============================================================
   ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«è¡¨ç¤ºã‚¢ãƒ‹ãƒ¡ãƒ¼ã‚·ãƒ§ãƒ³
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ãƒœã‚¿ãƒ³
============================================================ */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease),
              color 0.2s var(--ease),
              border-color 0.2s var(--ease);
  text-align: center;
}

/* ãƒ—ãƒ©ã‚¤ãƒžãƒªï¼ˆç™½æ–‡å­—ãƒ»å¡—ã‚Šï¼‰ */
.btn-primary {
  background-color: var(--color-white);
  color: var(--color-ink);
  border-color: var(--color-white);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-white);
}

/* ã‚´ãƒ¼ã‚¹ãƒˆï¼ˆæž ç·šã®ã¿ï¼‰ */
.btn-ghost {
  background-color: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

.btn-ghost:hover {
  background-color: var(--color-ink);
  color: var(--color-white);
}

/* ============================================================
   ãƒ˜ãƒƒãƒ€ãƒ¼
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

/* ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«å¾Œã«ãƒ˜ãƒƒãƒ€ãƒ¼ã«èƒŒæ™¯ã‚’ã¤ã‘ã‚‹ï¼ˆJSã§åˆ¶å¾¡ï¼‰ */
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .global-nav a {
  color: var(--color-ink);
}

.site-header.is-scrolled .nav-shop-btn {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ãƒ­ã‚´ */
.logo {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color 0.3s var(--ease);
}

/* ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ—ãƒŠãƒ“ */
.global-nav {
  display: none; /* ãƒ¢ãƒã‚¤ãƒ«ã§ã¯éžè¡¨ç¤º */
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.global-nav a {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s var(--ease);
}

.global-nav a:hover {
  color: var(--color-white);
}

/* ã‚·ãƒ§ãƒƒãƒ—ãƒœã‚¿ãƒ³ï¼ˆãƒ˜ãƒƒãƒ€ãƒ¼å†…ï¼‰ */
.nav-shop-btn {
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-white) !important;
  transition: background-color 0.2s var(--ease),
              border-color 0.2s var(--ease) !important;
}

.nav-shop-btn:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--color-white) !important;
}

/* ãƒãƒ³ãƒãƒ¼ã‚¬ãƒ¼ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒœã‚¿ãƒ³ */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-white);
  transition: transform 0.25s var(--ease),
              opacity 0.25s var(--ease),
              background-color 0.3s var(--ease);
}

.site-header.is-scrolled .menu-toggle span {
  background-color: var(--color-ink);
}

/* ãƒãƒ³ãƒãƒ¼ã‚¬ãƒ¼ â†’ Ã— */
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ãƒ¢ãƒã‚¤ãƒ«ãƒ¡ãƒ‹ãƒ¥ãƒ¼ */
.mobile-menu {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}

.mobile-menu:not([aria-hidden="true"]) {
  max-height: 400px;
}

.mobile-menu ul {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-menu a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
}

/* ============================================================
   â‘  Hero
============================================================ */
.hero {
  position: relative;
  height: 100svh; /* ã‚¹ãƒžãƒ›ã§æ­£ç¢ºãªãƒ“ãƒ¥ãƒ¼ãƒãƒ¼ãƒˆé«˜ã• */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* å®Ÿéš›ã®å†™çœŸã«å·®ã—æ›¿ãˆã‚‹å ´åˆã¯ã“ã®ã‚¹ã‚¿ã‚¤ãƒ«ã‚’ä½¿ç”¨:
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
*/

/* ã‚ªãƒ¼ãƒãƒ¼ãƒ¬ã‚¤: å†™çœŸã®ä¸Šã«è–„æš—ã„å¹•ã‚’ã‹ã‘ã¦ãƒ†ã‚­ã‚¹ãƒˆã‚’èª­ã¿ã‚„ã™ã */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.4)  100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 0 var(--space-6);
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-4xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-10);
}

/* ============================================================
   â‘¡ About
============================================================ */
.about {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.about-text h2 {
  margin-bottom: var(--space-6);
}

.about-text p {
  color: var(--color-stone);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4/5;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--color-sage-light);
}

.image-placeholder svg {
  width: 100%;
  height: 100%;
}

/* ã‚ªãƒ¼ã‚¬ãƒ‹ãƒƒã‚¯ã‚³ãƒƒãƒˆãƒ³èª¬æ˜Ž */
.about-organic {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-12);
  display: grid;
  gap: var(--space-6);
}

.organic-line {
  display: none; /* ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ—ã§ã®ã¿è¡¨ç¤º */
}

.organic-content h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.organic-content p {
  color: var(--color-stone);
  font-size: var(--text-sm);
  max-width: 600px;
}

/* ============================================================
   â‘¢ Collection
============================================================ */
.collection {
  background-color: var(--color-off-white);
}

.collection-grid {
  display: grid;
  gap: var(--space-8);
}

.collection-card {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--color-off-white);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-image svg {
  width: 100%;
  height: 100%;
}

.card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.card-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  letter-spacing: 0.01em;
}

.card-body p {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-4);
}

/* ============================================================
   â‘£ Quality
============================================================ */
.quality {
  background-color: var(--color-white);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8) var(--space-6);
}

.quality-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.quality-icon {
  width: 40px;
  height: 40px;
  color: var(--color-sage);
}

.quality-icon svg {
  width: 40px;
  height: 40px;
}

.quality-item h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quality-item p {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
}

/* ============================================================
   â‘¤ Gallery
============================================================ */
.gallery {
  background-color: var(--color-off-white);
  padding-bottom: 0;
}

.gallery .container {
  margin-bottom: var(--space-8);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.gallery-placeholder svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   â‘¥ FAQ
============================================================ */
.faq {
  background-color: var(--color-white);
}

.faq-list {
  border-top: 1px solid var(--color-border);
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.5;
}

.faq-question:hover {
  color: var(--color-sage);
}

/* FAQã‚¢ã‚¤ã‚³ãƒ³ï¼ˆï¼‹ã¨âˆ’ï¼‰ */
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transition: transform 0.25s var(--ease),
              opacity 0.25s var(--ease);
}

/* æ¨ªç·š */
.faq-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

/* ç¸¦ç·šï¼ˆé–‰ã˜ãŸæ™‚ï¼‰ */
.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

/* å±•é–‹æ™‚: ç¸¦ç·šã‚’æ¶ˆã™ï¼ˆâˆ’è¡¨ç¤ºï¼‰ */
.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  padding-bottom: var(--space-6);
  color: var(--color-stone);
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* ============================================================
   â‘¦ Contact
============================================================ */
.contact {
  background-color: var(--color-sage-light);
}

.contact-desc {
  color: var(--color-stone);
  max-width: 480px;
  margin-bottom: var(--space-10);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(74, 103, 65, 0.2);
  max-width: 480px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(74, 103, 65, 0.2);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-ink);
  transition: color 0.2s var(--ease);
}

.contact-link:hover {
  color: var(--color-sage);
}

.contact-link span {
  flex: 1;
}

.contact-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-link-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.contact-link:hover .contact-link-arrow {
  transform: translate(2px, -2px);
}

/* ============================================================
   ãƒ•ãƒƒã‚¿ãƒ¼
============================================================ */
.site-footer {
  background-color: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-16) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
}

.footer-logo {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-lg);
  opacity: 0.6;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
}

.footer-nav a {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s var(--ease);
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: var(--text-xs);
  opacity: 0.4;
  margin-top: var(--space-4);
}

/* ============================================================
   ãƒ¬ã‚¹ãƒãƒ³ã‚·ãƒ–: ã‚¿ãƒ–ãƒ¬ãƒƒãƒˆ (640pxä»¥ä¸Š)
============================================================ */
@media (min-width: 640px) {
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   ãƒ¬ã‚¹ãƒãƒ³ã‚·ãƒ–: ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ— (1024pxä»¥ä¸Š)
============================================================ */
@media (min-width: 1024px) {

  /* ãƒ˜ãƒƒãƒ€ãƒ¼ */
  .global-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  /* Hero */
  .hero-heading {
    font-size: var(--text-5xl);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-20);
  }

  .about-image {
    max-width: none;
    margin: 0;
  }

  .about-organic {
    grid-template-columns: 200px 1fr;
    align-items: start;
    gap: var(--space-16);
  }

  .organic-line {
    display: block;
    width: 1px;
    height: 60px;
    background-color: var(--color-border);
    margin: var(--space-2) auto 0;
  }

  /* Collection */
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Quality */
  .quality-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Section */
  .section {
    padding: var(--space-32) 0;
  }

  .section h2 {
    font-size: var(--text-4xl);
  }
}
