/* ==========================================================================
   智添日本語学校 — 演示站点样式
   ========================================================================== */

:root {
  --ink: #1f2a3a;
  --ink-soft: #3a4a5e;
  --indigo: #2b4a6f;
  --indigo-deep: #1d3350;
  --shu: #c8433c;
  --shu-dark: #a83630;
  --sakura: #f0a8b8;
  --sakura-soft: #fbeef1;
  --gold: #c9a24b;
  --gold-light: #e9c87e;
  --cream: #faf7f2;
  --paper: #fffdf9;
  --line: #e8e2d8;
  --muted: #6b7686;
  --font-display: "Noto Serif SC", "Noto Serif JP", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 18px 44px rgba(31, 42, 58, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.35; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }
::selection { background: rgba(240, 168, 184, 0.4); }

section[id] { scroll-margin-top: 86px; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 840px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn-primary {
  background: var(--shu);
  color: #fff;
  box-shadow: 0 8px 22px rgba(200, 67, 60, 0.30);
}
.btn-primary:hover {
  background: var(--shu-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 67, 60, 0.36);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--indigo);
  color: var(--indigo);
}
.btn-ghost:hover {
  background: var(--indigo);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 22px; font-size: 13.5px; }
.btn-block { width: 100%; margin-top: 6px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 253, 249, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(31, 42, 58, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.3;
}
.brand-text small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav a:hover { color: var(--shu); }
.nav .nav-cta { color: #fff; }
.nav .nav-cta:hover { color: #fff; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(43, 74, 111, 0.28);
  background: transparent;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.lang-btn::before {
  content: "あ/A";
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shu);
  letter-spacing: 0;
}
.lang-btn:hover {
  border-color: var(--shu);
  color: var(--shu);
  background: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 158px 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 88% 10%, rgba(240, 168, 184, 0.16), transparent 60%),
    radial-gradient(700px 420px at 6% 80%, rgba(43, 74, 111, 0.08), transparent 60%),
    linear-gradient(180deg, #fdfbf7 0%, #faf6f0 55%, #f5efe4 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--indigo);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--shu);
  transform: rotate(45deg);
  border-radius: 1px;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--shu);
  background: linear-gradient(transparent 64%, rgba(240, 168, 184, 0.42) 64%);
  padding: 0 2px;
}
.hero-lead {
  margin: 22px 0 30px;
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.hero-badges li {
  font-size: 12.5px;
  color: var(--indigo);
  background: rgba(43, 74, 111, 0.06);
  border: 1px solid rgba(43, 74, 111, 0.14);
  padding: 6px 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sakura);
}

/* Hero art */
.hero-art { position: relative; height: 470px; }
.sun {
  position: absolute;
  top: 4px;
  right: 318px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ef6a63, #d94b45 70%);
  box-shadow: 0 14px 34px rgba(217, 75, 69, 0.35);
  z-index: 1;
}
.art-circle {
  position: absolute;
  top: 26px;
  right: 16px;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #fdeff2, #f7dfe5 55%, #f2cfd8);
  border: 1px solid #f0d9de;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(217, 75, 69, 0.10);
}
.kanji-big {
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  color: rgba(43, 74, 111, 0.12);
  user-select: none;
}
.v-text {
  position: absolute;
  top: 34px;
  right: 26px;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--indigo);
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 13px 17px;
  box-shadow: 0 14px 34px rgba(31, 42, 58, 0.13);
  z-index: 3;
  animation: float 5.5s ease-in-out infinite alternate;
}
.fc1 { left: -4px; top: 84px; }
.fc2 { left: 52px; bottom: 52px; animation-delay: 1.4s; }
.fc-icon { font-size: 27px; line-height: 1; }
.float-card strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.5; }
.float-card small { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

/* Fuji silhouette */
.fuji {
  position: absolute;
  left: 0;
  bottom: 150px;
  width: 100%;
  height: 250px;
  z-index: 1;
  pointer-events: none;
}

/* Petals */
/* 樱花瓣只在 hero 区域内显示；hero 本身不能裁剪，否则会切掉悬浮到下一节的统计卡片 */
.petals { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  top: -50px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #f6b8c6, #ef93a8);
  border-radius: 62% 0 62% 0;
  opacity: 0.7;
  animation: petal-fall linear infinite;
}
.p1 { left: 5%;  animation-duration: 13s;   animation-delay: 0s;    transform: scale(1.15); }
.p2 { left: 17%; animation-duration: 11s;   animation-delay: 3s;    opacity: 0.55; }
.p3 { left: 29%; animation-duration: 15s;   animation-delay: 1s;    transform: scale(0.85); }
.p4 { left: 43%; animation-duration: 12s;   animation-delay: 5.5s;  }
.p5 { left: 57%; animation-duration: 14.5s; animation-delay: 2.4s;  opacity: 0.6; transform: scale(1.1); }
.p6 { left: 70%; animation-duration: 11.5s; animation-delay: 6s;    transform: scale(0.8); }
.p7 { left: 83%; animation-duration: 16s;   animation-delay: 0.8s;  opacity: 0.5; }
.p8 { left: 93%; animation-duration: 12.5s; animation-delay: 4.2s;  transform: scale(1.2); }
@keyframes petal-fall {
  0%   { transform: translate3d(0, -60px, 0) rotate(0deg); }
  100% { transform: translate3d(-110px, 108vh, 0) rotate(560deg); }
}

/* Stats bar */
.stats-wrap { position: relative; z-index: 3; margin-top: 62px; }
.stats {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 26px 64px rgba(31, 42, 58, 0.10);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 38px 20px;
  text-align: center;
  margin-bottom: -78px;
}
.stat { position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--indigo);
  line-height: 1.15;
}
.stat-unit { font-size: 18px; margin-left: 3px; color: var(--ink-soft); }
.stat-label {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.why     { padding-top: 168px; background: var(--cream); }
.courses { background: var(--paper); }
.teachers { background: var(--cream); }
.life    { background: var(--paper); }
.process { background: var(--cream); }
.faq     { background: var(--paper); }
.contact { background: linear-gradient(180deg, var(--cream) 0%, #f6efe2 100%); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--shu);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.rule {
  position: relative;
  width: 76px;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--shu), transparent);
}
.rule i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--shu);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 1px;
}
.rule-light { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
.rule-light i { background: var(--gold-light); }
.section-sub { margin-top: 16px; font-size: 15.5px; color: var(--muted); line-height: 1.9; }
.section-sub.light { color: rgba(255, 255, 255, 0.75); }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(240, 168, 184, 0.6);
}

/* Why */
.num-card { padding-top: 36px; }
.num-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--shu), var(--sakura));
}
.ghost-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(43, 74, 111, 0.08);
}
.num-card h3 { font-size: 19px; margin-bottom: 12px; color: var(--ink); }
.num-card p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }

/* Courses */
.course-top { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.course-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdeef1, #f8dbe2);
  display: grid;
  place-items: center;
  font-size: 23px;
  flex-shrink: 0;
}
.course-top .jp {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--indigo);
  opacity: 0.75;
}
.course-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.course-card p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.meta span {
  font-size: 12px;
  color: var(--indigo);
  background: rgba(43, 74, 111, 0.06);
  border: 1px solid rgba(43, 74, 111, 0.13);
  padding: 4px 13px;
  border-radius: 999px;
}

/* Teachers */
.teacher-card { text-align: center; padding-top: 34px; }
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 12px 26px rgba(31, 42, 58, 0.16);
}
.av-indigo { background: linear-gradient(135deg, #3c5f88, #2b4a6f); }
.av-shu    { background: linear-gradient(135deg, #d4574f, #b23a34); }
.av-gold   { background: linear-gradient(135deg, #d3aa55, #b58a2f); }
.teacher-card h3 { font-size: 19px; }
.teacher-card h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.role {
  display: inline-block;
  margin: 12px 0 12px;
  font-size: 12px;
  color: var(--shu);
  background: #fdf0f2;
  border: 1px solid #f6dbe0;
  padding: 4px 15px;
  border-radius: 999px;
}
.bio { font-size: 14px; color: var(--muted); line-height: 1.9; }
.quote {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--indigo);
  background: rgba(43, 74, 111, 0.05);
  border-radius: 10px;
  padding: 10px 14px;
}

/* Results (dark) */
.results {
  background-color: var(--indigo-deep);
  background-image:
    radial-gradient(circle at 50% 100%, transparent 18%, rgba(255,255,255,0.045) 18.6%, rgba(255,255,255,0.045) 22%, transparent 22.6%),
    radial-gradient(circle at 50% 100%, transparent 40%, rgba(255,255,255,0.045) 40.6%, rgba(255,255,255,0.045) 44%, transparent 44.6%),
    radial-gradient(circle at 50% 100%, transparent 62%, rgba(255,255,255,0.045) 62.6%, rgba(255,255,255,0.045) 66%, transparent 66.6%),
    radial-gradient(circle at 50% 100%, transparent 18%, rgba(255,255,255,0.045) 18.6%, rgba(255,255,255,0.045) 22%, transparent 22.6%),
    radial-gradient(circle at 50% 100%, transparent 40%, rgba(255,255,255,0.045) 40.6%, rgba(255,255,255,0.045) 44%, transparent 44.6%),
    radial-gradient(circle at 50% 100%, transparent 62%, rgba(255,255,255,0.045) 62.6%, rgba(255,255,255,0.045) 66%, transparent 66.6%);
  background-size: 96px 48px, 96px 48px, 96px 48px, 96px 48px, 96px 48px, 96px 48px;
  background-position: 0 0, 0 0, 0 0, 48px 24px, 48px 24px, 48px 24px;
  color: #fff;
}
.results .section-head h2 { color: #fff; }
.results-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 880px;
  margin: 0 auto 46px;
  text-align: center;
}
.r-num strong {
  display: block;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1.2;
}
.r-num span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}
.uni-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}
.uni-cloud li {
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 7px 18px;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.uni-cloud li:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.results-note { margin-top: 28px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* Life */
.life-card { text-align: center; padding: 36px 22px; }
.life-emoji {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #fdeef1 72%);
  border: 1px solid #f3dade;
  display: grid;
  place-items: center;
  font-size: 38px;
}
.life-month {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--shu);
}
.life-card h3 { font-size: 18px; margin: 8px 0 10px; }
.life-card p { font-size: 14px; color: var(--muted); line-height: 1.9; }

/* Process */
.process-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 46px;
  align-items: start;
}
.intake-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  position: sticky;
  top: 100px;
  box-shadow: 0 14px 36px rgba(31, 42, 58, 0.07);
}
.intake-card h3 {
  font-size: 19px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.intake-card ul li { margin-bottom: 15px; }
.intake-card ul li strong {
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--indigo);
}
.intake-card ul li span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 3px;
}
.intake-note {
  font-size: 12.5px;
  color: var(--shu);
  background: #fdf0f2;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 18px 0 20px;
}
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 24px;
  border-left: 2px dashed rgba(43, 74, 111, 0.22);
}
.timeline li { position: relative; padding: 0 0 36px 74px; }
.timeline li:last-child { padding-bottom: 0; }
.step-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--indigo);
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(43, 74, 111, 0.06);
}
.step-body h3 {
  font-size: 17.5px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.step-body h3 small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--indigo);
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.step-body p { font-size: 14.5px; color: var(--muted); line-height: 1.9; max-width: 560px; }

/* FAQ */
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-list details[open] {
  box-shadow: 0 12px 32px rgba(31, 42, 58, 0.08);
  border-color: rgba(240, 168, 184, 0.55);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  color: var(--shu);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  border-top: 1px dashed var(--line);
  margin: 0;
  padding: 16px 22px 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
}
.faq-list details p em { font-style: normal; color: #a89a86; font-size: 12.5px; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.contact-info ul li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(43, 74, 111, 0.10);
}
.contact-info ul li:last-child { border-bottom: none; }
.ci-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(31, 42, 58, 0.06);
}
.contact-info strong { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.contact-info li span { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.contact-form { padding: 36px 32px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-row label em { color: var(--shu); font-style: normal; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid #e3ddd2;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(43, 74, 111, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

/* Footer */
.footer { background: #18222f; color: #aab6c5; padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 8px;
}
.footer-jp {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-desc { font-size: 13.5px; line-height: 1.9; color: #8b98a9; max-width: 340px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 13.5px;
  color: #8b98a9;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #6c7a8c;
}

/* To top / Toast */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--indigo);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease;
  z-index: 90;
  box-shadow: 0 10px 24px rgba(31, 42, 58, 0.25);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--shu); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  background: #233246;
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 120;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.grid .reveal:nth-child(5) { transition-delay: 0.1s; }
.grid .reveal:nth-child(6) { transition-delay: 0.18s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav { gap: 15px; }
  .nav a { font-size: 12.5px; }
  .nav .nav-cta { font-size: 12.5px; padding: 8px 16px; }
  .lang-btn { padding: 6px 11px; font-size: 12px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { letter-spacing: 0.1em; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-art { height: 430px; }
  .art-circle { width: 330px; height: 330px; right: 6px; }
  .sun { right: 280px; width: 84px; height: 84px; }
  .kanji-big { font-size: 170px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(255, 253, 249, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(31, 42, 58, 0.16);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 105;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 2px; border-bottom: 1px solid rgba(43, 74, 111, 0.08); }
  .nav .lang-btn { align-self: flex-start; margin: 14px 2px 2px; }
  .nav a:last-child { border-bottom: none; margin-top: 10px; text-align: center; }

  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { height: 400px; max-width: 440px; margin: 16px auto 0; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; margin-bottom: -70px; }
  .stat:nth-child(3) { border-left: none; }
  .why { padding-top: 158px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-layout { grid-template-columns: 1fr; gap: 36px; }
  .intake-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 90px 0; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-art { height: 360px; }
  .art-circle { width: 280px; height: 280px; }
  .kanji-big { font-size: 140px; }
  .v-text { font-size: 15px; top: 22px; right: 18px; }
  .sun { right: 240px; width: 70px; height: 70px; }
  .float-card { padding: 10px 13px; }
  .fc1 { left: 0; top: 70px; }
  .fc2 { left: 18px; bottom: 40px; }
  .stats { padding: 28px 12px; }
  .stat-num { font-size: 34px; }
  .stat + .stat { border-left: none; }
  .section { padding: 76px 0; }
  .section-head h2 { font-size: 27px; }
  .results-nums { grid-template-columns: 1fr; gap: 20px; }
  .timeline li { padding-left: 62px; }
  .step-dot { width: 42px; height: 42px; font-size: 17px; }
  .timeline::before { left: 20px; }
  .contact-form { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .petal, .float-card { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .uni-cloud li:hover { transform: none; }
}
