/*
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: 120px;
    --header-height-sp: 50px;
    --topbar-height: 50px;
    --drawer-height: 110px;
    --drawer-height-sp: 50px;
    --color: #514e3a;
    --color-beige: #c1ba9a;
    --color-beige-light: #f7f5eb;
    --color-beige-light2: #efead8;
    --color-beige-pale: #fffef5;
    --color-beige-dull: #8f8972;
    --color-red: #ed1c24;
    --color-red-pale: #ffeee4;
    --color-yellow: #fcd12b;
    --gradient1: linear-gradient(to right, var(--color-red), var(--color-yellow));
    --gradient2: linear-gradient(to bottom, var(--color-red), var(--color-yellow));
    --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: 'Marcellus', var(--serif-font);
    --font-awesome: 'Font Awesome 7 Free';
    --page-header-image: url(/wp-content/uploads/2026/10/pageheader2.webp);
    --icon-arrow: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLnN0MCB7CiAgICAgICAgZmlsbDogIzgyN2Q2NDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9InN0MCIgZD0iTTYzLjcxMTM3LDMzLjQ1NTc1Yy4zODQ4OC0uOTMxMjUuMzg0ODgtMS45ODA0OS0uMDAwMjMtMi45MTE3NC0uMTkzNi0uNDY3OTUtLjQ3MzA3LS44OTAwNy0uODI1ODQtMS4yNDIxNEwzNC42OTc5NywxLjExMjY5Yy0xLjQ4OTI2LTEuNDg5MjYtMy45MDE4Ny0xLjQ4OTI2LTUuMzkxMTMsMHMtMS40ODkyNiwzLjkwMTg3LDAsNS4zOTExM2wyMS42ODIwNCwyMS42ODM2N0gzLjgxMjUxYy0yLjEwNTQ1LDAtMy44MTI1MSwxLjcwNzA3LTMuODEyNTEsMy44MTI1MSwwLDIuMTA3MzEsMS43MDcwNywzLjgxMjUxLDMuODEyNTEsMy44MTI1MWg0Ny4xNzYzNmwtMjEuNjgyMDQsMjEuNjgzNjdjLTEuNDg5MjYsMS40ODkyNi0xLjQ4OTI2LDMuOTAxODcsMCw1LjM5MTEzLjc0NDYzLjc0NDYzLDEuNzIwMSwxLjExNjk1LDIuNjk1NTcsMS4xMTY5NXMxLjk1MDkzLS4zNzIzMiwyLjY5NTU3LTEuMTE2OTVsMjguMTg1LTI4LjE4Njg2Yy4zNTM3LS4zNTI1NC42MzQzMy0uNzc1ODEuODI4NC0xLjI0NDdaIi8+Cjwvc3ZnPg==);
    --icon-arrow-white: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLnN0MCB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9InN0MCIgZD0iTTYzLjcxMTM3LDMzLjQ1NTc1Yy4zODQ4OC0uOTMxMjUuMzg0ODgtMS45ODA0OS0uMDAwMjMtMi45MTE3NC0uMTkzNi0uNDY3OTUtLjQ3MzA3LS44OTAwNy0uODI1ODQtMS4yNDIxNEwzNC42OTc5NywxLjExMjY5Yy0xLjQ4OTI2LTEuNDg5MjYtMy45MDE4Ny0xLjQ4OTI2LTUuMzkxMTMsMHMtMS40ODkyNiwzLjkwMTg3LDAsNS4zOTExM2wyMS42ODIwNCwyMS42ODM2N0gzLjgxMjUxYy0yLjEwNTQ1LDAtMy44MTI1MSwxLjcwNzA3LTMuODEyNTEsMy44MTI1MSwwLDIuMTA3MzEsMS43MDcwNywzLjgxMjUxLDMuODEyNTEsMy44MTI1MWg0Ny4xNzYzNmwtMjEuNjgyMDQsMjEuNjgzNjdjLTEuNDg5MjYsMS40ODkyNi0xLjQ4OTI2LDMuOTAxODcsMCw1LjM5MTEzLjc0NDYzLjc0NDYzLDEuNzIwMSwxLjExNjk1LDIuNjk1NTcsMS4xMTY5NXMxLjk1MDkzLS4zNzIzMiwyLjY5NTU3LTEuMTE2OTVsMjguMTg1LTI4LjE4Njg2Yy4zNTM3LS4zNTI1NC42MzQzMy0uNzc1ODEuODI4NC0xLjI0NDdaIi8+Cjwvc3ZnPg==);
    --ornament1: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDMyIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLnN0MCB7CiAgICAgICAgZmlsbDogI2ZjZDEyYjsKICAgICAgfQoKICAgICAgLnN0MSB7CiAgICAgICAgZmlsbDogI2U1MDAxMjsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGNpcmNsZSBjbGFzcz0ic3QxIiBjeD0iMTQuMzY5MDEiIGN5PSIxNiIgcj0iMTQuMzY5MDEiLz4KICA8Y2lyY2xlIGNsYXNzPSJzdDAiIGN4PSI0OS42MzA5OSIgY3k9IjE2IiByPSIxNC4zNjkwMSIvPgo8L3N2Zz4=);
}

/* --------------------------
    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;
}

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;
	padding-top: var(--header-height);
}

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: 1100px) {
	main {
		padding-top: var(--header-height-sp);
	}
}

@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;
}

.mt2 {
	margin-top: 2em;
}

.mt4 {
	margin-top: 4em;
}

.mb2 {
	margin-bottom: 2em;
}

.mb4 {
	margin-bottom: 4em;
}

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

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

.heading:before {
	content: '';
	display: block;
	width: 0.75em;
	aspect-ratio: 1 / 1;
	background-image: var(--ornament1);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
}

.heading.center:before {
	left: 50%;
	transform: translateX(-50%);
}

.heading:after {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 0.75em;
	color: var(--color-beige-dull);
}

.heading.horizontal {
	flex-flow: row;
	align-items: center;
	padding-top: unset;
	padding-left: 1.25em;
}

.heading.horizontal:before {
	top: 50%;
	transform: translateY(-50%);
}

.heading.horizontal:after {
	margin-left: 0.5em;
}

.catch-copy {
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1.25em, 2.5vw, 1.5em);
	white-space: nowrap;
	margin-bottom: 2em;
}

.catch-copy.center {
	text-align: center;
}

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

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

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

.button:before {
	content: '';
	display: block;
	width: 1.5em;
	aspect-ratio: 1 / 1;
	background: var(--icon-arrow-white), var(--gradient1);
	background-size: 37.5%, 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	right: 1lh;
	z-index: 1;
	transform: translateY(-50%);
}

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

.flow-list > li {
	min-height: 4em;
	padding-left: 8rem;
	position: relative;
}

.flow-list > li:before {
	counter-increment: count;
	content: 'STEP'counter(count);
	display: block;
	width: 8rem;
	text-align: center;
	font-family: var(--display-font);
	font-size: 1.5em;
	position: absolute;
	top: 0;
	left: 0;
}

.flow-list > li:after {
	content: '';
	display: block;
	height: calc(100% - 3em);
	border-left: 1px solid var(--color-beige);
	position: absolute;
	top: 3em;
	left: 4rem;
}

.flow-list > li > div {
	font-family: var(--display-font);
	font-size: 1.25em;
	margin-bottom: 0.5em;
}

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

.notice {
    color: var(--color-red);
    font-weight: 400;
    border-radius: 0.5em;
    border: 1px solid var(--color-red);
    display: block;
    padding: 1em 1.5em;
    background-color: var(--color-red-pale);
}

.notice > div {
	display: flex;
	justify-content: center;
	font-family: var(--display-font);
	font-size: 1.25em;
	text-decoration: underline;
	margin-bottom: 0.5em;
}

.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;
}

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

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

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

.gallery-list {
	list-style-type: none;
	display: grid;
	grid-gap: 2em 1em;
}

.gallery-list.col2 {
	grid-template-columns: 1fr 1fr;
	grid-gap: 2em 1em;
}

.gallery-list.col3 {
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 2em 1em;
}

.gallery-list > li > figure > a {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 0.5em;
	background-color: #eee;
}

.gallery-list > li > figure > a > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.3s ease;
}

.gallery-list > li > figure > a:hover > img {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.gallery-list > li > figure > figcaption {
	display: flex;
	justify-content: center;
	margin-top: 1em;
	font-size: 0.875em;
}

.check-list {
	display: grid;
	grid-gap: 0.5em;
	list-style-type: none;
}

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

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

.check-list.white > li {
	background-color: #fff;
}

.check-list > li {
	padding-left: 1.75lh;
	padding: 1em 1.5em 1em 4em;
	background-color: #fff;
	border: 1px solid var(--color-beige);
	border-radius: 0.5em;
	position: relative;
}

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

.check-list > li:after {
	content: '';
	display: block;
	width: 0.875lh;
	height: 0.5lh;
	border-left: 3px solid var(--color-red);
	border-bottom: 3px solid var(--color-red);
	position: absolute;
	top: 1em;
	left: calc(0.25lh + 1em);
	transform: rotate(-45deg);
}

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

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

	.mt2 {
		margin-top: 1em;
	}

	.mt4 {
		margin-top: 2em;
	}

	.mb2 {
		margin-bottom: 1em;
	}

	.mb4 {
		margin-bottom: 2em;
	}

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

	.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;
	}

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

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

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


/* --------------------------
    header
-------------------------- */
/* header */
header {
	width: 100%;
	height: var(--header-height);
	background-color: var(--color-beige-pale);
	position: fixed;
	left: 0;
	z-index: 255;
	transition: height 0.2s ease;
}

header.fixed {
	height: var(--header-height-sp);
	transition: height 0.2s ease;
}

#topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--topbar-height);
	padding: 0 2rem;
}

header.fixed #topbar {
	display: none;
}

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

#topbar-tel {
	font-family: var(--display-font);
	font-size: 1.5em;
}

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

#header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: calc(100% - var(--topbar-height));
	padding: 0 2rem;
}

header.fixed #header-content {
	height: 100%;
	padding: 0 1rem;
}

#header-logo > img {
	width: auto;
	height: 52px;
}

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

#header-menu {
	list-style-type: none;
	display: flex;
	font-family: var(--serif-font);
	font-size: 0.875em;
	line-height: 1.5;
	white-space: nowrap;
}

#header-menu > li {
	display: flex;
	align-items: center;
	padding: 0.25em 1.5em;
	position: relative;
}

#header-menu > li + li {
	border-left: 1px solid var(--color-beige);
}

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

#header-menu > li:hover > a,
#header-menu > li.current-menu-item > a {
	text-decoration: underline;
}

#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.25em;
}

#header-menu > li.menu-item-has-children > ul {
	list-style-type: none;
	width: 100%;
	max-width: 640px;
	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;
	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: 66%;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 1em;
	top: 50%;
	transform: translateY(-50%);
}

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

#header-menu ul {
	list-style-type: none;
	opacity: 0;
	pointer-events: none;
	position: absolute;
}

@media (max-width: 1100px) {
	header {
		height: var(--header-height-sp);
	}

	#topbar {
		display: none;
	}

	#header-content {
		height: 100%;
		padding: 0 1rem;
	}

	#header-menu {
		display: none;
	}

	#header-logo > img {
		height: 36px;
	}
}

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

header.fixed #drawer-open,
header.fixed #drawer-close {
	height: var(--drawer-height-sp);
	border-radius: 0 0 0 0.5rem;
	transition: all 0.3s ease;
}

#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;
}

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

#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;
}

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

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(--header-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;
}

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

#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: 1100px) {
	#drawer-open,
	#drawer-close {
		display: flex;
		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 {
	font-size: 0.875em;
}

footer > div:nth-of-type(1) {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-gap: 2em;
}

footer > div:nth-of-type(1) > div > h3 {
	font-family: var(--serif-font);
	font-size: 1em;
	font-weight: 400;
	padding-left: 1.5em;
	margin-bottom: 1em;
	background-image: var(--ornament1);
	background-size: 1em auto;
	background-position: center left;
	background-repeat: no-repeat;
}

#footer-menu {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#footer-menu > li:has(a[href="#"]) {
	width: 100%;
	margin-top: 1em;
}

#footer-menu > li:has(a[href="#"]) > a {
	font-family: var(--serif-font);
}

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

#footer-menu > li > ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#footer-menu li:not(:has(a[href="#"])) {
	display: flex;
}

#footer-menu li:not(:has(a[href="#"])):not(:last-of-type):after {
	content: '/';
	margin: 0 1em;
}

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

footer > div:nth-of-type(1) > div:last-of-type > a {
	display: block;
	background-color: #fff;
	border: 1px solid var(--color-beige-dull);
	border-radius: 0.5em;
	padding: 1em 3em 1em 2em;
	position: relative;
}

footer > div:nth-of-type(1) > div:last-of-type > a:before {
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	background-image: var(--icon-arrow);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 1.5em;
	transform: translateY(-50%);
	background-position: center center;
}

footer > div:nth-of-type(1) > div:last-of-type > a + a {
	margin-top: 0.5em;
}

footer > div:nth-of-type(2) {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-gap: 2em;
}

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

#footer-logo {
	display: inline-block;
	margin-right: 3em;
}

#footer-logo > img {
	width: 240px;
}

footer > div:nth-of-type(2) > div:last-of-type {
	display: grid;
	justify-content: flex-end;
	align-items: center;
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 2vw, 1.5em);
	text-align: right;
	line-height: 1.5;
}

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

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

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

footer > div:nth-of-type(4) {
	background: linear-gradient(to right, var(--color-red) 50%, var(--color-yellow) 50%);
}

footer > div:nth-of-type(4) > div {
	display: flex;
	justify-content: flex-end;
	background: var(--gradient1);
	position: relative;
}

footer > div:nth-of-type(4) > div:before {
	content: '';
	display: block;
	width: calc(100vw - ((100vw - 100%) / 2) - 12em);
	height: calc(100% - 5px);
	background-color: var(--color-beige-pale);
	border-radius: 0 0 0.5em 0;
	position: absolute;
	top: 0;
	left: calc((100vw - 100%) / 2 * -1);
}

footer > div:nth-of-type(4) > div:after {
	content: '';
	display: block;
	width: calc((100vw - 100%) / 2);
	height: calc(100% - 5px);
	background-color: var(--color-beige-pale);
	border-radius: 0 0 0 0.5em;
	position: absolute;
	top: 0;
	right: calc((100vw - 100%) / 2 * -1);
}

footer > div:nth-of-type(4) > div > a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 12em;
	height: 3em;
	margin-right: 0;
	font-family: var(--display-font);
	border-radius: 0.5em 0.5em 0 0;
	color: #fff;
	position: relative;
}

footer > div:nth-of-type(4) > div > a > span:first-of-type {
    width: 0.5em;
    height: 0.5em;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

footer > div:nth-of-type(4) > div > a > span:first-of-type:before {
    content: '';
    display: block;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: 0 0 0 0.5em var(--color-beige-pale);
    position: absolute;
    top: 0;
    left: 0;
}

footer > div:nth-of-type(4) > div > a > span:last-of-type {
    width: 0.5em;
    height: 0.5em;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
	transform: scaleX(-1);
}

footer > div:nth-of-type(4) > div > a > span:last-of-type:before {
    content: '';
    display: block;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: 0 0 0 0.5em var(--color-beige-pale);
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
	footer > div:nth-of-type(1) {
		grid-template-columns: 1fr;
	}

	footer > div:nth-of-type(2) {
		grid-template-columns: 1fr;
	}

	footer > div:nth-of-type(2) > div:first-of-type {
		flex-flow: column;
		align-items: center;
	}

	#footer-logo {
		margin-right: 0;
		margin-bottom: 1em;
	}

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

	footer > div:nth-of-type(3) {
		flex-flow: column-reverse;
		align-items: center;
	}

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

	
	footer > div:nth-of-type(4) > div:before {
		width: calc((100vw - 12em) / 2);
		left: 0;
	}

	footer > div:nth-of-type(4) > div:after {
		width: calc((100vw - 12em) / 2);
		right: 0;
	}
}

/* part contact */
#part-contact {
	display: grid;
	grid-template-columns: 1fr 2fr;
	align-items: center;
	width: calc(100% - 2em);
	margin: 1em auto;
	border: 1px solid var(--color-beige-dull);
	background-color: var(--color-beige-light2);
	border-radius: clamp(0.75em, 2vw, 1.5em);
	padding: 4em 0;
}

#part-contact > h2 {
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 0 4em;
	font-family: var(--serif-font);
	font-size: 1em;
	font-weight: 400;
	line-height: 1.25;
	color: var(--color-beige-dull);
}

#part-contact > h2:before {
	content: 'Contact';
	font-family: var(--display-font);
	font-size: 3em;
}

#part-contact > div {
	padding: 0 4em;
}

#part-contact > div > p {
	font-family: var(--serif-font);
	text-align: center;
	position: relative;
	z-index: 1;
}

#part-contact > div > p:before {
	content: '';
	display: block;
	width: 100%;
	border-top: 1px solid var(--color-beige-dull);
	position: absolute;
	top: 50%;
	left: 0;
	z-index: -1;
}

#part-contact > div > p > span {
	display: inline-block;
	padding: 0 1em;
	background-color: var(--color-beige-light2);
	white-space: nowrap;
}

#part-contact > div .tel-fax-wrap {
	display: flex;
	flex-flow: column;
	align-items: center;
	margin: 1em 0;
	color: var(--color-beige-dull);
}

#part-contact > div .tel {
	display: block;
	text-align: center;
	font-family: var(--display-font);
	font-size: clamp(1.5em, 4vw, 3em);
	line-height: 1.25;
}

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

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

#part-contact > div > div:last-of-type > dl {
	display: grid;
	grid-template-columns: 6em auto;
	grid-gap: 1em;
	color: var(--color-beige-dull);
	font-size: 0.875em;
}

#part-contact > div > div:last-of-type > dl > dt {
	align-self: flex-start;
	background-color: #fff;
	font-size: 0.75em;
	padding: 0.25em 1em;
	text-align: center;
	border-radius: 0.5em;
	border: 1px solid var(--color-beige-dull);
}

#part-map {
	width: calc(100% - 2em);
	aspect-ratio: 3 / 1;
	background-color: #eee;
	border: 1px solid var(--color-beige-dull);
	border-radius: clamp(0.75em, 2vw, 1.5em);
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

#part-map > iframe {
	width: 100%;
	height: calc(100% + 300px);
	margin-top: -150px;
}

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

	#part-contact > h2,
	#part-contact > div {
		padding: 0 2em;
	}

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

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

@media (max-width: 768px) {
	#part-map {
		aspect-ratio: 1 / 1;
	}
}

/* --------------------------
    page
-------------------------- */
#page-header {
	width: calc(100% - 2em);
	min-height: 250px;
	background-color: #eee;
	margin: 1em;
	border-radius: clamp(0.5em, 2vw, 1em);
	overflow: hidden;
	color: #fff;
	position: relative;
	z-index: 1;
}

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

#page-header > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	min-height: 250px;
	padding: 1em 2em;
}

#page-header > div > h2 {
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1.25em, 2.5vw, 1.75em);
	line-height: 1.25;
	text-shadow: 0 0 0.1em rgba(0, 0, 0, 0.5), 0 0 0.25em rgba(0, 0, 0, 0.75);
}

#breadcrumb {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.875em;
	text-shadow: 0 0 0.25em rgba(0, 0, 0, 0.75);
	margin-top: 1em;
}

#breadcrumb > li {
	display: flex;
	align-items: center;
}

#breadcrumb > li:not(:last-of-type) {
	margin-right: 1em;
}

#breadcrumb > li:not(:first-of-type):before {
	content: '';
	display: block;
	border-left: 0.25em solid #fff;
	border-top: 0.25em solid transparent;
	border-bottom: 0.25em solid transparent;
	margin-right: 1em;
	filter: drop-shadow(0 0 0.25em rgba(0, 0, 0, 0.75));
}

@media (max-width: 768px) {
	#page-header {
		min-height: 150px;
	}

	#page-header > 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;
	color: var(--color-beige-dull);
    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;
	border: 1px solid var(--color-beige-dull);
	background-color: #fff;
}

.archive-list > li > a > article > .info > h3 {
	font-family: var(--serif-font);
    font-size: 1em;
	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;
	font-family: var(--display-font);
    line-height: 1;
    letter-spacing: 0;
    min-width: 3em;
    height: 3em;
    background: var(--color-beige-light);
	border: 1px solid var(--color-beige-dull);
    color: var(--color);
    margin: 0 0.5em;
	border-radius: 0.5em;
    transition: all 0.3s ease;
}

#pagination > span,
#pagination > a:hover {
    background: var(--color-beige-dull);
    color: #fff;
    transition: all 0.3s ease;
}


/* --------------------------
    single
-------------------------- */
/* single */
#single-date {
    display: block;
	font-family: var(--display-font);
    font-size: 1em;
    font-weight: 400;
    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) {
	display: flex;
	align-items: center;
	grid-gap: 1em;
	font-family: var(--serif-font);
	font-size: clamp(1.5em, 3vw, 1.75em);
    font-weight: 500;
	padding-top: 0.5em;
    margin-bottom: 1em;
	border-top: 2px solid var(--color-beige-light2);
	position: relative;
}

.single-content h1:not(.plain):before,
.single-content h2:not(.plain):before {
	content: '';
	display: block;
	width: 4em;
	height: 4px;
	border-radius: 0 0 2px 2px;
	background: var(--gradient1);
	position: absolute;
	top: -2px;
	left: 0;
}

.single-content h1:not(.plain):after,
.single-content h2:not(.plain):after {
	content: attr(data-text);
    font-family: var(--display-font);
    font-size: 0.75em;
    color: var(--color-beige-dull);
	letter-spacing: 0;
}

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

.single-content h3:not(.plain):before {
    content: '';
    display: block;
    width: 0.75lh;
    aspect-ratio: 1 / 1;
    background-image: var(--ornament1);
    background-size: 66%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0.125lh;
    left: 0;
}

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

.single-content h4:not(.plain):before {
	content: '';
	display: block;
	width: 0.125em;
	height: 100%;
	background: var(--gradient2);
	position: absolute;
	top: 0;
	left: 0;
}

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

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

.single-content hr:not(.plain) {
    display: block;
	height: 1em;
    border: none;
    border-top: 2px solid var(--color-beige-light2);
    margin: 4em auto;
	position: relative;
}

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

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

.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;
	border: 1px solid var(--color-beige);
	border-radius: 0.5em;
    margin-bottom: 2em;
}

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

.single-content dl:not(.plain) {
    display: flex;
    flex-wrap: wrap;
	border-radius: 0.5em;
	overflow: hidden;
    margin-bottom: 2em;
}

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

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

.single-content dl:not(.plain) > dt:not(:last-of-type),
.single-content dl:not(.plain) > dd:not(:last-of-type) {
	margin-bottom: 2px;
}

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

.single-content table:not(.plain) {
	border: 1px solid var(--color-beige);
	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-light2);
	font-family: var(--serif-font);
	font-weight: 400;
	white-space: nowrap;
}

.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 var(--color-beige);
}

.single-content table:not(.plain) thead > tr > *:is(th, td)  {
	border-right: 1px solid var(--color-beige);
}

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

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

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

.single-content img:not(.plain).round {
	border-radius: 0.5em;
}

.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;
}

.single-content a:not(.plain):hover {
	color: var(--color-beige-dull);
    text-decoration: unset;
}

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

.single-content strong:not(.plain) {
	color: var(--color-red);
}

.single-content mark:not(.plain) {
	background: linear-gradient(to bottom, transparent 50%, var(--color-yellow) 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 {
	position: relative;
}

#top-main-slider {
	width: calc(100% - 2em);
	height: calc(100vh - var(--header-height) - 1em);
	margin: 0 auto;
	border-radius: clamp(0.5em, 4vw, 1em);
	overflow: hidden;
}

#top-main-slider .swiper-slide {
	width: 100%;
	height: calc(100vh - var(--header-height) - 1em);
	background-color: #eee;
}

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

#top-main-banner > h2 {
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 4vw, 3em);
	font-weight: 400;
	writing-mode: vertical-rl;
	color: #fff;
	text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 1em;
	right: 2em;
	z-index: 1;
}

@media (max-width: 768px) {
	#top-main-slider {
		width: calc(100% - 2em);
		height: unset;
		aspect-ratio: 1 / 1;
	}

	#top-main-slider .swiper-slide {
		height: unset;
		aspect-ratio: 1 / 1;
	}
}

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

#top-contents1 > div {
	padding-top: 0;
}

#top-contents1 > div > div {
	display: grid;
	grid-template-columns: 2fr 3fr;
	grid-gap: 2em 4em;
	background-color: #fff;
	border: 1px solid var(--color-beige-dull);
	border-radius: 1em;
	padding: 4em;
	margin-top: -2em;
}

#top-contents1 > div > div > div:nth-of-type(1) {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
}

#top-contents1 > div > div > div:nth-of-type(1) > img {
	width: 240px;
}

#top-contents1 > div > div > div:nth-of-type(1) > .tel-fax-wrap {
	display: flex;
	flex-flow: column;
	align-items: center;
}

#top-contents1 > div > div > div:nth-of-type(1) .tel {
	font-family: var(--display-font);
	font-size: 2em;
}

#top-contents1 > div > div > div:nth-of-type(1) .tel:before {
	content: 'tel.';
	font-size: 0.75em;
}

#top-contents1 > div > div > div:nth-of-type(1) > dl {
	display: flex;
	flex-wrap: wrap;
	margin-top: 1em;
}

#top-contents1 > div > div > div:nth-of-type(1) > dl > dt {
	width: 7rem;
	font-family: var(--serif-font);
	font-size: 0.875em;
	text-align: center;
	padding: 0.25em 1em;
	border-radius: 0.5em;
	background-color: var(--color-beige);
	color: #fff;
	margin-right: 1rem;
	margin-top: 0.25rem;
}

#top-contents1 > div > div > div:nth-of-type(1) > dl > dd {
	width: calc(100% - 8rem);
	margin-top: 0.25rem;
}

#top-contents1 > div > div > div:nth-of-type(2) > p {
	font-size: 0.875em;
}

.timetable {
	border-radius: 0.5em;
	overflow: hidden;
	font-family: var(--serif-font);
	line-height: 1.5;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	font-size: clamp(10px, 1.5vw, 0.875em);
}

.timetable th,
.timetable td {
	padding: 0.75em 1.25em;
}

.timetable > thead > tr > th {
	background-color: var(--color-beige);
	color: #fff;
	font-weight: 400;
}

.timetable > thead > tr > th + th {
	border-left: 1px solid #fff;
}

.timetable > tbody > tr > td {
	text-align: center;
}

.timetable > tbody > tr > td + td {
	border-left: 1px solid var(--color-beige);
}

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

.timetable > tbody > tr > td > span {
	color: var(--color-yellow);
}

#top-contents1 > div > div > div:nth-of-type(3) {
	display: flex;
	justify-content: center;
	align-items: center;
	grid-column: 1 / span 2;
	color: var(--color-red);
	font-size: clamp(0.75em, 3vw, 1.25em);
}

#top-contents1 > div > div > div:nth-of-type(3):before {
	content: '\f06a';
	font-family: var(--font-awesome);
	font-weight: 700;
	font-size: 2em;
	margin-right: 0.5em;
}

@media (max-width: 960px) {
	#top-contents1 > div > div {
		width: calc(100% + 1em);
		grid-template-columns: 1fr;
		grid-gap: 2em;
		padding: 1.5em 1em;
		transform: translate(-0.5em);
	}
	
	#top-contents1 > div > div > div:nth-of-type(1) > dl {
		max-width: 400px;
	}

	#top-contents1 > div > div > div:nth-of-type(2) {
		display: grid;
		justify-content: center;
	}

	#top-contents1 > div > div > div:nth-of-type(3) {
		grid-column: 1 / span 1;
	}

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

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

#top-contents2 > div:last-of-type > a > h2 {
	font-size: 1.25em;
}

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

/* outpatient */
.outpatient-table {
	width: 100%;
	border-radius: 0.5em;
	overflow: hidden;
	font-family: var(--serif-font);
	line-height: 1.5;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	font-size: clamp(10px, 1.5vw, 0.875em);
	margin: 0 auto 2em auto;
}

.outpatient-table th,
.outpatient-table td {
	padding: 0.75em 1.25em;
}

.outpatient-table > thead > tr > th {
	background-color: var(--color-beige);
	color: #fff;
	font-weight: 400;
}

.outpatient-table > thead > tr > th + th {
	border-left: 1px solid #fff;
}

.outpatient-table > tbody > tr > td {
	text-align: center;
	background-color: #fff;
}

.outpatient-table > tbody > tr > td + td {
	border-left: 1px solid var(--color-beige);
}

.outpatient-table > tbody > tr + tr > td {
	border-top: 1px solid var(--color-beige);
}

.outpatient-table > tbody > tr > td > span {
	color: var(--color-yellow);
}

@media (max-width: 768px) {
	.outpatient-table {
		max-width: 480px;
		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-medical-service > div > div {
	padding: 3em;
	position: relative;
}

#top-medical-service > div > div:before {
	content: '';
	display: block;
	width: calc((100vw - 100%) / 2 + 100%);
	height: 100%;
	background-color: var(--color-beige-light);
	border-radius: 1em 0 0 1em;
	position: absolute;
	top: 0;
	left: 0;
}

#top-medical-service-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1.5em;
}

#top-medical-service-list > li > a {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: 10%;
	align-items: center;
	aspect-ratio: 8 / 3;
	background-color: #fff;
	border-radius: 0.5em;
	border: 1px solid var(--color-beige);
	padding: 1em 2em;
	font-family: var(--display-font);
	font-size: clamp(0.875emem, 1.5vw, 1em);
	position: relative;
}

#top-medical-service-list > li > a:before {
	content: attr(data-text);
	font-size: 0.875em;
	letter-spacing: 0;
	color: var(--color-beige-dull);
	position: absolute;
	top: 1em;
	right: 1em;
}

#top-medical-service-list > li > a:after {
	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: 1em;
}

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

#top-medical-service-list > li > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

#top-medical-service-list > li > a > div {
	font-size: clamp(0.875em, 1.5vw, 1em);
}

@media (max-width: 1100px) {
	#top-medical-service > div > div {
		padding: 1.5em;
	}

	#top-medical-service-list {
		grid-template-columns: 1fr 1fr;
		grid-gap: 1em;
	}
}

@media (max-width: 768px) {
	#top-medical-service-list {
		grid-template-columns: 1fr;
		grid-gap: 0.5em;
	}

	#top-medical-service-list > li > a {
		grid-template-columns: 1fr 4fr;
		aspect-ratio: 4 / 1;
	}

	#top-medical-service-list > li > a > div {
		font-size: clamp(0.875em, 3vw, 1.25em);
	}
}

#top-dialysis-for-travelers {
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc(100% - 6em);
	background: var(--gradient1);
	border-radius: 1em;
	padding: 2em 4em 2em 2em;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(1em, 2vw, 1.25em);
	position: relative;
}

#top-dialysis-for-travelers:before {
	content: '';
	display: block;
	width: calc(100% - 0.5em);
	height: calc(100% - 0.5em);
	background-color: #fff;
	border-radius: 0.75em;
	position: absolute;
	top: 0.25em;
	left: 0.25em;
}

#top-dialysis-for-travelers:after {
	content: '';
	display: block;
	width: 2em;
	aspect-ratio: 1 / 1;
	background: var(--icon-arrow-white), var(--gradient1);
	background-size: 37.5%, 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	right: 2em;
	z-index: 1;
	transform: translateY(-50%);
}

#top-dialysis-for-travelers > figure {
	width: 3em;
	aspect-ratio: 1 / 1;
	margin-right: 2em;
	position: relative;
	z-index: 1;
}

#top-dialysis-for-travelers > figure > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

#top-dialysis-for-travelers > div {
	font-family: var(--serif-font);
	text-align: center;
	position: relative;
}

#top-dialysis-for-travelers > div > h3 {
	font-size: 1.25em;
	font-weight: 400;
	white-space: nowrap;
	text-decoration: underline;
}

#top-dialysis-for-travelers > div > p {
	font-size: 0.75em;
	letter-spacing: 0;
}

@media (max-width: 1100px) {
	#top-dialysis-for-travelers {
		flex-flow: column;
	}

	#top-dialysis-for-travelers:after {
		right: 1em;
	}

	#top-dialysis-for-travelers > figure {
		margin-right: unset;
		margin-bottom: 1em;
	}
}

@media (max-width: 768px) {
	#top-dialysis-for-travelers {
		width: 100%;
	}
}

#top-about {
	overflow-x: clip;
}

#top-about > div > div {
	position: relative;
	overflow: hidden;
}

#top-about-slider {
	width: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: -1;
	transform: translateY(-50%);
}

#top-about-slider .swiper-slide {
	aspect-ratio: 3 / 2;
	background-color: #eee;
}

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

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

#top-about > div > div > div:last-of-type {
	padding: 1em;
	position: relative;
}

#top-about > div > div > div:last-of-type:before {
	content: '';
	display: block;
	width: calc(100% + 16em);
	height: 100%;
	background: linear-gradient(to right, transparent 0%, var(--color-beige-pale) 8em, var(--color-beige-pale) calc(100% - 8em), transparent 100%);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

#top-about > div > div > div:last-of-type > img {
	position: relative;
	z-index: 1;
}

@media (max-width: 768px) {
	#top-about > div > div > div:last-of-type:before {
		width: calc(100% - 4em);
		background: linear-gradient(to right, transparent 0%, var(--color-beige-pale) 2em, var(--color-beige-pale) calc(100% - 2em), transparent 100%);
	}
}

#top-features {
	background-color: var(--color-beige-light);
}

#top-feature-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 2em;
	counter-reset: count;
}

#top-feature-list > li > figure {
	width: 100%;
	max-width: 480px;
	aspect-ratio: 3 / 2;
	background-color: #eee;
	border-radius: 0.5em;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	position: relative;
}

#top-feature-list > li > figure:before {
	counter-increment: count;
	content: 'Feature0'counter(count);
	padding: 0.125lh 0.75lh;
	border-radius: 0.625lh;
	background: var(--gradient1);
	border: 1px solid #fff;
	font-family: var(--display-font);
	font-size: 0.75em;
	color: #fff;
	position: absolute;
	top: 1em;
	left: 1em;
}

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

#top-feature-list > li > h3 {
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: 1.25em;
	line-height: 1.5;
	text-align: center;
	text-decoration: underline;
	margin-bottom: 1em;
}

@media (max-width: 1100px) {
	#top-feature-list {
		grid-template-columns: 1fr 1fr;
		grid-gap: 1em;
	}
}

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

	#top-feature-list > li > figure {
		width: 75%;
	}

	#top-feature-list > li > h3,
	#top-feature-list > li > p {
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}
}

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

.faq-list > li {
	border: 1px solid var(--color-beige-dull);
	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: '\2b';
	display: block;
	font-family: var(--font-awesome);
	font-weight: 700;
	font-size: 1.5em;
	color: var(--color-beige-dull);
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
}

.faq-list > li > label:has(input[type=checkbox]:checked):after {
    content: '\f068';
}

#top-news {
	background-color: var(--color-beige-light);
}

#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 8em auto;
	grid-gap: 1em;
	align-items: center;
	padding: 1em 4em 1em 2em;
	background-color: #fff;
	border: 1px solid var(--color-beige-dull);
	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 > .category {
	display: flex;
	flex-flow: column;
	flex-wrap: wrap;
}

#top-news-list > li > a > .category > span {
	display: block;
	width: 100%;
	border: 1px solid var(--color-beige-dull);
	padding: 0.125lh 0.5lh;
	border-radius: 0.625lh;
	font-family: var(--serif-font);
	font-size: 0.75em;
	text-align: center;
	margin: 0 0.25em 0.25em 0;
}

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

@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-list > li > a > .category {
		grid-column: 2 / span 2;
		flex-flow: row;
		flex-wrap: wrap;
	}

	#top-news-list > li > a > .category > span {
		width: auto;
	}

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

#top-recruit {
	display: grid;
	grid-template-columns: 1fr 2fr;
	align-items: center;
}

#top-recruit > div {
	grid-column: 1;
	grid-row: 1;
	padding: 4em;
}

#top-recruit > div > h2 {
	display: flex;
	flex-flow: column;
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 3vw, 1.75em);
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 1em;
}

#top-recruit > div > h2:before {
	content: attr(data-text);
	font-size: clamp(10px, 2vw, 0.625em);
	margin-bottom: 1em;
}

#top-recruit > figure {
	grid-column: 2;
	grid-row: 1;
	aspect-ratio: 3 / 1;
	background-color: #eee;
	border-radius: clamp(0.75em, 2vw, 1.5em) 0 0 clamp(0.75em, 2vw, 1.5em);
	overflow: hidden;
}

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

@media (max-width: 1100px) {
	#top-recruit {
		grid-template-columns: 1fr;
		padding-top: 2em;
	}

	#top-recruit > div {
		grid-column: 1;
		grid-row: 2;
		padding: 2em;
	}

	#top-recruit > div > .button-wrap {
		text-align: right;
	}

	#top-recruit > figure {
		width: calc(100% - 2em);
		grid-column: 1;
		grid-row: 1;
		margin-left: 2em;
	}
}

/* --------------------------
    about
-------------------------- */
.feature-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 2em;
	counter-reset: count;
}

.feature-list > li {
	padding: 6em 2em 2em 2em;
	background-color: var(--color-beige-light);
	border-radius: clamp(0.5em, 3vw, 1em);
	border: 1px solid var(--color-beige);
	position: relative;
}

.feature-list > li:before {
	counter-increment: count;
	content: '0'counter(count);
	font-family: var(--display-font);
	font-size: 2em;
	line-height: 1;
	position: absolute;
	top: 1.5em;
	left: 50%;
	transform: translateX(-50%);
}

.feature-list > li > h3 {
	font-family: var(--serif-font);
	font-weight: 400;
	font-size: clamp(1.125em, 2vw, 1.375em);
	margin-bottom: 1em;
	text-align: center;
	white-space: nowrap;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.feature-list {
		grid-template-columns: 1fr;
		grid-gap: 1em;
	}
}

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

.contactform dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 1rem;
	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-light2);
}

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

.contactform dl > *:is(dt, dd):not(:last-of-type) {
	margin-bottom: 2px;
}

.contactform > dl > dt.required:after {
	content: '必 須';
	display: block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0;
	padding: 0.5em 1em;
	background: var(--color-red);
	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: var(--gradient1);
	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-doctor-wrap > figure {
	aspect-ratio: 2 / 3;
	background-color: #eee;
	max-width: 240px;
	width: 75%;
	border-radius: 0.5em;
	overflow: hidden;
}

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

.about-doctor-wrap > div > .name {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	font-family: var(--serif-font);
	font-size: 0.75em;
}

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

.about-doctor-outline {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 2em;
}

.history-list {
	list-style-type: none;
}

.history-list > li > dl > dt {
	padding-left: 2em;
	font-family: var(--serif-font);
	position: relative;
}

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

.history-list > li > dl > dd {
	padding-left: 2em;
	position: relative;
}

.history-list > li > dl > dd:before {
	content: '';
	display: block;
	height: calc(100% + 1em);
	border-left: 1px solid var(--color-beige);
	position: absolute;
	top: 0;
	left: 1em;
}

.history-list > li:not(:last-of-type) > dl {
	padding-bottom: 1em;
}

@media (max-width: 768px) {
	.about-doctor-outline {
		grid-template-columns: 1fr;
	}
}

/* --------------------------
    part author
-------------------------- */
#part-author {
    border: 1px solid var(--color-beige-dull);
    background-color: var(--color-beige-light2);
    border-radius: clamp(0.75em, 2vw, 1.5em);
    padding: 2em;
}

#part-author > div > h2 {
	display: flex;
	justify-content: center;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2.5vw, 1.5em);
	margin-bottom: 1em;
	position: relative;
	z-index: 1;
}

#part-author > div > h2:before {
	content: '';
	display: block;
	width: 100%;
	border-top: 1px solid var(--color-beige);
	position: absolute;
	top: 50%;
	left: 0;
	z-index: -1;
}

#part-author > div > h2 > span {
	background-color: var(--color-beige-light2);
	padding: 0 1em;
}

#part-author > div > div {
	display: grid;
	grid-template-columns: 240px auto;
	grid-gap: 2em;
	align-items: center;
}

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

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

#part-author > div > div > div > .name {
	font-family: var(--serif-font);
	font-size: 0.75em;
	margin-bottom: 2em;
}

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

#part-author > div > div > div > dl {
	display: grid;
	grid-template-columns: 8em auto;
	grid-gap: 0.5em 2em;
}

#part-author > div > div > div > dl > dt {
	display: grid;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--color-beige-dull);
	border-radius: 0.5em;
	background-color: #fff;
	padding: 0.25em 1em;
	color: var(--color-beige-dull);
	font-size: 0.75em;
}

@media (max-width: 768px) {
	#part-author > div > div {
		display: flex;
		flex-flow: column;
	}
	
	#part-author > div > div > figure {
		max-width: 240px;
	}

	#part-author > div > div > div > div {
		text-align: 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;
	}
}

/* --------------------------
    luminous
-------------------------- */
.lum-lightbox {
	z-index: 256;
}

.lum-lightbox-inner img {
	margin: 0 auto;
}