/* ============================================================
   kyuliz コーポレートサイト  —  デザインシステム
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  /* Brand blues — 信頼・安心感 */
  --navy:        #133b63;   /* deep trust navy */
  --blue:        #1f5d96;   /* primary blue */
  --blue-600:    #2f6fb0;
  --blue-bright: #3d86cf;
  --blue-tint:   #eaf2fa;   /* soft wash */
  --blue-tint-2: #f3f8fd;

  /* Warm accent — ゴールド系（差し色） */
  --gold:        #d9a441;
  --gold-soft:   #e7c074;
  --gold-deep:   #b9842a;
  --gold-tint:   #fbf3e2;

  /* Neutrals */
  --ink:         #1d2c3a;   /* primary text */
  --ink-soft:    #4a5b6b;   /* secondary text */
  --ink-muted:   #7b8a98;   /* tertiary */
  --line:        #e2e9f0;
  --line-soft:   #eef3f8;
  --bg:          #ffffff;
  --bg-alt:      #f4f8fc;   /* light gray-blue base */
  --bg-alt-2:    #eef4fa;
  --white:       #ffffff;

  /* Typography */
  --font: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --display-weight: 500;
  --body-weight: 400;

  /* Rhythm */
  --maxw: 1160px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(19, 59, 99, .06);
  --shadow:    0 10px 30px rgba(19, 59, 99, .09);
  --shadow-lg: 0 24px 60px rgba(19, 59, 99, .14);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--body-weight);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: var(--display-weight); line-height: 1.4; letter-spacing: .01em; margin: 0; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #eaf1f8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: var(--blue-600); text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.section--navy .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.45; font-weight: 600; color: var(--navy);
  letter-spacing: .01em;
}
.section--navy .section-head h2 { color: #fff; }
.section-head h2 .accent { color: var(--blue-600); }
.section-head p {
  margin: 20px 0 0; font-size: clamp(15px, 1.7vw, 17px);
  color: var(--ink-soft); line-height: 2;
}
.section--navy .section-head p { color: #c4d6e8; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 15.5px; font-weight: 600; letter-spacing: .03em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue));
  color: #fff; box-shadow: 0 12px 26px rgba(31, 93, 150, .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(31, 93, 150, .36); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff; box-shadow: 0 12px 26px rgba(185, 132, 42, .28);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(185, 132, 42, .36); }
.btn--ghost {
  background: #fff; color: var(--navy); border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 18px 38px; font-size: 16.5px; }
.btn--on-navy { background:#fff; color: var(--navy); }
.btn--on-navy:hover { background: var(--gold-tint); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(19,59,99,.07); }
.nav { 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; border-radius: 11px;
  object-fit: cover; object-position: center;
  background: #1b1b1b;
  box-shadow: 0 6px 16px rgba(31,93,150,.25);
  display: block; flex: none;
}
.brand__name { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.brand__name small { display:block; font-size: 10.5px; font-weight: 500; letter-spacing: .22em; color: var(--ink-muted); margin-top: -2px; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; font-size: 14.5px; font-weight: 500; white-space: nowrap;
  color: var(--ink-soft); border-radius: 9px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--navy); background: var(--blue-tint); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav__toggle { display: none; }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 11px; background: #fff;
  }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
    background: var(--navy); transition: .3s;
  }
  .nav__toggle span::before { transform: translateY(-6px); }
  .nav__toggle span::after  { transform: translateY(4px); }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; display: none;
  background: rgba(19,59,99,.4); backdrop-filter: blur(3px);
}
.mobile-menu.open { display: block; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 340px);
  background: #fff; padding: 28px 26px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__panel a { padding: 14px 12px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mobile-menu__close { align-self: flex-end; width: 40px; height: 40px; border: none; background: var(--bg-alt); border-radius: 10px; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.mobile-menu__panel .btn { margin-top: 16px; }

/* ============================================================
   HERO  (variant-switchable via [data-hero])
   ============================================================ */
.hero { position: relative; overflow: hidden; }
[data-hero="a"] .hero--b, [data-hero="a"] .hero--c,
[data-hero="b"] .hero--a, [data-hero="b"] .hero--c,
[data-hero="c"] .hero--a, [data-hero="c"] .hero--b { display: none; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-tint); color: var(--blue-600);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; margin-bottom: 24px;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-size: clamp(31px, 5vw, 56px); line-height: 1.42; font-weight: 600;
  color: var(--navy); letter-spacing: .005em;
}
.hero h1 .hl { position: relative; color: var(--blue-600); white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 12px; z-index: -1;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-tint));
  border-radius: 4px; opacity: .85;
}
.hero p.lead { font-size: clamp(15px, 1.9vw, 18px); color: var(--ink-soft); line-height: 2.05; margin: 26px 0 0; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 40px; color: var(--ink-muted); font-size: 13.5px; }
.hero-trust .item { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--blue-600); }

/* Variant A — split */
.hero--a .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero--a { background:
  radial-gradient(1200px 600px at 88% -10%, var(--blue-tint) 0%, transparent 55%),
  linear-gradient(180deg, #fff 0%, var(--bg-alt-2) 100%); }
.hero-visual { position: relative; }
.hero-photo { width: 100%; height: clamp(340px, 42vw, 480px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 16px 18px; display: flex; align-items: center; gap: 13px;
}
.hero-badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.hero-badge .ic.blue { background: linear-gradient(135deg, var(--blue-600), var(--navy)); }
.hero-badge .ic.gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.hero-badge .t { font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
.hero-badge .t b { display: block; font-size: 18px; color: var(--navy); font-weight: 700; }
.hero-badge--tl { top: 22px; left: -26px; }
.hero-badge--br { bottom: 26px; right: -22px; }

/* Variant B — centered over soft scene */
.hero--b { background:
  radial-gradient(900px 500px at 50% -20%, var(--blue-tint) 0%, transparent 60%),
  linear-gradient(180deg, var(--bg-alt-2), #fff); position: relative; }
.hero--b .hero-grid { padding-block: clamp(64px, 10vw, 128px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero--b h1 { max-width: 16em; }
.hero--b p.lead { margin-inline: auto; }
.hero--b .hero-cta, .hero--b .hero-trust { justify-content: center; }
.hero--b .hero-scene { width: 100%; max-width: 920px; margin-top: 56px; }
.hero--b .hero-photo { height: clamp(280px, 36vw, 420px); }
.hero--b .hero-orbs span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }

/* Variant C — product / dashboard feel */
.hero--c { background:
  radial-gradient(1000px 700px at 100% 0%, var(--blue-tint) 0%, transparent 50%),
  linear-gradient(180deg, #fff, var(--bg-alt)); }
.hero--c .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 100px); }
.dash {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0; overflow: hidden; border: 1px solid var(--line-soft);
}
.dash__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: var(--bg-alt); }
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dash__bar i:nth-child(1){ background:#e7806a;} .dash__bar i:nth-child(2){ background:var(--gold-soft);} .dash__bar i:nth-child(3){ background:#7fb98a;}
.dash__bar .url { margin-left: 12px; font-size: 12px; color: var(--ink-muted); background:#fff; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); }
.dash__body { padding: 22px; display: grid; gap: 16px; }
.dash__row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.dash__stat { background: var(--blue-tint-2); border-radius: 14px; padding: 16px; }
.dash__stat b { font-size: 26px; color: var(--navy); font-weight: 700; display:block; line-height: 1.2; }
.dash__stat span { font-size: 12px; color: var(--ink-muted); }
.dash__panel { background: var(--bg-alt); border-radius: 14px; padding: 18px; }
.dash__panel .h { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.dash__bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.dash__bars .b { flex: 1; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, var(--blue-bright), var(--blue)); }
.dash__bars .b.g { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); }

@media (max-width: 860px) {
  .hero--a .hero-grid, .hero--c .hero-grid { grid-template-columns: 1fr; }
  .hero--a .hero-visual, .hero--c .dash { order: -1; }
  .hero-badge--tl { left: 8px; } .hero-badge--br { right: 8px; }
}

/* ============================================================
   Logos / trust strip
   ============================================================ */
.trustbar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; }
.trustbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 48px; padding-block: 30px; }
.trustbar .label { font-size: 13px; color: var(--ink-muted); letter-spacing: .04em; }
.trustbar .schools { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; opacity: .72; }
.trustbar .school { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.trustbar .school .crest { width: 26px; height: 26px; border-radius: 7px; background: var(--blue-tint); display: grid; place-items: center; color: var(--blue-600); }

/* ============================================================
   Problem section
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; transition: transform .3s var(--ease), box-shadow .3s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.problem-card .q {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep); margin-bottom: 20px;
}
.problem-card .q svg { width: 24px; height: 24px; }
.problem-card h3 { font-size: 19px; color: var(--navy); font-weight: 600; margin-bottom: 10px; line-height: 1.55; }
.problem-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.95; }
.problem-card .quote { margin-top: 16px; font-size: 13px; color: var(--ink-muted); padding-top: 14px; border-top: 1px dashed var(--line); font-style: normal; }

.problem-bridge {
  margin-top: 48px; text-align: center; font-size: clamp(18px, 2.6vw, 26px);
  color: var(--navy); font-weight: 500; line-height: 1.7;
}
.problem-bridge .em { color: var(--blue-600); position: relative; }
.problem-bridge .em b { font-weight: 700; }

@media (max-width: 820px) { .problem-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Service section
   ============================================================ */
.service-hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.service-panel {
  position: relative; background: linear-gradient(165deg, var(--blue-tint-2), #fff);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow);
}
.service-panel__head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.service-panel__ic { flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-600), var(--navy)); color: #fff; box-shadow: 0 8px 18px rgba(31,93,150,.25); }
.service-panel__ic svg { width: 28px; height: 28px; }
.service-panel__head b { display: block; font-size: 17px; color: var(--navy); font-weight: 700; }
.service-panel__head span { font-size: 13px; color: var(--ink-muted); }
.service-panel__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-panel__list li { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 13px 15px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.service-panel__list li svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; }
.service-panel__list li:nth-child(3) svg, .service-panel__list li:nth-child(6) svg { color: var(--gold-deep); }
.service-photo { width: 100%; height: clamp(320px, 40vw, 440px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-visual .tag, .service-panel .tag {
  position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.service-visual .tag .pic, .service-panel .tag .pic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display:grid; place-items:center; color:#fff; flex: none; }
.service-visual .tag b, .service-panel .tag b { color: var(--navy); display: block; font-size: 15px; }
.service-visual .tag span, .service-panel .tag span { font-size: 12.5px; color: var(--ink-muted); }
.service-points { display: grid; gap: 18px; margin-top: 30px; }
.service-point { display: flex; gap: 16px; }
.service-point .num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue-600); font-weight: 700; font-size: 15px;
  border: 1.5px solid #fff; box-shadow: 0 0 0 1.5px var(--blue-tint);
}
.service-point h4 { font-size: 17.5px; color: var(--navy); font-weight: 600; margin-bottom: 5px; }
.service-point p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) { .service-hero { grid-template-columns: 1fr; } .service-visual, .service-panel { order: -1; } }

/* ============================================================
   Reasons (why chosen)
   ============================================================ */
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.reason {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; display: flex; gap: 22px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.reason::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--blue-bright), var(--blue)); opacity: 0; transition: opacity .3s; }
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.reason:hover::before { opacity: 1; }
.reason .ic { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue-600); }
.reason:nth-child(2) .ic, .reason:nth-child(3) .ic { background: var(--gold-tint); color: var(--gold-deep); }
.reason .ic svg { width: 30px; height: 30px; }
.reason h3 { font-size: 20px; color: var(--navy); font-weight: 600; margin-bottom: 10px; }
.reason p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.95; }
.reason .no { position: absolute; top: 20px; right: 24px; font-size: 13px; font-weight: 700; color: var(--line); letter-spacing: .1em; }

@media (max-width: 820px) { .reasons-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Results / testimonials
   ============================================================ */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 56px; }
.stat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.section--navy .stat-card b { font-size: clamp(34px, 5vw, 46px); font-weight: 700; color: #fff; display: block; line-height: 1.1; }
.stat-card b .u { font-size: .5em; font-weight: 600; color: var(--gold-soft); margin-left: 3px; }
.stat-card span { font-size: 13.5px; color: #b8cde0; margin-top: 8px; display: block; }

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

/* Promise cards (new company — no fake metrics) */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s var(--ease), background .3s; }
.promise:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.promise .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(217,164,65,.16); color: var(--gold-soft); margin-bottom: 18px; }
.promise .ic svg { width: 26px; height: 26px; }
.promise h3 { font-size: 17px; color: #fff; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.promise p { font-size: 13.5px; color: #b8cde0; margin: 0; line-height: 1.9; }

.founder { margin-top: 48px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.founder .seal { width: 76px; height: 76px; border-radius: 18px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: grid; place-items: center; color: #fff; flex: none; }
.founder .seal svg { width: 38px; height: 38px; }
.founder h3 { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.founder p { color: #cfe0f0; font-size: 15px; line-height: 2; margin: 0 0 14px; }
.founder .sign { color: var(--gold-soft); font-size: 14px; font-weight: 600; margin-top: 4px; }

@media (max-width: 1000px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promise-grid { grid-template-columns: 1fr; } .founder { grid-template-columns: 1fr; gap: 18px; } }
.testi {
  background: #fff; border-radius: var(--radius); padding: 30px 28px; color: var(--ink);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.testi .stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.testi p { font-size: 15px; line-height: 1.95; color: var(--ink); margin: 0 0 22px; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.testi .who image-slot, .testi .who .ava { width: 50px; height: 50px; border-radius: 50%; flex: none; }
.testi .who .ava { background: var(--blue-tint); display: grid; place-items: center; color: var(--blue-600); font-weight: 700; }
.testi .who b { font-size: 14.5px; color: var(--navy); font-weight: 600; display: block; }
.testi .who span { font-size: 12.5px; color: var(--ink-muted); }

@media (max-width: 900px) { .stats-row { grid-template-columns: repeat(2,1fr); } .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Flow / steps
   ============================================================ */
.flow { position: relative; }
.flow-line { position: absolute; left: 0; right: 0; top: 44px; height: 2px; background: linear-gradient(90deg, var(--blue-tint), var(--blue-600) 50%, var(--blue-tint)); z-index: 0; }
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; z-index: 1; }
.flow-step { text-align: center; }
.flow-step .dot {
  width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: #fff;
  border: 2px solid var(--blue-tint); display: grid; place-items: center; color: var(--blue-600);
  box-shadow: var(--shadow-sm); position: relative; transition: transform .3s var(--ease);
}
.flow-step:hover .dot { transform: translateY(-4px); }
.flow-step .dot svg { width: 36px; height: 36px; }
.flow-step .n { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.flow-step h4 { font-size: 16.5px; color: var(--navy); font-weight: 600; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.85; }

@media (max-width: 900px) {
  .flow-line { display: none; }
  .flow-grid { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .flow-step { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: center; padding: 10px 0; }
  .flow-step .dot { margin: 0; }
  .flow-step h4, .flow-step p { text-align: left; }
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan--featured { border-color: transparent; box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #fff, var(--blue-tint-2)); }
.plan--featured::before { content: "おすすめ"; position: absolute; top: 22px; right: 24px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 999px; letter-spacing: .04em; }
.plan .pname { font-size: 14px; font-weight: 700; color: var(--blue-600); letter-spacing: .08em; }
.plan .pdesc { font-size: 13.5px; color: var(--ink-muted); margin: 8px 0 20px; min-height: 40px; }
.plan .price { font-size: 14px; color: var(--ink-soft); }
.plan .price b { font-size: 38px; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
.plan .price .per { font-size: 13px; color: var(--ink-muted); }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 13px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: 14px; color: var(--ink-soft); align-items: flex-start; }
.plan li svg { width: 19px; height: 19px; color: var(--blue-600); flex: none; margin-top: 2px; }
.plan--featured li svg { color: var(--gold-deep); }
.pricing-note { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--ink-muted); }

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--blue-tint); }
.faq-q { width: 100%; text-align: left; border: none; background: none; padding: 22px 26px; display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 600; color: var(--navy); }
.faq-q .qmark { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-tint); color: var(--blue-600); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.faq-q .chev { margin-left: auto; flex: none; transition: transform .3s var(--ease); color: var(--ink-muted); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a__inner { padding: 0 26px 24px 70px; font-size: 14.5px; color: var(--ink-soft); line-height: 2; }

/* ============================================================
   Contact / form
   ============================================================ */
.contact { background:
  radial-gradient(900px 500px at 12% 0%, rgba(31,93,150,.10) 0%, transparent 55%),
  linear-gradient(160deg, var(--navy) 0%, #0f3052 100%); color: #eaf1f8; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.45; font-weight: 600; }
.contact-info p { color: #c4d6e8; font-size: 16px; line-height: 2; margin: 22px 0 0; }
.contact-channels { display: grid; gap: 16px; margin-top: 36px; }
.contact-channel { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px 20px; }
.contact-channel .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--gold-soft); flex: none; }
.contact-channel .ic svg { width: 22px; height: 22px; }
.contact-channel b { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.contact-channel span { font-size: 13px; color: #a9c2d8; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.purpose-opt { position: relative; }
.purpose-opt input { position: absolute; opacity: 0; }
.purpose-opt label { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.purpose-opt label b { font-size: 15px; color: var(--navy); font-weight: 600; }
.purpose-opt label span { font-size: 12px; color: var(--ink-muted); }
.purpose-opt input:checked + label { border-color: var(--blue-600); background: var(--blue-tint-2); box-shadow: 0 0 0 3px rgba(31,93,150,.1); }
.purpose-opt input:checked + label::after { content: "✓"; position: absolute; top: 12px; right: 14px; color: var(--blue-600); font-weight: 700; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--gold-deep); font-size: 11px; margin-left: 6px; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fdfefe; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(31,93,150,.12); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); margin: 6px 0 22px; }
.form-consent input { margin-top: 3px; }
.form-consent a { color: var(--blue-600); text-decoration: underline; }
.form-card .btn { width: 100%; }
.form-card .btn[disabled] { opacity: .6; pointer-events: none; }
.form-error { display: none; margin: 14px 0 0; padding: 12px 16px; background: #fdecec; border: 1px solid #f3c2c2; color: #b03535; border-radius: 11px; font-size: 13.5px; line-height: 1.7; }
.form-error.show { display: block; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-600); display: grid; place-items: center; }
.form-success.show { display: block; }
.form-success h3 { color: var(--navy); font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); font-size: 14.5px; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-purpose, .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   Company
   ============================================================ */
.company-single { max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; padding: 18px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { width: 150px; color: var(--ink-muted); font-weight: 600; }
.company-table td { color: var(--ink); }
.company-table td a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; }
  .company-table th { width: auto; padding-bottom: 2px; border-bottom: none; font-size: 13px; }
  .company-table td { padding-top: 4px; }
}

/* ============================================================
   CTA band + Footer
   ============================================================ */
.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,65,.4), transparent 70%); }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 600; line-height: 1.5; position: relative; }
.cta-band p { color: #cfe0f0; margin: 16px auto 30px; max-width: 560px; font-size: 16px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

.site-footer { background: #0f2740; color: #9fb6cc; padding-block: 56px 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; margin: 18px 0 0; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 13.5px; color: #9fb6cc; transition: color .2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: 12.5px; color: #6f8aa3; }
.footer-bottom .links { display: flex; gap: 22px; }

@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* stagger */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ============================================================
   Legal / policy page
   ============================================================ */
.legal-hero { background:
  radial-gradient(900px 480px at 85% -20%, var(--blue-tint) 0%, transparent 55%),
  linear-gradient(180deg, #fff, var(--bg-alt)); padding-block: clamp(48px, 7vw, 92px); }
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(28px, 4.4vw, 44px); color: var(--navy); font-weight: 600; line-height: 1.4; }
.legal-hero p { color: var(--ink-soft); font-size: 15px; margin: 16px 0 0; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--blue-600); font-weight: 600; margin-bottom: 24px; }
.legal-back svg { width: 16px; height: 16px; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 3px; }

.legal-body { max-width: 860px; margin-inline: auto; }
.legal-block { margin-bottom: 44px; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 {
  font-size: clamp(19px, 2.4vw, 24px); color: var(--navy); font-weight: 600;
  padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--blue-tint);
  display: flex; align-items: baseline; gap: 12px;
}
.legal-block h2 .no { font-size: 14px; font-weight: 700; color: var(--gold-deep); letter-spacing: .06em; flex: none; }
.legal-block h3 { font-size: 16px; color: var(--navy); font-weight: 600; margin: 22px 0 8px; }
.legal-block p { color: var(--ink-soft); font-size: 15px; line-height: 2; margin: 0 0 14px; }
.legal-block ul { margin: 0 0 14px; padding-left: 0; list-style: none; display: grid; gap: 11px; }
.legal-block li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.legal-block li::before { content: ""; position: absolute; left: 6px; top: 13px; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); transform: rotate(45deg); }
.legal-block a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

.legal-note { background: var(--blue-tint-2); border: 1px solid var(--blue-tint); border-radius: var(--radius); padding: 22px 26px; }
.legal-note p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.legal-meta { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-muted); }
.legal-meta b { color: var(--ink); font-weight: 600; }

.legal-contact-card { margin-top: 16px; display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow-sm); }
.legal-contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.legal-contact-card .ic svg { width: 22px; height: 22px; }
.legal-contact-card b { display: block; color: var(--navy); font-size: 16px; }
.legal-contact-card span { font-size: 12.5px; color: var(--ink-muted); }
