/* =========================================================
   簿記合格アカデミー — shared stylesheet
   Webフォント不使用（システムフォント）でLCP/CLSを最適化
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #14295a;
  --navy-2: #1f3c7f;
  --blue: #2563eb;
  --sky: #eaf2ff;
  --orange: #c9500a;
  --orange-d: #a03f06;
  --yellow: #ffd23f;
  --cream: #fff8ec;
  --green: #16a34a;
  --ink: #1d2433;
  --ink-2: #4a5468;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-2: #f5f8fc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(20, 41, 90, .08);
  --shadow-lg: 0 14px 40px rgba(20, 41, 90, .14);
  --max: 1120px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.8; font-size: 16px; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 300; }
.skip:focus { left: 8px; }
.nowrap { white-space: nowrap; }
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--yellow); font-weight: 900; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.logo-name { font-weight: 900; font-size: 18px; color: var(--navy); line-height: 1.1; }
.logo-sub { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-2); letter-spacing: .02em; }
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink); padding: 8px 10px; border-radius: 8px; }
.gnav a:hover { background: var(--bg-2); color: var(--blue); }
.header-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--orange); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; box-shadow: 0 4px 0 var(--orange-d); white-space: nowrap; }
.header-cta:hover { filter: brightness(1.05); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px auto; transition: .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 16px 28px; font-size: 17px; line-height: 1.3; border: 0; cursor: pointer; transition: transform .15s, filter .15s; text-align: center; }
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 5px 0 var(--orange-d); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--sky); }
.btn small { display: block; font-size: 12px; font-weight: 600; opacity: .9; }
.btn-block { width: 100%; }
.cta-note { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.btn-bubble { position: relative; }
.btn-bubble::before { content: attr(data-bubble); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; padding: 2px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.12); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #dbe8ff 0%, transparent 60%), linear-gradient(180deg, #f3f7ff 0%, #fff 100%); padding: 48px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.32; font-weight: 900; color: var(--navy); letter-spacing: .01em; }
.hero h1 .accent { color: var(--orange); }
.hero-lead { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 36em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; list-style: none; }
.hero-points li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--navy); }
.hero-points li::before { content: "✓ "; color: var(--green); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.price-badge-hero { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px 26px; border: 3px solid var(--yellow); position: relative; }
.price-badge-hero .ribbon { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-weight: 800; font-size: 14px; padding: 6px 18px; border-radius: 999px; white-space: nowrap; }
.price-badge-hero .lbl { font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center; margin-top: 6px; }
.price-badge-hero .big { text-align: center; color: var(--navy); font-weight: 900; line-height: 1.1; margin: 6px 0 4px; }
.price-badge-hero .big .yen { font-size: 24px; }
.price-badge-hero .big .num { font-size: 64px; letter-spacing: -.02em; color: var(--orange); }
.price-badge-hero .big .per { font-size: 16px; color: var(--ink-2); font-weight: 700; }
.price-badge-hero ul { list-style: none; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 8px; }
.price-badge-hero li { display: flex; justify-content: space-between; font-size: 14px; }
.price-badge-hero li b { color: var(--navy); }
.price-badge-hero .zero { margin-top: 14px; background: var(--cream); border-radius: 10px; padding: 10px; text-align: center; font-size: 14px; font-weight: 800; color: var(--orange-d); }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy); color: #fff; }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.trust li { padding: 22px 8px; border-right: 1px solid rgba(255,255,255,.12); }
.trust li:last-child { border-right: 0; }
.trust b { display: block; font-size: 26px; color: var(--yellow); font-weight: 900; line-height: 1.2; }
.trust span { font-size: 13px; opacity: .85; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.bg-soft { background: var(--bg-2); }
.bg-cream { background: var(--cream); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-en { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }
.sec-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; color: var(--navy); line-height: 1.45; }
.sec-desc { margin-top: 12px; color: var(--ink-2); max-width: 44em; margin-left: auto; margin-right: auto; }

/* Worries */
.worries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 860px; margin: 0 auto; list-style: none; }
.worries li { background: #fff; border-radius: var(--radius); padding: 18px 20px 18px 54px; position: relative; box-shadow: var(--shadow); font-weight: 700; }
.worries li::before { content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 6px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 14px; }
.worries-answer { text-align: center; margin-top: 36px; font-size: clamp(20px, 2.8vw, 26px); font-weight: 900; color: var(--navy); }
.worries-answer::before { content: ""; display: block; width: 0; height: 0; margin: 0 auto 18px; border-left: 28px solid transparent; border-right: 28px solid transparent; border-top: 22px solid var(--orange); }

/* Reasons */
.reasons { display: grid; gap: 28px; }
.reason { display: grid; grid-template-columns: 120px 1fr; gap: 24px; background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); align-items: start; }
.reason-no { width: 120px; height: 120px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; text-align: center; font-weight: 900; line-height: 1.1; }
.reason-no small { display: block; font-size: 12px; letter-spacing: .1em; color: var(--blue); }
.reason-no b { font-size: 44px; }
.reason h3 { font-size: 21px; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }
.reason p { color: var(--ink-2); }
.reason .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.reason .tag-list li { font-size: 13px; font-weight: 700; background: var(--bg-2); color: var(--navy); border-radius: 6px; padding: 4px 10px; }

/* Courses */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.course { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 22px; display: flex; flex-direction: column; text-decoration: none; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.course:hover { border-color: var(--blue); transform: translateY(-3px); }
.course-ico { font-size: 32px; }
.course h3 { font-size: 18px; color: var(--navy); margin: 10px 0 6px; line-height: 1.45; }
.course p { font-size: 14px; color: var(--ink-2); flex: 1; }
.course .from { margin-top: 14px; font-weight: 900; color: var(--orange); font-size: 15px; }
.course .from b { font-size: 24px; }
.course .more { margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--blue); }

/* ---------- Pricing ---------- */
.mode-switch { display: inline-flex; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 4px; margin: 0 auto 28px; }
.mode-switch-wrap { text-align: center; }
.mode-switch button { border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 15px; color: var(--navy); padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.mode-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table caption { text-align: left; padding: 16px 20px 0; font-size: 13px; color: var(--ink-2); caption-side: bottom; padding-bottom: 14px; }
.price-table th, .price-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table thead th { background: var(--navy); color: #fff; font-size: 14px; }
.price-table tbody th { font-size: 15px; color: var(--navy); }
.price-table tbody th small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.price-table td.p { font-weight: 900; font-size: 22px; color: var(--ink); white-space: nowrap; }
.price-table td.p span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.price-table tr.hl { background: #fffaf0; }
.price-table .pop { display: inline-block; font-size: 11px; background: var(--orange); color: #fff; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }
.price-table td a { font-size: 13px; font-weight: 800; color: var(--blue); white-space: nowrap; }
[data-mode="online"] .col-offline, [data-mode="offline"] .col-online { color: #667085; }
[data-mode="online"] .col-online, [data-mode="offline"] .col-offline { background: #fff6e8; }
.zero-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin-top: 26px; }
.zero-list li { background: #fff; border-radius: var(--radius); padding: 16px 10px; text-align: center; box-shadow: var(--shadow); font-weight: 800; color: var(--navy); font-size: 14px; }
.zero-list li b { display: block; font-size: 24px; color: var(--orange); }

/* Simulator */
.sim { margin-top: 40px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; border: 2px solid var(--sky); }
.sim h3 { font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.sim > div > p { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.sim label { display: block; font-size: 14px; font-weight: 800; color: var(--navy); margin: 14px 0 6px; }
.sim select, .sim input[type="range"] { width: 100%; }
.sim select { font: inherit; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line); background: #fff; }
.sim .seg { display: flex; gap: 8px; }
.sim .seg button { flex: 1; font: inherit; font-weight: 800; padding: 10px; border-radius: 10px; border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); }
.sim .seg button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.sim input[type="range"] { accent-color: var(--orange); height: 32px; }
.sim-out { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.sim-out .l { font-size: 14px; opacity: .85; }
.sim-out .v { font-size: 44px; font-weight: 900; color: var(--yellow); line-height: 1.2; margin: 4px 0 6px; }
.sim-out .v small { font-size: 18px; }
.sim-out .d { font-size: 13px; opacity: .8; }
.sim-out .btn { margin-top: 18px; font-size: 15px; padding: 14px 18px; }

/* Compare */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; text-align: center; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.compare thead th { background: var(--bg-2); color: var(--navy); }
.compare thead th.us { background: var(--orange); color: #fff; font-size: 16px; }
.compare td.us { background: #fff6e8; font-weight: 800; color: var(--navy); }
.compare tbody th { text-align: left; color: var(--navy); white-space: nowrap; }
.compare .o { color: var(--orange); font-size: 20px; font-weight: 900; }
.compare .t { color: var(--ink-2); font-size: 18px; }
.compare .x { color: #667085; font-size: 18px; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.case .who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.case .who .av { width: 48px; height: 48px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.case .who b { color: var(--navy); display: block; line-height: 1.4; }
.case .who span { font-size: 13px; color: var(--ink-2); }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.case dt { font-weight: 800; color: var(--blue); white-space: nowrap; }
.case dd { color: var(--ink-2); }
.case .cost { margin-top: 14px; background: var(--cream); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 800; color: var(--navy); }
.case .cost b { color: var(--orange-d); font-size: 18px; }
.notice { font-size: 12.5px; color: var(--ink-2); margin-top: 16px; text-align: center; }

/* Tutors */
.tutors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tutor { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.tutor .av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--yellow); display: grid; place-items: center; font-size: 28px; margin-bottom: 12px; }
.tutor h3 { font-size: 17px; color: var(--navy); line-height: 1.5; }
.tutor .aff { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.tutor ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tutor ul li { font-size: 12px; font-weight: 700; background: var(--sky); color: var(--navy); padding: 3px 9px; border-radius: 6px; }
.tutor p { font-size: 14px; color: var(--ink-2); }

/* Waseda */
.waseda { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.waseda .sec-title, .waseda .sec-en { color: #fff; }
.waseda .sec-en { color: var(--yellow); }
.waseda .sec-desc { color: rgba(255,255,255,.8); }
.waseda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.waseda-grid div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; }
.waseda-grid h3 { font-size: 17px; color: var(--yellow); margin-bottom: 8px; }
.waseda-grid p { font-size: 14px; color: rgba(255,255,255,.85); }

/* Flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow li { background: #fff; border-radius: var(--radius-lg); padding: 26px 20px; box-shadow: var(--shadow); position: relative; counter-increment: step; }
.flow li::before { content: "STEP " counter(step); display: inline-block; background: var(--orange); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; border-left: 12px solid var(--orange); border-top: 10px solid transparent; border-bottom: 10px solid transparent; transform: translateY(-50%); z-index: 1; }
.flow h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.flow p { font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 56px; font-weight: 800; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 22px 20px 56px; color: var(--ink-2); position: relative; }
.faq .a::before { content: "A"; position: absolute; left: 18px; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.contact-side { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 28px; }
.contact-side h3 { color: var(--yellow); font-size: 19px; margin-bottom: 12px; }
.contact-side ul { list-style: none; display: grid; gap: 12px; margin-top: 16px; font-size: 14px; }
.contact-side li b { display: block; color: var(--yellow); font-size: 13px; }
.contact-side a { color: #fff; word-break: break-all; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--orange); }
.form-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 18px; }
.fg { margin-bottom: 16px; }
.fg label { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.req, .opt { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 4px; }
.req { background: #e11d48; color: #fff; }
.opt { background: var(--line); color: var(--ink-2); }
.fg input[type="text"], .fg input[type="email"], .fg select, .fg textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.fg textarea { min-height: 130px; resize: vertical; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); outline: none; }
.fg .error { border-color: #e11d48 !important; }
.err { color: #e11d48; font-size: 13px; margin-top: 4px; }
.char-count { text-align: right; font-size: 12px; color: var(--ink-2); }
.char-count.warn { color: #e11d48; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex-shrink: 0; }
[hidden] { display: none !important; }
.form-error-bar { background: #fff1f2; color: #9f1239; border: 1.5px solid #fecdd3; border-radius: 12px; padding: 16px; font-size: 14px; margin-bottom: 18px; }
.form-error-bar b { display: block; font-size: 15px; margin-bottom: 4px; }
.form-error-bar ul { margin: 8px 0 12px 1.2em; }
.form-error-bar .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-error-bar .actions button, .form-error-bar .actions a { font: inherit; font-weight: 800; font-size: 14px; padding: 9px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.form-error-bar .retry { background: #be123c; color: #fff; border: 0; }
.form-error-bar .mail { background: #fff; color: #9f1239; border: 1.5px solid #9f1239; }
.form-note { font-size: 14px; background: var(--cream); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.spinner { display: none; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#successView { text-align: center; padding: 20px 0; }
#successView .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 14px; }
.link-btn { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; margin-top: 14px; text-decoration: underline; }

/* Final CTA */
.final-cta { background: linear-gradient(135deg, var(--orange), var(--orange-d)); color: #fff; text-align: center; padding: 64px 0; }
.final-cta h2 { font-size: clamp(22px, 3.2vw, 32px); font-weight: 900; line-height: 1.5; }
.final-cta p { margin: 12px 0 24px; opacity: .95; }
.final-cta .btn-primary { background: #fff; color: var(--orange-d); box-shadow: 0 5px 0 rgba(0,0,0,.18); }

/* Footer */
.site-footer { background: #0e1d40; color: rgba(255,255,255,.75); padding: 52px 0 110px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 13px; color: #fff; margin-bottom: 10px; letter-spacing: .06em; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: rgba(255,255,255,.6); }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; font-size: 12px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: none; gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; padding: 12px 10px; font-size: 15px; }
.sticky-cta .btn-ghost { flex: .6; }

/* Sub pages */
.breadcrumb { font-size: 13px; color: var(--ink-2); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #a3acbd; }
.breadcrumb a { color: var(--blue); }
.sub-hero { padding: 28px 0 52px; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h3 { font-size: 20px; color: var(--navy); margin: 30px 0 10px; padding-left: 12px; border-left: 5px solid var(--orange); line-height: 1.5; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 1.4em; }
.prose li { margin-bottom: 6px; }
.info-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: top; }
.info-table th { background: var(--bg-2); color: var(--navy); width: 32%; }
.curri { list-style: none; counter-reset: c; display: grid; gap: 12px; margin: 0 !important; }
.curri li { counter-increment: c; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 16px 62px; position: relative; }
.curri li::before { content: counter(c); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 900; display: grid; place-items: center; }
.curri b { color: var(--navy); display: block; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.small-note { font-size: 13px; color: var(--ink-2); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .gnav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .gnav.open { display: flex; }
  .gnav a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--bg-2); }
  .menu-btn { display: block; }
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 32px 0 44px; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(2) { border-right: 0; }
  .trust li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .worries { grid-template-columns: 1fr; }
  .reason { grid-template-columns: 1fr; padding: 24px; gap: 14px; }
  .reason-no { width: 84px; height: 84px; }
  .reason-no b { font-size: 32px; }
  .cases, .tutors, .waseda-grid, .related { grid-template-columns: 1fr; }
  .zero-list { grid-template-columns: repeat(2, 1fr); }
  .sim { grid-template-columns: 1fr; padding: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .logo-sub { display: none; }
  .courses, .flow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .price-badge-hero .big .num { font-size: 54px; }
  .form-card { padding: 22px 18px; }
  .header-cta { display: none; }
}
br.sp { display: none; }
@media (max-width: 560px) { br.sp { display: inline; } }
@media (max-width: 560px) {
  .price-table { min-width: 0; }
  .price-table th, .price-table td { padding: 12px 10px; }
  .price-table td.p { font-size: 18px; }
  .price-table th:nth-child(4), .price-table td:nth-child(4) { display: none; }
  .sim > div { min-width: 0; }
  .mode-switch button { padding: 9px 14px; font-size: 14px; }
  .compare-wrap::before { content: "← 横にスクロールできます →"; display: block; font-size: 12px; color: var(--ink-2); text-align: center; padding: 8px 0 0; }
}
.ib { display: inline-block; }
.from { white-space: nowrap; }
[data-mode="online"] thead .col-online, [data-mode="offline"] thead .col-offline { background: var(--orange); color: #fff; }
[data-mode="online"] thead .col-offline, [data-mode="offline"] thead .col-online { color: rgba(255,255,255,.55); background: var(--navy); }
.courses-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
@media (max-width: 560px) { .courses-2 { grid-template-columns: 1fr; } }

/* ---------- 級別ページ（/boki3 /boki2 /boki1） ---------- */
.grade-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.grade-nav a { display: block; text-decoration: none; font-weight: 800; font-size: 14px; color: var(--navy); background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 16px; }
.grade-nav a:hover { border-color: var(--navy); }
.grade-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 試験の配点バー：幅は配点（100点満点）に比例させる */
.exam-bar { display: flex; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 14px 0 8px; }
.exam-bar > div { padding: 14px 10px; text-align: center; color: #fff; font-weight: 800; font-size: 14px; line-height: 1.4; min-width: 0; }
.exam-bar > div:nth-child(odd) { background: var(--navy); }
.exam-bar > div:nth-child(even) { background: var(--navy-2); }
.exam-bar b { display: block; font-size: 20px; color: var(--yellow); font-variant-numeric: tabular-nums; }
/* 仕訳の例（借方／貸方） */
.journal { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.journal caption { caption-side: top; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink); padding: 0 0 8px; }
.journal th { background: var(--bg-2); color: var(--navy); font-size: 13px; padding: 8px 12px; text-align: left; width: 50%; }
.journal th + th, .journal td + td { border-left: 2px solid var(--navy); }
.journal td { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 15px; }
.journal td span { float: right; font-weight: 700; }
/* つまずきやすい論点 */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; margin: 0 !important; }
.points li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin: 0; }
.points b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.points .why { font-size: 14px; color: var(--ink-2); }
.points .how { font-size: 14px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.points .how::before { content: "指導の進め方："; font-weight: 800; color: var(--orange); }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .exam-bar > div { font-size: 12px; padding: 12px 4px; } .exam-bar b { font-size: 16px; } }
.exam-bar > div { flex: 20; }
.exam-bar .f25 { flex: 25; } .exam-bar .f35 { flex: 35; } .exam-bar .f40 { flex: 40; } .exam-bar .f45 { flex: 45; } .exam-bar .f60 { flex: 60; }

/* ---------- コラム（/column） ---------- */
.article { padding: 20px 0 64px; }
.article-meta { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.article h1 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.45; font-weight: 900; color: var(--navy); margin-bottom: 16px; text-wrap: balance; word-break: auto-phrase; }
.article-lead { font-size: 17px; color: var(--ink-2); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article .prose h2 { font-size: 24px; line-height: 1.5; color: var(--navy); margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--navy); text-wrap: balance; }
.article .prose > ul:not([class]) li::marker, .article .prose > ol:not([class]) li::marker { color: var(--orange); font-weight: 800; }
.cta-box { margin: 44px 0 20px; background: var(--cream); border: 2px solid var(--yellow); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.cta-box-title { font-size: 19px; font-weight: 900; color: var(--navy); margin-bottom: 8px !important; }
.cta-box .btn { margin-top: 6px; }
.column-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; }
.column-list a { display: block; height: 100%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; text-decoration: none; border: 2px solid transparent; }
.column-list a:hover { border-color: var(--blue); }
.column-list b { display: block; color: var(--navy); font-size: 17px; line-height: 1.5; margin-bottom: 6px; }
.column-list span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .column-list { grid-template-columns: 1fr; } }
