/*
Theme Name: BlankSlate Child
Template: blankslate
*/

/* ===========================
   Custom Properties
=========================== */
:root {
	--c-blue: #2096e1;
	--c-pink: #e354a3;
	--c-light-blue: #cee8f8;
	--c-tint: rgba(32, 150, 225, 0.05);
	--c-footer: #cbebff;
	--f-sans: 'Noto Sans JP', sans-serif;
	--f-serif: 'Noto Serif JP', serif;
	--w-site: 1440px;
	--h-header: 97px;
}

/* ===========================
   Reset
=========================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--f-sans);
	color: #000;
	background: #fff;
}

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

a {
	text-decoration: none;
	color: inherit;
}

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

p {
	margin: 0;
}

h3 {
	margin: 0;
}

/* ===========================
   br
=========================== */
.br-sp {
	display: none;
}

.br-pc {
	display: block;
}

@media screen and (max-width:768px) {
	.br-sp {
		display: block;
	}

	.br-pc {
		display: none;
	}
}

/* ===========================
   Header
=========================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
	z-index: 100;
	height: var(--h-header);
}

.header-inner {
	max-width: var(--w-site);
	margin: 0 auto;
	padding: 0 20px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-logo img {
	height: 45px;
	width: auto;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-nav ul {
	display: flex;
	align-items: center;
	gap: 18px;
}

.header-nav a {
	font-size: 16px;
	white-space: nowrap;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 26px;
	height: 2px;
	background: #333;
	margin: 6px auto;
	transition: transform .25s ease, opacity .25s ease;
}

.btn-web-yoyaku {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--c-pink);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 10px 27px;
	border-radius: 20px;
	white-space: nowrap;
}

/* ===========================
   Main offset
=========================== */
#main {
	padding-top: var(--h-header);
}

/* ===========================
   FV Section
=========================== */
.fv-section {
	position: relative;
	height: 927px;
	overflow: hidden;
}

.fv-bg {
	position: absolute;
	inset: 0;
}

.fv-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fv-inner {
	position: relative;
	z-index: 1;
	max-width: var(--w-site);
	margin: 0 auto;
	padding: 0 52px;
	height: 100%;
	display: flex;
	align-items: flex-start;
}

.fv-copy {
	flex: 0 0 636px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 286px;
	/* 160px content offset + 126px section padding */
}

.fv-catchcopy {
	font-weight: 700;
	font-size: 40px;
	line-height: 70px;
	letter-spacing: 1.2px;
	white-space: pre;
}

.fv-subcopy {
	font-size: 16px;
	line-height: 32px;
	letter-spacing: 0.48px;
}

.fv-image {
	flex: 1;
	height: 708px;
	margin-top: 126px;
}

.fv-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ===========================
   Intro Section
=========================== */
.intro-section {
	position: relative;
	height: 466px;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.intro-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .6;
	pointer-events: none;
}

.intro-inner {
	position: relative;
	z-index: 1;
	padding: 0 0 0 43px;
	max-width: 759px;
}

.intro-title {
	font-weight: 700;
	font-size: 32px;
	line-height: 32px;
	letter-spacing: .96px;
	white-space: nowrap;
	margin-bottom: 10px;
}

.section-divider {
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, .35);
	margin-bottom: 20px;
}

.intro-body {
	font-size: 16px;
	line-height: 32px;
}

/* ===========================
   Section Heading (H2 pattern)
=========================== */
.dept-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 80px 0 48px;
}

.dept-heading .section-ja {
	font-family: var(--f-serif);
	font-weight: 300;
	font-size: 36px;
	line-height: 1;
	color: #000;
	text-align: center;
}

.dept-heading .section-en {
	font-family: var(--f-sans);
	font-weight: 300;
	font-size: 14px;
	color: rgba(32, 150, 225, .22);
	text-align: center;
	margin-top: 8px;
}

/* ===========================
   Worry List
=========================== */
.worry-list-outer {
	display: flex;
	justify-content: center;
	padding: 0 65px 48px;
}

.worry-list {
	background: var(--c-light-blue);
	border-radius: 20px;
	width: 989px;
	padding: 20px 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.worry-item {
	background: #fff;
	border-radius: 20px;
	padding: 10px 0;
	width: 279px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.worry-item span {
	font-weight: 500;
	font-size: 20px;
	color: var(--c-blue);
	text-align: center;
}

/* ===========================
   Department Content (text + image)
=========================== */
.dept-section {
	position: relative;
	overflow: hidden;
}

.dept-content {
	max-width: var(--w-site);
	margin: 0 auto;
	padding: 0 65px 80px;
	display: flex;
	align-items: flex-start;
	gap: 42px;
}

/* Decorative pill-shaped background on left */
.dept-deco-bg {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 720px;
	height: 329px;
	background: var(--c-tint);
	border-radius: 0 140px 140px 0;
	pointer-events: none;
}

.dept-text {
	flex: 0 0 714px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	position: relative;
	z-index: 1;
}

.content-heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.content-heading>p {
	font-weight: 700;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: .72px;
	white-space: nowrap;
}

.content-body {
	display: flex;
	flex-direction: column;
}

.content-body p {
	font-size: 16px;
	line-height: 32px;
}

.content-label-blue {
	font-weight: 700;
	font-size: 24px;
	line-height: 32px;
	color: var(--c-blue) !important;
}

.content-list {
	margin: 0 0 8px;
}

.content-list li {
	font-size: 16px;
	line-height: 32px;
}

.content-list li::before {
	content: '・';
}

.dept-image {
	flex: 0 0 628px;
	height: 407px;
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 30px;
}

.dept-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ===========================
   Note Box
=========================== */
.note-box {
	max-width: 796px;
	margin: 0 auto 80px;
	background: var(--c-light-blue);
	padding: 40px;
}

.note-box p {
	font-weight: 500;
	font-size: 20px;
	line-height: 32px;
}

/* ===========================
   Features Section
=========================== */
.features-section {
	background: #f3faff;
	padding: 62px 0 80px;
}

.features-inner {
	max-width: var(--w-site);
	margin: 0 auto;
	padding: 0 53px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 0;
	position: relative;
	min-height: 371px;
}

.feature-img {
	flex: 0 0 350px;
	height: 275px;
	border-radius: 20px;
	overflow: hidden;
	margin-left: 44px;
	margin-right: 50px;
	flex-shrink: 0;
}

.feature-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-body {
	flex: 1;
	position: relative;
	padding-top: 4px;
}

.feature-num {
	font-family: var(--f-serif);
	font-size: 128px;
	line-height: 1;
	color: rgba(32, 150, 225, .38);
	position: absolute;
	bottom: 0;
	left: -170px;
	z-index: 0;
	pointer-events: none;
}

.feature-title {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 24px;
	line-height: 32px;
	color: #000;
	margin-bottom: 12px;
	position: relative;
	z-index: 1;
	white-space: nowrap;
}

.feature-body>p {
	font-family: var(--f-serif);
	font-size: 16px;
	line-height: 32px;
	color: #000;
	position: relative;
	z-index: 1;
	margin-top: 60px;
}

/* ===========================
   Access Section
=========================== */
.access-section {
	padding-bottom: 80px;
}

.access-inner {
	max-width: var(--w-site);
	margin: 0 auto;
	padding: 0 65px;
}

.access-map {
	border-radius: 12px;
	overflow: hidden;
}

.access-map iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

/* ===========================
   Footer
=========================== */
.site-footer {
	background: var(--c-footer);
	padding: 37px 20px 30px;
}

.footer-inner {
	max-width: var(--w-site);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.footer-logo img {
	height: 65px;
	width: auto;
}

.footer-nav ul {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-nav a {
	font-size: 16px;
}

.footer-copyright {
	font-size: 16px;
	text-align: center;
}

/* ===========================
   Page Header
=========================== */
.page-header {
	background: var(--c-tint);
	padding: 100px 0 80px;
	text-align: center;
	margin-bottom: 60px;
}

.page-title-ja {
	font-family: var(--f-serif);
	font-weight: 300;
	font-size: 40px;
	line-height: 1;
	color: #000;
	margin: 0;
}

.page-title-en {
	display: block;
	font-family: var(--f-sans);
	font-weight: 300;
	font-size: 16px;
	color: rgba(32, 150, 225, .5);
	margin-top: 12px;
}

/* ===========================
   Other Depts Section (page-about)
=========================== */
.other-depts-section {
	max-width: var(--w-site);
	margin: 0 auto;
	padding: 0 65px 80px;
}

.other-depts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.other-dept-card {
	background: #f3faff;
	border-radius: 20px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.other-dept-card-heading {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.other-dept-card-title {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 28px;
	color: var(--c-blue);
	border-bottom: 1px solid rgba(32, 150, 225, 0.3);
	padding-bottom: 12px;
	margin: 0;
}

.other-dept-card-heading p {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0.05em;
}

.other-dept-card-body p {
	font-size: 16px;
	line-height: 2;
}

/* ===========================
   Page Access Section
=========================== */
.page-access-section {
	max-width: var(--w-site);
	margin: 0 auto;
	padding: 0 65px 80px;
}

.page-access-inner {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.access-info-block {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.access-h2 {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 32px;
	color: var(--c-blue);
	border-bottom: 2px solid var(--c-blue);
	padding-bottom: 12px;
	margin: 0;
	text-align: center;
}

.access-desc {
	font-size: 16px;
	line-height: 1.8;
	text-align: center;
}

.access-table-wrapper {
	width: 100%;
	overflow-x: auto;
}

.schedule-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
	background: #fff;
}

.schedule-table th,
.schedule-table td {
	border: 1px solid #ddd;
	padding: 16px 8px;
	font-size: 16px;
}

.schedule-table th {
	background: var(--c-light-blue);
	font-weight: 700;
	color: var(--c-blue);
}

.schedule-table td {
	color: #333;
}

.schedule-table th:first-child {
	width: 200px;
}

.access-note {
	font-size: 16px;
	color: #d32f2f;
	font-weight: 500;
	text-align: center;
}

.clinic-info-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: #f3faff;
	padding: 32px;
	border-radius: 12px;
}

.clinic-info-list dl {
	display: flex;
	margin: 0;
	border-bottom: 1px dashed rgba(32, 150, 225, 0.3);
	padding-bottom: 16px;
}

.clinic-info-list dl:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.clinic-info-list dt {
	flex: 0 0 160px;
	font-weight: 700;
	color: var(--c-blue);
	font-size: 16px;
}

.clinic-info-list dd {
	flex: 1;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1200px) {
	:root {
		--h-header: 84px;
	}

	.header-nav ul {
		gap: 12px;
	}

	.header-nav a {
		font-size: 14px;
	}

	.fv-section {
		height: auto;
		min-height: 700px;
	}

	.fv-inner {
		padding: 80px 24px 48px;
		flex-direction: column-reverse;
		gap: 24px;
	}

	.fv-copy {
		flex: 1 1 auto;
		padding-top: 0;
	}

	.fv-catchcopy {
		font-size: 34px;
		line-height: 1.6;
		white-space: normal;
	}

	.fv-subcopy {
		line-height: 1.9;
	}

	.fv-image {
		flex: 1 1 auto;
		width: 100%;
		height: auto;
		margin-top: 0;
	}

	.intro-section {
		height: auto;
		padding: 56px 0;
	}

	.intro-inner {
		padding: 0 24px;
		max-width: 100%;
	}

	.intro-title {
		font-size: 28px;
		line-height: 1.4;
		white-space: normal;
	}

	.worry-list-outer,
	.dept-content,
	.features-inner,
	.access-inner {
		padding-left: 24px;
		padding-right: 24px;
	}

	.worry-list {
		width: 100%;
	}

	.dept-content {
		flex-direction: column;
		gap: 24px;
	}

	.dept-text,
	.dept-image {
		flex: 1 1 auto;
		width: 100%;
	}

	.content-heading>p,
	.feature-title {
		white-space: normal;
	}

	.feature-item {
		flex-direction: column;
		min-height: 0;
	}

	.feature-img {
		margin: 0;
		width: 100%;
		height: auto;
	}

	.feature-num {
		left: 0;
		bottom: auto;
		top: -32px;
		font-size: 84px;
	}

	.feature-body>p {
		margin-top: 24px;
	}

	.page-header {
		padding: 60px 0 40px;
		margin-bottom: 40px;
	}

	.page-title-ja {
		font-size: 32px;
	}

	.other-depts-section {
		padding-left: 24px;
		padding-right: 24px;
	}

	.other-depts-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.other-dept-card {
		padding: 32px 24px;
	}
}

@media (max-width: 900px) {
	:root {
		--h-header: 72px;
	}

	body {
		padding-bottom: 76px;
	}

	body.nav-open {
		overflow: hidden;
	}

	.header-inner {
		padding: 0 16px;
	}

	.header-logo img {
		height: 36px;
	}

	.header-right {
		gap: 8px;
	}

	.nav-toggle {
		display: block;
		position: relative;
		z-index: 120;
	}

	.header-nav {
		position: fixed;
		top: var(--h-header);
		left: 0;
		right: 0;
		height: calc(100vh - var(--h-header));
		background: rgba(255, 255, 255, 0.98);
		padding: 24px 16px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .25s ease, visibility .25s ease;
		z-index: 110;
		overflow-y: auto;
	}

	.header-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.header-nav a {
		font-size: 18px;
		line-height: 1.6;
	}

	body.nav-open .header-nav {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	body.nav-open .nav-toggle span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	body.nav-open .nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	body.nav-open .nav-toggle span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.site-header .btn-web-yoyaku {
		position: fixed;
		bottom: 16px;
		right: 16px;
		z-index: 120;
	}

	.page-access-section {
		padding-left: 24px;
		padding-right: 24px;
	}

	.access-h2 {
		font-size: 26px;
	}

	.schedule-table th,
	.schedule-table td {
		padding: 12px 4px;
		font-size: 14px;
	}

	.schedule-table th:first-child {
		width: auto;
		min-width: 100px;
	}

	.clinic-info-list {
		padding: 24px 16px;
	}

	.clinic-info-list dl {
		flex-direction: column;
		gap: 8px;
	}

	.clinic-info-list dt {
		flex: none;

		left: 12px;
		right: 12px;
		bottom: 12px;
		z-index: 130;
		border-radius: 999px;
		padding: 14px 16px;
		font-size: 17px;
		box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
	}

	.fv-inner {
		padding: 72px 16px 32px;
	}

	.fv-catchcopy {
		font-size: 28px;
		line-height: 1.5;
	}

	.fv-subcopy {
		font-size: 15px;
		line-height: 1.8;
	}

	.intro-inner,
	.worry-list-outer,
	.dept-content,
	.features-inner,
	.access-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.dept-heading {
		padding: 56px 0 32px;
	}

	.dept-heading .section-ja {
		font-size: 30px;
	}

	.worry-item {
		width: 100%;
	}

	.worry-item span {
		font-size: 18px;
	}

	.content-heading>p {
		font-size: 22px;
		line-height: 1.5;
	}

	.note-box {
		margin: 0 16px 56px;
		padding: 24px 16px;
	}

	.note-box p {
		font-size: 16px;
		line-height: 1.8;
	}

	.site-footer {
		padding-bottom: 24px;
	}
}