/* ============================================
   あいのやラボ LP — Editorial × Organic Tech
   ============================================ */

:root {
  /* Palette: night-forest × gold × paper */
  --ink-deep:    #0c1f2a;
  --ink-night:   #14323f;
  --ink-mid:     #1f4a5c;
  --ink-mist:    #3b6776;
  --gold:        #c9a561;
  --gold-soft:   #d8b977;
  --gold-deep:   #9c7c45;
  --leaf:        #6c8a52;
  --paper:       #f5efe5;
  --paper-warm:  #ede4d3;
  --mist-white:  #f8f5ee;
  --line:        #d8d2c4;
  --line-faint:  #e8e1d2;
  --text:        #1a1a1a;
  --text-mute:   #5a5a5a;
  --text-quiet:  #8a8579;

  /* Type */
  --font-mincho:   "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
  --font-gothic:   "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-display:  "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --font-italic:   "Cormorant Garamond", "Fraunces", serif;

  /* Layout */
  --container: min(1180px, 92vw);
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(80px, 12vh, 140px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== Base ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ====== Accessibility ====== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink-deep);
  color: var(--mist-white);
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

body {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(201,165,97,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(108,138,82,0.03) 0%, transparent 50%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ====== Cursor halo (subtle) ====== */
.cursor-halo {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,165,97,0.10), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
  mix-blend-mode: multiply;
}
@media (hover: hover) { body:hover .cursor-halo { opacity: 1; } }

/* ====== Header ====== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(245, 239, 229, 0.0);
  transition: background 0.4s var(--ease-soft), backdrop-filter 0.4s, padding 0.3s;
}
.site-header.scrolled {
  background: rgba(245, 239, 229, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-faint);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-jp { font-family: var(--font-mincho); font-weight: 600; font-size: 17px; color: var(--mist-white); letter-spacing: 0.08em; transition: color 0.3s; }
.brand-en { font-family: var(--font-display); font-style: italic; font-size: 10px; letter-spacing: 0.3em; color: var(--gold-soft); transition: color 0.3s; margin-top: 2px; }
.scrolled .brand-jp { color: var(--ink-deep); }
.scrolled .brand-en { color: var(--gold-deep); }

.site-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.site-nav a {
  position: relative;
  color: var(--mist-white);
  padding: 6px 2px;
  font-weight: 500;
  transition: color 0.3s;
}
.scrolled .site-nav a { color: var(--ink-deep); }
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.site-nav a:hover::after { width: 100%; }
.site-nav a.nav-cta {
  background: var(--gold);
  color: var(--ink-deep);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--gold);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.site-nav a.nav-cta:hover { background: var(--gold-soft); transform: translateY(-1px); }
.site-nav a.nav-cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--mist-white); transition: 0.3s; }
.scrolled .nav-toggle span { background: var(--ink-deep); }

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 clamp(20px, 6vw, 96px);
  color: var(--mist-white);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -10% -5% -5% -5%;
  background-size: cover;
  background-position: center;
  z-index: -3;
  filter: saturate(1.1) brightness(0.85);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.2%); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,31,42,0.55) 0%, rgba(12,31,42,0.25) 40%, rgba(12,31,42,0.7) 100%),
    radial-gradient(ellipse at 75% 30%, rgba(201,165,97,0.08), transparent 50%);
  z-index: -2;
}
.hero-stars { position: absolute; inset: 0; z-index: -1; }
.hero-stars svg { width: 100%; height: 100%; }

.twinkle { fill: rgba(248, 245, 238, 0.85); animation: twinkle 3s ease-in-out infinite; }
.twinkle.d1 { animation-delay: 0s; }
.twinkle.d2 { animation-delay: 0.7s; }
.twinkle.d3 { animation-delay: 1.4s; }
.twinkle.d4 { animation-delay: 2.1s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.2); }
}

.circuit path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: circuitDraw 4s ease-out forwards 0.8s; }
@keyframes circuitDraw {
  to { stroke-dashoffset: 0; }
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 12vh;
  padding-bottom: 12vh;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) forwards 0.3s;
}
.hero-num { font-weight: 500; }
.hero-rule { width: 60px; height: 1px; background: var(--gold-soft); }
.hero-since { font-style: italic; font-size: 10px; letter-spacing: 0.18em; opacity: 0.85; }

.hero-title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(40px, 7.5vw, 96px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.hero-line {
  display: block;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) forwards;
  transform: translateY(28px);
}
.hero-line:nth-child(1) { animation-delay: 0.5s; }
.hero-line:nth-child(2) { animation-delay: 0.7s; padding-left: 0.5em; }
.hero-line:nth-child(3) { animation-delay: 0.9s; padding-left: 0.2em; }
.hero-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  font-size: 1.05em;
}
.hero-word {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  font-size: 1.1em;
  letter-spacing: 0;
  padding-right: 0.05em;
}

.hero-sub {
  font-family: var(--font-mincho);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
  color: rgba(248, 245, 238, 0.92);
  margin: 0 0 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) forwards 1.1s;
  letter-spacing: 0.05em;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) forwards 1.3s;
}

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 4px;
  font-family: var(--font-gothic);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink-deep);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 24px rgba(201,165,97,0.25);
}
.btn-primary svg { transition: transform 0.4s var(--ease-out); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,165,97,0.35); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary.big {
  padding: 22px 44px;
  font-size: 17px;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

.btn-ghost {
  border: 1px solid rgba(248, 245, 238, 0.35);
  color: var(--mist-white);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-soft); color: var(--gold-soft); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(248, 245, 238, 0.65);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) forwards 1.6s;
}
.scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::before {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: var(--gold-soft);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { left: -30%; }
  100% { left: 100%; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ====== Section base ====== */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  width: var(--container);
  margin: 0 auto;
}
.section-head { margin-bottom: 64px; max-width: 800px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-num {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold-deep);
}
.section-num.light { color: var(--gold-soft); border-color: rgba(216,185,119,0.5); }

.section-title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.32;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  color: var(--ink-deep);
}
.section-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
  font-size: 1.05em;
}

.section-lead {
  font-family: var(--font-mincho);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2;
  color: var(--text-mute);
  margin: 0;
  letter-spacing: 0.04em;
}

/* ====== Concerns ====== */
.concerns {}
.concern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 64px;
}
.concern-card {
  background: var(--paper);
  padding: 40px 36px;
  position: relative;
  transition: background 0.4s, transform 0.4s;
}
.concern-card:hover { background: var(--mist-white); }
.concern-no {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.concern-card h3 {
  font-family: var(--font-mincho);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 14px;
  color: var(--ink-deep);
  letter-spacing: 0.02em;
}
.concern-card p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-mute);
  margin: 0;
}
.concern-bridge {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 2;
  color: var(--text);
  letter-spacing: 0.05em;
}
.concern-bridge strong {
  font-weight: 700;
  color: var(--ink-deep);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ====== About ====== */
.about {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.about-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.about-text p {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: 0.04em;
}
.about-tag {
  margin-top: 32px !important;
  padding: 24px 28px;
  background: var(--mist-white);
  border-left: 3px solid var(--gold);
  font-size: 15px !important;
  line-height: 1.95 !important;
  color: var(--ink-deep) !important;
  font-weight: 500;
}
.about-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}
.about-mark img {
  width: 65%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.08));
}
.about-deco {
  position: absolute;
  inset: 0;
  animation: rotate 60s linear infinite;
}
.about-deco svg { width: 100%; height: 100%; }
@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* ====== Services ====== */
.services { padding-bottom: 60px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-bottom: 56px;
}
.service-card {
  background: var(--mist-white);
  border: 1px solid var(--line-faint);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  position: relative;
  transition: 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(12,31,42,0.08);
}
.service-card.featured {
  background: var(--ink-deep);
  color: var(--mist-white);
  border-color: var(--ink-deep);
}
.service-card.featured h3, .service-card.featured .service-no { color: var(--gold-soft); }
.service-card.featured .service-tagline { color: var(--mist-white); }
.service-card.featured .service-body { color: rgba(255, 252, 244, 0.96); }
.service-card.featured .service-list { color: rgba(255, 252, 244, 0.92); }
.service-card.featured .service-list li { color: rgba(255, 252, 244, 0.92); }
.service-card.featured .service-list { border-top-color: rgba(216,185,119,0.4); }
.service-card.featured .service-list li::before { background: var(--gold-soft); }

.service-icon {
  width: 64px; height: 64px;
  margin-bottom: 24px;
  color: var(--ink-mid);
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-3deg); }
.service-card.featured .service-icon { color: var(--gold-soft); }

.service-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.service-card h3 {
  font-family: var(--font-mincho);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink-deep);
  letter-spacing: 0.04em;
}
.service-tagline {
  font-family: var(--font-mincho);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--gold-deep);
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.service-body {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-mute);
  margin: 0 0 20px;
  flex-grow: 1;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-faint);
  padding-top: 18px;
}
.service-card.featured .service-list { border-top-color: rgba(216,185,119,0.25); }
.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--text-mute);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95em;
  width: 8px; height: 1px;
  background: var(--gold-deep);
}

.service-foot {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 15px;
  line-height: 2;
  color: var(--text-mute);
  margin: 40px auto 0;
  max-width: 720px;
  letter-spacing: 0.03em;
}
.service-foot a {
  color: var(--ink-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
}
.service-foot a:hover { color: var(--gold-deep); }

/* ====== Members ====== */
.members {
  position: relative;
}
.members::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  background: radial-gradient(ellipse, rgba(108,138,82,0.06), transparent 60%);
  z-index: -1;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
}
.member-grid.single {
  grid-template-columns: 1fr;
  max-width: 620px;
  margin: 0 auto;
}
.member-card {
  background: var(--mist-white);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: 0.5s var(--ease-out);
}
.member-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(12,31,42,0.08);
}
.member-avatar {
  position: relative;
  width: clamp(160px, 22vw, 220px);
  aspect-ratio: 1;
  margin-bottom: 24px;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
}
.member-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.member-card:hover .member-avatar img { transform: scale(1.06); }
.avatar-frame {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed var(--gold-deep);
  z-index: -1;
  animation: rotate 80s linear infinite;
  pointer-events: none;
}
.member-role {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.member-name {
  font-family: var(--font-mincho);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink-deep);
  letter-spacing: 0.06em;
}
.member-romaji {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-quiet);
  margin-top: 4px;
}
.member-card p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-mute);
  margin: 0 0 24px;
}
.member-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.member-tags li {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-mute);
  background: var(--paper);
}

/* ====== Flow ====== */
.flow {
  background: var(--paper-warm);
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.flow .section-head { width: var(--container); margin-left: auto; margin-right: auto; }
.flow-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: var(--container);
  max-width: 880px;
  position: relative;
}
.flow-list::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 38px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep), transparent);
}
.flow-step {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  position: relative;
}
.flow-num {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--mist-white);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
  transition: 0.4s;
}
.flow-step:hover .flow-num { background: var(--gold); color: var(--mist-white); transform: scale(1.05); }
.flow-body { padding-top: 12px; }
.flow-body h3 {
  font-family: var(--font-mincho);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink-deep);
  letter-spacing: 0.04em;
}
.flow-body p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-mute);
  margin: 0;
}
.flow-body strong {
  color: var(--ink-deep);
  background: linear-gradient(transparent 60%, rgba(201,165,97,0.25) 60%);
  padding: 0 2px;
  font-weight: 600;
}

/* ====== FAQ ====== */
.faq {}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 32px;
  font-family: var(--font-mincho);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  color: var(--ink-deep);
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 0; top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--gold-deep);
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-deep);
  font-weight: 300;
  transition: transform 0.4s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item:hover summary { color: var(--gold-deep); }
.faq-answer {
  padding: 4px 32px 24px;
  position: relative;
}
.faq-answer::before {
  content: "A";
  position: absolute;
  left: 0; top: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--leaf);
}
.faq-answer p {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--text-mute);
  margin: 0;
  letter-spacing: 0.03em;
}

/* ====== Contact ====== */
.contact {
  padding: var(--section-pad) 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.contact-card {
  width: var(--container);
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-night) 60%, var(--ink-mid) 100%);
  color: var(--mist-white);
  padding: clamp(50px, 7vw, 96px) clamp(28px, 5vw, 80px);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(12,31,42,0.18);
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,165,97,0.15), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(108,138,82,0.10), transparent 45%);
  pointer-events: none;
}
.contact-deco {
  position: absolute;
  top: 28px; right: 28px;
  width: 80px; height: 80px;
  opacity: 0.6;
}
.contact-deco svg { width: 100%; height: 100%; }
.contact-title {
  font-family: var(--font-mincho);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin: 16px 0 24px;
  letter-spacing: 0.04em;
  position: relative;
}
.contact-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  font-size: 1.05em;
}
.contact-lead {
  font-family: var(--font-mincho);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2.05;
  color: rgba(248, 245, 238, 0.88);
  margin: 0 auto 36px;
  max-width: 580px;
  letter-spacing: 0.04em;
  position: relative;
}
.contact-note {
  margin-top: 28px;
  font-size: 12px;
  color: rgba(248, 245, 238, 0.55);
  letter-spacing: 0.05em;
  position: relative;
}

/* ====== Footer ====== */
.site-footer {
  background: var(--ink-deep);
  color: rgba(248, 245, 238, 0.7);
  padding: 64px 0 32px;
}
.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand strong {
  font-family: var(--font-mincho);
  color: var(--mist-white);
  font-size: 17px;
  letter-spacing: 0.08em;
}
.footer-brand em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.3em;
}
.footer-brand small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(248, 245, 238, 0.5);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-self: end;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.footer-nav a { color: rgba(248, 245, 238, 0.7); transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold-soft); }
.copyright {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 245, 238, 0.1);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(248, 245, 238, 0.5);
  text-align: center;
}
.copyright span {
  font-style: italic;
  margin-left: 12px;
  color: var(--gold-soft);
}

/* ====== Reveal animations ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Responsive ====== */
@media (max-width: 960px) {
  .site-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; flex-direction: column; justify-content: center; align-items: center; gap: 28px; background: rgba(12,31,42,0.97); backdrop-filter: blur(20px); font-size: 18px; }
  .site-nav.open { display: flex; }
  .site-nav a { color: var(--mist-white); }
  .scrolled .site-nav a { color: var(--mist-white); }
  .nav-toggle { display: flex; z-index: 60; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero-inner { padding-top: 16vh; }
  .hero-title { font-size: clamp(36px, 11vw, 64px); }
  .hero-scroll { display: none; }

  .concern-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-mark { aspect-ratio: 1.4; max-width: 320px; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .member-grid { grid-template-columns: 1fr; }
  .flow-list::before { left: 28px; }
  .flow-num { width: 56px; height: 56px; font-size: 17px; }
  .flow-step { gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { justify-self: start; }
}

@media (max-width: 540px) {
  .brand-jp { font-size: 15px; }
  .brand-en { font-size: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .section { padding: 80px 0; }
  .hero { padding: 0 22px; }
  .hero-meta { font-size: 10px; gap: 10px; flex-wrap: wrap; }
  .hero-title { font-size: clamp(34px, 12vw, 52px); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .concern-card { padding: 28px 22px; }
  .contact-card { padding: 48px 24px; }
  .faq-item summary { font-size: 15px; padding: 18px 40px 18px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
