@charset "UTF-8";
/*
Theme Name: SWELL CHILD - Clinic Style
Theme URI: https://swell-theme.com/
Description: SWELL用のクリニックサイト向け子テーマ
Template: swell
Version: 4.7.0
Author: Site Owner
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Text Domain: swell-child-bc
*/

/*
 * Clinic design tokens
 * 色を変更するときは、まずこの6色を調整してください。
 */
:root {
	--bc-text: #53585e;
	--bc-heading: #4d5258;
	--bc-sky: #5bbde8;
	--bc-sky-soft: #edf8fd;
	--bc-border: #e0e2e4;
	--bc-footer: #aeb0b4;
	--bc-footer-dark: #989ba0;
	--bc-white: #fff;
	--bc-shadow: 0 2px 5px rgba(40, 48, 54, .14);
	--bc-radius: 12px;
}

html {
	scroll-behavior: smooth;
}

/* Top page: main visual, post slider and sidebar are disabled in PHP; cache fallbacks. */
#body_wrap.home #main_visual,
#body_wrap.home .p-mainVisual,
#body_wrap.top #main_visual,
#body_wrap.top .p-mainVisual,
#body_wrap.home #post_slider,
#body_wrap.home .p-postSlider,
#body_wrap.top #post_slider,
#body_wrap.top .p-postSlider,
#body_wrap.home #sidebar,
#body_wrap.top #sidebar {
	display: none !important;
}

#body_wrap.home .l-mainContent,
#body_wrap.top .l-mainContent {
	max-width: none !important;
	width: 100% !important;
}

@media (min-width: 960px) {
	#body_wrap.home .l-content,
	#body_wrap.top .l-content {
		display: block;
	}
}

/* Single posts: remove share tools, sidebar, author profile and comments. */
#body_wrap.single #sidebar,
#body_wrap.single .c-shareBtns,
#body_wrap.single .p-snsCta,
#body_wrap.single .l-articleBottom__section.-author,
#body_wrap.single #comments {
	display: none !important;
}

body {
	color: var(--bc-text);
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP",
		"Yu Gothic", YuGothic, Meiryo, sans-serif;
	font-weight: 400;
	letter-spacing: .015em;
}

a {
	transition: color .2s ease, background-color .2s ease, border-color .2s ease,
		opacity .2s ease, transform .2s ease;
}

/* Header */
.l-header {
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid var(--bc-border);
	box-shadow: none;
	color: var(--bc-heading);
}

.l-header__inner {
	max-width: 1120px;
}

.bc-clinic-header__inner {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
}

.bc-clinic-header__logo {
	align-items: center;
	display: flex;
	justify-content: flex-start;
}

.bc-clinic-header__logo-link {
	display: block;
	height: 86px;
	width: 86px;
}

.bc-clinic-header__logo-image {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.bc-clinic-header__nav {
	align-items: center;
	display: flex;
	justify-content: flex-start;
	min-width: 0;
	padding-left: 32px;
}

.c-headLogo__img {
	max-height: 66px;
	object-fit: contain;
}

.c-headLogo.-txt {
	color: var(--bc-heading);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: .05em;
}

.c-gnav {
	align-items: center;
	gap: 3px;
}

.c-gnav > .menu-item > a {
	color: var(--bc-heading);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .025em;
	padding-left: 15px;
	padding-right: 15px;
}

.bc-clinic-header__sample-nav {
	align-items: center;
	display: flex;
	height: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bc-clinic-header__sample-link {
	color: var(--bc-heading);
	display: flex;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .025em;
	padding: 15px;
	white-space: nowrap;
}

.c-gnav > .menu-item > a::after {
	background: var(--bc-sky);
	height: 2px;
}

.c-gnav > .current-menu-item > a,
.c-gnav > .current-menu-ancestor > a,
.c-gnav > .menu-item > a:hover {
	color: var(--bc-sky);
}

.c-gnav .sub-menu {
	border: 1px solid var(--bc-border);
	border-radius: 0 0 8px 8px;
	box-shadow: 0 8px 24px rgba(43, 49, 54, .11);
	overflow: hidden;
}

/* Page title / hero */
.l-topTitleArea {
	background-color: var(--bc-sky-soft);
	background-image:
		linear-gradient(115deg, rgba(255, 255, 255, .78), rgba(224, 242, 250, .7)),
		radial-gradient(circle at 12% 115%, transparent 0 38%, rgba(128, 167, 184, .12) 39% 39.5%, transparent 40%),
		radial-gradient(circle at 88% -20%, transparent 0 42%, rgba(128, 167, 184, .1) 43% 43.5%, transparent 44%);
	min-height: 182px;
	padding: 38px 0;
}

.l-topTitleArea::before,
.l-topTitleArea::after {
	background: none !important;
}

.l-topTitleArea__img {
	opacity: .18;
}

.l-topTitleArea__body {
	color: #767a7d;
	text-align: center;
	text-shadow: none;
}

.l-topTitleArea .c-pageTitle {
	font-size: clamp(28px, 3.1vw, 42px);
	font-weight: 400;
	letter-spacing: .06em;
}

.l-topTitleArea .c-pageTitle__inner {
	padding: 0;
}

.l-topTitleArea .c-pageTitle__subTitle {
	color: var(--bc-sky);
	display: block;
	font-size: 12px;
	font-style: normal;
	letter-spacing: .12em;
	margin: 12px 0 0;
	text-transform: uppercase;
}

/* Global content */
.l-container {
	max-width: 1120px;
}

.l-content {
	padding-bottom: 72px;
	padding-top: 52px;
}

.l-mainContent {
	min-width: 0;
}

.post_content {
	font-size: 16px;
	line-height: 2;
}

.post_content h2 {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--bc-border);
	color: var(--bc-heading);
	font-size: clamp(23px, 2.5vw, 32px);
	font-weight: 500;
	letter-spacing: .04em;
	padding: 0 0 16px;
	position: relative;
}

.post_content h2::before {
	background: var(--bc-sky);
	bottom: -1px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	width: 72px;
}

.post_content h3 {
	border-left: 3px solid var(--bc-sky);
	color: var(--bc-heading);
	font-size: clamp(19px, 2vw, 25px);
	font-weight: 500;
	padding: 5px 0 5px 18px;
}

/* Single article heading hierarchy. Applied to every existing and future post. */
#body_wrap.single #main_content .post_content h2:not(.p-postList__title) {
	background: linear-gradient(100deg, var(--bc-sky-soft) 0%, #f8fcfe 100%);
	border: 0;
	border-left: 5px solid var(--bc-sky);
	border-radius: 0 7px 7px 0;
	box-shadow: inset 0 -1px 0 rgba(91, 189, 232, .16);
	color: var(--bc-heading);
	font-size: clamp(23px, 2.25vw, 29px);
	font-weight: 600;
	letter-spacing: .035em;
	line-height: 1.55;
	padding: 18px 22px;
}

#body_wrap.single #main_content .post_content h2:not(.p-postList__title)::before {
	display: none;
}

#body_wrap.single #main_content .post_content h3:not(.p-postList__title) {
	background: transparent;
	border: 0;
	border-bottom: 2px solid #e4edf1;
	color: var(--bc-heading);
	font-size: clamp(19px, 1.8vw, 23px);
	font-weight: 600;
	letter-spacing: .025em;
	line-height: 1.6;
	padding: 4px 0 11px 18px;
	position: relative;
}

#body_wrap.single #main_content .post_content h3:not(.p-postList__title)::before {
	background: var(--bc-sky);
	border-radius: 3px;
	content: "";
	height: 1.25em;
	left: 0;
	position: absolute;
	top: .25em;
	width: 4px;
}

.post_content h4 {
	color: var(--bc-heading);
	font-weight: 600;
}

.post_content blockquote {
	background: var(--bc-sky-soft);
	border: 0;
	border-radius: 8px;
	color: var(--bc-text);
	padding: 24px 28px;
}

.post_content table {
	border-color: var(--bc-border);
}

.post_content thead,
.post_content th {
	background: var(--bc-sky-soft);
	color: var(--bc-heading);
}

.post_content .is-style-btn a,
.post_content .swell-block-button__link {
	border-radius: 2px;
	box-shadow: none;
	font-weight: 600;
	padding: .9em 2.4em;
}

/* Archive and post cards */
.c-pageTitle {
	color: var(--bc-heading);
	font-weight: 500;
}

.p-archiveContent .p-postList,
.p-homeContent .p-postList {
	gap: 32px 24px;
}

.p-archiveContent .p-postList__item,
.p-homeContent .p-postList__item {
	background: var(--bc-white);
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	box-shadow: var(--bc-shadow);
	overflow: hidden;
}

.p-archiveContent .p-postList__link,
.p-homeContent .p-postList__link {
	height: 100%;
}

.p-archiveContent .p-postList__body,
.p-homeContent .p-postList__body {
	padding: 18px 20px 20px;
}

.p-archiveContent .p-postList__title,
.p-homeContent .p-postList__title {
	color: var(--bc-heading);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.65;
}

.p-archiveContent .p-postList__meta,
.p-homeContent .p-postList__meta {
	color: #9b9fa2;
	font-size: 12px;
	margin-top: 10px;
}

.p-archiveContent .p-postList__excerpt,
.p-homeContent .p-postList__excerpt {
	color: #73787c;
	font-size: 13px;
	line-height: 1.8;
	margin-top: 12px;
}

.p-postList__thumb {
	overflow: hidden;
}

.p-postList__thumb img {
	transition: transform .45s ease;
}

.p-postList__link:hover {
	opacity: 1;
}

.p-postList__link:hover .p-postList__thumb img {
	transform: scale(1.035);
}

.c-postThumb__cat {
	background: var(--bc-sky);
}

.c-pagination [class*="page-numbers"] {
	border: 1px solid var(--bc-border);
	border-radius: 50%;
}

.c-pagination [class*="page-numbers"].current,
.c-pagination [class*="page-numbers"]:hover {
	background: var(--bc-sky);
	border-color: var(--bc-sky);
}

/* Sidebar */
.l-sidebar .c-widget {
	border-bottom: 1px solid var(--bc-border);
	padding-bottom: 28px;
}

.l-sidebar .c-widget__title {
	background: transparent;
	border: 0;
	color: var(--bc-heading);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .04em;
	padding: 0 0 12px;
	position: relative;
}

.l-sidebar .c-widget__title::after {
	background: var(--bc-sky);
	bottom: 0;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	width: 42px;
}

/* Footer */
.l-footer {
	background: #f6f6f6;
	color: var(--bc-text);
}

.bc-ref-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bc-ref-footer__banners {
	background: #fff;
	padding: 56px 0 18px;
}

.bc-ref-footer__banner-grid {
	display: grid;
	gap: clamp(42px, 10vw, 138px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-left: 118px;
	padding-right: 118px;
}

.bc-ref-footer__banner {
	aspect-ratio: 2.6 / 1;
	background: #d9dde0;
	display: block;
	overflow: hidden;
	position: relative;
}

.bc-ref-footer__banner--placeholder {
	background:
		linear-gradient(115deg, rgba(89, 169, 211, .68), rgba(213, 220, 224, .55)),
		linear-gradient(35deg, #dfe4e7, #b8c2c8);
}

.bc-ref-footer__banner-image {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bc-ref-footer__banner-title {
	color: #fff;
	font-size: clamp(17px, 2vw, 26px);
	font-weight: 700;
	left: 50%;
	letter-spacing: .035em;
	position: absolute;
	text-align: center;
	text-shadow: 0 2px 5px rgba(0, 0, 0, .35);
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	z-index: 1;
}

.bc-ref-footer__main {
	background: #f7f7f7;
	padding: 22px 0 60px;
}

.bc-ref-footer__main-grid {
	align-items: center;
	display: grid;
	gap: 70px;
	grid-template-columns: 1.15fr .75fr 1fr;
	padding-left: 118px;
	padding-right: 118px;
}

.bc-ref-footer__brand .c-headLogo {
	font-size: 24px;
	margin: 0;
	max-width: 260px;
}

.bc-ref-footer__brand .c-headLogo__img {
	max-height: 80px;
	width: auto;
}

.bc-ref-footer__brand-image {
	display: block;
	height: auto;
	max-width: 240px;
	width: 100%;
}

.bc-ref-footer__access {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 24px;
	justify-content: center;
}

.bc-ref-footer__access-button {
	background: transparent;
	border: 1px solid #666b6f;
	border-radius: 3px;
	color: #5f6468 !important;
	display: inline-flex;
	font-size: 13px;
	gap: 7px;
	justify-content: center;
	min-width: 128px;
	padding: 10px 16px;
	text-decoration: none;
}

.bc-ref-footer__access-button.is-disabled {
	cursor: default;
}

.bc-ref-footer__pin-icon {
	fill: currentColor;
	height: 16px;
	width: 16px;
}

.bc-ref-footer__pin-icon circle {
	fill: #f7f7f7;
}

.bc-ref-footer__social {
	align-items: center;
	background: #e8a56c;
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 18px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	width: 34px;
}

.bc-ref-footer__social svg {
	fill: none;
	height: 19px;
	stroke: currentColor;
	stroke-width: 1.8;
	width: 19px;
}

.bc-ref-footer__social .bc-ref-footer__social-dot {
	fill: currentColor;
	stroke: none;
}

.bc-ref-footer__guide-list {
	display: grid;
	gap: 9px;
}

.bc-ref-footer__guide-list a,
.bc-ref-footer__guide-list span {
	color: #575c60;
	display: inline-block;
	font-size: 13px;
	line-height: 1.5;
	text-decoration: none;
}

.bc-ref-footer__guide-list a:hover {
	color: var(--bc-sky);
}

.bc-ref-footer__medical {
	background: #aaacb0;
	color: #fff;
	min-height: 350px;
	padding: 24px 0 32px;
}

.bc-ref-footer__medical-inner {
	padding-left: 118px;
	padding-right: 118px;
}

.bc-ref-footer__medical-nav {
	max-width: 360px;
}

.bc-ref-footer__medical-list {
	display: grid;
	gap: 6px;
}

.bc-ref-footer__medical-list a,
.bc-ref-footer__medical-list span {
	color: #fff;
	font-size: 13px;
	line-height: 1.55;
	text-decoration: none;
}

.bc-ref-footer__medical-list a::before,
.bc-ref-footer__medical-list span::before {
	content: "・";
	margin-right: 2px;
}

.bc-ref-footer__medical-list a:hover {
	opacity: .72;
}

.bc-ref-footer__bottom {
	background: #f5f5f5;
	color: #73777a;
	padding: 24px 0 26px;
	text-align: center;
}

.bc-ref-footer__copyright {
	font-size: 11px;
	letter-spacing: .03em;
	margin: 0;
}

/* Mobile menu */
.p-spMenu__inner {
	background: var(--bc-white);
	color: var(--bc-heading);
}

.p-spMenu__inner::before {
	background: var(--bc-white) !important;
	opacity: 1 !important;
}

.p-spMenu__nav a {
	border-bottom-color: var(--bc-border);
}

/* Responsive */
@media (min-width: 960px) {
	.bc-clinic-header__inner {
		height: 142px;
	}

	.bc-clinic-header__nav {
		height: 100%;
	}

	.bc-clinic-header__nav .c-gnav {
		height: 100%;
	}
}

@media (max-width: 1100px) and (min-width: 960px) {
	.bc-clinic-header__inner {
		grid-template-columns: 104px minmax(0, 1fr);
	}

	.bc-clinic-header__nav {
		padding-left: 14px;
	}

	.c-gnav > .menu-item > a {
		font-size: 13px;
		padding-left: 9px;
		padding-right: 9px;
	}

	.bc-clinic-header__sample-link {
		font-size: 13px;
		padding-left: 9px;
		padding-right: 9px;
	}

}

@media (max-width: 959px) {
	.bc-clinic-header__inner {
		display: flex;
		height: 90px;
	}

	.bc-clinic-header__logo {
		flex: 1;
		padding-left: 14px;
	}

	.bc-clinic-header__logo-link {
		height: 72px;
		width: 72px;
	}

	.bc-clinic-header__nav {
		display: none;
	}

	.c-headLogo__img {
		max-height: 58px;
	}

	.l-header__menuBtn {
		color: var(--bc-heading);
	}

	.l-header__menuBtn .c-iconBtn {
		background: #eef0f1;
		height: 42px;
		margin: auto 10px auto 0;
		width: 42px;
	}

	.l-topTitleArea {
		min-height: 126px;
		padding: 28px 0;
	}

	.l-content {
		padding-bottom: 54px;
		padding-top: 36px;
	}

	.bc-ref-footer__banner-grid,
	.bc-ref-footer__main-grid,
	.bc-ref-footer__medical-inner {
		padding-left: 28px;
		padding-right: 28px;
	}

	.bc-ref-footer__banner-grid {
		gap: 32px;
	}

	.bc-ref-footer__main-grid {
		gap: 34px;
	}
}

@media (max-width: 599px) {
	body {
		font-size: 15px;
	}

	.l-content {
		padding-left: 20px;
		padding-right: 20px;
	}

	.l-topTitleArea .c-pageTitle {
		font-size: 27px;
	}

	.post_content {
		font-size: 15px;
		line-height: 1.9;
	}

	.post_content h2 {
		font-size: 23px;
	}

	#body_wrap.single #main_content .post_content h2:not(.p-postList__title) {
		border-left-width: 4px;
		border-radius: 0 6px 6px 0;
		font-size: 20px;
		line-height: 1.55;
		padding: 14px 15px;
	}

	#body_wrap.single #main_content .post_content h3:not(.p-postList__title) {
		font-size: 18px;
		line-height: 1.55;
		padding: 3px 0 9px 14px;
	}

	#body_wrap.single #main_content .post_content h3:not(.p-postList__title)::before {
		width: 3px;
	}

	.p-archiveContent .p-postList,
	.p-homeContent .p-postList {
		gap: 22px;
	}

	.p-archiveContent .p-postList__body,
	.p-homeContent .p-postList__body {
		padding: 16px 17px 18px;
	}

	.bc-ref-footer__banners {
		padding-bottom: 14px;
		padding-top: 38px;
	}

	.bc-ref-footer__banner-grid {
		gap: 18px;
		grid-template-columns: 1fr;
	}

	.bc-ref-footer__main {
		padding-bottom: 42px;
		padding-top: 28px;
	}

	.bc-ref-footer__main-grid {
		gap: 34px;
		grid-template-columns: 1fr;
		text-align: center;
	}

	.bc-ref-footer__brand .c-headLogo {
		margin-left: auto;
		margin-right: auto;
	}

	.bc-ref-footer__guide-list {
		justify-items: center;
	}

	.bc-ref-footer__medical {
		min-height: 0;
		padding-bottom: 36px;
		padding-top: 32px;
	}

	.bc-ref-footer__medical-nav {
		margin: 0 auto;
		max-width: 280px;
	}
}

/* Article table of contents: show the beginning first, then expand on demand. */
#main_content .p-toc.bc-toc-is-collapsible .p-toc__list {
	max-height: 11em;
	overflow: hidden;
}

#main_content .p-toc.bc-toc-is-collapsible.is-open .p-toc__list {
	max-height: none;
}

.bc-toc-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-top: 1px solid var(--bc-border);
	border-radius: 0;
	color: var(--color_main, var(--bc-sky));
	display: flex;
	font-size: 14px;
	font-weight: 500;
	gap: 8px;
	justify-content: center;
	margin: 14px auto 0;
	padding: 13px 10px 2px;
	transition: color .2s ease, opacity .2s ease;
	width: 100%;
}

.bc-toc-toggle::after {
	border-bottom: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	height: 7px;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
	width: 7px;
}

.bc-toc-toggle:hover,
.bc-toc-toggle:focus-visible {
	background: transparent;
	color: var(--bc-sky);
	opacity: .78;
}

.bc-toc-is-collapsible.is-open .bc-toc-toggle::after {
	transform: rotate(225deg) translate(-2px, -2px);
}

@media (max-width: 599px) {
	#main_content .p-toc.bc-toc-is-collapsible .p-toc__list {
		max-height: 10.5em;
	}

	.bc-toc-toggle {
		font-size: 13px;
		padding-top: 12px;
	}
}

/*
 * Pixel-matched header and footer
 * Reference viewport: 1440px desktop / 390px mobile.
 */
.bc-clinic-header.l-header {
	background: #f8f8f8;
	border: 0;
	box-shadow: none;
}

.bc-clinic-header .bc-clinic-header__inner,
.bc-ref-footer > * > .l-container {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
	padding: 0;
	width: 100%;
}

.bc-clinic-header__reference-nav,
.bc-clinic-header__reference-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bc-clinic-header__reference-nav > .menu-item {
	position: relative;
}

.bc-clinic-header__reference-nav > .menu-item > a {
	align-items: center;
	background: transparent;
	color: #54595f;
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
		Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 17px;
	font-weight: 400;
	letter-spacing: .16px;
	line-height: 20px;
	padding: 13px 20px;
	transition: color .4s;
	white-space: nowrap;
}

.bc-clinic-header__reference-nav > .current-menu-item > a,
.bc-clinic-header__reference-nav > .menu-item > a:hover,
.bc-clinic-header__reference-nav > .menu-item > a:focus-visible {
	color: #6ec1e4;
}

.bc-clinic-header__reference-nav > .menu-item > a::before,
.bc-clinic-header__reference-nav > .menu-item > a::after {
	display: none !important;
}

.bc-clinic-header__arrow {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
	height: 0;
	margin-left: 10.8px;
	width: 0;
}

.bc-clinic-header__reference-nav .sub-menu {
	background: #fffaf0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	left: 0;
	min-width: 240px;
	opacity: 0;
	overflow: visible;
	position: absolute;
	top: 100%;
	transform: translateY(7px);
	transition: opacity .3s, transform .3s, visibility .3s;
	visibility: hidden;
	z-index: 1000;
}

.bc-clinic-header__reference-nav .sub-menu .menu-item {
	position: relative;
}

.bc-clinic-header__reference-nav .sub-menu .sub-menu {
	left: 100%;
	top: 0;
}

.bc-clinic-header__reference-nav .menu-item:hover > .sub-menu,
.bc-clinic-header__reference-nav .menu-item:focus-within > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.bc-clinic-header__reference-nav .sub-menu a {
	background: #fffaf0;
	color: #54595f;
	display: block;
	font-family: "Kiwi Maru", sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: .16px;
	line-height: 20px;
	padding: 13px 20px;
	transition: color .4s, background-color .4s;
	white-space: nowrap;
}

.bc-clinic-header__reference-nav .sub-menu a:hover,
.bc-clinic-header__reference-nav .sub-menu a:focus-visible {
	background: #fff;
	color: #6ec1e4;
}

.bc-ref-footer {
	background: #fff;
	color: #fafafa;
	font-size: 14px;
	line-height: 25.2px;
}

.bc-ref-footer__banners {
	background: #fff;
	padding: 0;
}

.bc-ref-footer__banner-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
}

.bc-ref-footer__banner {
	align-items: flex-start;
	aspect-ratio: auto;
	background: transparent;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	overflow: visible;
	padding: 10px;
	width: 50%;
}

.bc-ref-footer__banner-image {
	display: block;
	height: auto;
	max-width: 70%;
	object-fit: initial;
	transition: none;
	width: 70%;
}

.bc-ref-footer__banner:hover .bc-ref-footer__banner-image,
.bc-ref-footer__banner:focus-visible .bc-ref-footer__banner-image {
	opacity: 1;
	transform: none;
}

.bc-ref-footer__main {
	background: #f8f8f8;
	padding: 0;
}

.bc-ref-footer__main-grid {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
}

.bc-ref-footer__brand {
	align-items: flex-start;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	padding: 10px;
	width: 41%;
}

.bc-ref-footer__brand > a {
	display: block;
	line-height: 0;
	text-align: center;
	width: 100%;
}

.bc-ref-footer__brand-image {
	display: inline-block;
	height: auto;
	max-width: none;
	width: 70%;
}

.bc-ref-footer__access {
	align-items: flex-start;
	box-sizing: border-box;
	display: block;
	padding: 10px;
	width: 29%;
}

.bc-ref-footer__access-button {
	align-items: center;
	background: #fff;
	border: 1px solid #7a7a7a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #7a7a7a !important;
	display: inline-flex;
	font-family: "Kiwi Maru", sans-serif;
	font-size: 14px;
	font-weight: 500;
	gap: 5px;
	height: 40px;
	justify-content: center;
	line-height: 14px;
	min-width: 0;
	padding: 0;
	transition: color .3s, background-color .3s, border-color .3s;
	width: 121.484px;
}

.bc-ref-footer__access-button:hover,
.bc-ref-footer__access-button:focus-visible {
	background: #e4a56e;
	border-color: #fff;
	color: #fff !important;
}

.bc-ref-footer__pin-icon {
	height: 15px;
	width: 15px;
}

.bc-ref-footer__pin-icon circle {
	fill: #fff;
}

.bc-ref-footer__access-button:hover .bc-ref-footer__pin-icon circle,
.bc-ref-footer__access-button:focus-visible .bc-ref-footer__pin-icon circle {
	fill: #e4a56e;
}

.bc-ref-footer__social {
	background: #e4a56e;
	border-radius: 50%;
	color: #69727d;
	display: flex;
	height: 30px;
	margin-top: 20px;
	transition: transform .3s, opacity .3s;
	width: 30px;
}

.bc-ref-footer__social:hover,
.bc-ref-footer__social:focus-visible {
	opacity: .9;
	transform: none;
}

.bc-ref-footer__social svg {
	color: #fff;
	height: 15px;
	width: 15px;
}

.bc-ref-footer__guide {
	box-sizing: border-box;
	padding: 10px;
	width: 29.332%;
}

.bc-ref-footer__guide-list {
	display: block;
}

.bc-ref-footer__guide-list a {
	align-items: center;
	color: #54595f;
	display: flex;
	font-family: "Kiwi Maru", sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .16px;
	line-height: 28.8px;
	min-height: 28.8px;
	transition: color .3s;
}

.bc-ref-footer__guide-list a:hover,
.bc-ref-footer__guide-list a:focus-visible {
	color: #e4a56e;
}

.bc-ref-footer__medical {
	background: #aaaaae;
	color: #fafafa;
	min-height: 0;
	padding: 0;
}

.bc-ref-footer__medical-inner {
	padding: 0;
}

.bc-ref-footer__medical-nav {
	box-sizing: border-box;
	margin: 0;
	max-width: none;
	padding: 10px;
	width: 50%;
}

.bc-ref-footer__medical-list {
	display: block;
}

.bc-ref-footer__medical-list a {
	align-items: center;
	color: #fffefe;
	display: flex;
	font-family: "Kiwi Maru", sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .16px;
	line-height: 28.8px;
	min-height: 28.8px;
	transition: color .3s;
}

.bc-ref-footer__medical-list a::before {
	content: "・";
	margin-right: 0;
}

.bc-ref-footer__medical-list a:hover,
.bc-ref-footer__medical-list a:focus-visible {
	color: #fff;
	opacity: 1;
}

.bc-ref-footer__bottom {
	background: #f4f4f4;
	box-sizing: border-box;
	color: #7a7a7a;
	padding: 10px;
	text-align: center;
}

.bc-ref-footer__bottom > .l-container {
	max-width: 1120px;
}

.bc-ref-footer__copyright {
	color: #7a7a7a;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .16px;
	line-height: 25.2px;
	margin: 0 0 20px;
}

@media (min-width: 960px) {
	.bc-clinic-header .bc-clinic-header__inner {
		display: grid;
		grid-template-columns: 10% 74.552% 1fr;
		height: 143px;
	}

	.bc-clinic-header .bc-clinic-header__logo {
		align-items: flex-start;
		height: 143px;
		justify-content: flex-start;
		padding: 10px;
	}

	.bc-clinic-header .bc-clinic-header__logo-link {
		height: 94px;
		width: 94px;
	}

	.bc-clinic-header .bc-clinic-header__nav {
		align-items: flex-start;
		height: 143px;
		justify-content: flex-start;
		padding: 31px 10px 0;
	}

	.bc-clinic-header .bc-clinic-header__nav .c-gnav {
		display: flex;
		gap: 0;
		height: 46px;
	}
}

@media (max-width: 959px) {
	.bc-clinic-header .bc-clinic-header__inner {
		align-items: flex-start;
		display: flex;
		height: 141px;
		justify-content: flex-start;
	}

	.bc-clinic-header .bc-clinic-header__logo {
		align-items: flex-start;
		box-sizing: border-box;
		flex: 0 0 30%;
		height: 141px;
		justify-content: flex-start;
		padding: 10px;
		width: 30%;
	}

	.bc-clinic-header .bc-clinic-header__logo-link {
		height: auto;
		width: 100%;
	}

	.bc-clinic-header .bc-clinic-header__logo-image {
		aspect-ratio: 1;
		height: auto;
		width: 100%;
	}

	.bc-clinic-header .bc-clinic-header__nav,
	.bc-clinic-header .l-header__customBtn {
		display: none !important;
	}

	.bc-clinic-header .l-header__menuBtn {
		align-items: flex-start;
		box-sizing: border-box;
		display: flex !important;
		flex: 0 0 30%;
		height: 141px;
		justify-content: center;
		padding-top: 31px;
		width: 30%;
	}

	.bc-clinic-header .l-header__menuBtn .c-iconBtn {
		background: rgba(0, 0, 0, .05);
		border: 0;
		border-radius: 3px;
		color: #54595f;
		font-size: 22px;
		height: 33px;
		margin: 0;
		padding: 5.5px;
		width: 33.172px;
	}
}

@media (max-width: 767px) {
	.bc-ref-footer__banner {
		width: 100%;
	}

	.bc-ref-footer__brand {
		width: 100%;
	}

	.bc-ref-footer__access,
	.bc-ref-footer__guide {
		text-align: left;
		width: 50%;
	}

	.bc-ref-footer__guide-list {
		justify-items: initial;
	}

	.bc-ref-footer__medical-nav {
		width: 100%;
	}

	.bc-ref-footer__medical {
		min-height: 366.562px;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/*
 * Home layout balance
 * SWELL calculates card widths with flex percentages. Adding a gap to that
 * layout makes the third card wrap, so the home list uses an explicit grid.
 */
#body_wrap.home .l-content,
#body_wrap.top .l-content {
	box-sizing: border-box;
	margin-bottom: 0;
	max-width: 1204px;
	padding-bottom: 88px;
	padding-left: 32px;
	padding-right: 32px;
	padding-top: 48px;
}

#body_wrap.home .p-homeContent,
#body_wrap.top .p-homeContent,
#body_wrap.home .p-homeContent.u-mt-40,
#body_wrap.top .p-homeContent.u-mt-40 {
	margin-top: 0 !important;
	width: 100%;
}

#body_wrap.home .p-homeContent .p-postList,
#body_wrap.top .p-homeContent .p-postList {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 24px;
	margin: 0 !important;
	width: 100%;
}

#body_wrap.home .p-homeContent .p-postList__item,
#body_wrap.top .p-homeContent .p-postList__item {
	display: flex;
	margin: 0 !important;
	min-width: 0;
	padding: 0 !important;
	width: auto !important;
}

#body_wrap.home .p-homeContent .p-postList__link,
#body_wrap.top .p-homeContent .p-postList__link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

#body_wrap.home .p-homeContent .p-postList__body,
#body_wrap.top .p-homeContent .p-postList__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

#body_wrap.home .p-homeContent .p-postList__meta,
#body_wrap.top .p-homeContent .p-postList__meta {
	margin-top: auto;
	padding-top: 14px;
}

@media (min-width: 600px) and (max-width: 959px) {
	#body_wrap.home .l-content,
	#body_wrap.top .l-content {
		max-width: 820px;
		padding: 40px 24px 72px;
	}

	#body_wrap.home .p-homeContent .p-postList,
	#body_wrap.top .p-homeContent .p-postList {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}
}

@media (max-width: 959px) {
	/* No reservation buttons are used, so the reference site's button row is omitted. */
	.bc-clinic-header .bc-clinic-header__inner {
		align-items: center;
		display: flex;
		height: 92px;
		justify-content: center;
		min-height: 92px;
		position: relative;
	}

	.bc-clinic-header .bc-clinic-header__logo {
		align-items: center;
		display: flex;
		flex: 0 0 72px;
		height: 72px;
		justify-content: center;
		padding: 0;
		width: 72px;
	}

	.bc-clinic-header .bc-clinic-header__logo-link {
		height: 72px;
		width: 72px;
	}

	.bc-clinic-header .bc-clinic-header__logo-image {
		height: 72px;
		object-fit: contain;
		width: 72px;
	}

	.bc-clinic-header .l-header__menuBtn {
		align-items: center;
		display: flex !important;
		height: 44px;
		justify-content: center;
		padding: 0;
		position: absolute;
		right: 18px;
		top: 24px;
		width: 44px;
	}

	.bc-clinic-header .l-header__menuBtn .c-iconBtn {
		border-radius: 5px;
		height: 40px;
		margin: 0;
		padding: 8px;
		width: 40px;
	}
}

@media (max-width: 599px) {
	#body_wrap.home .l-content,
	#body_wrap.top .l-content {
		max-width: 520px;
		padding: 30px 16px 58px;
	}

	#body_wrap.home .p-homeContent .p-postList,
	#body_wrap.top .p-homeContent .p-postList {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	#body_wrap.home .p-homeContent .p-postList__item,
	#body_wrap.top .p-homeContent .p-postList__item {
		border-radius: 9px;
		box-shadow: 0 2px 8px rgba(40, 48, 54, .12);
	}

	#body_wrap.home .p-homeContent .p-postList__body,
	#body_wrap.top .p-homeContent .p-postList__body {
		padding: 15px 16px 17px;
	}

	#body_wrap.home .p-homeContent .p-postList__title,
	#body_wrap.top .p-homeContent .p-postList__title {
		font-size: 16px;
		line-height: 1.65;
	}

	#body_wrap.home .p-homeContent .p-postList__excerpt,
	#body_wrap.top .p-homeContent .p-postList__excerpt {
		display: -webkit-box;
		font-size: 13px;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
		line-height: 1.75;
		overflow: hidden;
	}

	#body_wrap.home .p-homeContent .p-postList__meta,
	#body_wrap.top .p-homeContent .p-postList__meta {
		padding-top: 11px;
	}
}
