/*!
Theme Name: 東京高校選び
Theme URI: https://tokyo-koko-erabi.example/
Author: 東京高校選び運営
Description: 東京都の高校受験比較サイト「東京高校選び」用の自作テーマ。Underscores(_s)をベースに、カスタム投稿タイプ school 用の一覧・検索・独自ツールを組み込んでいる。
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tokyo-koko-erabi

このテーマは Underscores (https://underscores.me/) をベースに作成しています。
(C) 2012-2020 Automattic, Inc. / Underscores is distributed under the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
	overflow-wrap: anywhere;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

span.posted-on {
	margin-right: 0px;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# サイトデザイン（トップページ・高校ページ）
--------------------------------------------------------------*/

/* 配色・共通変数
--------------------------------------------- */
:root {
	--color-primary: #1a3c6e;
	--color-primary-dark: #12294d;
	--color-accent: #e8833a;
	--color-accent-dark: #c96a26;
	--color-text: #333333;
	--color-text-muted: #6b7280;
	--color-bg-soft: #f5f7fa;
	--color-border: #e2e6ec;
	--container-width: 1100px;
	--radius: 8px;
	--shadow: 0 2px 8px rgba(26, 60, 110, 0.08);
}

/* サイト全体のフォント（Zen Maru Gothic／かわいい丸ゴシック体） */
/* 比較表などの横に長い要素があっても、ページ全体が横スクロールしてしまわないようにする安全策。
   横スクロールさせたい要素（.school-hikaku-result等）は、それぞれに overflow-x: auto を
   個別に設定してあるので、そちら側で正しくスクロールできる */
html {
	overflow-x: hidden;
}

body {
	overflow-x: hidden;
	color: var(--color-text);
	font-family: "Zen Maru Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* フッターを常に画面の下端に固定する（スティッキーフッター）。
   コンテンツが少ないページで、フッターの下に白い余白ができてしまうのを防ぐ */
#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#page > #content,
#page > main {
	flex: 1 0 auto;
}

.site-footer {
	flex-shrink: 0;
}

/* サイト全体の共通コンテナ
--------------------------------------------- */
.site-main,
.site-footer .site-info,
.hero-inner {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5em;
	padding-right: 1.5em;
	box-sizing: border-box;
}

.site-main {
	padding-bottom: 3em;
}

/* 本文＋サイドバーの2カラムレイアウト（#content）
--------------------------------------------- */
.site-content {
	/* #page が縦方向のflexコンテナ（フッター固定用）のため、ここに margin: auto があると
	   本来効くはずの stretch が無効になり、中身が少ないページだけ幅が縮んで中央に
	   寄ってしまう。width: 100% を明示して、常に幅いっぱいに広がるようにする */
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2.5em;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5em;
	padding-right: 1.5em;
	box-sizing: border-box;
}

.site-content .site-main {
	max-width: none;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	flex: 3 1 480px;
	min-width: 0;
}

/* ヘッダー・ナビゲーション
--------------------------------------------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--color-border);
}

/* ロゴ（左）とメニュー（右）を1行に並べる共通の内側コンテナ。
   position: relative は、スマホ表示でメニューを開いたときに
   ヘッダー幅いっぱいのドロップダウンとして重ねるための基準位置 */
.site-header-inner {
	position: relative;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 1em 1.5em;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5em 1.5em;
}

.site-branding {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 1em;
}

.site-title,
.site-title a {
	color: var(--color-primary);
	font-weight: 700;
	text-decoration: none;
	margin: 0;
    	font-size: 1.3em;
}

.site-description {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin: 0;
}

.main-navigation {
	/* デフォルトのwidth:100%を打ち消し、内容の幅だけ取って右側に収まるようにする */
	width: auto;
	flex: 0 0 auto;
	margin-left: auto;
}

.main-navigation ul {
	gap: 1.8em;
}

.main-navigation a {
	padding: 0.4em 0.1em;
	color: var(--color-text);
	font-size: 0.95rem;
	white-space: nowrap;
}

.main-navigation a:hover {
	color: var(--color-accent);
}

/* ハンバーガーボタン（スマホ表示のみ。線3本をCSSで描く）
   display はここでは指定しない。PCで隠す既存ルール（@media min-width:37.5em）より
   後ろでdisplay:flexを指定すると、そちらを上書きしてPCでも見えてしまうため、
   表示するdisplay:flexはスマホ用メディアクエリの中だけで指定する */
.menu-toggle {
	align-items: center;
	justify-content: center;
	width: 2.4em;
	height: 2.4em;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	display: block;
	width: 1.5em;
	height: 2px;
	background: var(--color-text);
	border-radius: 1px;
	transition: transform 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.menu-toggle-icon {
	position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle-icon::before {
	top: -0.5em;
}

.menu-toggle-icon::after {
	top: 0.5em;
}

/* 開いているときは「×」に変形させる */
.main-navigation.toggled .menu-toggle-icon {
	background: transparent;
}

.main-navigation.toggled .menu-toggle-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.main-navigation.toggled .menu-toggle-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

/* スマホ表示（ハンバーガーメニュー）
--------------------------------------------- */
@media screen and (max-width: 37.4375em) {

	.menu-toggle {
		display: flex;
	}

	/* トグルボタン自体は小さいので、開いたメニューは.main-navigationの幅ではなく
	   ヘッダー全体（.site-header-inner）の幅に合わせて重ねて表示する */
	.main-navigation ul {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: auto;
		flex-direction: column;
		gap: 0;
		background: #fff;
		border-top: 1px solid var(--color-border);
		box-shadow: var(--shadow);
		padding: 0.3em 1.5em;
		z-index: 10;
	}

	.main-navigation a {
		display: block;
		padding: 0.8em 0.2em;
		white-space: normal;
	}

	.main-navigation ul ul {
		position: static;
		box-shadow: none;
		padding-left: 1em;
	}
}

/* フッター
--------------------------------------------- */
.site-footer {
	background: var(--color-bg-soft);
	border-top: 1px solid var(--color-border);
}

.footer-widgets {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding: 1.5em 1.5em 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}

.footer-widgets .widget {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
}

.footer-widgets .widget-title {
	font-size: 0.95rem;
}

.footer-widgets ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5em 2em;
}

.footer-widgets li {
	padding: 0;
	border-top: none;
	font-size: 0.9rem;
}

@media screen and (max-width: 48em) {
	.footer-widgets ul {
		flex-direction: column;
		align-items: center;
		gap: 0.6em;
	}
}

.site-footer .site-info {
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	color: var(--color-text-muted);
	font-size: 0.85rem;
	text-align: center;
}

/* サイドバー・ウィジェット
--------------------------------------------- */
.widget-area {
	flex: 1 1 280px;
	max-width: 320px;
}

.widget {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.2em 1.4em;
	margin-bottom: 1.5em;
}

.widget-title {
	color: var(--color-primary);
	font-size: 1.05rem;
	margin: 0 0 0.8em;
	padding-bottom: 0.5em;
	border-bottom: 2px solid var(--color-accent);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li > ul {
	margin-top: 0.4em;
	padding-left: 1em;
}

.widget a {
	color: var(--color-text);
	text-decoration: none;
}

.widget a:hover,
.widget a:focus {
	color: var(--color-accent);
}

.widget select,
.widget input[type="text"],
.widget input[type="search"] {
	width: 100%;
}

.widget img {
	max-width: 100%;
	height: auto;
}

.widget table {
	font-size: 0.9rem;
}

/* ボタン
--------------------------------------------- */
.button,
a.button {
	display: inline-block;
	background: var(--color-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	padding: 0.7em 1.6em;
	border-radius: var(--radius);
	transition: background-color 0.15s ease-in-out;
}

.button:hover,
a.button:hover,
.button:focus,
a.button:focus {
	background: var(--color-accent-dark);
	color: #fff;
}

/*--------------------------------------------------------------
## トップページ（front-page.php）
--------------------------------------------------------------*/
.hero {
	background: linear-gradient(180deg, #eef3fa 0%, #fff 100%);
	border-bottom: 1px solid var(--color-border);
	/* .site-main の max-width に関係なく、背景を画面幅いっぱいに広げる */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.hero-inner {
	padding-top: 3em;
	padding-bottom: 3em;
	text-align: center;
}

.hero-title {
	color: var(--color-primary);
	font-size: 2rem;
	margin: 0 0 0.5em;
}

.hero-lead {
	color: var(--color-text);
	font-size: 1.05rem;
	margin: 0 0 0.4em;
}

.hero-sub {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	margin: 0 0 1.5em;
}

/* トップページの検索フォーム（中身は一覧ページと共通の.school-search-form） */
.hero .school-search-form {
	text-align: left;
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}

/* メインビジュアル（校舎・生徒の写真）を背景に敷いた場合の見た目。
   写真は左側を大きく見せ、検索フォームは右寄せにする。
   PCでは写真（.hero-photo）を.heroいっぱいに敷いて文字を重ねるが、
   スマホでは写真の高さを固定し、フォームは写真の下に別で表示する（下のスマホ用調整を参照） */
.hero.hero-has-image {
	position: relative;
	min-height: 480px;
	display: flex;
	align-items: center;
	border-bottom: none;
}

.hero-photo {
	position: absolute;
	inset: 0;
	background-image: var(--hero-bg-image);
	background-size: cover;
	/* 写真の見せる範囲を右側へずらし、写っている生徒がより左に来るようにする */
	background-position: 75% center;
}

/* 右側だけ暗くして、白い検索フォーム・文字を読みやすくする（左側の写真はそのまま見せる） */
.hero-photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 75%, rgba(0, 0, 0, 0.6) 100%);
}

.hero.hero-has-image .hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: calc(var(--container-width) - 3em);
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

.hero.hero-has-image .hero-lead {
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	max-width: 540px;
	margin-left: auto;
	margin-right: 0;
}

.hero.hero-has-image .school-search-form {
	margin-left: auto;
	margin-right: 0;
}

/* スマホ表示：写真は.hero全体に敷いたままにし（position:absoluteのまま）、
   .hero-inner側に大きくpadding-topを取って写真を下に押し下げることで、
   「上部に写真、その下に白いフォーム」の見た目を作る。
   スマホ用の画像（--hero-bg-image-mobile）が登録されていればそちらを、
   なければPC用の画像をそのまま使う */
@media screen and (max-width: 48em) {

	/* .site-main の左右padding（1.5em）ぶんだけマイナス余白にして画面幅いっぱいに広げる。
	   PC表示ではmax-widthで中央寄せされている.site-mainより外側まで広げる必要があるため
	   width: 100vw + calc(50% - 50vw)を使っているが、iPhone実機のSafariだとこの計算が
	   ズレて左右の余白が非対称になることがあるため、スマホ幅ではvwを使わない書き方に切り替える */
	.hero {
		width: auto;
		margin-left: -1.5em;
		margin-right: -1.5em;
	}

	.hero.hero-has-image {
		display: block;
		min-height: 0;
	}

	.hero-photo {
		background-image: var(--hero-bg-image-mobile, var(--hero-bg-image));
		background-position: 0 0;
	}

	.hero-photo::before {
		background: none;
	}

	.hero.hero-has-image .hero-inner {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding-top: 400px;
	}

	.hero.hero-has-image .hero-lead {
		color: var(--color-text);
		text-shadow: none;
		max-width: none;
		margin-left: 0;
		margin-right: auto;
	}

	.hero.hero-has-image .school-search-form {
		margin-left: 0;
		margin-right: auto;
	}
}

.school-list-section {
	padding-top: 2.5em;
	padding-bottom: 1em;
}

/* トップページ「高校を探す」の下に表示する、最新ニュース（最大4件） */
.latest-news-section {
	padding-top: 1em;
	padding-bottom: 1em;
}

.latest-news-list {
	list-style: none;
	margin: 1em 0 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.latest-news-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.8em;
	padding: 0.9em 1.2em;
}

.latest-news-item + .latest-news-item {
	border-top: 1px solid var(--color-border);
}

.latest-news-item .posted-on {
	flex: 0 0 auto;
	color: var(--color-text-muted);
	font-size: 0.88rem;
}

.latest-news-title {
	flex: 1 1 auto;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.latest-news-title:hover,
.latest-news-title:focus {
	text-decoration: underline;
}

.latest-news-category {
	flex: 0 0 auto;
	background: var(--color-bg-soft);
	color: var(--color-primary);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 0.25em 0.9em;
	font-size: 0.82rem;
	text-decoration: none;
}

.latest-news-category:hover,
.latest-news-category:focus {
	background: var(--color-border);
}

.latest-news-more {
	text-align: center;
	margin: 1.5em 0 0;
}

/* 「市区町村の選択」セクション */
.area-select-section {
	padding-top: 2.5em;
	padding-bottom: 1em;
}

.area-button-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
}

/* 一覧ボタンなので、通常の.buttonより一回り小さくする */
.area-button-list .area-button {
	padding: 0.5em 1.1em;
	font-size: 0.9rem;
}

/* 「市区町村の選択」「あいうえお順」の details/summary（押すとその場で開閉する） */
/* position: relative は、開いたときの一覧（.school-list-row-group）を
   このボタン列の真下に重ねて表示するための基準位置にする */
.area-details-list,
.kana-details-list {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

/* details要素は横幅いっぱいに伸びるブロック要素なので、中身の文字幅に合わせて縮める。
   開いても縮めたままにして、ボタンの並びが崩れないようにする */
.area-details,
.kana-details {
	flex: 0 0 auto;
	width: auto;
}

.area-details summary,
.kana-details summary {
	cursor: pointer;
	list-style: none; /* ブラウザ標準の三角マークを消し、ボタンらしい見た目にする */
}

.area-details summary::-webkit-details-marker,
.kana-details summary::-webkit-details-marker {
	display: none;
}

/* summaryはボタンとして表示するので、一覧ボタンと同じく一回り小さくする */
.area-details .area-button,
.kana-details .kana-button {
	padding: 0.5em 1.1em;
	font-size: 0.9rem;
}

/* 市区町村別・五十音別のボタンは、数が多く並ぶと重たく見えるため、
   白背景＋薄いグレーの枠線のアウトラインスタイルにする */
.area-button,
.kana-button {
	background: #fff;
	color: var(--color-primary);
	border: 2px solid var(--color-border);
}

.area-button:hover,
.kana-button:hover,
.area-button:focus,
.kana-button:focus {
	background: var(--color-primary);
	color: #fff;
}

/* 開いた一覧は、ボタンの並びを崩さないようにボタン列の下に重ねて表示する */
/* ポップアップが開いているときは、ボタン列全体（.area-details-list等）を
   背景の暗幕より前面に出す。個々のdetailsにposition:relativeを付けると
   ポップアップの幅の基準がボタン単体になってしまうため、行全体の方を上げる */
.area-details-list:has( .area-details[open] ),
.kana-details-list:has( .kana-details[open] ) {
	z-index: 1001;
}

/* ポップアップの中の一覧は、他のコンテンツと同じ右端まで幅いっぱいに広げ、
   その幅の中で学校名を折り返す */
.area-details[open] .school-list-row-group,
.kana-details[open] .school-list-row-group {
	position: absolute;
	top: 100%;
	/* width: 100% ではなく left: 0; right: 0; で幅を決める。
	   width: 100%指定だと環境によって基準位置（.area-details-list等）の
	   幅どおりに広がらないことがあったため、より確実な指定に変える */
	left: 0;
	right: 0;
	margin-top: 0.5em;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1em;
	box-shadow: var(--shadow);
}

.area-details[open] .school-list-row-group .school-list-row,
.kana-details[open] .school-list-row-group .school-list-row {
	box-sizing: border-box;
	width: calc(25% - 9px);
	max-width: 100%;
}

/* ポップアップが開いているあいだ、背景を黒透明の暗幕でおおう。
   JSのイベントタイミングに頼らず、:has()でDOMの状態から直接判定することで、
   別のボタンに切り替えたときに暗幕が一瞬消える（白くなる）のを防ぐ */
body:has( .area-details[open] )::before,
body:has( .kana-details[open] )::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

/* 「東京都の全高校一覧（あいうえお順）」セクション */
.school-list-all-section {
	padding-top: 2.5em;
	padding-bottom: 1em;
}

.school-list-row-group {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.8em;
}

.school-list-row {
	padding: 0.7em 1em;
}

.school-list-row-title {
	display: block;
	font-weight: 700;
	color: var(--color-primary);
	text-decoration: none;
}

.school-list-row-title:hover,
.school-list-row-title:focus {
	text-decoration: underline;
}

.school-list-row-sub {
	margin: 0.2em 0 0;
	color: var(--color-text-muted);
	font-size: 0.85rem;
}

.school-list-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 1.2em;
	border-bottom: 3px solid var(--color-primary);
	padding-bottom: 0.4em;
}

.section-title {
	color: var(--color-primary);
	font-size: 1.4rem;
	margin: 0;
8}

.section-count {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin: 0;
}

.school-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5em;
}

/* 「地域が近い高校」の5件目以降を折りたたむ details/summary の余白調整 */
.school-related-area-more {
	margin-top: 1.5em;
}

.school-related-area-more summary {
	cursor: pointer;
}

.school-related-area-more[open] summary {
	margin-bottom: 1.5em;
}

/* カードの高さをそろえるため、固定の高さにして中身は隠す（はみ出す分は各項目側で3行clampする） */
.school-card {
	display: block;
	height: 300px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow);
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.school-card:hover,
.school-card:focus {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(26, 60, 110, 0.15);
}

.school-card-body {
	padding: 1em 1.2em 1.2em;
}

.school-card-title {
	font-size: 1.05rem;
	color: var(--color-primary);
	margin: 0 0 0.6em;
	line-height: 1.4;
	max-height: calc(1.4em * 2);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.school-card-meta {
	margin: 0;
}

.school-card-meta-row {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	font-size: 0.88rem;
	color: var(--color-text-muted);
	padding: 0.15em 0;
	border-top: 1px dashed var(--color-border);
}

.school-card-meta-row:first-child {
	border-top: none;
}

/* ラベル（偏差値・学費など）は、漢字3文字分の固定幅にして折り返さないようにする。
   幅をそろえることで、行によってラベルの文字数が違っても値の開始位置がそろう */
.school-card-meta-row dt {
	flex: 0 0 3.2em;
	text-align: left;
	white-space: nowrap;
	font-weight: 700;
}

.school-card-meta-row dd {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	text-align: left;
}

/* 部活動は数が多いと長くなるので、3行で見切れさせて「…」を表示する */
.school-card-bukatsu-value {
	line-height: 1.5;
	max-height: calc(1.5em * 3);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* 学費は、授業料・入学金などの項目は改行せず／でつなげ、日付だけ改行して表示する */
/* 学費の欄は、早稲田実業のように長い場合があるので3行で見切れさせて「…」を表示する */
.school-card-gakuhi-value {
	/* カードの高さを揃えるため2行までとし、超える場合は2行目の末尾に「...」を付けて省略する */
	line-height: 1.5;
	max-height: calc(1.5em * 2);
	overflow: hidden;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.school-list-more {
	text-align: center;
	margin-top: 2em;
}

.school-list-empty {
	color: var(--color-text-muted);
}

/*--------------------------------------------------------------
## 高校ページ（template-parts/content-school.php）
--------------------------------------------------------------*/
.school-article {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding: 2em 1.5em 0;
}

article.column {
    padding: 2em 1.5em 0;
}

.school-hero {
	border-bottom: 1px solid var(--color-border);
	padding: 0.8em 2em;
	margin-bottom: 1.2em;
 	background: #f5f7fa;
}

.school-title {
	color: var(--color-primary);
	font-size: 1.8rem;
}

.school-thumbnail {
	margin-bottom: 1.5em;
	border-radius: var(--radius);
	overflow: hidden;
}

.school-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.school-section-title {
	color: var(--color-primary);
	font-size: 1.2rem;
	border-left: 4px solid var(--color-accent);
	padding-left: 0.6em;
	margin: 0 0 0.8em;
	background: #f5f7fa;
    	padding: 0.5em;
}

.school-data-table-wrap,
.school-bukatsu {
	margin-bottom: 2em;
}

/* 個別ページ（single-school.php）の「関連学校」「高校を探す」セクション
--------------------------------------------- */
.school-related,
.school-related-area,
.school-search-section {
	margin-top: 3em;
}

/* 記事本文とは違うエリアだと分かるように、背景色を画面幅いっぱいに変える。
   外側（.school-related-area-group）は背景だけを担当し、
   中身の幅・余白は内側（.school-related-area-group-inner）でそろえる */
.school-related-area-group {
	margin-top: 3em;
	/* .site-main の padding-bottom（3em）を打ち消して、footerまでグレーの背景を続かせる */
	margin-bottom: -3em;
	padding: 2.5em 0 calc(2.5em + 3em);
	background: var(--color-bg-soft);
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.school-related-area-group-inner {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5em;
	padding-right: 1.5em;
	box-sizing: border-box;
}

.school-related-area-group-inner > *:first-child {
	margin-top: 0;
}

.school-related > h2,
.school-related-area > h2,
.school-search-section > h2,
.school-related-area-group-inner .page-title {
	color: var(--color-text);
	font-size: 1.3rem;
	margin: 0 0 1em;
}

.school-data-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.school-data-table th,
.school-data-table td {
	padding: 0.8em 1em;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.school-data-table tr:last-child th,
.school-data-table tr:last-child td {
	border-bottom: none;
}

.school-data-table th {
	width: 150px;
	background: var(--color-bg-soft);
	color: var(--color-text-muted);
	font-weight: 700;
}

/* 学費欄の内訳表示（入学金・年次ごとの学費・3年間合計を複数行で表示する） */
.school-data-table td p {
	margin: 0 0 0.3em;
}

.school-data-table td p:last-child {
	margin-bottom: 0;
}

.school-data-gakuhi-total {
	font-weight: 700;
}

.school-bukatsu-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
	margin: 0;
	padding: 0;
}

.school-bukatsu-tag {
	background: var(--color-bg-soft);
	color: var(--color-primary);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 0.35em 1em;
	font-size: 0.9rem;
}

/* 学費・部活動の注記（基本データ表・部活動タグのすぐ下に表示する短い説明文） */
.school-data-note {
	margin: 0.8em 0 0;
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.school-data-table-wrap .school-data-note {
	padding: 0 0.2em;
}

/* 倍率の注記（基本データ表の「倍率」セル内、値のすぐ下に表示する）*/
.school-data-note--inline {
	margin: 0.3em 0 0;
	padding: 0;
}

.school-entry-content {
	line-height: 1.8;
}

/* 学校からのニュース（single-school.php内、記事本体のすぐ下に表示）
--------------------------------------------- */
.school-news-section {
	max-width: var(--container-width);
	margin: 3em auto 0;
	padding: 0 1.5em;
}

.school-news-item {
	padding: 1.5em 0;
	border-bottom: 1px solid var(--color-border);
}

.school-news-item .posted-on {
	color: var(--color-text-muted);
	font-size: 0.88rem;
}

.school-news-school {
    	font-size: 0.88rem;
    	background: #f5f7fa;
    	padding: 1px 10px;
    	border-radius: 20px;
    	border: 1px solid #e2e6ec;
}

.school-news-title {
	margin: 0.4em 0 0.6em;
	font-size: 1.05rem;
	color: var(--color-text);
}

.school-news-content {
	line-height: 1.8;
}

.school-news-content p:last-child {
	margin-bottom: 0;
}

.school-news-more {
	text-align: center;
	margin: 1.5em 0 0;
}

/* 学校説明会一覧（ショートコード [setsumeikai_list]）
--------------------------------------------- */
.setsumeikai-month-group {
	margin-bottom: 1em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.setsumeikai-month-heading {
	margin: 0;
	padding: 0.9em 1.2em;
	font-size: 1.15rem;
	font-weight: 700;
	background: #f5f5f5;
	cursor: pointer;
	list-style: none; /* Safari以外の三角マーカーを消す */
}

.setsumeikai-month-heading::-webkit-details-marker {
	display: none;
}

.setsumeikai-month-heading::before {
	content: "▶";
	display: inline-block;
	margin-right: 0.5em;
	font-size: 0.75em;
	transition: transform 0.15s ease;
}

.setsumeikai-month-group[open] > .setsumeikai-month-heading::before {
	transform: rotate(90deg);
}

.setsumeikai-month-count {
	font-weight: 400;
	color: var(--color-text-muted);
}

.setsumeikai-month-body {
	padding: 1.2em;
}

.setsumeikai-date-group {
	margin-bottom: 2em;
}

.setsumeikai-date-group:last-child {
	margin-bottom: 0;
}

.setsumeikai-date-heading {
	margin: 0 0 0.6em;
	padding-bottom: 0.4em;
	font-size: 1.1rem;
	border-bottom: 2px solid var(--color-border);
}

.setsumeikai-school-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	overflow: hidden;
}

.setsumeikai-school-item {
	padding: 0.9em 1.2em;
	border-bottom: 1px solid var(--color-border);
}

.setsumeikai-school-link {
	font-weight: 500;
	text-decoration: none;
}

a.setsumeikai-school-link:hover {
	text-decoration: underline;
}

.setsumeikai-detail {
	margin-top: 0.3em;
	font-size: 0.88rem;
	color: var(--color-text-muted);
}

.setsumeikai-list-empty {
	color: var(--color-text-muted);
}

.setsumeikai-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 1.5em;
	padding: 1em 1.2em;
	background: #f5f5f5;
	border-radius: var(--radius);
}

.setsumeikai-filter-select {
	padding: 0.4em 0.6em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
}

.setsumeikai-filter-button,
.setsumeikai-filter-reset {
	padding: 0.5em 1.2em;
	border-radius: var(--radius);
	font-weight: 500;
	cursor: pointer;
}

.setsumeikai-filter-button {
	background: var(--color-primary);
	color: #fff;
	border: 1px solid var(--color-primary);
}

.setsumeikai-filter-reset {
	background: #fff;
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

/* 高校ニュースのカテゴリー一覧ページ上部の「高校を選ぶ」プルダウンメニュー */
.school-news-switcher {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin-top: 1em;
	padding-bottom: 2em;
	font-size: 0.95rem;
	border-bottom: 1px solid var(--color-border);
}

.school-news-switcher-select {
	padding: 0.5em 0.8em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	font-size: 0.95rem;
}

/* 全校ニュース一覧ページ（ショートコード [school_news_all]） */
.school-news-all-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	justify-content: center;
	margin-top: 2em;
}

.school-news-all-pagination .page-numbers {
	display: inline-block;
	padding: 0.5em 1em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
}

.school-news-all-pagination .page-numbers.current {
	background: var(--color-accent);
	color: #fff;
	border-color: var(--color-accent);
}

/*--------------------------------------------------------------
## 高校の検索ページ（archive-school.php）
--------------------------------------------------------------*/
.school-search-form {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.2em 1.5em;
}

.school-search-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.1em;
	margin-bottom: 1em;
}

.school-search-row:last-child {
	margin-bottom: 0;
}

.school-search-row label {
	display: inline-block;
	margin-right: 10px;
	text-align: right;
	width: 144px;
	font-weight: 700;
	color: var(--color-text);
}

.school-search-row select,
.school-search-row input[type="text"] {
	width: calc(100% - 156px);
	max-width: 400px;
	box-sizing: border-box;
	min-width: 0;
	padding: 0.3em 0.7em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

/* 偏差値の「〜」を挟んだ2つの選択欄は、画面幅にかかわらず常に横並びにする */
.school-search-hensachi-range {
	display: flex;
	align-items: center;
	gap: 0.6em;
	flex-wrap: wrap;
	width: calc(100% - 156px);
	max-width: 400px;
	box-sizing: border-box;
}

/* 2つの<select>は、幅いっぱいの中で縮んで横並びにおさまるようにする
   （上のwidth: 100%指定より後ろにあるため、こちらが優先される） */
.school-search-hensachi-range select {
	width: auto;
	flex: 1 1 7em;
	min-width: 0;
}

.school-search-range-separator {
	color: var(--color-text-muted);
}

.school-search-submit-row {
	justify-content: flex-end;
}

.school-search-result .section-count {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin: 0 0 1em;
}

/* 一覧ページの並び順切り替え（あいうえお順／偏差値順） */
.school-sort-toggle {
	display: flex;
	gap: 0.6em;
	margin: 0 0 1.5em;
}

/* 見た目は市区町村ボタン（.area-button）と同じアウトラインスタイルを流用する */
.school-sort-button {
	display: inline-block;
	background: #fff;
	color: var(--color-primary);
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	padding: 0.5em 1.1em;
	font-size: 0.9rem;
	text-decoration: none;
}

.school-sort-button:hover,
.school-sort-button:focus {
	background: var(--color-primary);
	color: #fff;
}

/* 現在選ばれている並び順は、塗りつぶしで強調する */
.school-sort-button.is-active {
	background: var(--color-primary);
	color: #fff;
	border-color: var(--color-primary);
}

.school-search-pagination {
	display: flex;
	justify-content: center;
	gap: 0.4em;
	margin-top: 2em;
}

.school-search-pagination .page-numbers {
	display: inline-block;
	padding: 0.5em 0.9em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text);
	text-decoration: none;
}

.school-search-pagination .page-numbers.current {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

/*--------------------------------------------------------------
## 併願校自動診断ツール（ショートコード [heigan_shindan]）
--------------------------------------------------------------*/
.heigan-shindan-form {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.2em 1.5em;
}

.heigan-shindan-form-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6em;
	margin-bottom: 1em;
}

.heigan-shindan-form-row:last-child {
	margin-bottom: 0;
}

.heigan-shindan-form-row label {
	font-weight: 700;
	color: var(--color-text);
	min-width: 12em;
}

.heigan-shindan-form-row input[type="number"] {
	padding: 0.5em 0.7em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.heigan-shindan-submit-row {
	justify-content: flex-end;
}

/* 絞り込みチェックボックス（設置区分・男女別・地域） */
.heigan-shindan-filter-row {
	align-items: flex-start;
	gap: 1.5em;
}

.heigan-shindan-filter-group {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 0.6em 0.9em;
	margin: 0;
}

.heigan-shindan-filter-legend {
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--color-text);
	padding: 0 0.3em;
}

.heigan-shindan-filter-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	font-weight: 400;
	min-width: 0;
	margin-right: 0.8em;
	font-size: 0.9rem;
}

.heigan-shindan-result {
	margin-top: 2em;
}

.heigan-shindan-summary {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin: 0 0 1.5em;
}

.heigan-shindan-group {
	margin-bottom: 2em;
}

.heigan-shindan-group-title {
	border-left: 4px solid var(--color-accent);
	padding-left: 0.6em;
	margin: 0 0 1em;
}

.heigan-shindan-empty {
	color: var(--color-text-muted);
}

.heigan-shindan-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5em;
}

.heigan-shindan-card {
	display: block;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1em 1.2em 1.2em;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow);
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.heigan-shindan-card:hover,
.heigan-shindan-card:focus {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(26, 60, 110, 0.15);
}

.heigan-shindan-card-title {
	font-size: 1.05rem;
	color: var(--color-primary);
	margin: 0 0 0.6em;
	line-height: 1.4;
}

.heigan-shindan-card-settchi-kubun,
.heigan-shindan-card-danjobetsu,
.heigan-shindan-card-shozaichi,
.heigan-shindan-card-hensachi,
.heigan-shindan-card-kanteinaishin {
	font-size: 0.88rem;
	color: var(--color-text-muted);
	margin: 0.3em 0 0;
}

.heigan-shindan-card-hensachi-value {
	color: var(--color-accent);
	font-weight: 700;
}

/*--------------------------------------------------------------
## 学費シミュレーター（ショートコード [gakuhi_simulator]）
--------------------------------------------------------------*/
.gakuhi-simulator-form {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.2em 1.5em;
}

.gakuhi-simulator-form-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6em;
	margin-bottom: 1em;
}

.gakuhi-simulator-form-row:last-child {
	margin-bottom: 0;
}

.gakuhi-simulator-form-row label {
	font-weight: 700;
	color: var(--color-text);
	min-width: 12em;
}

.gakuhi-simulator-form-row select,
.gakuhi-simulator-form-row input[type="number"] {
	box-sizing: border-box;
	width: 100%;
	padding: 0.5em 0.7em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

/* 高校を選ぶプルダウンは、余白が目立たないよう横幅を広げる（金額の入力欄は狭いままでよい）。
   min-width: 0 がないと、flexアイテムは中身（学校名の選択肢）の幅より縮めなくなり、
   画面が狭いスマホでフォームごと右にはみ出してしまう */
.gakuhi-simulator-form-row select {
	flex: 1 1 20em;
	min-width: 0;
	max-width: 28em;
}

/* 金額の入力欄も同じ理由でflex-shrinkできるようにする（「その他にかかる費用」欄） */
.gakuhi-simulator-form-row input[type="number"] {
	flex: 1 1 10em;
	min-width: 0;
	max-width: 12em;
}

.gakuhi-simulator-form-unit {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.gakuhi-simulator-submit-row {
	justify-content: flex-end;
}

.gakuhi-simulator-result {
	max-width: 100%;
	margin-top: 2em;
	overflow-x: auto;
}

/* 比較表がはみ出す幅になったとき、横スクロールできることに気づいてもらうための案内文。
   PCでは表が画面内に収まるので、スマホ表示のときだけ表示する */
.table-scroll-hint {
	display: none;
	color: var(--color-text-muted);
	font-size: 0.85rem;
	text-align: center;
	margin: 0 0 0.6em;
}

.gakuhi-simulator-note {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin: 0 0 1.5em;
}

/* 列の幅を固定（1校あたり約150px）にし、表全体は列数ぶんの幅を持たせる。
   .gakuhi-simulator-result 側のoverflow-x: autoにより、画面より表が広くなった分だけ
   ページ全体ではなく表（この中）だけが横スクロールするようになる */
.gakuhi-simulator-table {
	table-layout: fixed;
	border-collapse: collapse;
	background: #fff;
}

.gakuhi-simulator-table th,
.gakuhi-simulator-table td {
	width: 150px;
	border: 1px solid var(--color-border);
	padding: 0.7em 1em;
	text-align: center;
	word-break: break-word; /* 長い学校名・ラベルでも列からはみ出さないようにする */
}

/* 項目名の列（1列目）は少し長い言葉が入るため、他の列より広めにする */
.gakuhi-simulator-table th:first-child,
.gakuhi-simulator-table td:first-child {
	width: 170px;
}

.gakuhi-simulator-table thead th {
	background: var(--color-bg-soft);
	color: var(--color-text);
}

.gakuhi-simulator-table tbody th {
	text-align: left;
	background: var(--color-bg-soft);
	font-weight: 700;
}

.gakuhi-simulator-empty {
	color: var(--color-text-muted);
}

.gakuhi-simulator-total-row th,
.gakuhi-simulator-total-row td,
.gakuhi-simulator-final-total-row th,
.gakuhi-simulator-final-total-row td {
	font-weight: 700;
}

/* ユーザー入力の「その他費用」の行は、学校のデータと区別できるよう背景色を変える */
.gakuhi-simulator-extra-row th,
.gakuhi-simulator-extra-row td {
	background: var(--color-bg-soft);
}

.gakuhi-simulator-final-total-row th,
.gakuhi-simulator-final-total-row td {
	border-top: 2px solid var(--color-accent);
}

.gakuhi-simulator-total {
	color: var(--color-primary);
	font-size: 1.05rem;
}

/* いちばん安い高校に付けるラベル */
.gakuhi-simulator-cheapest-label {
	display: inline-block;
	margin-top: 0.4em;
	padding: 0.2em 0.6em;
	background: var(--color-accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: var(--radius);
}

/*--------------------------------------------------------------
## 高校比較表（ショートコード [school_hikaku]）
--------------------------------------------------------------*/
.school-hikaku-form {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.2em 1.5em;
}

.school-hikaku-form-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6em;
	margin-bottom: 1em;
}

.school-hikaku-form-row:last-child {
	margin-bottom: 0;
}

.school-hikaku-form-row label {
	font-weight: 700;
	color: var(--color-text);
	min-width: 12em;
}

/* min-width: 0 がないと、flexアイテムは中身（学校名の選択肢）の幅より縮めなくなり、
   画面が狭いスマホでフォームごと右にはみ出してしまう */
.school-hikaku-form-row select {
	flex: 1 1 20em;
	min-width: 0;
	max-width: 28em;
	width: 100%;
	box-sizing: border-box;
	padding: 0.5em 0.7em;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.school-hikaku-submit-row {
	justify-content: flex-end;
}

.school-hikaku-result {
	max-width: 100%;
	margin-top: 2em;
	overflow-x: auto; /* 比較列が増えても、はみ出す分は横スクロールできるようにする */
}

/* 列の幅を固定（1校あたり約150px）にし、表全体は列数ぶんの幅を持たせる。
   .school-hikaku-result 側のoverflow-x: autoにより、画面より表が広くなった分だけ
   ページ全体ではなく表（この中）だけが横スクロールするようになる */
.school-hikaku-table {
	table-layout: fixed;
	border-collapse: collapse;
	background: #fff;
}

.school-hikaku-table th,
.school-hikaku-table td {
	width: 150px;
	border: 1px solid var(--color-border);
	padding: 0.7em 1em;
	text-align: center;
	word-break: break-word; /* 長い学校名・項目名でも列からはみ出さないようにする */
}

/* 所在地・最寄り駅・部活など長い文章が入る列が多いため、データは中央寄せではなく左寄せにする */
.school-hikaku-table tbody td {
	text-align: left;
	vertical-align: top; /* 部活などで行の高さが伸びても、他校のセルが縦中央に寄って浮かないようにする */
}

/* 項目名の列（1列目）は短い言葉が並ぶだけなので、他の列より幅を狭くする */
.school-hikaku-table th:first-child,
.school-hikaku-table td:first-child {
	width: 110px;
}

.school-hikaku-table thead th {
	background: var(--color-bg-soft);
	color: var(--color-text);
}

.school-hikaku-table thead th a {
	color: var(--color-primary);
	font-weight: 700;
	text-decoration: none;
}

.school-hikaku-table thead th a:hover {
	text-decoration: underline;
}

.school-hikaku-table tbody th {
	text-align: left;
	background: var(--color-bg-soft);
	font-weight: 700;
}

/* 学費に関する注記（就学支援金など）は、値より小さく目立たない色で表示する */
.school-hikaku-note {
	margin: 0.4em 0 0;
	font-size: 0.82rem;
	color: var(--color-text-muted);
}

/* ページトップへ戻るボタン（全ページ共通）
--------------------------------------------- */
.page-top-button {
	position: fixed;
	right: 1.2em;
	bottom: 1.2em;
	width: 2.8em;
	height: 2.8em;
	border: none;
	border-radius: 50%;
	background: var(--color-accent);
	color: #fff;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	/* 普段は非表示（透明・触れない状態）にしておく */
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}

.page-top-button:hover,
.page-top-button:focus {
	background: var(--color-accent-dark);
}

/* JavaScriptがスクロール量に応じて付け外しするクラス */
.page-top-button.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* タブレット以下の調整（本文＋サイドバーを縦積みにする）
--------------------------------------------- */
@media screen and (max-width: 48em) {

	.site-content {
		flex-direction: column;
	}

	/* .site-content は align-items: flex-start のため、flex-direction: column にすると
	   交差軸（横幅）が中身にフィットするだけの幅になってしまい、幅の広い表などが
	   入っているとページ全体が横スクロールしてしまう。明示的にwidth: 100%を指定して防ぐ */
	.site-content .site-main {
		width: 100%;
	}

	.widget-area {
		max-width: none;
		width: 100%;
	}

	.school-article {
		padding: 2em 0 0;
	}

	.school-news-section {
		padding: 0;
	}

	.school-news-switcher label {
    		display: none;
	}

}

/* スマートフォン向けの調整
--------------------------------------------- */
@media screen and (max-width: 37.4375em) {

	.hero-title {
		font-size: 1.5rem;
	}

	.school-title {
		font-size: 1.4rem;
	}

	.school-data-table th {
		width: 45%;
	}

	.school-search-row {
		flex-direction: column;
		align-items: flex-start;
	}

	/* PC表示ではラベルを固定幅で右寄せ・入力欄を右側に並べているが、
	   スマホでは元通り「ラベルの下に入力欄」の縦並びに戻す */
	.school-search-row label {
		display: block;
		width: auto;
		margin-right: 0;
		text-align: left;
	}

	.school-search-row select,
	.school-search-row input[type="text"],
	.school-search-hensachi-range {
		width: 100%;
		max-width: none;
	}

	.area-details[open] .school-list-row-group .school-list-row, .kana-details[open] .school-list-row-group .school-list-row {
    		width: 100%;
	}
	/* 「五十音別」のボタンは、スマホでは「あいうえお」が横1行に並ぶよう5列のグリッドにする */
	.kana-details-list {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		gap: 3px;
	}

	.kana-details {
		width: auto;
	}

	.kana-details .kana-button {
		width: 100%;
		box-sizing: border-box;
		padding: 0.5em 0.3em;
		text-align: center;
	}

	/* スマホでは、横位置・幅はPCと同じくボタン列全体（.area-details-list等）を
	   基準にして左端をそろえ、右にはみ出さないようにする。
	   縦位置（top）だけは「押したボタンの真下」にしたいが、CSSだけでは計算できないため、
	   js/school-details-overlay.js側でJavaScriptから直接pxで指定している */
	.area-details[open] .school-list-row-group,
	.kana-details[open] .school-list-row-group {
		left: 0;
		right: 0;
	}

	/* 学費シミュレーター・高校比較表の結果は、スマホでは横スクロールで見る前提になるため、
	   スクロールできることがわかるように案内文を出す */
	.table-scroll-hint {
		display: block;
	}

	/* 高校ニュースの「高校を選ぶ」プルダウンは、スマホでは選択肢だけで用途がわかるため、
	   ラベル文字を非表示にして横幅を節約する */
	.school-news-switcher label {
		display: none;
	}

article.column {
    padding: 2em 0 0;
}

.single-column ul,
.single-column ol {
    margin-left: 0 !important;
}

}

/* サイトマップ（[sitemap]ショートコード）
--------------------------------------------- */
.sitemap-section + .sitemap-section {
	margin-top: 2em;
}

.sitemap-heading {
	color: var(--color-primary);
	font-size: 1.1rem;
	margin: 0 0 0.6em;
	padding-bottom: 0.4em;
	border-bottom: 2px solid var(--color-accent);
}

.sitemap-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sitemap-list li {
	padding: 0.5em 0;
	border-top: 1px dashed var(--color-border);
	font-size: 0.95rem;
}

.sitemap-list li:first-child {
	border-top: none;
}

.sitemap-list a {
	color: var(--color-text);
	text-decoration: none;
}

.sitemap-list a:hover,
.sitemap-list a:focus {
	color: var(--color-accent);
}

/* 高校一覧は件数が多くなりやすいので、PC幅では2段組みにする */
@media screen and (min-width: 48em) {
	.sitemap-list-columns {
		columns: 2;
		column-gap: 2em;
	}

	.sitemap-list-columns li {
		break-inside: avoid;
	}
}

/* コラム一覧（[column_list]ショートコード）
--------------------------------------------- */
.column-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.2em;
}

.column-list-item {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.2em 1.4em;
	box-shadow: var(--shadow);
}

.column-list-link {
	display: block;
	color: var(--color-primary);
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.5;
}

.column-list-link:hover,
.column-list-link:focus {
	color: var(--color-accent);
	text-decoration: underline;
}

.column-list-meta {
	margin-top: 0.4em;
	color: var(--color-text-muted);
	font-size: 0.85rem;
}

.column-list-excerpt {
	margin: 0.6em 0 0;
	color: var(--color-text);
	font-size: 0.95rem;
	line-height: 1.7;
}

.column-list-empty {
	color: var(--color-text-muted);
}

/* 記事本文（コラム・高校ページ）の表を、Markdown由来の素の表から見やすく整える
--------------------------------------------- */
.entry-content table {
	width: 100%;
	max-width: 100%;
	margin: 1.5em 0;
	border-collapse: collapse;
	overflow-x: auto;
	display: block; /* 列数が多い表でもスマホでレイアウト崩れせず横スクロールできるようにする */
}

.entry-content table th,
.entry-content table td {
	border: 1px solid var(--color-border);
	padding: 0.7em 1em;
	text-align: left;
	vertical-align: top;
	font-size: 0.95rem;
	line-height: 1.6;
}

.entry-content table th {
	background: var(--color-bg-soft);
	color: var(--color-primary);
	font-weight: 700;
	white-space: nowrap;
}

.entry-content table tr:nth-child(even) td {
	background: var(--color-bg-soft);
}

/* コラム記事のタイトル（h1）・見出し（h2）を、高校ページ（.school-hero / .school-section-title）と
   同じ見た目（帯背景＋左のオレンジ罫線）に揃える。
   コラムには高校ページのような専用テンプレートが無く、通常のentry-title / entry-contentの見出しが
   そのまま出力されるため、body_classで自動的に付く「single-column」で範囲を絞って上書きする
--------------------------------------------- */
.single-column .entry-title {
	color: var(--color-primary);
	font-size: 1.8rem;
	background: var(--color-bg-soft);
	border-bottom: 1px solid var(--color-border);
	padding: 0.8em 1em;
	margin: 0 0 1.2em;
}

.single-column .entry-content h2 {
	color: var(--color-primary);
	font-size: 1.2rem;
	background: var(--color-bg-soft);
	border-left: 4px solid var(--color-accent);
	padding: 0.5em 0.8em;
	margin: 1.6em 0 0.8em;
}

@media screen and (max-width: 48em) {
	.single-column .entry-title {
		font-size: 1.4rem;
		padding: 0.7em 1em;
	}
}

/* コラム個別ページ下部の「関連コラム」
--------------------------------------------- */
.column-related {
	margin-top: 2.5em;
	padding: 1.5em 1.5em 0;
	border-top: 1px solid var(--color-border);
	box-sizing: border-box;
}

/* article.column は横幅48em以上のときだけ左右に1.5emの余白を持つため（PC表示のみ）、
   スマホ表示では関連コラム側の左右の余白も0に揃える */
@media screen and (max-width: 48em) {
	.column-related {
		padding-left: 0;
		padding-right: 0;
	}
}

.column-related h2 {
	color: var(--color-primary);
	font-size: 1.2rem;
	border-left: 4px solid var(--color-accent);
	padding: 0.5em 0.8em;
	margin: 0 0 1em;
	background: var(--color-bg-soft);
}

.column-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5em;
}

/* カードの高さをそろえる。はみ出す分はタイトル・抜粋側でclampする */
.column-card {
	display: block;
	height: 220px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.column-card:hover,
.column-card:focus {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(26, 60, 110, 0.15);
}

.column-card-body {
	padding: 1em 1.2em 1.2em;
}

.column-card-title {
	font-size: 1.05rem;
	color: var(--color-primary);
	margin: 0 0 0.5em;
	line-height: 1.4;
	max-height: calc(1.4em * 2);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.column-card-excerpt {
	margin: 0 0 0.6em;
	font-size: 0.88rem;
	color: var(--color-text);
	line-height: 1.6;
	max-height: calc(1.6em * 3);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.column-card-meta {
	font-size: 0.8rem;
	color: var(--color-text-muted);
}
