/*
Theme Name: メンタルヘルスかごしま中央クリニック
Description:
Theme URI:
Author: スリーグッド鹿児島
Author URI:
Version:
License:
License URI:
*/

/* --------------------------
    variables
-------------------------- */
:root {
    --content-width: 1100px;
    --middle-width: 960px;
    --narrow-width: 800px;
    --wide-width: 1200px;
    --header-height: 140px;
    --header-height-sp: 80px;
    --topbar-height: 70px;
    --drawer-height: 70px;
    --drawer-height-sp: 50px;
    --color: #443;
    --color-beige: #d6d3aa;
    --color-beige-pale: #fffef5;
    --color-beige-light: #f9f1d2;
    --color-orange: #ef7726;
    --color-orange-pale: #ffe8d9;
    --color-orange-dull: #cf6822;
    --color-yellow-orange: #fbb03b;
    --color-red-orange: #eb3112;
    --color-lime-green: #d9e021;
    --gradient-yellow-orange: linear-gradient(to bottom, var(--color-yellow-orange), transparent);
    --gradient-lime-green: linear-gradient(to bottom, var(--color-lime-green), transparent);
    --line-height: 1.75;
    --font-size: 16px;
    --font-size-sp: 14px;
    --letter-spacing: 0.1em;
    --font-family: 'Noto Sans JP', '游ゴシック体', 'Yu Gothic', 'YuGothic', 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
    --serif-font:  'Noto Serif JP', '游明朝', 'YuMincho', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'HG明朝E', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
    --display-font: 'Forum', var(--font-family);
    --marquee-font: 'TASA Orbiter', var(--font-family);
    --font-awesome: 'Font Awesome 7 Free';
    --icon-arrow: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLnN0MCB7CiAgICAgICAg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wMDA1czAsMTU5Ljk5OTk1LDAsMTU5Ljk5OTk1WiIvPgo8L3N2Zz4=);
	--page-header-image: url(/wp-content/uploads/2026/08/mhkcc-top-slider1.webp);
}

/* --------------------------
    reset
-------------------------- */
* {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

html:has(body > #wpadminbar) {
    scroll-padding-top: var(--header-height);
}

body {
    font-feature-settings: 'palt';
    overflow-wrap: anywhere;
    line-break: strict;
	-webkit-text-size-adjust: 100%;
    font-size: var(--font-size);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
	color: var(--color);
    font-family: var(--font-family);
    font-weight: 400;
    min-height: 100vh;
	background-color: var(--color-beige-pale);
}

main {
    display: block;
}

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

input[type="image"],
video,
embed,
iframe,
marquee,
object {
    display: block;
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

table {
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

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

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

h6 {
    font-size: 0.75rem;
    font-weight: 500;
}

table {
    border-spacing: 0;
}

@media (max-width: 768px) {
    body {
        font-size: var(--font-size-sp);
    }
}

/* --------------------------
    common
-------------------------- */
.content-width {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.narrow-width {
    width: 100%;
    max-width: var(--narrow-width);
    margin: 0 auto;
}

.middle-width {
    width: 100%;
    max-width: var(--middle-width);
    margin: 0 auto;
}

.wide-width {
    width: 100%;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.section-padding {
    padding: 4em 1em;
}

.section-padding-low {
    padding: 2em 1em;
}

.section-padding-full {
    padding: 4em 0;
}

.clearfix {
    clear: both;
}

.heading {
	display: flex;
	flex-flow: column;
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1.25em, 3vw, 1.75em);
	margin-bottom: 1em;
}

.heading.center {
	text-align: center;
	align-items: center;
}

.heading:before {
	content: attr(data-text);
	font-family: var(--display-font);
	font-weight: 400;
	font-size: clamp(10px, 1.5vw, 0.625em);
	letter-spacing: 0.05em;
	color: #555;
	padding-left: 1em;
	background-image: var(--ornament1);
	background-size: 0.5em 0.5em;
	background-position: left center;
	background-repeat: no-repeat;
}

.button-wrap {
	margin-top: 2em;
}

.button-wrap.center {
	text-align: center;
}

.button-wrap.right {
	text-align: right;
}

.button {
	display: inline-block;
	border: 1px solid #aaa;
	border-radius: 1.25lh;
	padding: 0.75lh 2.5lh 0.75lh 1.5lh;
	background-color: #fff;
	font-family: var(--serif-font);
	position: relative;
	transition: all 0.2s ease;
}

.button:hover {
	border: 1px solid var(--color-orange);
	background-color: var(--color-orange);
	color: #fff;
	transition: all 0.2s ease;
}

.button:before {
	content: '';
	display: block;
	width: 1.25em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 2em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

.button:hover:before {
	background-image: var(--icon-arrow-white);
	right: 1.5em;
	transition: all 0.2s ease;	
}

.mt4 {
	margin-top: 4em;
}

.mt2 {
	margin-top: 2em;
}

.mt1 {
	margin-top: 1em;
}

.mb4 {
	margin-bottom: 4em;
}

.mb2 {
	margin-bottom: 2em;
}

.mb1 {
	margin-bottom: 1em;
}

.round {
	border-radius: 0.5em;
}

.centered-copy {
	text-align: center;
	word-break: keep-all;
	line-height: 2em;
}

.centered-copy + .centered-copy {
	margin-top: 1em;
}

.big-copy {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2vw, 1.5em);
}

.big-copy.center {
	text-align: center;
	word-break: keep-all;
}

.big-copy > span {
	display: inline-block;
	background-color: var(--color-beige-light);
	padding: 0.25em 1em;
	border-radius: 0.25em;
}

.box-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1.5em;
}

.box-list.col3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.box-list > li {
    display: flex;
    flex-flow: column;
    justify-content: center;
	height: 100%;
	padding: 2em;
	background-color: #fff;
	border-radius: 0.5em;
	border: 1px solid #aaa;
	position: relative;
}

.box-list > li[data-text] {
	padding: 4em 2em 2em 2em;
}

.box-list > li[data-text]:before {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 0.875em;
	letter-spacing: 0.05em;
	position: absolute;
	top: 2em;
	left: 2.5em;
}

.box-list > li > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.125em, 2vw, 1.25em);
	text-align: center;
	word-break: keep-all;
	color: var(--color-orange-dull);
	margin-bottom: 1em;
}

.box-list > li > p {
	font-size: 0.925em;
}

.box-list > li > small {
	display: block;
	font-size: 0.75em;
	line-height: 1.5em;
	margin-top: 1em;
}

.box-list > li > h4 {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1em, 1.75vw, 1.125em);
	text-align: center;
	color: var(--color-orange-dull);
	margin-bottom: 1em;
}

.box-list > li > ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 0.875em;
}

.box-list > li > ul > li {
	margin: 0.25em;
}

.box-list > li > ul > li:not(:has(a)) {
	padding: 0.25lh 0.75lh;
	border-radius: 1.25lh;
	background-color: var(--color-beige-light);
}

.box-list > li > ul > li > a {
	display: block;
	padding: 0.25lh 1.5lh 0.25lh 0.75lh;
	border-radius: 1.25lh;
	background-color: var(--color-beige-light);
	position: relative;
	transition: all 0.2s ease;
}

.box-list > li > ul > li > a:hover {
	background-color: var(--color-orange);
	color: #fff;
	transition: all 0.2s ease;
}

.box-list > li > ul > li > a:before {
	content: '';
	display: block;
	width: 0.75em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 0.75lh;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

.box-list > li > ul > li > a:hover:before {
	background-image: var(--icon-arrow-white);
	right: 0.5lh;
	transition: all 0.2s ease;	
}

.layout-col2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 2em;
	align-items: center;
}

figure.ratio3-2 {
	aspect-ratio: 3 / 2;
	background-color: #eee;
	border-radius: 0.5em;
	overflow: hidden;
}

figure.ratio3-2 > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	margin-bottom: 0;
}

.check-list {
	list-style-type: none;
	display: grid;
	grid-gap: 1em;
    background-color: #fff;
    padding: 2em;
	border: 1px solid var(--color-beige);
	border-radius: 0.5em;
}

.check-list.col2 {
	grid-template-columns: 1fr 1fr;
}

.check-list > li {
	padding-left: 2em;
	position: relative;
}

.check-list > li:before {
	content: '';
	display: block;
	width: 1em;
	aspect-ratio: 1 / 1;
	background-color: var(--color-beige-light);
	border-radius: 0.25em;
	position: absolute;
	top: calc((1lh - 1em) / 2);
	left: 0;
}

.check-list > li:after {
	content: '';
	display: block;
	width: 1em;
	height: 0.5em;
	border-left: 2px solid var(--color-orange);
	border-bottom: 2px solid var(--color-orange);
	position: absolute;
	top: calc((1lh - 1em) / 2);
	left: 0;
	transform: translateX(25%) rotate(-45deg);
}

.flow-list {
	list-style-type: none;
	counter-reset: count;
}

.flow-list > li + li {
	margin-top: 3em;
	position: relative;
}

.flow-list > li + li:before {
	content: '';
	display: block;
	border-top: 1em solid var(--color-orange);
	border-left: 1em solid transparent;
	border-right: 1em solid transparent;
	position: absolute;
	left: 50%;
	top: -1.5em;
	transform: translate(-50%, -50%);
}

.flow-list > li > dl {
	border: 1px solid var(--color-beige);
	background-color: #fff;
	border-radius: 0.5em;
	padding: 2em;
}

.flow-list > li > dl > dt {
	display: flex;
	flex-flow: column;
	font-family: var(--serif-font);
	font-size: clamp(1.125em, 1.5vw, 1.25em);
	font-weight: 500;
	color: var(--color-orange-dull);
	margin-bottom: 0.5em;
}

.flow-list > li > dl > dt:before {
	counter-increment: count;
	content: 'STEP'counter(count);
	align-self: flex-start;
	font-family: var(--display-font);
	font-size: 0.75em;
	background-color: var(--color-orange-pale);
	border-radius: 0.625lh;
	padding: 0.125lh 0.75lh;
	color: var(--color-orange-dull);
	margin-bottom: 0.25em;	
}

.scrollable {
	overflow-x: scroll;
	margin-bottom: 2em;
	position: relative;
}

.single-content .scrollable > table {
	margin-bottom: unset;
}

.scrollable > table {
	min-width: 768px;
	max-width: 100%;
}

.scrollable > table .center {
	text-align: center;
}

.history-list {
	list-style-type: none;
	padding-bottom: 2em;
}

.history-list > li {
	position: relative;
}

.history-list > li + li {
	margin-top: 1em;
}

.history-list > li:before {
	content: '';
	display: block;
	width: 0.5em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: var(--color-orange);
	position: absolute;
	top: 0.5lh;
	left: 9.5em;
	z-index: 1;
	transform: translate(-50%, -50%);
}

.history-list > li:after {
	content: '';
	display: block;
	height: calc(100% - 1em);
	border-left: 1px solid var(--color-beige);
	position: absolute;
	top: calc(0.5lh + 1em);
	left: 9.5em;
	transform: translateX(-50%);
}

.history-list > li > dl {
	display: grid;
	grid-template-columns: 8em auto;
	grid-gap: 3em;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2em 1em;
    }

    .section-padding-low {
        padding: 1em;
    }
    
    .section-padding-full {
        padding: 2em 0;
    }

	.mt4 {
		margin-top: 2em;
	}

	.mt2 {
		margin-top: 1em;
	}

	.mb4 {
		margin-bottom: 2em;
	}

	.mb2 {
		margin-bottom: 1em;
	}

	.box-list,
	.box-list.col3 {
		grid-template-columns: 1fr;
		grid-gap: 1em;
	}

	.layout-col2 {
		grid-template-columns: 1fr;
		grid-gap: 1em;
	}

	.check-list.col2 {
		grid-template-columns: 1fr;
	}

	.scrollable:before {
		content: 'スクロールできます';
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		padding-top: 4em;
		color: #fff;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
	}

	.scrollable:after {
		content: '\f25a';
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		font-family: var(--font-awesome);
		font-weight: 700;
		font-size: 2em;
		color: #fff;
		position: absolute;
		top: 0;
		left: 0;
		animation: scrollFinger 2s ease infinite;
		z-index: 2;
	}

	@keyframes scrollFinger {
		0% {
			transform: translateX(0.5em);
		}
		33% {
			transform: translateX(-0.5em);
		}
		66% {
			transform: translateX(-0.5em);
		}
		100% {
			transform: translateX(-0.5em);
		}
	}

	.scrollable.scrolled:before {
		display: none;
	}

	.scrollable.scrolled:after {
		display: none;
	}

	.history-list > li > dl {
		grid-template-columns: 1fr;
		grid-gap: unset;
		padding-left: 2em;
	}

	.history-list > li:before {
		top: 0.5lh;
		left: 0.5em;
	}

	.history-list > li:after {
		top: calc(0.5lh + 1em);
		left: 0.5em;
	}
}

/* --------------------------
    part author
-------------------------- */
#part-author {
	background-color: #fff;
	padding: 2em 3em;
	border-radius: 0.5em;
	border: 1px solid #aaa;
}

#part-author > h3 {
	font-family: var(--serif-font);
	font-size: clamp(1.125em, 2vw, 1.5em);
	font-weight: 400;
	text-align: center;
	color: var(--color-orange-dull);
	margin-bottom: 1em;
	position: relative;
	z-index: 1;
}

#part-author > h3:before {
	content: '';
	display: block;
	width: 100%;
	border-top: 1px solid #aaa;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: -1;
}

#part-author > h3 > span {
	display: inline-block;
	padding: 0 1em;
	background-color: #fff;
}

#part-author > div {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 3em;
}

#part-author > div > figure {
	aspect-ratio: 3 / 4;
	background-color: #eee;
	border-radius: 0.5em;
	overflow: hidden;
}

#part-author > div > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#part-author > div > div > * + * {
	margin-top: 1em;
}

#part-author > div > div > .name {
	font-family: var(--serif-font);
	font-size: clamp(1.125em, 2vw, 1.5em);
	color: var(--color-aqua-dull);
}

#part-author > div > div > .name > span {
	font-size: 0.75em;
	margin-left: 1em;
}

#part-author > div > div > ul {
	list-style-type: none;
}

#part-author > div > div > ul > li {
	padding-left: 1.25em;
	font-size: 0.875em;
	position: relative;
}

#part-author > div > div > ul > li:before {
	content: '';
	display: block;
	width: 0.5em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: var(--color-orange);
	position: absolute;
	top: calc(1lh / 2);
	left: 0;
	transform: translateY(-50%);
}

#part-author > div > div > h4 {
	font-family: var(--serif-font);
	font-weight: 400;
	color: var(--color-orange-dull);
	padding-left: 1.5em;
	position: relative;
}

#part-author > div > div > h4:before {
	content: '';
	display: block;
	width: 1em;
	border-top: 1px solid var(--color-orange);
	position: absolute;
	top: 0.5lh;
	left: 0;
}

#part-author > a {
	width: 100%;
	text-align: center;
	margin-top: 2em;
}

@media (max-width: 768px) {
	#part-author {
		padding: 1em 2em;
		margin-top: 2em;
	}

	#part-author > div {
		grid-template-columns: 1fr;
	}

	#part-author > div > figure {
		width: 75%;
		max-width: 240px;
		margin: 0 auto;
	}
}


/* --------------------------
    header
-------------------------- */
/* header */
header {
	width: 100%;
	height: var(--header-height);
	padding: 0 3rem;
	position: fixed;
	left: 0;
	z-index: 255;
}

#topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	grid-gap: 1em;
	height: var(--topbar-height);
	padding-top: 1em;
	padding-right: var(--drawer-height);
	color: #fff;
}

#topbar > h1 {
	font-size: 0.75em;
	font-weight: 400;
}

body.switched #topbar > h1 {
	color: var(--color);
}

#topbar > div > a + a {
	margin-left: 1em;
}

#topbar > div > .tel {
	font-family: var(--display-font);
	font-size: 1.5em;
	line-height: 1;
	letter-spacing: 0.05em;
}

body.switched #topbar > div > .tel {
	color: var(--color);
}

#topbar > div > .tel:before {
	content: 'tel.';
	font-size: 0.75em;
}

#topbar > div > .reserve {
	display: inline-block;
	background-color: #fff;
	padding: 0.5em 1.5em;
	border-radius: 0.5em;
	border: 1px solid #fff;
	color: var(--color-orange);
	font-size: 0.75em;
	font-weight: 600;
}

body.switched #topbar > div > .reserve {
	border: 1px solid #aaa;
}

#header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	grid-gap: 1em;
	height: calc(100% - var(--topbar-height));
}

#header-logo {
	display: inline-block;
}

#header-logo > object {
	height: 64px;
	pointer-events: none;
}

#header-menu {
	list-style-type: none;
	display: flex;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 0.5lh 1.5lh;
	border-radius: 1lh;
	white-space: nowrap;
	border: 1px solid #fff;
}

body.switched #header-menu{
	border: 1px solid #aaa;
}

#header-menu > li + li {
	margin-left: 1.5em;
}

#header-menu > li:hover > a {
	color: var(--color-orange-dull);
}

#header-menu > li > a[href="#"] {
	pointer-events: none;
}

#header-menu > li.menu-item-has-children {
	display: flex;
	align-items: center;
	position: relative;
}

#header-menu > li.menu-item-has-children:after {
	content: '';
	display: block;
	border-top: 0.25em solid var(--color);
	border-left: 0.25em solid transparent;
	border-right: 0.25em solid transparent;
	margin-left: 0.5em;
}

#header-menu > li.menu-item-has-children:hover:after {
	border-top: 0.25em solid var(--color-orange);
}

#header-menu > li.menu-item-has-children > ul {
	list-style-type: none;
	min-width: 320px;
	padding: 1em;
	border-radius: 0.5em;
	background-color: #fff;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	opacity: 0;
	pointer-events: none;
	font-size: 0.875em;
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 1;
	transform: translate(-50%, 100%);
}

#header-menu > li > ul:before {
	content: '';
	display: block;
	width: 1em;
	aspect-ratio: 1 / 1;
	background-color: #fff;
	border-radius: 0.25em 0 0 0;
	box-shadow: -0.125em -0.125em 0.25em rgba(0, 0, 0, 0.1);
	position: absolute;
	top: 0;
	left: 50%;
	transform: rotate(45deg) translateX(-50%);
}

#header-menu > li + li > ul {
	left: calc(50% + 1.875em);
}

#header-menu > li:hover > ul {
	opacity: 1;
	pointer-events: auto;
}

#header-menu > li > ul > li + li {
}

#header-menu > li > ul > li > a {
	display: block;
	padding: 0.75em 1.5em 0.75em 3em;
	border-radius: 0.5em;
	position: relative;
}

#header-menu > li > ul > li > a:before {
	content: '';
	display: block;
	width: 1.25em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 50%;
	position: absolute;
	left: 1em;
	top: 50%;
	transform: translateY(-50%);
}

#header-menu > li > ul > li > a:hover {
	background-color: var(--color-beige-light);
	color: var(--color-orange);
}

@media (max-width: 1150px) {
	header {
		height: var(--header-height-sp);
		padding: 0 1rem;
	}

	#topbar {
		display: none;
	}

	#header-content {
		height: 100%;
	}

	#header-menu {
		font-size: 0.875em;
		margin-right: var(--header-height-sp);
	}
}

@media (max-width: 960px) {
	header {
		height: var(--header-height-sp);
	}
	#header-menu {
		display: none;
	}

	#header-logo > object {
		height: 48px;
	}
}

/* drawer */
#drawer-open,
#drawer-close {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	height: var(--drawer-height);
	aspect-ratio: 1 / 1;
	background-color: var(--color-orange);
	border-radius: 0 0 0 1rem;
	appearance: none;
	outline: none;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	transition: all 0.3s ease;
}

#drawer-open:hover,
#drawer-close:hover {
	cursor: pointer;
}

#drawer-open > span,
#drawer-close > span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	height: 1px;
	background-color: #fff;
	margin: 0.75em 0;
	position: relative;
}

#drawer-open > span:before,
#drawer-close > span:before {
	display: block;
	content: '';
    width: 100%;
	height: 1px;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(-0.75em);
	transition: transform 0.2s ease;
}

#drawer-open > span:after,
#drawer-close > span:after {
	display: block;
	content: '';
    width: 100%;
	height: 1px;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(0.75em);
	transition: transform 0.2s ease;
}

body:has(#mobile-menu-wrap:popover-open) #drawer-open > span,
body:has(#mobile-menu-wrap:popover-open) #drawer-close > span {
	background-color: transparent;
	transition: background-color 0.2s ease;
}

body:has(#mobile-menu-wrap:popover-open) #drawer-open > span:before,
body:has(#mobile-menu-wrap:popover-open) #drawer-close > span:before {
    transform: translateY(0) rotate(45deg);
    transition: transform 0.2s ease;
}

body:has(#mobile-menu-wrap:popover-open) #drawer-open > span:after,
body:has(#mobile-menu-wrap:popover-open) #drawer-close > span:after {
    transform: translateY(0) rotate(-45deg);
    transition: transform 0.2s ease;
}

#mobile-menu-wrap:popover-open::backdrop {
	background-color: rgba(0, 0, 0, 0.3);
}

#mobile-menu-wrap {
	display: grid;
	grid-template-columns: auto;
	width: 100%;
	max-width: 320px;
	height: 100dvh;
	border: none;
	opacity: 0;
	background-color: var(--color-beige-pale);
	border-radius: 0.5em 0 0 0.5em;
	padding-top: var(--drawer-height);
	margin-left: auto;
	pointer-events: none;
	overflow-y: scroll;
	transform: translateX(100%);
	transition-property: transform, opacity, display;
	transition-duration: 0.2s;
	transition-behavior: normal, normal, allow-discrete;
	position: fixed;
}

#mobile-menu-wrap:popover-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
	transition-property: transform, opacity, display;
	transition-duration: 0.2s;
	transition-behavior: normal, normal, allow-discrete;
}

#mobile-menu {
	list-style-type: none;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(47, 43, 37, 0.05);
	color: var(--color);
}

#mobile-menu li > ul {
	background-color: rgba(47, 43, 37, 0.05);
}

#mobile-menu li > a {
	display: block;
	background-color: rgba(47, 43, 37, 0.05);
	padding: 1em 3em 1em 1.5em;
	position: relative;
}

#mobile-menu li > a:before {
	content: '';
	display: block;
	border-top: 0.3em solid transparent;
	border-left: 0.3em solid var(--color);
	border-bottom: 0.3em solid transparent;
	position: absolute;
	top: 50%;
	right: 1.5em;
	transform: translateY(-50%) scaleY(0.7);
}

#mobile-menu li + li {
	border-top: 1px solid rgba(247, 243, 237, 0.05);
}


@media (max-width: 1150px) {
	#drawer-open,
	#drawer-close {
		height: var(--drawer-height-sp);
		border-radius: 0 0 0 0.5rem;
	}

	#drawer-open > span:before,
	#drawer-close > span:before {
		transform: translateY(-0.375em);
	}

	#drawer-open > span:after,
	#drawer-close > span:after {
		transform: translateY(0.375em);
	}

	#mobile-menu-wrap {
		padding-top: var(--header-height-sp);
	}
}

/* --------------------------
    footer
-------------------------- */
footer > div:nth-of-type(1) {
	padding-left: 1em;
	padding-right: 1em;
}

#footer-menu {
	list-style-type: none;
	display: flex;
	justify-content: space-around;
	grid-gap: 1em;
}

#footer-menu > li > a {
	display: inline-block;
	font-family: var(--serif-font);
	font-size: 1em;
	margin-bottom: 0.5em;
}

#footer-menu > li > a[href="#"] {
	pointer-events: none;
}

#footer-menu > li > a:not([href="#"]) {
	text-decoration: underline;
}

#footer-menu > li > a:not([href="#"]):hover {
	color: var(--color-orange);
}

#footer-menu > li > ul {
	list-style-type: none;
	font-size: 0.875em;
}

#footer-menu > li > ul > li + li {
	margin-top: 0.5em;
}

#footer-menu > li > ul > li {
	padding-left: 1em;
	position: relative;
}

#footer-menu > li > ul > li:before {
	content: '';
	display: block;
	width: 0.25em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: var(--color-beige);
	position: absolute;
	top: 0.5lh;
	left: 0;
	transform: translateY(-50%);
}

#footer-menu > li > ul > li.current-menu-item > a {
	text-decoration: underline;
}

#footer-menu > li > ul > li > a:hover {
	text-decoration: underline;
	color: var(--color-orange);
}

footer > div:nth-of-type(2) {
	display: flex;
	justify-content: space-between;
	align-items: center; 
	grid-gap: 2em;
	padding-left: 1em;
	padding-right: 1em;
	border-bottom: 1px solid var(--color-beige);
}

#footer-logo {
	display: inline-block;
	max-width: 320px;
	width: 66%;
	margin-bottom: 1em;
}

footer > div:nth-of-type(2) > div:first-of-type {
	font-size: 0.75em;
}

footer > div:nth-of-type(2) > div:last-of-type {
	font-family: var(--serif-font);
	font-size: clamp(1.125em, 2.5vw, 1.5em);
}

footer > div:nth-of-type(3) {
	display: flex;
	justify-content: space-between;
	align-items: center;
	grid-gap: 2em;
}

footer > div:nth-of-type(3) {
	padding: 1em;
	font-size: 0.75em;
}

footer > div:nth-of-type(3) > ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

footer > div:nth-of-type(3) > ul > li:not(:last-of-type):after {
	content: '/';
	margin: 0 1em;
}

footer > div:nth-of-type(3) > ul > li > a:hover {
	text-decoration: underline;	
}

#copyright {
	font-family: var(--display-font);
}

@media (max-width: 768px) {
	footer {
		padding-bottom: 3em;
	}

	footer > div:nth-of-type(1) {
		display: flex;
		justify-content: center;
	}

	#footer-menu {
		flex-flow: column;
	}

	footer > div:nth-of-type(2) {
		flex-flow: column;
		grid-gap: 1em;
	}

	footer > div:nth-of-type(2) > div:first-of-type {
		text-align: center;
	}

	footer > div:nth-of-type(3) {
		flex-flow: column;
		grid-gap: 1em;
	}
}

/* fixed pageup */
#fixed-pageup {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 5em;
	height: 5em;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-radius: 0.5em 0.5em 0 0;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	background-color: var(--color-orange);
	color: #fff;
	white-space: nowrap;
	position: fixed;
	right: 4em;
	bottom: 0;
	z-index: 251;
	opacity: 0;
	transform: translateY(100%);
	transition: all 0.2s ease;
}

#fixed-pageup.show {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.2s ease;
}

#fixed-pageup:before {
	content: '';
	display: block;
	width: 1.5em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow-white);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-top: 0.5em;
	transform: rotate(-90deg);
}

#fixed-pageup > span {
	font-family: var(--display-font);
	font-size: 0.75em;
	margin-top: 0.5em;
}

@media (max-width: 768px) {
	#fixed-pageup {
		border-top: 1px solid #fff;
		border-left: 1px solid #fff;
		border-right: none;
		border-bottom: 1px solid #fff;
		border-radius: 0.5em 0 0 0.5em;
		right: 0;
		bottom: 4em;
		transform: translateX(100%);
	}

	#fixed-pageup.show {
		transform: translateX(0);
	}
}

/* fixed reservation */
#fixed-reservation {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 10em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 1px solid #fff;
	background-color: var(--color-orange);
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	line-height: 1.25;
	text-align: center;
	color: #fff;
	position: fixed;
	left: 3em;
	bottom: 3em;
	z-index: 252;
}

#fixed-reservation > i {
	display: block;
	font-size: 2.5em;
	line-height: 1;
}

#fixed-reservation > span {
	display: block;
	margin-top: 0.5em;
}

@media (max-width: 768px) {
	#fixed-reservation {
		display: none;
	}
}

/* fixed buttons */
#fixed-buttons {
	display: none;
	width: 100%;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1px;
	height: 3em;
	border-top: 1px solid #fff;
	background-color: #fff;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 253;
}

#fixed-buttons > a {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--color-orange);
	font-size: clamp(0.75em, 4vw, 0.875em);
	color: #fff;
}

@media (max-width: 768px) {
	#fixed-buttons {
		display: grid;
	}
}

/* fixed timetable */
#fixed-timetable {
	display: grid;
	grid-template-columns: 3em auto;
	background-color: #fff;
	border-radius: 0.5em 0 0 0.5em;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	position: fixed;
	right: 0;
	bottom: 3em;
	z-index: 253;
	transform: translateX(calc(100% - 3em));
	transition: transform 0.3s ease;
}

#fixed-timetable.open {
	transform: translateX(0);
}

#fixed-timetable:hover {
	transform: translateX(0);
	transition: transform 0.3s ease;
}

#fixed-timetable > span {
	writing-mode: vertical-rl;
	justify-self: center;
	align-self: center;
	padding: 1lh;
	font-weight: 700;
	color: var(--color-orange);
}

#fixed-timetable > div {
	padding: 2em;
}

.timetable {
	width: 100%;
	font-size: clamp(10px, 1.5vw, 0.875em);
}

.timetable > tbody > tr > * {
	border-top: 1px solid var(--color);
}

.timetable th,
.timetable td {
	padding: 0.5em 1em;
	font-weight: 400;
	text-align: center;
}

.timetable td.orange {
	color: var(--color-orange);
}

.timetable + p {
	font-size: 0.75em;
}

@media (max-width: 1150px) {
	#fixed-timetable {
		top: calc(100vw - 3em);
		bottom: unset;
		transform: translate(calc(100% - 3em), -100%);
	}

	#fixed-timetable.open,
	#fixed-timetable:hover {
		top: calc(100vw - 3em);
		bottom: unset;
		transform: translate(0, -100%);
	}
}

@media(max-width:768px) {
	#fixed-timetable {
		display: none;
	}
}

/* part contact */
#part-contact {
	padding: 1em;
}

#part-contact > div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 2em;
	align-items: center;
	border-radius: clamp(0.5em, 2vw, 1em);
	background-color: var(--color-beige-light);
	padding: 4em;
}

#part-contact > div > h2 {
	display: flex;
	flex-flow: column-reverse;
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1em, 2.5vw, 1.5em);
	line-height: 1.25;
}

#part-contact > div > h2:after {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 2.5em;
}

#part-contact > div > div {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 2em;
}

#part-contact > div > div > div > h3 {
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(10px, 1.5vw, 1em);
	letter-spacing: 0.05em;
	color: #555;
	padding-left: 1em;
	background-image: var(--ornament1);
	background-size: 0.5em 0.5em;
	background-position: left center;
	background-repeat: no-repeat;
	margin-bottom: 1em;
}

#part-contact > div > div > div > .tel {
	font-family: var(--display-font);
	font-size: clamp(1.5em, 4vw, 3em);
	line-height: 1;
	letter-spacing: 0.05em;
}

#part-contact > div > div > div > .tel:before {
	content: 'tel.';
	font-size: 0.75em;
}

#part-contact > div > div > .reserve {
	display: block;
	background-color: #fff;
	border: 1px solid #aaa;
	padding: 1em 3em 1em 2em;
	border-radius: 0.5em;
	text-align: center;
	align-self: center;
	font-family: var(--serif-font);
	font-size: clamp(0.875em, 2vw, 1.25em);
	position: relative;
}

#part-contact > div > div > .reserve:before {
	content: '';
	display: block;
	width: 1em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

@media (max-width: 768px) {
	#part-contact > div {
		grid-template-columns: 1fr;
		grid-gap: 1em;
		padding: 1em 2em;
	}

	#part-contact > div > div {
		grid-template-columns: 1fr;
		grid-gap: 1em;
	}

	#part-contact > div > h2 {
		align-items: center;
	}

	#part-contact > div > div > div:first-of-type {
		justify-self: center;
	}

	#part-contact > div > div > div > .tel {
		font-size: clamp(1.5em, 8vw, 3em);
	}
}

#part-access {
	padding: 0 1em 1em 1em;
}

#part-access > div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-radius: clamp(0.5em, 2vw, 1em);
	overflow: hidden;
	background-color: #fff;
}

#part-access > div > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	grid-gap: 1em;
	align-items: center;
	padding: 3em;
}

#part-access > div > div > .logo {
	width: 100%;
	max-width: 320px;
}

#part-access > div > div > .tel {
	font-family: var(--display-font);
	font-size: clamp(1.25em, 2.5vw, 2em);
	line-height: 1;
	letter-spacing: 0.05em;
}

#part-access > div > div > .tel:before {
	content: 'tel.';
	font-size: 0.75em;
}

#part-access > div > figure {
	width: 100%;
	height: 100%;
	background-color: #eee;
	overflow: hidden;
}

#part-access > div > figure > iframe {
	width: 100%;
	height: calc(100% + 400px);
	transform: translateY(-200px);
}

#part-access > div > div > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	grid-gap: 1em;
	font-size: 0.75em;
}

#part-access > div > div > div > a {
	display: block;
	padding: 0.25lh 1lh;
	border-radius: 0.75lh;
	border: 1px solid #aaa;
	white-space: nowrap;
}

#part-access-timetable.timetable {
	font-size: clamp(10px, 1vw, 0.875em);
}

@media (max-width: 768px) {
	#part-access > div {
		grid-template-columns: 1fr;
	}

	#part-access > div > div {
		order: 2;
	}

	#part-access > div > figure {
		aspect-ratio: 1 / 1;
	}

	#part-access-timetable.timetable {
		font-size: clamp(10px, 1.5vw, 0.875em);
	}
}

#part-banner > div {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1em;
	border-bottom: 1px solid var(--color-beige);
}

#part-banner > div > a {
	display: block;
	aspect-ratio: 3 / 1;
	background-color: #eee;
	border-radius: 0.25em;
	overflow: hidden;
}

#part-banner > div > a > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 768px) {
	#part-banner {
		width: 80%;
		max-width: 480px;
		margin: 0 auto;
	}

	#part-banner > div {
		grid-template-columns: 1fr;
		grid-gap: 0.5em;
	}
}

/* --------------------------
    page
-------------------------- */
#page-header {
	min-height: calc(200px + var(--header-height));
	padding: 1em;
}

#page-header > div {
	min-height: calc(200px + var(--header-height) - 2em);
	background-color: #eee;
	border-radius: clamp(0.5em, 2vw, 1em);
	overflow: hidden;
	padding-top: var(--header-height);
	padding-left: 2em;
	padding-right: 2em;
	position: relative;
}

#page-header > div:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-image: var(--page-header-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: brightness(0.85) blur(0.25em);
	position: absolute;
	top: 0;
	left: 0;
	transform: scale(1.05);
}

#page-header > div > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	min-height: 200px;
	color: #fff;
	position: relative;
	z-index: 1;
}

#page-header > div > div > h2 {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.5em, 3vw, 2.25em);
	line-height: 1.25;
}

#breadcrumb {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	font-size: clamp(0.875em, 1.5vw, 1em);
	margin-top: 1em;
}

#breadcrumb > li {
	margin-right: 0.5em;
	position: relative;
}

#breadcrumb > li + li {
	padding-left: 1.5em;
}

#breadcrumb > li + li:before {
	content: '';
	display: block;
	width: 1em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow-white);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	position: absolute;
	top: calc((1lh - 1em) / 2);
	left: 0;
}

@media (max-width: 1150px) {
	#page-header {
		min-height: calc(150px + var(--header-height-sp));
		padding: 0.5em;
	}

	#page-header > div {
		min-height: calc(150px + var(--header-height-sp) - 2em);
		padding-top: calc(var(--header-height-sp) - 30px);
	}

	#page-header > div > div {
		min-height: 150px;
	}
}


/* --------------------------
    archive
-------------------------- */
/* archive */
.archive-list {
    list-style-type: none;
}

.archive-list > li {
    padding: 1rem 0;
}

.archive-list > li:first-of-type {
    padding-top: 0;
}

.archive-list > li + li {
    border-top: 1px solid #ddd;
}

.archive-list > li > a {
    display: block;
}

.archive-list > li > a > article {
    display: grid;
    grid-template-columns: 3fr 7fr;
    grid-gap: 2em;
    align-items: center;
}

.archive-list > li > a > article > .thumb {
    aspect-ratio: 3 / 2;
    background-color: #eee;
	border-radius: 0.5em;
	overflow: hidden;
    position: relative;
}

.archive-list > li > a > article > .thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.archive-list > li > a > article > .info {
    width: calc(70% - 2em);
}

.archive-list > li > a > article > .info > time {
    display: block;
	font-family: var(--display-font);
    font-size: 1em;
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > .category {
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > .category > span {
    display: inline-block;
    font-size: 10px;
    padding: 0.25em 0.75em;
    margin: 0 0.5em 0.5em 0;
	border-radius: 0.5em;
    background-color: #fff;
    color: var(--color);
    border: 1px solid #aaa;
}

.archive-list > li > a > article > .info > h3 {
	font-family: var(--serif-font);
    font-size: 1.125em;
	font-weight: 400;
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > p {
    font-size: 0.875em;
    margin-top: 1em;
}

@media (max-width: 768px) {
    .archive-list > li > a > article {
        grid-template-columns: 1fr;
        grid-gap: 1em;
    }
    
    .archive-list > li > a > article > .info {
        width: 100%;
    }
    
    .archive-list > li > a > article > .thumb {
        width: 100%;
    }
}

/* archive pagination */
#pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#pagination > * {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    letter-spacing: 0;
    min-width: 3em;
    height: 3em;
    background: #fff;
	border: 1px solid #aaa;
	border-radius: 0.5em;
	font-family: var(--display-font);
    color: var(--color);
    margin: 0 0.5em;
    transition: all 0.3s ease;
}

#pagination > span,
#pagination > a:hover {
    background: var(--color-orange);
	border: 1px solid var(--color-orange);
    color: #fff;
    transition: all 0.3s ease;
}


/* --------------------------
    single
-------------------------- */
/* single */
#single-date {
    display: block;
	font-family: var(--display-font);
    font-size: 1.25em;
    margin-bottom: 2em;
}

.single-content *:not(.plain):not(h1, h2, h3, h4, h5, h6) + *:not(.plain):is(h1, h2, h3, h4, h5, h6) {
	margin-top: 3em;
}

.single-content h1:not(.plain),
.single-content h2:not(.plain) {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.375em, 3vw, 2em);
	padding-bottom: 0.5em;
    margin-bottom: 1em;
	line-height: 1.5em;
	position: relative;
}

.single-content h1:not(.plain):before,
.single-content h2:not(.plain):before {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(to right, var(--color-orange), var(--color-yellow-orange));
	position: absolute;
	left: 0;
	bottom: 0;
}

.single-content h3:not(.plain) {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2.5vw, 1.5em);
	padding-left: 1em;
    margin-bottom: 1em;
	position: relative;
}

.single-content h3:not(.plain):before {
	content: '';
	display: block;
	width: 3px;
	height: 100%;
	border-radius: 1.5px;
	background: linear-gradient(to bottom, var(--color-orange), var(--color-yellow-orange));
	position: absolute;
	top: 0;
	left: 0;
}

.single-content h4:not(.plain) {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.125em, 2vw, 1.25em);
	padding-left: 1.5em;
    margin-bottom: 1em;
	position: relative;
}

.single-content h4:not(.plain):before {
	content: '';
	display: block;
	width: 1em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--color-orange), var(--color-yellow-orange));
	position: absolute;
	top: calc((1lh - 1em) / 2);
	left: 0;
}

.single-content h5:not(.plain) {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1em, 2vw, 1.125em);
	padding-left: 1.5em;
    margin-bottom: 1em;
	position: relative;
}

.single-content h5:not(.plain):before {
	content: '';
	display: block;
	width: 1em;
	height: 2px;
	border-radius: 1px;
	background: linear-gradient(to right, var(--color-orange), var(--color-yellow-orange));
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.single-content h6:not(.plain) {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1em, 1.5vw, 1.125em);
	border-left: 1px solid var(--color-orange);
	padding-left: 1em;
    margin-bottom: 1em;
}

.single-content hr:not(.plain) {
    display: block;
    border: none;
    border-top: 2px solid #bbb;
    margin: 4em 0;
}

.single-content ul:not(.plain) {
    background-color: #fff;
    padding: 2em 2em 2em 3em;
    margin-bottom: 2em;
	border: 1px solid var(--color-beige);
	border-radius: 0.5em;
}

.single-content ol:not(.plain) {
    background-color: #fff;
    padding: 2em 2em 2em 3em;
    margin-bottom: 2em;
	border: 1px solid var(--color-beige);
	border-radius: 0.5em;
}

.single-content ul:not(.plain) > li + li,
.single-content ol:not(.plain) > li + li {
    margin-top: 0.5em;
}

.single-content blockquote:not(.plain) {
    background-color: #fff;
    padding: 2em;
    margin-bottom: 2em;
	border: 1px solid var(--color-beige);
	border-radius: 0.5em;
}

.single-content p:not(.plain) {
    text-align: justify;
    margin-bottom: 1em;
}

.single-content dl:not(.plain) {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3em;
	border-radius: 0.5em;
	border: 1px solid var(--color-beige);
	overflow: hidden;
}

.single-content dl:not(.plain) > dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    background-color: var(--color-beige-light);
    padding: 1em 2em;
	font-family: var(--serif-font);
    font-weight: 500;
}

.single-content dl:not(.plain) > dd {
    width: 70%;
    background-color: #fff;
    padding: 1em 2em;
}

.single-content dl:not(.plain) > dt:not(:last-of-type),
.single-content dl:not(.plain) > dd:not(:last-of-type) {
	border-bottom: 1px solid var(--color-beige);
}

.single-content table:not(.plain) {
	border: 1px solid #aaa;
	border-radius: 0.5em;
	margin-bottom: 2em;
	overflow: hidden;
}

.scrollable > table:not(.plain) {
	margin-bottom: unset;
}

.single-content table:not(.plain) th {
	padding: 1em 2em;
	background-color: var(--color-beige-light);
	font-family: var(--serif-font);
	font-weight: 400;
}

.single-content table:not(.plain) td {
	padding: 1em 2em;
	background-color: #fff;
}

.single-content table:not(.plain) .center {
	text-align: center;
}

.single-content table:not(.plain) thead > tr > *:is(th, td) {
	border-bottom: 1px solid #aaa;
}

.single-content table:not(.plain) thead > tr > *:is(th, td):not(:last-child)  {
	border-right: 1px solid #aaa;
}

.single-content table:not(.plain) tbody > tr:not(:last-of-type) > *:is(th, td) {
	border-bottom: 1px solid #aaa;
}

.single-content table:not(.plain) tbody > tr > *:is(th, td):not(:last-child) {
	border-right: 1px solid #aaa;
}

.single-content img:not(.plain) {
    height: auto;
    margin-bottom: 2em;
}

.single-content img:not(.plain).alignleft,
.single-content figure:not(.plain).alignleft {
    float: left;
    margin: 0 2em 2em 0;
}

.single-content img:not(.plain).alignright,
.single-content figure:not(.plain).alignright {
    float: right;
    margin: 0 0 2em 2em;
}

.single-content img:not(.plain).aligncenter,
.single-content figure:not(.plain).aligncenter {
    margin: 0 auto 2em auto;
}

.single-content a:not(.plain) {
    text-decoration: underline;
	color: var(--color-orange);
}

.single-content a:not(.plain):hover {
    opacity: 0.7;
	text-decoration: unset;
}

.single-content a:not(.plain)[target="_blank"]:after {
	content: ' \f2d2';
	font-family: var(--font-awesome);
	font-size: 0.75em;
	vertical-align: baseline;
}

.single-content small:not(.plain) {
    font-size: 0.75em;
}

.single-content strong:not(.plain) {
    font-family: var(--serif-font);
	font-weight: 500;
	color: var(--color-red-orange);
}

.single-content mark:not(.plain) {
    background: linear-gradient(to top, var(--color-beige-light) 50%, transparent 50%);
}

@media (max-width: 768px) {
	.single-content h1:not(.plain),
	.single-content h2:not(.plain) {
	}
	
	.single-content h3:not(.plain) {
	}
	
	.single-content hr:not(.plain) {
		margin: 2em 0;
	}

	.single-content ul:not(.plain) {
		padding: 1em 1em 1em 2em;
	}
	
	.single-content ol:not(.plain) {
		padding: 1em 1em 1em 3em;
	}
	
	.single-content blockquote:not(.plain) {
		padding: 1em;
	}
	
	.single-content dl:not(.plain) {
		flex-flow: column;
	}
	
	.single-content dl:not(.plain) > dt {
		width: 100%;
		padding: 1em;
	}
	
	.single-content dl:not(.plain) > dd {
		width: 100%;
		padding: 1em;
	}

	.single-content img.aligncenter:not(.plain),
	.single-content img.alignleft:not(.plain),
	.single-content img.alignright:not(.plain),
	.single-content figure.aligncenter:not(.plain),
	.single-content figure.alignleft:not(.plain),
	.single-content figure.alignright:not(.plain) {
		float: none;
		margin: 0 auto 2em auto;
	}
}

/* single pagination */
#single-pagination {
    list-style-type: none;
    display: flex;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 1rem 0;
    margin-top: 2rem;
}

#single-pagination > li {
    width: 50%;
}

#single-pagination > li + li {
    border-left: 2px solid #ddd;
}

#single-pagination > li > a {
    display: block;
    color: var(--color);
    padding: 1rem 3rem;
    position: relative;
}

#single-pagination > li:first-of-type > a:before {
    content: '';
    display: block;
    border-top: 0.3rem solid transparent;
    border-left: 0.3rem solid transparent;
    border-right: 0.3rem solid var(--color);
    border-bottom: 0.3rem solid transparent;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#single-pagination > li:last-of-type > a:before {
    content: '';
    display: block;
    border-top: 0.3rem solid transparent;
    border-left: 0.3rem solid var(--color);
    border-right: 0.3rem solid transparent;
    border-bottom: 0.3rem solid transparent;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    #single-pagination {
        flex-flow: column;
        padding: 0;
    }

    #single-pagination > li {
        width: 100%;
    }

    #single-pagination > li + li {
        border-left: none;
    }

    #single-pagination > li:first-of-type:empty {
        border-top: 2px solid #ddd;
    }
}

/* --------------------------
    top
-------------------------- */
#top-main-banner {
	padding: 1em;
	position: relative;
}

#top-main-slider {
	border-radius: clamp(0.5em, 3vw, 1em);
	overflow: hidden;
}

#top-main-slider .swiper-slide {
	width: calc(100vw - 2em);
	height: calc(100vh - 2em);
	min-height: 480px;
	background-color: #eee;
}

#top-main-slider .swiper-slide > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(0.95);
}

#top-main-banner > h2 {
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 6vw, 3em);
	font-weight: 400;
	line-height: 1.5;
	text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.1), 0 0 0.1em rgba(0, 0, 0, 0.2);
	color: #fff;
	position: absolute;
	top: calc(50% - (var(--header-height) / 2));
	left: calc(1rem + 1em);
	z-index: 1;
	transform: translateY(-50%);
}

@media (max-width: 1150px) {
	#top-main-banner {
		padding: 0.5em;
	}

	#top-main-slider .swiper-slide {
		width: calc(100vw - 2em);
		height: calc(100vw - 2em);
	}
}

@media (max-width: 768px) {
	#top-main-slider {
		aspect-ratio: 1 / 1;
	}

	#top-main-banner > h2 {
		font-size: clamp(1.25em, 5vw, 2.5em);
		top: 50%;
	}
}

#top-important-wrap {
	display: grid;
	grid-template-columns: 10em auto;
	grid-gap: 1em;
	padding: 0.5lh 1lh;
	background-color: #fff;
	border-radius: 1lh;
	border: 1px solid #aaa;
	transition: all 0.3s ease;
}

#top-important-wrap:hover {
	background-color: var(--color-orange-pale);
	transition: all 0.3s ease;
}


#top-important-wrap > h2 {
	width: 9em;
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: 1em;
	border-right: 1px solid #aaa;
	white-space: nowrap;
}

#top-important-wrap > a {
	display: grid;
	grid-template-columns: 7em auto;
	grid-gap: 1em;
	align-items: center;
	padding-right: 2em;
	position: relative;
}

#top-important-wrap > a:before {
	content: '';
	display: block;
	width: 1em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

#top-important-wrap > a:hover:before {
	right: 0.5em;
	transition: all 0.3s ease;
}

#top-important-wrap > a > time {
	font-family: var(--display-font);
	font-size: 1.125em;
}

#top-important-wrap > a > h3 {
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: 1em;
}

#top-important-wrap > a:hover > h3 {
	text-decoration: underline;
}

@media (max-width: 768px) {
	#top-important-wrap {
		grid-template-columns: 1fr;
		padding: 0.5lh 1lh;
		border-radius: 0.5lh;
	}

	#top-important-wrap > h2 {
		width: unset;
		border-right: unset;
		padding-bottom: 0.5em;
		border-bottom: 1px solid #aaa;
	}

	#top-important-wrap > a {
		grid-template-columns: 1fr;
		grid-gap: 0;
	}

	
}

#clippath {
	position: absolute;
	pointer-events: none;
	opacity: 0;
}

#top-about > div > svg {
	width: calc(100% + 4em);
	transform: translateX(-4em);
}

#top-about > div {
	display: grid;
	grid-template-columns: 2fr 3fr;
	align-items: center;
}

#top-about > div > div {
	padding: 2em 4em;
}

@media (max-width: 768px) {
	#top-about > div {
		grid-template-columns: 1fr;
	}

	#top-about > div > svg {
		width: calc(100% - 2em);
		transform: translateX(1em);
	}

	#top-about > div > div {
		padding: 2em;
	}
}

#top-marquee {
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	font-family: var(--marquee-font);
	font-weight: 400;
	padding: 0.25em 0;
	font-size: clamp(1.5em, 10vw, 6em);
	letter-spacing: 0;
	color: #ccc;
}

#top-marquee > div {
	display: inline-block;
	white-space: nowrap;
	animation: marquee 30s linear infinite;
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 768px) {
	#top-marquee {
		font-size: clamp(1.5em, 10vw, 3em);
	}
}

#top-contents1 > div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 2em;
	align-items: center;
}

#top-contents1 > div > div:last-of-type > p {
    font-size: 0.875em;
    margin-top: 1em;
}

.outpatient-doctor-table {
	border: 1px solid #aaa;
	border-radius: 0.5em;
	background-color: #fff;
	overflow: hidden;
	font-size: clamp(10px, 1.5vw, 0.875em);
	margin: 0 auto;
}

.outpatient-doctor-table th {
	background-color: var(--color-beige-light);
	font-weight: 400;
}

.outpatient-doctor-table *:is(th, td) {
	padding: 0.5em 1em;
	text-align: center;
}

.outpatient-doctor-table > tbody > tr > *:is(th, td) {
	border-top: 1px solid #aaa;
}

.outpatient-doctor-table *:is(th, td):not(:last-of-type),
.outpatient-doctor-table .border-right {
	border-right: 1px solid #aaa;
}

@media (max-width: 768px) {
	#top-contents1 > div {
		grid-template-columns: 1fr;
	}

	.outpatient-doctor-table {
		font-size: clamp(10px, 3vw, 0.875em);
	}
}

/* calendar */
.calendar-wrap {
	max-width: 380px;
	min-width: 320px;
	width: 100%;
	margin: 0 auto;
}

.calendar-wrap > .calendar-controls {
	display: grid;
	grid-template-columns: 2em auto 2em;
	grid-gap: 0.5em;
	padding: 0.5em;
	background-color: #f5f5f5;
}

.calendar-wrap > .calendar-controls > button {
	border: none;
	outline: none;
	appearance: none;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: #ccc;
	border-radius: 0.25em;
	color: #fff;
}

.calendar-wrap > .calendar-controls > button:hover {
	cursor: pointer;
}

.calendar-wrap > .calendar-controls > select {
	border: 1px solid #aaa;
	background-color: #fff;
	border-radius: unset;
	appearance: none;
	outline: none;
	padding: 0 1em;
}

.calendar-wrap > .calendar-controls > select:hover {
	cursor: pointer;
}

.calendar-wrap > .calendar {
	background-color: #fff;
	padding: 0 0.5em 0.5em 0.5em;
}

.calendar-wrap > .calendar > .row {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-gap: 2px;
}

.calendar-wrap > .calendar > .row + .row {
	margin-top: 2px;
}

.calendar-wrap > .calendar > .row > span {
	display: flex;
	aspect-ratio: 1 / 1;
	justify-content: center;
	align-items: center;
	letter-spacing: 0;
}

.calendar-wrap > .calendar > .row > span.is-disabled {
	background-color: #f5f5f5;
}

.legend-list {
	list-style-type: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 1em;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: 0.75em;
}

.legend-list > li {
	display: flex;
	align-items: center;
	margin: 0.5em;
}

.legend-list > li > span {
	display: block;
	width: 2.5em;
	aspect-ratio: 1 / 1;
	border: 1px solid #888;
	margin-right: 0.5em;
}

@media (max-width: 768px) {
	.calendar-wrap {
		font-size: clamp(0.75em, 3vw, 1em);
	}

	#top-contents2 > div {
		grid-template-columns: 1fr;
	}
}

#top-contents2 > div {
	display: flex;
	grid-gap: 2em;
	align-items: center;
}

#top-contents2-slider {
	width: calc(50% - 1em);
	position: relative;
}

#top-contents2-slider .swiper-slide {
	aspect-ratio: 2 / 1;
	background-color: #eee;
	border-radius: 0 25vw 25vw 0;
	overflow: hidden;
}

#top-contents2-slider .swiper-slide > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#top-contents2-slider {
	width: 50%;
}

#top-contents2-slider .swiper-pagination {
	bottom: -2em;
}

#top-contents2-slider .swiper-pagination-bullet-active {
	background-color: #888;
}

#top-contents2-list {
	list-style-type: none;
	width: 50%;
	padding: 0 2em;
}

#top-contents2-list > li + li {
	margin-top: 0.5em;
}

#top-contents2-list > li > a {
	display: block;
	padding: 1em 3em 1em 2em;
	border-radius: 0.5em;
	border: 1px solid transparent;
	position: relative;
	transition: all 0.2s ease;
}

#top-contents2-list > li > a:before {
	content: '';
	display: block;
	width: 1.25em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 2em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

#top-contents2-list > li.active > a {
	display: block;
	background-color: #fff;
	border: 1px solid #aaa;
	transition: all 0.2s ease;
}

#top-contents2-list > li > a:hover {
	display: block;
	background-color: var(--color-orange-pale);
	border: 1px solid #aaa;
	transition: all 0.2s ease;
}

#top-contents2-list > li > a > h3 {
	display: flex;
	flex-flow: column;
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1em, 2vw, 1.25em);
}

#top-contents2-list > li > a > h3:before {
	content: attr(data-text);
	font-family: var(--display-font);
	font-weight: 400;
	font-size: clamp(10px, 1.5vw, 0.625em);
	letter-spacing: 0.05em;
	color: #555;
	padding-left: 1em;
	background-image: var(--ornament1);
	background-size: 0.5em 0.5em;
	background-position: left center;
	background-repeat: no-repeat;
}

@media (max-width: 768px) {
	#top-contents2 > div {
		flex-flow: column;
	}

	#top-contents2-slider {
		width: calc(100% - 1em);
		margin-right: auto;
	}

	#top-contents2-list {
		width: 100%;
		margin-top: 1em;
		padding: 0 1em;
	}
}

#top-symptoms {
	position: relative;
	z-index: 1;
}

#top-symptoms:before {
	content: '';
	display: block;
	width: 100%;
	height: 25vw;
	background: var(--gradient-yellow-orange);
	opacity: 0.5;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
}

#top-symptoms:after {
	content: '';
	display: block;
	width: 100vw;
	aspect-ratio: 12 / 1;
	background-image: var(--ornament2);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

#top-symptoms {
	padding-top: 12.5vw;
}

#top-symptoms-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1em;
}

#top-symptoms-wrap > dl {
	padding: 2em;
	border-radius: 1em;
	border: 1px solid #aaa;
	background-color: #fff;
}

#top-symptoms-wrap > dl > dt {
	margin-bottom: 1em;
	position: relative;
	z-index: 1;
}

#top-symptoms-wrap > dl > dt:before {
	content: '';
	display: block;
	width: 100%;
	border-top: 1px solid #aaa;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: -1;
}

#top-symptoms-wrap > dl > dt > span {
	font-family: var(--serif-font);
	background-color: #fff;
	padding-right: 1em;
}

#top-symptoms-wrap > dl > dt > span > i {
	display: inline-grid;
	justify-content: center;
	align-items: center;
	width: 2em;
	aspect-ratio: 1 / 1;
	background-color: var(--color-orange);
	border-radius: 50%;
	margin-right: 0.5em;
	font-size: 1.5em;
	letter-spacing: 0;
	color: #fff;
}

#top-symptoms-wrap > dl > dd > ul {
	list-style-type: none;
	font-size: 0.875em;
}

#top-symptoms-wrap > dl > dd > ul > li + li {
	margin-top: 0.5em;
}

#top-symptoms-wrap > dl > dd > ul > li > a {
	display: block;
	padding: 0.5lh 2lh 0.5lh 1lh;
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 1lh;
	position: relative;
	transition: all 0.2s ease;
}

#top-symptoms-wrap > dl > dd > ul > li > a:hover {
	background-color: var(--color-orange-pale);
	transition: all 0.2s ease;
}

#top-symptoms-wrap > dl > dd > ul > li > a:before {
	content: '';
	display: block;
	width: 1.25em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

#top-symptoms-wrap > dl > dd > ul > li > a:hover:before {
	right: 1em;
	transition: all 0.2s ease;
}

@media (max-width: 768px) {
	#top-symptoms-wrap {
		grid-template-columns: 1fr;
	}
}

#top-treatable-desease-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1em;
	font-size: 0.875em;
}

#top-treatable-desease-list > li > a {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 1em;
	align-items: center;
	aspect-ratio: 3 / 1;
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 0.5em;
	padding: 1em 2em 1em 1em;
	position: relative;
	transition: all 0.2s ease;
}
#top-treatable-desease-list > li > a:hover {
	background-color: var(--color-orange-pale);
	transition: all 0.2s ease;
}

#top-treatable-desease-list > li > a:before {
	content: '';
	display: block;
	width: 1.25em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

#top-treatable-desease-list > li > a:hover:before {
	right: 1em;
	transition: all 0.2s ease;
}

#top-treatable-desease-list > li > a > figure {
	aspect-ratio: 1 / 1;
}

#top-treatable-desease-list > li > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 1150px) {
	#top-treatable-desease-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	#top-treatable-desease-list {
		grid-template-columns: 1fr;
	}
}

#top-features {
	padding-top: 12.5vw;
	position: relative;
}

#top-features:before {
	content: '';
	display: block;
	width: 100%;
	height: 25vw;
	background: var(--gradient-yellow-orange);
	opacity: 0.5;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
}

#top-features:after {
	content: '';
	display: block;
	width: 100vw;
	aspect-ratio: 12 / 1;
	background-image: var(--ornament2);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% 100%;
	transform: scaleX(-1);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

#top-features > div {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: 2em;
}

#top-features > div > h2 {
	justify-self: center;
	display: flex;
	flex-flow: column-reverse;
	writing-mode: vertical-rl;
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1em, 2.5vw, 1.5em);
}

#top-features > div > h2:before {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 2.5em;
	color: #aaa;
}

#top-feature-list {
	list-style-type: none;
}

#top-feature-list > li + li {
	margin-top: 1em;
}

#top-feature-list > li {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: 2em;
	align-items: center;
}

#top-feature-list > li > figure {
	width: 100%;
	aspect-ratio: 3 / 2;
	background-color: #eee;
	border-radius: clamp(0.5em, 1.5vw, 1em);
	overflow: hidden;
}

#top-feature-list > li > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#top-feature-list > li > div > h3 {
	display: flex;
	align-items: center;
	grid-gap: 0.5em;
	font-family: var(--serif-font);
	font-weight: 400;
	color: var(--color-orange);
	margin-bottom: 0.5em;
}

#top-feature-list > li > div > h3 > i {
	color: var(--color-orange);
	font-size: 1.5em;
}

@media (max-width: 768px) {
	#top-features > div {
		grid-template-columns: 1fr;
	}

	#top-features > div > h2 {
		flex-flow: column;
		writing-mode: horizontal-tb;
		justify-content: center;
		align-items: center;
	}

	#top-feature-list > li {
		grid-template-columns: 1fr;
		grid-gap: 1em;
		max-width: 480px;
		width: 80%;
		margin: 0 auto;
	}

	#top-feature-list > li + li {
		margin-top: 2em;
	}
}

#top-images {
	overflow: clip;
	padding: 2em 0;
}

#top-images-slider > .swiper-wrapper {
	transition-timing-function: linear;
}

#top-images-slider .swiper-slide {
	aspect-ratio: 3 / 2;
	background-color: #eee;
	overflow: hidden;
	border-radius: 0.5em;
}

#top-images-slider .swiper-slide > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#top-images-slider > .swiper-wrapper > .swiper-slide:nth-of-type(odd) {
	transform: translateY(-2em);
}

#top-images-slider > .swiper-wrapper > .swiper-slide:nth-of-type(even) {
	transform: translateY(2em);
}

.faq-list {
	list-style-type: none;
	counter-reset: count;
}

.faq-list > li {
	border: 1px solid #aaa;
	background-color: #fff;
	border-radius: 0.5em;
}

.faq-list > li + li {
	margin-top: 0.5em;
}

.faq-list > li > label > input {
	display: none;
}

.faq-list > li > label:has(input[type=checkbox]:checked) + p {
	height: auto;
	padding: 0 2em 1em 5em;
	transition: all 0.2s ease;
}

.faq-list > li > p {
	height: 0;
	padding: 0 2em 0 5em;
	overflow: hidden;
	position: relative;
	transition: all 0.2s ease;
}

.faq-list > li > p:before {
	content: 'A';
	font-family: var(--display-font);
	font-weight: 600;
	color: var(--color-beige-dull);
	position: absolute;
	top: 0;
	left: 2em;
}

.faq-list > li > label {
	display: block;
	padding: 1em 5em;
	position: relative;
}

.faq-list > li > label:hover {
	text-decoration: underline;
	cursor: pointer;
}

.faq-list > li > label:before {
	counter-increment: count;
	content: 'Q'counter(count);
	font-family: var(--display-font);
	font-weight: 600;
	color: var(--color-beige-dull);
	position: absolute;
	top: 1em;
	left: 2em;
}

.faq-list > li > label:after {
	content: '';
	display: block;
	width: 1em;
	aspect-ratio: 1 / 1;
	background-image: var(--icon-plus);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
}

.faq-list > li > label:has(input[type=checkbox]:checked):after {
	background-image: var(--icon-minus);
}

#top-news > div {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-template-rows: auto auto auto;
	grid-gap: 0 2em;
}

#top-news > div > .button {
	justify-self: flex-start;
}

#top-news-list {
	grid-column: 2;
	grid-row: 1 / span 3;
	list-style-type: none;
}

#top-news-list > li + li {
	margin-top: 0.5em;
}

#top-news-list > li > a {
	display: grid;
	grid-template-columns: 7em auto;
	grid-gap: 1em;
	align-items: center;
	padding: 1em 4em 1em 2em;
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 0.5em;
	position: relative;
}

#top-news-list > li > a:before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    background-image: var(--icon-arrow);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 1.5em;
	transform: translateY(-50%);
}

#top-news-list > li > a > time {
	width: 7em;
	font-family: var(--display-font);
	color: var(--color-beige-dull);
	margin-right: 1em;
}

#top-news-list > li > a > h3 {
	font-size: 1em;
	font-weight: 400;
}

#top-news-list > li > a:hover > h3 {
	text-decoration: underline;
}

@media (max-width: 768px) {
	#top-news > div {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		justify-content: center;
	}

	#top-news-list {
		grid-column: unset;
		grid-row: unset;
		margin-bottom: 1em;
	}

	#top-news-list > li > a {
		grid-gap: 0.5em;
		padding: 0.5em 4em 0.5em 1em;
	}

	#top-news-list > li > a > h3 {
		grid-column: 1 / span 3;
		grid-row: 2;
	}

	#top-news > div > .button {
		justify-self: center;
	}
}

#top-column {
	padding-top: 12.5vw;
	overflow-x: clip;
	position: relative;
	z-index: 1;
}

#top-column:before {
	content: '';
	display: block;
	width: 100%;
	height: 25vw;
	background: var(--gradient-lime-green);
	opacity: 0.5;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
}

#top-column:after {
	content: '';
	display: block;
	width: 100vw;
	aspect-ratio: 12 / 1;
	background-image: var(--ornament2);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

#top-column > div > div:first-of-type {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 2em;
	align-items: center;
	margin-bottom: 2em;
}

#top-column > div > div:first-of-type > h2 {
	display: flex;
	flex-flow: column-reverse;
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1em, 2.5vw, 1.5em);
	line-height: 1.25;
}

#top-column > div > div:first-of-type > h2:after {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 2.5em;
	color: #aaa;
}

#top-column-slider .swiper-slide > .thumb > figure {
	aspect-ratio: 3 / 2;
	background-color: #eee;
	overflow: hidden;
	border-radius: 0.5em;
	margin-bottom: 0.5em;
}

#top-column-slider .swiper-slide > .thumb > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#top-column-slider .swiper-slide > .title > h3 {
	font-weight: 400;
	font-size: 1em;
	margin-bottom: 0.5em;
}

#top-column-slider .swiper-slide > .meta {
	display: grid;
	grid-template-columns: auto 8em;
	grid-gap: 1em;
	font-size: 0.75em;
}

#top-column-slider .swiper-slide > .meta > time {
	justify-self: flex-end;
	font-family: var(--display-font);
	letter-spacing: 0.05em;
}

#top-column-slider .swiper-slide > .meta > .category {
	display: flex;
	flex-wrap: wrap;
}

#top-column-slider .swiper-slide > .meta > .category > a {
	display: inline-block;
	padding: 0.25em 0.75em;
	background-color: #fff;
	border-radius: 0.5em;
	border: 1px solid #aaa;
	margin: 0 0 0.25em 0.25em;
}

#top-column-slider .swiper-slide > .meta > .category > a:before {
	content: '#';
}

@media (max-width: 768px) {
	#top-column > div > div:first-of-type {
		grid-template-columns: 1fr;
	}

	#top-column > div > div:first-of-type > h2 {
		align-items: center;
	}
}

/* --------------------------
    contact
-------------------------- */
.grecaptcha-badge {
	z-index: 254;
}

.contactform dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 1rem;
    border: 1px solid var(--color-beige);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	overflow: hidden;
}

.contactform > dl > dt {
	padding: 1em 5em 1em 2em;
	position: relative;
	width: 20em;
	font-weight: 500;
	align-items: center;
	display: flex;
	justify-content: center;
	text-align: center;
	border: none;
	background-color: var(--color-beige-light);
}

.contactform > dl > dd {
	padding: 1em 2em;
	width: calc(100% - 20em);
	display: flex;
	justify-content: center;
	flex-flow: column;
	border: none;
	background-color: #fff;
}

.contactform dl > *:is(dt, dd):not(:last-of-type) {
	border-bottom: 1px solid #aaa;
}

.contactform > dl > dt.required:after {
	content: '必 須';
	display: block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0;
	padding: 0.5em 1em;
	background: var(--color-orange);
	color: #fff;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 3px;
}

.contactform > dl > dt:not(.required):after {
	content: '任 意';
	display: block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0;
	padding: 0.5em 1em;
	background-color: #fff;
	color: var(--color);
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 3px;
}

.contactform > dl > dd input[type=text],
.contactform > dl > dd input[type=email],
.contactform > dl > dd input[type=tel],
.contactform > dl > dd textarea {
	display: block;
	width: 100%;
	border-radius: 3px;
	border: none;
	border: 1px solid #ccc;
	padding: 0.5em 1em;
}

.contactform > dl > dd select {
	display: block;
	border-radius: 3px;
	border: none;
	border: 1px solid #ccc;
	padding: 0.5em 1em;
}

.contactform > dl > dd input[type=date] {
	width: 30%;
	display: block;
	border-radius: 3px;
	border: none;
	background-color: #f9f9f9;
	border: 1px solid #ccc;
	padding: 0.5em 1em;
}

.contactform > dl > dd select {
	padding: 0.5em 1em;
}

.contactform > dl > dd input[type=number] {
	display: block;
	border-radius: 3px;
	border: none;
	border: 1px solid #ccc;
	padding: 0.5em 1em;
}

.contactform > dl > dd input.inline {
	display: inline-block;
}

.contactform > dl > dd input[readonly="readonly"] {
	background-color: transparent;
	border: none;
	padding: 0.5em 0;
}

.contactform > dl > dd input[readonly="readonly"]:focus {
	outline: none;
}

.contactform > dl > dd > .zip-wrap > span {
	display: flex;
}

.contactform > dl > dd >.zip-wrap input[type=text] {
	width: 10em;
	margin: 0 0.25em;
}

.contactform> dl > dd span + span {
	display: block;
	margin-top: 0.5rem;
}

.contactform > dl > dd.birthday {
	display: flex;
	flex-flow: row;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.contactform > dl > dd.birthday span + span {
	margin-top: 0;
}

.contactform > dl > dd.birthday > .year,
.contactform > dl > dd.birthday > .month,
.contactform > dl > dd.birthday > .date {
	display: flex;
	margin: 0.125em 0.25em 0.125em 0;
	align-items: center;
}

.contactform > dl > dd.birthday > .year:after {
	content: '年';
	margin-left: 0.25em;
}

.contactform > dl > dd.birthday > .year input[type=number] {
	width: 6em;
}

.contactform > dl > dd.birthday > .month:after {
	content: '月';
	margin-left: 0.25em;
}

.contactform > dl > dd.birthday > .date:after {
	content: '日';
	margin-left: 0.25em;
}

.agreement-wrap {
	text-align: center;
	margin-bottom: 1rem;
}

.contactform input[name=agreement] {
	appearance: none;
	-webkit-appearance: none;
	border: none;
}

.contactform input[name=agreement] + span {
	display: flex;
	justify-content: center;
	align-items: center;
}

.contactform input[name=agreement] + span:hover {
	cursor: pointer;
}

.contactform input[name=agreement] + span:before {
	content: '';
	display: inline-block;
	width: 3rem;
	height: 3rem;
	border: 1px solid #aaa;
	border-radius: 3px;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGZvY3VzYWJsZT0iZmFsc2UiCgkgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIgoJIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojQUFBQUFBO30KPC9zdHlsZT4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTE3My45LDQzOS40TDcuNSwyNzNjLTEwLTEwLTEwLTI2LjIsMC0zNi4ybDM2LjItMzYuMmMxMC0xMCwyNi4yLTEwLDM2LjIsMEwxOTIsMzEyLjdMNDMyLjEsNzIuNgoJYzEwLTEwLDI2LjItMTAsMzYuMiwwbDM2LjIsMzYuMmMxMCwxMCwxMCwyNi4yLDAsMzYuMkwyMTAuMSw0MzkuNEMyMDAuMSw0NDkuNCwxODMuOSw0NDkuNCwxNzMuOSw0MzkuNEwxNzMuOSw0MzkuNHoiLz4KPC9zdmc+Cg==);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 1rem;
	background-color: #fff;
}

.contactform input[name=agreement]:checked + span:before {
	content: '';
	display: inline-block;
	width: 3rem;
	height: 3rem;
	border: 1px solid #333;
	border-radius: 3px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJjaGVjayIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWNoZWNrIGZhLXctMTYiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ij48L3BhdGg+PC9zdmc+);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
}

.contactform .submit-wrap {
	text-align: center;
}

.contactform .submit-wrap > input[type=submit] {
	width: 100%;
	max-width: 280px;
	border: none;
	border-radius: 0.5em;
	color: #fff;
	background-color: var(--color-orange);
	padding: 1rem 2rem;
	cursor: pointer;
}

.contactform .submit-wrap > input[type=submit]:hover {
	opacity: 0.7;
}

.contactform .submit-wrap > input[type=submit]:disabled {
	background: #ddd;
	cursor: not-allowed;
}

.contactform > dl > dd >.zip-wrap > span {
	display: flex;
}

.contactform > dl > dd >.zip-wrap input[type=text] {
	width: 10em;
	margin: 0.25em;
}

.contactform > dl > dd >.zip-wrap > span:before {
	content: "〒";
}

@media (max-width: 810px) {
	.contactform > dl {
		flex-flow: column;
	}
	
	.contactform > dl > dt {
		display: block;
		width: 100%;
		padding: 1em 5em 1em 1em;
	}
	
	.contactform > dl > dd {
		display: block;
		width: 100%;
		padding: 1em;
	}
}


/* --------------------------
    about
-------------------------- */
#about-message > div > .name {
	font-family: var(--serif-font);
	font-size: 0.875em;
	text-align: right;
}

#about-message > div > .name > span {
	font-size: 2em;
	margin-left: 0.5em;
}

#about-message > div > figure {
	aspect-ratio: 4 / 5;
	background-color: #eee;
	border-radius: 0.5em;
	overflow: hidden;
}

#about-message > div > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cove;
	object-position: center;
}

/* --------------------------
    recruit
-------------------------- */
#recruit-archive-list {
	list-style-type: none;
	margin-top: 4em;
}

#recruit-archive-list > li + li {
	margin-top: 0.5em;
}

#recruit-archive-list > li > a {
	display: block;
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 0.5em;
	position: relative;
}

#recruit-archive-list > li > a:before {
	content: '';
    display: block;
    width: 1em;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-image: var(--icon-arrow);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 1.5em;
    top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

#recruit-archive-list > li > a:hover:before {
	right: 1em;
	transition: all 0.3s ease;
}

#recruit-archive-list > li > a > article {
	display: flex;
}

#recruit-archive-list > li > a > article > div {
	padding: 1em 4em 1em 2em;
	width: calc(100% - 6em);
	display: flex;
	align-items: center;
}

#recruit-archive-list > li > a > article > div > h3 {
	font-size: 1em;
	font-weight: 400;
}

#recruit-archive-list > li > a:hover > article > div > h3 {
	text-decoration: underline;
}

@media (max-width: 768px) {
	#recruit-archive-list {
		margin-top: 2em;
	}
	
	#recruit-archive-list > li > a > article > div {
		padding: 1em 4em 1em 1em;
	}
}


/* --------------------------
    doctor
-------------------------- */
#doctor-profile-wrap {
	display: grid;
	grid-template-columns: 3fr 1fr;
	grid-gap: 2em;
	align-items: center;
}

#doctor-profile-wrap > div > .position {
	font-family: var(--serif-font);
}

#doctor-profile-wrap > div > .name {
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 3vw, 1.75em);
}

#doctor-profile-wrap > div > .name > span {
	font-family: var(--display-font);
	font-size: 0.75em;
	color: #888;
	margin-left: 1em;
}

#doctor-profile-wrap > div {
	grid-column: 1 / span 1;
	grid-row: 1;
}

#doctor-profile-wrap > figure {
	grid-column: 2 / span 1;
	grid-row: 1;
	width: 100%;
	aspect-ratio: 3 / 4;
	background-color: #eee;
	border-radius: 0.5em;
	overflow: hidden;
}

#doctor-profile-wrap > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#doctor-summary-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 2em;
}

#doctor-summary-wrap > div.col2 {
	grid-column: span 2;
}

@media (max-width: 768px) {
	#doctor-profile-wrap {
		grid-template-columns: 1fr;
		justify-content: center;
	}

	#doctor-profile-wrap > div {
		grid-column: unset;
		grid-row: unset;
		justify-self: center;
	}

	#doctor-summary-wrap > div.col2 {
		grid-column: span 1;
	}

	#doctor-profile-wrap > div > .name {
		font-size: clamp(1.25em, 5vw, 1.75em);
	}

	#doctor-profile-wrap > figure {
		grid-column: unset;
		grid-row: unset;
		justify-self: center;
		width: 50%;
		max-width: 320px;
	}

	#doctor-summary-wrap {
		grid-template-columns: 1fr;
	}

	#doctor-summary-wrap > div:nth-of-type(odd):last-of-type {
		grid-column: span 1;
	}
}
