/* ============================================================
 * 眞墨書道教室 テーマ
 * 白をベースに、紺（--navy）を線・ボタン・フッターに、赤（--red）は体験レッスンだけに使う
 * ============================================================ */
:root {
	--navy: #000c2e;
	--red: #ba2636;
	--ink: #1c1f28;
	--sub: #5d6272;
	--line: #e1e3ea;
	--mist: #f4f5f8;
	--paper: #ffffff;
	--mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
	--gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
	--wrap: 1200px;
	--text: 820px;
	--hd: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--gothic);
	font-size: 16px;
	line-height: 1.95;
	letter-spacing: .04em;
	font-feature-settings: "palt" 0;
	overflow-wrap: anywhere;
}
h1, h2, h3, .hero__copy, .hero__lead, .sh__lead, .cls__lead, .ph__lead, .trial__text p, .card__title, .nrow__title { word-break: auto-phrase; }
img, video { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--navy); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.5; margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 32px; }
.wrap--text { max-width: calc(var(--text) + 64px); }

/* ボタン */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: 0 30px;
	border: 1px solid var(--navy); background: var(--navy); color: #fff;
	font-size: 15px; font-weight: 500; letter-spacing: .1em; text-decoration: none;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: #fff; color: var(--navy); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: #fff; color: var(--red); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }

.more {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 14.5px; letter-spacing: .08em; color: var(--navy); text-decoration: none;
	padding-bottom: 4px; border-bottom: 1px solid var(--navy);
}
.more::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.more:hover::after { width: 30px; }

/* ============================================================
 * ヘッダー
 * ============================================================ */
.hd {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(8px);
}
.hd__in { display: flex; align-items: center; gap: 24px; height: var(--hd); max-width: 1480px; margin: 0 auto; padding: 0 32px; }
.hd__logo { flex: none; display: block; }
.hd__logo img { width: auto; height: 52px; display: block; }
.hd__nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.gnav { list-style: none; display: flex; gap: 4px; }
.gnav__item { position: relative; }
.gnav__link {
	display: block; padding: 10px 12px; font-size: 14.5px; letter-spacing: .1em;
	color: var(--ink); text-decoration: none; position: relative;
}
.gnav__link::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
	background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.gnav__item:hover .gnav__link::after, .gnav__item.is-current .gnav__link::after { transform: scaleX(1); }
.gnav__toggle { display: none; }
.gnav__sub {
	list-style: none; position: absolute; top: 100%; left: 50%; min-width: 220px;
	transform: translate(-50%, 6px); padding: 12px 0;
	background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--navy);
	opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.gnav__item:hover .gnav__sub, .gnav__item:focus-within .gnav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnav__sub a { display: block; padding: 8px 22px; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.gnav__sub a:hover, .gnav__sub a[aria-current] { color: var(--navy); background: var(--mist); }
.hd__btns { display: flex; gap: 8px; }
.hd__menu { display: none; }

@media (max-width: 1180px) {
	:root { --hd: 68px; }
	.hd__in { padding: 0 16px; }
	.hd__logo img { height: 42px; }
	.hd__menu {
		display: block; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer;
	}
	.hd__menu span:first-child, .hd__menu span:first-child::before, .hd__menu span:first-child::after {
		position: absolute; left: 10px; width: 24px; height: 1.5px; background: var(--navy); content: ""; transition: transform .3s var(--ease), opacity .2s;
	}
	.hd__menu span:first-child { top: 21px; }
	.hd__menu span:first-child::before { left: 0; top: -7px; }
	.hd__menu span:first-child::after { left: 0; top: 7px; }
	.hd__menu[aria-expanded="true"] span:first-child { background: transparent; }
	.hd__menu[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
	.hd__menu[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
	.hd__nav {
		position: fixed; inset: var(--hd) 0 0 0; display: block; overflow-y: auto;
		background: #fff; padding: 16px 16px 48px;
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
	}
	.is-menu-open .hd__nav { visibility: visible; opacity: 1; transform: none; }
	.is-menu-open { overflow: hidden; }
	.gnav { display: block; }
	.gnav__item { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 52px; }
	.gnav__link { padding: 16px 4px; font-size: 16px; }
	.gnav__link::after { display: none; }
	.gnav__toggle { display: block; border: 0; background: none; position: relative; cursor: pointer; }
	.gnav__toggle::before, .gnav__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s; }
	.gnav__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
	.gnav__toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%); }
	.gnav__sub {
		grid-column: 1 / -1; position: static; transform: none; opacity: 1; visibility: visible;
		border: 0; padding: 0 0 12px 12px; display: none; min-width: 0;
	}
	.gnav__item.is-open .gnav__sub { display: block; }
	.gnav__item:hover .gnav__sub { transform: none; }
	.gnav__sub a { padding: 10px 8px; font-size: 15px; white-space: normal; }
	.hd__btns { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.hd__btns .btn { min-height: 52px; font-size: 15px; }
}

/* ============================================================
 * トップ：最初の画面
 * ============================================================ */
.hero {
	display: grid; grid-template-columns: minmax(0, 1fr) clamp(360px, 34vw, 520px);
	height: calc(100svh - var(--hd)); min-height: 600px; max-height: 920px;
}
.hero__media { position: relative; overflow: hidden; background: var(--navy); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 12, 46, 0) 55%, rgba(0, 12, 46, .28)); }
.hero__body {
	display: flex; flex-direction: row-reverse; align-items: stretch; gap: clamp(20px, 2.4vw, 40px);
	padding: clamp(40px, 5vw, 72px) clamp(28px, 3.4vw, 56px);
}
.hero__name {
	writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 600; color: var(--navy);
	font-size: clamp(46px, 5.2vw, 82px); letter-spacing: .26em; line-height: 1;
	padding-left: clamp(18px, 2vw, 30px); border-left: 1px solid var(--navy);
	animation: msRise 1.4s var(--ease) both;
}
.hero__text { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; animation: msRise 1.4s .25s var(--ease) both; }
.hero__since { font-size: 13px; letter-spacing: .18em; color: var(--sub); }
.hero__copy { font-family: var(--mincho); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.6; color: var(--ink); letter-spacing: .08em; }
.hero__lead { font-size: 14.5px; line-height: 2; color: var(--sub); }
.hero__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.hero__btns .btn { width: 100%; }
@keyframes msRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; height: auto; max-height: none; min-height: 0; }
	.hero__media { height: 58svh; min-height: 320px; }
	.hero__body { padding: 32px 16px 40px; gap: 18px; }
	.hero__name { font-size: 44px; }
	.hero__copy { font-size: 22px; }
}

/* ============================================================
 * トップ：お知らせ
 * ============================================================ */
.fnews { border-bottom: 1px solid var(--line); }
.fnews__in { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: start; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.fnews__h { font-family: var(--mincho); font-size: 22px; letter-spacing: .14em; padding-top: 10px; }
.fnews .more { margin-top: 14px; white-space: nowrap; }
.nlist { list-style: none; }
.nrow { border-bottom: 1px solid var(--line); }
.nrow:first-child { border-top: 1px solid var(--line); }
.nrow a { display: grid; grid-template-columns: 96px 150px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 16px 4px; text-decoration: none; color: var(--ink); transition: background .2s; }
.nrow a:hover { background: var(--mist); }
.nrow time { font-size: 14px; color: var(--sub); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.nrow__cat { font-size: 12.5px; color: var(--navy); border: 1px solid var(--line); padding: 2px 10px; justify-self: start; line-height: 1.7; }
.nrow__title { font-size: 15.5px; }
.nlist--page { margin-top: 8px; }
@media (max-width: 900px) {
	.fnews__in { grid-template-columns: 1fr; gap: 16px; padding-top: 36px; padding-bottom: 36px; }
	.fnews__h { padding-top: 0; }
	.nrow a { grid-template-columns: auto 1fr; gap: 6px 12px; }
	.nrow__title { grid-column: 1 / -1; }
}

/* ============================================================
 * トップ：共通の見出し
 * ============================================================ */
.sh { margin-bottom: 48px; }
.sh--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sh__h {
	font-family: var(--mincho); font-size: clamp(28px, 3vw, 40px); letter-spacing: .12em; line-height: 1.45; color: var(--ink);
}
.sh__h::after { content: ""; display: block; width: 40px; height: 1px; background: var(--navy); margin-top: 20px; }
.sh__lead { margin-top: 18px; color: var(--sub); max-width: 40em; }

/* ============================================================
 * トップ：クラスのご案内
 * ============================================================ */
.classes { padding: 120px 0 80px; }
.cls { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: 96px; }
.cls:nth-of-type(even) .cls__img { order: 2; }
.cls__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.cls__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cls__img:hover img { transform: scale(1.03); }
.cls__age { font-size: 13.5px; color: var(--navy); letter-spacing: .14em; margin-bottom: 10px; }
.cls__h { font-family: var(--mincho); font-size: clamp(28px, 2.8vw, 38px); letter-spacing: .12em; }
.cls__h a { color: var(--ink); text-decoration: none; }
.cls__h a:hover { color: var(--navy); }
.cls__lead { margin-top: 20px; color: var(--sub); }
.cls__links { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.cls__links li { border-bottom: 1px solid var(--line); }
.cls__links a {
	display: flex; justify-content: space-between; align-items: center; padding: 13px 4px;
	color: var(--ink); text-decoration: none; font-size: 15px; transition: padding .25s var(--ease), color .2s;
}
.cls__links a::after { content: ""; width: 7px; height: 7px; border-top: 1px solid var(--navy); border-right: 1px solid var(--navy); transform: rotate(45deg); }
.cls__links a:hover { color: var(--navy); padding-left: 10px; }
@media (max-width: 900px) {
	.classes { padding: 72px 0 32px; }
	.cls { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
	.cls:nth-of-type(even) .cls__img { order: 0; }
}

/* ============================================================
 * トップ：実績・講師
 * ============================================================ */
.award { background: var(--mist); padding: 110px 0; }
.award__in, .teacher__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.award__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.award__body p, .teacher__body p { margin-top: 28px; }
.award__links { list-style: none; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.award__links a { display: block; padding: 10px 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; transition: border-color .2s, color .2s; }
.award__links a:hover { border-color: var(--navy); color: var(--navy); }
.teacher { padding: 120px 0; }
.teacher__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.teacher__links { display: flex; gap: 28px; flex-wrap: wrap; }
.teacher__img { margin: 0; justify-self: center; max-width: 380px; }
.teacher__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.teacher__img figcaption { margin-top: 14px; font-size: 13.5px; color: var(--sub); letter-spacing: .08em; text-align: center; }
@media (max-width: 900px) {
	.award, .teacher { padding: 72px 0; }
	.award__in, .teacher__in { grid-template-columns: 1fr; }
	.teacher__img { order: -1; max-width: 280px; }
}

/* ============================================================
 * トップ：ローズガーデン
 * ============================================================ */
.garden { padding: 110px 0; border-top: 1px solid var(--line); }
.garden .sh { margin-bottom: 40px; }
.garden__row {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
	position: relative; width: calc(100% - 64px); max-width: var(--wrap); margin: 0 auto; padding: 0; scrollbar-width: thin;
}
.garden__row { scrollbar-width: none; cursor: grab; }
.garden__row::-webkit-scrollbar { display: none; }
.garden__row:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.garden__row.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
/* 高さはそろえ、写真は切らずに全体を見せる。画面より幅が広い写真は、高さはそのままで上下に余白を入れて収める */
.garden__item { flex: none; margin: 0; height: clamp(240px, 30vw, 420px); scroll-snap-align: start; }
.garden__item img { display: block; height: 100%; width: auto; max-width: calc(100vw - 32px); object-fit: contain; pointer-events: none; }
.garden__foot { display: flex; align-items: center; gap: 20px 32px; margin-top: 32px; color: var(--sub); flex-wrap: wrap; }
.garden__addr { margin-right: auto; }
.garden__ctrl { display: flex; gap: 8px; }
.garden__btn {
	display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
	border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer;
	transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.garden__btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.garden__btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.garden__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.garden__btn--play { margin-left: 8px; }
.garden__btn .i-play { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.garden__btn--play .i-play, .garden__btn--play[aria-pressed="true"] .i-pause { display: none; }
.garden__btn--play[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 900px) {
	.garden { padding: 72px 0; }
	.garden__row { width: calc(100% - 32px); }
	.garden__ctrl { order: -1; width: 100%; }
	.garden__btn { width: 44px; height: 44px; }
}

/* ============================================================
 * カード（ブログ・お知らせの一覧）
 * ============================================================ */
.fblog { padding: 0 0 110px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.card__link { display: block; color: var(--ink); text-decoration: none; }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__link:hover .card__img img { transform: scale(1.04); }
.card__ph { display: grid; place-items: center; height: 100%; padding: 24px; font-family: var(--mincho); font-size: 18px; color: var(--navy); text-align: center; line-height: 1.6; }
.card__body { padding-top: 16px; }
.card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--sub); }
.card__meta span { color: var(--navy); }
.card__title { margin-top: 8px; font-size: 16.5px; font-weight: 500; line-height: 1.7; }
.card__link:hover .card__title { color: var(--navy); }
@media (max-width: 900px) {
	.fblog { padding-bottom: 72px; }
	.cards { grid-template-columns: 1fr; gap: 36px; }
}
@media (min-width: 601px) and (max-width: 900px) {
	.cards { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
 * 下層ページの見出し・小さな目次・パンくず
 * ============================================================ */
.ph { padding: 56px 0 44px; }
.bc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; color: var(--sub); }
.bc li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.bc a { color: var(--sub); text-decoration: none; }
.bc a:hover { color: var(--navy); }
.ph__sec { margin-top: 40px; font-size: 13.5px; letter-spacing: .16em; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.ph__sec::before { content: ""; width: 24px; height: 1px; background: var(--navy); }
.ph__title { margin-top: 12px; font-family: var(--mincho); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .12em; line-height: 1.45; }
.ph__sec + .ph__title { margin-top: 10px; }
.bc + .ph__title { margin-top: 40px; }
.ph__lead { margin-top: 18px; color: var(--sub); max-width: 40em; }
.subnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.subnav ul { list-style: none; display: flex; gap: 0 4px; max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 20px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
	display: block; padding: 16px 14px; font-size: 14px; letter-spacing: .06em; white-space: nowrap;
	color: var(--sub); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.subnav a:hover { color: var(--navy); }
.subnav a[aria-current] { color: var(--navy); border-bottom-color: var(--navy); font-weight: 500; }
.ph + .wrap { margin-top: 8px; }
.ph:not(:has(+ .subnav)) { border-bottom: 1px solid var(--line); margin-bottom: 64px; }
@media (max-width: 900px) {
	.ph { padding: 32px 0 28px; }
	.ph__sec { margin-top: 28px; }
	.subnav { margin-bottom: 40px; }
	.subnav ul { padding: 0 6px; }
	.ph:not(:has(+ .subnav)) { margin-bottom: 40px; }
}

/* 一覧の絞り込み */
.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tabs a { display: block; padding: 6px 16px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); text-decoration: none; }
.tabs a:hover { border-color: var(--navy); color: var(--navy); }
.tabs a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { color: var(--sub); }

/* ページ送り */
.pagination { margin: 64px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--navy); color: var(--navy); }

/* 記事 */
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--sub); margin-bottom: 32px; }
.post__cat { font-size: 12.5px; padding: 2px 10px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.post__eyecatch { margin: 0 0 40px; }
.post__eyecatch img { width: 100%; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 80px 0 0; border-top: 1px solid var(--line); padding-top: 32px; }
.pnav a { display: block; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.7; }
.pnav a span { display: block; font-size: 12.5px; color: var(--sub); margin-bottom: 4px; }
.pnav a:hover { color: var(--navy); }
.pnav__next { grid-column: 2; text-align: right; }
@media (max-width: 600px) { .pnav { grid-template-columns: 1fr; } .pnav__next { grid-column: 1; text-align: left; } }

/* 検索 */
.search { display: flex; max-width: 520px; margin: 0 0 32px; }
.search input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-right: 0; font: inherit; }
.search button { padding: 0 24px; border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; }

/* ============================================================
 * 本文
 * ============================================================ */
.entry { font-size: 16.5px; line-height: 2.05; }
.entry > * + * { margin-top: 1.4em; }
.entry p:empty { display: none; }
.entry h2 {
	margin-top: 3.2em; margin-bottom: 1.2em; padding-bottom: .7em;
	font-family: var(--mincho); font-size: clamp(23px, 2.4vw, 29px); letter-spacing: .08em; line-height: 1.6;
	border-bottom: 1px solid var(--line); position: relative;
}
.entry h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 1px; background: var(--navy); }
.entry h3 {
	margin-top: 2.6em; margin-bottom: 1em; padding-left: 16px; border-left: 2px solid var(--navy);
	font-family: var(--mincho); font-size: clamp(19px, 2vw, 22px); letter-spacing: .06em; line-height: 1.65;
}
.entry h4 { margin-top: 2em; margin-bottom: .6em; font-size: 17.5px; font-weight: 700; color: var(--navy); }
.entry h5, .entry h6 { margin-top: 1.8em; margin-bottom: .4em; font-size: 16.5px; font-weight: 700; }
.entry > :first-child { margin-top: 0; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li + li { margin-top: .4em; }
.entry img { height: auto; }
.entry .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 46%; }
.entry .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 46%; }
.entry::after { content: ""; display: table; clear: both; }
.entry .wp-caption { max-width: 100%; }
.entry .wp-caption-text { font-size: 13.5px; color: var(--sub); margin-top: .5em; }
.entry blockquote { margin-left: 0; margin-right: 0; padding: 1.2em 1.6em; background: var(--mist); border-left: 2px solid var(--navy); }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.entry iframe { max-width: 100%; }
/* 古い記事に残っている字体の指定は使わない（文字の大きさ・色は残す） */
.entry [style*="font-family"] { font-family: inherit !important; }

/* 表 */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry table { width: 100% !important; height: auto !important; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.entry th, .entry td { border: 1px solid var(--line); padding: 12px 14px; vertical-align: top; height: auto !important; text-align: left; }
.entry th { background: var(--mist); font-weight: 500; white-space: nowrap; }
.entry tr[style] { height: auto !important; }

/* 旧テーマの見出し */
.entry .design_headline1 {
	border: 0; padding: 0; text-align: center; margin: 2.4em 0 1.2em;
	font-size: clamp(24px, 2.8vw, 34px); letter-spacing: .12em; line-height: 1.7; white-space: pre-line;
}
.entry .design_headline1::after { position: static; display: block; margin: .8em auto 0; width: 40px; }
.entry .design_headline2, .entry .design_headline3, .entry .style3a, .entry .style3b, .entry .style4a, .entry .styled_h3 {
	padding-left: 16px; border-left: 2px solid var(--navy); border-bottom: 0;
	font-family: var(--mincho); font-size: clamp(19px, 2vw, 22px); letter-spacing: .06em; line-height: 1.65;
}
.entry .design_headline2::after, .entry .style3a::after { display: none; }
.entry .styled_h5 { padding: .5em 1em; background: var(--mist); font-size: 16px; }
.entry .styled_h2 { font-family: var(--mincho); }

/* 旧テーマの段組み */
.entry .post_row { display: flex; flex-wrap: wrap; gap: 1.6em 4%; }
.entry .post_row > * { margin-top: 0; }
.entry .post_col { min-width: 0; }
.entry .post_col > :first-child { margin-top: 0; }
.entry .post_col > * + * { margin-top: 1em; }
.entry .post_col-2 { width: 48%; }
.entry .post_col-3 { width: 30.66%; }
.entry > .post_col { display: inline-block; vertical-align: top; margin-top: 1.4em; }
.entry > .post_col-2:not(:has(+ .post_col)) , .entry > .post_col-2 + .post_col-2 { margin-left: 3.4%; }
.entry > .post_col-2:not(.post_col-2 + .post_col-2) { margin-left: 0; }
.entry .post_col img { width: 100%; }
@media (max-width: 700px) {
	.entry .post_col-2, .entry .post_col-3 { width: 100%; }
	.entry > .post_col { display: block; margin-left: 0 !important; }
}

/* 囲み */
.entry .gray_bg { background: var(--mist); padding: 2em 2.2em; }
.entry .gray_bg > :first-child { margin-top: 0; }
.entry .well2 { border: 1px solid var(--line); padding: 1.4em 1.6em; background: #fff; }
@media (max-width: 600px) { .entry .gray_bg { padding: 1.4em 1.2em; } }

/* 旧テーマのボタン */
.entry .q_button_wrap { text-align: center; margin: 2em 0; }
.entry .q_button, .entry .q_custom_button, .entry .design_button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .6em 2.2em;
	background: var(--navy); color: #fff !important; border: 1px solid var(--navy); text-decoration: none;
	font-size: 15px; letter-spacing: .08em; line-height: 1.6; text-align: center; transition: background .25s, color .25s;
}
.entry .q_button:hover, .entry .q_custom_button:hover, .entry .design_button:hover { background: #fff; color: var(--navy) !important; }
.entry .bt_red, .entry .q_custom_button1 { background: var(--red); border-color: var(--red); }
.entry .bt_red:hover, .entry .q_custom_button1:hover { color: var(--red) !important; }

/* 動画 */
.entry .ytube, .entry .ytube iframe { width: 100%; }
.entry .ytube iframe, .entry iframe[src*="youtube"] { display: block; aspect-ratio: 16 / 9; height: auto; width: 100%; }

/* 吹き出し */
.balloon { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; align-items: start; }
.balloon__who { text-align: center; }
.balloon__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto; }
.balloon__name { display: block; margin-top: 6px; font-size: 12px; color: var(--sub); line-height: 1.4; }
.balloon__text { position: relative; background: var(--mist); padding: 1.1em 1.4em; font-size: 15.5px; line-height: 1.95; }
.balloon__text::before { content: ""; position: absolute; left: -10px; top: 24px; border: 6px solid transparent; border-right: 10px solid var(--mist); border-left: 0; }
.balloon__text > * + * { margin-top: .8em; }

/* Q&A */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 44px; font-weight: 500; line-height: 1.7; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q"; position: absolute; left: 6px; top: 17px; font-family: var(--mincho); font-size: 20px; color: var(--navy); }
.faq__q::after { content: ""; position: absolute; right: 14px; top: 28px; width: 9px; height: 9px; border-right: 1px solid var(--navy); border-bottom: 1px solid var(--navy); transform: rotate(45deg); transition: transform .25s; }
.faq__item[open] .faq__q::after { transform: translate(0, 4px) rotate(-135deg); }
.faq__a { padding: 0 16px 24px 44px; position: relative; color: var(--ink); }
.faq__a::before { content: "A"; position: absolute; left: 6px; top: -3px; font-family: var(--mincho); font-size: 20px; color: var(--red); }
.faq__a > * + * { margin-top: .8em; }

/* カード型リンク */
.clink { display: flex; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.clink:hover { border-color: var(--navy); }
.clink__img { flex: none; width: 96px; }
.clink__img img { width: 96px; height: 96px; object-fit: cover; }
.clink__title { display: block; font-weight: 500; color: var(--navy); }
.clink__desc { display: block; font-size: 13.5px; color: var(--sub); line-height: 1.7; margin-top: 4px; }

/* お問合せフォーム */
.entry .wpcf7 input[type="text"], .entry .wpcf7 input[type="email"], .entry .wpcf7 input[type="tel"], .entry .wpcf7 select, .entry .wpcf7 textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); font: inherit; background: #fff;
}
.entry .wpcf7 input:focus, .entry .wpcf7 textarea:focus { border-color: var(--navy); outline: none; }
.entry .wpcf7 input[type="submit"] { min-height: 56px; padding: 0 48px; background: var(--red); border: 1px solid var(--red); color: #fff; font: inherit; letter-spacing: .12em; cursor: pointer; }
.entry .wpcf7 input[type="submit"]:hover { background: #fff; color: var(--red); }
.ms-hp { position: absolute !important; left: -9999px !important; }

/* フォームの組み（CF7 のフォームの中で <div class="ms-form"> を使う） */
.entry .ms-form { border-top: 2px solid var(--navy); }
.entry .ms-form__row { display: flow-root; margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.entry .ms-form__label { float: left; width: 220px; padding: 10px 0 0; font-size: 15.5px; font-weight: 600; line-height: 1.6; color: var(--navy); }
.entry .ms-form__field { margin-left: 252px; }
.entry .ms-form__field > * + * { margin-top: 8px; }
.entry .ms-form__req { display: inline-block; margin-left: 8px; padding: 0 6px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.7; letter-spacing: .06em; vertical-align: 2px; }
.entry .ms-form__help { font-size: 13.5px; line-height: 1.8; color: var(--sub); }
.entry .ms-form.is-ready [data-course]:not(.is-open) { display: none; }
.entry .ms-form .wpcf7-checkbox, .entry .ms-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.entry .ms-form .wpcf7-list-item { margin: 0; }
.entry .ms-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); background: #fff; font-size: 15px; line-height: 1.5; cursor: pointer; transition: border-color .2s, background .2s; }
.entry .ms-form .wpcf7-list-item label:hover { border-color: var(--navy); }
.entry .ms-form .wpcf7-list-item label:has(input:checked) { border-color: var(--navy); background: var(--mist); color: var(--navy); }
.entry .ms-form .wpcf7-list-item input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.entry .ms-form .wpcf7-list-item input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.entry .ms-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13.5px; color: var(--red); }
.entry .ms-form .wpcf7-not-valid { border-color: var(--red); }
.entry .ms-form__note { margin-top: 24px; font-size: 14px; line-height: 1.9; color: var(--sub); }
.entry .ms-form__submit { margin-top: 24px; text-align: center; }
.entry .wpcf7 .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border: 1px solid var(--line); font-size: 15px; }
.entry .wpcf7 form.invalid .wpcf7-response-output, .entry .wpcf7 form.unaccepted .wpcf7-response-output, .entry .wpcf7 form.failed .wpcf7-response-output, .entry .wpcf7 form.spam .wpcf7-response-output { border-color: var(--red); color: var(--red); }
.entry .wpcf7 form.sent .wpcf7-response-output { border-color: var(--navy); background: var(--mist); color: var(--navy); }
@media (max-width: 700px) {
	.entry .ms-form__label { float: none; width: auto; padding: 0 0 8px; }
	.entry .ms-form__field { margin-left: 0; }
	.entry .wpcf7 input[type="submit"] { width: 100%; padding: 0 16px; }
}

/* ============================================================
 * 体験レッスンへの案内（各ページの最後）
 * ============================================================ */
#main { padding-bottom: 120px; }
.trial { background: var(--mist); padding: 88px 0; }
.is-front .trial { margin-top: 0; }
.trial__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: center; }
.trial__h { font-family: var(--mincho); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: .12em; color: var(--navy); }
.trial__text p { margin-top: 16px; color: var(--sub); }
.trial__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trial__line { grid-column: 1 / -1; justify-self: center; font-size: 14px; color: var(--navy); margin-top: 6px; }
@media (max-width: 900px) {
	.trial { padding: 56px 0; margin-top: 80px; }
	.trial__in { grid-template-columns: 1fr; }
	.trial__btns { grid-template-columns: 1fr; }
}

/* ============================================================
 * フッター
 * ============================================================ */
.ft { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 14px; }
.ft a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; padding-top: 80px; padding-bottom: 64px; max-width: 1400px; }
.ft__logo img { width: 92px; height: auto; }
.ft__addr { font-style: normal; margin-top: 28px; line-height: 2; }
.ft__addr strong { display: block; color: #fff; font-weight: 500; }
.ft__ext { list-style: none; margin-top: 24px; display: grid; gap: 6px; }
.ft__ext a::after { content: " ↗"; font-size: 11px; opacity: .6; }
.ft__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.ft__h { font-family: var(--mincho); font-size: 16px; font-weight: 600; letter-spacing: .12em; color: #fff; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.ft__h a { color: #fff; }
.ft__col ul { list-style: none; display: grid; gap: 6px; }
.ft__col li { line-height: 1.7; }
.ft__copy { text-align: center; padding: 22px 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
@media (max-width: 1100px) {
	.ft__in { grid-template-columns: 1fr; gap: 48px; }
	.ft__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.ft__in { padding-top: 56px; padding-bottom: 40px; }
	.ft__nav { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 16px; }
	body { font-size: 15.5px; }
	.entry { font-size: 16px; }
	.sh { margin-bottom: 32px; }
}

/* 古い記事の表に付いている背景色（水色・桃色・緑など）は、落ち着いた灰青にそろえる */
.entry td[style*="background"], .entry th[style*="background"], .entry tr[style*="background"] > * { background: var(--mist) !important; }

/* ============================================================
 * 本文の部品（固定ページを組み直すときに使う）
 *   ms-split     写真と文の2段組み（--img-narrow 写真を細く／--box 灰青の囲み）
 *   ms-lead-h    2段組みの中の大きな見出し
 *   ms-goals     番号（一・二・三…）付きの項目
 *   ms-photos    写真の並び（2枚＋横長1枚）
 *   ms-check     チェックの付いた箇条書き
 *   ms-figure    1枚の写真と説明
 *   ms-next      ページの最後の「次に見るページ」
 *   ms-split--rev 写真を右に置く（スマホでは写真が上）
 *   ms-quote     本文から抜き出した一節（明朝・左に線）
 *   ms-sign      手紙の最後の日付と署名
 * ============================================================ */
.entry .ms-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.entry .ms-split--img-narrow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); align-items: start; }
.entry .ms-split--box { background: var(--mist); padding: 32px; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.entry .ms-split__img { margin: 0; }
.entry .ms-split__img img { width: 100%; }
.entry .ms-split__body > * + * { margin-top: 1.1em; }
.entry .ms-split__body > :first-child { margin-top: 0; }
.entry .ms-split--box h3 { margin: 0; }
.entry .ms-lead-h {
	margin: 0 0 1.2em; padding: 0; border: 0;
	font-size: clamp(24px, 2.6vw, 31px); letter-spacing: .1em; line-height: 1.6;
}
.entry .ms-lead-h::after { position: static; display: block; margin-top: .7em; width: 40px; }

.entry .ms-goals { list-style: none; padding: 0; counter-reset: goal; border-top: 1px solid var(--line); }
.entry .ms-goals > li { counter-increment: goal; display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); margin: 0; }
.entry .ms-goals > li::before {
	content: counter(goal, cjk-decimal); grid-row: 1 / span 9;
	font-family: var(--mincho); font-size: 44px; line-height: 1; color: var(--navy); text-align: center; padding-top: 2px;
}
.entry .ms-goals h3 { margin: 0 0 .6em; padding: 0; border: 0; font-size: clamp(19px, 2vw, 22px); }
.entry .ms-goals p + p { margin-top: .9em; }

.entry .ms-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry .ms-photos figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.entry .ms-photos .ms-photos__wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.entry .ms-photos img { width: 100%; height: 100%; object-fit: cover; }

.entry .ms-check { list-style: none; padding: 0; }
.entry .ms-check li { position: relative; padding-left: 1.9em; }
.entry .ms-check li::before {
	content: ""; position: absolute; left: .2em; top: .62em; width: .9em; height: .5em;
	border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}
.entry .ms-check li + li { margin-top: .5em; }

.entry .ms-figure { margin-left: 0; margin-right: 0; }
.entry .ms-figure img { width: 100%; }
.entry .ms-figure figcaption { margin-top: .8em; font-size: 14px; color: var(--sub); line-height: 1.8; }

.entry .ms-next { margin-top: 4em; padding-top: 2em; border-top: 1px solid var(--line); }
.entry .ms-next__h { font-family: var(--mincho); font-size: 20px; letter-spacing: .1em; }
.entry .ms-next__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 1em; }
.entry .ms-next__links a {
	display: block; padding: 18px 20px; border: 1px solid var(--line); text-decoration: none;
	color: var(--navy); font-weight: 500; line-height: 1.6; transition: border-color .2s, background .2s;
}
.entry .ms-next__links a span { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--sub); }
.entry .ms-next__links a:hover { border-color: var(--navy); background: var(--mist); }

.entry .ms-split--rev { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.entry .ms-split--img-narrow.ms-split--rev { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); }
.entry .ms-split--rev > .ms-split__img { order: 2; }
.entry .ms-split__img figcaption { margin-top: .8em; font-size: 13px; color: var(--sub); letter-spacing: .08em; text-align: center; }

.entry .ms-quote {
	margin: 1.6em 0 2em; padding: .2em 0 .2em 1.4em; border-left: 2px solid var(--navy);
	font-family: var(--mincho); font-size: clamp(17px, 1.9vw, 21px); line-height: 2.1; color: var(--navy);
}

.entry .ms-sign { margin-top: 2.4em; text-align: right; font-family: var(--mincho); font-size: 20px; letter-spacing: .14em; color: var(--ink); }
.entry .ms-sign span { display: block; margin-bottom: .2em; font-size: 14px; letter-spacing: .08em; color: var(--sub); }

@media (max-width: 700px) {
	.entry .ms-split, .entry .ms-split--img-narrow, .entry .ms-split--box, .entry .ms-split--rev, .entry .ms-split--img-narrow.ms-split--rev { grid-template-columns: 1fr; gap: 24px; }
	.entry .ms-split--img-narrow .ms-split__img { max-width: 320px; margin: 0 auto; }
	.entry .ms-split--box { padding: 20px; }
	.entry .ms-goals > li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 24px 0; }
	.entry .ms-goals > li::before { font-size: 32px; }
	.entry .ms-next__links { grid-template-columns: 1fr; }
	.entry .ms-split--rev > .ms-split__img { order: 0; }
}

/* ------------------------------------------------------------
 * 本文の部品（2）固定ページ全体の組み直し用
 *   ms-table      表（.ms-table で <table> を囲む。--stack はスマホで縦積み）
 *   ms-history    年表（dt に年、dd の ul に「月＋出来事」）
 *   ms-dl         項目と内容の一覧（料金・時間・場所など）
 *   ms-box        灰青の囲み（--line は白地に枠線）
 *   ms-note       注意書き（※〜）
 *   ms-btns       ボタンの並び（ms-btn／--red／--line）
 *   ms-cards      写真＋見出し＋文のカード（--2／--3）
 *   ms-voice      受講生の声（blockquote＋cite）
 *   ms-gallery    作品写真の並び（縦長の作品も切らずに見せる）
 * ------------------------------------------------------------ */
.entry .ms-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry .ms-table table { font-size: 16px; line-height: 1.85; border-top: 2px solid var(--navy); }
.entry .ms-table th, .entry .ms-table td { border: 0; border-bottom: 1px solid var(--line); padding: 16px 18px; vertical-align: top; }
.entry .ms-table th { background: var(--mist); color: var(--navy); font-weight: 600; white-space: nowrap; }
.entry .ms-table thead th { background: var(--navy); color: #fff; font-weight: 500; }
.entry .ms-table td.num, .entry .ms-table th.num { text-align: right; white-space: nowrap; font-feature-settings: "tnum"; }
.entry .ms-table caption { caption-side: bottom; margin-top: .6em; text-align: left; font-size: 13.5px; color: var(--sub); }

.entry .ms-history { margin: 0; border-top: 1px solid var(--line); }
.entry .ms-history > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.entry .ms-history dt { font-family: var(--mincho); font-size: 26px; font-weight: 600; line-height: 1.3; color: var(--navy); letter-spacing: .04em; }
.entry .ms-history dd { margin: 0; }
.entry .ms-history ul { list-style: none; padding: 0; margin: 0; }
.entry .ms-history li { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); line-height: 1.8; }
.entry .ms-history li + li { margin-top: .45em; }
.entry .ms-history li > span:first-child { color: var(--sub); font-feature-settings: "tnum"; }

.entry .ms-dl { margin: 0; border-top: 1px solid var(--line); }
.entry .ms-dl > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.entry .ms-dl dt { font-weight: 600; color: var(--navy); }
.entry .ms-dl dd { margin: 0; }
.entry .ms-dl dd > * + * { margin-top: .6em; }

.entry .ms-box { background: var(--mist); padding: 32px 36px; }
.entry .ms-box--line { background: #fff; border: 1px solid var(--line); }
.entry .ms-box > :first-child { margin-top: 0; }
.entry .ms-box > * + * { margin-top: 1em; }
.entry .ms-box__h { font-family: var(--mincho); font-size: 19px; font-weight: 600; color: var(--navy); letter-spacing: .06em; }

.entry .ms-note { font-size: 14px; line-height: 1.9; color: var(--sub); }

.entry .ms-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 2.4em 0; }
.entry .ms-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 56px; min-width: 260px; padding: .6em 2em;
	background: var(--navy); color: #fff; border: 1px solid var(--navy); text-decoration: none;
	font-size: 15px; font-weight: 500; letter-spacing: .08em; line-height: 1.6; text-align: center; transition: background .25s, color .25s;
}
.entry .ms-btn:hover { background: #fff; color: var(--navy); }
.entry .ms-btn--red { background: var(--red); border-color: var(--red); }
.entry .ms-btn--red:hover { background: #fff; color: var(--red); }
.entry .ms-btn--line { background: #fff; color: var(--navy); }
.entry .ms-btn--line:hover { background: var(--navy); color: #fff; }

.entry .ms-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.entry .ms-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry .ms-cards__item { margin: 0; }
.entry .ms-cards__item > * + * { margin-top: .8em; }
.entry .ms-cards__item figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.entry .ms-cards__item figure img { width: 100%; height: 100%; object-fit: cover; }
.entry .ms-cards__item h3 { margin: 1em 0 0; padding: 0; border: 0; font-size: 19px; }
.entry .ms-cards__item p { font-size: 15.5px; line-height: 1.95; }

.entry .ms-voice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.entry .ms-voice--1 { grid-template-columns: 1fr; }
.entry .ms-voice blockquote { margin: 0; padding: 28px 30px 24px; background: var(--mist); border: 0; position: relative; }
.entry .ms-voice blockquote::before { content: "“"; position: absolute; top: 4px; left: 16px; font-family: var(--mincho); font-size: 48px; line-height: 1; color: var(--navy); opacity: .25; }
.entry .ms-voice blockquote > * + * { margin-top: .8em; }
.entry .ms-voice p { font-size: 15.5px; line-height: 1.95; }
.entry .ms-voice cite { display: block; margin-top: 1em; font-style: normal; font-size: 14px; color: var(--sub); text-align: right; }
.entry .ms-voice img { width: 100%; }

.entry .ms-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.entry .ms-gallery figure { margin: 0; }
.entry .ms-gallery figure > img, .entry .ms-gallery figure > a > img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--mist); }
.entry .ms-gallery figcaption { margin-top: .5em; font-size: 13.5px; line-height: 1.7; color: var(--sub); text-align: center; }

@media (max-width: 700px) {
	.entry .ms-table table { font-size: 15px; }
	.entry .ms-table th, .entry .ms-table td { padding: 12px 12px; }
	.entry .ms-table--stack table, .entry .ms-table--stack tbody, .entry .ms-table--stack tr, .entry .ms-table--stack th, .entry .ms-table--stack td { display: block; width: 100%; }
	.entry .ms-table--stack th { white-space: normal; }
	.entry .ms-table--stack thead { display: none; }
	.entry .ms-history > div { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
	.entry .ms-history dt { font-size: 22px; }
	.entry .ms-dl > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
	.entry .ms-box { padding: 22px 20px; }
	.entry .ms-btn { min-width: 0; width: 100%; padding: .6em 1em; }
	.entry .ms-cards, .entry .ms-cards--2 { grid-template-columns: 1fr; }
	.entry .ms-voice { grid-template-columns: 1fr; }
	.entry .ms-voice blockquote { padding: 24px 20px 20px; }
	.entry .ms-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ============================================================
 * ページごとの部品（2026-11 固定ページの組み直し）
 * pa：活動紹介・メディア掲載・墨翔展・展覧会への出品・アクセス
 * pb：講師紹介・体験レッスン・お問合せ・一般クラス・師範養成・開塾講座
 * pc：児童クラス・SSクラス・受講生の声・おとなクラス指導内容・県展対策講座
 * pd：埼玉県展とは・必勝☆硬筆講座・必勝☆書きぞめ講座
 * pe：コンクール受賞実績・埼玉県展の実績・喜びの声
 * ============================================================ */

/* ---- pa ---- */
/* ------------------------------------------------------------
 * 組A（活動紹介・メディア掲載・墨翔展・展覧会への出品・アクセス）だけで使う部品
 *   pa-row3       横長の写真3枚＋説明
 *   pa-aw         年表の出来事の下に付ける受賞の内訳
 *   pa-media      メディア掲載の一覧（記事の画像＋媒体名＋掲載日＋概要）
 *   pa-tags       媒体名などの短い語の並び
 * ------------------------------------------------------------ */
.entry .pa-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entry .pa-row3 figure { margin: 0; }
.entry .pa-row3 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.entry .pa-row3 figcaption { margin-top: .6em; font-size: 13.5px; line-height: 1.7; color: var(--sub); }

.entry .pa-aw { display: block; margin-top: .3em; }
.entry .pa-aw > span { display: block; position: relative; padding-left: 1.1em; font-size: 14.5px; line-height: 1.8; color: var(--sub); }
.entry .pa-aw > span::before { content: ""; position: absolute; left: .15em; top: .8em; width: .45em; height: 1px; background: var(--navy); }

.entry .pa-media { border-top: 1px solid var(--line); }
.entry .pa-media__item { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); margin: 0; }
.entry .pa-media__item--text { grid-template-columns: minmax(0, 1fr); padding-left: 196px; }
.entry .pa-media__item figure { margin: 0; }
.entry .pa-media__item figure a { display: block; }
.entry .pa-media__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--mist); }
.entry .pa-media__body > * { margin: 0; }
.entry .pa-media__body h3 { margin: 0; padding: 0; border: 0; font-size: 19px; line-height: 1.6; }
.entry .pa-media__body .pa-media__meta { margin-top: .4em; font-size: 13.5px; line-height: 1.7; color: var(--sub); }
.entry .pa-media__body p + p { margin-top: .6em; }
.entry .pa-media__body p:last-child { font-size: 15.5px; line-height: 1.95; }

.entry .pa-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.entry .pa-tags li { margin: 0; padding: 4px 14px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; line-height: 1.7; }
.entry .pa-tags li + li { margin-top: 0; }

@media (max-width: 700px) {
	.entry .pa-row3 { grid-template-columns: 1fr 1fr; gap: 10px; }
	.entry .pa-row3 figure:first-child { grid-column: 1 / -1; }
	.entry .pa-media__item { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
	.entry .pa-media__item--text { grid-template-columns: minmax(0, 1fr); padding-left: 120px; }
	.entry .pa-media__body h3 { font-size: 17px; }
	.entry .pa-media__body p:last-child { font-size: 14.5px; line-height: 1.85; }
}
.entry .ms-split + .pa-row3 { margin-top: 48px; }
.entry .pa-tags li:last-child { border-color: transparent; background: transparent; color: var(--sub); }

/* pa-videos：動画2本を横に並べる（スマホは縦） */
.entry .pa-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.entry .pa-videos > * { margin: 0; }
@media (max-width: 700px) { .entry .pa-videos { grid-template-columns: 1fr; margin-top: 32px; } }

/* アクセス：地図・住所・バスの経路・到着時の案内 */
.entry .pa-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.entry .pa-map + .pa-addr { margin-top: 0; border-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; }
.entry .pa-addr > * { margin: 0; grid-column: 1; }
.entry .pa-addr > * + * { margin-top: .4em; }
.entry .pa-addr .ms-box__h { font-family: var(--mincho); font-size: 22px; letter-spacing: .12em; }
.entry .pa-addr .pa-addr__btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.entry .pa-bus { margin: .6em 0 0; padding-left: 1.6em; }
.entry .pa-bus li { padding-left: .2em; }
.entry .pa-arrive { margin-top: 2em; text-align: center; }
.entry .pa-arrive p { font-family: var(--mincho); font-size: clamp(17px, 1.8vw, 20px); line-height: 2; color: var(--navy); }
@media (max-width: 700px) {
	.entry .pa-map iframe { height: 300px; }
	.entry .pa-map + .pa-addr { display: block; }
	.entry .pa-addr .pa-addr__btn { margin-top: 1.2em; }
	.entry .pa-arrive { text-align: left; }
	.entry .pa-arrive br { display: none; }
}
.entry .pa-route dt { word-break: auto-phrase; }
.entry .ms-check + .pa-route { margin-top: 1.8em; }
@media (min-width: 701px) { .entry .pa-route > div { grid-template-columns: 240px minmax(0, 1fr); } }

/* ---- pb ---- */
/* 組B（講師紹介・体験レッスン・お問合せ・一般クラス・師範養成・開塾講座）だけで使う部品 */

/* 講師紹介：主宰の名前と肩書き */
.entry .pb-name { font-family: var(--mincho); font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: .14em; line-height: 1.4; color: var(--ink); }
.entry .pb-name span { display: block; margin-top: .4em; font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: .3em; color: var(--sub); }
.entry .pb-roles { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.entry .pb-roles li { margin: 0; padding: .55em 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.7; }

/* 講師紹介：講師の写真は縦長のまま */
.entry .pb-staff .ms-cards__item figure { aspect-ratio: 3 / 4; background: var(--mist); }
.entry .pb-staff .ms-cards__item figure img { object-position: center top; }
.entry .pb-staff h3 span { display: block; margin-top: .2em; font-size: 12.5px; font-weight: 500; letter-spacing: .24em; color: var(--sub); }


/* 一般クラス：曜日ごとの時間割 */
.entry .pb-week th, .entry .pb-week td { width: 33.3%; text-align: center; vertical-align: middle; }
.entry .pb-week .pb-none { color: var(--line); }

/* 注意書きの並び */
.entry .pb-notes { list-style: none; padding: 0; font-size: 14.5px; line-height: 1.9; color: var(--sub); }
.entry .pb-notes li + li { margin-top: .3em; }
.entry .pb-notes strong { color: var(--ink); }

/* 体験レッスンへの案内（ページ内） */
.entry .pb-cta { text-align: center; }
.entry .pb-cta .ms-btns { margin: 1.4em 0 0; }

/* お問合せ：事務局の電話 */
.entry .pb-office { text-align: center; }
.entry .pb-office > * + * { margin-top: .3em; }
.entry .pb-office__name { font-family: var(--mincho); font-size: 24px; font-weight: 600; letter-spacing: .12em; color: var(--navy); }
.entry .pb-office__person { font-size: 15px; color: var(--sub); }
.entry .pb-office__tel a { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: .06em; color: var(--red); text-decoration: none; font-feature-settings: "tnum"; }

@media (max-width: 700px) {
	.entry .pb-staff .ms-cards__item figure { max-width: 240px; }
	.entry .pb-week th, .entry .pb-week td { padding: 12px 6px; font-size: 14px; }
}

/* ---- pt：体験レッスン（/trial/）---- */
/* 受講料と開催日のまとめ */
.entry .pt-info { margin-top: 3em; padding: 36px 36px 8px; background: var(--mist); }
.entry .pt-info__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; } /* 受講料＋出ている月の数だけ列になる */
.entry .pt-info__item { margin: 0; padding: 0 24px; border-left: 1px solid var(--line); }
.entry .pt-info__item:first-child { padding-left: 0; border-left: 0; }
.entry .pt-info__item:last-child { padding-right: 0; }
.entry .pt-info__item > * + * { margin-top: 14px; }
.entry .pt-info__h { font-size: 13.5px; font-weight: 500; letter-spacing: .06em; line-height: 1.6; color: var(--sub); }
.entry .pt-info__h span { display: block; font-family: var(--mincho); font-size: 20px; font-weight: 600; letter-spacing: .06em; color: var(--navy); }
.entry .pt-fee { margin: 0; }
.entry .pt-fee > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.entry .pt-fee dt { font-size: 15px; }
.entry .pt-fee dd { margin: 0; font-size: 18px; font-weight: 700; color: var(--navy); font-feature-settings: "tnum"; }
.entry .pt-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; list-style: none; padding: 0; } /* 木・金・土の列にそろう */
.entry .pt-days li { margin: 0; display: flex; justify-content: center; align-items: baseline; white-space: nowrap; padding: 4px 4px; background: #fff; border: 1px solid var(--line); font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--navy); font-feature-settings: "tnum"; }
.entry .pt-days small { font-size: 12px; font-weight: 500; color: var(--sub); }
.entry .pt-days li.is-past { color: #b4b8c3; background: transparent; text-decoration: line-through; }
.entry .pt-days li.is-past small { color: inherit; }
.entry .pt-days-none { font-size: 15px; line-height: 1.8; }
.entry .pt-info .ms-btns { margin: 32px 0 28px; }

/* 曜日ごとの時間割 */
.entry .pt-week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entry .pt-day { margin: 0; border-top: 2px solid var(--navy); }
.entry .pt-day__h { padding: 12px 0 10px; font-family: var(--mincho); font-size: 20px; font-weight: 600; letter-spacing: .2em; color: var(--navy); border-bottom: 1px solid var(--line); }
.entry .pt-day ul { list-style: none; padding: 0; margin: 0; }
.entry .pt-day li { margin: 0; padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.entry .pt-day li > * + * { margin-top: 6px; }
.entry .pt-slot__t { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); font-feature-settings: "tnum"; }
.entry .pt-slot__t span { margin-left: .6em; font-size: 12.5px; font-weight: 500; color: var(--sub); }
.entry .pt-slot__c { font-size: 15px; line-height: 1.7; }
.entry .pt-slot__c small { display: block; font-size: 13px; color: var(--sub); }
.entry .pt-seat { display: inline-block; padding: 1px 12px; border: 1px solid currentColor; font-size: 13px; line-height: 1.9; letter-spacing: .06em; }
.entry .pt-seat--ok { color: var(--navy); }
.entry .pt-seat--few { color: var(--red); background: #fdf2f3; }
.entry .pt-seat--full { color: #fff; background: #8a8f9e; border-color: #8a8f9e; }
.entry .pt-week + .ms-btns { margin-top: 2em; }

/* 美文字キッズ */
.entry .pt-kids { margin: 0; border-top: 1px solid var(--line); }
.entry .pt-kids > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.entry .pt-kids dt { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.entry .pt-kids dd { margin: 2px 0 0; font-size: 15.5px; line-height: 1.85; }

@media (max-width: 760px) {
	.entry .pt-info { padding: 24px 20px 4px; }
	.entry .pt-info__grid { grid-auto-flow: row; grid-template-columns: 1fr; }
	.entry .pt-info__item, .entry .pt-info__item:first-child, .entry .pt-info__item:last-child { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
	.entry .pt-info__item:first-child { padding-top: 0; border-top: 0; }
	.entry .pt-days { max-width: 300px; }
	.entry .pt-week { grid-template-columns: 1fr; gap: 28px; }
	.entry .pt-day li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
	.entry .pt-day li > * + * { margin-top: 0; }
	.entry .pt-slot__t { grid-column: 1 / -1; }
	.entry .pt-slot__c { grid-column: 1; }
	.entry .pt-seat { grid-column: 2; grid-row: 2; }
}

/* ---- pc ---- */
/* 組C（児童クラス・SSクラス・受講生の声・おとなクラスの指導内容・県展対策講座）だけで使う部品
 *   pc-sub        見出しの中の小さな2行目（「レギュラークラス」など）
 *   pc-check-lg   少し大きめのチェックリスト
 *   pc-notes      ※の注意書きを並べる（ms-note と組み合わせる）
 *   pc-small      表の中の小さな補足
 *   pc-photos2    横長の写真を2枚並べる
 *   pc-pair       作品と手紙など、縦長の画像を切らずに2枚並べる
 *   pc-course     講座の案内カード（ms-cards__item の中）
 */
.entry .pc-sub { display: block; margin-top: .5em; font-size: .62em; letter-spacing: .14em; color: var(--sub); }

.entry .pc-check-lg li { font-size: 17.5px; font-weight: 500; color: var(--navy); }

.entry .pc-notes { list-style: none; padding: 0; }
.entry .pc-notes li + li { margin-top: .3em; }
.entry .pc-small { font-size: 14px; color: var(--sub); }

.entry .pc-photos2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry .pc-photos2 figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.entry .pc-photos2 img { width: 100%; height: 100%; object-fit: cover; }

.entry .pc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.entry .pc-pair figure { margin: 0; background: var(--mist); padding: 16px; }
.entry .pc-pair img { display: block; width: 100%; margin: 0 auto; }
.entry .pc-pair figcaption { margin-top: .6em; font-size: 13.5px; color: var(--sub); text-align: center; }
.entry .pc-meta { text-align: center; color: var(--sub); font-size: 15px; line-height: 1.9; }
.entry .pc-meta strong { display: block; color: var(--ink); font-size: 16.5px; font-weight: 600; }

.entry .pc-course { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.entry .pc-course > * + * { margin-top: 0; }
.entry .pc-course figure { aspect-ratio: auto; }
.entry .pc-course figure img { height: auto; }
.entry .pc-course__body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 28px; text-align: center; }
.entry .pc-course__body > * + * { margin-top: .6em; }
.entry .pc-course__kicker { font-size: 14px; color: var(--red); font-weight: 600; letter-spacing: .08em; }
.entry .pc-course h3 { margin: 0; font-size: 22px; line-height: 1.6; border: 0; padding: 0; }
.entry .pc-course__target { font-size: 14.5px; color: var(--sub); }
.entry .pc-course__btn { margin-top: auto !important; padding-top: 1em; }
.entry .pc-course__btn .ms-btn { min-width: 0; width: 100%; }

@media (max-width: 700px) {
	.entry .pc-photos2 { gap: 8px; }
	.entry .pc-pair { grid-template-columns: 1fr; gap: 14px; }
	.entry .pc-check-lg li { font-size: 16.5px; }
}

/* 表の中の箇条書き */
.entry .pc-dots { margin: 0 0 .4em; padding-left: 1.2em; }
.entry .pc-dots li + li { margin-top: .2em; }

/* 法帖の写真（縦長）と一覧の囲み */
.entry .pc-hojo { grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
@media (max-width: 700px) {
	.entry .pc-hojo { grid-template-columns: 1fr; }
	.entry .pc-hojo .ms-split__img { max-width: 160px; margin: 0 auto; }
}

/* 時間割の1行（時間＋対象）。スマホでは対象を次の行に */
.entry .pc-slot { display: block; }
.entry .pc-slot + .pc-slot { margin-top: .5em; }
.entry .pc-slot small { margin-left: 1.2em; font-size: inherit; color: var(--sub); }
.entry .pc-nw { white-space: nowrap; }
@media (max-width: 700px) {
	.entry .pc-slot small { display: block; margin-left: 0; font-size: 14px; line-height: 1.6; }
}

/* ---- pd ---- */
/* 組D（埼玉県展とは・必勝☆硬筆講座・必勝☆書きぞめ講座）だけで使う部品
 *   pd-line       公式LINEの案内（QR画像＋文＋ボタン）
 *   pd-flash      結果速報の囲み（pd-new・pd-stats・pd-legend・pd-grades）
 *   pd-cite       出典つきの引用
 *   pd-pair       写真2枚を横に並べる（横長）
 *   pd-awards     賞の種類の表（途中の補足行つき）
 *   pd-narrow     縦長の画像・表の画像を細めに
 *   pd-years      年ごとの実績（details。内部生 pd-res／外部生 pd-res--out）
 *   pd-vs         上手な子・苦手な子の比べ
 *   pd-sched      開講時期の表
 *   pd-hero       講座ページの冒頭（バナー画像＋題）
 *   pd-videos     インタビュー動画の並び
 *   pd-staff      指導講師の紹介
 *   pd-voices     受講生の声（見出し付き）
 */

/* 公式LINE */
.entry .pd-line { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px 32px; border: 1px solid var(--line); background: #fff; }
.entry .pd-line__img { margin: 0; }
.entry .pd-line__img img { width: 100%; display: block; }
.entry .pd-line__body > * + * { margin-top: .7em; }
.entry .pd-line__h { font-family: var(--mincho); font-size: 19px; font-weight: 600; color: var(--navy); letter-spacing: .06em; line-height: 1.6; }
.entry .pd-line__btn { margin-top: 1.2em !important; }
.entry .pd-btn-line { background: #06c755; border-color: #06c755; min-width: 0; padding: .6em 2.4em; }
.entry .pd-btn-line:hover { background: #fff; color: #06a648; border-color: #06c755; }

/* 結果速報 */
.entry .pd-flash { margin-top: 3em; padding: 40px 40px 44px; background: var(--mist); }
.entry .pd-flash > * + * { margin-top: 1.4em; }
.entry .pd-flash__h { margin: 0 !important; padding: 0 0 .6em !important; font-size: clamp(21px, 2.2vw, 26px) !important; }
.entry .pd-new { display: inline-block; margin-right: .6em; padding: .1em .6em; background: var(--red); color: #fff; font-family: inherit; font-size: .6em; font-weight: 700; letter-spacing: .08em; vertical-align: .25em; }
.entry .pd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry .pd-stat { background: #fff; padding: 24px 26px; line-height: 1.8; }
.entry .pd-stat > * + * { margin-top: .2em; }
.entry .pd-stat__h { font-size: 14px; color: var(--sub); }
.entry .pd-stat__big { font-family: var(--mincho); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.entry .pd-stat__sub { font-size: 14px; color: var(--sub); }
.entry .pd-flash__thanks { font-family: var(--mincho); font-size: 18px; font-weight: 600; color: var(--red); text-align: center; }
.entry .pd-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--sub); }
.entry .pd-legend span, .entry .pd-grade li { position: relative; padding-left: 1.2em; }
.entry .pd-legend span::before, .entry .pd-grade li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6em; height: .6em; border-radius: 50%; background: #c3c7d1; }
.entry .pd-legend .pd-g-top::before, .entry .pd-grade .pd-g-top::before { background: #b8912f; }
.entry .pd-legend .pd-g-ken::before, .entry .pd-grade .pd-g-ken::before { background: var(--navy); }
.entry .pd-grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 1em !important; }
.entry .pd-grade { background: #fff; padding: 16px 18px 18px; }
.entry .pd-grade__h { font-family: var(--mincho); font-size: 20px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: .3em; margin-bottom: .6em; }
.entry .pd-grade ul { list-style: none; padding: 0; margin: 0; }
.entry .pd-grade li { font-size: 14px; line-height: 1.7; }
.entry .pd-grade li + li { margin-top: .2em; }
.entry .pd-grade .pd-g-top { font-weight: 700; color: var(--ink); }

/* 引用（出典つき） */
.entry .pd-cite > * + * { margin-top: .8em; }
.entry .pd-cite__src { font-size: 13.5px; color: var(--sub); text-align: right; }

/* 写真2枚 */
.entry .pd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry .pd-pair figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.entry .pd-pair img { width: 100%; height: 100%; object-fit: cover; }

/* 賞の種類 */
.entry .pd-awards th:first-child { width: 6em; }
.entry .pd-awards tbody th { font-family: var(--mincho); }
.entry .pd-awards__note td { background: #fff; color: var(--sub); font-size: 14.5px; padding-top: 10px; padding-bottom: 10px; }

.entry .pd-narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

/* 年ごとの実績 */
.entry .pd-years { border-top: 1px solid var(--line); }
.entry .pd-year { border-bottom: 1px solid var(--line); }
.entry .pd-year > summary {
	list-style: none; cursor: pointer; position: relative; padding: 18px 48px 18px 0;
	font-family: var(--mincho); font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.6;
}
.entry .pd-year > summary::-webkit-details-marker { display: none; }
.entry .pd-year > summary::before, .entry .pd-year > summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 1.5px; background: var(--navy); }
.entry .pd-year > summary::after { transform: rotate(90deg); transition: transform .2s; }
.entry .pd-year[open] > summary::after { transform: rotate(0); }
.entry .pd-year > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.entry .pd-year__body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 0 24px; }
.entry .pd-year__note { grid-column: 1 / -1; color: var(--sub); }
.entry .pd-res { background: var(--mist); padding: 20px 22px; }
.entry .pd-res__h { font-weight: 700; color: var(--navy); padding-bottom: .4em; margin-bottom: .6em; border-bottom: 2px solid var(--navy); }
.entry .pd-res--out .pd-res__h { color: #3d6a8f; border-bottom-color: #3d6a8f; }
.entry .pd-res ul { list-style: none; padding: 0; margin: 0; }
.entry .pd-res li { font-size: 15px; line-height: 1.75; }
.entry .pd-res li + li { margin-top: .25em; }
.entry .pd-res .pd-crown { position: relative; padding-left: 1.1em; }
.entry .pd-res .pd-crown::before { content: ""; position: absolute; left: 0; top: .62em; width: .55em; height: .55em; background: #b8912f; transform: rotate(45deg); }
.entry .pd-res .pd-crown--1 { font-weight: 700; color: var(--red); }
.entry .pd-res .pd-sum { margin-top: .7em; padding-top: .5em; border-top: 1px dashed #c3c7d1; font-weight: 700; }
.entry .pd-res .pd-sum + .pd-sum { margin-top: .25em; padding-top: 0; border-top: 0; }

/* 比べ */
.entry .pd-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry .pd-vs > div { padding: 22px 24px; }
.entry .pd-vs > div > * + * { margin-top: .6em; }
.entry .pd-vs__good { background: var(--mist); border-top: 2px solid var(--navy); }
.entry .pd-vs__bad { background: #fff; border: 1px solid var(--line); border-top: 2px solid #c3c7d1; }

/* 開講時期 */
.entry .pd-sched td { text-align: center; white-space: nowrap; }
.entry .pd-sched thead th:not(:first-child) { text-align: center; }

/* 講座ページの冒頭 */
.entry .pd-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.entry .pd-hero__img { margin: 0; }
.entry .pd-hero__img img { width: 100%; display: block; }
.entry .pd-hero__body > * + * { margin-top: .8em; }
.entry .pd-hero__kicker { font-size: 14px; color: var(--sub); letter-spacing: .08em; }
.entry .pd-hero__h { margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: clamp(26px, 3vw, 36px) !important; line-height: 1.5 !important; letter-spacing: .08em; }
.entry .pd-hero__h::after { display: none; }
.entry .pd-hero__h small { display: block; font-size: .55em; letter-spacing: .1em; color: var(--ink); margin-bottom: .3em; }

.entry .pd-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry .pd-course { padding: 24px 26px; background: var(--mist); }
.entry .pd-course--sub { background: #fff; border: 1px solid var(--line); }
.entry .pd-course > * + * { margin-top: .5em; }
.entry .pd-course__h { font-family: var(--mincho); font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.entry .pd-course__h span { display: block; font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--sub); letter-spacing: .04em; }
.entry .pd-course p { font-size: 15.5px; line-height: 1.9; }

.entry .pd-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entry .pd-video { margin: 0; }
.entry .pd-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border: 0; background: #000; }
.entry .pd-voices .pd-video { margin-top: 1.2em; }

.entry .pd-staff { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.entry .pd-staff__item > * + * { margin-top: .8em; }
.entry .pd-staff__item figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.entry .pd-staff__item figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.entry .pd-staff__item h3 { margin: 1em 0 0; padding: 0; border: 0; font-size: 22px; }
.entry .pd-staff__item h3 span { display: block; font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--sub); letter-spacing: .06em; }
.entry .pd-staff__item p { font-size: 15.5px; line-height: 1.95; }

.entry .pd-voices > * + * { margin-top: 20px; }
.entry .pd-voices blockquote { padding: 32px 36px 28px; }
.entry .pd-voice__h { font-family: var(--mincho); font-size: clamp(19px, 2vw, 22px); font-weight: 700; color: var(--navy); line-height: 1.6; letter-spacing: .04em; }
.entry .pd-voice__h small { display: block; font-size: 14px; font-weight: 600; color: var(--sub); letter-spacing: .06em; }

.entry .pd-words { display: flex; flex-wrap: wrap; gap: 10px; }
.entry .pd-words strong { padding: .3em 1em; border: 1px solid var(--navy); color: var(--navy); font-weight: 600; }

@media (max-width: 700px) {
	.entry .pd-line { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
	.entry .pd-line__img { max-width: 220px; margin: 0 auto; }
	.entry .pd-line__btn .ms-btn { width: 100%; }
	.entry .pd-flash { padding: 26px 18px 28px; margin-left: -4px; margin-right: -4px; }
	.entry .pd-stats { grid-template-columns: 1fr; }
	.entry .pd-grades { grid-template-columns: 1fr 1fr; gap: 8px; }
	.entry .pd-grade { padding: 12px 12px 14px; }
	.entry .pd-grade li { font-size: 13px; }
	.entry .pd-year__body { grid-template-columns: 1fr; }
	.entry .pd-res { padding: 16px 16px; }
	.entry .pd-vs { grid-template-columns: 1fr; }
	.entry .pd-sched th, .entry .pd-sched td { white-space: normal; }
	.entry .pd-hero { grid-template-columns: 1fr; gap: 24px; }
	.entry .pd-courses { grid-template-columns: 1fr; }
	.entry .pd-videos { grid-template-columns: 1fr; }
	.entry .pd-staff { grid-template-columns: 1fr; gap: 40px; }
	.entry .pd-voices blockquote { padding: 26px 20px 22px; }
}
.entry .pd-res li.pd-sum:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 700px) {
	.entry .pd-grades { grid-template-columns: 1fr; }
	.entry .pd-grade ul { column-count: 2; column-gap: 12px; }
	.entry .pd-grade li { break-inside: avoid; }
	.entry .pd-awards th:first-child { width: 4.5em; }
}

/* ---- pe ---- */
/* ============================================================
 * 組E：コンクール受賞実績（2239）・埼玉県展の実績（2963）・喜びの声（3066）
 * ============================================================ */

/* ページ内リンクの飛び先が固定ヘッダーに隠れないように */
.entry [id] { scroll-margin-top: calc(var(--hd) + 24px); }

/* 年度への目次 */
.entry .pe-yearnav { display: flex; flex-wrap: wrap; gap: 8px; }
.entry .pe-yearnav a {
	display: inline-block; padding: 6px 14px; border: 1px solid var(--line); background: #fff;
	color: var(--navy); font-size: 14px; line-height: 1.6; text-decoration: none; transition: border-color .2s;
}
.entry .pe-yearnav a:hover { border-color: var(--navy); }

/* 受賞実績の表（左：展覧会、右：賞） */
.entry .pe-award th { width: 32%; white-space: normal; line-height: 1.75; }
.entry .pe-aw { margin: 0; }
.entry .pe-aw dt { margin-top: .9em; font-weight: 600; color: var(--navy); }
.entry .pe-aw dt:first-child { margin-top: 0; }
.entry .pe-aw dd { margin: 0; }
.entry .pe-aw .pe-aw__c { display: inline-block; margin-right: 1.3em; }

/* 平成の実績（年・展覧会・賞） */
.entry .pe-heisei th.pe-hy { width: 7.5em; text-align: center; vertical-align: middle; font-family: var(--mincho); line-height: 1.6; }
.entry .pe-heisei th.pe-hy span { font-family: var(--sans, inherit); font-size: 13.5px; font-weight: 400; color: var(--sub); }
.entry .pe-heisei td.pe-hx { width: 34%; font-weight: 600; color: var(--ink); }
.entry .pe-heisei td { border-left: 1px solid var(--line); }

@media (max-width: 700px) {
	.entry .pe-award th { width: 100%; border-bottom: 0; padding-bottom: 4px; }
	.entry .pe-award td { padding-top: 8px; }
	.entry .pe-heisei th.pe-hy { width: 100%; text-align: left; border-bottom: 0; padding-bottom: 0; }
	.entry .pe-heisei th.pe-hy br { display: none; }
	.entry .pe-heisei th.pe-hy span { margin-left: .6em; }
	.entry .pe-heisei td.pe-hx { width: 100%; border-bottom: 0; padding-bottom: 0; }
	.entry .pe-heisei td { border-left: 0; }
	.entry .pe-heisei td:empty { display: none; }
}

/* 埼玉県展の実績：内部生と講座受講生を左右に並べる */
.entry .pe-key { padding: 20px 24px; background: var(--mist); border-left: 2px solid var(--navy); font-family: var(--mincho); font-size: 17.5px; font-weight: 600; line-height: 1.95; color: var(--navy); }
.entry .pe-h-sub { margin-left: .4em; font-size: .62em; letter-spacing: .04em; color: var(--sub); }
.entry .pe-ken { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.entry .pe-ken__col { padding: 24px 26px; border: 1px solid var(--line); border-top: 3px solid var(--navy); background: #fff; }
.entry .pe-ken__col--ext { border-top-color: var(--red); }
.entry .pe-ken__col > * + * { margin-top: .6em; }
.entry .pe-ken__who { font-size: 14.5px; font-weight: 600; letter-spacing: .06em; color: var(--sub); }
.entry .pe-ken__sum { font-size: 15px; line-height: 1.5; color: var(--ink); }
.entry .pe-ken__sum b { margin: 0 .1em; font-family: var(--mincho); font-size: 36px; font-weight: 700; color: var(--navy); }
.entry .pe-ken__col--ext .pe-ken__sum b { color: var(--red); }
.entry .pe-ken__list { list-style: none; padding: 0; margin-top: 1em; border-top: 1px solid var(--line); }
.entry .pe-ken__list li { margin: 0; padding: 8px 0 8px 1.2em; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; position: relative; }
.entry .pe-ken__list li::before { content: ""; position: absolute; left: .1em; top: 1.05em; width: 6px; height: 6px; background: var(--line); transform: rotate(45deg); }
.entry .pe-ken__list li.is-top { font-weight: 600; color: var(--navy); }
.entry .pe-ken__list li.is-top::before { background: var(--navy); }
.entry .pe-ken__col--ext .pe-ken__list li.is-top::before { background: var(--red); }

/* LINE の案内画像（縦長なので小さめに） */
.entry .pe-banner { max-width: 400px; margin-left: auto; margin-right: auto; }
.entry .pe-banner img { width: 100%; }

@media (max-width: 700px) {
	.entry .pe-ken { grid-template-columns: 1fr; }
	.entry .pe-ken__col { padding: 20px; }
	.entry .pe-h-sub { display: block; margin: .2em 0 0; }
	.entry .pe-key { font-size: 16px; padding: 16px 18px; }
}

/* 喜びの声：番号付きの題と、本文の強調 */
.entry .pe-voice-h { margin-top: 2.8em; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.7; }
.entry .pe-voice-h__no { display: block; margin-bottom: .3em; font-family: var(--mincho); font-size: 15px; font-weight: 600; letter-spacing: .12em; color: var(--red); }
.entry .pe-voice-h + .ms-voice { margin-top: 1.2em; }
.entry .ms-voice .pe-hl { font-weight: 600; color: var(--ink); background: linear-gradient(transparent 62%, rgba(186, 38, 54, .14) 62%); }
.entry .ms-voice cite { line-height: 1.8; }
