/*
Theme Name: Kaigo Exam Academy
Theme URI: https://www.kaigo-soudanfree.com/
Author: クラフト・アンド・クラフト株式会社
Description: 外国人介護士向け 介護福祉士国家試験対策サイト用テーマ。スマホ優先のLP型トップページと、一問一答（投稿）テンプレートを含みます。
Version: 1.0.31
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaigo-exam
*/

/* ==========================================================
   Tokens
   ========================================================== */
:root {
	--navy: #142A4E;
	--navy-deep: #0E1E38;
	--cream: #FBF6EA;
	--cream-line: #E8DCC0;
	--line: #F0E8D6;
	--line-2: #EDE2CA;
	--gold: #C8A45A;
	--gold-text: #7A5C24;
	--gold-text-hover: #5C4419;
	--price: #A3341F;
	--charcoal: #2B2F3A;
	--ink: #1D2433;
	--body: #34405C;
	--muted: #5A6275;
	--muted-light: #9AA3B5;
	--on-dark: #D9DCE4;
	--on-navy: #E8DCC0;
	--on-navy-2: #C9D2E6;
	--white: #FFFFFF;
	--correct: #2E7D4F;

	--f-serif: 'Noto Serif JP', serif;
	--f-sans: 'Noto Sans JP', sans-serif;
	--f-en: 'Cormorant Garamond', serif;
	--f-num: 'Montserrat', sans-serif;

	--container: 1200px;
	--header-h: 60px;
}
@media (min-width: 960px) {
	:root { --header-h: 84px; }
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (min-width: 1280px) { html { scroll-padding-top: 16px; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 15px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold-text); }
a:hover { color: var(--gold-text-hover); }
button { font: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 10px 16px; z-index: 1000;
	top: 8px; left: 8px; background: var(--white); color: var(--navy);
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 960px) { .container { padding: 0 40px; } }

.pc-only { display: none; }
@media (min-width: 960px) {
	.pc-only { display: revert; }
	br.pc-only { display: inline; }
	.sp-only { display: none; }
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 56px; padding: 6px 28px; border-radius: 999px; border: 0;
	text-decoration: none; text-align: center; line-height: 1.4;
	font-weight: 900; font-size: 16px; cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn small { display: block; font-size: 11px; font-weight: 500; }
.btn--gold, .btn--gold:hover { background: var(--gold); color: var(--navy); }
.btn--navy, .btn--navy:hover { background: var(--navy); color: var(--white); font-weight: 700; }
.btn--navy small { color: var(--on-navy-2); }
@media (min-width: 960px) {
	.btn { min-height: 60px; }
}

/* ==========================================================
   Header
   ========================================================== */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (min-width: 1280px) { .site-header { position: relative; top: auto !important; } }
@media (min-width: 960px) { .site-header { border-bottom: 1px solid rgba(200,164,90,.35); } }
.header-inner {
	height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 0 16px;
}
@media (min-width: 960px) { .header-inner { max-width: var(--container); margin: 0 auto; padding: 0 40px; } }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.35; min-width: 0; }
.brand-ja { font-family: var(--f-serif); font-weight: 700; font-size: 15px; color: var(--white); }
.brand-en { font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--gold); }
@media (min-width: 960px) {
	.brand-ja { font-size: 20px; }
	.brand-en { font-size: 14px; letter-spacing: .16em; }
}

.menu-toggle {
	width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
	border: 1px solid rgba(200,164,90,.6); background: transparent;
	display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--white);
}
.menu-toggle .icon-close { display: none; }
.is-menu-open .menu-toggle .icon-open { display: none; }
.is-menu-open .menu-toggle .icon-close { display: block; }
@media (min-width: 1280px) { .menu-toggle { display: none; } }

/* Global nav (PC) */
.gnav { display: none; }
@media (min-width: 1280px) {
	.gnav { display: flex; align-items: center; gap: 28px; }
	.gnav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
	.gnav a:not(.btn) {
		display: flex; flex-direction: column; align-items: center; line-height: 1.5;
		color: var(--white); text-decoration: none; font-size: 14px;
	}
	.gnav a:not(.btn):hover { color: var(--gold); }
	.gnav .btn { min-height: 48px; padding: 0 24px; font-size: 14px; }
	.gnav .btn small { font-size: 10px; }
}
.nav-en { display: block; font-size: 10px; color: #9AA9C6; }

/* Drawer (SP) */
.drawer {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
	background: var(--navy); padding: 8px 20px 32px; overflow-y: auto;
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.is-menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.is-menu-open { overflow: hidden; }
.drawer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer li a {
	display: block; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.12);
	color: var(--white); text-decoration: none; font-size: 16px; font-weight: 500;
}
.drawer li a .nav-en { display: inline; margin-left: 8px; font-size: 12px; }
.drawer .drawer-tel { margin-top: 14px; text-align: center; font-size: 13px; color: var(--on-navy-2); }
.drawer .drawer-tel a { color: var(--white); }
@media (min-width: 1280px) { .drawer { display: none; } }
@media (min-width: 1280px) {
	.gnav, .gnav ul { gap: 16px; }
	.gnav a:not(.btn) { font-size: 13px; white-space: nowrap; }
	.gnav .btn { white-space: nowrap; padding: 0 18px; }
	.brand-ja { font-size: 18px; white-space: nowrap; }
}
.drawer .drawer-cta { margin: 8px 0 6px; }

/* ==========================================================
   Section heading
   ========================================================== */
.sec-head { display: flex; flex-direction: column; gap: 6px; }
.sec-head--center { align-items: center; text-align: center; }
.eyebrow {
	font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .2em;
	line-height: 1.4; color: var(--gold-text);
}
.sec-title { margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 22px; line-height: 1.6; color: var(--navy); }
.sec-rule { width: 48px; height: 1px; background: var(--gold); margin-top: 6px; }
@media (min-width: 960px) {
	.sec-head { gap: 8px; }
	.eyebrow { font-size: 18px; letter-spacing: .22em; }
	.sec-title { font-size: 34px; line-height: 1.5; }
	.sec-rule { width: 64px; margin-top: 8px; }
}
.on-dark .eyebrow { color: var(--gold); }
.on-dark .sec-title { color: var(--white); }

.section { padding: 52px 0 44px; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section--white { background: var(--white); }

/* ==========================================================
   Hero + campaign card
   ========================================================== */
.hero-copy {
	background: var(--navy); padding: 36px 24px 100px;
	display: flex; flex-direction: column; gap: 14px;
}
.hero-year {
	font-family: var(--f-num); font-weight: 800; font-size: 64px; line-height: 1;
	color: rgba(200,164,90,.16); user-select: none;
}
.hero-copy .eyebrow { color: var(--gold); }
.hero-title {
	margin: 0; font-family: var(--f-serif); font-weight: 900; font-size: 29px; line-height: 1.55; color: var(--white);
}
.hero-rule { width: 56px; height: 1px; background: var(--gold); }
.hero-lead { margin: 0; font-family: var(--f-en); font-weight: 600; font-size: 18px; line-height: 1.45; color: var(--on-navy); }

.campaign-card {
	position: relative; margin: -68px 16px 0;
	background: var(--white); border: 1px solid var(--cream-line); border-radius: 16px;
	padding: 22px 18px; display: flex; flex-direction: column; gap: 14px;
	box-shadow: 0 16px 40px rgba(20,42,78,.18);
}
.cc-label { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cc-label::before, .cc-label::after { content: ""; width: 24px; height: 1px; background: var(--gold); }
.cc-label span { font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .18em; color: var(--gold-text); }
.cc-title { margin: 0; text-align: center; font-family: var(--f-serif); font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--navy); }
.cc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px; }
.cc-row--now { align-items: flex-end; }
.cc-key { font-size: 13px; color: var(--muted); }
.cc-row--now .cc-key { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.cc-key small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.cc-zero { font-family: var(--f-num); font-weight: 800; font-size: 54px; line-height: 1; color: var(--price); }
.cc-zero small { font-family: var(--f-sans); font-size: 20px; font-weight: 900; }
.cc-actions { display: grid; gap: 12px; }

@media (min-width: 960px) {
	.hero { background: var(--navy); padding: 72px 0 120px; }
	.hero-inner {
		max-width: var(--container); margin: 0 auto; padding: 0 40px;
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center;
	}
	.hero-copy { padding: 0; gap: 18px; }
	.hero-year { font-size: 120px; line-height: .9; }
	.hero-copy .eyebrow { font-size: 18px; letter-spacing: .22em; }
	.hero-title { font-size: 46px; line-height: 1.5; }
	.hero-rule { width: 72px; }
	.hero-lead { font-size: 24px; line-height: 1.4; }

	.campaign-card { margin: 0; border-radius: 20px; padding: 36px 36px 32px; gap: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
	.cc-label { gap: 10px; }
	.cc-label::before, .cc-label::after { width: 32px; }
	.cc-label span { font-size: 16px; letter-spacing: .2em; }
	.cc-title { font-size: 22px; }
	.cc-row { padding: 0; }
	.cc-key { font-size: 15px; }
	.cc-row--now .cc-key { font-size: 18px; }
	.cc-key small { font-size: 13px; }
	.cc-zero { font-size: 88px; }
	.cc-zero small { font-size: 30px; }
}

/* Campaign table (shared) */
.c-table { margin: 0; background: var(--cream); border-radius: 10px; }
.c-table div { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.c-table div:last-child { border-bottom: 0; }
.c-table dt { width: 84px; flex-shrink: 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.c-table dd { margin: 0; font-size: 13px; line-height: 1.7; }
.c-table .is-fee { font-weight: 900; color: var(--price); }
.c-table--white { background: var(--white); border-radius: 12px; }
.c-table--white div { padding: 13px 14px; border-bottom-color: var(--line); }
.c-table--white dt { width: 88px; }
@media (min-width: 960px) {
	.c-table { border-radius: 12px; }
	.c-table div { gap: 14px; padding: 14px 18px; }
	.c-table dt { width: 110px; font-size: 14px; }
	.c-table dd { font-size: 15px; }
	.c-table--white { border-radius: 16px; }
	.c-table--white div { gap: 16px; padding: 20px 24px; }
	.c-table--white dt { width: 120px; }
}

/* ==========================================================
   What you get
   ========================================================== */
.get .container { display: flex; flex-direction: column; gap: 20px; }
.get-box { background: var(--white); border: 1px solid var(--cream-line); border-radius: 14px; overflow: hidden; }
.get-list { list-style: none; margin: 0; padding: 0; }
.get-item {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 16px; border-bottom: 1px solid var(--line);
}
.get-name { display: flex; flex-direction: column; line-height: 1.5; }
.get-name strong { font-weight: 700; font-size: 15px; }
.get-name span { font-size: 11px; color: var(--muted); }
.get-price { font-weight: 900; color: var(--price); white-space: nowrap; }
.get-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; background: var(--navy); }
.get-total-label { font-weight: 700; font-size: 15px; color: var(--white); }
.get-total-label small { font-family: var(--f-sans); font-size: 14px; font-weight: 500; color: var(--on-navy-2); margin-left: 8px; }
.get-total-price { font-family: var(--f-num); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--gold); }
.get-total-price small { font-family: var(--f-sans); font-size: 15px; }
@media (min-width: 960px) {
	.get .container { gap: 40px; }
	.get-box { background: none; border: 0; border-radius: 0; overflow: visible; display: flex; flex-direction: column; gap: 24px; }
	.get-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.get-item {
		flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px;
		background: var(--white); border: 1px solid var(--cream-line); border-radius: 16px; padding: 28px 22px;
	}
	.get-name { gap: 10px; }
	.get-name strong { font-size: 18px; color: var(--navy); }
	.get-name span { font-size: 13px; }
	.get-price { margin-top: 8px; font-size: 22px; }
	.get-total { border-radius: 16px; padding: 24px 36px; }
	.get-total-label { font-family: var(--f-serif); font-size: 22px; }
	.get-total-price { font-size: 48px; line-height: 1; }
	.get-total-price small { font-size: 22px; }
}

/* ==========================================================
   About
   ========================================================== */
.about .container { display: flex; flex-direction: column; gap: 20px; padding: 0 24px; }
.about-main { display: flex; flex-direction: column; gap: 20px; }
.about-text { margin: 0; font-size: 15px; line-height: 2; color: var(--body); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat {
	background: var(--cream); border-radius: 12px; padding: 14px 8px;
	display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; line-height: 1.5;
	color: var(--muted);
}
.stat-label { font-size: 11px; }
.stat-num { font-family: var(--f-num); font-weight: 800; font-size: 26px; line-height: 1.3; }
.stat-en { font-size: 10px; }
.stat--ours { background: var(--navy); color: var(--on-navy); }
.stat--ours .stat-num { color: var(--gold); }
.features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--cream); }
.feature-icon {
	width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--white);
	border: 1px solid var(--cream-line); display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-body { display: flex; flex-direction: column; line-height: 1.5; }
.feature-body strong { font-weight: 700; font-size: 15px; color: var(--navy); }
.feature-body span { font-size: 12px; color: var(--muted); }
@media (min-width: 960px) {
	.about .container {
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; padding: 0 40px;
	}
	.about-main { gap: 24px; }
	.about-text { font-size: 17px; line-height: 2.1; }
	.stats { gap: 16px; }
	.stat { border-radius: 16px; padding: 24px 12px; gap: 4px; }
	.stat-label { font-size: 13px; }
	.stat-num { font-size: 40px; }
	.stat-en { font-size: 12px; }
	.features { gap: 16px; padding-top: 56px; }
	.feature { gap: 18px; padding: 24px; border-radius: 16px; }
	.feature-icon { width: 56px; height: 56px; border-radius: 14px; }
	.feature-icon svg { width: 26px; height: 26px; }
	.feature-body { gap: 2px; }
	.feature-body strong { font-size: 18px; }
	.feature-body span { font-size: 14px; }
}

/* ==========================================================
   Promises
   ========================================================== */
.promises { padding: 52px 0; }
.promises .container { display: flex; flex-direction: column; gap: 20px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.promise { background: var(--white); border-radius: 14px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.check {
	width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--navy);
	display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.check svg { width: 20px; height: 20px; }
.promise-body { display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.promise-body strong { font-weight: 700; font-size: 16px; color: var(--navy); }
.promise-en { font-size: 12px; color: var(--muted); }
.promise-body p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--body); }
@media (min-width: 960px) {
	.promises { padding: 96px 0; }
	.promises .container { gap: 40px; }
	.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.promise { flex-direction: column; gap: 14px; border-radius: 18px; padding: 36px 28px; }
	.check { width: 56px; height: 56px; }
	.check svg { width: 26px; height: 26px; }
	.promise-body { gap: 14px; }
	.promise-body strong { font-family: var(--f-serif); font-size: 20px; }
	.promise-en { font-size: 13px; }
	.promise-body p { font-size: 15px; line-height: 1.9; }
}

/* ==========================================================
   For HR
   ========================================================== */
.hr { background: var(--charcoal); padding: 52px 0; }
.hr .container { display: flex; flex-direction: column; gap: 18px; }
.hr-main { display: flex; flex-direction: column; gap: 18px; }
.hr .sec-head { align-items: center; text-align: center; }
.hr-text { margin: 0; font-size: 14px; line-height: 1.9; color: var(--on-dark); }
.hr-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hr-point { border: 1px solid rgba(200,164,90,.5); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.hr-point strong { font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--gold); }
.hr-point span { font-size: 13px; line-height: 1.7; color: var(--on-dark); }
.hr-cta .btn { font-size: 15px; }
@media (min-width: 960px) {
	.hr { padding: 96px 0; }
	.hr .container {
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 22px;
		grid-template-areas: "main points" "cta points"; align-items: center;
	}
	.hr-main { grid-area: main; gap: 22px; align-self: end; }
	.hr .sec-head { align-items: flex-start; text-align: left; }
	.hr .sec-rule { display: none; }
	.hr-text { font-size: 16px; line-height: 2; }
	.hr-points { grid-area: points; gap: 14px; }
	.hr-point { border-radius: 16px; padding: 24px 26px; gap: 6px; }
	.hr-point strong { font-size: 18px; }
	.hr-point span { font-size: 15px; line-height: 1.8; }
	.hr-cta { grid-area: cta; align-self: start; }
	.hr-cta .btn { display: inline-flex; padding: 0 40px; font-size: 16px; }
}

/* ==========================================================
   Steps
   ========================================================== */
.steps { padding: 52px 0 40px; }
.steps .container { display: flex; flex-direction: column; gap: 18px; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: 12px; padding: 16px; }
.step-badge {
	flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: var(--white);
	font-family: var(--f-num); font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.step-body { display: flex; flex-direction: column; line-height: 1.5; }
.step-body strong { font-weight: 700; font-size: 15px; }
.step-body span { font-size: 12px; color: var(--muted); }
@media (min-width: 960px) {
	.steps { padding: 96px 0; }
	.steps .container { gap: 40px; }
	.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.step { flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 18px; padding: 32px 28px; }
	.step-badge { padding: 6px 14px; font-size: 13px; }
	.step-body { gap: 10px; }
	.step-body strong { font-size: 19px; color: var(--navy); }
	.step-body span { font-size: 14px; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq { background: var(--white); padding: 48px 0; }
.faq .container { max-width: 880px; }
.faq .sec-head { margin-bottom: 16px; }
.faq-list { margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.faq-item:last-child { border-bottom: 0; }
.faq-item dt { font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--navy); }
.faq-en { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.faq-item dd { margin: 0; font-size: 13px; line-height: 1.8; }
@media (min-width: 960px) {
	.faq { padding: 96px 0; }
	.faq .sec-head { margin-bottom: 32px; }
	.faq-item { padding: 22px 0; gap: 8px; }
	.faq-item dt { font-size: 18px; }
	.faq-en { display: inline; margin-left: 6px; font-size: 13px; }
	.faq-item dd { font-size: 15px; }
}

/* ==========================================================
   Apply (bottom campaign)
   ========================================================== */
.apply { padding: 48px 0 56px; }
.apply-box {
	background: var(--navy); border-radius: 20px; padding: 26px 18px;
	display: flex; flex-direction: column; gap: 14px;
}
.apply-main { display: flex; flex-direction: column; gap: 14px; text-align: center; }
.apply-main .eyebrow { color: var(--gold); }
.apply-title { margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 20px; line-height: 1.6; color: var(--white); }
.apply-cta { display: flex; flex-direction: column; gap: 14px; }
.apply-tel { text-align: center; font-size: 12px; color: var(--on-navy-2); }
.apply-tel a { color: var(--white); text-decoration: none; }
@media (min-width: 960px) {
	.apply { padding: 96px 0; }
	.apply-box {
		border-radius: 24px; padding: 56px 64px;
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 16px;
		grid-template-areas: "main table" "cta table"; align-items: center;
	}
	.apply-main { grid-area: main; gap: 16px; text-align: left; align-self: end; }
	.apply-title { font-size: 30px; }
	.apply-box .c-table { grid-area: table; }
	.apply-cta { grid-area: cta; gap: 16px; align-self: start; align-items: flex-start; }
	.apply-cta .btn { display: inline-flex; padding: 0 40px; }
	.apply-tel { text-align: left; font-size: 14px; }
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--navy-deep); padding: 32px 0 40px; color: var(--muted-light); }
.footer-inner { display: flex; flex-direction: column; gap: 16px; padding: 0 24px; }
.footer-nav { order: -1; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-nav a {
	display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12);
	color: var(--white); text-decoration: none; font-size: 14px;
}
.footer-nav a:hover { color: var(--gold); }
.footer-nav .nav-en { display: inline; margin-left: 4px; font-size: 12px; color: var(--muted-light); }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-family: var(--f-serif); font-weight: 700; font-size: 15px; color: var(--white); }
.footer-op { font-size: 12px; }
.copyright { font-size: 11px; }
@media (min-width: 960px) {
	.site-footer { padding: 56px 0 48px; }
	.footer-inner {
		max-width: var(--container); margin: 0 auto; padding: 0 40px;
		flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px;
	}
	.footer-nav { order: 0; }
	.footer-nav ul { flex-direction: row; gap: 32px; }
	.footer-nav a { padding: 0; border: 0; }
	.footer-brand { gap: 8px; }
	.footer-name { font-size: 18px; }
	.footer-op { font-size: 13px; }
	.copyright { font-size: 12px; }
}

/* ==========================================================
   Sub pages
   ========================================================== */
.page-hero { background: var(--navy); padding: 36px 0 40px; }
.page-hero .eyebrow { color: var(--gold); }
.page-title { margin: 6px 0 0; font-family: var(--f-serif); font-weight: 700; font-size: 24px; line-height: 1.5; color: var(--white); }
.page-hero .sec-rule { margin-top: 14px; }
.page-hero .page-meta { margin-top: 10px; font-size: 12px; color: var(--on-navy-2); }
.page-hero .page-meta a { color: var(--on-navy-2); }
@media (min-width: 960px) {
	.page-hero { padding: 64px 0 72px; }
	.page-title { font-size: 36px; }
	.page-hero .page-meta { font-size: 14px; }
}
.page-body { padding: 28px 0 56px; }
.page-body .container { max-width: 880px; }
@media (min-width: 960px) { .page-body { padding: 56px 0 96px; } }
.content-card { background: var(--white); border-radius: 16px; padding: 24px 20px; }
@media (min-width: 960px) { .content-card { border-radius: 20px; padding: 48px 56px; } }

/* Editor content */
.entry-content { font-size: 15px; line-height: 1.95; color: var(--body); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 {
	margin: 2.2em 0 .8em; padding-bottom: .4em; border-bottom: 1px solid var(--cream-line);
	font-family: var(--f-serif); font-size: 20px; line-height: 1.5; color: var(--navy);
}
.entry-content h3 {
	margin: 1.8em 0 .6em; padding-left: 12px; border-left: 3px solid var(--gold);
	font-size: 17px; line-height: 1.5; color: var(--navy);
}
.entry-content h4 { margin: 1.6em 0 .5em; font-size: 15px; color: var(--navy); }
.entry-content h2 small, .entry-content h3 small {
	display: block; margin-top: 2px; font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--gold-text);
}
.entry-content h2 small + br, .entry-content h2 br:has(+ small) { display: none; }
.entry-content .is-style-en-note {
	padding: 14px 16px; background: var(--cream); border-left: 3px solid var(--gold); border-radius: 10px;
	font-size: 14px; line-height: 1.7; color: var(--muted);
}
.entry-content p { margin: 0 0 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .3em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 14px; }
.entry-content .wp-block-table { margin: 0 0 1.5em; }
.entry-content .wp-block-table table { margin: 0; }
.entry-content table th, .entry-content table td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.entry-content table th { width: 30%; color: var(--muted); font-weight: 500; background: var(--cream); }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content blockquote { margin: 0 0 1.2em; padding: 14px 18px; background: var(--cream); border-radius: 10px; }
.entry-content img { border-radius: 10px; }
.entry-content .wp-block-button__link { background: var(--gold); color: var(--navy); border-radius: 999px; font-weight: 900; }
@media (min-width: 960px) {
	.entry-content { font-size: 16px; }
	.entry-content h2 { font-size: 26px; }
	.entry-content h3 { font-size: 20px; }
	.entry-content table { font-size: 15px; }
}

/* Forms (Contact Form 7 / MW WP Form etc.) */
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"],
.entry-content input[type="number"], .entry-content input[type="date"], .entry-content input[type="url"],
.entry-content select, .entry-content textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--cream-line); border-radius: 10px;
	background: var(--cream); font: inherit; font-size: 16px; color: var(--ink);
}
.entry-content textarea { min-height: 160px; }
.entry-content input:focus, .entry-content select:focus, .entry-content textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; background: var(--white); }
.entry-content input[type="submit"], .entry-content button[type="submit"] {
	display: block; width: 100%; max-width: 360px; margin: 8px auto 0; min-height: 58px; border: 0; border-radius: 999px;
	background: var(--gold); color: var(--navy); font-weight: 900; font-size: 16px; cursor: pointer;
}
.entry-content label { font-weight: 700; color: var(--navy); }
.wpcf7-list-item { margin: 0 1em 0 0; }

/* ==========================================================
   Quiz (一問一答)
   ========================================================== */
.quiz-question { font-size: 17px; line-height: 1.9; color: var(--ink); font-weight: 500; }
.quiz-en {
	margin-top: 14px; padding: 12px 14px; background: var(--cream); border-radius: 10px;
	font-size: 14px; line-height: 1.7; color: var(--muted);
}
.quiz-en::before { content: "English"; display: block; font-family: var(--f-en); font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }
.quiz-choices { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quiz-choices--ox { flex-direction: row; }
.quiz-choices--ox li { flex: 1; }
.quiz-choice {
	width: 100%; min-height: 56px; display: flex; align-items: center; gap: 12px; text-align: left;
	padding: 12px 16px; border: 1px solid var(--cream-line); border-radius: 12px; background: var(--white);
	color: var(--ink); font-size: 15px; line-height: 1.6; cursor: pointer; transition: border-color .15s, background .15s;
}
.quiz-choice:hover:not([disabled]) { border-color: var(--gold); background: var(--cream); }
.quiz-choice[disabled] { cursor: default; }
.quiz-num {
	width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: var(--white);
	display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-num); font-weight: 700; font-size: 13px;
}
.quiz-choices--ox .quiz-choice { justify-content: center; min-height: 88px; font-size: 40px; font-weight: 900; color: var(--navy); }
.quiz-choice.is-correct { border-color: var(--correct); background: #EAF5EE; }
.quiz-choice.is-correct .quiz-num { background: var(--correct); }
.quiz-choice.is-wrong { border-color: var(--price); background: #FBEDEA; }
.quiz-choice.is-wrong .quiz-num { background: var(--price); }
.quiz-result { margin: 16px 0 0; font-weight: 900; font-size: 18px; text-align: center; min-height: 1px; }
.quiz-result.is-correct { color: var(--correct); }
.quiz-result.is-wrong { color: var(--price); }
.quiz-answer { margin-top: 20px; border: 1px solid var(--cream-line); border-radius: 14px; overflow: hidden; }
.quiz-answer summary {
	list-style: none; cursor: pointer; padding: 16px; background: var(--navy); color: var(--white);
	font-weight: 700; text-align: center; line-height: 1.4;
}
.quiz-answer summary::-webkit-details-marker { display: none; }
.quiz-answer summary small { display: block; font-size: 11px; font-weight: 500; color: var(--on-navy-2); }
.quiz-answer[open] summary { background: var(--charcoal); }
.quiz-answer-body { padding: 18px 16px; background: var(--white); }
.quiz-correct { margin: 0 0 12px; font-weight: 700; color: var(--navy); }
.quiz-correct b { color: var(--price); font-size: 1.15em; }
.quiz-explain-label { display: block; margin-bottom: 4px; font-family: var(--f-en); font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }
.quiz-explain { font-size: 15px; line-height: 1.9; color: var(--body); }
.quiz-explain p { margin: 0 0 1em; }
.quiz-explain-en { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--cream-line); font-size: 14px; color: var(--muted); }
.quiz-extra { margin-top: 28px; }
@media (min-width: 960px) {
	.quiz-question { font-size: 19px; }
	.quiz-choice { font-size: 16px; padding: 14px 18px; }
	.quiz-answer summary { padding: 18px; }
	.quiz-answer-body { padding: 24px 28px; }
}

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.post-nav a {
	display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--white);
	text-decoration: none; color: var(--navy); font-size: 13px; line-height: 1.5; font-weight: 700;
}
.post-nav a small { font-family: var(--f-en); font-weight: 600; letter-spacing: .12em; color: var(--gold-text); }
.post-nav .next { text-align: right; grid-column: 2; }
.back-link { display: block; margin-top: 16px; text-align: center; font-size: 14px; }

.mini-cta {
	margin-top: 32px; background: var(--navy); border-radius: 16px; padding: 22px 18px;
	display: flex; flex-direction: column; gap: 12px; text-align: center; color: var(--white);
}
.mini-cta .eyebrow { color: var(--gold); }
.mini-cta p { margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 17px; line-height: 1.6; }
.mini-cta .zero { color: var(--gold); font-family: var(--f-num); font-size: 1.4em; }
@media (min-width: 960px) {
	.mini-cta { padding: 36px; }
	.mini-cta p { font-size: 22px; }
	.mini-cta .btn { align-self: center; padding: 0 48px; }
}

/* Quiz list */
.quiz-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.quiz-cats a {
	display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cream-line);
	background: var(--white); font-size: 13px; color: var(--navy); text-decoration: none;
}
.quiz-cats a.is-current, .quiz-cats a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 960px) { .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.card {
	display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 14px;
	background: var(--white); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .15s;
}
.card:hover { border-color: var(--gold); color: var(--ink); }
.card-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.card-tag { padding: 2px 10px; border-radius: 999px; background: var(--cream); color: var(--gold-text); font-weight: 700; }
.card-title { font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--navy); }
.card-excerpt { font-size: 13px; line-height: 1.7; color: var(--muted); }
.card-more { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--gold-text); }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--white); color: var(--navy); text-decoration: none; font-family: var(--f-num); font-weight: 700;
}
.pagination .page-numbers.current { background: var(--navy); color: var(--white); }

/* ==========================================================
   Application form (Contact Form 7)
   ========================================================== */
.form-section { background: var(--white); padding: 52px 0 64px; }
.form-section .container { display: flex; flex-direction: column; gap: 20px; max-width: 880px; }
.form-lead { margin: 0; text-align: center; font-size: 14px; line-height: 1.9; color: var(--body); }
.form-lead span, .contact-lead-en { display: block; font-size: 12px; color: var(--muted); }
.form-card {
	background: var(--white); border: 1px solid var(--cream-line); border-radius: 16px;
	padding: 22px 16px; box-shadow: 0 12px 32px rgba(20,42,78,.08);
}
.form-section .form-card { background: var(--cream); border: 0; box-shadow: none; }
.form-card-head { text-align: center; margin-bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.form-card-title { margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 20px; color: var(--navy); }
.form-card-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
@media (min-width: 960px) {
	.form-section { padding: 96px 0; }
	.form-section .container { gap: 28px; }
	.form-lead { font-size: 16px; }
	.form-lead span, .contact-lead-en { font-size: 13px; }
	.form-card { border-radius: 20px; padding: 40px 48px; }
	.form-card-title { font-size: 26px; }
}

/* Steps */
.kform-steps {
	list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
	position: relative; counter-reset: none;
}
.kform-steps::before {
	content: ""; position: absolute; top: 15px; left: 16.6%; right: 16.6%; height: 2px; background: var(--cream-line);
}
.kform-steps li {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
	font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.3;
}
.kform-steps small { font-size: 10px; font-weight: 500; }
.kform-num {
	width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--white); border: 2px solid var(--cream-line); color: var(--muted);
	font-family: var(--f-num); font-weight: 700; font-size: 14px; margin-bottom: 4px;
}
.kform-steps li.is-current { color: var(--navy); }
.kform-steps li.is-current .kform-num { background: var(--navy); border-color: var(--navy); color: var(--gold); }
@media (min-width: 960px) {
	.kform-steps { max-width: 520px; margin: 0 auto 32px; }
	.kform-steps li { font-size: 14px; }
}

/* Rows */
.kform [hidden] { display: none !important; }
.kform .wpcf7 { margin: 0; }
.kform form { margin: 0; }
.kf-fields { display: flex; flex-direction: column; }
.kf-row { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.kf-row:first-child { padding-top: 0; }
.kf-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.4; }
.kf-en { display: block; width: 100%; font-size: 11px; font-weight: 500; color: var(--muted); }
.kf-badge {
	display: inline-block; padding: 2px 8px; border-radius: 4px; background: #E6E8EE; color: var(--muted);
	font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; vertical-align: middle;
}
.kf-badge--req { background: var(--price); color: var(--white); }
@media (min-width: 960px) {
	.kf-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px 0; }
	.kf-label { padding-top: 12px; }
	.kf-row--consent { display: block; }
}

/* Controls */
.kform input[type="text"], .kform input[type="email"], .kform input[type="tel"], .kform select, .kform textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--cream-line); border-radius: 10px;
	background: var(--white); font: inherit; font-size: 16px; color: var(--ink); line-height: 1.5;
	transition: border-color .15s, box-shadow .15s;
}
.kform textarea { min-height: 160px; resize: vertical; }
.kform select {
	appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23142A4E' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.kform input:focus, .kform select:focus, .kform textarea:focus {
	outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,90,.25);
}
.kform ::placeholder { color: #A9AEBB; }

/* Radio (pill buttons) */
.kform .wpcf7-radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kform .wpcf7-radio .wpcf7-list-item { margin: 0; }
.kform .wpcf7-radio label {
	display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 10px;
	border: 1px solid var(--cream-line); border-radius: 10px; background: var(--white); cursor: pointer;
	font-weight: 700; font-size: 15px; color: var(--navy); transition: border-color .15s, background .15s;
}
.kform .wpcf7-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.kform .wpcf7-radio label:has(input:checked) { border-color: var(--navy); background: #EEF1F7; }
.kform .wpcf7-radio label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (min-width: 960px) {
	.kform .wpcf7-radio { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Consent */
.kf-row--consent { border-bottom: 0; padding-top: 20px; }
.kf-row--consent .kf-field { background: var(--white); border: 1px solid var(--cream-line); border-radius: 12px; padding: 14px 16px; }
.form-section .kf-row--consent .kf-field { background: var(--white); }
.kform .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.kform .wpcf7-acceptance label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--navy); }
.kform .wpcf7-acceptance input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.kform .wpcf7-acceptance .kf-en { padding-left: 32px; }
.kf-row--consent .kf-badge { margin-left: 4px; }

/* Errors */
.kf-row.has-error input, .kf-row.has-error select, .kf-row.has-error textarea,
.kf-row.has-error .wpcf7-radio label, .kf-row--consent.has-error .kf-field { border-color: var(--price); }
.kf-err, .kform .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--price); }
.kf-row.has-error .wpcf7-not-valid-tip { display: none; }

/* Actions */
.kf-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.kf-actions .btn { width: 100%; }
.btn--line, .btn--line:hover { background: var(--white); color: var(--navy); border: 1px solid var(--navy); font-weight: 700; }
.kf-actions .btn[disabled] { opacity: .6; cursor: wait; }
@media (min-width: 960px) {
	.kf-actions { flex-direction: row; justify-content: center; gap: 16px; margin-top: 32px; }
	.kf-actions .btn { width: auto; min-width: 280px; }
	.kf-actions--confirm .btn { min-width: 220px; }
}
.kf-submit { margin-top: 22px; text-align: center; }
.kform .wpcf7-submit {
	width: 100%; max-width: 360px; min-height: 58px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--gold); color: var(--navy); font: inherit; font-weight: 900; font-size: 16px;
}
.kform .wpcf7-spinner { display: block; margin: 10px auto 0; }

/* Confirm panel */
.kf-confirm-lead { margin: 0 0 16px; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.7; color: var(--navy); }
.kf-confirm-list { margin: 0; background: var(--white); border: 1px solid var(--cream-line); border-radius: 12px; overflow: hidden; }
.kf-confirm-list div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.kf-confirm-list div:last-child { border-bottom: 0; }
.kf-confirm-list dt { font-size: 12px; color: var(--muted); }
.kf-confirm-list dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; }
.kf-empty { color: #A9AEBB; font-weight: 400; }
@media (min-width: 960px) {
	.kf-confirm-list div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 16px 24px; }
	.kf-confirm-list dt { font-size: 14px; padding-top: 2px; }
	.kf-confirm-list dd { margin: 0; font-size: 16px; }
}
.kform[data-step="confirm"] .wpcf7-response-output { display: none; }

/* CF7 response */
.kform .wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0; padding: 12px 16px; border-radius: 10px; border-width: 1px; font-size: 14px; line-height: 1.6;
}
.kform .wpcf7 form.invalid .wpcf7-response-output, .kform .wpcf7 form.unaccepted .wpcf7-response-output,
.kform .wpcf7 form.failed .wpcf7-response-output, .kform .wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--price); background: #FBEDEA; color: var(--price);
}
.kform-missing { margin: 0; padding: 20px; text-align: center; background: var(--white); border-radius: 12px; color: var(--body); }
.kform-missing--admin { margin-top: 10px; font-size: 13px; background: #FFF4D6; color: #6B5300; }

/* Contact page */
.contact-intro { text-align: center; margin-bottom: 20px; }
.contact-lead { margin: 0; font-size: 15px; line-height: 1.9; color: var(--body); }
.contact-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.contact-point { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border-radius: 14px; }
.contact-point-body { display: flex; flex-direction: column; line-height: 1.5; }
.contact-point-body strong { font-size: 15px; color: var(--navy); }
.contact-point-body span { font-size: 12px; color: var(--muted); }
.contact-point-body a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-extra { margin-bottom: 24px; }
@media (min-width: 960px) {
	.contact-intro { margin-bottom: 32px; }
	.contact-lead { font-size: 16px; }
	.contact-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
	.contact-point { flex-direction: column; text-align: center; padding: 24px 16px; gap: 10px; }
}

/* Thanks page */
.thanks-card { text-align: center; }
.thanks-icon {
	width: 72px; height: 72px; margin: 8px auto 16px; border-radius: 50%; background: var(--navy); color: var(--gold);
	display: flex; align-items: center; justify-content: center;
}
.thanks-icon svg { width: 34px; height: 34px; }
.thanks-title { margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 22px; color: var(--navy); }
.thanks-title-en { margin: 4px 0 18px; font-family: var(--f-en); font-weight: 600; font-size: 17px; color: var(--gold-text); }
.thanks-text { margin: 0 0 12px; font-size: 15px; line-height: 1.9; color: var(--body); }
.thanks-text-en { font-size: 13px; color: var(--muted); }
.thanks-note { margin: 20px 0 24px; padding: 14px 16px; background: var(--cream); border-radius: 12px; font-size: 13px; line-height: 1.8; color: var(--body); }
.thanks-note a { color: var(--navy); font-weight: 700; }
.thanks-extra { text-align: left; margin-bottom: 24px; }
.thanks-btn { display: inline-flex; padding: 0 40px; }
@media (min-width: 960px) {
	.thanks-title { font-size: 28px; }
	.thanks-title-en { font-size: 20px; }
	.thanks-text { font-size: 16px; }
}

/* ==========================================================
   Breadcrumb
   ========================================================== */
.breadcrumb { margin-bottom: 14px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 11px; line-height: 1.6; color: var(--on-navy-2); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin: 0 8px; color: rgba(255,255,255,.4); }
.breadcrumb a { color: var(--on-navy-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb [aria-current] { color: rgba(255,255,255,.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
@media (min-width: 960px) { .breadcrumb { margin-bottom: 20px; } .breadcrumb ol { font-size: 13px; } }

/* ==========================================================
   Quiz app (hub + category)
   ========================================================== */
.get-cta { margin-top: 4px; }
@media (min-width: 960px) { .get-cta { align-self: center; padding: 0 48px; } }

.qa-wide { max-width: var(--container) !important; }
.qa-page .container > * + * { margin-top: 32px; }
@media (min-width: 960px) { .qa-page .container > * + * { margin-top: 56px; } }
.qa-article { max-width: 880px; margin-left: auto; margin-right: auto; }

.qa-intro { display: flex; flex-direction: column; gap: 18px; }
.qa-lead { margin: 0 auto; max-width: 760px; text-align: center; font-size: 14px; line-height: 1.9; color: var(--body); }
.qa-stats { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 560px; }
.qa-stats li { background: var(--navy); border-radius: 12px; padding: 12px 6px; text-align: center; display: flex; flex-direction: column; line-height: 1.3; }
.qa-stats strong { font-family: var(--f-num); font-weight: 800; font-size: 26px; color: var(--gold); }
.qa-stats span { font-size: 11px; color: var(--on-navy); }
.qa-note { margin: 0; text-align: center; font-size: 12px; line-height: 1.7; color: var(--muted); }
.qa-note span { display: block; }
@media (min-width: 960px) {
	.qa-lead { font-size: 16px; }
	.qa-stats { gap: 16px; }
	.qa-stats strong { font-size: 36px; }
	.qa-stats span { font-size: 13px; }
	.qa-note { font-size: 13px; }
}

/* Category cards */
.qa-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .qa-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .qa-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.qa-cat {
	display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 14px;
	background: var(--white); border: 1px solid var(--cream-line); text-decoration: none; color: var(--ink);
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.qa-cat:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,42,78,.08); }
.qa-cat.is-current { border-color: var(--navy); background: #EEF1F7; }
.qa-cat-num {
	width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--navy); color: var(--gold);
	display: flex; align-items: center; justify-content: center; font-family: var(--f-num); font-weight: 800; font-size: 18px;
}
.qa-cat-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.qa-cat-name { font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--navy); }
.qa-cat-count { font-size: 12px; color: var(--muted); }
.qa-cat::after { content: "›"; font-size: 22px; line-height: 1; color: var(--gold); }

/* Category page */
.qa-summary {
	background: var(--white); border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
	max-width: 880px; margin-left: auto; margin-right: auto;
}
.qa-summary-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.qa-summary-tags a { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--cream); color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.qa-summary-count { margin: 0; font-size: 14px; color: var(--muted); }
.qa-summary-count strong { font-family: var(--f-num); font-size: 26px; color: var(--price); margin: 0 2px; }
.qa-summary-count span { display: block; font-size: 11px; }
.qa-jump { width: 100%; max-width: 320px; }

.qa-sets-wrap { display: flex; flex-direction: column; gap: 28px; }
.qa-group-title {
	margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--gold);
	font-family: var(--f-serif); font-weight: 700; font-size: 19px; line-height: 1.5; color: var(--navy);
}
.qa-group-title small { display: block; font-family: var(--f-sans); font-weight: 500; font-size: 12px; color: var(--muted); }
.qa-sets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .qa-sets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
	.qa-sets-wrap { gap: 44px; }
	.qa-group-title { font-size: 24px; margin-bottom: 20px; }
	.qa-sets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
.qa-set {
	display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 12px;
	background: var(--white); border: 1px solid var(--cream-line); text-decoration: none; color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.qa-set:hover { border-color: var(--gold); color: var(--ink); box-shadow: 0 6px 16px rgba(20,42,78,.08); }
.qa-set-num {
	width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--cream); color: var(--navy);
	display: flex; align-items: center; justify-content: center; font-family: var(--f-num); font-weight: 800; font-size: 15px;
}
.qa-set-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.qa-set-name { font-weight: 700; font-size: 14px; line-height: 1.45; color: var(--navy); }
.qa-set-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.qa-set-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--gold-text); }

.qa-pn { max-width: 880px; margin-left: auto; margin-right: auto; }
.qa-again { display: flex; flex-direction: column; gap: 16px; }
.qa-again-title { margin: 0; text-align: center; font-family: var(--f-serif); font-weight: 700; font-size: 20px; line-height: 1.5; color: var(--navy); }
.qa-again-title small { display: block; font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .14em; color: var(--gold-text); }
@media (min-width: 960px) { .qa-again-title { font-size: 28px; } }
.qa-page .mini-cta { max-width: 880px; margin-left: auto; margin-right: auto; }

/* Article content extras (quiz app text) */
.entry-content .point-box {
	padding: 16px 18px; background: var(--cream); border: 1px solid var(--cream-line); border-radius: 12px; text-align: center;
}
.entry-content mark { background: linear-gradient(transparent 60%, rgba(200,164,90,.35) 60%); color: inherit; padding: 0 1px; }
.entry-content blockquote { border-left: 3px solid var(--gold); }
.entry-content blockquote p:first-child strong:only-child { color: var(--navy); }
.entry-content img { display: block; margin: 0 auto; height: auto; }

/* Quiz password panel */
.quiz-lock {
	max-width: 720px; width: 100%; margin: 0 auto; padding: 20px 18px; border-radius: 16px;
	background: var(--white); border: 2px solid var(--gold); display: flex; flex-direction: column; gap: 12px;
}
.quiz-unlocked .quiz-lock:not(.is-always) { display: none; }
.quiz-lock-head { display: flex; align-items: center; gap: 12px; }
.quiz-lock-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.quiz-lock-title { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--navy); }
.quiz-lock-en { margin: 0; font-size: 12px; color: var(--muted); }
.quiz-lock-text { margin: 0; font-size: 14px; line-height: 1.8; color: var(--body); }
.quiz-lock-form { display: flex; flex-direction: column; gap: 10px; }
.quiz-lock-form input {
	width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--cream-line); border-radius: 10px;
	background: var(--cream); font: inherit; font-size: 16px; color: var(--ink);
}
.quiz-lock-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,90,.25); background: var(--white); }
.quiz-lock-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FBEDEA; color: var(--price); font-size: 13px; font-weight: 700; }
.quiz-lock-apply { margin: 0; font-size: 13px; color: var(--muted); }
.quiz-lock-apply a { font-weight: 700; }
@media (min-width: 960px) {
	.quiz-lock { padding: 28px 32px; gap: 14px; }
	.quiz-lock-title { font-size: 18px; }
	.quiz-lock-form { flex-direction: row; }
	.quiz-lock-form .btn { flex-shrink: 0; min-height: 52px; padding: 0 32px; }
}
html:not(.quiz-unlocked) .qa-set-go::before {
	content: ""; width: 10px; height: 10px; margin-right: 2px;
	background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.error-404 { text-align: center; }

/* ==========================================================
   Top page polish (v1.0.7): tighter spacing + block designs
   ========================================================== */
main { overflow-x: clip; }

/* ---- Hero ---- */
.hero-copy {
	position: relative; overflow: hidden; gap: 12px;
	background:
		repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 30px),
		radial-gradient(120% 70% at 100% 0%, #24457A 0%, rgba(36,69,122,0) 60%),
		var(--navy);
}
.hero-copy::before {
	content: ""; position: absolute; inset: 12px 12px 56px; border: 1px solid rgba(200,164,90,.28);
	border-radius: 14px; pointer-events: none;
}
.hero-copy > * { position: relative; }
.hero-deco { position: absolute !important; right: -26px; top: 24px; width: 190px; color: rgba(200,164,90,.10); pointer-events: none; }
.hero-deco svg { width: 100%; height: auto; stroke-width: 1; }
.hero-year {
	display: flex; align-items: flex-start; gap: 8px;
	font-size: 68px; color: transparent; -webkit-text-stroke: 1px rgba(200,164,90,.6);
}
.hero-year small {
	-webkit-text-stroke: 0; color: var(--gold); font-family: var(--f-en); font-weight: 600;
	font-size: 11px; letter-spacing: .3em; line-height: 1.4; padding-top: 8px; writing-mode: vertical-rl;
}
.hero-eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-mark { background: linear-gradient(transparent 64%, rgba(200,164,90,.5) 64%); padding: 0 2px; }
.hero-lead { font-style: italic; border-left: 2px solid var(--gold); padding-left: 14px; }
.hero-trust { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero-trust li {
	display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
	padding: 12px 6px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(200,164,90,.35);
}
.hero-trust svg { width: 24px; height: 24px; color: var(--gold); }
.hero-trust span { display: flex; flex-direction: column; font-weight: 700; font-size: 12px; line-height: 1.35; color: var(--white); white-space: nowrap; }
.hero-trust li { padding-left: 4px; padding-right: 4px; }
.hero-trust small { font-size: 10px; font-weight: 500; color: var(--on-navy-2); }
@media (min-width: 960px) {
	.hero {
		position: relative; overflow: hidden;
		background:
			repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 36px),
			radial-gradient(60% 80% at 0% 0%, #24457A 0%, rgba(36,69,122,0) 70%),
			var(--navy);
		padding: 64px 0 88px;
	}
	.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
	.hero-copy { background: none; gap: 16px; }
	.hero-copy::before { display: none; }
	.hero-deco { right: auto; left: 300px; top: -10px; width: 260px; }
	.hero-year { font-size: 120px; }
	.hero-year small { font-size: 13px; padding-top: 14px; }
	.hero-trust { gap: 12px; max-width: 520px; }
	.hero-trust li { padding: 14px 8px; }
	.hero-trust span { font-size: 15px; }
	.hero-trust small { font-size: 11px; }
}

/* ---- Section heads: large background word ---- */
.sec-head { gap: 4px; }
.sec-rule { margin-top: 4px; }
.sec-head[data-bg] { position: relative; z-index: 0; }
.sec-head[data-bg]::before {
	content: attr(data-bg); position: absolute; z-index: -1; top: 50%; left: 50%; transform: translate(-50%, -56%);
	font-family: var(--f-num); font-weight: 800; font-size: 58px; line-height: 1; letter-spacing: .04em;
	color: rgba(200,164,90,.13); white-space: nowrap; pointer-events: none;
}
.sec-head:not(.sec-head--center)[data-bg]::before { left: -2px; transform: translateY(-56%); }
.on-dark .sec-head[data-bg]::before { color: rgba(255,255,255,.06); }
.hr .sec-head[data-bg]::before { left: 50%; transform: translate(-50%, -56%); }
@media (min-width: 960px) {
	.sec-head[data-bg]::before { font-size: 112px; }
	.hr .sec-head[data-bg]::before { left: -4px; transform: translateY(-56%); }
}

/* ---- Spacing ---- */
.section { padding: 40px 0 36px; }
.get .container, .about .container { gap: 16px; }
.about-main { gap: 14px; }
.promises { padding: 40px 0; }
.promises .container, .steps .container { gap: 18px; }
.hr { padding: 40px 0; }
.hr .container, .hr-main { gap: 14px; }
.steps { padding: 40px 0 36px; }
.faq { padding: 40px 0; }
.faq .sec-head { margin-bottom: 14px; }
.apply { padding: 32px 0 36px; }
.form-section { padding: 40px 0 48px; }
.form-section .container { gap: 16px; }
@media (min-width: 960px) {
	.section, .promises, .hr, .steps, .faq, .form-section { padding: 72px 0; }
	.get .container, .promises .container, .steps .container { gap: 32px; }
	.about .container { gap: 48px; }
	.features { padding-top: 40px; }
	.faq .sec-head { margin-bottom: 24px; }
	.apply { padding: 56px 0; }
	.form-section .container { gap: 24px; }
}

/* ---- 無料の勉強ツール ---- */
.get { background: radial-gradient(rgba(200,164,90,.22) 1px, transparent 1.2px) 0 0 / 18px 18px, var(--cream); }
.get-box { position: relative; overflow: visible; box-shadow: 0 10px 28px rgba(20,42,78,.08); }
.get-total { border-radius: 0 0 13px 13px; }
.get-stamp {
	position: absolute; z-index: 2; top: -48px; right: 4px; width: 62px; height: 62px; border-radius: 50%;
	background: var(--gold); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-family: var(--f-num); font-weight: 800; font-size: 14px; line-height: 1.1; transform: rotate(12deg);
	box-shadow: 0 6px 14px rgba(20,42,78,.2); border: 2px dashed rgba(255,255,255,.7); outline: 3px solid var(--gold);
}
.get-stamp small { font-family: var(--f-sans); font-size: 11px; font-weight: 900; }
.get-item { gap: 12px; }
.get-icon {
	width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--cream); color: var(--navy);
	display: flex; align-items: center; justify-content: center;
}
.get-icon svg { width: 22px; height: 22px; }
.get-name { flex: 1; min-width: 0; }
.get-price { padding: 2px 10px; border-radius: 999px; background: #FBEDEA; font-size: 13px; }
.get-cta { box-shadow: 0 8px 20px rgba(20,42,78,.18); }
@media (min-width: 960px) {
	.get-box { box-shadow: none; }
	.get-stamp { top: -108px; right: 12px; width: 84px; height: 84px; font-size: 18px; }
	.get-stamp small { font-size: 13px; }
	.get-item { border-top: 3px solid var(--gold); box-shadow: 0 10px 24px rgba(20,42,78,.06); }
	.get-icon { width: 52px; height: 52px; border-radius: 14px; }
	.get-icon svg { width: 28px; height: 28px; }
	.get-price { font-size: 18px; padding: 4px 14px; }
	.get-total { border-radius: 16px; }
}

/* ---- わたしたちは ---- */
.stats { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.stats .stat { order: 1; }
.stats .stat-vs { order: 2; font-family: var(--f-num); font-weight: 800; font-size: 13px; color: var(--gold-text); }
.stats .stat--ours { order: 3; box-shadow: 0 8px 20px rgba(20,42,78,.2); outline: 2px solid var(--gold); outline-offset: -5px; }
.feature { border-left: 3px solid var(--gold); }
@media (min-width: 960px) {
	.stats { gap: 14px; }
	.stats .stat-vs { font-size: 16px; }
}

/* ---- 3つのお約束 ---- */
.promises { background: linear-gradient(180deg, var(--cream) 0%, #F3EBD8 100%); }
.promise { position: relative; border-top: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(20,42,78,.06); padding-right: 52px; }
.promise-num {
	position: absolute; top: 10px; right: 14px; font-family: var(--f-num); font-weight: 800; font-size: 30px; line-height: 1;
	color: rgba(200,164,90,.45);
}
@media (min-width: 960px) {
	.promise { padding-right: 28px; }
	.promise-num { top: 22px; right: 24px; font-size: 48px; }
}

/* ---- 人材管理部 ---- */
.hr { background: radial-gradient(70% 50% at 100% 0%, rgba(200,164,90,.14), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(36,69,122,.5), transparent 70%), var(--charcoal); }
.hr-point { position: relative; padding-left: 50px; background: rgba(255,255,255,.03); }
.hr-point::before {
	content: "✓"; position: absolute; left: 14px; top: 16px; width: 24px; height: 24px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: rgba(200,164,90,.2); color: var(--gold); font-size: 13px; font-weight: 900;
}
@media (min-width: 960px) {
	.hr-point { padding-left: 64px; }
	.hr-point::before { left: 22px; top: 26px; width: 28px; height: 28px; font-size: 15px; }
}

/* ---- ご利用方法 ---- */
.step-list { position: relative; }
.step { position: relative; box-shadow: 0 6px 16px rgba(20,42,78,.06); }
.step:not(:last-child)::after {
	content: ""; position: absolute; left: 46px; bottom: -10px; width: 2px; height: 10px; background: var(--gold);
}
.step-badge { background: linear-gradient(135deg, var(--navy), #24457A); box-shadow: 0 0 0 3px rgba(200,164,90,.35); }
@media (min-width: 960px) {
	.step:not(:last-child)::after {
		content: "›"; left: auto; right: -20px; bottom: auto; top: 50%; width: auto; height: auto; background: none;
		transform: translateY(-50%); font-size: 34px; line-height: 1; color: var(--gold);
	}
}

/* ---- よくある質問 ---- */
.faq-item { border-bottom: 0; background: var(--cream); border-radius: 14px; padding: 16px; margin-bottom: 10px; gap: 8px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item dt, .faq-item dd { position: relative; padding-left: 38px; }
.faq-mark {
	position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--white);
	font-family: var(--f-num); font-weight: 800; font-size: 13px; line-height: 1;
}
.faq-mark--a { background: var(--gold); color: var(--navy); }
@media (min-width: 960px) {
	.faq-item { padding: 22px 24px; margin-bottom: 12px; }
	.faq-item dt, .faq-item dd { padding-left: 44px; }
	.faq-mark { width: 30px; height: 30px; font-size: 14px; }
}

/* ---- キャンペーン概要 ---- */
.apply-box {
	position: relative; overflow: hidden;
	background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 30px), radial-gradient(80% 60% at 100% 0%, #24457A, transparent 70%), var(--navy);
}
.apply-box::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(200,164,90,.3); border-radius: 14px; pointer-events: none; }
.apply-box > * { position: relative; }

/* ---- 過去問題集アプリ / ダウンロード ---- */
.pe-section { display: flex; flex-direction: column; gap: 16px; }
.pe-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .pe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .pe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.pe-card {
	display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--white);
	border: 1px solid var(--cream-line); border-top: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(20,42,78,.06);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.pe-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pe-num { font-family: var(--f-serif); font-weight: 700; font-size: 15px; color: var(--navy); }
.pe-num strong { font-family: var(--f-num); font-weight: 800; font-size: 34px; margin: 0 2px; }
.pe-year { font-size: 12px; color: var(--muted); }
.pe-title { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--body); }
.pe-pass { margin: 0; font-size: 13px; color: var(--muted); }
.pe-pass strong { font-family: var(--f-num); font-size: 20px; color: var(--price); }
.pe-pass span { font-size: 11px; }
.pe-actions { display: grid; gap: 8px; margin-top: auto; }
.pe-actions .btn { min-height: 50px; font-size: 15px; }
.pe-soon { margin: 0; padding: 12px; text-align: center; border-radius: 10px; background: var(--cream); color: var(--muted); font-size: 13px; }
.pe-dl-link { align-self: center; width: 100%; max-width: 520px; }
.pe-notice { margin: 0 auto; max-width: 720px; padding: 14px 16px; border-radius: 12px; background: var(--white); border-left: 4px solid var(--gold); font-size: 14px; line-height: 1.8; color: var(--body); }
.pe-notice span { display: block; font-size: 12px; color: var(--muted); }

/* ---- トップ「無料の勉強ツール」：クリックできることが分かるカード ---- */
.get-item { position: relative; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.get-link { color: inherit; text-decoration: none; }
.get-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.get-link:focus-visible { outline: none; }
.get-item:has(.get-link:focus-visible) { outline: 3px solid var(--gold); outline-offset: -3px; }
.get-go {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
	min-width: 92px; min-height: 44px; padding: 4px 26px 4px 14px; border-radius: 999px; position: relative;
	background: var(--navy); color: var(--white); font-weight: 700; font-size: 13px; line-height: 1.2;
	box-shadow: 0 4px 10px rgba(20,42,78,.2); transition: background .15s, color .15s;
}
.get-go small { font-size: 10px; font-weight: 500; color: var(--on-navy-2); }
.get-go::after {
	content: ""; position: absolute; right: 11px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
	border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg);
	transition: right .15s;
}
.get-item:hover .get-go { background: var(--gold); color: var(--navy); }
.get-item:hover .get-go small { color: var(--navy); }
.get-item:hover .get-go::after { right: 8px; border-color: var(--navy); }

/* スマホ: アイコン｜名前＋0円、その下に横いっぱいのボタン */
@media (max-width: 959px) {
	.get-item {
		display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "icon name price" "go go go";
		align-items: center; column-gap: 12px; row-gap: 10px;
	}
	.get-icon { grid-area: icon; }
	.get-name { grid-area: name; }
	.get-price { grid-area: price; }
	.get-item .get-go { grid-area: go; flex-direction: row; gap: 8px; min-height: 42px; width: 100%; }
	.get-item .get-go small { font-size: 11px; }
	.get-item:hover { background: #FFFCF4; }
}
/* PC: カード下部に大きなボタン */
@media (min-width: 960px) {
	.get-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(20,42,78,.14); border-color: var(--gold); }
	.get-item .get-go { align-self: stretch; margin-top: auto; min-height: 48px; font-size: 15px; }
	.get-item .get-go small { font-size: 11px; }
}

/* ---- v1.0.11: 無料の勉強ツールの案内文 ---- */
.get-note {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 16px;
	background: var(--white); border: 2px solid var(--gold); border-radius: 14px; box-shadow: 0 8px 20px rgba(20,42,78,.06);
}
.get-note p { margin: 0; display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.get-note p > span:last-child { display: block; min-width: 0; }
.get-note small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.get-note-main { font-size: 17px; font-weight: 700; color: var(--navy); padding-right: 64px; }
.get-note-main strong { font-family: var(--f-num); font-size: 26px; color: var(--price); margin: 0 2px; line-height: 1; }
.get-note-sub { font-size: 14px; color: var(--body); }
.get-note-sub strong { color: var(--navy); background: linear-gradient(transparent 62%, rgba(200,164,90,.35) 62%); }
.get-note-icon {
	width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: var(--gold);
	display: flex; align-items: center; justify-content: center;
}
.get-note-icon svg { width: 18px; height: 18px; }
.get-note-link { align-self: flex-start; margin-left: 42px; font-size: 13px; font-weight: 700; color: var(--gold-text); }
.get-note-link::after { content: " ›"; }
.get-note .get-stamp { top: -18px; right: -6px; }
.get-item:last-child { border-bottom: 0; }
@media (min-width: 960px) {
	.get-note { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; padding: 20px 120px 20px 28px; max-width: 980px; margin: 0 auto; width: 100%; }
	.get-note-main { font-size: 20px; padding-right: 0; }
	.get-note-sub { font-size: 15px; }
	.get-note-link { margin-left: 0; }
	.get-note .get-stamp { top: 50%; right: 18px; transform: translateY(-50%) rotate(12deg); }
}

/* ---- ご利用方法：アイコン ---- */
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "icon badge" "icon body"; column-gap: 14px; row-gap: 4px; align-items: center; }
.step-icon {
	grid-area: icon; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold);
	color: var(--navy); display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 24px; height: 24px; }
.step-badge { grid-area: badge; justify-self: start; }
.step-body { grid-area: body; }
.step:not(:last-child)::after { left: 39px; }
@media (min-width: 960px) {
	.step { grid-template-columns: 1fr; grid-template-areas: "icon" "badge" "body"; justify-items: start; row-gap: 12px; }
	.step-icon { width: 64px; height: 64px; }
	.step-icon svg { width: 32px; height: 32px; }
	.step:not(:last-child)::after { left: auto; }
}

/* ---- 見出し上の余白をさらに詰める ---- */
.section, .promises, .hr, .steps, .faq, .form-section { padding-top: 28px; }
@media (min-width: 960px) {
	.section, .promises, .hr, .steps, .faq, .form-section { padding-top: 48px; }
}

/* ---- ヒーロー（2026）の背景をヘッダーと同じ色に ---- */
.hero-copy { background: var(--navy); }
@media (min-width: 960px) {
	.hero { background: var(--navy); }
	.hero-copy { background: none; }
}

/* ==========================================================
   v1.0.12
   ========================================================== */

/* ---- お約束：スタッフ写真つき ---- */
.promise-wrap { display: flex; flex-direction: column; gap: 4px; }
.promise-figure { position: relative; margin: 0 auto; width: 100%; max-width: 360px; display: flex; justify-content: flex-end; align-items: flex-end; min-height: 230px; }
.promise-figure::before {
	content: ""; position: absolute; right: 8px; bottom: 0; width: 190px; height: 190px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #24457A, var(--navy)); box-shadow: 0 0 0 6px rgba(200,164,90,.35);
}
.promise-figure img { position: relative; z-index: 1; width: 150px; height: auto; margin-right: 28px; filter: drop-shadow(0 10px 18px rgba(20,42,78,.25)); }
.promise-balloon {
	position: absolute; z-index: 2; left: 0; top: 30px; max-width: 190px; padding: 12px 14px; border-radius: 14px;
	background: var(--white); border: 2px solid var(--gold); font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--navy);
	box-shadow: 0 8px 18px rgba(20,42,78,.1);
}
.promise-balloon::after {
	content: ""; position: absolute; right: -10px; top: 26px; width: 16px; height: 16px; background: var(--white);
	border-right: 2px solid var(--gold); border-top: 2px solid var(--gold); transform: rotate(45deg);
}
.promise-balloon small { display: block; font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--gold-text); }
.promise-note { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
@media (min-width: 960px) {
	.promise-wrap { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: center; }
	.promise-figure { max-width: none; min-height: 470px; justify-content: center; }
	.promise-figure::before { right: auto; left: 50%; transform: translateX(-50%); bottom: 10px; width: 300px; height: 300px; }
	.promise-figure img { width: 250px; margin-right: 0; }
	.promise-balloon { left: -10px; top: 10px; max-width: 220px; font-size: 14px; }
	.promise-wrap .promise-list { grid-template-columns: 1fr; gap: 16px; }
	.promise-wrap .promise { flex-direction: row; align-items: flex-start; gap: 18px; padding: 24px 80px 24px 24px; }
	.promise-wrap .promise-body { gap: 6px; }
	.promise-wrap .promise-num { top: 50%; transform: translateY(-50%); right: 24px; font-size: 52px; }
}

/* ---- ご利用方法：背景色を変えて、カードを横並びの読みやすい形に ---- */
.steps {
	background:
		radial-gradient(rgba(20,42,78,.07) 1px, transparent 1.2px) 0 0 / 16px 16px,
		linear-gradient(180deg, #EEF3FA 0%, #E2EAF5 100%);
}
.steps .sec-head[data-bg]::before { color: rgba(20,42,78,.07); }
.step-list { gap: 26px; }
.step {
	display: flex; flex-direction: row; align-items: center; gap: 14px; position: relative;
	padding: 24px 16px 16px; border-radius: 14px; background: var(--white); border: 1px solid #D3DDEC;
	box-shadow: 0 8px 18px rgba(20,42,78,.08);
}
.step-icon {
	width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: var(--navy); border: 0; color: var(--gold);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(200,164,90,.3);
}
.step-icon svg { width: 28px; height: 28px; }
.step-badge {
	position: absolute; top: -12px; left: 16px; padding: 4px 14px; border-radius: 999px;
	background: var(--gold); color: var(--navy); box-shadow: none; font-size: 12px; letter-spacing: .06em;
}
.step-body { flex: 1; min-width: 0; }
.step-body strong { color: var(--navy); font-size: 16px; }
.step:not(:last-child)::after {
	content: ""; position: absolute; left: 50%; right: auto; top: auto; bottom: -20px; width: 0; height: 0; margin-left: -8px;
	background: none; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 9px solid var(--gold);
	transform: none; font-size: 0;
}
@media (min-width: 960px) {
	.step-list { gap: 40px; }
	.step { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 36px 20px 26px; }
	.step-badge { left: 50%; transform: translateX(-50%); font-size: 13px; }
	.step-icon { width: 76px; height: 76px; }
	.step-icon svg { width: 36px; height: 36px; }
	.step-body { align-items: center; }
	.step:not(:last-child)::after {
		left: auto; right: -29px; top: 50%; bottom: auto; margin: -9px 0 0;
		border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 10px solid var(--gold); border-right: 0;
	}
}

/* ---- お申込みフォーム：トップと同じ紺の背景で目立たせる ---- */
.form-section { background: var(--navy); position: relative; }
.form-section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.form-section .form-lead { color: var(--on-navy); }
.form-section .form-lead span { color: var(--on-navy-2); }
.form-section .form-card { background: var(--white); border: 0; box-shadow: 0 20px 48px rgba(0,0,0,.28); }
.form-section .kform-steps li { color: var(--muted); }

/* ==========================================================
   v1.0.13
   ========================================================== */

/* ---- お約束：写真とお約束を1枚のパネルにまとめる（吹き出しなし） ---- */
.promise-wrap {
	background: var(--white); border-radius: 20px; border-top: 4px solid var(--gold);
	box-shadow: 0 14px 34px rgba(20,42,78,.10); padding: 20px 16px 18px; gap: 12px;
}
.promise-figure { justify-content: center; min-height: 210px; max-width: none; }
.promise-figure::before { left: 50%; right: auto; transform: translateX(-50%); bottom: 0; width: 176px; height: 176px; }
.promise-figure img { width: 136px; margin: 0; }
.promise-wrap .promise-list { gap: 10px; }
.promise-wrap .promise {
	background: var(--cream); box-shadow: none; border-top: 0; border-left: 4px solid var(--gold); border-radius: 12px;
}
@media (min-width: 960px) {
	.promise-wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; padding: 32px 40px; align-items: center; }
	.promise-figure { min-height: 400px; }
	.promise-figure::before { width: 260px; height: 260px; bottom: 6px; }
	.promise-figure img { width: 224px; }
	.promise-wrap .promise-list { gap: 14px; }
	.promise-wrap .promise { padding: 20px 80px 20px 22px; }
}


/* ---- v1.0.14 お約束：背景つき写真のパネル ---- */
.promise-wrap:has(.promise-figure--photo) { padding: 0; gap: 0; overflow: hidden; }
.promise-figure--photo { display: block; position: relative; margin: 0; min-height: 0; max-width: none; }
.promise-figure--photo::before { display: none; }
.promise-figure--photo img {
	display: block; width: 100%; height: clamp(220px, 52vw, 420px); margin: 0; object-fit: cover; object-position: 62% 12%; filter: none;
}
.promise-figure--photo + .promise-list { padding: 16px; }
@media (min-width: 960px) {
	.promise-wrap:has(.promise-figure--photo) { grid-template-columns: minmax(0, 1fr) 44%; align-items: stretch; }
	.promise-figure--photo { order: 2; }
	.promise-figure--photo img { height: 100%; min-height: 460px; object-position: 64% 30%; }
	.promise-figure--photo::after {
		content: ""; position: absolute; inset: 0; pointer-events: none;
		background: linear-gradient(90deg, var(--white) 0%, rgba(255,255,255,0) 22%);
	}
	.promise-figure--photo + .promise-list { padding: 36px 8px 36px 40px; align-self: center; }
}

/* ==========================================================
   v1.0.15
   ========================================================== */
/* ---- ヒーローの角帽アイコンを切らさず表示 ---- */
.hero-deco { right: 18px; top: 22px; width: 150px; }
@media (min-width: 960px) {
	.hero-copy { overflow: visible; }
	.hero-deco { left: auto; right: 0; top: 0; width: 210px; }
}

/* ---- パンくず：ヘッダーのすぐ下の帯に ---- */
.breadcrumb-bar {
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 16px),
		var(--navy);
	border-top: 1px solid rgba(200,164,90,.25);
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.breadcrumb-bar .breadcrumb { margin: 0; padding: 8px 0; }
.breadcrumb-bar .breadcrumb ol { color: var(--on-navy-2); }
.breadcrumb-bar .breadcrumb a { color: var(--on-navy-2); }
.breadcrumb-bar .breadcrumb a:hover { color: var(--gold); }
.breadcrumb-bar .breadcrumb li:not(:last-child)::after { color: var(--gold); opacity: .7; }
.breadcrumb-bar .breadcrumb [aria-current] { color: rgba(255,255,255,.75); max-width: 70vw; }
@media (min-width: 960px) { .breadcrumb-bar .breadcrumb { padding: 10px 0; } }

/* ---- タイトル帯（各ページ上部）に細い線のデザイン ---- */
.page-hero {
	position: relative; overflow: hidden; padding: 30px 0 34px;
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 16px),
		var(--navy);
}
.page-hero::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
	background: linear-gradient(90deg, rgba(200,164,90,0) 0%, rgba(200,164,90,.6) 30%, rgba(200,164,90,.6) 70%, rgba(200,164,90,0) 100%);
}
.page-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: rgba(200,164,90,.25);
}
@media (min-width: 960px) { .page-hero { padding: 48px 0 56px; } }

/* ---- 「広告なし・Formsで開きます」を目立たせる ---- */
.qa-badges { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.qa-badges li {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: var(--white); border: 2px solid var(--gold); color: var(--navy); font-weight: 700; font-size: 13px; line-height: 1.3;
	box-shadow: 0 4px 12px rgba(20,42,78,.08);
}
.qa-badges svg { width: 18px; height: 18px; color: var(--gold-text); flex-shrink: 0; }
.qa-badges small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); }
@media (min-width: 960px) { .qa-badges { gap: 14px; } .qa-badges li { font-size: 15px; padding: 10px 20px; } .qa-badges small { font-size: 11px; } }

/* ---- フォーム：個人情報保護の同意を中央寄せ ---- */
.kf-row--consent .kf-field { text-align: center; }
.kform .kf-row--consent .wpcf7-acceptance label { justify-content: center; text-align: center; }
.kform .kf-row--consent .wpcf7-acceptance .kf-en { padding-left: 0; text-align: center; }
.kf-row--consent .kf-err, .kf-row--consent .wpcf7-not-valid-tip { text-align: center; }

/* ---- 関連ツール ---- */
.related-tools { display: flex; flex-direction: column; gap: 16px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 960px) { .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 0 auto; width: 100%; } }
.related-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--cream-line); text-decoration: none; color: var(--ink); }
.related-card:hover { border-color: var(--gold); color: var(--ink); box-shadow: 0 10px 24px rgba(20,42,78,.1); }
.related-body { flex: 1; min-width: 0; }
.related-go { min-width: 78px; }
.related-card:hover .related-go { background: var(--gold); color: var(--navy); }
.related-card:hover .related-go small { color: var(--navy); }
.related-card:hover .related-go::after { right: 8px; border-color: var(--navy); }
.related-body { display: flex; flex-direction: column; line-height: 1.5; }
.related-body strong { color: var(--navy); font-size: 15px; }
.related-body span { font-size: 12px; color: var(--muted); }
.related-body small { font-family: var(--f-en); font-weight: 600; letter-spacing: .1em; color: var(--gold-text); }
.error-404 .btn { display: inline-flex; margin-top: 16px; }

/* ==== v1.0.18 ==== */
/* 数字ブロック：見出し / 数字 / English の3段 */
.qa-stats li { gap: 2px; padding: 12px 6px 10px; }
.qa-stats .qs-label { font-size: 12px; font-weight: 700; color: var(--on-navy); letter-spacing: .04em; }
.qa-stats strong { line-height: 1.15; }
.qa-stats strong small { font-family: var(--f-sans); font-size: .5em; font-weight: 700; margin-left: 2px; }
.qa-stats .qs-en { font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted-light); }
@media (min-width: 960px) { .qa-stats .qs-label { font-size: 14px; } .qa-stats .qs-en { font-size: 14px; } }

/* 特長：同じ大きさのアイコンブロック */
.qa-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 560px; }
.qa-badges li {
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
	padding: 14px 3px 12px; border-radius: 14px; border: 1px solid var(--cream-line); border-top: 3px solid var(--gold);
	background: var(--white); color: var(--navy); font-weight: 700; font-size: 12px; line-height: 1.45; text-align: center;
	box-shadow: 0 4px 12px rgba(20,42,78,.06);
}
.qa-badges .badge-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.qa-badges .badge-ico svg { width: 22px; height: 22px; color: var(--gold); }
.qa-badges .badge-text { display: block; word-break: normal; overflow-wrap: anywhere; }
.qa-badges small { margin-top: 3px; font-size: 10px; line-height: 1.35; }
@media (min-width: 960px) {
	.qa-badges { gap: 16px; }
	.qa-badges li { font-size: 14px; padding: 20px 12px 16px; gap: 10px; }
	.qa-badges .badge-ico { width: 56px; height: 56px; }
	.qa-badges .badge-ico svg { width: 28px; height: 28px; }
	.qa-badges small { font-size: 11px; }
}

/* 本文中の YouTube リンク（アイコンつきボタン） */
.entry-content .yt-link { margin: 20px 0 8px; }
.entry-content a.yt-btn {
	position: relative; display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: 14px 44px 14px 16px;
	border-radius: 14px; background: var(--navy); color: var(--white); font-weight: 700; line-height: 1.4; text-decoration: none;
	box-shadow: 0 8px 20px rgba(20,42,78,.15); transition: background .2s, color .2s;
}
.entry-content a.yt-btn::before {
	content: ""; flex: 0 0 44px; height: 44px; border-radius: 50%;
	background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 5.5v13l10.5-6.5z' fill='%23142A4E'/%3E%3C/svg%3E") 55% 50% / 20px no-repeat;
}
.entry-content a.yt-btn::after {
	content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
	border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg);
}
.entry-content a.yt-btn small { display: block; font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--on-navy); }
.entry-content a.yt-btn:hover { background: var(--gold); color: var(--navy); }
.entry-content a.yt-btn:hover small { color: var(--navy); }
.entry-content a.yt-btn:hover::before { background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 5.5v13l10.5-6.5z' fill='%23C8A45A'/%3E%3C/svg%3E"); }
.entry-content a.yt-btn:hover::after { border-color: var(--navy); }

/* ==== v1.0.19 ==== */
/* やさしい日本語：緑の丸アイコン */
.qa-badges li.is-green .badge-ico { background: var(--correct); }
.qa-badges li.is-green .badge-ico svg { color: var(--white); }
.qa-badges .badge-ico { width: 52px; height: 52px; }
.qa-badges .badge-ico svg { width: 32px; height: 32px; }
@media (min-width: 960px) { .qa-badges .badge-ico { width: 64px; height: 64px; } .qa-badges .badge-ico svg { width: 40px; height: 40px; } }
/* アプリ内広告なし：白地に赤い禁止マーク、中に黒の AD */
.qa-badges li.is-ban .badge-ico { box-sizing: border-box; background: var(--white); border: 5px solid #E0262A; overflow: hidden; }
.qa-badges li.is-ban .badge-ico svg { width: 100%; height: 100%; color: #E0262A; }
@media (min-width: 960px) { .qa-badges li.is-ban .badge-ico { border-width: 6px; } }
/* 動画で勉強：YouTube のような赤地に白 */
.qa-badges li.is-youtube .badge-ico { background: #FF0000; }
.qa-badges li.is-youtube .badge-ico svg { color: var(--white); }
.qa-badges li.is-youtube .badge-ico svg path { fill: currentColor; }

/* ==== v1.0.22 ==== */
/* ハンバーガーの三本線を枠の上下中央に（インライン要素の行の高さで上にずれていたため） */
.menu-toggle { padding: 0; line-height: 0; }
.menu-toggle .icon-open, .menu-toggle .icon-close { line-height: 0; }
.menu-toggle .icon-open { display: block; }
.menu-toggle svg { display: block; }
.is-menu-open .menu-toggle .icon-open { display: none; }

/* ==== v1.0.23 ==== */
/* スクロール中も残るヘッダーを、同じ紺色のまま少しだけ透過（下の内容がうっすら見える） */
@media (max-width: 1279px) {
	.site-header { background: rgba(20, 42, 78, .94); }
	@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
		.site-header { background: rgba(20, 42, 78, .86); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }
	}
	.is-menu-open .site-header { background: var(--navy); }
	/* ページ最上部ではヘッダーの裏も紺にして、透過しても色が変わらないようにする */
	body { background: linear-gradient(var(--navy), var(--navy)) 0 0 / 100% 200px no-repeat, var(--cream); }
}

/* ==== v1.0.25 ==== */
/* カテゴリーページの見出し：2段（下の段は小さく） */
.page-title-sub { display: block; margin-top: 6px; font-family: var(--f-sans); font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--on-navy); }
@media (min-width: 960px) { .page-title-sub { margin-top: 8px; font-size: 18px; } }
/* 科目名のチップを大きく */
.qa-summary-tags a { padding: 6px 18px; font-size: 16px; }
@media (min-width: 960px) { .qa-summary-tags a { font-size: 18px; padding: 7px 22px; } }
/* 「各クイズは Microsoft Forms で開きます」をクイズ一覧の上に・大きく */
.qa-note--top { font-size: 14px; color: var(--body); }
.qa-note--top span { font-size: 12px; color: var(--muted); }
@media (min-width: 960px) { .qa-note--top { font-size: 16px; } .qa-note--top span { font-size: 13px; } }

/* ==== v1.0.26 ==== */
/* お問合せ：3つのポイントをスマホでも横並びに */
.contact-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.contact-point { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; padding: 14px 4px 12px; }
.contact-point-body strong { font-size: 13px; line-height: 1.4; }
.contact-point-body span { font-size: 10px; line-height: 1.35; margin-top: 2px; }
@media (min-width: 960px) {
	.contact-points { gap: 16px; }
	.contact-point { padding: 24px 16px; gap: 10px; }
	.contact-point-body strong { font-size: 16px; }
	.contact-point-body span { font-size: 12px; }
}
.contact-lead { text-align: center; font-weight: 700; color: var(--navy); }
.contact-intro .contact-lead-en { text-align: center; }
/* クイズアプリ本文の H2 は中央寄せ */
.qa-article--center h2 { text-align: center; }
