/* ==========================================================
   Rocal Corporate Site — Design System
   力強さ×誠実 / 白基調×ブランドグリーン(#00A59A) / 見出し:モボ
   ========================================================== */

/* 【要設置】見出しフォント「モボ」(MOBO / SIL OFL 1.1)
   https://booth.pm/ja/items/4647262 からダウンロードし、
   assets/fonts/MOBO-Regular.otf と assets/fonts/MOBO-Bold.otf を配置してください。
   未設置の間は Noto Sans JP の極太ウェイトで代替表示されます（骨格は同じ源ノ角ゴシック系）。 */
@font-face {
  font-family: "Mobo";
  src: url("../assets/fonts/MOBO-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mobo";
  src: url("../assets/fonts/MOBO-Bold.otf") format("opentype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --bg: #FBFCFB;
  --bg-alt: #EDF6F4;
  --bg-deep: #103833;
  --ink: #232E2C;
  --ink-soft: #5C6B68;
  --terracotta: #00A59A;
  --terracotta-dark: #00877E;
  --green: #0E4F49;
  --green-soft: #DFF2EF;
  --line: #DCE8E5;
  --white: #FFFFFF;
  --font-serif: "Mobo", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(16, 56, 51, 0.07);
  --shadow-hover: 0 16px 40px rgba(16, 56, 51, 0.13);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.6; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 252, 251, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(33, 48, 58, 0.06); }

.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; }
.logo-img--footer { height: 30px; filter: brightness(0) invert(1); opacity: 0.92; }
.logo-tag { font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.12em; }

.gnav ul { display: flex; align-items: center; gap: 28px; }
.gnav a {
  font-size: 14px; letter-spacing: 0.06em; padding: 8px 0;
  position: relative; transition: color 0.25s ease;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.gnav a:hover { color: var(--terracotta-dark); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.gnav a.is-current { color: var(--terracotta-dark); }
.gnav a.is-current::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px auto; transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
  padding: 14px 30px; border-radius: 8px;
  border: 1.5px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.btn .arrow { transition: transform 0.3s ease; font-family: var(--font-sans); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--terracotta); color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 165, 154, 0.32);
}
.btn--primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 165, 154, 0.4);
}

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn--large { font-size: 16px; padding: 18px 48px; }
.btn--small { font-size: 13px; padding: 10px 22px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: var(--bg); }

.sec-head { margin-bottom: 56px; }
.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.28em;
  color: var(--terracotta); text-transform: uppercase;
  margin-bottom: 18px;
}
.sec-label::before { content: ""; width: 40px; height: 3px; background: var(--terracotta); }
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800; letter-spacing: 0.04em;
}
.sec-title .u-line {
  background: linear-gradient(var(--terracotta), var(--terracotta)) left bottom / 0% 2px no-repeat;
  padding-bottom: 6px;
  transition: background-size 0.8s ease 0.2s;
}
.sec-title .u-line.is-drawn { background-size: 100% 2px; }
.section--deep .sec-title { color: var(--bg); }

.lead { font-size: 15.5px; color: var(--ink-soft); max-width: 720px; }
.sec-head .lead { margin-top: 20px; }
.section--deep .lead { color: rgba(255, 255, 255,0.75); }

/* ---------- Page hero (下層ページ共通) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 72px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.3em;
  color: var(--terracotta); text-transform: uppercase; margin-bottom: 14px;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5.4vw, 50px); letter-spacing: 0.04em; font-weight: 800;
}
.page-hero-lead { margin-top: 22px; font-size: 15.5px; color: var(--ink-soft); max-width: 680px; }
.page-hero .branch-deco {
  position: absolute; right: -40px; bottom: -20px; width: 380px; opacity: 0.5;
  pointer-events: none;
}

/* サービス詳細ヒーロー：テキスト＋イラストの2カラム */
.page-hero--figure .page-hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 56px;
}
.page-hero--figure .page-hero-copy { flex: 1 1 auto; min-width: 0; }
.page-hero-figure {
  flex: 0 0 40%; max-width: 400px;
  background: var(--white); border-radius: 16px; padding: 20px 26px;
  box-shadow: var(--shadow); border: 1px solid rgba(227, 217, 201, 0.6);
}
.page-hero-figure img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .page-hero--figure .page-hero-inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .page-hero-figure { max-width: 320px; margin: 4px auto 0; align-self: center; }
}

/* 番号付きフィーチャーカード（提供内容・対応内容など） */
.feature-grid .card { padding-top: 34px; }
.feature-grid .card .card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--green-soft); color: var(--terracotta-dark);
  font-family: var(--font-serif); font-size: 18px; font-weight: 700;
  letter-spacing: 0; margin-bottom: 20px;
}
.feature-grid .card { position: relative; overflow: hidden; }
.feature-grid .card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feature-grid .card:hover::before, .feature-grid .card--hover:hover::before { transform: scaleX(1); }

.breadcrumb {
  padding: 14px 0; font-size: 12.5px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "／"; margin-left: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--terracotta-dark); }

/* ---------- Grid / Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 32px; box-shadow: var(--shadow);
  border: 1px solid rgba(227, 217, 201, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex; flex-direction: column;
}
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.card-illust {
  background: #F7F6F1;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}
.card-illust img { width: 100%; height: 150px; object-fit: contain; }

.card-num {
  font-family: var(--font-serif); font-size: 14px; letter-spacing: 0.2em;
  color: var(--terracotta); margin-bottom: 16px;
}
.card-title { font-family: var(--font-serif); font-size: 21px; margin-bottom: 14px; }
.card-text { font-size: 14.5px; color: var(--ink-soft); flex-grow: 1; }
.card-more {
  margin-top: 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--terracotta-dark); display: inline-flex; align-items: center; gap: 8px;
}

/* ---------- Strengths (numbered editorial rows) ---------- */
.strength-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 32px;
  padding: 48px 0; border-top: 1px solid var(--line); align-items: start;
}
.strength-row:last-child { border-bottom: 1px solid var(--line); }
.strength-num {
  font-family: var(--font-serif); font-size: 44px; color: var(--terracotta);
  line-height: 1; letter-spacing: 0.05em;
}
.strength-title { font-family: var(--font-serif); font-size: 23px; margin-bottom: 14px; }
.strength-text { font-size: 15px; color: var(--ink-soft); max-width: 760px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-num {
  font-family: var(--font-serif); font-size: clamp(48px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.2; color: var(--bg); letter-spacing: 0.02em;
}
.stat-unit { font-size: 0.4em; margin-left: 4px; }
.stat-plus { font-size: 0.5em; color: var(--terracotta); }
.stat-label { margin-top: 10px; font-size: 14px; letter-spacing: 0.14em; color: rgba(255, 255, 255,0.7); }
.stat-note { margin-top: 28px; font-size: 12px; color: rgba(255, 255, 255,0.45); text-align: center; }

/* ---------- Steps / Flow ---------- */
.step-list { counter-reset: step; }
.step-item {
  display: grid; grid-template-columns: 72px 1fr; gap: 28px;
  padding: 36px 0; border-top: 1px solid var(--line); position: relative;
}
.step-item:last-child { border-bottom: 1px solid var(--line); }
.step-item::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-serif); font-size: 30px; color: var(--terracotta);
  line-height: 1.4;
}
.step-title { font-family: var(--font-serif); font-size: 19px; margin-bottom: 8px; }
.step-text { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Definition table (会社概要など) ---------- */
.def-table { width: 100%; border-collapse: collapse; }
.def-table th, .def-table td {
  padding: 22px 16px; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top; font-size: 15px;
}
.def-table th {
  width: 200px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink);
  white-space: nowrap;
}
.def-table td { color: var(--ink-soft); }

/* ---------- Members ---------- */
.member-card { text-align: left; }
.member-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 30px; font-weight: 600;
  margin-bottom: 22px; border: 1px solid rgba(46, 94, 78, 0.18);
}
.member-avatar--tc { background: #CBEAE6; color: var(--terracotta-dark); border-color: rgba(0, 165, 154, 0.3); }
.member-role { font-size: 12px; letter-spacing: 0.16em; color: var(--terracotta-dark); font-weight: 600; margin-bottom: 6px; }
.member-name { font-family: var(--font-serif); font-size: 21px; margin-bottom: 4px; }
.member-kana { font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.14em; margin-bottom: 16px; }
.member-bio { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Works ---------- */
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 4px; margin-right: 8px; margin-bottom: 8px;
  background: var(--green-soft); color: var(--green);
}
.tag--area { background: #FBF0DC; color: #9A6B22; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line); background: transparent;
}
.faq-item summary {
  display: flex; align-items: baseline; gap: 16px;
  padding: 26px 40px 26px 4px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; position: relative;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; font-family: var(--font-serif); color: var(--terracotta);
  font-size: 20px; flex-shrink: 0;
}
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 300; color: var(--terracotta);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--terracotta-dark); }
.faq-a {
  display: flex; gap: 16px; padding: 0 40px 28px 4px;
  font-size: 14.5px; color: var(--ink-soft);
}
.faq-a::before {
  content: "A"; font-family: var(--font-serif); color: var(--green);
  font-size: 20px; flex-shrink: 0; line-height: 1.6;
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 32px; }
.form-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.08em;
}
.req, .opt {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
  padding: 2px 8px; border-radius: 4px;
}
.req { background: var(--terracotta); color: var(--white); }
.opt { background: var(--line); color: var(--ink-soft); }

.form-input, .form-textarea, .form-select {
  width: 100%; padding: 14px 16px;
  font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(0, 165, 154, 0.15);
}
.form-textarea { min-height: 180px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

.form-check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.form-check input { width: 18px; height: 18px; accent-color: var(--terracotta); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0E4F49 0%, #10332F 100%);
  color: var(--bg); padding: 96px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255,0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 30%, rgba(255, 255, 255,0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 80%, rgba(255, 255, 255,0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 75%, rgba(255, 255, 255,0.06) 0 2px, transparent 3px);
}
.cta-title {
  font-family: var(--font-serif); font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 0.08em; margin-bottom: 18px; position: relative;
}
.cta-text { font-size: 15px; color: rgba(255, 255, 255,0.8); margin-bottom: 40px; position: relative; }
.cta-band .btn { position: relative; }
.cta-sub { margin-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255,0.55); position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: rgba(255, 255, 255,0.8); padding: 72px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; margin-bottom: 56px; }
.footer-logo .logo-mark { color: var(--bg); }
.footer-mission { margin-top: 16px; font-size: 13px; line-height: 2; color: rgba(255, 255, 255,0.6); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-nav-group h4 {
  font-size: 12px; letter-spacing: 0.2em; color: var(--terracotta);
  margin-bottom: 16px; font-weight: 600;
}
.footer-nav-group ul li { margin-bottom: 10px; }
.footer-nav-group a { font-size: 13.5px; transition: color 0.25s ease; }
.footer-nav-group a:hover { color: var(--terracotta); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255,0.12); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 12px; color: rgba(255, 255, 255,0.45);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.sp-only { display: none; }
@media (max-width: 860px) { .sp-only { display: inline; } }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mt-64 { margin-top: 64px; }
.note { font-size: 12.5px; color: var(--ink-soft); }

/* ==========================================================
   Top page specific
   ========================================================== */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: #FFFFFF;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px circle at 78% 60%, rgba(0, 165, 154, 0.06), transparent 70%);
}
.hero-title .char { display: inline-block; will-change: transform; }

/* ---------- 追随CTA（画面下部に常時表示） ---------- */
.follow-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; gap: 10px;
}
.follow-cta .btn {
  font-size: 12.5px; padding: 11px 22px;
  box-shadow: 0 8px 22px rgba(16, 56, 51, 0.18);
}
.btn--doc {
  background: var(--white); color: var(--terracotta-dark);
  border-color: var(--terracotta);
}
.btn--doc:hover {
  background: var(--green-soft); transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 56, 51, 0.22);
}

/* ---------- オープニング演出 ---------- */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: #10332F;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
}
.intro-copy {
  font-family: var(--font-serif);
  font-size: clamp(18px, 4vw, 42px);
  font-weight: 800; letter-spacing: 0.12em; line-height: 1.9;
  color: var(--white); text-align: center;
}
.intro-accent { color: #5AD6C9; }
.intro-copy .char { display: inline-block; will-change: transform; }
.hero-inner {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
  padding: 0 24px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.hero-copy { max-width: 640px; flex: 0 1 auto; }
.hero-figure { flex: 1 1 48%; max-width: 580px; }

/* 3人のチームシーン */
.trio-scene { position: relative; }
.trio-chart { width: 86%; margin: 0 auto; display: block; height: auto; }
.trio-people { display: flex; align-items: flex-end; justify-content: center; margin-top: -8px; }
.trio-person { width: 33%; height: auto; display: block; }
.trio-person--mid { width: 35%; margin: 0 -4%; position: relative; z-index: 2; }
.trio-person--pc { width: 38%; }
.hero-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.3em;
  color: var(--terracotta-dark); margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.8vw, 74px);
  font-weight: 900; letter-spacing: 0.02em; line-height: 1.45;
  color: var(--ink);
  white-space: nowrap;
}
.hero-title .accent { color: var(--terracotta); }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700; letter-spacing: 0.16em;
  color: var(--terracotta-dark);
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: 0.3em; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 44px; background: var(--ink-soft);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}

/* ---------- ステートメント（ヒーロー直下） ---------- */
.statement { text-align: center; }
.statement-copy {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.6vw, 36px);
  font-weight: 800; letter-spacing: 0.08em; line-height: 2;
}
.statement-copy span { display: block; }
.statement-copy em {
  font-style: normal; color: var(--terracotta);
  background: linear-gradient(transparent 68%, var(--green-soft) 68%);
}
.statement-sub {
  margin-top: 40px; font-size: clamp(14.5px, 1.6vw, 16.5px);
  color: var(--ink-soft); line-height: 2.4; letter-spacing: 0.06em;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 課題共感セクション */
.problem-list { display: grid; gap: 0; }
.problem-item {
  display: flex; gap: 18px; align-items: baseline;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  font-size: 16.5px; font-weight: 500;
}
.problem-item:first-child { border-top: 1px solid var(--line); }
.problem-item::before {
  content: "―"; color: var(--terracotta); flex-shrink: 0;
}

.answer-block { margin-top: 64px; text-align: center; }
.answer-title {
  font-family: var(--font-serif); font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.1em; line-height: 2;
}
.answer-title .accent { color: var(--terracotta); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .gnav ul { gap: 20px; }
  .hero-inner { gap: 28px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }

  .gnav {
    position: fixed; inset: 0; z-index: 105;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; gap: 28px; text-align: center; }
  .gnav a { font-size: 18px; font-family: var(--font-serif); }
  .header-cta { display: none; }
  .nav-toggle { display: block; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .strength-row { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .strength-num { font-size: 34px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .def-table th { width: 120px; padding: 18px 8px; }
  .def-table td { padding: 18px 8px; }
  .step-item { grid-template-columns: 52px 1fr; gap: 16px; }
  .hero { min-height: auto; padding-bottom: 120px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-figure { width: min(90%, 430px); margin: 16px auto 0; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 48px; }
  .page-hero .branch-deco { width: 240px; opacity: 0.3; }
  .faq-item summary { padding-right: 32px; }
  .faq-a { padding-right: 8px; }

  .follow-cta {
    left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    justify-content: center;
  }
  .follow-cta .btn { flex: 1; max-width: 220px; padding: 12px 10px; }
  .site-footer { padding-bottom: 104px; }
}

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