/* ============================================
   HINATA — Editorial Luxury Skincare
   Design: Aesop × Kinfolk meets Awwwards
   ============================================ */

/* --- Design Tokens --- */
:root {
  --bg: #FAF8F5;
  --bg-dark: #1A1614;
  --bg-warm: #F0EBE3;
  --text: #2C2420;
  --text-muted: #8C7E73;
  --text-light: #B8AFA6;
  --accent: #C4956A;
  --border: #E4DDD5;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --text-hero: clamp(52px, 8vw, 112px);
  --text-h2: clamp(36px, 5vw, 72px);
  --text-h3: clamp(22px, 3vw, 32px);
  --text-body: 15px;
  --text-small: 13px;
  --text-caption: 11px;

  --space-section: clamp(120px, 15vw, 200px);
  --space-group: clamp(48px, 6vw, 80px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* --- Utility --- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* --- Scroll Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.reveal-line {
  width: 0;
  transition: width 1.2s var(--ease-out);
}
.reveal-line.visible {
  width: 100%;
}

/* --- Section Label --- */
.label {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

/* --- Typography --- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.heading {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.btn-dark {
  background: var(--text);
  color: var(--bg);
}
.btn-dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}
.btn-light {
  background: var(--bg);
  color: var(--text);
}
.btn-light:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  border: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); }

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s var(--ease-out);
  mix-blend-mode: difference;
}
header.scrolled {
  mix-blend-mode: normal;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
header.scrolled .logo,
header.scrolled .desktop-nav a { color: var(--text); }
header.scrolled .hamburger span { background: var(--text); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 80px);
  max-width: 1480px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.08em;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.desktop-nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.desktop-nav a:hover { opacity: 0.6; }
.desktop-nav .header-cta {
  padding: 10px 28px;
  border: 1px solid currentColor;
  transition: all 0.3s;
}
.desktop-nav .header-cta:hover {
  background: var(--white);
  color: var(--text);
  border-color: var(--white);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  z-index: 1001;
  transition: right 0.5s var(--ease-out);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.mobile-menu .mobile-cta {
  margin-top: auto;
  padding: 18px;
  background: var(--text);
  color: var(--bg);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 1000;
}
.overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================
   HERO — Full viewport cinematic
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg img {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,22,20,0.85) 0%,
    rgba(26,22,20,0.3) 40%,
    rgba(26,22,20,0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(24px, 5vw, 80px) clamp(48px, 8vh, 100px);
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
  color: var(--white);
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-out) 0.3s forwards;
}
.hero h1 {
  font-size: var(--text-hero);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.8s var(--ease-out) 0.5s forwards;
}
.hero-sub {
  font-size: var(--text-body);
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-out) 0.7s forwards;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-out) 0.9s forwards;
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PHILOSOPHY — Large statement
   ============================================ */
.philosophy {
  padding: var(--space-section) 0;
  text-align: center;
}
.philosophy-statement {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}
.philosophy-line {
  width: 1px;
  height: 80px;
  background: var(--border);
  margin: 40px auto 0;
}

/* ============================================
   PRODUCTS — Editorial gallery
   ============================================ */
.products-section {
  padding: 0 0 var(--space-section);
}
.products-header {
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 1320px;
  margin: 0 auto var(--space-group);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.products-header-text h2 {
  font-size: var(--text-h2);
  margin-top: 8px;
}
.products-link {
  font-family: var(--font-display);
  font-size: var(--text-small);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
  white-space: nowrap;
}
.products-link:hover { color: var(--accent); }
.products-link svg { transition: transform 0.3s; }
.products-link:hover svg { transform: translateX(4px); }

.products-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 clamp(24px, 5vw, 80px) 16px;
  scrollbar-width: none;
}
.products-scroll::-webkit-scrollbar { display: none; }

.product-card {
  flex: 0 0 clamp(280px, 28vw, 380px);
  scroll-snap-align: start;
}
.product-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-warm);
  margin-bottom: 20px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-img img {
  transform: scale(1.04);
}
.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--white);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.product-desc {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 12px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-price span {
  font-size: var(--text-caption);
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================
   STORY — Asymmetric editorial
   ============================================ */
.story-section {
  padding: var(--space-section) 0;
  background: var(--bg-warm);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 600px;
}
.story-image {
  position: relative;
  overflow: hidden;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}
.story-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
}
.story-text h2 {
  font-size: var(--text-h2);
  margin-bottom: 32px;
  margin-top: 16px;
}
.story-body {
  font-size: var(--text-body);
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.story-body p { margin-bottom: 16px; }
.story-body p:last-child { margin-bottom: 0; }
.story-signature {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ============================================
   INGREDIENTS — Horizontal with images
   ============================================ */
.ingredient-section {
  padding: var(--space-section) 0;
  overflow: hidden;
}
.ingredient-header {
  max-width: 1320px;
  margin: 0 auto var(--space-group);
  padding: 0 clamp(24px, 5vw, 80px);
}
.ingredient-header h2 {
  font-size: var(--text-h2);
  margin-top: 8px;
  max-width: 500px;
}
.ingredient-full-img {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  margin-bottom: var(--space-group);
}
.ingredient-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.ingredient-card {
  position: relative;
}
.ingredient-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.ingredient-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  margin-bottom: 4px;
}
.ingredient-origin {
  font-size: var(--text-caption);
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ingredient-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.9;
}

/* ============================================
   REVIEWS — Pull-quote style
   ============================================ */
.review-section {
  padding: var(--space-section) 0;
  background: var(--bg-dark);
  color: var(--white);
}
.review-header {
  max-width: 1320px;
  margin: 0 auto var(--space-group);
  padding: 0 clamp(24px, 5vw, 80px);
}
.review-header .label { color: var(--accent); }
.review-header .label::before { background: var(--accent); }
.review-header h2 {
  font-size: var(--text-h2);
  color: var(--white);
  margin-top: 8px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  max-width: 1320px;
  margin: 0 auto;
}
.review-card {
  padding: clamp(28px, 3vw, 48px);
  background: var(--bg-dark);
}
.review-quote {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  position: relative;
}
.review-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
}
.review-author-name {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.review-author-meta {
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.4);
}

/* ============================================
   MEDIA — Minimalist logo wall
   ============================================ */
.media-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.media-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 48px;
}
.media-label {
  font-family: var(--font-display);
  font-size: var(--text-caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}
.media-logos {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  flex: 1;
  justify-content: center;
  opacity: 0.3;
}
.media-logo {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ============================================
   SUBSCRIPTION — Split CTA
   ============================================ */
.subscription-section {
  padding: var(--space-section) 0;
}
.subscription-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.subscription-info h2 {
  font-size: var(--text-h2);
  margin-bottom: 24px;
  margin-top: 16px;
}
.subscription-info > p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
}
.subscription-benefits {
  list-style: none;
}
.subscription-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: var(--text-small);
  color: var(--text);
}
.subscription-benefits li svg {
  color: var(--accent);
  flex-shrink: 0;
}
.subscription-card {
  background: var(--bg-warm);
  padding: clamp(32px, 4vw, 56px);
  text-align: center;
}
.subscription-card-label {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.subscription-card-price {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.subscription-card-unit {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 8px;
}
.subscription-card-note {
  font-size: var(--text-caption);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}
.subscription-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
  padding: 80px 0 0;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}
.footer-brand-desc {
  font-size: var(--text-small);
  line-height: 1.8;
  color: rgba(255,255,255,0.35);
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-nav {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: var(--text-small);
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.footer-bottom p {
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.2);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.5); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .ingredient-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 40px; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(40px, 10vw, 60px); }

  .story-grid { grid-template-columns: 1fr; }
  .story-image img { min-height: 300px; max-height: 400px; }

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

  .subscription-grid { grid-template-columns: 1fr; }

  .media-inner { flex-direction: column; gap: 24px; }
  .media-logos { flex-wrap: wrap; justify-content: center; gap: 20px; }

  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .products-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .product-card { flex: 0 0 260px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ============================================
   Phase 3: マルチページ追加スタイル
   ============================================ */

/* サブページ用ヘッダー（mix-blend-mode無効化） */
body:not([data-page="home"]) header {
  mix-blend-mode: normal;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
body:not([data-page="home"]) .logo,
body:not([data-page="home"]) .desktop-nav a { color: var(--text); }
body:not([data-page="home"]) .hamburger span { background: var(--text); }

/* ナビゲーション active 状態 */
.nav-link.active {
  color: var(--accent) !important;
}

/* ページヒーロー（下層ページ共通） */
.page-hero {
  padding: clamp(140px, 18vw, 200px) 0 clamp(48px, 6vw, 80px);
  background: var(--bg-warm);
}
.page-hero .container {
  max-width: 1320px;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.page-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 12px;
}

/* パンくず */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-bottom: 24px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* CTA帯（下層ページ共通） */
.cta-band {
  padding: var(--space-section) 0;
  background: var(--bg-dark);
  text-align: center;
  color: var(--white);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  font-size: var(--text-body);
}
.cta-band .btn-light {
  background: var(--bg);
  color: var(--text);
}
.cta-band .btn-light:hover {
  background: var(--accent);
  color: var(--white);
}

/* 「詳しく見る」リンク */
.section-more {
  text-align: center;
  margin-top: var(--space-group);
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s var(--ease-out);
}
.more-link:hover { gap: 14px; }
.more-link svg { transition: transform 0.3s; }
.more-link:hover svg { transform: translateX(4px); }

/* ============================================
   コンテンツセクション（Phase 3 サブページ用）
   ============================================ */
.content-section {
  padding: var(--space-section) 0;
}
.content-section.bg-warm {
  background: var(--bg-warm);
}
.content-section.bg-dark {
  background: var(--bg-dark);
  color: var(--white);
}

/* セクションヘッダー共通 */
.section-header {
  max-width: 1320px;
  margin: 0 auto var(--space-group);
  padding: 0 clamp(24px, 5vw, 80px);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.15;
  margin-top: 8px;
}

/* 創業者メッセージ */
.founder-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.founder-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.4;
}
.founder-text p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 16px;
}
.founder-signature {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

/* ブランドバリュー */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.value-card {
  text-align: center;
}
.value-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  margin-bottom: 8px;
}
.value-en {
  font-family: var(--font-display);
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.value-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.9;
}

/* 製造工程 */
.process-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.process-item {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.process-item:last-child { border-bottom: none; }
.process-step {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}
.process-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.process-content p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.9;
}

/* プロダクト一覧グリッド */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.product-detail-card {
  background: var(--bg);
}
.product-detail-card .product-img {
  aspect-ratio: 1/1;
}
.product-detail-info {
  padding: 24px;
}
.product-detail-info .product-name {
  font-size: 24px;
  margin-bottom: 8px;
}
.product-detail-info .product-desc {
  margin-bottom: 16px;
  line-height: 1.8;
}
.product-features {
  list-style: none;
  margin-bottom: 20px;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: var(--text-small);
  color: var(--text-muted);
}
.product-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* 使い方ガイド */
.usage-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.usage-step {
  text-align: center;
}
.usage-step-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.usage-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.usage-step p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}

/* レビュー拡張 */
.reviews-list {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.review-detail {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.review-detail:last-child { border-bottom: none; }
.review-meta {
  position: sticky;
  top: 100px;
}
.review-product {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.review-rating {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-detail .review-author-name {
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: 4px;
}
.review-detail .review-author-meta {
  font-size: var(--text-small);
  color: var(--text-muted);
}
.review-body {
  font-size: var(--text-body);
  line-height: 2;
  color: var(--text-muted);
}
.review-body::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 20px;
}

/* 数値実績 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: 1320px;
  margin: 0 auto;
}
.stat-item {
  background: var(--bg);
  padding: clamp(32px, 4vw, 56px);
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-unit {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-muted);
}
.stat-desc {
  font-size: var(--text-caption);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* メディア掲載拡張 */
.media-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.media-card {
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
}
.media-card-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.media-card-date {
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-bottom: 12px;
}
.media-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}

/* SNSセクション */
.sns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.sns-item {
  aspect-ratio: 1;
  background: var(--bg-warm);
  overflow: hidden;
}
.sns-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.sns-item:hover img { transform: scale(1.05); }

/* お問い合わせフォーム */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group .required {
  color: var(--accent);
  margin-left: 4px;
  font-size: var(--text-caption);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
}
.form-submit {
  margin-top: 32px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  color: var(--text-muted);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a-inner {
  padding: 0 0 24px;
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.9;
}

/* 特定商取引法表記 */
.legal-table {
  width: 100%;
  border-collapse: collapse;
}
.legal-table tr {
  border-bottom: 1px solid var(--border);
}
.legal-table th,
.legal-table td {
  padding: 16px 0;
  font-size: var(--text-small);
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  width: 180px;
  font-weight: 600;
  color: var(--text);
}
.legal-table td {
  color: var(--text-muted);
  line-height: 1.8;
}

/* サイドバー情報 */
.contact-sidebar .sidebar-card {
  background: var(--bg-warm);
  padding: 32px;
  margin-bottom: 24px;
}
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}
.sidebar-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}
.sidebar-card a {
  color: var(--accent);
  transition: opacity 0.2s;
}
.sidebar-card a:hover { opacity: 0.7; }

/* ============================================
   Phase 3 レスポンシブ追加
   ============================================ */
@media (max-width: 1024px) {
  .founder-block { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .usage-guide { grid-template-columns: 1fr 1fr; gap: 24px; }
  .review-detail { grid-template-columns: 1fr; gap: 20px; }
  .review-meta { position: static; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .media-detail-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .sns-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; gap: 40px; }
  .products-grid { grid-template-columns: 1fr; }
  .usage-guide { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: 1fr; }
  .media-detail-grid { grid-template-columns: 1fr; }
  .process-item { flex-direction: column; gap: 12px; }
  .legal-table th { width: 120px; }
  .sns-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .page-title { font-size: clamp(32px, 8vw, 44px); }
}
