/* custom.css */
/* このサイトの機能デフォルト装飾CSS
--------------------------------------------------------------*/

/* 特殊コマンド
 * ---------------------------------------------*/
/* Command + Shift + Enterでスマホ専用改行を挿入します。 */
/* スマホでのみ有効になる改行 */
br.sp-only {
	display: none;
}

@media (max-width: 768px) {
	br.sp-only {
		display: inline;
	}
}

/* モバイルナビゲーション
--------------------------------------------------------------*/

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	z-index: 1001;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}

.menu-toggle__icon {
	position: relative;
}

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

.menu-toggle__icon::before {
	transform: translateY(-7px);
}

.menu-toggle__icon::after {
	transform: translateY(7px);
}

/* メニュー展開時：☰ → ✕ */

.main-navigation.toggled .menu-toggle__icon {
	background: transparent;
}

.main-navigation.toggled .menu-toggle__icon::before {
	transform: rotate(45deg);
}

.main-navigation.toggled .menu-toggle__icon::after {
	transform: rotate(-45deg);
}

.navigation-panel {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding:
		max(24px, env(safe-area-inset-top))
		24px
		max(24px, env(safe-area-inset-bottom));
	overflow-y: auto;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(24px);
	transition:
		opacity 0.3s ease,
		transform 0.3s ease,
		visibility 0.3s;
}

.main-navigation.toggled .navigation-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.navigation-panel__header {
	display: flex;
	align-items: center;
	justify-content:center;
	gap: 24px;
	min-height: 48px;
}

.navigation-panel__title {
	margin: 0;
	font-size: clamp(1rem, 4vw, 1.25rem);
	font-weight: 700;
	line-height: 1.4;
}

.navigation-panel__body {
	display: flex;
	flex: 1;
	align-items: center;
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
	padding: 48px 0;
}

.navigation-panel .nav-menu {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.navigation-panel .nav-menu > li {
	position: relative;
	margin: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navigation-panel .nav-menu > li:first-child {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.navigation-panel .nav-menu a {
	display: flex;
	align-items: center;
	min-height: 64px;
	padding: 12px 4px;
	color: #4A4A4A;
	font-size: clamp(1.125rem, 5vw, 1.5rem);
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
    letter-spacing: 0.02rem;
    font-family: var(--wp--preset--font-family--system);
}

.navigation-panel .nav-menu a:hover {
	opacity: 0.65;
	transform: translateX(4px);
}

.navigation-panel .nav-menu a:focus-visible,
.menu-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.navigation-panel .current-menu-item > a,
.navigation-panel .current_page_item > a {
	font-weight: 500;
}

.navigation-panel .sub-menu {
	margin: 0;
	padding: 0 0 16px 20px;
	list-style: none;
}

.navigation-panel .sub-menu a {
	min-height: 48px;
	font-size: 1rem;
	font-weight: 500;
}

body.menu-open {
	overflow: hidden;
}

@media screen and (min-width: 769px) {
	.menu-toggle,
	.navigation-panel__header {
		display: none;
	}

	.navigation-panel {
		position: static;
		display: block;
		padding: 0;
		overflow: visible;
		background: transparent;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.navigation-panel__body {
		display: block;
		width: auto;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	.navigation-panel .nav-menu {
		flex-direction: row;
		align-items: center;
		gap: 32px;
	}

	.navigation-panel .nav-menu > li,
	.navigation-panel .nav-menu > li:first-child {
		border: 0;
	}

	.navigation-panel .nav-menu a {
		min-height: auto;
		padding: 8px 0;
		font-size: 1rem;
	}

	.navigation-panel .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		padding: 12px;
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition:
			opacity 0.2s ease,
			transform 0.2s ease,
			visibility 0.2s;
	}

	.navigation-panel .menu-item-has-children:hover > .sub-menu,
	.navigation-panel .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.navigation-panel .sub-menu a {
		padding: 10px 12px;
		font-size: 0.9375rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.menu-toggle__icon,
	.menu-toggle__icon::before,
	.menu-toggle__icon::after,
	.navigation-panel,
	.navigation-panel .nav-menu a,
	.navigation-panel .sub-menu {
		transition: none;
	}
}

/* LP見出しナビゲーション
--------------------------------------------------------------*/
.lp-header {
	position: fixed;
	top: .1rem;
	right: 1rem;
	z-index: 1000;
}

.lp-menu-toggle {
	position: relative;
	z-index: 1001;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border:none;
	border-radius: 50%;
	background: none;
	color: #222;
	cursor: pointer;
	box-shadow:none;
	/*-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);*/

}


.lp-menu-toggle:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* LPメニュー展開時：☰ → ✕ */
.lp-navigation-open .lp-menu-toggle .menu-toggle__icon {
	background: transparent;
}

.lp-navigation-open .lp-menu-toggle .menu-toggle__icon::before {
	transform: rotate(45deg);
}

.lp-navigation-open .lp-menu-toggle .menu-toggle__icon::after {
	transform: rotate(-45deg);
}

.lp-heading-navigation {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow-y: auto;
	padding: 6rem 1.5rem 3rem;
	background: rgba(255, 255, 255, 0.98);
	color: #222;
	display: flex;
	flex-direction: column;
}

.lp-heading-navigation[hidden] {
	display: none;
}

.lp-heading-navigation__list {
	width: min(100%, 42rem);
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex: 1;
	flex-direction: column;
}

.lp-heading-navigation__item {
	margin: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.lp-heading-navigation__item--h3 {
	padding-left: 1.25rem;
}

.lp-heading-navigation__link {
	display: block;
	padding: 1rem 0;
	color: inherit;
	font-size: 1rem;
	line-height: 1.6;
	text-decoration: none;
}

.lp-heading-navigation__item--h2 .lp-heading-navigation__link {
	font-size: 1.125rem;
	font-weight: 700;
}

.lp-heading-navigation__item--h3 .lp-heading-navigation__link {
	font-size: 0.9375rem;
}

.lp-heading-navigation__link:hover,
.lp-heading-navigation__link.is-active {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.lp-heading-navigation__link:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

.lp-navigation-open {
	overflow: hidden;
}

.lp-content__body h2,
.lp-content__body h3 {
	scroll-margin-top: 4rem;
}

.lp-heading-navigation__item--home {
    margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.lp-heading-navigation__item--home .lp-heading-navigation__link {
    font-size: 0.8rem;
}

@media screen and (min-width: 769px) {
	.lp-header {
		top: 1.5rem;
		right: 1.5rem;
	}

	.lp-heading-navigation {
		inset: 0 0 0 auto;
		width: min(26rem, 100%);
		padding: 6rem 2rem 3rem;
		box-shadow: -1rem 0 3rem rgba(0, 0, 0, 0.12);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lp-menu-toggle,
	.lp-heading-navigation__link {
		scroll-behavior: auto;
	}
}


/* スクロール時のLPメニューボタン
-------------------------------------------------------------- */

.lp-menu-toggle {
	transition:
		opacity 0.24s ease,
		transform 0.24s ease,
		visibility 0.24s ease,
		background-color 0.2s ease;
}

/* LPヘッダー自体は動かさず、ボタンだけを隠します */
.lp-header.is-scroll-hidden .lp-menu-toggle {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-16px);
}

/* メニュー展開中は必ず表示します */
body.lp-navigation-open .lp-header .lp-menu-toggle {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}


/* 上へ戻るボタン
-------------------------------------------------------------- */

.back-to-top {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: #222222;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition:
		opacity 0.24s ease,
		transform 0.24s ease,
		visibility 0.24s ease,
		background-color 0.2s ease;
}

.back-to-top.is-visible {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.back-to-top:hover {
	background: #ffffff;
}

.back-to-top:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* 上向き矢印 */
.back-to-top__icon {
	display: block;
	width: 11px;
	height: 11px;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(45deg) translate(2px, 2px);
}

/* メニュー展開中は上へ戻るボタンを隠します */
body.menu-open .back-to-top,
body.lp-navigation-open .back-to-top {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

/* WordPress管理バー表示中 */
body.admin-bar .back-to-top {
	z-index: 999;
}

@media (prefers-reduced-motion: reduce) {
	.lp-menu-toggle,
	.back-to-top {
		transition: none;
	}
}


/*フッター色*/
.site-footer {
	background: var(--color-footer-background, #2E2E2E);
    padding-block: 12rem 0rem;
}

.site-info {
	padding-top: 16px;
	text-align: center;
	font-size: .75rem;
	opacity: .7;
}

.site-info p {
	margin: 0;
}

/* フッターナビ */
.footer-navigation .footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-navigation .menu-item {
	display: flex;
	align-items: center;
}

.footer-navigation .menu-item + .menu-item::before {
	content: "｜";
	margin: 0 .75rem;
	color: currentColor;
	opacity: .35;
}

.footer-navigation a {
	display: block;
	font-size: .75rem;
	padding: .375rem 0;
	color: inherit;
	text-decoration: none;
	transition: opacity .2s ease;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible {
	opacity: .7;
}

/* スマホ */
@media (max-width: 768px) {

	.footer-navigation .footer-menu {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.footer-navigation .menu-item {
		width: 100%;
		justify-content: center;
	}

	.footer-navigation .menu-item + .menu-item::before {
		display: none;
	}

	.footer-navigation a {
		padding: .25rem 0;
	}
}

/* LPフッターナビ */
.lp-footer {
	background: var(--color-footer-background, #2E2E2E);
    padding-block: 21rem .5rem;
}
.lp-footer-navigation .lp-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-footer-navigation .menu-item {
	display: flex;
	align-items: center;
}

.lp-footer-navigation .menu-item + .menu-item::before {
	content: "｜";
	margin: 0 .75rem;
	color: currentColor;
	opacity: .35;
}

.lp-footer-navigation a {
	display: block;
	font-size: .75rem;
	padding: .375rem 0;
	color: inherit;
	text-decoration: none;
	transition: opacity .2s ease;
}

.lp-footer-navigation a:hover,
.lp-footer-navigation a:focus-visible {
	opacity: .7;
}

/* スマホ */
@media (max-width: 768px) {

	.lp-footer-navigation .footer-menu {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.lp-footer-navigation .menu-item {
		width: 100%;
		justify-content: center;
	}

	.lp-footer-navigation .menu-item + .menu-item::before {
		display: none;
	}

	.lp-footer-navigation a {
		padding: .25rem 0;
	}
}


/* サイトレイアウト
--------------------------------------------------------------*/

/* ページタイトル */
/*
.entry-header {
    width: 58rem;
    max-width: calc(100% - 1.5rem);
    margin-inline: auto;
	padding-block: 40px;
}
*/
.entry-title {
	/*margin: 0;*/
	font-size: clamp(1.75rem, 2vw, 2.25rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.02em;
	/* entry-headerから移植 */
	padding-block: 28px;
	width: 58rem;
	max-width: 100%;
	margin-inline: auto;
	margin-bottom: var(--wp--preset--spacing--md, 1.5rem);
}

@media (max-width: 768px) {
	.entry-title { padding-block: 28px;}
	/*
	.entry-header {
		padding-block: 28px;
	}
	*/
}

/* ==========================================================
   Drawer Sidebar
========================================================== */

body.is-drawer-sidebar-open {
	overflow: hidden;
}

/* 開閉アイコン */
.drawer-sidebar-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background:none;
	color:#555;
	cursor: pointer;
}

.drawer-sidebar-toggle:hover {
	background:none;
}

.drawer-sidebar-toggle:active {
	transform: scale(0.96);
}

.drawer-sidebar-toggle:focus-visible {
	outline:none;
	outline-offset:0;
}

/* サイドパネル型アイコン */
.drawer-sidebar-toggle__icon {
	position: relative;
	display: block;
	width: 25px;
	height: 22px;
	border: 2px solid currentColor;
	border-radius: 3px;
}

/* 左側のサイドバー領域を表す縦線 */
.drawer-sidebar-toggle__icon::before {
	position: absolute;
	top: -1.5px;
	bottom: -1.5px;
	left: 7px;
	width: 2px;
	border-radius: 999px;
	background-color: currentColor;
	content: "";
}

.drawer-sidebar-toggle__icon::after {
	display: none;
}

/* 背景オーバーレイ */
.drawer-sidebar-overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background-color: rgba(15, 18, 24, 0.5);
	opacity: 0;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	transition: opacity 0.25s ease;
}

.drawer-sidebar-overlay.is-open {
	opacity: 1;
}

/* ドロワー本体 */
.drawer-sidebar {
	position: fixed;
	inset-block: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	width: min(24rem, calc(100vw - 3rem));
	max-width: 100%;
	background-color:
		var(--wp--preset--color--background, #ffffff);
	color:
		var(--wp--preset--color--text-primary, #262626);
	box-shadow: 12px 0 40px rgba(0, 0, 0, 0.16);
	overflow: hidden;
	transform: translateX(-100%);
	visibility: hidden;
	transition:
		transform 0.3s ease,
		visibility 0.3s;
}

.drawer-sidebar.is-open {
	transform: translateX(0);
	visibility: visible;
}

/* ドロワーヘッダー */
.drawer-sidebar__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 72px;
	padding: 1rem 1.25rem;
	border-bottom:
		1px solid
		var(--wp--preset--color--line, #dddddd);
}

.drawer-sidebar__heading {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

/* 閉じるボタン */
.drawer-sidebar__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: #555;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.drawer-sidebar__close:hover {
	background: none;
}

.drawer-sidebar__close:active {
	transform: scale(0.96);
}

.drawer-sidebar__close:focus-visible {
	outline: none;
	outline-offset: 0;
}

/* 閉じる側のサイドパネル型アイコン */
.drawer-sidebar__close-icon {
	position: relative;
	display: block;
	width: 25px;
	height: 22px;
	border: 2px solid currentColor;
	border-radius: 3px;
}

/* 右側のサイドバー領域を表す縦線 */
.drawer-sidebar__close-icon::before {
	position: absolute;
	top: -1.5px;
	right: 7px;
	bottom: -1.5px;
	width: 2px;
	border-radius: 999px;
	background-color: currentColor;
	content: "";
}

/* ウィジェット領域 */
.drawer-sidebar__body {
	flex: 1;
	padding: 1.25rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.drawer-sidebar__widget {
	margin: 0;
	padding-block: 1.25rem;
	border-bottom:
		1px solid
		var(--wp--preset--color--line, #dddddd);
}
.drawer-sidebar__widget p {
	margin-block: 0.5rem;
}
.drawer-sidebar__widget p a {
	text-decoration: none;
}
.drawer-sidebar__widget p a::before {
	content:'›';
	display: inline-block;
	padding-right:.5rem;
	transition: transform 0.2s ease;
}
.drawer-sidebar__widget p a:hover::before  {
	transform:translatex(-5px);
}

.drawer-sidebar__widget:first-child {
	padding-top: 0;
}

.drawer-sidebar__widget:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.drawer-sidebar__title {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.drawer-sidebar__widget :where(ul, ol) {
	margin: 0;
	padding-left: 1.25em;
}

.drawer-sidebar__widget :where(li + li) {
	margin-top: 0.5rem;
}

.drawer-sidebar__widget a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* スマホ */
@media (max-width: 767px) {
	.drawer-sidebar {
		width: min(23rem, calc(100vw - 2rem));
	}

	.drawer-sidebar__header {
		min-height: 64px;
		padding: 0.75rem 1rem;
	}

	.drawer-sidebar__body {
		padding: 1rem;
	}
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
	.drawer-sidebar-toggle,
	.drawer-sidebar__close,
	.drawer-sidebar-overlay,
	.drawer-sidebar {
		transition: none;
	}
}

.drawer-sidebar-toggle {
	position: fixed;
	top:
		calc(
			var(--wp-admin--admin-bar--height, 0px)
			+ 22px
		);
	left: 32px;
	z-index: 1200;
	transition:
		top 0.28s ease,
		opacity 0.28s ease,
		background-color 0.2s ease,
		transform 0.28s ease;
}

/* ヘッダーと同時に画面上へ隠します */
.drawer-sidebar-toggle.is-scroll-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(-88px);
}

@media (max-width: 768px) {
	.drawer-sidebar-toggle {
		top:
			calc(
				var(--wp-admin--admin-bar--height, 0px)
				+ 14px
			);
		left: max(16px, env(safe-area-inset-left));
	}
}

/* リスト
-------------------*/
/* adjust-list：文字量に応じて折り返す可変リスト */
.adjust-list {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.5rem 2.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.adjust-list > li {
	position: relative;
	flex: 0 0 auto;
	inline-size: max-content;
	min-inline-size: min(100%, calc((100% - 6.3rem) / 4));
	max-inline-size: 100%;
	margin: 0;
	padding-left: 1.1rem;
	box-sizing: border-box;
	overflow-wrap: anywhere;
}

/* リストマーカー */
.adjust-list > li::before {
	content: "";
	position: absolute;
	top: 0.75em;
	left: 0;
	width: 0.35em;
	aspect-ratio: 1;
	border-radius: 50%;
	background: currentColor;
}

/* タブレット：最大2列 */
@media screen and (max-width: 959px) {
	.adjust-list > li {
		min-inline-size: min(100%, calc(50% - 0.5rem));
	}
}

/* スマホ：1列 */
@media screen and (max-width: 600px) {
	.adjust-list > li {
		inline-size: 100%;
		min-inline-size: 100%;
	}
}

/* ========================================
    News List｜新着投稿一覧
======================================== */

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

/* 1件ごとの行 */
.news-list li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 32px;

	margin: 0;
	padding: 20px 44px 20px 8px;

	border-bottom: 1px solid rgba(174, 135, 54, 0.32);

	transition:
		background-color 0.3s ease,
		padding-left 0.3s ease;
}

/* 日付を左へ移動 */
.news-list .wp-block-latest-posts__post-date {
	order: 1;
	flex: 0 0 112px;

	margin: 0;

	color: #a77d2f;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.88rem;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

/* タイトル */
.news-list .wp-block-latest-posts__post-title {
	order: 2;
	flex: 1 1 auto;

	color: #162f55;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0.025em;
	text-decoration: none;

	transition: color 0.3s ease;
}

/* 右端の矢印 */
.news-list li::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 12px;

	color: #b48b3d;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
	line-height: 1;

	transform: translateY(-50%);
	transition: transform 0.3s ease;
}

/* ホバー */
.news-list li:hover {
	padding-left: 14px;
	background-color: rgba(183, 143, 66, 0.055);
}

.news-list li:hover .wp-block-latest-posts__post-title {
	color: #a77d2f;
}

.news-list li:hover::after {
	transform: translate(5px, -50%);
}

/* 最初の行にも上線を入れる場合 */
.news-list li:first-child {
	border-top: 1px solid rgba(174, 135, 54, 0.32);
}


/* ========================================
   スマートフォン
======================================== */

@media (max-width: 680px) {

	.news-list li {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;

		padding: 17px 38px 17px 4px;
	}

	/* スマホではタイトルを上、日付を下へ */
	.news-list .wp-block-latest-posts__post-title {
		order: 1;
		font-size: 0.96rem;
		line-height: 1.65;
	}

	.news-list .wp-block-latest-posts__post-date {
		order: 2;
		flex-basis: auto;
		font-size: 0.78rem;
	}

	.news-list li:hover {
		padding-left: 4px;
	}
}

/* ==========================================================
   Modal
========================================================== */

body.cl-modal-open {
	overflow: hidden;
}

/* オーバーレイ */
.cl-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(204, 190, 160, 0.6);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		visibility 0s linear 0.25s;
}

.cl-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 1s ease;
}

/* モーダル本体 */
.cl-modal {
	position: fixed;
	inset: 0;
	z-index: 10001;
	width: fit-content;
    max-width: calc(100% - 1.25rem);
	height: fit-content;
	max-height: 90vh;
	margin: auto;
	padding: 4.5rem 1rem 5rem;
	box-sizing: border-box;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	border-radius: 14px;
	background:
		var(--wp--preset--color--background, #ffffff);
	color:
		var(--wp--preset--color--text-primary, #262626);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		transform 0.25s ease,
		visibility 0s linear 0.25s;
}

.cl-modal.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition:
		opacity 1s ease,
		transform 1s ease;
}

/* 閉じるボタン */
.cl-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background:
		var(--wp--preset--color--background-muted, #f5f5f5);
	color:
		var(--wp--preset--color--text-primary, #262626);
	font-size: 1.75rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.cl-modal__close:hover {
	transform: scale(1.05);
}

.cl-modal__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
	.cl-modal-overlay,
	.cl-modal,
	.cl-modal__close {
		transition: none !important;
	}
}
