/* ==========================================================================
   ESL English School — main.css（モバイルファースト / 768px・1024px）
   沖縄の海（ターコイズ〜深い青）＋ 赤瓦・ハイビスカスの暖色 ＋ ミンサー柄
   ========================================================================== */

:root {
	--c-deep: #0b3d4a;
	--c-deeper: #072a33;
	--c-sea: #0e8a91;
	--c-turq: #3cc6c0;
	--c-turq-l: #d9f4f2;
	--c-coral: #f2643a;
	--c-coral-d: #d84e26;
	--c-hibis: #d93a4e;
	--c-tile: #c4532f;
	--c-sand: #faf5ec;
	--c-sand-d: #f1e7d6;
	--c-text: #1c2b33;
	--c-muted: #5c6b73;
	--c-line: #06c755;
	--c-border: #e3e9ea;
	--c-white: #fff;
	--ff-base: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	--ff-round: "Zen Maru Gothic", var(--ff-base);
	--ff-en: "Fraunces", Georgia, "Times New Roman", serif;
	--sp-1: 8px;
	--sp-2: 16px;
	--sp-3: 24px;
	--sp-4: 32px;
	--sp-5: 48px;
	--sp-6: 72px;
	--sp-7: 104px;
	--radius: 18px;
	--radius-l: 28px;
	--shadow: 0 18px 44px -18px rgba(7, 42, 51, .28);
	--shadow-s: 0 8px 22px -12px rgba(7, 42, 51, .3);
	--header-h: 64px;
	--minsa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='12'%3E%3Cg fill='%230e8a91'%3E%3Crect x='0' y='3' width='6' height='6'/%3E%3Crect x='8' y='3' width='6' height='6'/%3E%3Crect x='16' y='3' width='6' height='6'/%3E%3Crect x='24' y='3' width='6' height='6'/%3E%3Crect x='32' y='3' width='6' height='6'/%3E%3C/g%3E%3Cg fill='%23f2643a'%3E%3Crect x='50' y='3' width='6' height='6'/%3E%3Crect x='58' y='3' width='6' height='6'/%3E%3Crect x='66' y='3' width='6' height='6'/%3E%3Crect x='74' y='3' width='6' height='6'/%3E%3C/g%3E%3Cpath d='M42 6h4M84 6h4M96 0l6 6-6 6-6-6z' stroke='%230e8a91' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--ff-base);
	font-size: 16px;
	line-height: 1.9;
	color: var(--c-text);
	background: var(--c-white);
	line-break: strict; /* 小さい「ッ」「ゃ」などで行が始まらないように */
	font-feature-settings: "palt" 1;
	letter-spacing: .02em;
	padding-bottom: 64px;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-sea); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.es-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 8px 12px; }
.es-skip:focus { left: 8px; }
.pc { display: none; }
.es-ico { width: 1.15em; height: 1.15em; flex: none; }
.es-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.es-wrap--narrow { max-width: 860px; }
.es-note { margin-top: var(--sp-2); font-size: 13px; color: var(--c-muted); }

/* ---------- ボタン ---------- */
.es-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 52px; padding: 12px 24px;
	border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; text-align: center;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.es-btn:hover { transform: translateY(-2px); }
.es-btn:focus-visible { outline: 3px solid var(--c-turq); outline-offset: 3px; }
.es-btn--sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.es-btn--lg { min-height: 58px; font-size: 16px; padding: 14px 28px; }
.es-btn--coral { background: var(--c-coral); color: #fff; box-shadow: 0 10px 22px -10px rgba(216, 78, 38, .7); }
.es-btn--coral:hover { background: var(--c-coral-d); }
.es-btn--line { background: var(--c-line); color: #fff; box-shadow: 0 10px 22px -12px rgba(6, 199, 85, .7); }
.es-btn--sea { background: var(--c-deep); color: #fff; }
.es-btn--ghost { background: transparent; color: var(--c-deep); border-color: var(--c-deep); }
.es-btn--white { background: #fff; color: var(--c-deep); }
.es-btn--insta { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: #fff; }

/* ---------- ミンサー柄（五つと四つ） ---------- */
.es-minsa { width: 108px; height: 12px; margin: 14px auto 0; background: var(--minsa) center / 108px 12px no-repeat; }
.es-minsa--light { width: 100%; height: 12px; margin: 0; background-repeat: repeat-x; background-size: 108px 12px; opacity: .55; }

/* ---------- 見出し ---------- */
.es-sec { padding: var(--sp-6) 0; }
.es-head { text-align: center; margin-bottom: var(--sp-5); }
.es-head--left { text-align: left; margin-bottom: var(--sp-3); }
.es-head__en { font-family: var(--ff-en); font-style: italic; font-weight: 500; color: var(--c-sea); font-size: 17px; letter-spacing: .03em; line-height: 1.4; }
.es-head__h { font-size: clamp(22px, 5.6vw, 34px); font-weight: 900; line-height: 1.5; letter-spacing: .04em; color: var(--c-deep); margin-top: 4px; }
.es-head__lead { max-width: 720px; margin: var(--sp-3) auto 0; color: var(--c-muted); font-size: 15px; text-align: left; }

/* ---------- ヘッダー ---------- */
.es-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid rgba(11, 61, 74, .08);
}
.admin-bar .es-header { top: 46px; }
.es-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.es-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-deep); margin-right: auto; }
.es-logo__mark svg { width: 42px; height: 42px; display: block; }
.es-logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.es-logo__en { font-family: var(--ff-en); font-weight: 600; font-size: 18px; letter-spacing: .01em; }
.es-logo__ja { font-size: 11px; color: var(--c-muted); letter-spacing: .08em; }
.es-header__cta { display: none; }
.es-burger { width: 46px; height: 46px; border: 0; background: var(--c-deep); border-radius: 12px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.es-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.es-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.es-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.es-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.es-nav {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
	background: var(--c-sand);
	padding: var(--sp-3) 20px calc(var(--sp-5) + 64px);
	overflow-y: auto;
	visibility: hidden; opacity: 0; transform: translateY(-8px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.es-nav.is-open { visibility: visible; opacity: 1; transform: none; }
.es-nav__list a { display: block; padding: 14px 4px; border-bottom: 1px dashed rgba(11, 61, 74, .18); color: var(--c-deep); font-weight: 700; text-decoration: none; }
.es-nav__sp { display: grid; gap: 12px; margin-top: var(--sp-3); }

/* ---------- ヒーロー ---------- */
.es-hero { position: relative; background: var(--c-sand); padding: var(--sp-4) 0 var(--sp-6); overflow: hidden; }
.es-hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(600px 380px at 100% 0, rgba(60, 198, 192, .28), transparent 70%),
		radial-gradient(420px 300px at 0 100%, rgba(242, 100, 58, .12), transparent 70%);
}
.es-hero__inner { position: relative; display: grid; gap: var(--sp-4); max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.es-hero__eyebrow { font-family: var(--ff-en); font-style: italic; color: var(--c-sea); font-size: 14px; line-height: 1.5; }
.es-hero__title { margin-top: 10px; color: var(--c-deep); }
.es-hero__kw { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .1em; background: var(--c-deep); color: #fff; padding: 4px 14px; border-radius: 999px; }
.es-hero__catch { display: block; margin-top: 14px; font-family: var(--ff-round); font-size: clamp(28px, 8.2vw, 60px); line-height: 1.35; letter-spacing: .03em; }
.nb { display: inline-block; }
.es-hero__catch em { font-style: normal; color: var(--c-sea); background: linear-gradient(transparent 68%, rgba(60, 198, 192, .35) 68%); }
.es-hero__lead { margin-top: var(--sp-3); font-size: 15px; color: #33454d; }
.es-hero__lead strong { color: var(--c-deep); }
.es-hero__badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: var(--sp-3); }
.es-hero__badges li {
	display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
	background: #fff; border-radius: 14px; padding: 12px 6px; font-size: 12px; line-height: 1.45; font-weight: 700; color: var(--c-deep);
	box-shadow: var(--shadow-s);
}
.es-hero__badges .es-ico { width: 24px; height: 24px; color: var(--c-coral); }
.es-hero__badges b { font-size: 1.35em; color: var(--c-coral); font-family: var(--ff-en); margin: 0 1px; }
.es-hero__cta { display: grid; gap: 10px; margin-top: var(--sp-3); }
.es-hero__tel { margin-top: 12px; font-size: 14px; color: var(--c-muted); text-align: center; }
.es-hero__tel a { display: inline-flex; align-items: center; gap: 4px; font-family: var(--ff-en); font-size: 20px; font-weight: 600; color: var(--c-deep); text-decoration: none; }
.es-hero__visual { position: relative; padding: 0 0 24px; }
.es-hero__photo { display: block; }
.es-hero__photo img { width: 100%; border-radius: 160px 28px 160px 28px; box-shadow: var(--shadow); object-fit: cover; object-position: 22% 50%; aspect-ratio: 4 / 5; }
.es-hero__chip { position: absolute; width: 30%; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-s); }
.es-hero__chip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.es-hero__chip--hello { left: -6px; bottom: 6%; }
.es-hero__chip--hibiscus { right: -6px; top: 6%; width: 24%; }
.es-hero__stamp {
	position: absolute; right: 8%; bottom: 0;
	width: 104px; height: 104px; border-radius: 50%;
	display: grid; place-content: center; text-align: center;
	background: var(--c-coral); color: #fff; line-height: 1.15;
	box-shadow: 0 12px 26px -12px rgba(216, 78, 38, .8);
	transform: rotate(-10deg);
}
.es-hero__stamp span { font-family: var(--ff-en); font-style: italic; font-size: 11px; }
.es-hero__stamp b { font-family: var(--ff-en); font-size: 28px; letter-spacing: .04em; }
.es-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 44px; }

/* ---------- 要点 ---------- */
.es-facts { position: relative; padding: var(--sp-4) 0 0; }
.es-facts__h { text-align: center; font-size: 18px; font-weight: 900; color: var(--c-deep); }
.es-facts__h span { display: block; font-family: var(--ff-en); font-style: italic; font-weight: 500; color: var(--c-sea); font-size: 14px; }
.es-facts__list { display: grid; gap: 1px; margin-top: var(--sp-3); background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.es-facts__list > div { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 10px; background: #fff; padding: 14px 16px; }
.es-facts__list dt { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-sea); font-size: 14px; }
.es-facts__list dd { font-size: 14px; line-height: 1.6; font-weight: 500; }

/* ---------- お悩み ---------- */
.es-worry__grid { display: grid; gap: 14px; }
.es-worry__card { position: relative; background: var(--c-sand); border-radius: var(--radius); padding: 22px 20px 20px 76px; }
.es-worry__ico { position: absolute; left: 18px; top: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-hibis); box-shadow: var(--shadow-s); }
.es-worry__ico .es-ico { width: 22px; height: 22px; }
.es-worry__card h3 { font-size: 16px; font-weight: 900; color: var(--c-deep); line-height: 1.5; }
.es-worry__card p { margin-top: 4px; font-size: 14px; color: var(--c-muted); line-height: 1.7; }
.es-worry__note { margin-top: var(--sp-3); text-align: center; font-weight: 700; color: var(--c-deep); font-size: 15px; }
.es-answer { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); background: linear-gradient(140deg, var(--c-deep), #0d5866); color: #fff; border-radius: var(--radius-l); padding: var(--sp-3); box-shadow: var(--shadow); }
.es-answer__img img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.es-answer__pre { font-weight: 700; color: var(--c-turq); }
.es-answer__big { font-family: var(--ff-round); font-size: clamp(30px, 8vw, 46px); line-height: 1.3; margin-top: 2px; }
.es-answer__big em { font-style: normal; color: #ffd166; }
.es-answer__io { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 16px; }
.es-answer__io span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.es-answer__io small { font-weight: 500; opacity: .8; }
.es-answer__io b { font-size: 20px; color: var(--c-turq); }
.es-answer__body p:last-child { font-size: 15px; line-height: 1.9; opacity: .95; }

/* ---------- 特徴 ---------- */
.es-features { background: linear-gradient(var(--c-white), var(--c-turq-l) 40%, var(--c-white)); }
.es-features__list { display: grid; gap: var(--sp-5); }
.es-feature { display: grid; gap: var(--sp-3); align-items: center; }
.es-feature__img { position: relative; }
.es-feature__img::after { content: ""; position: absolute; inset: 14px -10px -10px 14px; border-radius: var(--radius-l); border: 2px solid var(--c-turq); z-index: -1; }
.es-feature__img img { width: 100%; border-radius: var(--radius-l); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.es-feature__no { display: flex; align-items: baseline; gap: 10px; font-family: var(--ff-en); font-style: italic; color: var(--c-sea); font-size: 16px; }
.es-feature__no span { font-style: normal; font-weight: 600; font-size: 44px; line-height: 1; color: var(--c-coral); }
.es-feature__h { text-wrap: balance; margin: 8px 0 12px; font-size: clamp(19px, 4.8vw, 25px); font-weight: 900; line-height: 1.55; color: var(--c-deep); }
.es-feature__body p:last-child { font-size: 15px; color: #33454d; }

/* ---------- 帯 ---------- */
.es-band { position: relative; min-height: 300px; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.es-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(7, 42, 51, .25), rgba(7, 42, 51, .55)); }
.es-band__text { position: relative; z-index: 1; padding: var(--sp-5) 16px; }
.es-band__en { font-family: var(--ff-en); font-style: italic; font-size: clamp(24px, 6vw, 44px); line-height: 1.3; }
.es-band__ja { margin-top: 10px; font-weight: 700; font-size: 16px; line-height: 1.8; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }

/* ---------- 流れ ---------- */
.es-steps__list { display: grid; gap: 14px; counter-reset: s; }
.es-step { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-s); }
.es-step__no { position: absolute; right: 18px; top: 16px; font-family: var(--ff-en); font-size: 12px; color: var(--c-muted); letter-spacing: .1em; }
.es-step__no b { font-size: 30px; color: var(--c-turq); margin-left: 4px; }
.es-step__ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--c-turq-l); color: var(--c-sea); }
.es-step__ico .es-ico { width: 26px; height: 26px; }
.es-step h3 { margin-top: 12px; font-size: 17px; font-weight: 900; color: var(--c-deep); }
.es-step p { margin-top: 6px; font-size: 14px; color: var(--c-muted); line-height: 1.8; }

/* ---------- おすすめ ---------- */
.es-reco { position: relative; padding-top: 0; background: var(--c-sand); }
.es-reco__photo img { width: 100%; height: 220px; object-fit: cover; }
.es-reco__box { position: relative; margin-top: -60px; background: #fff; border-radius: var(--radius-l); padding: var(--sp-4) 20px; box-shadow: var(--shadow); }
.es-reco__list { display: grid; gap: 10px; }
.es-reco__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--c-deep); line-height: 1.6; padding: 12px 14px; background: var(--c-sand); border-radius: 12px; }
.es-reco__list .es-ico { width: 22px; height: 22px; color: #fff; background: var(--c-sea); border-radius: 50%; padding: 4px; margin-top: 1px; }
.es-reco__foot { margin-top: var(--sp-3); text-align: center; font-size: 15px; }
.es-reco__foot strong { color: var(--c-coral-d); }

/* ---------- レベル ---------- */
.es-levels__grid { display: grid; gap: 16px; }
.es-level { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow-s); }
.es-level__top { padding: 18px 20px; color: #fff; }
.es-level--1 .es-level__top { background: linear-gradient(135deg, #5fd3c9, #2bb3b0); }
.es-level--2 .es-level__top { background: linear-gradient(135deg, #2bb3b0, #0e8a91); }
.es-level--3 .es-level__top { background: linear-gradient(135deg, #0e8a91, #0b5f6d); }
.es-level--4 .es-level__top { background: linear-gradient(135deg, #0b5f6d, #072a33); }
.es-level__bar { display: flex; gap: 4px; }
.es-level__bar i { width: 18px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.es-level__bar i.on { background: #fff; }
.es-level h3 { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.es-level__en { font-family: var(--ff-en); font-weight: 600; font-size: 26px; line-height: 1.2; }
.es-level__ja { font-weight: 700; font-size: 14px; opacity: .9; }
.es-level__goals { padding: 16px 20px 0; display: grid; gap: 6px; }
.es-level__goals li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.65; }
.es-level__goals li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--c-turq); }
.es-level__can { margin: 14px 20px 20px; margin-top: auto; padding: 12px 14px; background: var(--c-sand); border-radius: 12px; font-size: 13.5px; line-height: 1.75; }
.es-level__goals + .es-level__can { margin-top: 14px; }
.es-level__can b { display: block; color: var(--c-coral-d); font-size: 12px; letter-spacing: .06em; }

/* ---------- スケジュール ---------- */
.es-schedule { background: linear-gradient(var(--c-turq-l), var(--c-white)); }
.es-sched { display: none; }
.es-sched__sp { display: grid; gap: 14px; }
.es-sched__sp > li { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-s); }
.es-sched__day { font-weight: 900; color: var(--c-deep); font-size: 17px; margin-bottom: 8px; }
.es-sched__day span { font-family: var(--ff-en); font-style: italic; font-weight: 500; color: var(--c-sea); margin-right: 8px; }
.es-sched__row { display: grid; grid-template-columns: 102px 1fr; column-gap: 10px; padding: 10px 12px; border-radius: 10px; margin-top: 6px; line-height: 1.5; }
.es-sched__row time { grid-row: span 2; font-family: var(--ff-en); font-weight: 600; font-size: 14px; align-self: center; }
.es-sched__row b { font-size: 14px; }
.es-sched__row small { font-size: 12px; color: var(--c-muted); }
.is-beg { background: #fde6dd; }
.is-int { background: #dff3e6; }
.is-adv { background: #dde9f7; }

/* ---------- 料金 ---------- */
.es-price__grid { display: grid; gap: 18px; }
.es-plan { background: #fff; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow); }
.es-plan__head { padding: 20px 22px; background: var(--c-deep); color: #fff; }
.es-plan--private .es-plan__head { background: linear-gradient(135deg, var(--c-tile), var(--c-hibis)); }
.es-plan__sub { font-family: var(--ff-en); font-style: italic; font-size: 14px; opacity: .85; }
.es-plan__head h3 { font-size: 21px; font-weight: 900; }
.es-plan__table { width: 100%; border-collapse: collapse; }
.es-plan__table th, .es-plan__table td { padding: 16px 22px; border-bottom: 1px solid var(--c-border); }
.es-plan__table tr:last-child th, .es-plan__table tr:last-child td { border-bottom: 0; }
.es-plan__table th { text-align: left; font-weight: 700; color: var(--c-deep); }
.es-plan__table td { text-align: right; font-size: 14px; color: var(--c-muted); }
.es-plan__table td b { font-family: var(--ff-en); font-size: 28px; font-weight: 600; color: var(--c-deep); margin: 0 3px; }
.es-price__trial { display: grid; gap: 12px; justify-items: center; text-align: center; margin-top: var(--sp-4); background: var(--c-sand); border: 2px dashed rgba(242, 100, 58, .45); border-radius: var(--radius-l); padding: var(--sp-3) 20px; }
.es-price__trial-ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--c-coral); color: #fff; }
.es-price__trial-ico .es-ico { width: 28px; height: 28px; }
.es-price__trial b { color: var(--c-coral-d); }

/* ---------- 講師 ---------- */
.es-teachers { background: var(--c-sand); position: relative; }
.es-teachers__grid { display: grid; gap: 18px; }
.es-teacher { background: #fff; border-radius: var(--radius-l); padding: var(--sp-3) 20px; box-shadow: var(--shadow-s); }
.es-teacher__head { display: flex; align-items: center; gap: 14px; }
.es-teacher__avatar { width: 68px; height: 68px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-en); font-weight: 600; font-size: 24px; color: #fff; }
.es-teacher__avatar--1 { background: linear-gradient(135deg, var(--c-coral), var(--c-hibis)); }
.es-teacher__avatar--2 { background: linear-gradient(135deg, var(--c-turq), var(--c-deep)); }
.es-teacher__role { font-size: 13px; color: var(--c-muted); font-weight: 700; }
.es-teacher__name { font-family: var(--ff-en); font-size: 26px; font-weight: 600; color: var(--c-deep); line-height: 1.3; }
.es-teacher__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; }
.es-teacher__tags li { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--c-turq-l); color: var(--c-sea); }
.es-teacher > p { font-size: 14.5px; line-height: 1.95; color: #33454d; }

/* ---------- CTA ---------- */
.es-cta { position: relative; overflow: hidden; color: #fff; text-align: center; }
.es-cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 42, 51, .55), rgba(7, 42, 51, .82)); }
.es-cta__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: var(--sp-6) 16px; }
.es-cta__en { font-family: var(--ff-en); font-style: italic; color: var(--c-turq); font-size: 17px; }
.es-cta__h { font-family: var(--ff-round); font-size: clamp(28px, 7vw, 44px); line-height: 1.4; margin-top: 4px; }
.es-cta__lead { margin-top: var(--sp-2); font-size: 15px; }
.es-cta__btns { display: grid; gap: 10px; margin-top: var(--sp-4); }

/* ---------- FAQ ---------- */
.es-faq__list { display: grid; gap: 12px; }
.es-faq__item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; }
.es-faq__item summary { list-style: none; display: grid; grid-template-columns: 34px 1fr 24px; gap: 12px; align-items: center; padding: 16px 18px; cursor: pointer; font-weight: 700; color: var(--c-deep); line-height: 1.6; }
.es-faq__item summary::-webkit-details-marker { display: none; }
.es-faq__q, .es-faq__al { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-en); font-weight: 600; font-size: 17px; }
.es-faq__q { background: var(--c-deep); color: #fff; }
.es-faq__tg { color: var(--c-sea); transition: transform .25s; }
.es-faq__tg .es-ico { width: 22px; height: 22px; }
.es-faq__item[open] .es-faq__tg { transform: rotate(45deg); }
.es-faq__a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 0 18px 18px; }
.es-faq__al { background: var(--c-coral); color: #fff; }
.es-faq__a p { font-size: 14.5px; line-height: 1.9; padding-top: 4px; }

/* ---------- アクセス ---------- */
.es-access { background: linear-gradient(var(--c-white), var(--c-turq-l)); }
.es-access__grid { display: grid; gap: var(--sp-3); }
.es-access__map iframe { display: block; width: 100%; height: 320px; border: 0; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.es-access__info dl { background: #fff; border-radius: var(--radius); padding: 6px 18px; box-shadow: var(--shadow-s); }
.es-access__info dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--c-border); font-size: 14.5px; line-height: 1.7; }
.es-access__info dl > div:last-child { border-bottom: 0; }
.es-access__info dt { font-weight: 700; color: var(--c-sea); }
.es-access__info dd a { font-family: var(--ff-en); font-weight: 600; font-size: 18px; color: var(--c-deep); text-decoration: none; }
.es-access__btns { display: grid; gap: 10px; margin-top: var(--sp-3); }

/* ---------- フッター ---------- */
.es-footer { background: var(--c-deeper); color: rgba(255, 255, 255, .86); }
.es-footer__inner { display: grid; gap: var(--sp-4); max-width: 1160px; margin: 0 auto; padding: var(--sp-5) 16px var(--sp-4); }
.es-footer__name { font-family: var(--ff-en); font-size: 26px; font-weight: 600; color: #fff; line-height: 1.3; }
.es-footer__sub { font-size: 13px; color: var(--c-turq); letter-spacing: .08em; }
.es-footer__addr { font-style: normal; margin-top: 14px; font-size: 14px; line-height: 1.8; }
.es-footer__tel a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--ff-en); font-size: 20px; color: #fff; text-decoration: none; }
.es-footer__sns { display: flex; gap: 10px; margin-top: 14px; }
.es-footer__sns a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.es-footer__h { font-family: var(--ff-en); font-style: italic; color: var(--c-turq); margin-bottom: 8px; }
.es-footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.es-footer__nav li { font-size: 13.5px; line-height: 1.7; padding: 4px 0; }
.es-footer__nav a { color: #fff; text-decoration: none; }
.es-footer__nav span { color: rgba(255, 255, 255, .72); }
.es-footer__copy { text-align: center; font-size: 12px; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .55); }

/* ---------- スマホ固定バー ---------- */
.es-fixbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 2fr; background: #fff; box-shadow: 0 -6px 20px -8px rgba(7, 42, 51, .3); }
.es-fixbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--c-deep); }
.es-fixbar .es-ico { width: 22px; height: 22px; }
.es-fixbar__line { color: var(--c-line) !important; }
.es-fixbar__trial { flex-direction: row !important; gap: 6px !important; background: var(--c-coral); color: #fff !important; font-size: 14px !important; }

/* ---------- 準備中 ---------- */
.es-soon { min-height: 60vh; display: grid; place-items: center; padding: var(--sp-6) 16px; background: var(--c-sand); }
.es-soon__box { text-align: center; }
.es-soon__en { font-family: var(--ff-en); font-style: italic; color: var(--c-sea); }
.es-soon__h { font-size: 24px; color: var(--c-deep); margin: 6px 0 10px; }
.es-soon .es-btn { margin-top: var(--sp-3); }

/* ---------- 出現アニメーション（JSが動くときだけ） ---------- */
.js .js-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .js-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .js-reveal { opacity: 1; transform: none; transition: none; }
	.es-btn, .es-nav { transition: none; }
}

/* ==========================================================================
   768px〜
   ========================================================================== */
@media (min-width: 768px) {
	body { padding-bottom: 0; }
	.pc { display: inline; }
	.sp { display: none; }
	.es-wrap { padding: 0 32px; }
	.es-sec { padding: var(--sp-7) 0; }
	.es-head__lead { text-align: center; }
	.es-fixbar { display: none; }
	.admin-bar .es-header { top: 32px; }

	.es-hero { padding: var(--sp-5) 0 var(--sp-7); }
	.es-hero__inner { padding: 0 32px; }
	.es-hero__badges li { flex-direction: row; justify-content: center; font-size: 13px; padding: 14px 10px; }
	.es-hero__cta { grid-template-columns: 1fr 1fr; }
	.es-hero__tel { text-align: left; }
	.es-hero__photo img { aspect-ratio: 3 / 2; border-radius: 220px 32px 220px 32px; }
	.es-wave { height: 80px; }

	.es-facts__list { grid-template-columns: 1fr 1fr; }
	.es-facts__list > div:last-child:nth-child(odd) { grid-column: 1 / -1; } /* 7項目＝最後の1つを横いっぱいに（空きマスを作らない） */
	.es-worry__grid { grid-template-columns: repeat(3, 1fr); }
	.es-worry__card { padding: 74px 22px 24px; text-align: center; }
	.es-worry__ico { left: 50%; transform: translateX(-50%); }
	.es-answer { grid-template-columns: 1fr 1.2fr; align-items: center; padding: var(--sp-4); }

	.es-feature { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
	.es-feature--rev .es-feature__img { order: 2; }
	.es-feature--rev .es-feature__img::after { inset: 14px 14px -10px -10px; }
	.es-band { min-height: 380px; }

	.es-steps__list { grid-template-columns: 1fr 1fr; gap: 18px; }
	.es-reco__photo img { height: 340px; }
	.es-reco__box { max-width: 880px; margin: -120px auto 0; padding: var(--sp-5); }
	.es-reco__list { grid-template-columns: 1fr 1fr; }
	.es-levels__grid { grid-template-columns: 1fr 1fr; }

	.es-sched { display: block; background: #fff; border-radius: var(--radius-l); padding: 10px; box-shadow: var(--shadow); }
	.es-sched__sp { display: none; }
	.es-sched__table { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
	.es-sched__table thead th { font-weight: 700; color: var(--c-deep); padding: 10px 4px; font-size: 14px; }
	.es-sched__table thead th span { display: block; font-family: var(--ff-en); font-style: italic; font-weight: 500; color: var(--c-sea); font-size: 13px; }
	.es-sched__table thead th:first-child { width: 128px; }
	.es-sched__table tbody th { font-family: var(--ff-en); font-weight: 600; color: var(--c-deep); font-size: 15px; background: var(--c-sand); border-radius: 12px; }
	.es-sched__table td { border-radius: 12px; padding: 14px 8px; text-align: center; line-height: 1.5; }
	.es-sched__table td b { display: block; font-size: 13.5px; }
	.es-sched__table td small { display: block; font-size: 12px; color: var(--c-muted); margin-top: 2px; }
	.es-sched__table td.is-off { background: #f5f7f7; color: #b7c1c4; }

	.es-price__grid { grid-template-columns: 1fr 1fr; align-items: start; }
	.es-price__trial { grid-template-columns: auto 1fr auto; text-align: left; padding: var(--sp-3) var(--sp-4); }
	.es-teachers__grid { grid-template-columns: 1fr 1fr; }
	.es-teacher { padding: var(--sp-4); }
	.es-cta__btns { grid-template-columns: repeat(3, auto); justify-content: center; }
	.es-access__map iframe { height: 440px; }
	.es-access__btns { grid-template-columns: 1fr 1fr; }
	.es-access__btns .es-btn--coral { grid-column: 1 / -1; }
	.es-footer__inner { grid-template-columns: 1fr 1.3fr; padding: var(--sp-6) 32px var(--sp-5); }
	.es-footer__nav ul { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   1024px〜
   ========================================================================== */
@media (min-width: 1024px) {
	:root { --header-h: 80px; }
	.es-logo__mark svg { width: 48px; height: 48px; }
	.es-logo__en { font-size: 21px; white-space: nowrap; }
	.es-header__inner { padding: 0 32px; gap: 20px; }
	.es-header__cta { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
	.es-header__tel { display: inline-flex; align-items: center; gap: 4px; font-family: var(--ff-en); font-weight: 600; font-size: 17px; color: var(--c-deep); text-decoration: none; }
	.es-header__tel .es-ico { color: var(--c-sea); }

	.es-hero { padding: var(--sp-6) 0 calc(var(--sp-7) + 20px); }
	.es-hero__inner { grid-template-columns: 1fr 1.05fr; align-items: center; gap: var(--sp-5); }
	.es-hero__catch { font-size: clamp(34px, 3.6vw, 54px); }
	.es-hero__eyebrow { font-size: 16px; }
	.es-hero__lead { font-size: 16px; }
	.es-hero__photo img { aspect-ratio: 5 / 6; border-radius: 260px 36px 260px 36px; }
	.es-hero__chip { width: 26%; }
	.es-hero__chip--hello { left: -40px; bottom: 12%; }
	.es-hero__chip--hibiscus { right: -20px; top: 4%; width: 20%; }
	.es-hero__stamp { width: 128px; height: 128px; right: 4%; }
	.es-hero__stamp b { font-size: 34px; }

	.es-facts__list { grid-template-columns: repeat(3, 1fr); }
	.es-steps__list { grid-template-columns: repeat(4, 1fr); }
	.es-step { padding: 26px 22px; }
	.es-levels__grid { grid-template-columns: repeat(4, 1fr); }
	/* 地図の高さを右の情報欄にそろえる */
	.es-access__grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
	.es-access__map { display: flex; }
	.es-access__map iframe { flex: 1; height: auto; min-height: 440px; }
	.es-band { min-height: 440px; }
}

/* PCメニューは横幅に余裕があるときだけ（それ未満はハンバーガー） */
@media (min-width: 1200px) {
	.es-burger { display: none; }
	.es-nav { position: static; inset: auto; visibility: visible; opacity: 1; transform: none; background: none; padding: 0; overflow: visible; }
	.es-nav__list { display: flex; gap: 2px; white-space: nowrap; }
	.es-nav__list a { border: 0; padding: 8px 10px; font-size: 14px; border-radius: 8px; }
	.es-nav__list a:hover { background: var(--c-turq-l); }
	.es-nav__sp { display: none; }
}

/* ==========================================================================
   下層ページ（pages/*.php）
   ========================================================================== */
.es-footer__note { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); padding: 0 16px 12px; }
.es-footer__nav a[aria-current="page"] { color: var(--c-turq); }

/* ページ上部 */
.es-phero { position: relative; background: var(--c-sand); padding: var(--sp-2) 0 var(--sp-5); overflow: hidden; }
.es-phero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(560px 360px at 100% 0, rgba(60, 198, 192, .26), transparent 70%),
		radial-gradient(420px 280px at 0 100%, rgba(242, 100, 58, .1), transparent 70%);
}
.es-phero__inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.es-crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: var(--c-muted); }
.es-crumb li + li::before { content: "›"; margin: 0 8px; color: #9fb0b6; }
.es-crumb a { color: var(--c-sea); text-decoration: none; }
.es-phero__grid { display: grid; gap: var(--sp-4); margin-top: var(--sp-3); }
.es-phero__en { font-family: var(--ff-en); font-style: italic; color: var(--c-sea); font-size: 15px; line-height: 1.4; }
.es-phero__h1 { margin-top: 8px; color: var(--c-deep); }
.es-phero__kw { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; background: var(--c-deep); color: #fff; padding: 3px 12px; border-radius: 999px; }
.es-phero__title { display: block; margin-top: 12px; font-family: var(--ff-round); font-size: clamp(26px, 7.4vw, 46px); line-height: 1.4; letter-spacing: .03em; }
.es-minsa--left { margin: 16px 0 0; }
.es-phero__lead { margin-top: var(--sp-3); font-size: 15px; color: #33454d; }
.es-phero__lead strong { color: var(--c-deep); }
.es-phero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px 120px 28px 120px; box-shadow: var(--shadow); }

/* 本文 */
.es-prose { display: grid; gap: 1.2em; font-size: 16px; }
.es-prose strong { color: var(--c-deep); background: linear-gradient(transparent 70%, rgba(60, 198, 192, .3) 70%); }

/* 目的別 */
.es-purpose { background: var(--c-sand); }
.es-purpose__grid { display: grid; gap: 14px; }
.es-purpose__card { background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-s); border-top: 4px solid var(--c-turq); }
.es-purpose__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--c-turq-l); color: var(--c-sea); }
.es-purpose__ico .es-ico { width: 24px; height: 24px; }
.es-purpose__card h3 { margin-top: 12px; font-size: 17px; font-weight: 900; color: var(--c-deep); line-height: 1.5; text-wrap: balance; }
.es-purpose__card p { margin-top: 6px; font-size: 14px; color: var(--c-muted); line-height: 1.8; }

/* ポイント */
.es-points__grid { display: grid; gap: 14px; }
.es-points__item { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-s); }
.es-points__no { position: absolute; right: 18px; top: 12px; font-family: var(--ff-en); font-size: 28px; font-weight: 600; color: var(--c-turq-l); line-height: 1; }
.es-points__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--c-coral); color: #fff; }
.es-points__ico .es-ico { width: 24px; height: 24px; }
.es-points__item h3 { margin-top: 12px; font-size: 17px; font-weight: 900; color: var(--c-deep); }
.es-points__item p { margin-top: 6px; font-size: 14px; color: var(--c-muted); line-height: 1.8; }

/* 流れ */
.es-flow { background: var(--c-sand); }
.es-flow__list { display: grid; gap: 14px; }
.es-flow__item { position: relative; background: #fff; border-radius: var(--radius); padding: 20px 20px 20px 92px; box-shadow: var(--shadow-s); min-height: 96px; }
.es-flow__no { position: absolute; left: 18px; top: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--c-deep); color: #fff; display: grid; place-content: center; text-align: center; font-family: var(--ff-en); font-size: 10px; letter-spacing: .08em; line-height: 1.1; }
.es-flow__no b { font-size: 22px; }
.es-flow__item h3 { font-size: 17px; font-weight: 900; color: var(--c-deep); }
.es-flow__item p { margin-top: 4px; font-size: 14px; color: var(--c-muted); line-height: 1.8; }

/* 関連ページ */
.es-related { margin-top: var(--sp-5); background: var(--c-sand); border-radius: var(--radius); padding: 20px; }
.es-related__h { font-weight: 900; color: var(--c-deep); font-size: 16px; }
.es-related ul { display: grid; gap: 8px; margin-top: 10px; }
.es-related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 12px; padding: 12px 16px; color: var(--c-deep); font-weight: 700; text-decoration: none; }
.es-related a .es-ico { color: var(--c-coral); }

@media (min-width: 768px) {
	.es-phero { padding: var(--sp-3) 0 var(--sp-6); }
	.es-phero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: var(--sp-5); }
	.es-purpose__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
	.es-points__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
	.es-flow__list { grid-template-columns: 1fr 1fr; gap: 18px; }
	.es-related ul { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.es-points__grid { grid-template-columns: repeat(3, 1fr); }
	.es-flow__list { grid-template-columns: repeat(4, 1fr); }
	.es-flow__item { padding: 92px 20px 22px; }
	.es-flow__no { top: 20px; }
}

/* 要点ボックス */
.es-summary { padding: var(--sp-5) 0; }
.es-summary__box { border: 2px solid var(--c-turq); border-radius: var(--radius); background: #fff; padding: 20px; box-shadow: var(--shadow-s); }
.es-summary__h { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; color: var(--c-deep); }
.es-summary__h .es-ico { width: 26px; height: 26px; color: #fff; background: var(--c-sea); border-radius: 50%; padding: 5px; }
.es-summary__list { margin-top: 12px; display: grid; gap: 0; }
.es-summary__list > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-top: 1px dashed var(--c-border); }
.es-summary__list dt { font-size: 13px; font-weight: 700; color: var(--c-sea); }
.es-summary__list dd { font-size: 15px; line-height: 1.7; font-weight: 500; }

/* 連絡手段 */
.es-ways { display: grid; gap: 12px; }
.es-ways__item { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); text-decoration: none; color: var(--c-deep); border: 1px solid var(--c-border); transition: transform .2s; }
.es-ways__item:hover { transform: translateY(-2px); }
.es-ways__ico { grid-row: 1 / 4; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c-deep); }
.es-ways__ico .es-ico { width: 26px; height: 26px; }
.es-ways__item--line .es-ways__ico { background: var(--c-line); }
.es-ways__item--form .es-ways__ico { background: var(--c-coral); }
.es-ways__label { font-size: 12px; font-weight: 700; color: var(--c-muted); letter-spacing: .08em; }
.es-ways__main { font-size: 18px; font-weight: 900; line-height: 1.4; }
.es-ways__item--tel .es-ways__main { font-family: var(--ff-en); font-size: 22px; font-weight: 600; }
.es-ways__sub { font-size: 12.5px; color: var(--c-muted); }

/* フォーム */
.es-formsec { background: var(--c-sand); }
.es-form { background: #fff; border-radius: var(--radius-l); padding: var(--sp-4) 20px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.es-form__row { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.es-form__row > label, .es-form__row legend, .es-form__row--2 label { font-weight: 700; color: var(--c-deep); font-size: 15px; padding: 0; }
.es-form__row--2 { gap: 16px; }
.es-form__row--2 > div { display: grid; gap: 8px; }
.es-form__req, .es-form__opt { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 4px; vertical-align: 2px; }
.es-form__req { background: var(--c-coral); color: #fff; }
.es-form__opt { background: #eef2f3; color: var(--c-muted); }
.es-form input[type="text"], .es-form input[type="tel"], .es-form input[type="email"], .es-form select, .es-form textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--c-text); background: #fbfcfc;
	border: 1.5px solid #cfd9db; border-radius: 12px; padding: 12px 14px; line-height: 1.6;
}
.es-form textarea { resize: vertical; min-height: 140px; }
.es-form input:focus, .es-form select:focus, .es-form textarea:focus { outline: 0; border-color: var(--c-sea); box-shadow: 0 0 0 3px rgba(14, 138, 145, .18); background: #fff; }
.es-form__hint { font-size: 13px; color: var(--c-muted); }
.es-form__radios { display: grid; gap: 8px; }
.es-form__radio { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid #cfd9db; border-radius: 12px; cursor: pointer; font-weight: 500; }
.es-form__radio:has(input:checked) { border-color: var(--c-sea); background: var(--c-turq-l); }
.es-form input[type="radio"], .es-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--c-sea); flex: none; }
.es-form__agree label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.es-form__submit { text-align: center; }
.es-form__submit .es-btn { width: 100%; max-width: 360px; }
.es-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.es-form__err { border: 2px solid var(--c-hibis); background: #fff3f4; border-radius: 12px; padding: 14px 16px; color: #8a1c2a; }
.es-form__err p { font-weight: 700; }
.es-form__err ul { margin-top: 6px; display: grid; gap: 4px; font-size: 14px; list-style: disc; padding-left: 1.3em; }
.es-form__done { background: #fff; border-radius: var(--radius-l); padding: var(--sp-4) 20px; box-shadow: var(--shadow); text-align: center; }
.es-form__done-h { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; color: var(--c-sea); }
.es-form__done p + p { margin-top: 10px; }
.es-form__done--demo { border: 2px dashed var(--c-coral); }

/* スクール情報・ポリシー */
.es-info { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; }
.es-info__h { font-size: 18px; font-weight: 900; color: var(--c-deep); }
.es-info dl, .es-policy__dl { margin-top: 10px; }
.es-info dl > div, .es-policy__dl > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-top: 1px dashed var(--c-border); }
.es-info dt, .es-policy__dl dt { font-size: 13px; font-weight: 700; color: var(--c-sea); }
.es-policy h2 { font-size: 18px; font-weight: 900; color: var(--c-deep); margin-top: var(--sp-4); padding-left: 12px; border-left: 4px solid var(--c-turq); line-height: 1.5; }
.es-policy h2:first-child { margin-top: 0; }
.es-policy p { margin-top: 10px; }
.es-policy ul { margin-top: 10px; display: grid; gap: 4px; list-style: disc; padding-left: 1.4em; }

/* 比較表 */
.es-compare__wrap { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
.es-compare__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13.5px; line-height: 1.6; }
.es-compare__table th, .es-compare__table td { padding: 12px 8px; border-bottom: 1px solid var(--c-border); vertical-align: top; text-align: left; }
.es-compare__table thead th { color: #fff; background: var(--c-deep); font-weight: 900; font-size: 14px; text-align: center; vertical-align: middle; }
.es-compare__table thead th:last-child { background: linear-gradient(135deg, var(--c-tile), var(--c-hibis)); }
.es-compare__table thead th:first-child { background: var(--c-sand); width: 21%; }
.es-compare__table th, .es-compare__table td { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 767px) { .es-compare__table { font-size: 13px; } .es-compare__table th, .es-compare__table td { padding: 10px 7px; } .es-compare__table tbody th { font-size: 12px; white-space: nowrap; } .es-compare__table thead th:first-child { width: 22%; } }
.es-compare__table thead small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }
.es-compare__table tbody th { background: var(--c-sand); color: var(--c-deep); font-weight: 700; font-size: 13px; }
.es-compare__table tr:last-child th, .es-compare__table tr:last-child td { border-bottom: 0; }

/* 本文の箇条 */
.es-prose--list p { padding: 14px 16px; background: var(--c-sand); border-radius: 12px; }
.es-prose--list strong { background: none; }

/* 時間帯とレベル */
.es-lvguide__list { display: grid; gap: 14px; }
.es-lvguide__item { border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow-s); border-left: 6px solid var(--c-coral); }
.es-lvguide__item.is-int { border-left-color: #3aa76d; }
.es-lvguide__item.is-adv { border-left-color: #3b6fd1; }
.es-lvguide__time { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-en); font-weight: 600; color: var(--c-deep); font-size: 15px; }
.es-lvguide__item h3 { margin-top: 6px; font-size: 18px; font-weight: 900; color: var(--c-deep); }
.es-lvguide__item p:last-child { margin-top: 6px; font-size: 14px; color: var(--c-muted); line-height: 1.8; }

@media (min-width: 768px) {
	.es-summary__box { padding: 24px 28px; }
	.es-summary__list > div { grid-template-columns: 9em 1fr; gap: 16px; align-items: baseline; }
	.es-ways { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.es-ways__item { grid-template-columns: 1fr; grid-template-rows: none; justify-items: center; text-align: center; row-gap: 4px; padding: 24px 16px; }
	.es-ways__ico { grid-row: auto; margin-bottom: 6px; }
	.es-form { padding: var(--sp-5) 40px; }
	.es-form__row--2 { grid-template-columns: 1fr 1fr; }
	.es-form__row--2 .es-form__hint { grid-column: 1 / -1; }
	.es-form__radios { grid-template-columns: repeat(3, 1fr); }
	.es-info dl > div, .es-policy__dl > div { grid-template-columns: 9em 1fr; gap: 16px; }
	.es-compare__table { font-size: 15px; }
	.es-compare__table th, .es-compare__table td { padding: 16px 18px; }
	.es-lvguide__list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.es-points__grid--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.es-points__grid.es-points__grid--2 { grid-template-columns: 1fr 1fr; max-width: 900px; margin: 0 auto; }
}

/* インプット・アウトプット */
.es-io__grid { display: grid; gap: 14px; }
.es-io__card { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-s); border: 1px solid var(--c-border); text-align: center; }
.es-io__ico { width: 60px; height: 60px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--c-turq-l); color: var(--c-sea); }
.es-io__ico .es-ico { width: 30px; height: 30px; }
.es-io__en { margin-top: 10px; font-family: var(--ff-en); font-style: italic; color: var(--c-coral); font-size: 15px; }
.es-io__card h3 { font-size: 19px; font-weight: 900; color: var(--c-deep); }
.es-io__card p:last-child { margin-top: 8px; font-size: 14px; color: var(--c-muted); line-height: 1.8; text-align: left; }
.es-io__habit { display: flex; align-items: center; gap: 10px; margin-top: var(--sp-3); padding: 16px 18px; border-radius: var(--radius); background: var(--c-deep); color: #fff; font-weight: 700; line-height: 1.7; }
.es-io__habit .es-ico { width: 28px; height: 28px; color: var(--c-turq); }
.es-io__habit strong { color: var(--c-turq); }

/* よくある質問ページ */
.es-faqnav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.es-faqnav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--c-turq-l); color: var(--c-deep); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.es-faqnav a span { font-family: var(--ff-en); font-size: 12px; color: #fff; background: var(--c-sea); border-radius: 999px; min-width: 22px; padding: 0 6px; text-align: center; line-height: 20px; }
.es-faqgroup { margin-top: var(--sp-5); }
.es-faqgroup__h { font-size: 20px; font-weight: 900; color: var(--c-deep); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 3px solid var(--c-turq-l); }

@media (min-width: 768px) {
	.es-io__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* レベルを一部だけ出すとき（初心者ページ：2つ） */
@media (min-width: 768px) {
	.es-levels__grid.es-levels__grid--few { grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; }
}
.es-levels__grid--few + .es-note { text-align: center; }

/* 上部メニュー（PCは主要ページ・スマホは全ページ） */
.es-nav__pc { display: none; }
.es-nav__list a[aria-current="page"] { color: var(--c-sea); }
@media (min-width: 1200px) {
	.es-nav__pc { display: list-item; }
	.es-nav__sponly { display: none; }
	.es-nav__list a { padding: 8px 9px; font-size: 13.5px; }
	.es-nav__list a[aria-current="page"] { background: var(--c-turq-l); }
}

/* 詳しく見る */
.es-more { margin-top: var(--sp-3); text-align: center; }
.es-more a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--c-deep); color: var(--c-deep); background: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none; line-height: 1.4; transition: background-color .2s, color .2s; }
.es-more a:hover { background: var(--c-deep); color: #fff; }
.es-more a .es-ico { color: var(--c-coral); }
.es-more a:hover .es-ico { color: #fff; }
.es-more--2 { display: grid; gap: 10px; margin-top: var(--sp-3); }
.es-more--2 a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--c-deep); color: #fff; font-weight: 700; text-decoration: none; }
.es-more--2 a .es-ico { color: var(--c-turq); }
.es-access__info .es-more { text-align: left; margin: var(--sp-2) 0; }

/* 目的から探す */
.es-finder { padding: var(--sp-5) 0 0; }
.es-finder__h { text-align: center; font-size: 18px; font-weight: 900; color: var(--c-deep); }
.es-finder__h span { display: block; font-family: var(--ff-en); font-style: italic; font-weight: 500; color: var(--c-sea); font-size: 14px; }
.es-finder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--sp-3); }
.es-finder__item { display: grid; justify-items: center; text-align: center; gap: 4px; height: 100%; padding: 16px 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-s); text-decoration: none; color: var(--c-deep); transition: transform .2s, border-color .2s; }
.es-finder__item:hover { transform: translateY(-2px); border-color: var(--c-turq); }
.es-finder__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--c-turq-l); color: var(--c-sea); }
.es-finder__ico .es-ico { width: 22px; height: 22px; }
.es-finder__t { font-weight: 900; font-size: 15px; line-height: 1.4; }
.es-finder__d { font-size: 12px; color: var(--c-muted); line-height: 1.5; }

@media (min-width: 768px) {
	.es-more--2 { grid-template-columns: 1fr 1fr; }
	.es-finder__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1024px) {
	.es-finder__grid { grid-template-columns: repeat(6, 1fr); }
}

/* メニューを開いている間はヘッダーのぼかしを外す（backdrop-filter の中の fixed は画面いっぱいに広がらないため） */
.es-header.is-menu-open, .es-header:has(.es-nav.is-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }

/* 教室の様子（実際の写真） */
.es-room__grid { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.es-room__item { margin: 0; }
.es-room__item img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.es-room__item figcaption { margin-top: 8px; font-size: 13.5px; color: var(--c-muted); }
@media (min-width: 768px) { .es-room__grid { grid-template-columns: repeat(3, 1fr); } }

/* トップのアクセス：右欄の最後に余白を残さない（地図と下端をそろえる） */
@media (min-width: 1024px) { .es-access__info .es-more { margin-bottom: 0; } }

/* 見出しを単語の途中で割らない（Chrome系。Safariは無視して従来どおり） */
h1, h2, h3, .es-feature__h { word-break: auto-phrase; }

/* タブレット幅：下層ページの大見出しが欄に収まらず語の途中で割れるので少し小さく */
@media (min-width: 768px) and (max-width: 1023px) { .es-phero__title { font-size: clamp(26px, 4.2vw, 40px); } }

/* ==========================================================================
   英会話コラム（記事ページ single.php・一覧 /column/）2026-11-12
   ========================================================================== */
.es-chero { background: var(--c-sand); padding: var(--sp-2) 0 var(--sp-4); }
.es-chero__en { margin-top: var(--sp-3); font-family: var(--ff-en); font-style: italic; color: var(--c-sea); font-size: 15px; }
.es-chero__h1 { margin-top: 6px; font-family: var(--ff-round); font-size: clamp(23px, 6vw, 34px); line-height: 1.5; color: var(--c-deep); word-break: auto-phrase; }
.es-chero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; font-size: 13px; color: var(--c-muted); }
.es-chero__cat { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--c-deep); color: #fff; font-size: 12px; font-weight: 700; }
.es-colbody { padding-top: var(--sp-4); }
.es-entry__eyecatch { margin: 0 0 var(--sp-3); }
.es-entry__eyecatch img { width: 100%; height: auto; border-radius: var(--radius); }
.es-toc { margin: 0 0 var(--sp-4); padding: 18px 20px; background: #fff; border: 2px solid var(--c-turq-l); border-radius: var(--radius); }
.es-toc__h { font-weight: 900; color: var(--c-deep); }
.es-toc ol { margin: 8px 0 0; padding-left: 1.4em; font-size: 14.5px; line-height: 1.8; }
.es-toc li.is-sub { list-style: none; margin-left: 1em; font-size: 13.5px; }
.es-toc li.is-sub::before { content: "– "; color: var(--c-muted); }
.es-toc a { color: var(--c-sea); text-decoration: none; }
.es-entry { font-size: 16px; line-height: 2; color: var(--c-text); overflow-wrap: anywhere; }
.es-entry > * + * { margin-top: 1.1em; }
.es-entry h2 { margin-top: 2.2em; padding: 12px 16px; font-size: clamp(19px, 4.8vw, 23px); line-height: 1.55; color: #fff; background: var(--c-deep); border-radius: 12px; scroll-margin-top: 90px; }
.es-entry h3 { margin-top: 1.8em; padding: 0 0 6px 12px; font-size: clamp(17px, 4.3vw, 19px); line-height: 1.6; color: var(--c-deep); border-left: 5px solid var(--c-turq); border-bottom: 1px dashed var(--c-border); scroll-margin-top: 90px; }
.es-entry ul, .es-entry ol { padding-left: 1.4em; }
.es-entry ul { list-style: disc; }
.es-entry ol { list-style: decimal; }
.es-entry li::marker { color: var(--c-sea); font-weight: 700; }
.es-entry li + li { margin-top: .3em; }
.es-entry strong { background: linear-gradient(transparent 62%, rgba(60, 198, 192, .3) 62%); font-weight: 700; }
.es-entry a { color: var(--c-sea); text-decoration: underline; text-underline-offset: 3px; }
.es-entry blockquote { margin-left: 0; padding: 12px 16px; background: var(--c-sand); border-radius: 12px; }
.es-entry__table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.es-entry table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.7; }
.es-entry th, .es-entry td { padding: 10px 12px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.es-entry th { background: var(--c-turq-l); color: var(--c-deep); font-weight: 700; }
.es-entry--locked { padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); }
.es-entry--locked input[type="password"] { margin: 8px 8px 0 0; padding: 8px 12px; border: 1px solid var(--c-border); border-radius: 8px; font-size: 16px; }
.es-entry--locked input[type="submit"] { margin-top: 8px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--c-deep); color: #fff; font-weight: 700; cursor: pointer; }
.es-entry__by { margin-top: var(--sp-5); padding: 16px 18px; background: var(--c-sand); border-radius: 12px; font-size: 14px; line-height: 1.8; color: #33454d; }
.es-entry__by a { color: var(--c-sea); }
.es-ccards { display: grid; gap: var(--sp-3); }
.es-ccard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; }
.es-ccard__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.es-ccard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-turq-l); }
.es-ccard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.es-ccard__link:hover .es-ccard__img img { transform: scale(1.04); }
.es-ccard__body { display: block; padding: 16px 18px 20px; }
.es-ccard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--c-muted); }
.es-ccard__cat { padding: 1px 9px; border-radius: 999px; background: var(--c-turq-l); color: var(--c-sea); font-weight: 700; }
.es-ccard__title { display: block; margin-top: 8px; font-size: 16px; font-weight: 900; line-height: 1.6; color: var(--c-deep); }
.es-colrel { background: var(--c-sand); }
@media (min-width: 768px) {
	.es-ccards { grid-template-columns: repeat(2, 1fr); }
	.es-toc { padding: 22px 28px; }
}
@media (min-width: 1024px) {
	.es-ccards { grid-template-columns: repeat(3, 1fr); }
}
