/*
Theme Name: Otogitei Column
Theme URI: https://www.otogitei.com/column/
Author: Otogitei Kofu
Description: おとぎ亭光風「光風だより」ブログテーマ。本サイトとヘッダー・フッターを統一。
Version: 1.3.5
Text Domain: otogitei-column
*/

:root {
	--otogi-accent: #ac4d43;
	--otogi-accent-soft: #e2a39a;
	--otogi-ink: #444;
	--otogi-muted: #b0b0b0;
	--otogi-line: #cecece;
	--otogi-navy: #1f4758;
	--otogi-bg-soft: #f7f4f3;
	--otogi-bg-gray: #f2f2f2;
}

/* con_news: margin-top と同値の bottom */
.con_news {
	margin-bottom: 5.20833%;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.con_news {
		margin-bottom: 8.33333%;
	}
}

@media only screen and (max-width: 767px) {
	.con_news {
		margin-bottom: 10.41667%;
	}
}

/* --------------------------------------------------------------------------
   List: thumbnails (keep original aspect ratio)
-------------------------------------------------------------------------- */
.main .box_news li a .photo {
	overflow: hidden;
	background: var(--otogi-bg-gray);
	align-self: flex-start;
	line-height: 0;
}

.main .box_news li a .photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center center;
}

.main .box_news li a .photo.is-empty {
	aspect-ratio: 3 / 2;
}

.main .box_news li a .photo.is-empty::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, transparent 46%, #ddd 46%, #ddd 54%, transparent 54%),
		var(--otogi-bg-gray);
}

/* --------------------------------------------------------------------------
   Single: 1 column (sidebar below content even on PC)
-------------------------------------------------------------------------- */
@media only screen and (min-width: 768px) {
	body.single .con_news,
	body.error404 .con_news {
		display: block;
		max-width: 932px;
	}

	body.single .con_news .main,
	body.error404 .con_news .main {
		width: 100%;
	}

	body.single .con_news .side,
	body.error404 .con_news .side {
		width: 100%;
		margin-top: 4.5%;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 4%;
	}

	body.single .con_news .side .box_side,
	body.error404 .con_news .side .box_side {
		flex: 1 1 48%;
		width: 48%;
	}

	body.single .con_news .side .box_side ul.box_cate,
	body.error404 .con_news .side .box_side ul.box_cate {
		margin-bottom: 0;
	}
}

/* --------------------------------------------------------------------------
   Single: eyecatch below title
-------------------------------------------------------------------------- */
.box_eyecatch {
	width: 100%;
	margin: 2.2em 0 0;
	overflow: hidden;
	line-height: 0;
}

.box_eyecatch img {
	display: block;
	width: 100%;
	height: auto;
}

@media only screen and (max-width: 767px) {
	.box_eyecatch {
		margin-top: 1.5em;
	}
}

.box_eyecatch + .box_det {
	margin-top: 2.2em;
}

@media only screen and (max-width: 767px) {
	.box_eyecatch + .box_det {
		margin-top: 1.5em;
	}
}

/* --------------------------------------------------------------------------
   List / archive pagination (WordPress the_posts_pagination)
-------------------------------------------------------------------------- */
.navigation.pagination {
	margin: 2.5em 0 1em;
	font-size: 89%;
}

.navigation.pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.4em;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	min-width: 2.4em;
	height: 2.4em;
	padding: 0 0.4em;
	margin: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	color: var(--otogi-ink);
	font-family: "Cormorant Infant", "Times New Roman", Times, serif;
	font-size: 100%;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.navigation.pagination .page-numbers:not(.prev):not(.next):not(.dots):hover,
.navigation.pagination .page-numbers.current {
	border-color: var(--otogi-muted);
}

.navigation.pagination .page-numbers.current {
	color: var(--otogi-accent);
	font-weight: 400;
}

.navigation.pagination .page-numbers.dots {
	min-width: 1.5em;
	border: 0;
	letter-spacing: 0.1em;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
	min-width: auto;
	height: auto;
	padding: 0.4em 0.6em;
	border: 0;
	border-radius: 0;
	font-family: inherit;
	font-size: 95%;
	letter-spacing: 0.08em;
	color: var(--otogi-ink);
	text-decoration: none;
}

.navigation.pagination .page-numbers.prev::before,
.navigation.pagination .page-numbers.next::after,
.navigation.pagination .page-numbers.prev::after,
.navigation.pagination .page-numbers.next::before {
	content: none;
	display: none;
}

.mouse .navigation.pagination .page-numbers.prev:hover,
.mouse .navigation.pagination .page-numbers.next:hover {
	color: var(--otogi-accent);
}

@media only screen and (max-width: 767px) {
	.navigation.pagination .page-numbers {
		min-width: 2em;
		height: 2em;
	}
}

.box_cate li.current a {
	color: var(--otogi-accent);
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   In-article CTA banners
-------------------------------------------------------------------------- */
.box_det .txt .box_cta {
	margin: 2.4em auto;
	max-width: 800px;
}

.box_det .txt .box_cta a {
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.mouse .box_det .txt .box_cta a:hover {
	opacity: 0.85;
}

.box_det .txt .box_cta img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

/* CTA layered (01 / 02 / 03): shared frame */
.box_det .txt .box_cta-1 .cta_frame,
.box_det .txt .box_cta-2 .cta_frame,
.box_det .txt .box_cta-3 .cta_frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	line-height: 0;
}

.box_det .txt .box_cta-1 .cta_bg,
.box_det .txt .box_cta-2 .cta_bg,
.box_det .txt .box_cta-3 .cta_bg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	pointer-events: none;
}

.box_det .txt .box_cta-1 .cta_text,
.box_det .txt .box_cta-2 .cta_text,
.box_det .txt .box_cta-3 .cta_text {
	position: absolute;
	height: auto;
	margin: 0;
	z-index: 1;
	pointer-events: none;
}

.box_det .txt .box_cta-1 a.cta_url,
.box_det .txt .box_cta-1 a.cta_button,
.box_det .txt .box_cta-2 a.cta_button,
.box_det .txt .box_cta-3 a.cta_button {
	position: absolute;
	display: block;
	z-index: 2;
	line-height: 0;
}

.box_det .txt .box_cta-1 a.cta_button,
.box_det .txt .box_cta-2 a.cta_button,
.box_det .txt .box_cta-3 a.cta_button {
	z-index: 3;
}

.box_det .txt .box_cta-1 a.cta_url img,
.box_det .txt .box_cta-1 a.cta_button img,
.box_det .txt .box_cta-2 a.cta_button img,
.box_det .txt .box_cta-3 a.cta_button img {
	width: 100%;
	height: auto;
}

/* CTA 01 positions (measured against cta01.webp 818×818) */
.box_det .txt .box_cta-1 .cta_text {
	top: 0;
	left: 0;
	width: 95.6%;
}

.box_det .txt .box_cta-1 a.cta_url {
	top: 33.13%;
	left: 66.75%;
	width: 26.03%;
}

.box_det .txt .box_cta-1 a.cta_button {
	top: 24.82%;
	left: 65.39%;
	width: 28.74%;
}

/* CTA 02 positions (measured against cta02.webp 803×803) */
.box_det .txt .box_cta-2 .cta_text {
	top: 38.11%;
	left: 39.69%;
	width: 20.63%;
}

.box_det .txt .box_cta-2 a.cta_button {
	top: 56.54%;
	left: 38.36%;
	width: 23.29%;
}

/* CTA 03 positions (measured against cta03.webp 802×802) */
.box_det .txt .box_cta-3 .cta_text {
	top: 27.43%;
	left: 24.07%;
	width: 51.75%;
}

.box_det .txt .box_cta-3 a.cta_button {
	top: 81.67%;
	left: 21.45%;
	width: 53.12%;
}

/* --------------------------------------------------------------------------
   Detail: article body
-------------------------------------------------------------------------- */
.box_det .txt {
	color: var(--otogi-ink);
	letter-spacing: 0.08em;
	line-height: 2;
}

.box_det .txt > *:first-child {
	margin-top: 0;
}

.box_det .txt > *:last-child {
	margin-bottom: 0;
}

.box_det .txt p {
	margin: 0 0 1.6em;
}

.box_det .txt a {
	color: var(--otogi-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	transition: opacity 0.3s ease;
}

.mouse .box_det .txt a:hover {
	opacity: 0.7;
}

.box_det .txt img,
.box_det .txt .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0.5em 0 1.5em;
}

.box_det .txt figure {
	margin: 0 0 2em;
}

.box_det .txt figcaption {
	margin-top: 0.6em;
	font-size: 77%;
	color: #777;
	letter-spacing: 0.08em;
	text-align: center;
}

.box_det .txt blockquote {
	margin: 0 0 2em;
	padding: 1.2em 1.4em;
	background: var(--otogi-bg-soft);
	border-left: 3px solid var(--otogi-accent-soft);
}

.box_det .txt blockquote p:last-child {
	margin-bottom: 0;
}

.box_det .txt hr {
	display: block;
	border: 0;
	border-top: 1px solid var(--otogi-line);
	margin: 2.5em 0;
}

/* h2 — 本サイト .box_st .st 相当 */
.box_det .txt h2 {
	position: relative;
	margin: 2.4em 0 1em;
	padding: 0.35em 0 0.35em 0.9em;
	border-left: 5px solid var(--otogi-accent);
	font-size: 165%;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1.5;
	color: var(--otogi-ink);
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.box_det .txt h2 {
		font-size: 153%;
	}
}

@media only screen and (max-width: 767px) {
	.box_det .txt h2 {
		margin: 2em 0 0.9em;
		font-size: 142%;
		padding-left: 0.75em;
	}
}

.box_det .txt > h2:first-child {
	margin-top: 0;
}

/* h3 — 本サイト .box_st .sst 相当（菱形アクセント） */
.box_det .txt h3 {
	position: relative;
	margin: 2em 0 0.9em;
	padding-left: 1.15em;
	font-size: 130%;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1.6;
	color: var(--otogi-ink);
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.box_det .txt h3 {
		font-size: 118%;
	}
}

@media only screen and (max-width: 767px) {
	.box_det .txt h3 {
		font-size: 112%;
		margin: 1.6em 0 0.8em;
	}
}

.box_det .txt h3::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 9px;
	height: 9px;
	background: var(--otogi-accent);
	transform: translateY(-50%) rotate(45deg);
}

@media only screen and (max-width: 767px) {
	.box_det .txt h3::before {
		width: 8px;
		height: 8px;
	}
}

.box_det .txt h4 {
	margin: 1.6em 0 0.7em;
	font-size: 110%;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--otogi-navy);
}

/* Lists — シンプルな丸 / 数字（色のみ） */
.box_det .txt ul,
.box_det .txt ol {
	margin: 0 0 1.8em;
	padding: 0 0 0 1.5em;
	background: none;
	border: 0;
	list-style-position: outside;
}

.box_det .txt ul {
	list-style: disc;
}

.box_det .txt ul li {
	position: static;
	list-style: disc;
	margin: 0.4em 0;
	padding-left: 0;
	line-height: 1.9;
}

.box_det .txt ul li::before {
	content: none;
	display: none;
}

.box_det .txt ul li::marker {
	color: var(--otogi-accent);
}

.box_det .txt ol {
	list-style: decimal;
}

.box_det .txt ol li {
	position: static;
	list-style: decimal;
	margin: 0.4em 0;
	padding-left: 0;
	line-height: 1.9;
}

.box_det .txt ol li::before {
	content: none;
	display: none;
}

.box_det .txt ol li::marker {
	color: var(--otogi-accent);
}

.box_det .txt li > ul,
.box_det .txt li > ol {
	margin: 0.4em 0 0.3em;
	padding: 0 0 0 1em;
	background: none;
	border: 0;
}

/* --------------------------------------------------------------------------
   Easy Table of Contents
-------------------------------------------------------------------------- */
#toc_container {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 2.4em;
	padding: 1.4em 1.6em 1.5em;
	background: #fff;
	border: 1px solid var(--otogi-line);
	box-shadow: none;
	box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
	#toc_container {
		margin-bottom: 2em;
		padding: 1.2em 1.15em 1.3em;
	}
}

#toc_container p.toc_title,
#toc_container .toc_title {
	display: block;
	position: relative;
	margin: 0 0 1em;
	padding: 0 0 0.75em 1.15em;
	border-bottom: 1px solid var(--otogi-line);
	font-size: 112%;
	font-weight: 400;
	letter-spacing: 0.18em;
	line-height: 1.5;
	color: var(--otogi-ink);
	text-align: left;
	background: none;
}

#toc_container p.toc_title::before,
#toc_container .toc_title::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 9px;
	height: 9px;
	background: var(--otogi-accent-soft);
	transform: rotate(45deg);
}

#toc_container ul.toc_list,
#toc_container .toc_list {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
	border: 0;
}

#toc_container.no_bullets ul.toc_list,
#toc_container.no_bullets .toc_list ul {
	list-style: none;
}

#toc_container ul.toc_list ul {
	margin: 0.35em 0 0.5em 1.4em;
	padding: 0;
	list-style: none;
	background: none;
	border: 0;
}

#toc_container ul.toc_list li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.7;
	background: none;
}

#toc_container ul.toc_list li::before {
	content: none;
	display: none;
}

#toc_container ul.toc_list li a {
	display: flex;
	align-items: baseline;
	gap: 0.4em;
	padding: 0.55em 0.2em;
	color: var(--otogi-ink);
	text-decoration: none;
	letter-spacing: 0.06em;
	border-bottom: 1px dotted #e5e0de;
	transition: color 0.3s ease, opacity 0.3s ease;
}

#toc_container ul.toc_list li:last-child > a {
	border-bottom: 0;
}

.mouse #toc_container ul.toc_list li a:hover {
	color: var(--otogi-accent);
	opacity: 1;
}

#toc_container .toc_number {
	display: none !important;
}

/* プラグイン既定のマーカー・余白を打ち消し */
#toc_container ul.toc_list li::marker,
#toc_container .toc_list li::marker {
	content: "";
}

#toc_container span.toc_toggle,
#toc_container .toc_toggle {
	color: var(--otogi-muted);
}

/* --------------------------------------------------------------------------
   監修者コーナー
-------------------------------------------------------------------------- */
.box_supervisor {
	--supervisor-bar: #5d6c59;
	--supervisor-accent: #5d6c59;
	--supervisor-dot-1: #90a689;
	--supervisor-dot-2: #aac6a1;
	--supervisor-dot-3: #e3f7dc;
	margin: 3.5em 0 0;
	border: 1px solid var(--supervisor-bar);
	background: #fff;
	box-sizing: border-box;
	overflow: hidden;
}

@media only screen and (max-width: 767px) {
	.box_supervisor {
		margin-top: 2.5em;
	}
}

.box_supervisor .supervisor_head {
	display: flex;
	align-items: center;
	gap: 1.4em;
	padding: 0.75em 1.4em;
	background: var(--supervisor-bar);
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_head {
		padding: 0.7em 1em;
		gap: 0.8em;
	}
}

.box_supervisor .supervisor_label {
	flex: 0 0 auto;
	margin: 0;
	color: #fff;
	font-size: 89%;
	letter-spacing: 0.12em;
	line-height: 1.4;
	white-space: nowrap;
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_label {
		font-size: 83%;
		letter-spacing: 0.06em;
		white-space: normal;
	}
}

.box_supervisor .supervisor_head::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: rgba(255, 255, 255, 0.5);
}

.box_supervisor .supervisor_body {
	display: flex;
	align-items: stretch;
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_body {
		display: block;
	}
}

.box_supervisor .supervisor_photo {
	flex: 0 0 29%;
	width: 29%;
	margin: 0;
	overflow: hidden;
	background: #eee;
	line-height: 0;
	position: relative;
	align-self: stretch;
	min-height: 1px;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.box_supervisor .supervisor_photo {
		flex-basis: 32%;
		width: 32%;
	}
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_photo {
		width: 100%;
		flex-basis: auto;
		aspect-ratio: 16 / 10;
		position: relative;
	}
}

.box_supervisor .supervisor_photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media only screen and (min-width: 768px) {
	.box_supervisor .supervisor_photo img {
		position: absolute;
		inset: 0;
	}
}

.box_supervisor .supervisor_info {
	flex: 1 1 auto;
	width: 71%;
	padding: 1.5em 1.7em 1.4em;
	box-sizing: border-box;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.box_supervisor .supervisor_info {
		width: 68%;
		padding: 1.25em 1.2em 1.2em;
	}
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_info {
		width: 100%;
		padding: 2em 1em 2em;
	}
}

.box_supervisor .supervisor_en {
	margin: 0 0 0.25em;
	color: #8a9584;
	font-family: "Cormorant Infant", "Times New Roman", Times, serif;
	font-size: 83%;
	letter-spacing: 0.32em;
	line-height: 1.4;
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_en {
		font-size: 77%;
		letter-spacing: 0.2em;
	}
}

.box_supervisor .supervisor_name {
	margin: 0 0 0.35em;
	color: #333;
	font-size: 165%;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1.35;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.box_supervisor .supervisor_name {
		font-size: 147%;
	}
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_name {
		font-size: 136%;
	}
}

.box_supervisor .supervisor_catch {
	margin: 0 0 0.7em;
	color: #444;
	font-size: 89%;
	letter-spacing: 0.04em;
	line-height: 1.7;
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_catch {
		font-size: 83%;
		margin-bottom: 0.6em;
	}
}

.box_supervisor .supervisor_line {
	display: block;
	width: 2.8em;
	height: 3px;
	margin: 0 0 0.95em;
	background: var(--supervisor-accent);
}

.box_supervisor .supervisor_desc {
	margin: 0 0 1.15em;
	color: #444;
	font-size: 89%;
	letter-spacing: 0.04em;
	line-height: 1.95;
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_desc {
		font-size: 83%;
		margin-bottom: 1em;
		line-height: 1.85;
	}
}

.box_supervisor .supervisor_meta {
	margin: 0 0 1.2em;
	padding: 0;
	list-style: none;
	border-top: 0;
}

.box_supervisor .supervisor_meta li {
	display: flex;
	align-items: baseline;
	gap: 1.4em;
	margin: 0;
	padding: 0.7em 0 0.7em 1em;
	list-style: none;
	border-bottom: 0;
	position: relative;
	line-height: 1.65;
}

.box_supervisor .supervisor_meta li:first-child {
	border-bottom: 1px solid #e6e6e6;
}

.box_supervisor .supervisor_meta li::before {
	content: "";
	position: absolute;
	top: 1.15em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--supervisor-accent);
}

.box_supervisor .supervisor_meta li::marker {
	content: "";
}

.box_supervisor .supervisor_meta .label {
	flex: 0 0 2.5em;
	color: #888;
	font-size: 83%;
	letter-spacing: 0.08em;
}

.box_supervisor .supervisor_meta .value {
	flex: 1 1 auto;
	color: #444;
	font-size: 83%;
	letter-spacing: 0.03em;
	word-break: break-all;
}

.box_supervisor .supervisor_meta .value a {
	color: #0563c1;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.mouse .box_supervisor .supervisor_meta .value a:hover {
	opacity: 0.7;
}

.box_supervisor .supervisor_btn {
	margin: 0;
}

.box_supervisor .supervisor_btn a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	padding: 0.85em 1.5em;
	background: var(--supervisor-bar);
	color: #fff;
	font-size: 89%;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_btn a {
		width: 100%;
		box-sizing: border-box;
	}
}

.mouse .box_supervisor .supervisor_btn a:hover {
	opacity: 0.8;
}

.box_supervisor .supervisor_btn .icon {
	font-size: 1.35em;
	line-height: 1;
	font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.box_supervisor .supervisor_foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: 0.65em 1.4em;
	background: var(--supervisor-bar);
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_foot {
		padding: 0.6em 1em;
	}
}

.box_supervisor .supervisor_place {
	margin: 0;
	color: #fff;
	font-family: "Cormorant Infant", "Times New Roman", Times, serif;
	font-size: 77%;
	letter-spacing: 0.18em;
	line-height: 1.4;
}

@media only screen and (max-width: 767px) {
	.box_supervisor .supervisor_place {
		font-size: 65%;
		letter-spacing: 0.06em;
	}
}

.box_supervisor .supervisor_dots {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.box_supervisor .supervisor_dots li {
	width: 8px;
	height: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: 50%;
}

.box_supervisor .supervisor_dots li:nth-child(1) {
	background: var(--supervisor-dot-1);
}

.box_supervisor .supervisor_dots li:nth-child(2) {
	background: var(--supervisor-dot-2);
}

.box_supervisor .supervisor_dots li:nth-child(3) {
	background: var(--supervisor-dot-3);
}

.box_supervisor .supervisor_dots li::before,
.box_supervisor .supervisor_dots li::marker {
	content: none;
	display: none;
}

/* 戻るボタンとの間隔調整 */
.box_supervisor + .box_pager_det,
.box_related + .box_pager_det {
	margin-top: 2.5em;
}

@media only screen and (max-width: 767px) {
	.box_supervisor + .box_pager_det,
	.box_related + .box_pager_det {
		margin-top: 2em;
	}
}

/* --------------------------------------------------------------------------
   Related posts
-------------------------------------------------------------------------- */
.box_related {
	margin: 3.5em 0 0;
}

@media only screen and (max-width: 767px) {
	.box_related {
		margin-top: 2.5em;
	}
}

.box_related .related_st {
	position: relative;
	margin: 0 0 1.4em;
	padding: 0 0 0.75em 1.15em;
	border-bottom: 1px solid var(--otogi-line);
	font-size: 112%;
	font-weight: 400;
	letter-spacing: 0.18em;
	line-height: 1.5;
	color: var(--otogi-ink);
}

.box_related .related_st::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 9px;
	height: 9px;
	background: var(--otogi-accent-soft);
	transform: rotate(45deg);
}

.box_related_list {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.box_related_list li {
	flex: 0 0 31.666%;
	width: 31.666%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.box_related_list li::before,
.box_related_list li::marker {
	content: none;
	display: none;
}

.box_related_list li a {
	display: block;
	text-decoration: none;
	color: var(--otogi-ink);
	transition: opacity 0.3s ease;
}

.mouse .box_related_list li a:hover {
	opacity: 0.7;
}

.box_related_list .photo {
	margin: 0 0 0.85em;
	overflow: hidden;
	background: var(--otogi-bg-gray);
	line-height: 0;
}

.box_related_list .photo img {
	display: block;
	width: 100%;
	height: auto;
}

.box_related_list .photo.is-empty {
	aspect-ratio: 3 / 2;
	background:
		linear-gradient(135deg, transparent 46%, #ddd 46%, #ddd 54%, transparent 54%),
		var(--otogi-bg-gray);
}

.box_related_list .date {
	margin: 0 0 0.45em;
}

.box_related_list .date i {
	font-family: "Cormorant Infant", "Times New Roman", Times, serif;
	font-size: 95%;
	font-style: normal;
	letter-spacing: 0.06em;
	color: var(--otogi-ink);
}

.box_related_list .title {
	margin: 0;
	font-size: 95%;
	letter-spacing: 0.08em;
	line-height: 1.6;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.box_related_list .date i,
	.box_related_list .title {
		font-size: 89%;
	}
}

@media only screen and (max-width: 767px) {
	.box_related_list {
		display: block;
		gap: 0;
	}

	.box_related_list li {
		width: 100%;
		flex-basis: auto;
		margin-bottom: 1.8em;
	}

	.box_related_list li:last-child {
		margin-bottom: 0;
	}

	.box_related_list .photo {
		margin-bottom: 0.7em;
	}

	.box_related_list .date i,
	.box_related_list .title {
		font-size: 89%;
	}

	.box_related_list .title {
		-webkit-line-clamp: 2;
	}
}

/* --------------------------------------------------------------------------
   Detail pager: keep layout when prev/next is missing
-------------------------------------------------------------------------- */
.box_pager_det {
	justify-content: space-between;
	align-items: center;
}

.box_pager_det:has(> li.back:only-child) {
	justify-content: center;
}

.box_pager_det > li.prev,
.box_pager_det > li.next {
	flex: 1 1 0;
	min-width: 0;
}

.box_pager_det > li.prev {
	text-align: left;
}

.box_pager_det > li.next {
	text-align: right;
}

.box_pager_det > li.back {
	flex: 0 0 auto;
}

.box_pager_det li.is-empty .pager_dummy {
	visibility: hidden;
	display: inline-block;
	padding: 0.5em 2em;
	pointer-events: none;
	user-select: none;
}

@media only screen and (max-width: 767px) {
	.box_pager_det li.is-empty .pager_dummy {
		padding: 0.5em 1em;
	}
}
