@charset "UTF-8";

:root,
:host {
	/* Font Families：Windows・Mac は游ゴシック／游明朝、iPhone はヒラギノ、Android は端末標準
	   見出しとボタンは明朝（--font-family-mincho）、本文はゴシック。明朝の指定は制作会社の指定どおり */
	--font-family-gothic: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	--font-family-mincho: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;

	/* Text Styles
	   値はSP（見出しはPCより1段階小さい。下層の本文をSP 16px にしたため、H3〜H5 は本文より大きくなるよう上げた）。
	   PCの値は下の @media (min-width: 1024px) の :root で上書きする
	   行間はデザインの px を calc(行間px / 文字px) で単位なしの比率にする */
	--font-size-body-regular: 14px;
	--line-height-body-regular: calc(36 / 14);

	--font-size-heading-h1: 30px;
	--line-height-heading-h1: calc(48 / 30);

	--font-size-heading-h2: 24px;
	--line-height-heading-h2: calc(48 / 24);

	--font-size-heading-h3: 22px;
	--line-height-heading-h3: 1.5;

	--font-size-heading-h4: 19px;
	--line-height-heading-h4: 1.6;

	--font-size-heading-h5: 17px;
	--line-height-heading-h5: 1.6;

	/* Color Collection */
	--color-text: #675036;
	--color-heading: #573d20;
	--color-main: #769fb9;
	--color-sub: #0f87cf;
	--color-pale: #e1ebf0;
	--color-attention: #f41010;
	--color-accent: #ffcdd5;
	--color-bg-1: #e4eef4;
	--color-bg-2: #f0f4f6;
	--color-bg-white: #ffffff;

	/* パレット外の色（スクショから測った値。PSDで要確認） */
	--color-line: #4cc764;
	--color-border-pale: #c3d1da;
	--color-submenu: #d9e5ec;
	--color-hours-mark: #8db1c6;
	--color-border-brown: #9a8b79;
	--color-border-light: #ddd8d2;
	--color-date: #bcb1a6;
	--color-card: #fcfcfc;
	--color-step: #f8f8f8;
	--color-bg-flow: #dfe9ef;
	--color-text-light: #9b9386;
	--color-brown: #776147;
	--color-bar-blue: #88b9d7;
	--color-bar-gold: #c7b06c;
	--color-bg-anchor: #e8f1f7;
	--color-bg-faq: #cfe3ee;
	--color-bg-faq-answer: #f9fbfc;

	/* Icons */
	--icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 6'%3E%3Cpath d='M0 5.5h22' stroke='%23675036'/%3E%3Cpath d='M14 0l8 6h-8z' fill='%23675036'/%3E%3C/svg%3E");
	--icon-chevron-gray: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 18'%3E%3Cpath d='M.5.5 8.5 9 .5 17.5' fill='none' stroke='%23857460'/%3E%3C/svg%3E");
	--icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'%3E%3Cpath d='M.5.5 5 5 .5 9.5' fill='none' stroke='%23675036'/%3E%3C/svg%3E");

	/* Spacing Collection */
	--spacing-sm: 16px;
	--spacing-md: 32px;
	--spacing-lg: 64px;

	/* Content width */
	--content-width: 1100px;

	/* Header height（固定ヘッダーの高さ。SP 50px／PC 150px） */
	--header-height: 50px;

	/* SP container gutter (left/right)：標準20px、u-gutter-narrow／「左右余白せまめ」で10px */
	--spacing-gutter-sp: 20px;
	--spacing-gutter-sp-narrow: 10px;
	--gutter-inline: var(--spacing-gutter-sp);

	/* Snow Monkey overrides */
	--header-text-color: var(--color-text);
	--_base-font-family: var(--font-family-gothic);
	--_global--font-family: var(--font-family-gothic);
	--_global--container-max-width: var(--content-width);
	--_global--container-margin: var(--spacing-gutter-sp);
}

@media (min-width: 1024px) {
	:root,
	:host {
		--font-size-heading-h1: 36px;
		--line-height-heading-h1: calc(72 / 36);

		--font-size-heading-h2: 30px;
		--line-height-heading-h2: calc(48 / 30);

		--font-size-heading-h3: 24px;
		--line-height-heading-h3: calc(48 / 24);

		--font-size-heading-h4: 20px;
		--line-height-heading-h4: calc(48 / 20);

		--font-size-heading-h5: 18px;
		--line-height-heading-h5: calc(48 / 18);

		--header-height: 150px;
	}
}

body {
	min-width: 320px;
	font-size: var(--font-size-body-regular);
	line-height: var(--line-height-body-regular);
}

/* ページ内リンク：なめらかにスクロールし、着地点は上部の固定ヘッダーの下（SP：＋16px、PC：＋32px）
   動きを減らす設定の端末ではスクロールのアニメーションをしない */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + var(--spacing-sm));
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

@media (min-width: 1024px) {
	html {
		scroll-padding-top: calc(var(--header-height) + var(--spacing-md));
	}
}

/* PCだけ／SPだけ表示（メニュー項目の「CSSクラス」にも使える） */
@media not all and (min-width: 1024px) {
	.sp-none {
		display: none !important;
	}
}

@media (min-width: 1024px) {
	.pc-none {
		display: none !important;
	}
}

/* Header：SPは高さ50px（ロゴ／menu）、PCは高さ150px（キャッチ・ロゴ・電話・予約／その下にグローバルナビ） */
.l-header {
	background-color: var(--color-bg-white);
	box-shadow: none;
	color: var(--color-text);
}

.l-header__content {
	padding-block: 0;
}

.l-1row-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
	padding-inline: 10px 15px;
}

.l-1row-header .c-site-branding__title {
	line-height: 0;
}

.l-1row-header .custom-logo-link {
	display: block;
}

.l-1row-header .c-site-branding__title .custom-logo {
	width: 124px;
}

/* ハンバーガー：線は幅40px・1px、下に「menu」。開くと浅い角度の×になる */
.l-1row-header .c-hamburger-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	margin-top: 8px;
	color: var(--color-text);
}

.l-1row-header .c-hamburger-btn__bars {
	width: 40px;
	height: 15px;
	margin: 0;
}

.l-header .c-hamburger-btn__bar {
	height: 1px;
	background-color: var(--color-main);
}

.c-hamburger-btn[aria-expanded="true"] > .c-hamburger-btn__bars > .c-hamburger-btn__bar:first-of-type {
	transform: rotate(20deg);
}

.c-hamburger-btn[aria-expanded="true"] > .c-hamburger-btn__bars > .c-hamburger-btn__bar:nth-of-type(3) {
	transform: rotate(-20deg);
}

.l-1row-header .c-hamburger-btn__label {
	font-family: var(--font-family-mincho);
	font-size: 12px;
	letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
	.l-1row-header__inner {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: 26px 74px 50px;
		grid-template-areas:
			"branding catch"
			"branding actions"
			"nav nav";
		padding-inline: 30px 14px;
	}

	.l-1row-header__branding {
		grid-area: branding;
		align-self: start;
		padding-top: 20px;
	}

	.l-1row-header .c-site-branding__title .custom-logo {
		width: 250px;
	}

	.l-1row-header__catch {
		grid-area: catch;
		align-self: start;
		margin: 0;
		padding-top: 6px;
		font-size: 11px;
		line-height: 1.5;
		text-align: right;
	}

	.l-1row-header__actions {
		grid-area: actions;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 30px;
		padding: 5px 5px 0 0;
	}

	.l-1row-header__nav {
		grid-area: nav;
		align-self: stretch;
	}
}

/* PCのグローバルナビ：中央寄せ、項目の間48px。マウスを乗せたとき・今いるページは下に青い線（幅40px） */
.p-global-nav .c-navbar {
	justify-content: center;
}

.p-global-nav .c-navbar__item {
	color: var(--color-text);
}

.p-global-nav .c-navbar__item > a {
	position: relative;
	display: flex;
	align-items: center;
	height: 50px;
	padding: 2px 24px 0;
	font-family: var(--font-family-mincho);
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

/* 1200px未満は7項目が画面に収まらないため、項目の間を48px→32pxに詰める */
@media (max-width: 1199px) {
	.p-global-nav .c-navbar__item > a {
		padding-inline: 16px;
	}
}

.p-global-nav .c-navbar__item > a::after {
	content: "";
	position: absolute;
	bottom: 1px;
	left: 50%;
	width: 40px;
	height: 2px;
	background-color: var(--color-sub);
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 0.3s;
}

.p-global-nav .c-navbar__item:is(:hover, :focus-within) > a::after,
.p-global-nav .c-navbar__item:is(.current-menu-item, .current-menu-ancestor) > a::after {
	opacity: 1;
}

.p-global-nav--hover-text-color .c-navbar__item:is(:hover, :focus-visible),
.p-global-nav--hover-text-color.p-global-nav--current-same-hover-effect .c-navbar__item[data-active-menu] {
	color: var(--color-text);
}

/* PCのサブメニュー：SPメニューの子メニューと同じ見た目（薄い青の背景・線・右に「＞」）
   色は必ずここで指定する。theme.json で色パレットを差し替えているため、Snow Monkey が使う
   --wp--preset--color--sm-accent が空になり、指定しないと背景が透明になる */
.p-global-nav .c-navbar__submenu {
	min-width: 240px;
	padding: 0 10px;
	background-color: var(--color-submenu);
}

.p-global-nav .c-navbar__item[aria-haspopup="true"]::before {
	content: none;
}

.p-global-nav .c-navbar__subitem {
	color: var(--color-text);
}

.p-global-nav .c-navbar__subitem > a {
	padding: 16px 30px 16px 14px;
	border-bottom: 1px solid var(--color-border-pale);
	background: var(--icon-chevron) right 14px center / 6px 10px no-repeat;
	font-family: var(--font-family-mincho);
	font-size: 15px;
	line-height: 1.5;
	white-space: nowrap;
	transition: color 0.3s;
}

.p-global-nav .c-navbar__subitem:last-child > a {
	border-bottom: 0;
}

.p-global-nav .c-navbar__subitem > a:is(:hover, :focus-visible) {
	background-color: transparent;
	color: var(--color-sub);
}

/* 電話番号（ヘッダー・SPメニュー・フッター） */
.c-tel {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 24px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

/* アイコンは画像（tel_icon.png 36×42 を半分のサイズで表示） */
.c-tel__icon {
	width: 18px;
	height: auto;
	flex-shrink: 0;
}

/* WEB予約・LINE予約ボタン（丸型）。文字はデザインどおりゴシック */
.c-web-btn,
.c-line-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 156px;
	height: 44px;
	border-radius: 22px;
	font-family: var(--font-family-gothic);
	font-size: 14px;
	letter-spacing: 0.1em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.3s;
}

.c-web-btn {
	background-color: var(--color-pale);
	color: var(--color-text);
}

.c-line-btn {
	--line-icon-text: var(--color-line);
	background-color: var(--color-line);
	color: var(--color-bg-white);
}

.c-web-btn:is(:hover, :focus-visible),
.c-line-btn:is(:hover, :focus-visible),
.c-line-icon:is(:hover, :focus-visible) {
	opacity: 0.7;
}

/* アイコンは画像（calendar_icon.png 48×48 を半分のサイズで表示） */
.c-web-btn__icon {
	width: 24px;
	height: auto;
	flex-shrink: 0;
}

.c-line-btn__icon {
	width: 22px;
	height: 21px;
	flex-shrink: 0;
}

/* WEB予約・LINE予約の2つ並び（本文のショートコード [northpoint_reserve_buttons]）：SP 最大140×40（14px）／PC 156×44 */
.c-reserve-btns {
	display: flex;
	gap: 20px;
}

.c-reserve-btns :is(.c-web-btn, .c-line-btn) {
	flex: 1;
	max-width: 140px;
	height: 40px;
	gap: 10px;
	font-size: 14px;
}

.c-reserve-btns .c-web-btn__icon {
	width: 20px;
}

.c-reserve-btns .c-line-btn__icon {
	width: 20px;
	height: 19px;
}

@media (min-width: 1024px) {
	.c-reserve-btns {
		gap: 25px;
	}

	.c-reserve-btns :is(.c-web-btn, .c-line-btn) {
		flex: none;
		width: 156px;
		max-width: none;
		height: 44px;
		gap: 12px;
		font-size: 14px;
	}

	.c-reserve-btns .c-web-btn__icon {
		width: 24px;
	}

	.c-reserve-btns .c-line-btn__icon {
		width: 22px;
		height: 21px;
	}
}

/* LINE予約（PCヘッダー）：LINEの緑の丸に吹き出し */
.c-line-icon {
	--line-icon-text: var(--color-line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--color-line);
	color: var(--color-bg-white);
	transition: opacity 0.3s;
}

.c-line-icon__icon {
	width: 34px;
	height: 32px;
}

/* 電話・WEB予約・LINE予約の箱（SPメニュー・フッター） */
.c-contact-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
	padding: 40px 10px 24px;
	border-radius: 5px;
	background-color: var(--color-bg-white);
}

.c-contact-box .c-tel {
	gap: 12px;
	font-size: 30px;
}

.c-contact-box .c-tel__icon {
	width: 16px;
}

.c-contact-box__btns {
	display: flex;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

.c-contact-box :is(.c-web-btn, .c-line-btn) {
	flex: 1;
	max-width: 140px;
	height: 40px;
	gap: 10px;
	font-size: 14px;
}

.c-contact-box .c-web-btn__icon {
	width: 20px;
}

.c-contact-box .c-line-btn__icon {
	width: 20px;
	height: 19px;
}

/* 診療時間の箱（SPメニュー・診療時間・予約・フッター）：●は診療、－は休診 */
.c-clinic-hours {
	padding: 23px 10px;
	border-radius: 5px;
	background-color: var(--color-bg-white);
	font-family: var(--font-family-mincho);
	color: var(--color-text);
}

/* 見出し＋英字（診療時間 Clinic hours など） */
.c-pair-heading {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin: 0 0 8px;
	padding-left: 1px;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.15em;
	line-height: 1.5;
}

.c-pair-heading__en {
	color: var(--color-hours-mark);
	font-size: 12px;
	letter-spacing: 0.1em;
}

.c-clinic-hours__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.c-clinic-hours__table :is(th, td) {
	padding: 0;
	border: 0;
	background: none;
	font-weight: 400;
}

.c-clinic-hours__table tr {
	border-bottom: 1px solid var(--color-border-brown);
}

.c-clinic-hours__table thead :is(th, td) {
	height: 26px;
	vertical-align: top;
}

.c-clinic-hours__table thead :first-child {
	width: 79px;
}

.c-clinic-hours__table tbody :is(th, td) {
	height: 32px;
	vertical-align: middle;
}

.c-clinic-hours__table tbody th {
	padding-right: 10px;
	text-align: right;
	white-space: nowrap;
}

.c-clinic-hours__mark {
	display: inline-block;
	vertical-align: middle;
	background-color: var(--color-hours-mark);
}

.c-clinic-hours__mark--open {
	width: 9px;
	height: 9px;
	border-radius: 50%;
}

.c-clinic-hours__mark--closed {
	width: 7px;
	height: 1px;
}

.c-clinic-hours__closed {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 12px 0 0 1px;
	font-size: 12px;
	line-height: 1.5;
}

.c-clinic-hours__closed-label {
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 7px;
	border: 1px solid var(--color-text);
	border-radius: 9px;
	font-size: 12px;
	white-space: nowrap;
}

/* MV：右寄せの角丸写真（PC 1100×630／SP 235×380）、写真の下寄りに青い帯のキャッチと2行の説明
   帯は画面の左端から伸ばす。写真は2枚以上でフェードで切り替え（assets/js/mv-slider.js） */
.p-mv {
	padding-top: 14px;
	overflow-x: clip;
}

.p-mv__inner {
	position: relative;
}

.p-mv__slider {
	position: relative;
	width: 235px;
	margin: 0 10px 0 auto;
	aspect-ratio: 470 / 760;
	border-radius: 10px;
	overflow: hidden;
}

.p-mv__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;
}

.p-mv__slide.is-active {
	opacity: 1;
}

.p-mv__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 帯と説明は写真の下端に合わせて重ねる */
.p-mv__catch,
.p-mv__lead,
.p-mv__f-lead {
	position: absolute;
	left: 0;
	z-index: 1;
}

.p-mv__catch {
	bottom: 63px;
	display: flex;
	align-items: center;
	width: 100%;
	height: 74px;
	padding-left: 24px;
	background-color: var(--color-main);
	color: var(--color-bg-white);
	font-family: var(--font-family-mincho);
}

.p-mv__catch-text {
	margin: 0;
}

.p-mv__catch-main {
	display: block;
	font-size: 22px;
	letter-spacing: 0.1em;
	line-height: 30px;
}

.p-mv__catch-sub {
	display: block;
	font-size: 16px;
	letter-spacing: 0.05em;
	line-height: 22px;
}

/* 説明：写真の上でも読めるように白くぼかした縁取り */
.p-mv__lead {
	bottom: 6.5px;
	margin: 0;
	padding-left: 22px;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 14px;
	letter-spacing: 0;
	line-height: 24px;
	text-shadow:
		0 0 4px var(--color-bg-white),
		0 0 8px var(--color-bg-white),
		0 0 12px var(--color-bg-white);
}

.p-mv__lead span {
	display: block;
}

/* 説明：追加コピー */
.p-mv__f-lead {
	display: flex;
	align-items: center;
	bottom: 144px;
	margin-left: 1em;
	padding-left: 14px;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 10px;
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0;
	line-height: 20px;
	text-shadow:
		0 0 4px var(--color-bg-white),
		0 0 8px var(--color-bg-white),
		0 0 12px var(--color-bg-white);
}

/*.p-mv__f-lead::before {
	content: '―';
	margin: -1.8em .4em 0 0;
}*/

/*.p-mv__f-lead::after {
	content: '―';
	margin: 1.8em 0 0 .4em;
}*/

.sp {
	display: block;
}

/* MVだけはタブレット（768px以上）からPCのデザインにする。画像の切り替えも 767px（template-parts/front/mv.php）
   文字・帯の大きさは2段階：768〜1023px はタブレット用の小さめの値、1024px以上はデザインの値 */
@media (min-width: 768px) {
	.p-mv {
		padding-top: 35px;
	}

	/* 1500px幅のデザインで、左端の文字（x=100）から写真の右端（x=1400）までの1300px */
	.p-mv__inner {
		width: min(1300px, calc(100% - 80px));
		margin-inline: auto;
	}

	.p-mv__slider {
		width: calc(1100 / 1300 * 100%);
		margin: 0 0 0 auto;
		aspect-ratio: 1100 / 630;
	}

	.p-mv__catch {
		bottom: 100px;
		width: fit-content;
		min-width: calc(626 / 1300 * 100%);
		height: 80px;
		padding: 0 24px 0 0;
	}

	/* 帯を画面の左端まで伸ばす */
	.p-mv__catch::before {
		content: "";
		position: absolute;
		top: 0;
		right: 100%;
		bottom: 0;
		width: 100vw;
		background-color: inherit;
	}

	.p-mv__catch-main,
	.p-mv__catch-sub {
		display: inline;
		line-height: 1;
	}

	.p-mv__catch-main {
		font-size: 22px;
	}

	.p-mv__catch-sub {
		margin-left: 2px;
		font-size: 12px;
		letter-spacing: 0.15em;
	}

	.p-mv__lead {
		bottom: 24px;
		padding-left: 0;
		font-size: 14px;
		letter-spacing: 0.12em;
		line-height: 30px;
	}

	.p-mv__f-lead {
		bottom: 180px;
		margin-left: 0;
		padding-left: 0;
		font-size: 10px;
		letter-spacing: 0.12em;
		line-height: 30px;
	}

	/*.p-mv__f-lead::before {
		margin: 0 .4em 0 0;
	}*/

	/*.p-mv__f-lead::after {
		margin: 0 0 0 .4em;
	}*/

	.sp {
		display: none;
	}
}

@media (min-width: 1024px) {
	.p-mv__catch {
		bottom: 158px;
		height: 125px;
		padding-right: 40px;
	}

	.p-mv__catch-main {
		font-size: 36px;
	}

	.p-mv__catch-sub {
		font-size: 18px;
	}

	.p-mv__lead {
		bottom: 37px;
		font-size: 24px;
		line-height: 52px;
	}

	.p-mv__f-lead {
		bottom: 285px;
		font-size: 15px;
		line-height: 52px;
	}

	/*.p-mv__f-lead::before {
		margin: 0 .4em 0 0;
	}*/
	
	/*.p-mv__f-lead::after {
		margin: 0 0 0 .4em;
	}*/

	.sp {
        	display: none;
    }
}

/* 診療時間・お問い合わせとご予約（MVの下）
   SP：見出しは画面幅いっぱいの薄い青の帯。PC：左に診療時間、右にお問い合わせ・ご予約 */
.p-front-info {
	padding: 32.5px 0 36px;
}

.p-front-info .c-clinic-hours {
	padding: 0 20px;
	border-radius: 0;
	background: none;
}

.p-front-info .c-pair-heading {
	align-items: center;
	gap: 23px;
	height: 25px;
	margin: 0 -20px 20px;
	padding: 0 20px;
	background-color: var(--color-bg-1);
}

.p-front-info__contact {
	margin-top: 29px;
	padding: 0 20px;
}

/* 英字の位置は「診療時間 Clinic hours」と同じく見出しのすぐ後ろ（間23px）。SPは1行に収めるため字間を詰める */
.p-front-info__contact .c-pair-heading {
	letter-spacing: 0.08em;
	white-space: nowrap;
}

/* 英字を12pxにしたため、字間を詰めて320px幅の右余白（20px）に収める */
.p-front-info__contact .c-pair-heading__en {
	letter-spacing: 0;
}

.p-front-info__contact-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 37px;
	margin-top: 33px;
}

.p-front-info__contact .c-tel {
	gap: 15px;
	font-size: 33px;
}

.p-front-info__contact .c-tel__icon {
	width: 17.5px;
}

.p-front-info__btns {
	display: flex;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

.p-front-info__btns :is(.c-web-btn, .c-line-btn) {
	flex: 1;
	max-width: 140px;
	height: 40px;
	gap: 10px;
	font-size: 14px;
}

.p-front-info__btns .c-web-btn__icon {
	width: 20px;
}

.p-front-info__btns .c-line-btn__icon {
	width: 20px;
	height: 19px;
}

/* 特別休診のご連絡：茶色の細い枠・影、タイトルは赤 */
.p-closure-notice {
	margin: 41px 10px 0;
	padding: 19px 13.5px 21px;
	border: 1px solid var(--color-text);
	border-radius: 5px;
	background-color: var(--color-bg-white);
	box-shadow: 3px 3px 6px rgb(0 0 0 / 15%);
	font-family: var(--font-family-mincho);
}

.p-closure-notice__heading {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1em;
	margin: 0;
	color: var(--color-attention);
	font-family: var(--font-family-mincho);
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.5;
}

.p-closure-notice__body {
	margin: 12px 0 0;
	color: var(--color-text);
	font-size: 16px;
	letter-spacing: 0.05em;
	line-height: 1.9;
}

@media (min-width: 1024px) {
	.p-front-info {
		padding: 72px 0 85px;
	}

	.p-front-info__inner {
		display: grid;
		grid-template-columns: 440px auto;
		column-gap: 84px;
		max-width: var(--content-width);
		margin-inline: auto;
		padding-left: 65px;
	}

	.p-front-info .c-clinic-hours {
		padding: 0;
	}

	.p-front-info .c-pair-heading {
		gap: 30px;
		height: auto;
		margin: 0 0 18px;
		padding: 0;
		background: none;
	}

	.p-front-info__contact {
		margin-top: 0;
		padding: 0;
	}

	.p-front-info__contact .c-pair-heading {
		justify-content: flex-start;
		gap: 28px;
		padding-left: 0;
		letter-spacing: 0.15em;
	}

	.p-front-info__contact .c-pair-heading__en {
		letter-spacing: 0.1em;
	}

	.p-front-info__contact-body {
		align-items: flex-start;
		gap: 30px;
		margin-top: 30px;
	}

	.p-front-info__contact .c-tel {
		gap: 12px;
		margin-left: 8px;
		font-size: 24px;
	}

	.p-front-info__contact .c-tel__icon {
		width: 18px;
	}

	.p-front-info__btns {
		justify-content: flex-start;
		gap: 25px;
		margin-left: -5px;
	}

	.p-front-info__btns :is(.c-web-btn, .c-line-btn) {
		flex: none;
		width: 156px;
		max-width: none;
		height: 44px;
		gap: 12px;
		font-size: 14px;
	}

	.p-front-info__btns .c-web-btn__icon {
		width: 24px;
	}

	.p-front-info__btns .c-line-btn__icon {
		width: 22px;
		height: 21px;
	}

	.p-closure-notice {
		max-width: var(--content-width);
		margin: 72px auto 0;
		padding: 38px 122px 42px;
		border-radius: 8px;
		box-shadow: 4px 2px 8px rgb(0 0 0 / 15%);
	}

	.p-closure-notice__heading {
		font-size: 20px;
	}

	.p-closure-notice__body {
		margin-top: 19px;
		font-size: 14px;
		letter-spacing: 0.05em;
		line-height: calc(30 / 14);
	}
}

/* NEWS（トップページの一番下）
   上端に白い波形（前のセクションの下端に重ねて描く。前のセクションが白なら見えない）
   SP：NEWS → 一覧 → more。PC：左に NEWS と more、右に一覧 */
.p-news {
	--news-wave-height: 23px;
	position: relative;
	padding: 40px 0 27px;
	background-color: var(--color-bg-white);
}

.p-news::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: var(--news-wave-height);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 46' preserveAspectRatio='none'%3E%3Cpath d='M0 23c150 14 280 22 400 22 250 0 500-44 750-44 150 0 270 10 350 22v23H0Z' fill='%23fff'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

.p-news__inner {
	display: grid;
	grid-template-columns: 100%;
}

.p-news__heading {
	margin: 0 0 23px 14px;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.15em;
	line-height: 1.5;
}

.p-news__list {
	margin-inline: 10px;
}

.p-news__item {
	border-bottom: 1px solid var(--color-border-light);
}

/* 1行：日付（SPはタイトルの上）・タイトル・右に丸いアイコン */
.p-news__summary {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"date icon"
		"title icon";
	align-items: center;
	column-gap: 12px;
	padding: 14px 10px 10px 11px;
	cursor: pointer;
	list-style: none;
}

.p-news__summary::-webkit-details-marker {
	display: none;
}

.p-news__date {
	grid-area: date;
	color: var(--color-date);
	font-family: var(--font-family-mincho);
	font-size: 13px;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

.p-news__title {
	grid-area: title;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 16px;
	letter-spacing: 0.05em;
	line-height: 1.6;
	transition: color 0.3s;
}

.p-news__summary:is(:hover, :focus-visible) .p-news__title {
	color: var(--color-sub);
}

/* 丸アイコン：閉じているときは「＞」、開いているときは「∨」 */
.p-news__icon {
	grid-area: icon;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--icon-chevron-gray) center / 4.5px 8.5px no-repeat var(--color-bg-2);
	transition: transform 0.3s;
}

.p-news__item[open] .p-news__icon {
	transform: rotate(90deg);
}

.p-news__body {
	padding: 0 10px 11px 11px;
	color: var(--color-text);
	font-size: 16px;
	line-height: 1.9;
}

.p-news__body > * {
	margin: 0;
}

.p-news__body > * + * {
	margin-top: 0.5em;
}

.p-news__empty {
	margin: 0;
	padding: 16px 11px;
	border-bottom: 1px solid var(--color-border-light);
	font-size: 12px;
}

.p-news__more {
	margin-top: 16px;
	text-align: center;
}

.p-news__more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 95px;
	height: 25px;
	border-radius: 12.5px;
	background-color: var(--color-bg-2);
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 14px;
	letter-spacing: 0.1em;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.3s;
}

.p-news__more-btn:is(:hover, :focus-visible) {
	background-color: var(--color-pale);
}

@media (min-width: 1024px) {
	.p-news {
		--news-wave-height: 46px;
		padding: 150px 0 115px;
	}

	/* 左の列（160px）に NEWS と more、右に一覧（847px） */
	.p-news__inner {
		grid-template-columns: 160px 1fr;
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"heading list"
			"more list";
		column-gap: 92px;
		max-width: var(--content-width);
		margin-inline: auto;
	}

	.p-news__heading {
		grid-area: heading;
		margin: 17px 0 0;
		font-size: 26px;
		text-align: center;
	}

	.p-news__list {
		grid-area: list;
		margin: 0;
	}

	.p-news__more {
		grid-area: more;
		margin-top: 60px;
	}

	/* PC：日付・タイトル・アイコンを横1列 */
	.p-news__summary {
		grid-template-columns: 150px 1fr auto;
		grid-template-areas: "date title icon";
		column-gap: 0;
		min-height: 61px;
		padding: 0 19px 0 13px;
	}

	.p-news__date {
		font-size: 15px;
		letter-spacing: 0.05em;
	}

	.p-news__title {
		padding-right: 20px;
		font-size: 16px;
		letter-spacing: 0.2em;
	}

	.p-news__icon {
		width: 38px;
		height: 38px;
		background-size: 9px 18px;
	}

	.p-news__body {
		padding: 4px 19px 24px 163px;
		font-size: 13px;
		line-height: 1.8;
	}

	.p-news__empty {
		padding: 20px 13px;
		font-size: 14px;
	}

	.p-news__more-btn {
		width: 129px;
		height: 33px;
		border-radius: 16.5px;
		font-size: 16px;
	}
}

/* Footer：薄い青の背景。上端に波形（フッターの上の余白に重ねて描く）
   上から ロゴ → 診療時間・電話と予約 → アクセス → 地図 → メニュー → とどくすりバナー → コピーライト */
.l-footer {
	--footer-wave-height: 27px;
	position: relative;
	margin-top: var(--footer-wave-height);
	border-top: 0;
	background-color: var(--color-bg-2);
	color: var(--color-text);
	overflow: visible;
}

.l-footer::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: var(--footer-wave-height);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 48' preserveAspectRatio='none'%3E%3Cpath d='M0 23C150 8 280 0 400 0c250 0 500 46 725 46 175 0 295-11 375-21v23H0Z' fill='%23f0f4f6'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

.p-footer-main {
	padding: 33px 10px 0;
}

.p-footer-main__logo {
	margin: 0 0 24px;
	text-align: center;
	line-height: 0;
}

.p-footer-main__logo a {
	display: inline-block;
}

.p-footer-main__logo img {
	width: 154px;
	height: auto;
}

.p-footer-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.c-contact-box__address {
	margin: 0 0 -2px;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.p-footer-info .c-contact-box {
	padding-top: 26px;
}

/* Access：SPは「Access」と駅名を横並び、ボタンは下に右寄せ */
.p-footer-access {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 21px;
	margin-top: 24px;
	padding-left: 12px;
}

.p-footer-access__title {
	margin: 0;
	font-family: var(--font-family-mincho);
	font-size: 12px;
	letter-spacing: 0.05em;
	line-height: 1.5;
}

.p-footer-access__text {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.05em;
	line-height: 1.5;
}

.p-footer-access__btn {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-top: 22px;
}

/* 矢印付きの枠線ボタン：白地・茶色の細い枠、左に「―◣」の矢印 */
.c-arrow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 150px;
	height: 28px;
	border: 1px solid var(--color-border-brown);
	background-color: var(--color-bg-white);
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 12px;
	letter-spacing: 0.1em;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.3s;
}

.c-arrow-btn:is(:hover, :focus-visible) {
	background-color: var(--color-pale);
}

.c-arrow-btn__icon {
	width: 11px;
	height: 3px;
	flex-shrink: 0;
	background: var(--icon-arrow) center / contain no-repeat;
}

.p-footer-map {
	margin: 33px 10px 0;
}

.p-footer-map__iframe {
	display: block;
	width: 100%;
	height: 190px;
	border: 0;
}

/* メニュー（Snow Monkey のフッターサブナビゲーション）：SPは縦並び、PCは「/」区切りの横並び */
.l-footer__body {
	padding: 0;
	background: none;
}

.p-footer-sub-nav {
	margin-top: 36px;
	padding: 0;
}

.p-footer-sub-nav .c-container {
	padding-inline: 10px;
}

.p-footer-sub-nav .c-navbar {
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding-block: 0;
}

.p-footer-sub-nav .c-navbar__item {
	color: var(--color-text);
}

.p-footer-sub-nav .c-navbar__item > a {
	padding: 0;
	font-size: 12px;
	letter-spacing: 0.05em;
	line-height: 1.5;
	transition: color 0.3s;
}

.p-footer-sub-nav .c-navbar__item > a:is(:hover, :focus-visible) {
	color: var(--color-sub);
	text-decoration: none;
}

/* とどくすりバナー */
.p-footer-bnr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin: 31px auto 0;
	padding-inline: 10px;
	line-height: 0;
}

.p-footer-bnr > :is(a, span) {
	display: block;
	max-width: 100%;
	transition: opacity 0.3s;
}

.p-footer-bnr a:is(:hover, :focus-visible) {
	opacity: 0.7;
}

.p-footer-bnr img {
	width: 300px;
	max-width: 100%;
	height: auto;
}

/* コピーライト：メインカラーの帯に白い文字 */
.l-footer .c-copyright {
	margin-top: 32px;
	padding: 5px 0;
	background-color: var(--color-main);
	color: var(--color-bg-white);
	font-size: 12px;
	letter-spacing: 0.02em;
	line-height: 1.6;
	text-align: center;
}

.c-copyright .c-container {
	padding-inline: 10px;
}

.c-copyright__part {
	display: inline-block;
}

/* PAGE TOP：500pxスクロールすると表示（Snow Monkey の機能）。画面右下に固定、線と縦書きの「PAGETOP」 */
#page-top {
	--page-top-y: 80px;
	right: 10px;
}

.c-page-top {
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

/* Snow Monkey はリンクを箱いっぱいに絶対配置するため、中身の大きさで並ぶように戻す */
.c-page-top a {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	width: auto;
	height: auto;
	color: var(--color-text);
	text-decoration: none;
}

.c-page-top__line {
	width: 10px;
	height: 80px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 80'%3E%3Cpath d='M9.5 0v80M9.5.5l-9 9' fill='none' stroke='%23675036'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.c-page-top__text {
	margin-right: -2px;
	font-family: var(--font-family-mincho);
	font-size: 12px;
	letter-spacing: 0.05em;
	line-height: 1;
	writing-mode: vertical-rl;
}

@media (min-width: 1024px) {
	.l-footer {
		--footer-wave-height: 46px;
	}

	.p-footer-main {
		max-width: calc(var(--content-width) + var(--spacing-md) * 2);
		margin-inline: auto;
		padding: 61px var(--spacing-md) 0;
	}

	.p-footer-main__logo {
		margin-bottom: 56px;
	}

	.p-footer-main__logo img {
		width: 250px;
	}

	/* PC：1つの白い箱の中に、左に診療時間、右に住所・電話・予約 */
	.p-footer-info {
		display: grid;
		grid-template-columns: 440px auto;
		align-items: center;
		column-gap: 84px;
		padding: 36px 65px 48px;
		border-radius: 5px;
		background-color: var(--color-bg-white);
	}

	.p-footer-info__contact {
		order: 2;
	}

	.p-footer-info :is(.c-contact-box, .c-clinic-hours) {
		padding: 0;
		border-radius: 0;
		background: none;
	}

	.p-footer-info .c-contact-box {
		align-items: flex-start;
		gap: 0;
	}

	.p-footer-info .c-contact-box__address {
		margin: 0 0 30px 9px;
		font-size: 18px;
		text-align: left;
	}

	.p-footer-info .c-tel {
		gap: 22px;
		margin-left: 13px;
		font-size: 33px;
	}

	.p-footer-info .c-tel__icon {
		width: 18px;
	}

	.p-footer-info .c-contact-box__btns {
		justify-content: flex-start;
		gap: 25px;
		margin-top: 36px;
	}

	.p-footer-info .c-contact-box :is(.c-web-btn, .c-line-btn) {
		flex: none;
		width: 156px;
		max-width: none;
		height: 44px;
		gap: 12px;
		font-size: 14px;
	}

	.p-footer-info .c-contact-box .c-web-btn__icon {
		width: 24px;
	}

	.p-footer-info .c-contact-box .c-line-btn__icon {
		width: 22px;
		height: 21px;
	}

	/* PCの診療時間（フッター・トップの診療時間・予約） */
	.c-pair-heading {
		gap: 30px;
		margin-bottom: 18px;
		font-size: 20px;
	}

	.c-pair-heading__en {
		font-size: 18px;
	}

	.c-clinic-hours__table {
		font-size: 16px;
	}

	.c-clinic-hours__table thead :is(th, td) {
		height: 38px;
	}

	.c-clinic-hours__table thead :first-child {
		width: 125px;
	}

	.c-clinic-hours__table tbody :is(th, td) {
		height: 50px;
	}

	.c-clinic-hours__table tbody th {
		padding-right: 19px;
	}

	.c-clinic-hours__mark--open {
		width: 14px;
		height: 14px;
	}

	.c-clinic-hours__mark--closed {
		width: 11px;
	}

	.c-clinic-hours__closed {
		gap: 25px;
		margin-top: 18px;
		font-size: 14px;
	}

	.c-clinic-hours__closed-label {
		height: 29px;
		padding: 0 10px;
		border-radius: 15px;
		font-size: 14px;
	}

	/* PC：Access・駅名・Googlemap ボタンを横1列 */
	.p-footer-access {
		flex-wrap: nowrap;
		align-items: center;
		gap: 0;
		margin-top: 35px;
		padding-left: 61px;
	}

	.p-footer-access__title {
		font-size: 24px;
	}

	.p-footer-access__text {
		margin-left: 61px;
		font-size: 16px;
	}

	.p-footer-access__btn {
		width: auto;
		margin: 0 0 0 49px;
	}

	.c-arrow-btn {
		width: 270px;
		height: 45px;
		gap: 18px;
		font-size: 16px;
	}

	.c-arrow-btn__icon {
		width: 22px;
		height: 6px;
	}

	/* PC：地図は画面幅いっぱい */
	.p-footer-map {
		margin: 55px 0 0;
	}

	.p-footer-map__iframe {
		height: 470px;
	}

	.p-footer-sub-nav {
		margin-top: 71px;
	}

	.p-footer-sub-nav .c-navbar {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0;
	}

	.p-footer-sub-nav .c-navbar__item + .c-navbar__item::before {
		content: "/";
		margin-inline: 16px;
	}

	.p-footer-sub-nav .c-navbar__item > a {
		font-size: 14px;
	}

	.p-footer-bnr {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
		margin-top: 47px;
	}

	.l-footer .c-copyright {
		margin-top: 42px;
		padding: 8px 0;
		font-size: 13px;
		line-height: 1.5;
	}

	#page-top {
		--page-top-y: 120px;
	}
}

/* Drawer（SPメニュー）：全画面・薄い青。ヘッダー（ロゴ・×）はドロワーの上に重ねて残す
   z-index：ヘッダー（1000）より下、ページトップより上 */
#drawer-nav.c-drawer--overall {
	z-index: 999;
	display: block;
	padding: var(--header-height) 0 40px;
	background-color: var(--color-bg-2);
	color: var(--color-text);
	overflow-y: auto;
	overscroll-behavior: contain;
}

#drawer-nav .c-drawer__inner {
	height: auto;
	margin: 0;
	padding: 0;
	overflow: visible;
}

/* ×はヘッダーのハンバーガーを使うため、ドロワー内のボタンと外側の閉じる領域は使わない */
#drawer-nav .c-drawer__controls,
.c-drawer-close-zone {
	display: none;
}

#drawer-nav .c-drawer__menu {
	margin: 0;
	padding: 0;
}

#drawer-nav :is(.c-drawer__item, .c-drawer__subitem) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

/* 項目：高さ55px、左右10pxの内側に区切り線、右に「＞」 */
#drawer-nav :is(.c-drawer__item, .c-drawer__subitem) > a {
	display: flex;
	align-items: center;
	min-height: 55px;
	margin-inline: 10px;
	padding: 0 34px 0 14px;
	border-bottom: 1px solid var(--color-border-pale);
	background: var(--icon-chevron) right 16px center / 6px 10px no-repeat;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.05em;
	text-decoration: none;
}

#drawer-nav .c-drawer__subitem > a {
	padding-left: 27px;
}

/* 子メニュー：画面幅いっぱいの濃い青の背景 */
#drawer-nav .c-drawer__submenu {
	margin: 0;
	padding: 0;
	background-color: var(--color-submenu);
}

/* 子メニューのある項目：行全体を開閉ボタンにする（ボタンをリンクの上に重ねる）。白い丸に＋、開くと－ */
#drawer-nav .c-drawer__item--has-submenu {
	display: grid;
	grid-template-columns: 100%;
}

#drawer-nav .c-drawer__item--has-submenu > a,
#drawer-nav .c-drawer__item--has-submenu > .c-drawer__toggle {
	grid-area: 1 / 1;
	max-width: none;
}

#drawer-nav .c-drawer__item--has-submenu > a {
	background: none;
}

#drawer-nav .c-drawer__item--has-submenu > .c-drawer__toggle {
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: auto;
	height: auto;
	margin-inline: 10px;
	padding: 0 8px 0 0;
	border: 0;
	background: none;
	cursor: pointer;
}

#drawer-nav .c-drawer__item--has-submenu > .c-drawer__toggle > .c-ic-angle-right {
	display: none;
}

#drawer-nav .c-drawer__item--has-submenu > .c-drawer__toggle::after {
	content: "";
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	border-radius: 50%;
	background:
		linear-gradient(var(--color-text), var(--color-text)) center / 11px 1px no-repeat,
		linear-gradient(var(--color-text), var(--color-text)) center / 1px 11px no-repeat,
		var(--color-bg-white);
}

#drawer-nav .c-drawer__item--has-submenu > .c-drawer__toggle[aria-expanded="true"]::after {
	background:
		linear-gradient(var(--color-text), var(--color-text)) center / 11px 1px no-repeat,
		var(--color-bg-white);
}

#drawer-nav .c-drawer__item--has-submenu > .c-drawer__submenu {
	grid-area: 2 / 1;
}

/* メニューの下：電話・予約の箱、診療時間の箱 */
.p-drawer-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 57px;
	padding-inline: 10px;
}

/* 文字色は Snow Monkey の「.c-drawer a { color: inherit }」に負けるため、ここで指定し直す */
.p-drawer-info .c-tel,
.p-drawer-info .c-web-btn {
	color: var(--color-text);
}

.p-drawer-info .c-line-btn {
	color: var(--color-bg-white);
}

/* 下層ページのMV（固定ページ・お知らせ）：写真（アイキャッチ。未設定なら assets/img/lower_mv.webp）の上にページタイトル
   重ねる色はなし（写真が明るいため）。タイトルは明朝・テキストの色、本文幅（1100px）の左端から
   高さ SP 130px／PC 240px、タイトル SP 20px／PC 32px（カンプ「サブページ案」） */
.p-page-mv {
	position: relative;
	display: flex;
	align-items: center;
	height: 130px;
	overflow: hidden;
}

.p-page-mv__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-page-mv__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: min(var(--content-width), calc(100% - var(--gutter-inline) * 2));
	margin-inline: auto;
	color: var(--color-text);
}

.p-page-mv__en {
	margin: 0 0 6px;
	color: var(--color-hours-mark);
	font-family: var(--font-family-mincho);
	font-size: 12px;
	letter-spacing: 0.1em;
	line-height: 1.4;
}

.p-page-mv__title {
	margin: 0;
	padding: 0;
	background: none;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0.13em;
	line-height: 1.5;
}

/* パンくず：MVの下に小さく（カンプにはないが残す。ユーザー確認） */
.p-breadcrumbs-wrapper {
	color: var(--color-text-light);
	font-size: 11px;
	letter-spacing: 0.05em;
	line-height: 1.5;
}

/* 余白は本体と同じセレクタで上書き */
.l-contents__container > .p-breadcrumbs-wrapper:first-child {
	padding: 10px 0 0;
}

/* SPは1行にして、はみ出した分は横にスクロール（画面の右端まで表示） */
.c-breadcrumbs {
	margin-right: calc(var(--spacing-sm) * -1);
	padding-right: var(--spacing-sm);
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}

.c-breadcrumbs__item a {
	color: inherit;
}

/* 区切り：Snow Monkey の「>」を細い「/」に置き換える */
.c-breadcrumbs__item:nth-child(n+2)::before {
	content: "";
	width: 1px;
	height: 12px;
	margin: 0 10px;
	border: 0;
	background-color: var(--color-border-light);
	vertical-align: middle;
	transform: rotate(30deg);
}

/* SPの本文の左右は20px（Snow Monkey 標準の28.8pxから変更）。テンプレートを問わずすべてのページ（トップは別指定） */
@media not all and (min-width: 1024px) {
	.l-contents__container {
		padding-inline: var(--gutter-inline);
	}
}

/* MVのあるページ（固定ページ、お知らせ一覧・個別）の本文幅（1100px）と上の余白 */
.l-body--page-with-mv .l-contents__container {
	padding-inline: var(--gutter-inline);
}

.l-body--page-with-mv .l-contents__inner {
	margin-top: 32px;
}

.l-body--page-with-mv .c-entry {
	max-width: var(--content-width);
	margin-inline: auto;
}

/* 本文の下〜フッター（地図）までの余白 */
.l-body--page-with-mv .l-contents__inner {
	padding-bottom: var(--spacing-lg);
}

@media (min-width: 1024px) {
	.p-page-mv {
		height: 240px;
	}

	.p-page-mv__en {
		font-size: 16px;
	}

	.p-page-mv__title {
		font-size: 32px;
	}

	/* 本文幅（1100px）の左端にそろえる */
	.p-breadcrumbs-wrapper {
		max-width: var(--content-width);
		margin-inline: auto;
		font-size: 12px;
	}

	.l-contents__container > .p-breadcrumbs-wrapper:first-child {
		padding-top: 14px;
	}

	.c-breadcrumbs {
		margin-right: 0;
		padding-right: 0;
		overflow-x: visible;
		white-space: normal;
	}

	.l-body--page-with-mv .l-contents__inner {
		margin-top: 42px;
		padding-bottom: 120px;
	}
}

/* セクションのスタイル「背景帯（全幅）」：どのページでも画面幅いっぱいの帯にする（色・余白は content.css）
   本文の幅の箱の中にあっても画面の端まで広げ、中身はページの本文幅（1100px）にそろえる
   幅は .l-contents を基準にする（cqw）。100vw はスクロールバーの幅を含み、中身が数px右にずれるため */
.l-contents:has(.smb-section.is-style-band, .smb-section.is-style-consult) {
	container-type: inline-size;
}

/* Snow Monkey の「本文のブロックは左右 margin: auto」より強くするため .c-entry__content から書く */
.c-entry__content .smb-section.is-style-band {
	--band-content-width: var(--content-width);
	width: 100cqw;
	max-width: none;
	margin-inline: calc(50% - 50cqw);
}

.smb-section.is-style-band > .smb-section__inner > :is(.c-container, .c-fluid-container) {
	width: 100%;
	max-width: min(var(--band-content-width), calc(100% - var(--gutter-inline) * 2));
	margin-inline: auto;
	padding-inline: 0;
}

/* 下層ページでは前後のブロックと間を空ける（トップはセクションを積み重ねるので空けない） */
.l-body--page-with-mv .c-entry__content > .smb-section.is-style-band {
	margin-block: var(--spacing-lg);
}

/* お知らせ一覧：トップの NEWS と同じ行（日付・タイトル・右端の丸い「＞」）。マウスを乗せると行がごく薄いグレー
   SPは日付をタイトルの上に。PCは日付 150px の列・行の高さ 100px（カンプ「お知らせ一覧ページ案」） */
.p-news-archive__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-news-archive__item {
	border-bottom: 1px solid var(--color-border-light);
}

.p-news-archive__link {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"date icon"
		"title icon";
	align-items: center;
	column-gap: 12px;
	padding: 16px 10px 14px 11px;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	text-decoration: none;
	transition: background-color 0.3s;
}

.p-news-archive__link:is(:hover, :focus-visible) {
	background-color: #fafbfb;
}

.p-news-archive__date {
	grid-area: date;
	color: var(--color-date);
	font-size: 12px;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

.p-news-archive__title {
	grid-area: title;
	font-size: 13px;
	letter-spacing: 0.05em;
	line-height: 1.6;
	transition: color 0.3s;
}

.p-news-archive__link:is(:hover, :focus-visible) .p-news-archive__title {
	color: var(--color-sub);
}

.p-news-archive__icon {
	grid-area: icon;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--icon-chevron-gray) center / 4.5px 8.5px no-repeat var(--color-bg-2);
	transition: transform 0.3s;
}

.p-news-archive__link:is(:hover, :focus-visible) .p-news-archive__icon {
	transform: translateX(3px);
}

/* ページ送り：丸（今のページは薄い青、ほかはごく薄い青）に数字。前へ・次へは丸の「＜」「＞」 */
.p-news-archive .c-pagination {
	margin-top: 32px;
	padding: 0;
	font-family: var(--font-family-mincho);
	font-size: 14px;
	line-height: 1;
}

.p-news-archive .c-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.p-news-archive .c-pagination :is(.c-pagination__item, .c-pagination__item-link, .c-pagination__item-ellipsis) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-width: 0;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--color-bg-2);
	color: var(--color-text);
	text-decoration: none;
	transition: background-color 0.3s;
}

.p-news-archive .c-pagination .c-pagination__item-ellipsis {
	background: none;
}

.p-news-archive .c-pagination .c-pagination__item.current {
	background-color: #c9deeb;
}

.p-news-archive .c-pagination .c-pagination__item-link:is(:hover, :focus-visible) {
	background-color: var(--color-pale);
}

.p-news-archive .c-pagination :is(.c-pagination__item-left, .c-pagination__item-right) {
	background: var(--icon-chevron-gray) center / 5px 10px no-repeat var(--color-bg-2);
}

.p-news-archive .c-pagination .c-pagination__item-left {
	transform: scaleX(-1);
}

/* Snow Monkey の Font Awesome（読み込み後に i が svg に置き換わる）は使わない */
.p-news-archive .c-pagination :is(.c-pagination__item-left, .c-pagination__item-right) > :is(i, svg) {
	display: none;
}

/* お知らせ個別：記事タイトル（中央・明朝）、日付は右寄せ（カンプ「お知らせページ案」） */
.p-news-single__header {
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

.p-news-single__header .c-entry__title {
	margin: 0;
	color: var(--color-text);
	font-family: var(--font-family-mincho);
	font-size: var(--font-size-heading-h2);
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.6;
	text-align: center;
}

.p-news-single__date {
	display: block;
	margin-top: 24px;
	color: var(--color-date);
	font-family: var(--font-family-mincho);
	font-size: 13px;
	letter-spacing: 0.05em;
	line-height: 1.5;
	text-align: right;
}

@media (min-width: 1024px) {
	.p-news-archive {
		margin-top: 20px;
	}

	.p-news-archive__link {
		grid-template-columns: 150px 1fr auto;
		grid-template-areas: "date title icon";
		column-gap: 0;
		min-height: 100px;
		padding: 0 36px 0 49px;
	}

	.p-news-archive__date {
		font-size: 15px;
		letter-spacing: 0.05em;
	}

	.p-news-archive__title {
		padding-right: 20px;
		font-size: 16px;
		letter-spacing: 0.2em;
	}

	.p-news-archive__icon {
		width: 38px;
		height: 38px;
		background-size: 9px 18px;
	}

	.p-news-archive .c-pagination {
		margin-top: 48px;
		font-size: 16px;
	}

	.p-news-archive .c-pagination .nav-links {
		gap: 20px;
	}

	.p-news-archive .c-pagination :is(.c-pagination__item, .c-pagination__item-link, .c-pagination__item-ellipsis) {
		width: 40px;
		height: 40px;
	}

	.p-news-single__header {
		margin: 70px 0 64px;
	}

	.p-news-single__date {
		margin: 70px 12px 0 0;
		font-size: 16px;
	}

	/* 本文は左右65px内側（カンプ） */
	.single-news .c-entry__content > :is(p, h5),
	.single-news .c-entry__content > .wp-block-group:not([class*="is-style-"]) > :is(p, h5) {
		padding-inline: 65px;
	}
}

/* トップページの本文（固定ページ「ホーム」）：幅 1100px（SPは左右20px）、お知らせの下の余白
   Snow Monkey の全幅レイアウトが本文に付ける左右の余白は外し、各ブロックの幅だけで決める */
.home .c-entry__content {
	padding-inline: 0;
}

.home .c-entry__content > :not(.alignfull) {
	max-width: min(var(--content-width), calc(100% - var(--gutter-inline) * 2));
	margin-inline: auto;
}

/* 本文は Snow Monkey Blocks の「セクション」を積み重ねて作る前提。
   上下の余白は各セクションが持つ（SP 64px／PC 100px。カンプでセクションの境目から見出し・中身までが100px）。
   セクションは横幅いっぱい（背景色を帯にできる）、中身は 1100px（SPは左右20px） */
.home .l-contents__main > .c-section {
	padding-top: 0;
	padding-bottom: 0;
}

.home .c-entry__content > .smb-section {
	--smb-section--padding: var(--spacing-lg);
	max-width: none;
}

/* セクションは上から積み重ねるので、セクション同士の間（Snow Monkey 標準の約29px）は空けない */
.home .c-entry__content > .smb-section {
	margin-block: 0;
}

/* 「全幅」にしたブロック：Snow Monkey は本文の左右余白（28.8px）を打ち消すマイナスの余白を付けるが、
   トップページは本文の左右余白を0にしているため、そのままだと画面からはみ出す */
.home .c-entry__content > .alignfull {
	width: auto;
	margin-inline: 0;
}

.home .c-entry__content > .smb-section > .smb-section__inner > :is(.c-container, .c-fluid-container) {
	width: 100%;
	max-width: min(var(--content-width), calc(100% - var(--gutter-inline) * 2));
	margin-inline: auto;
	padding-inline: 0;
}

@media (min-width: 1024px) {
	.home .c-entry__content > .smb-section {
		--smb-section--padding: 100px;
	}
}

/* SPの左右余白を10pxにする：クラス u-gutter-narrow（追加CSSクラス）、またはセクションのスタイル「左右余白せまめ」
   「背景帯（全幅）」のセクションはスタイルを2つ選べないため、クラス u-gutter-narrow を使う */
@media not all and (min-width: 1024px) {
	.u-gutter-narrow,
	.smb-section.is-style-gutter-narrow {
		--gutter-inline: var(--spacing-gutter-sp-narrow);
		--_global--container-margin: var(--spacing-gutter-sp-narrow);
	}

	/* 下層は本文の箱（左右20px）の中にあるため、差の10pxだけ外にはみ出させる */
	body:not(.home) .c-entry__content > :is(.u-gutter-narrow, .is-style-gutter-narrow):not(.is-style-band) {
		margin-inline: calc(var(--spacing-gutter-sp-narrow) - var(--spacing-gutter-sp));
	}
}
