/* ============================================================
   楽珠そろばん教室 FC加盟店募集サイト — 共通スタイル
   デザイン基調: OE waiting-list LP のグラマーを継承
   カラー: 楽珠ブルー(構造) × ワンパレードイエロー(行動)
   ============================================================ */

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== Tokens ===== */
:root {
  /* 楽珠ブルー ramp — 構造を担う */
  --b1: #004a58;   /* 最濃: 濃色帯・CTA・フッター */
  --b2: #0097b2;   /* ブランド: ラベル・アイコン・数字 */
  --b3: #3fb6cd;   /* 明: 罫線アクセント・ディバイダ */
  --b4: #cbe9ef;   /* 淡: 図の塗り */
  --bpale: #f1fafc; /* 極淡: セクション背景 */
  --bline: #c2e2ea; /* 淡色面の枠線 */

  /* ワンパレードイエロー — 行動を担う */
  --y1: #f3b427;   /* ブランド: CTAボタン */
  --y2: #d69e22;   /* hover */
  --yink: #7a5c00; /* 淡黄の上に乗せる文字 */
  --ypale: #fff8e1;
  --yline: #f0dd9c;

  /* Ink — すべてブルー寄りに濁らせる（純グレーを使わない） */
  --ink: #0d1b1f;
  --body: #2f3f44;
  --sub: #5c6c72;
  --muted: #8b9a9f;
  --border: #dde8eb;
  --white: #fff;
  --red: #c0392b;

  --sh: 0 6px 32px rgba(0, 74, 88, .12);
  --sh-lg: 0 10px 48px rgba(0, 74, 88, .18);

  /* ===== 公文式構造トークン（DESIGN-kumon.md） ===== */
  --sh-btn: 0 3px 0 0 #b8930a;       /* ボタンのみ: ぼけない下方向ハード影 */
  --sh-btn-press: 0 1px 0 0 #b8930a;
  --sh-btn-outline: 0 3px 0 0 #7fb8c7;
  --sh-btn-outline-press: 0 1px 0 0 #7fb8c7;
  --rad-card: 16px;
  --rad-card-lg: 20px;
  --rad-pill: 100vw;

  --rk-font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --rk-font-num: "Manrope", "Inter", -apple-system, sans-serif;

  --pad-x: clamp(20px, 6vw, 80px);
}

/* 旧トークン互換（HTML内のインラインstyleが参照している） */
:root {
  --rk-primary: var(--b2);
  --rk-primary-ink: var(--b1);
  --rk-accent: var(--y1);
  --rk-ink: var(--ink);
  --rk-ink-2: var(--sub);
  --rk-ink-3: var(--muted);
  --rk-base: var(--white);
  --rk-base-2: var(--bpale);
  --rk-rule: var(--border);
  --rk-rule-strong: var(--bline);
  --rk-font-jp-serif: var(--rk-font-jp);
  --rk-font-jp-sans: var(--rk-font-jp);
}

body {
  font-family: var(--rk-font-jp);
  color: var(--body);
  background: var(--white);
  font-size: 15px;
  line-height: 1.85;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ===== Notice bar ===== */
.rk-notice {
  background: var(--b1); color: rgba(255, 255, 255, .92);
  text-align: center; padding: .6rem 1rem;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.rk-notice strong { color: var(--y1); }

/* ===== Header ===== */
.rk-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 var(--pad-x);
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
}
.rk-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.rk-logo img { height: 30px; width: auto; }
.rk-logo .sub {
  color: var(--sub); font-size: 11px; letter-spacing: .12em; white-space: nowrap;
  border-left: 1px solid var(--bline); padding-left: 10px;
}
.rk-nav { display: flex; gap: 24px; font-size: 13px; align-items: center; }
.rk-nav a { color: var(--ink); transition: color .15s; white-space: nowrap; }
.rk-nav a:hover { color: var(--b2); }
.rk-header .rk-btn { height: 42px; padding: 0 18px; font-size: 13px; }
@media (max-width: 800px) {
  .rk-nav { display: none; }
  .rk-logo .sub { display: none; }
}

/* ===== Typography ===== */
.rk-h1 {
  font-weight: 900; font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.4; letter-spacing: .01em; color: var(--ink);
}
.rk-h2 {
  font-weight: 900; font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.45; letter-spacing: .02em; color: var(--ink);
}
.rk-h2 .em, .rk-h2 span:not([class]) { color: var(--b2); }
.rk-h3 {
  font-weight: 800; font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55; letter-spacing: .02em; color: var(--ink);
}
/* セクションラベル: 「01 — Market」の様式 */
.rk-eyebrow {
  font-family: var(--rk-font-num); font-weight: 700; font-size: 11.5px;
  letter-spacing: .22em; color: var(--b2); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.rk-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--b3); flex-shrink: 0; }
.rk-eyebrow-jp { font-weight: 700; font-size: 12px; letter-spacing: .28em; color: var(--b2); }
.rk-lead { font-size: 15px; color: var(--body); line-height: 2; }
.rk-num { font-family: var(--rk-font-num); font-weight: 800; font-feature-settings: "tnum"; }
.rk-note { font-size: 11px; color: var(--muted); letter-spacing: .05em; line-height: 1.8; }
.em { color: var(--b2); }
.marker { background: linear-gradient(180deg, transparent 62%, rgba(255, 210, 31, .8) 62%); padding: 0 2px; }
.rk-divider { width: 36px; height: 2px; background: var(--b3); border-radius: 2px; }

/* ===== Buttons ===== */
.rk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px; border-radius: var(--rad-pill);
  font-family: var(--rk-font-jp); font-weight: 800; font-size: 15px;
  letter-spacing: .08em; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.rk-btn.primary {
  background: var(--y1); color: var(--ink);
  box-shadow: var(--sh-btn);
}
.rk-btn.primary::after { content: "→"; margin-left: 12px; font-family: var(--rk-font-num); }
.rk-btn.primary:hover {
  background: var(--y2); transform: translateY(-2px);
}
.rk-btn.primary:active {
  transform: translateY(3px); box-shadow: var(--sh-btn-press);
}
.rk-btn.ghost { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.rk-btn.ghost:hover { background: rgba(255, 255, 255, .16); }
.rk-btn.outline { background: #fff; color: var(--b2); border: 1px solid var(--b2); box-shadow: var(--sh-btn-outline); }
.rk-btn.outline::after { content: "→"; margin-left: 12px; font-family: var(--rk-font-num); }
.rk-btn.outline:hover { background: var(--bpale); transform: translateY(-2px); }
.rk-btn.outline:active { transform: translateY(3px); box-shadow: var(--sh-btn-outline-press); }
.rk-btn.block { width: 100%; }
/* 2段組みボタン（主文＋補足） */
.rk-btn.stack { flex-direction: column; height: auto; padding: 1.05rem 2.4rem; line-height: 1.4; }
.rk-btn.stack::after { display: none; }
.rk-btn.stack small { font-size: 11px; font-weight: 600; opacity: .72; margin-top: .2rem; letter-spacing: .04em; }

/* ===== Sections ===== */
.rk-section { padding: clamp(64px, 9vw, 96px) var(--pad-x); background: var(--white); }
.rk-section.base-2 { background: var(--bpale); }
.rk-section.dark { background: var(--b1); color: rgba(255, 255, 255, .8); }
.rk-section.dark .rk-h2, .rk-section.dark .rk-h3 { color: #fff; }
.rk-section.dark .rk-h2 .em { color: var(--y1); }
.rk-section.dark .rk-lead { color: rgba(255, 255, 255, .75); }
.rk-section.dark .rk-eyebrow { color: var(--b4); }
.rk-section.dark .rk-eyebrow::before { background: var(--b3); }
.rk-section.primary-band {
  background: linear-gradient(160deg, var(--b1) 0%, #01606f 100%);
  color: rgba(255, 255, 255, .8); position: relative; overflow: hidden;
}
.rk-section.primary-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 255, 255, .06) 0%, transparent 65%);
}
.rk-section.primary-band > * { position: relative; z-index: 1; }
.rk-section.primary-band .rk-h2, .rk-section.primary-band .rk-h3 { color: #fff; }
.rk-section.primary-band .rk-lead { color: rgba(255, 255, 255, .75); }
.rk-section.primary-band .rk-eyebrow, .rk-section.primary-band .rk-eyebrow-jp { color: var(--y1); }
.rk-section.primary-band .rk-eyebrow::before { background: var(--y1); }

.rk-inner { max-width: 1120px; margin: 0 auto; }
.rk-inner.narrow { max-width: 860px; }
.rk-section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(32px, 6vw, 56px); max-width: 780px; }
.rk-section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* ===== Authority bar ===== */
.rk-authbar { background: var(--b3); padding: .8rem var(--pad-x); }
.rk-authbar .list { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; max-width: 1120px; margin: 0 auto; }
.rk-authbar .item { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: 12.5px; font-weight: 700; }
.rk-authbar .item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .65); flex-shrink: 0; }

/* ===== Video embed ===== */
.rk-video-frame {
  position: relative;
  display: block;
  max-width: 860px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--rad-card-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
}
.rk-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.rk-video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rk-video-frame:hover img { transform: scale(1.03); }
.rk-video-frame .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--y1); box-shadow: var(--sh-lg);
  transition: background .2s ease, transform .2s ease;
}
.rk-video-frame:hover .play-btn { background: var(--y2); transform: translate(-50%, -50%) scale(1.06); }
.rk-video-frame .play-btn::before {
  content: ""; position: absolute; top: 50%; left: 56%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--yink);
}

/* ===== Grid utilities ===== */
.grid { display: grid; gap: 24px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
}

/* ===== Cards / stats ===== */
.rk-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--rad-card);
  padding: clamp(20px, 3vw, 32px); color: var(--body);
  box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
}
.rk-card.tint { background: var(--bpale); border-color: var(--bline); }
/* 上辺アクセント付きカード */
.rk-card.top { border-top: 3px solid var(--b3); }
.rk-stat { display: flex; flex-direction: column; gap: 6px; }
.rk-stat .num {
  font-family: var(--rk-font-num); font-weight: 800;
  font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -.02em;
  color: var(--b1);
}
.rk-stat .num .unit { font-family: var(--rk-font-jp); font-weight: 700; font-size: 16px; margin-left: 4px; color: var(--b2); }
.rk-stat .num .prefix { font-family: var(--rk-font-jp); font-weight: 700; font-size: 16px; margin-right: 2px; }
.rk-stat .label { font-size: 12px; color: var(--ink); font-weight: 700; letter-spacing: .08em; }
.rk-stat .desc { font-size: 12px; color: var(--sub); line-height: 1.75; }
.rk-statgrid { border: 1px solid var(--border); background: #fff; box-shadow: var(--sh); border-radius: var(--rad-card); overflow: hidden; }
.rk-statgrid > div { padding: clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 32px); border-right: 1px solid var(--border); }
.rk-statgrid > div:last-child { border-right: 0; }
@media (max-width: 960px) {
  .rk-statgrid { display: grid !important; grid-template-columns: 1fr 1fr; }
  .rk-statgrid > div:nth-child(2n) { border-right: 0; }
  .rk-statgrid > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ===== Spec grid（小見出し付き数値パネル） ===== */
.rk-spectitle {
  font-family: var(--rk-font-num); font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--b2); text-transform: uppercase; margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .5rem;
}
.rk-spectitle::after { content: ""; flex: 1; height: 1px; background: var(--bline); }

/* ===== Chips ===== */
.rk-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--rad-pill);
  font-size: 11px; letter-spacing: .1em; font-weight: 700;
  background: var(--b1); color: #fff;
}
.rk-chip.accent { background: var(--y1); color: var(--yink); }
.rk-chip.outline { background: transparent; border: 1px solid var(--bline); color: var(--sub); }

/* ===== Comparison table ===== */
.rk-tablewrap { overflow-x: auto; border-radius: var(--rad-card); box-shadow: var(--sh); }
.rk-cmp { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; background: #fff; }
.rk-cmp th, .rk-cmp td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.rk-cmp thead th { font-size: 14px; font-weight: 800; background: var(--bpale); color: var(--sub); }
.rk-cmp thead th.us { background: var(--b1); color: #fff; position: relative; }
.rk-cmp thead th.us::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--y1); }
.rk-cmp tbody th { background: #fff; color: var(--ink); font-weight: 700; }
.rk-cmp td.us { background: var(--bpale); font-weight: 700; color: var(--ink); }
.rk-cmp .hl { background: rgba(255, 210, 31, .55); padding: 1px 4px; border-radius: 2px; }

/* ===== Persona cards ===== */
.rk-persona {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--rad-card-lg);
  border-top: 3px solid var(--b3);
  padding: clamp(24px, 3vw, 36px); color: inherit;
  position: relative; box-shadow: var(--sh);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.rk-persona:hover { border-top-color: var(--y1); transform: translateY(-3px); box-shadow: var(--sh-lg); }
.rk-persona .arrow { margin-top: auto; font-family: var(--rk-font-num); color: var(--b2); font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.rk-persona .rk-chip { align-self: flex-start; }

/* ===== Flow steps ===== */
.rk-flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.rk-flow .step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--rad-card);
  padding: 16px 14px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--sh); border-top: 3px solid var(--b4);
  transition: transform .2s, box-shadow .2s;
}
.rk-flow .step:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.rk-flow .step:last-child { border-top-color: var(--y1); background: var(--bpale); }
.rk-flow .step .n { font-family: var(--rk-font-num); font-size: 10.5px; font-weight: 800; color: var(--b2); letter-spacing: .12em; }
.rk-flow .step .t { font-size: 13.5px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.rk-flow .step .w { font-size: 11px; color: var(--sub); line-height: 1.6; }
@media (max-width: 1080px) { .rk-flow { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .rk-flow { grid-template-columns: repeat(2, 1fr); } }

/* ===== FAQ ===== */
.rk-faq { background: #fff; border-radius: var(--rad-card); box-shadow: var(--sh); overflow: hidden; border: 1px solid var(--border); }
.rk-faq details { border-bottom: 1px solid var(--border); }
.rk-faq details:last-child { border-bottom: 0; }
.rk-faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  font-size: 15px; font-weight: 800; color: var(--ink);
  transition: background .15s;
}
.rk-faq summary:hover { background: var(--bpale); }
.rk-faq summary::-webkit-details-marker { display: none; }
.rk-faq summary .q::before { content: "Q."; color: var(--b2); font-family: var(--rk-font-num); font-weight: 800; margin-right: 10px; }
.rk-faq .toggle { color: var(--b2); font-family: var(--rk-font-num); transition: transform .2s; flex-shrink: 0; }
.rk-faq details[open] .toggle { transform: rotate(45deg); }
.rk-faq details[open] summary { background: var(--bpale); }
.rk-faq .a { padding: 4px 20px 20px 46px; font-size: 14px; color: var(--body); line-height: 1.95; }

/* ===== Hero ===== */
.rk-hero {
  position: relative; overflow: hidden; background: var(--b1); color: #fff;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
}
.rk-hero .bg { position: absolute; inset: 0; }
.rk-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(1.08) brightness(1.04); }
/* 縦＋横の二重グラデーション（教育系らしい明るさを保ちつつ文字の可読性を確保） */
.rk-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 74, 88, .18) 0%, rgba(0, 74, 88, .08) 35%, rgba(0, 74, 88, .48) 65%, rgba(0, 43, 52, .8) 100%),
    linear-gradient(to right, rgba(0, 74, 88, .42) 0%, transparent 58%);
}
.rk-hero .content {
  position: relative; z-index: 2;
  padding: clamp(72px, 12vw, 120px) var(--pad-x) clamp(56px, 8vw, 72px);
  max-width: 1120px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.rk-hero .rk-h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); max-width: 660px; }
.rk-hero .rk-h1 .em { color: var(--y1); }
.rk-hero .rk-lead { color: rgba(255, 255, 255, .8); max-width: 600px; }
.rk-hero .rk-lead strong { color: #fff; font-weight: 700; }
.rk-hero .rk-eyebrow-jp { color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: .6rem; }
.rk-hero .rk-eyebrow-jp::before { content: ""; width: 24px; height: 1px; background: rgba(255, 255, 255, .5); }
.rk-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
/* KPIストリップ */
.rk-hero .hero-stats {
  display: flex; gap: 1px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--rad-card);
  overflow: hidden; margin-top: 8px; backdrop-filter: blur(8px);
  max-width: 620px; width: 100%;
}
.rk-hero .hero-stats .hs {
  flex: 1; min-width: 88px; background: rgba(0, 28, 34, .5);
  padding: .95rem .75rem; display: flex; flex-direction: column; gap: 3px; text-align: center;
}
.rk-hero .hero-stats .hs .v {
  font-family: var(--rk-font-num); font-weight: 800;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.1; color: #fff;
}
.rk-hero .hero-stats .hs .v .u { font-family: var(--rk-font-jp); font-size: 12px; color: var(--y1); margin-left: 2px; font-weight: 700; }
.rk-hero .hero-stats .hs .v .p { font-family: var(--rk-font-jp); font-size: 12px; color: #fff; margin-right: 1px; font-weight: 700; }
.rk-hero .hero-stats .hs .k { font-size: 10.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .62); line-height: 1.45; }
@media (max-width: 620px) {
  .rk-hero { min-height: auto; }
  .rk-hero .hero-stats { flex-wrap: wrap; }
  .rk-hero .hero-stats .hs { min-width: 45%; }
}
/* スクロールヒント */
.rk-hero .scroll-hint {
  position: absolute; bottom: 1.5rem; right: 2rem; z-index: 3;
  writing-mode: vertical-rl; font-family: var(--rk-font-num);
  font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .4);
  display: flex; align-items: center; gap: .4rem;
  animation: rk-sh 1.2s ease-in-out infinite alternate;
}
.rk-hero .scroll-hint::after { content: ""; width: 1px; height: 40px; background: rgba(255, 255, 255, .3); }
@keyframes rk-sh { from { opacity: .35; } to { opacity: .75; } }
@media (max-width: 800px) { .rk-hero .scroll-hint { display: none; } }

/* ===== Hero light variant（明るいトーン・HT向け） ===== */
.rk-hero.light {
  background: linear-gradient(180deg, var(--ypale) 0%, #fffdf7 100%);
  color: var(--body); min-height: auto; display: block;
}
.rk-hero.light .content {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px);
  align-items: center; padding: clamp(56px, 9vw, 104px) var(--pad-x);
}
.rk-hero.light .txt { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.rk-hero.light .rk-h1 { color: var(--ink); text-shadow: none; }
.rk-hero.light .rk-h1 .em { color: var(--b2); }
.rk-hero.light .rk-lead { color: var(--body); }
.rk-hero.light .rk-eyebrow-jp { color: var(--b2); }
.rk-hero.light .rk-eyebrow-jp::before { background: var(--b3); }
.rk-hero.light .pic { position: relative; }
.rk-hero.light .pic img { width: 100%; height: auto; border-radius: var(--rad-card-lg); box-shadow: var(--sh-lg); }
.rk-hero.light .pic::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: repeating-linear-gradient(135deg, rgba(255, 210, 31, .4) 0 2px, transparent 2px 10px);
  border-radius: var(--rad-card-lg); z-index: -1;
}
.rk-hero.light .hero-stats {
  background: #fff; border: 1px solid var(--border); backdrop-filter: none;
  box-shadow: var(--sh);
}
.rk-hero.light .hero-stats .hs { background: #fff; }
.rk-hero.light .hero-stats .hs .v { color: var(--b1); }
.rk-hero.light .hero-stats .hs .v .u { color: var(--b2); }
.rk-hero.light .hero-stats .hs .k { color: var(--sub); }
.rk-hero.light .rk-btn.ghost { background: #fff; color: var(--b2); border-color: var(--b2); backdrop-filter: none; }
.rk-hero.light .rk-btn.ghost:hover { background: var(--bpale); }
@media (max-width: 860px) {
  .rk-hero.light .content { grid-template-columns: 1fr; }
  .rk-hero.light .pic { order: -1; max-width: 480px; }
  .rk-hero.light .pic::after { display: none; }
}

/* ===== Forms ===== */
.rk-form { display: flex; flex-direction: column; gap: 20px; }
.rk-form .row { display: flex; flex-direction: column; gap: 6px; }
.rk-form label { font-size: 13px; font-weight: 700; color: var(--ink); }
.rk-form label .req { color: var(--red); font-size: 11px; margin-left: 6px; }
.rk-form label .opt { color: var(--muted); font-size: 11px; margin-left: 6px; }
.rk-form input[type="text"], .rk-form input[type="email"], .rk-form input[type="tel"],
.rk-form select, .rk-form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--bline); border-radius: 10px;
  background: #fff; width: 100%; color: var(--ink);
}
.rk-form input:focus, .rk-form select:focus, .rk-form textarea:focus {
  outline: 2px solid rgba(0, 151, 178, .35); border-color: var(--b2);
}
.rk-form .radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.rk-form .radio-group label {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  border: 1px solid var(--bline); border-radius: 999px; padding: 9px 16px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.rk-form .radio-group label:has(input:checked) { border-color: var(--b2); background: var(--bpale); }
.rk-form .form-error {
  display: none; color: var(--red); font-size: 13px; background: rgba(192, 57, 43, .07);
  border: 1px solid rgba(192, 57, 43, .3); border-radius: 10px; padding: 12px 16px;
}
.rk-form .form-error.show { display: block; }

/* ===== Footer ===== */
.rk-footer { background: var(--y1); color: var(--yink); padding: 56px var(--pad-x) 36px; font-size: 13px; }
.rk-footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: 1120px; margin: 0 auto; }
.rk-footer .brand { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.rk-footer .brand img { height: 40px; width: auto; align-self: flex-start; border-radius: 3px; }
.rk-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.rk-footer a { color: var(--yink); transition: color .15s; }
.rk-footer a:hover { color: var(--b1); }
.rk-footer .legal {
  max-width: 1120px; margin: 28px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(122, 92, 0, .18); font-size: 11px; color: rgba(122, 92, 0, .65);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ===== Sticky mobile CTA ===== */
.rk-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--b1); border-top: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 -3px 16px rgba(0, 0, 0, .25);
  display: none;
}
.rk-sticky-cta .rk-btn { width: 100%; height: 48px; font-size: 14px; }
@media (max-width: 800px) { .rk-sticky-cta { display: block; } body { padding-bottom: 76px; } }

/* ===== Misc ===== */
.rk-imgframe { border-radius: var(--rad-card); overflow: hidden; background: var(--bpale); box-shadow: var(--sh); }
.rk-imgframe img { width: 100%; height: 100%; object-fit: cover; }
/* 角の切れ（公文式の写真ジオメトリ）: 対角1隅だけ直角を残す */
.rk-imgframe.cut { border-radius: var(--rad-card-lg) var(--rad-card-lg) var(--rad-card-lg) 0; }
.rk-quoteband {
  background: var(--b1); color: #fff;
  padding: clamp(28px, 5vw, 44px) clamp(24px, 5vw, 48px); border-radius: var(--rad-card-lg);
  box-shadow: var(--sh-lg);
}
.rk-checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rk-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.rk-checklist li::before { content: "✓"; color: var(--b2); font-weight: 900; flex-shrink: 0; }
.rk-spec { display: grid; grid-template-columns: 180px 1fr; gap: 0 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.rk-spec dt { color: var(--sub); font-size: 13px; font-weight: 700; }
.rk-spec dd { font-size: 14px; color: var(--ink); }
@media (max-width: 620px) { .rk-spec { grid-template-columns: 1fr; gap: 4px; } }
