/*
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: 35px;
    --admin-bar-height: 32px;
    --color: #333;
    --color-blue: #4274bc;
    --color-blue-light: #cad7ed;
    --color-blue-light2: #ccddfa;
    --color-blue-pale: #f0f6ff;
    --color-blue-dark: #1e478e;
    --color-aqua: #68cbe8;
    --color-red: #f4113d;
    --color-red-pale: #ffd7e0;
    --color-red2: #e84f74;
    --gradient1: linear-gradient(to right, var(--color-aqua), var(--color-blue));
    --gradient2: linear-gradient(to right, var(--color-blue), var(--color-aqua));
    --gradient3: linear-gradient(to bottom, var(--color-blue), var(--color-aqua));
    --line-height: 1.75;
    --font-size: 16px;
    --font-size-sp: 14px;
    --letter-spacing: 0.1em;
    --font-family: '游ゴシック体', 'Yu Gothic', 'YuGothic', 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
    --serif-font: '游明朝', 'YuMincho', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'HG明朝E', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
    --display-font: 'Cinzel', var(--serif-font);
    --material-symbols: 'Material Symbols Outlined';
    --font-awesome: 'Font Awesome 6 Free';
    --font-awesome-brands: 'Font Awesome 6 Brands';
    --icon-arrow-white: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI1NiAyNTYiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuc3QwIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjEyOS44MjkgMjU0LjAzMiAyNTUuODYxIDEyOCAxMjkuODI5IDEuOTY4IDkzLjcxNSAzOC4wODIgMTU3LjY5NCAxMDIuMDYyIC4xMzkgMTAyLjA2MiAuMTM5IDE1My45MzggMTU3LjY5NCAxNTMuOTM4IDkzLjcxNCAyMTcuOTE4IDEyOS44MjkgMjU0LjAzMiIvPgo8L3N2Zz4=);
	--icon-arrow-blue: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI1NiAyNTYiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuc3QwIHsKICAgICAgICBmaWxsOiAjMWU0NzhlOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjEyOS44MjkgMjU0LjAzMiAyNTUuODYxIDEyOCAxMjkuODI5IDEuOTY4IDkzLjcxNSAzOC4wODIgMTU3LjY5NCAxMDIuMDYyIC4xMzkgMTAyLjA2MiAuMTM5IDE1My45MzggMTU3LjY5NCAxNTMuOTM4IDkzLjcxNCAyMTcuOTE4IDEyOS44MjkgMjU0LjAzMiIvPgo8L3N2Zz4=);
    --icon-plus-white: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI1NiAyNTYiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuc3QwIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjI1NS44NjEgMTAyLjA2MiAxNTMuOTY5IDEwMi4wNjIgMTUzLjk2OSAuMTcgMTAyLjAzMSAuMTcgMTAyLjAzMSAxMDIuMDYyIC4xMzkgMTAyLjA2MiAuMTM5IDE1NCAxMDIuMDMxIDE1NCAxMDIuMDMxIDI1NS44OTIgMTUzLjk2OSAyNTUuODkyIDE1My45NjkgMTU0IDI1NS44NjEgMTU0IDI1NS44NjEgMTAyLjA2MiIvPgo8L3N2Zz4=);
    --ornament1: url(/wp-content/themes/tcbn/src/tachibana-top-artificial-joint-surgery-text.svg);
    --page-header-bg: url(/wp-content/uploads/2025/09/tachibana-top-slider1.webp);
}

@media (max-width: 782px) {
	:root {
		--admin-bar-height: 46px;
	}
}

/* --------------------------
    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: 500;
    min-height: 100vh;
}

body:has(#mobile-menu-wrap:popover-open) {
	overflow-y: hidden;
}

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: 960px) {
	main {
    	display: block;
		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;
}

.heading {
	display: flex;
	align-items: center;
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 2.5vw, 1.75em);
	font-weight: 500;
	color: var(--color-blue-dark);
	margin-bottom: 1em;
}

.heading.white {
	color: #fff;
}

.heading:after {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 0.5em;
	margin-left: 2em;
}

.heading.center {
	justify-content: center;
}

.heading > span:first-of-type {
	font-weight: 200;
	font-size: 2em;
	margin-right: 0.25em;
}

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

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

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

.button {
	display: inline-block;
	background: var(--gradient1);
	color: #fff;
	font-weight: 700;
	padding: 1em 5em 1em 2em;
	border-radius: clamp(0.125em, 1vw, 0.25em);
	position: relative;
	transition: opacity 0.3s ease;
}

.button:hover {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.button.white {
	background: #fff;
	color: var(--color-blue-dark);
}

.button:before {
	content: '';
	display: block;
	width: 3em;
	height: 2em;
	border-left: 1px solid #fff;
	background-image: var(--icon-arrow-white);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 30%;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.button.white:before {
	border-left: 1px solid var(--color-blue-dark);
	background-image: var(--icon-arrow-blue);
}

.button:hover:before {
	animation: test 1s ease forwards;
}

.gallery-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

.gallery-list.col2 > li {
	width: calc(50% - 1em);
}

.gallery-list.col2 > li:not(:nth-of-type(even)) {
	margin-right: 2em;
}

.gallery-list.col2 > li:nth-of-type(n + 3) {
	margin-top: 2em;
}

.gallery-list.col2 > li a {
	aspect-ratio: 3 / 2;
	display: block;
}

.gallery-list.col2 > li img {
	width: 100%;
	height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
	.gallery-list.col2 > li {
		width: 100%;
	}
	
	.gallery-list.col2 > li:not(:nth-of-type(even)) {
		margin-right: 0;
	}
	
	.gallery-list.col2 > li:nth-of-type(n + 3) {
		margin-top: 1.5em;
	}
}

.gallery-list.col3 > li {
	width: calc((100% / 3) - (2em / 3));
}

.gallery-list.col3 > li:not(:nth-of-type(3n)) {
	margin-right: 1em;
}

.gallery-list.col3 > li:nth-of-type(n + 4) {
	margin-top: 1em;
}

@media (max-width: 768px) {
	.gallery-list.col3 > li {
		width: 100%;
	}
	
	.gallery-list.col3 > li:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
	
	.gallery-list.col3 > li:nth-of-type(n + 2) {
		margin-top: 1.5em;
	}
}

.lum-lightbox {
	z-index: 300;
}

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

.gallery-wrap {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2em;
}

.gallery-wrap.col2 > figure {
	width: calc(50% - 1em);
}

.gallery-wrap.col2 > figure > div {
	aspect-ratio: 3 / 2;
	display: block;
}

.gallery-wrap.col2 > figure > div  img {
	width: 100%;
	height: 100%;
    object-fit: cover;
}

.gallery-wrap.col2 > figure:nth-of-type(even) {
	margin-left: 2em;
}

.gallery-wrap.col2 > figure:nth-of-type(n + 3) {
	margin-top: 1.5em;
}

.gallery-wrap.col2 > figure > img {
	width: 100%;
}

.gallery-wrap.col2 > figure > figcaption {
	font-size: 0.875em;
	margin-top: 1em;
}

.gallery-wrap.col3 > figure {
	width: calc(100% / 3 - (2em / 3));
	aspect-ratio: 3 / 2;
}

.gallery-wrap.col3 > figure:not(:nth-of-type(3n)) {
	margin-right: 1em;
}

.gallery-wrap.col3 > figure:nth-of-type(n + 4) {
	margin-top: 1em;
}

.gallery-wrap.col3 > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 768px) {
	.gallery-wrap.col2 > figure {
		width: 100%;
	}
	
	.gallery-wrap.col2 > figure:nth-of-type(even) {
		margin-left: 0;
	}
	
	.gallery-wrap.col2 > figure:nth-of-type(n + 2) {
		margin-top: 1.5em;
	}
	
	.gallery-wrap.col3 > figure {
		width: 100%;
	}
	.gallery-wrap.col3 > figure:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
	
	.gallery-wrap.col3 > figure + figure,
	.gallery-wrap.col3 > figure:nth-of-type(n + 4) {
		margin-top: 1.5em;
	}
}

.text-right {
	text-align: right;
	margin-bottom: 1em;
}

.youtube-embed {
	aspect-ratio: 16 / 9;
}

.youtube-embed > iframe {
	width: 100%;
	height: 100%;
}

@keyframes test {
	0% {
		background-position: 50% center;
	}
	33% {
		background-position: 150% center;
	}
	33.3% {
		background-position: -50% center;
	}
	66.6% {
		background-position: -50% center;
	}
	100% {
		background-position: 50% center;
	}
}

.button-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	margin-top: 2em;
}

.button-list > li {
	width: calc(50% - 0.5em);
}

.button-list > li:nth-of-type(odd) {
	margin-right: 1em;
}

.button-list > li:nth-of-type(n+3) {
	margin-top: 1em;
}

.button-list > li > .button {
	width: 100%;
}

.mt1 {
	margin-top: 1em;
}

.mb1 {
	margin-bottom: 1em;
}

.mt2 {
	margin-top: 2em;
}

.mb2 {
	margin-bottom: 2em;
}

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

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

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

	.button-list {
		flex-flow: column;
	}

	.button-list > li {
		width: 100%;
	}
	
	.button-list > li:nth-of-type(odd) {
		margin-right: 0;
	}

	.button-list > li:nth-of-type(n+3),
	.button-list > li + li {
		margin-top: 0.5em;
	}
}


/* --------------------------
    header
-------------------------- */
/* header */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: var(--header-height);
	padding: 0 1rem;
	border-top: 5px solid var(--color-blue);
	background-color: #fff;
	position: fixed;
	left: 0;
	z-index: 254;
}

header.fixed {
	height: var(--header-height-sp);
	border-top: 2px solid var(--color-blue);
	padding: 0 0.25rem 0 0.5rem;
}

#header-left {
	width: calc(100% - (var(--header-height) - 2rem) - 1rem);
	height: 100%;
}

header.fixed #header-left {
	width: calc(100% - (var(--header-height-sp) - 2rem) - 2rem);
	height: 100%;
}

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

header.fixed #topbar {
	display: none;
}

#topbar > h1 {
	font-size: 10px;
	font-weight: 500;
}

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

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

header.fixed #header-logo > img {
	width: auto;
	height: 30px;
}

#topbar-menu {
	list-style-type: none;
	display: flex;
	font-size: 0.75em;
}

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

#topbar-menu > li:before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--color-blue);
    background-size: 50% auto, auto auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
	margin-right: 0.25em;
}

#topbar-menu > li + li {
	margin-left: 1em;
}

#topbar-menu > li.current-menu-item > a,
#topbar-menu > li:hover > a {
	color: var(--color-blue);
	text-decoration: underline;
}

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

header.fixed #header-content {
	height: 100%;
}

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

#header-menu-wrap {
	display: flex;
	align-items: center;
	height: 100%;
}

#header-menu {
	list-style-type: none;
	display: flex;
	height: 100%;
	margin-right: 2em;
	font-family: var(--serif-font);
}

header.fixed #header-menu {
	font-size: 0.875em;
}

#header-menu > li {
	display: flex;
	align-items: center;
	height: 100%;
	position: relative;
}

#header-menu > li + li:before {
	content: '';
	display: block;
	height: 1em;
	border-left: 1px solid var(--color-blue-light);
	margin: 0 1.5em;
}

#header-menu > li.menu-item-has-children {
	padding-right: 1em;
}

#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;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

#header-menu > li > ul {
	list-style-type: none;
	min-width: 15em;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	padding: 0.5em;
	background-color: var(--color-blue-pale);
	color: var(--color-blue-dark);
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.2);
	border-radius: 0 0 0.25em 0.25em;
	font-family: var(--font-family);
	position: absolute;
	left: -1.5em;
	bottom: 0;
	transform: translateY(100%);
	transition: opacity 0.2s ease;
}

#header-menu > li:not(:first-of-type) > ul {
	left: 1.5em;
}

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

#header-menu > li ul > li + li {
	border-top: 1px solid var(--color-blue-light);
}

#header-menu > li ul > li > a {
	display: block;
	padding: 0.5em 1em;
}

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

header.fixed #header-tel {
	font-size: 0.875em;
}

#header-tel > a {
	display: flex;
	align-items: center;
	font-family: var(--display-font);
	font-size: 1.5em;
	line-height: 1.25;
}

#header-tel > a:before {
	content: '\e0b0';
	display: inline-block;
	font-family: var(--material-symbols);
	font-weight: 300;
}

#header-tel > a:after {
    content: '';
    display: block;
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--color-blue);
    background-size: 50% auto, auto auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
	margin-left: 0.25em;
}

#header-tel > small {
	display: block;
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 1;
	text-align: center;
}

header.fixed #header-tel > small {
	display: none;
}

@media (max-width: 1100px) {
	#header-menu {
		display: none;
	}
}

@media (max-width: 960px) {
	header {
		height: var(--header-height-sp);
		border-top: 2px solid var(--color-blue);
		padding: 0 0.25rem 0 0.5rem;
	}

	#header-left {
		width: calc(100% - (var(--header-height-sp) - 2rem) - 2rem);
		height: 100%;
	}

	#topbar {
		display: none;
	}

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

	#header-content {
		height: 100%;
	}

	#header-menu {
		font-size: 0.875em;
	}

	#header-tel {
		font-size: 0.875em;
	}

	#header-tel > small {
		display: none;
	}
}

/* drawer */
#drawer-open,
#drawer-close {
	display: flex;
	height: auto;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: calc(var(--header-height) - 2rem);
	aspect-ratio: 1 / 1;
	border-radius: 0.5rem;
	font-size: 1em;
	appearance: none;
	outline: none;
	border: none;
	background: var(--color-blue);
}

header.fixed #drawer-open,
header.fixed #drawer-close {
	width: calc(var(--header-height-sp) - 0.5rem);
	border-radius: 0.25rem;
}

#drawer-open > div,
#drawer-close > div {
	font-family: var(--display-font);
	font-size: 10px;
	color: #fff;
	margin-top: 1em;
}

header.fixed #drawer-open > div,
header.fixed #drawer-close > div {
	display: none;
}

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


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

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

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

header.fixed #drawer-open > span,
header.fixed #drawer-close > span {
	margin: 1em 0;
	height: 1px;
}

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

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

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

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

#drawer-close {
	position: absolute;
	top: calc(1rem + 2.5px);
	right: 1rem;
}

header.fixed #drawer-close {
	top: calc(0.25rem + 1px);
	right: 0.25rem;
}

#mobile-menu-wrap {
	display: grid;
	grid-template-columns: 2fr 1fr;
	width: 100%;
	height: 100dvh;
	border: none;
	opacity: 0;
	pointer-events: none;
	overflow-y: scroll;
	transition-property: opacity, display;
	transition-duration: 0.2s;
	transition-behavior: normal, allow-discrete;
	position: fixed;
}

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

body.customize-support #mobile-menu-wrap {
	height: calc(100svh - var(--admin-bar-height));
	margin-top: var(--admin-bar-height);
}

#mobile-menu-wrap > div:first-of-type {
	padding: var(--header-height) 4em 4em 4em;
}

header.fixed #mobile-menu-wrap > div:first-of-type {
	padding: calc(var(--header-height-sp) + 1em) 4em 4em 4em;
}

#mobile-menu-wrap > div:last-of-type {
	background-color: var(--color-blue-light2);
	padding: var(--header-height) 4em 4em 4em;
}

header.fixed #mobile-menu-wrap > div:last-of-type {
	padding: calc(var(--header-height-sp) + 1em) 4em 4em 4em;
}

#mobile-menu-wrap > div:last-of-type > figure {
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 0.25em;
	overflow: hidden;
	background-color: #eee;
	margin-bottom: 2em;
}

#mobile-menu-wrap > div:last-of-type > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#mobile-menu-wrap > div:last-of-type > p {
	font-size: 0.875em;
	margin: 1em 0;
}

#mobile-menu {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	counter-reset: count;
}

#mobile-menu > li:nth-of-type(n+4) {
	margin-top: 3em;
}

#mobile-menu > li {
	width: calc(100% / 3 - 2em);
	counter-increment: count;
}

#mobile-menu > li:not(:nth-of-type(3n)) {
	margin-right: calc(6em / 2);
}

#mobile-menu > li > a {
	display: flex;
	font-family: var(--serif-font);
	font-size: 1.25em;
	font-weight: 500;
	border-bottom: 1px solid var(--color-blue-light);
	padding-left: 3em;
	padding-bottom: 1em;
	margin-bottom: 1em;
	position: relative;
}

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

#mobile-menu > li > a:not(:empty):not([href="#"]) {
	padding-right: 2em;
}

#mobile-menu > li > a:not(:empty):not([href="#"]):after {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
	position: absolute;
	top: calc((1lh - 1em) / 2);
	right: 0;
}

#mobile-menu > li > a:not(:empty):not([href="#"]):hover {
	color: var(--color-blue-dark);
}

#mobile-menu > li > a:before {
	content: '0'counter(count);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2em;
	line-height: 1.25lh;
	border-right: 1px solid var(--color-blue-light);
	font-family: var(--display-font);
	color: var(--color-blue);
	position: absolute;
	top: 0;
	left: 0;
}

#mobile-menu > li > ul {
	list-style-type: none;
	font-size: 0.875em;
	color: #666;
	padding-left: 1em;
}

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

#mobile-menu > li > ul > li {
	padding-left: 1.75em;
	position: relative;
}

#mobile-menu > li > ul > li.current-menu-item > a,
#mobile-menu > li > ul > li > a:hover {
	color: var(--color-blue-dark);
	text-decoration: underline;
}

#mobile-menu > li > ul > li:before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--color-blue);
    background-size: 50% auto, auto auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    margin-right: 0.25em;
	position: absolute;
	top: calc((1lh - 1em) / 2);
	left: 0;
}

#mobile-menu > li > ul > li > .sub-menu {
	list-style-type: none;
	display: flex;
	flex-flow: column;
}

#mobile-menu > li > ul > li > .sub-menu > li {
	margin-top: 0.25em;
}

#mobile-menu > li > ul > li > .sub-menu > li:before {
	content: "-";
	margin-right: 0.25em;
	color: var(--color-blue-dark);
	font-weight: 600;
}

#mobile-tel {
	font-size: clamp(0.75em, 1.5vw, 1.25em);
}

#mobile-tel > a {
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: var(--display-font);
	font-size: 1.5em;
	line-height: 1.25;
}

#mobile-tel > a:before {
	content: '\e0b0';
	display: inline-block;
	font-family: var(--material-symbols);
	font-weight: 300;
}

#mobile-tel > a:after {
    content: '';
    display: block;
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--color-blue);
    background-size: 50% auto, auto auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
	margin-left: 0.25em;
}

#mobile-tel > small {
	display: block;
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 1;
	text-align: center;
}

#mobile-button-list {
	list-style-type: none;
	font-size: clamp(0.75em, 1vw, 0.875em);
	margin-top: 2em;
}

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

#mobile-button-list > li > a {
	width: 100%;
}

#mobile-logo {
	display: flex;
	justify-content: center;
}

#mobile-logo > img {
	max-width: clamp(180px, 75%, 240px);
}

#mobile-menu-wrap > div:last-of-type > p {
	display: flex;
	justify-content: center;
}

#mobile-copyright {
	font-family: var(--display-font);
	font-size: 0.75em;
	text-align: center;
	margin-top: 1.5em;
}

@media (max-width: 1366px) {
	#mobile-menu > li:nth-of-type(n+4) {
		margin-top: unset;
	}

	#mobile-menu > li:nth-of-type(n+3) {
		margin-top: 3em;
	}

	#mobile-menu > li {
		width: calc(100% / 2 - 2em);
	}

	#mobile-menu > li:not(:nth-of-type(3n)) {
		margin-right: unset;
	}

	#mobile-menu > li:nth-of-type(odd) {
		margin-right: 2em;
	}
}

@media (max-width: 1024px) {
	#mobile-menu-wrap {
		display: block;
	}

	#mobile-menu-wrap > div + div {
		margin-top: 1em;
	}

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

	#mobile-menu > li:nth-of-type(n+3) {
		margin-top: unset;
	}

	#mobile-menu > li {
		width: 100%;
	}

	#mobile-menu > li:nth-of-type(n+3),
	#mobile-menu > li + li {
		margin-top: 3em;
	}

	#mobile-menu > li:nth-of-type(odd) {
		margin-right: unset;
	}
}

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

	#drawer-open > div,
	#drawer-close > div {
		display: none;
	}

	#drawer-open > span,
	#drawer-close > span {
		margin: 1em 0;
	}

	#drawer-open > span:before,
	#drawer-close > span:before {
		height: 1px;
		transform: translateY(-0.5em);
	}

	#drawer-open > span:after,
	#drawer-close > span:after {
		height: 1px;
		transform: translateY(0.5em);
	}

	#drawer-close {
		top: calc(0.25rem + 1px);
		right: 0.25rem;
	}

	#mobile-menu-wrap > div:first-of-type {
		padding: var(--header-height-sp) 4em 4em 4em;
	}

	#mobile-menu-wrap > div:last-of-type {
		padding: var(--header-height-sp) 4em 4em 4em;
	}
}

@media (max-width: 768px) {
	#mobile-menu-wrap > div:first-of-type,
	header.fixed #mobile-menu-wrap > div:first-of-type {
		padding: calc(var(--header-height-sp) + 1em) 1em 2em 1em;
	}

	#mobile-menu-wrap > div:last-of-type,
	header.fixed #mobile-menu-wrap > div:last-of-type {
		padding: 2em 1em;
	}

	#mobile-tel {
		font-size: clamp(1em, 3vw, 1.5em);
	}
}

/* --------------------------
    footer
-------------------------- */
#fixed-pageup {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 4em;
	aspect-ratio: 1 / 1;
	background: var(--gradient1);
	border-radius: 0.25em;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	position: fixed;
	bottom: 0.5em;
	right: 0.5em;
	z-index: 253;
	transition: opacity 0.3s ease;
}

#fixed-pageup.hide {
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

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

#fixed-pageup > span {
	font-family: var(--display-font);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
	color: #fff;
	margin-top: 0.5em;
}

#fixed-pageup 

footer {
	font-size: 0.875em;
}

#footer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2em;
	position: relative;
}

#footer-header:before {
	content: '';
	display: block;
	width: 100%;
	height: 0;
	border-top: 1px solid var(--color-blue-light);
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: -1;
}

#footer-header > div {
	background-color: #fff;
	font-family: var(--serif-font);
	font-weight: 500;
	padding-right: 1em;
}

#pageup {
	background-color: #fff;
	padding: 0 1.5em 0 1em;
	font-family: var(--display-font);
	font-size: 0.875em;
	color: var(--color-blue-dark);
	position: relative;
}

#pageup:before {
    content: '';
    display: block;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-90deg);
}

#footer-content {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2em;
}

#footer-content > div {
	width: calc(100% / 4 - 1em);
}

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

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

#footer-wbh {
	display: inline-block;
	width: 100%;
	max-width: 240px;
}

#footer-wbh > img {
	width: 100%;
}

#footer-sns-list {
	list-style-type: none;
	display: flex;
	justify-content: flex-end;
	font-size: 1.25em;
	color: #fff;
}

#footer-sns-list > li:not(:first-of-type) {
	margin-left: 0.5em;
}

#footer-sns-list > li > a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	background-color: #eee;
	letter-spacing: 0;
	overflow: hidden;
	position: relative;
	z-index: 0;
}

#footer-sns-list > li > a.youtube {
	background-color: #f00;
}

#footer-sns-list > li > a.facebook {
	background-color: #1877f2;
}

#footer-sns-list > li > a.instagram {
	background: linear-gradient(135deg, #427eff 0%, #f13f79 80%) no-repeat;
}

#footer-sns-list > li > a.instagram:before {
	content: '';
	display: block;
	width: 150%;
	aspect-ratio: 1 / 1;
	background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: -1;
	transform: translate(-37.5%, -37.5%);
}

#footer-sns-list > li > a.tiktok {
	background-color: #333;
}

#footer-sns-list > li > a > i {
	position: relative;
	z-index: 1;
}

#footer-menu {
	list-style-type: none;
	display: flex;
	justify-content: space-between;
}

#footer-menu > li {
	width: calc(100% / 4 - 1em);
}

#footer-menu > li > a {
	display: block;
	border-bottom: 1px solid var(--color-blue-light);
	font-family: var(--serif-font);
	font-size: 1.25em;
	color: var(--color-blue-dark);
	padding-bottom: 1em;
	margin-bottom: 1em;
}

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

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

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

#footer-menu > li ul > li:before {
	content: '';
	display: block;
	border-top: 0.375em solid transparent;
	border-left: 0.375em solid var(--color-blue-light);
	border-right: 0.375em solid transparent;
	border-bottom: 0.375em solid transparent;
	position: absolute;
	top: calc((1lh - 0.75em) / 2);
	left: 0;
}

#footer-menu > li ul > li.current-menu-item > a,
#footer-menu > li ul > li > a:hover {
	color: var(--color-blue-dark);
	text-decoration: underline;
}

#footer-menu > li ul > li.current-menu-item:before,
#footer-menu > li ul > li:hover:before {
	border-left: 0.375em solid var(--color-blue-dark);
}

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

#copyright {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 5em;
	font-size: 0.75em;
	position: relative;
}

#copyright:before {
	content: '';
	display: block;
	width: 100%;
	height: 0;
	border-top: 1px solid var(--color-blue-light);
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: -1;
}

#copyright > span {
	display: inline-block;
	font-family: var(--display-font);
	background-color: #fff;
	padding: 0 1em;
}

@media (max-width: 768px) {
	#footer-content {
		flex-flow: column;
		align-items: center;
		text-align: center;
	}

	#footer-content > div {
		width: 100%;
	}

	#footer-content > div + div {
		margin-top: 1em;
	}

	#footer-sns-list {
		justify-content: center;
	}

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

	#footer-menu > li {
		width: 100%;
	}

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

/* part contact */
#part-contact {
	background: var(--gradient1);
	padding: 2em;
}

#part-contact > div {
	display: flex;
	background-color: #fff;
	border-radius: clamp(0.25em, 2vw, 0.5em);
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	padding: 2em 0;
}

#part-contact > div > a {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 50%;
	padding: 1em 4em 1em 2em;
	aspect-ratio: 4 / 1;
	position: relative;
}

#part-contact > div > a + a {
	border-left: 2px solid var(--color-blue-light);
}

#part-contact > div > .tel > div:first-of-type {
	display: flex;
	align-items: center;
	font-family: var(--display-font);
	font-weight: 500;
	font-size: 2em;
}

#part-contact > div > .tel > div:first-of-type > span {
	font-weight: 200;
	font-size: 1.25em;
	margin-right: 0.25em;
}

#part-contact > div > .email > div:first-of-type {
	display: flex;
	align-items: center;
	font-family: var(--display-font);
	font-weight: 500;
	font-size: 2em;
}

#part-contact > div > .email > div:first-of-type > span {
	font-weight: 200;
	font-size: 1.25em;
	margin-right: 0.25em;
}

#part-contact > div > a:before {
	content: '';
	display: block;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	background: var(--icon-arrow-white), var(--gradient1);
	background-size: 50% auto, auto;
	background-repeat: no-repeat, no-repeat;
	background-position: center center, center center;
	position: absolute;
	top: 50%;
	right: 2em;
	transform: translateY(-50%);
	transition: right 0.2s ease;
}

#part-contact > div > a:hover:before {
	right: 1.5em;
	transition: right 0.2s ease;
}

@media (max-width: 768px) {
	#part-contact > div {
		flex-flow: column;
		padding: 0 1em;
	}

	#part-contact > div > a {
		width: 100%;
		aspect-ratio: unset;
		padding: 2em 4em 2em 2em;
		font-size: 0.875em;
	}

	#part-contact > div > a + a {
		border-left: unset;
		border-top: 2px solid var(--color-blue-light);
	}
}

/* --------------------------
    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 var(--color-blue-light);
}

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

.archive-list > li > a > article {
    display: flex;
    align-items: center;
}

.archive-list > li > a > article > .thumb {
    width: 30%;
    padding-top: 20%;
    background-color: #eee;
	border-radius: 0.25em;
	overflow: hidden;
    margin-right: 2em;
    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-blue-dark);
    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.5em 0.75em;
    margin: 0 0.5em 0.5em 0;
    background-color: var(--color-blue);
    color: #fff;
	border-radius: 0.25em;
	font-weight: 700;
}

.archive-list > li > a > article > .info > .category > .important {
	background-color: var(--color-red2);
}

.archive-list > li > a > article > .info > .category > .topics {
	background-color: var(--color-aqua);
}

.archive-list > li > a > article > .info > h3 {
	font-family: var(--serif-font);
    font-size: 1rem;
	font-weight: 500;
    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 {
        flex-flow: column;
    }
    
    .archive-list > li > a > article > .info {
        width: 100%;
    }
    
    .archive-list > li > a > article > .thumb {
        width: 100%;
        padding-top: calc(100% / 3 * 2);
        margin-right: 0;
        margin-bottom: 1em;
    }
}

/* 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;
    width: 3em;
    height: 3em;
    background: var(--color-blue-pale);
    color: var(--color-blue-dark);
	border-radius: 0.25em;
    margin: 0 0.5em;
}

#pagination > span,
#pagination > a:hover {
    background: var(--gradient2);
    color: #fff;
}


/* --------------------------
    single
-------------------------- */
/* single */
#single-date {
    display: block;
	font-family: var(--display-font);
    font-size: 1em;
    font-weight: 500;
	color: var(--color-blue-dark);
    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) {
	background: var(--gradient2);
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2vw, 1.75em);
	color: var(--color-blue-dark);
	padding: 0.75em 1em 0.75em 1.5em;
	border-radius: 0.25em;
	color: #fff;
    margin-bottom: 1em;
	position: relative;
}

.single-content h1:not(.plain):before,
.single-content h2:not(.plain):before {
	content: '';
	display: block;
	width: 0.125em;
	height: calc(100% - 1em);
	background-color: #fff;
	border-radius: 0.0625em;
	position: absolute;
	left: 0.5em;
	top: 0.5em;
}

.single-content h3:not(.plain) {
	display: flex;
	flex-flow: column;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.125em, 1.75vw, 1.5em);
}

.single-content h3:not(.plain):after {
	content: '';
	display: block;
	width: 100%;
	height: 0.125em;
	background: var(--gradient2);
	border-radius: 0.0625em;
	margin: 0.5em 0 1em 0;
}

.single-content h4:not(.plain) {
	display: flex;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1em, 1.5vw, 1.25em);
    margin-bottom: 1em;
}

.single-content h4:not(.plain):before {
	content: '';
	display: block;
	width: 0.125em;
	background: var(--gradient3);
	border-radius: 0.0625em;
	margin-right: 0.75em;
}

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

.single-content h5:not(.plain):before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background-color: var(--color-blue);
	position: absolute;
	top: calc((1lh - 0.5em) / 2);
	left: 0;
}

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

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

.single-content ul:not(.plain) {
	list-style-type: none;
    background-color: var(--color-blue-pale);
	border: 1px solid var(--color-blue-light);
    padding: 2em;
	border-radius: 0.25em;
    margin-bottom: 2em;
}

.single-content ul:not(.plain) > li {
	padding-left: 1.5em;
	position: relative;
}

.single-content ul:not(.plain) > li:before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background-color: var(--color-blue);
	position: absolute;
	top: calc((1lh - 0.5em) / 2);
	left: 0;
}

.single-content ol:not(.plain) {
    background-color: var(--color-blue-pale);
	border: 1px solid var(--color-blue-light);
    padding: 2em 2em 2em 3em;
	border-radius: 0.25em;
    margin-bottom: 2em;
}

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

.single-content *:is(ul, ol):not(.plain) *:is(ul, ol):not(.plain) {
    background-color: unset;
	border: none;
    padding: 0 0 0 1em;
	margin-bottom: 1em;
	margin-top: 1em;
}

.single-content blockquote:not(.plain) {
    background-color: var(--color-blue-pale);
	border: 1px solid var(--color-blue-light);
	border-radius: 0.25em;
    padding: 2em;
    margin-bottom: 2em;
}

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

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

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

.single-content dl:not(.plain) > dd {
    width: 65%;
    background-color: var(--color-blue-pale);
    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;
}

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

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

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

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

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

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

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

.single-content figure:not(.plain) > figcaption {
	font-size: 0.875em;
	margin-top: 1em;
	text-align: justify;
}

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

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

.single-content a:not(.plain)[target="_blank"]:after {
    content: '\f4c8';
    font-family: var(--material-symbols);
    font-weight: 400;
    font-size: 1em;
	vertical-align: bottom;
}

.single-content a:not(.plain)[href$=".pdf"]:after {
    content: '\f1c1';
    font-family: var(--font-awesome);
    font-weight: 500;
    font-size: 0.875em;
	vertical-align: text-bottom;
	padding-left: 0.25em;
}

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

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

.single-content * + .gallery {
	margin-top: 2em;
}

.single-content .gallery {
	display: grid;
	grid-gap: 2em;
}

.single-content .gallery > br {
	display: none;
}

.single-content .gallery-columns-1 {
	grid-template-columns: repeat(1, 1fr);
}

.single-content .gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.single-content .gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.single-content .gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.single-content .gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.single-content .gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.single-content .gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.single-content .gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.single-content .gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.single-content .gallery > dl:not(.plain) {
	display: unset;
	flex-wrap: unset;
	border-top: unset;
	margin-bottom: unset;
}

.single-content .gallery > dl:not(.plain) > dt {
	display: block;
	flex-flow: unset;
	justify-content: unset;
	align-items: unset;
	width: unset;
	background-color: unset;
	border-bottom: unset;
	padding: unset;
	font-weight: unset;
	text-align: unset;
}

.single-content .gallery > dl:not(.plain) > dd {
	display: block;
	flex-flow: unset;
	justify-content: unset;
	width: unset;
	background-color: unset;
	border-bottom: unset;
	padding: unset;
	margin-top: 1em;
	font-size: 0.875em;
	line-height: 1.75;
	text-align: justify;
	word-break: break-all;
}

.single-content .gallery img:not(.plain) {
	margin-bottom: unset;
	width: unset;
	height: unset;
	max-width: 100%;
	margin: 0 auto;
}

@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;
	}
	
	.single-content ol:not(.plain) {
		padding: 1em 1em 1em 2em;
	}
	
	.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 dl:not(.plain) > dt:not(:last-of-type),
	.single-content dl:not(.plain) > dd:not(:last-of-type) {
		margin-bottom: 0;
	}

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

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

	.single-content .gallery-columns-1,
	.single-content .gallery-columns-2,
	.single-content .gallery-columns-3,
	.single-content .gallery-columns-4,
	.single-content .gallery-columns-5,
	.single-content .gallery-columns-6,
	.single-content .gallery-columns-7,
	.single-content .gallery-columns-8,
	.single-content .gallery-columns-9 {
		grid-template-columns: 1fr;
	}
}

/* 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(--main-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 {
	width: 100%;
/* 	height: calc(100vh - var(--header-height) - 1em); */
	aspect-ratio: 16 / 9;
	padding: 0 1em;
	background: linear-gradient(to top, var(--color-blue-pale) 50%, transparent 50%);
	position: relative;
}

#top-main-slider {
	width: 100%;
	height: 100%;
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	background-color: #eee;
	overflow: hidden;
	position: relative;
}

#top-main-slider .swiper-slide {
	background-color: #eee;
}

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

#top-main-slider .swiper-slide > .text1,
#top-main-slider .swiper-slide > .text2,
#top-main-slider .swiper-slide > .text3 {
	width: 100%;
	height: 100%;
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
}

#top-main-slider .swiper-slide > .text1 > h2 {
	font-family: var(--serif-font);
	font-size: clamp(2em, 4.5vw, 3.5em);
	font-weight: 500;
	line-height: 1.5;
	writing-mode: vertical-rl;
	position: absolute;
	top: 4vw;
	right: 4vw;
}

#top-main-slider .swiper-slide > .text1 > div {
	position: absolute;
	left: 4vw;
	bottom: 4vw;
}

#top-main-slider .swiper-slide > .text1 > div > h3 {
	font-family: var(--display-font);
	font-size: clamp(2em, 5vw, 4.5em);
	font-weight: 400;
	line-height: 1.25;
}

#top-main-slider .swiper-slide > .text1 > div > div {
	font-family: var(--serif-font);
	font-size: clamp(0.875em, 2vw, 1.25em);
	font-weight: 400;
	margin-top: 1em;
}

#top-main-slider .swiper-slide > .text2 > div:first-of-type {
	text-align: right;
	position: absolute;
	right: 4vw;
	top: 8vw;
}

#top-main-slider .swiper-slide > .text2 > div:first-of-type > h2 {
	font-family: var(--display-font);
	font-size: clamp(2em, 5vw, 4.5em);
	font-weight: 500;
}

#top-main-slider .swiper-slide > .text2 > div:first-of-type > div {
	font-family: var(--serif-font);
	font-size: clamp(0.875em, 2vw, 1.25em);
	font-weight: 500;
}

#top-main-slider .swiper-slide > .text2 > div:last-of-type {
	position: absolute;
	left: 4vw;
	bottom: 6vw;
}

#top-main-slider .swiper-slide > .text2 > div:last-of-type > div {
	font-family: var(--serif-font);
	font-size: clamp(1.5em, 4vw, 2.25em);
	font-weight: 500;
}

#top-main-slider .swiper-slide > .text3 {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
}

#top-main-slider .swiper-slide > .text3 > div {
	font-family: var(--serif-font);
	font-size: clamp(0.875em, 2vw, 1.25em);
	font-weight: 500;
	text-align: center;
}

#top-main-slider .swiper-slide > .text3 > h2 {
	font-family: var(--serif-font);
	font-size: clamp(2em, 5vw, 4.5em);
	font-weight: 500;
	text-align: center;
	line-height: 1.25;
}

@media (max-width: 768px) {
	#top-main-banner {
		width: 100%;
		height: unset;
		padding: 0 0.5em;
		aspect-ratio: 1 / 1;
	}
}

#top-main-navigation {
	padding: 0 2em;
	margin-top: -2em;
	position: relative;
	z-index: 4;
}

#top-main-navigation:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--color-blue-pale);
	position: absolute;
	top: 2em;
	left: 0;
	z-index: -1;
}

#contents-menu {
	list-style-type: none;
	display: flex;
	background: var(--gradient2);
	border-radius: clamp(0.25em, 1vw, 0.5em);
}

#contents-menu > li {
	width: calc(100% / 5);
	padding: 2em 0;
	position: relative;
}

#contents-menu > li:nth-of-type(n+6) {
	display: none;
}

#contents-menu > li:before {
	content: '';
	display: block;
	width: calc(100% - 2em);
	border-top: 3px solid #fff;
	position: absolute;
	top: 0;
	left: 1em;
}

#contents-menu > li + li:after {
	content: '';
	width: 0;
	height: calc(100% - 4em);
	border-left: 1px solid #fff;
	position: absolute;
	top: 2em;
	left: 0;
}

#contents-menu > li > a {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

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

#contents-menu > li > a > figure {
	width: clamp(3em, 5vw, 4em);
	aspect-ratio: 1 / 1;
	margin-bottom: 1em;
}

#contents-menu > li > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#contents-menu > li > a > span {
	display: inline-flex;
	justify-content: center;
	background-color: #fff;
	color: var(--color-blue);
	font-weight: 700;
	font-size: 0.875em;
	padding: 0.25lh 2lh 0.25lh 1lh;
	border-radius: calc(0.75lh + 1px);
	border: 1px solid #fff;
	position: relative;
	transition: all 0.2s ease;
}

#contents-menu > li:hover > a:not([href="#"]) > span {
	background-color: var(--color-blue);
	color: #fff;
	transition: all 0.2s ease;
}

#contents-menu > li > a > span:before {
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	background: var(--icon-arrow-white), var(--gradient1);
	background-size: 50% auto, auto;
	background-repeat: no-repeat, no-repeat;
	background-position: center center, center center;
	position: absolute;
	top: 50%;
	right: 1.5em;
	transform: translateY(-50%);
}

#contents-menu > li:has(ul) > a[href="#"] > span:before {
	background: var(--icon-plus-white), var(--gradient1);
	background-size: 50% auto, auto;
	background-repeat: no-repeat, no-repeat;
	background-position: center center, center center;
}

#contents-menu > li:hover > a:not([href="#"]) > span:before {
	background: var(--icon-arrow-blue), #fff;
	background-size: 50% auto, auto;
	background-repeat: no-repeat, no-repeat;
	background-position: center center, center center;
}

#contents-menu > li > ul {
	list-style-type: none;
	width: calc(100% - 2em);
	background-color: var(--color-blue-pale);
	border-radius: 0.25em 0.25em 0 0;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.2);
	padding: 0.5em;
	opacity: 0;
	pointer-events: none;
	color: var(--color-blue);
	position: absolute;
	top: 3px;
	left: 1em;
	transform: translateY(-100%);
	transition: top 0.2s ease, opacity 0.2s ease;
}

#contents-menu > li:hover > ul {
	top: 0;
	opacity: 1;
	pointer-events: auto;
	transition: top 0.2s ease, opacity 0.2s ease;
}

#contents-menu > li ul > li + li {
	border-top: 1px dotted var(--color-blue-light);
}

#contents-menu > li ul > li > a {
	display: block;
	padding: 0.5em 1em;
}

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

@media (max-width: 1100px) {
	#top-main-navigation {
		display: none;
	}
}

#top-important {
	background-color: var(--color-blue-pale);
}

#top-important-wrap {
	display: flex;
	background-color: var(--color-red-pale);
	padding: 1em 0;
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	color: var(--color-red);
}

#top-important-wrap > h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 12em;
	font-size: 1em;
	border-right: 1px solid var(--color-red);
}

#top-important-list {
	list-style-type: none;
	width: calc(100% - 12em);
	padding: 0 2em;
}

#top-important-list > li + li {
	border-top: 1px dotted var(--color-red);
}

#top-important-list > li > a {
	display: block;
	padding: 0.5em 0;
}

#top-important-list > li > a > article {
	display: flex;
	align-items: center;
}

#top-important-list > li > a > article > time {
	width: 7em;
	margin-right: 1em;
	white-space: nowrap;
}

#top-important-list > li > a > article > h3 {
	width: calc(100% - 8em);
	font-size: 1em;
	font-weight: 500;
}

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

@media (max-width: 768px) {
	#top-important-wrap {
		flex-flow: column;
	}

	#top-important-wrap > h2 {
		width: 100%;
		border-right: unset;
		border-bottom: 1px solid var(--color-red);
		padding-bottom: 1em;
		margin-bottom: 1em;
	}

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

	#top-important-list > li > a > article {
    	flex-flow: column;
    	align-items: flex-start;
	}

	#top-important-list > li > a > article > time {
		width: 100%;
	}

	#top-important-list > li > a > article > h3 {
		width: 100%;
	}
}

#part-wbh {
	background-color: var(--color-blue-pale);
}

#part-wbh > div > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #d3cbaf;
	background-color: #f9f8f4;
	padding: 2em 6em 2em 3em;
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	position: relative;
	transition: background-color 0.2s ease;
}

#part-wbh > div > a:hover {
	background-color: #f3efde;
	transition: background-color 0.2s ease;
}

#part-wbh > div > a:before {
    content: '';
    display: block;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
    position: absolute;
    top: 50%;
    right: 2.5em;
    transform: translateY(-50%);
	transition: right 0.2s ease;
}

#part-wbh > div > a:hover:before {
    right: 2em;
	transition: right 0.2s ease;
}

#part-wbh > div > a > figure {
	width: 30%;
}

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

#part-wbh > div > a > div {
	width: calc(70% - 2em)
}

#part-wbh > div > a > div > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
	color: var(--color-blue-dark);
	margin-bottom: 1em;
}

#part-wbh > div > a:hover > div > p {
	color: var(--color-blue-dark);
	text-decoration: underline;
}

@media (max-width: 768px) {
	#part-wbh > div > a {
		flex-flow: column;
		padding: 1em 1em 3em 1em;
	}

	#part-wbh > div > a:before {
   		top: unset;
	    right: unset;
		left: 50%;
		bottom: 1em;
		transform: translateX(-50%);
	}

	#part-wbh > div > a > figure {
		width: 100%;
		max-width: 240px;
		margin: 0 auto;
	}

	#part-wbh > div > a > div {
		width: 100%;
		margin-top: 1em;
	}

	#part-wbh > div > a > div > h3 {
		display: flex;
		justify-content: center;
	}
}

#top-timetable {
	background-color: var(--color-blue-pale);
}

#top-timetable > div > table {
	width: 100%;
	font-size: clamp(10px, 1.5vw, 1em);
	letter-spacing: clamp(0px, 0.1vw, 0.1em);
}

#top-timetable > div > table > thead > tr > th {
	background-color: var(--color-blue);
	color: #fff;
	padding: 1em;
}

#top-timetable > div > table > thead > tr:first-of-type > th:first-of-type {
	border-radius: clamp(0.25em, 1.5vw, 0.5em) 0 0 0;
}

#top-timetable > div > table > thead > tr:first-of-type > th:last-of-type {
	border-radius: 0 clamp(0.25em, 1.5vw, 0.5em) 0 0;
}

#top-timetable > div > table > tbody > tr:last-of-type > td:first-of-type {
	border-radius: 0 0 0 clamp(0.25em, 1.5vw, 0.5em);
}

#top-timetable > div > table > tbody > tr:last-of-type > td:last-of-type {
	border-radius: 0 0 clamp(0.25em, 1.5vw, 0.5em) 0;
}

#top-timetable > div > table > tbody > tr > td {
	background-color: #fff;
	color: var(--color-blue);
	padding: 1em;
}

#top-timetable > div > table > * > tr > *:first-of-type {
	display: flex;
	flex-flow: column;
	align-items: center;
}

#top-timetable > div > table > * > tr > * + * {
	border-left: 1px solid var(--color-blue-light);
}

#top-timetable > div > table > tbody > tr + tr > * {
	border-top: 1px solid var(--color-blue-light);
}

#top-timetable > div > table > * > tr > *:first-of-type > span {
	display: flex;
	align-items: center;
}

#top-timetable > div > table > * > tr > *:first-of-type > span > span {
	font-weight: 200;
	margin-right: 0.25em;
}

#top-timetable > div > table > * > tr > * {
	text-align: center;
}

#top-timetable > div > table + div {
	margin-top: 1em;
}

#top-doctor-in-charge {
	background: linear-gradient(to bottom, var(--color-blue-pale) 50%, transparent 50%);
}

#top-doctor-in-charge-wrap {
	display: flex;
	justify-content: space-between;
}

#top-doctor-in-charge-wrap > a {
	display: flex;
	aspect-ratio: 2 / 1;
	width: calc(50% - 1em);
	background-color: #fff;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	overflow: hidden;
	transition: background-color 0.3s ease;
}

#top-doctor-in-charge-wrap > a:hover {
	background-color: var(--color-blue);
	transition: background-color 0.3s ease;
}

#top-doctor-in-charge-wrap > a > figure {
	width: 50%;
	aspect-ratio: 1 / 1;
	background-color: #eee;
	overflow: hidden;
}

#top-doctor-in-charge-wrap > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#top-doctor-in-charge-wrap > a:hover > figure > img {
	transform: scale(1.05);
	opacity: 0.7;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#top-doctor-in-charge-wrap > a > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 50%;
	aspect-ratio: 1 / 1;
	color: var(--color-blue-dark);
	font-size: clamp(1em, 1.75vw, 1.25em);
	transition: color 0.3s ease;
}

#top-doctor-in-charge-wrap > a:hover > div {
	color: #fff;
	transition: color 0.3s ease;
}

#top-doctor-in-charge-wrap > a > div > span {
	font-size: 2em;
	font-weight: 200;
}

#top-doctor-in-charge-wrap > a > div > h3 {
	display: flex;
	flex-flow: column;
	align-items: center;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: 1em;
	margin-top: 0.5em;
}

#top-doctor-in-charge-wrap > a > div > h3:after {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	margin-top: 0.5em;
}

#top-doctor-in-charge-wrap > a:hover > div > h3:after {
    background: var(--icon-arrow-blue), #fff;
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
}

@media (max-width: 768px) {
	#top-doctor-in-charge {
		background: linear-gradient(to bottom, var(--color-blue-pale) calc(75vw + 1em), transparent calc(75vw + 1em));
	}

	#top-doctor-in-charge-wrap {
		flex-flow: column;
	}

	#top-doctor-in-charge-wrap > a {
		width: 100%;
	}

	#top-doctor-in-charge-wrap > a + a {
		margin-top: 2em;
	}
}

#top-specialty-outpatient > div > div {
	background: var(--gradient2);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
}

#top-specialty-outpatient > div > div > .heading {
	border-bottom: 1px solid #fff;
	padding: 0.5em 1em;
	margin-bottom: 0;
}

#top-specialty-outpatient-list {
	list-style-type: none;
	display: flex;
	padding: 2em;
}

#top-specialty-outpatient-list > li {
	width: calc(100% / 3 - 1em);
}

#top-specialty-outpatient-list > li:not(:nth-of-type(3n)){
	margin-right: calc(3em / 2);
}

#top-specialty-outpatient-list > li > a {
	display: flex;
	width: 100%;
	background-color: #fff;
	aspect-ratio: 3 / 1;
	border-radius: clamp(0.125em, 1vw, 0.25em);
	font-size: clamp(0.75em, 1.25vw, 1em);
	overflow: hidden;
	border: 1px solid #fff;
	transition: background-color 0.3s ease;
}

#top-specialty-outpatient-list > li > a:hover {
	background-color: var(--color-blue);
	transition: background-color 0.3s ease;
}

#top-specialty-outpatient-list > li > a > figure {
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc(100% / 3);
	aspect-ratio: 1 / 1;
	background-color: var(--color-blue-pale);
}

#top-specialty-outpatient-list > li > a > figure > span {
	color: var(--color-blue-dark);
	font-weight: 200;
	font-size: 4em;
	font-variation-settings:
		'FILL' 0,
		'wght' 200,
		'GRAD' 0,
		'opsz' 24;
}

#top-specialty-outpatient-list > li > a > h3 {
	display: flex;
	align-items: center;
	width: calc(100% / 3 * 2);
	aspect-ratio: 2 / 1;
	font-family: var(--serif-font);
	font-size: 1em;
	font-weight: 500;
	color: var(--color-blue-dark);
	padding: 1em 4em 1em 2em;
	position: relative;
}

#top-specialty-outpatient-list > li > a:hover > h3 {
	color: #fff;
}

#top-specialty-outpatient-list > li > a > h3:after {
    content: '';
    display: block;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	transition: right 0.3s ease;
}

#top-specialty-outpatient-list > li > a:hover > h3:after {
    background: var(--icon-arrow-blue), #fff;
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	right: 1em;
	transition: right 0.3s ease;
}

@media (max-width: 768px) {
	#top-specialty-outpatient-list {
		flex-flow: column;
		padding: 1em;
	}

	#top-specialty-outpatient-list > li {
		width: 100%;
	}

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

	#top-specialty-outpatient-list > li > a {
		font-size: clamp(0.75em, 3vw, 2em);
	}
}

#top-contents > div {
	display: flex;
}

#top-contents > div > a {
	display: block;
	width: 50%;
	aspect-ratio: 16 / 9;
	background-color: #eee;
	position: relative;
}

#top-contents > div > a > figure {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#top-contents > div > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all 0.3s ease;
}

#top-contents > div > a:hover > figure > img {
	transform: scale(1.05);
	transition: all 0.3s ease;
}

#top-contents > div > a > figure:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--color-blue);
	opacity: 0.3;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	transition: all 0.3s ease;
}

#top-contents > div > a:hover > figure:before {
	opacity: 0;
	transition: all 0.3s ease;
}

#top-contents > div > a > h3 {
	width: calc(100% - 4em);
	padding: 1em 4em 1em 2em;
	background-color: #fff;
	border-radius: clamp(0.125em, 1vw, 0.25em);
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	font-family: var(--serif-font);
	font-size: clamp(0.875em, 1.5vw, 1.25em);
	font-weight: 500;
	color: var(--color-blue-dark);
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: 2;
	transform: translate(-50%, 1em);
	transition: background-color 0.3s ease, color 0.3s ease;
}

#top-contents > div > a:hover > h3 {
	background-color: var(--color-blue);
	color: #fff;
	transition: background-color 0.3s ease, color 0.3s ease;
}

#top-contents > div > a > h3:before {
	content: '';
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
}

#top-contents > div > a:hover > h3:before {
    background: var(--icon-arrow-blue), #fff;
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
}

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

	#top-contents > div > a {
		width: 100%;
	}

	#top-contents > div > a > h3 {
		transform: translate(-50%, 0);
	}
}

#top-news {
	background-color: var(--color-blue-pale);
}

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

#top-news > div > h2 {
	grid-column: 1;
	grid-row: 1;
	margin-bottom: 0;
}

#top-news > div > div {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	justify-self: flex-end;
	align-self: center
}

#top-news-list {
	grid-column: 1 / span 2;
	grid-row: 2;
	list-style-type: none;
	border: 1px solid var(--color-blue-light);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	background-color: #fff;
	padding: 1em 2em;
}

#top-news-list > li + li {
	border-top: 1px solid var(--color-blue-light);
}

#top-news-list > li > a {
	display: block;
	padding: 1em 3em 1em 0;
	position: relative;
}

#top-news-list > li > a:before {
    content: '';
    display: block;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

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

#top-news-list > li > a > article {
	display: flex;
	align-items: center;
}

#top-news-list > li > a > article > time {
	width: 6rem;
	font-family: var(--display-font);
	font-weight: 500;
	color: var(--color-blue-dark);
	margin-right: 1rem;
}

#top-news-list > li > a > article > .category {
	display: flex;
	flex-flow: column;
	width: 8rem;
	margin-right: 2rem;
}

#top-news-list > li > a > article > .category > span {
	display: flex;
	justify-content: center;
	width: 100%;
	background-color: var(--color-blue);
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
	padding: 0.25em 1em;
	font-size: 0.75em;
	font-weight: 700;
	color: #fff;
}

#top-news-list > li > a > article > .category > .important {
	background-color: var(--color-red2);
}

#top-news-list > li > a > article > .category > .topics {
	background-color: var(--color-aqua);
}

#top-news-list > li > a > article > .category > span + span {
	margin-top: 0.5em;
}

#top-news-list > li > a > article > h3 {
	width: calc(100% - 17rem);
	font-size: 1em;
	font-weight: 500;
}

#top-news-list > li > a:hover > article > h3 {
	color: var(--color-blue-dark);
	text-decoration: underline;
}

@media (max-width: 768px) {
	#top-news > div {
		display: block;
	}

	#top-news > div > h2 {
		justify-content: center;
		margin-bottom: 1em;
	}

	#top-news > div > div {
		justify-self: center;
		margin-top: 2em;
	}

	#top-news-list {
		padding: 1em;
	}

	#top-news-list > li > a > article {
		flex-wrap: wrap;
	}

	#top-news-list > li > a > article > h3 {
		width: 100%;
		margin-top: 0.5em;
	}
}

#top-topics {
	overflow-x: hidden;
	background: linear-gradient(to bottom, var(--color-blue-pale) 50%, transparent 50%);
}

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

#top-topics > div > h2 {
	grid-column: 1;
	grid-row: 1;
	margin-bottom: 0;
}

#top-topics > div > div:last-of-type {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	justify-self: flex-end;
	align-self: center
}

#top-topics-slider-wrap {
	grid-column: 1 / span 2;
	grid-row: 2;
}

#top-topics-slider .swiper-slide > a {
	display: block;
}

#top-topics-slider .swiper-slide > a > article > figure {
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
	background-color: #eee;
	overflow: hidden;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	margin-bottom: 1em;
}

#top-topics-slider .swiper-slide > a > article > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all 0.3s ease;
}

#top-topics-slider .swiper-slide > a:hover > article > figure > img {
	opacity: 0.7;
	transform: scale(1.05);
	transition: all 0.3s ease;
}

#top-topics-slider .swiper-slide > a > article > div {
	display: flex;
	justify-content: space-between;
}

#top-topics-slider .swiper-slide > a > article > div > time {
	display: flex;
	flex-flow: column;
	width: 4rem;
	font-family: var(--display-font);
	font-weight: 500;
	color: var(--color-blue-dark);
}

#top-topics-slider .swiper-slide > a > article > div > time > span:first-of-type {
	font-size: 0.875em;
}

#top-topics-slider .swiper-slide > a > article > div > time > span:last-of-type {
	font-size: 1.25em;
}

#top-topics-slider .swiper-slide > a > article > div > h3 {
	width: calc(100% - 5rem);
	font-size: 1em;
	font-weight: 500;
}

#top-topics-slider .swiper-slide > a:hover > article > div > h3 {
	text-decoration: underline;
	color: var(--color-blue-dark);
}

#top-topics-slider-navigation {
	display: flex;
	justify-content: space-between;
	margin: 2em 0 1em 0;
}

#top-topics-slider-navigation > .swiper-button-prev,
#top-topics-slider-navigation > .swiper-button-next {
	width: 3em;
	height: 3em;
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
	background-image: var(--icon-arrow-white), var(--gradient1);
	background-position: center, center;
	background-size: 30% auto, auto auto;
	background-repeat: no-repeat, no-repeat;
	position: relative;
	left: unset;
	right: unset;
}

#top-topics-slider-navigation > .swiper-button-prev {
	background-image: var(--icon-arrow-white), var(--gradient2);
	transform: scaleX(-1);
}

#top-topics-slider-navigation > .swiper-button-prev:after,
#top-topics-slider-navigation > .swiper-button-next:after {
	display: none;
}

@media (max-width: 768px) {
	#top-topics > div {
		display: block;
	}

	#top-topics > div > h2 {
		justify-content: center;
	}

	#top-topics > div > div:last-of-type {
		justify-self: center;
		text-align: center;
		margin-top: 2em;
	}

	#top-topics-slider-navigation > .swiper-button-prev,
	#top-topics-slider-navigation > .swiper-button-next {
		width: 2em;
		height: 2em;
	}
}

#top-artificial-joint-surgery {
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

#top-artificial-joint-surgery:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: var(--gradient2);
	opacity: 0.8;
	position: absolute;
	top: 0;
	left: 0;
}

#top-artificial-joint-surgery:after {
	content: '';
	display: block;
	width: 100%;
	height: 7.5vw;
	background-image: var(--ornament1);
	background-repeat: repeat-x;
	background-position: 0 center;
	background-size: 75% auto;
	position: absolute;
	top: 2em;
	left: 0;
	animation: loopLeft 15s linear infinite;
}

@keyframes loopLeft {
	from {
		background-position: 0 center;
	}
	to {
		background-position: -300% center;
	}
}

@keyframes loopLeftSP {
	from {
		background-position: 0 center;
	}
	to {
		background-position: 300% center;
	}
}

#top-artificial-joint-surgery {
	margin-top: 4em;
}

#top-artificial-joint-surgery > div {
	display: flex;
	flex-flow: row-reverse;
	justify-content: space-between;
	position: relative;
	z-index: 1;
}

#top-artificial-joint-surgery > div > figure {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	grid-gap: 1em;
	width: 40%;
}

#top-artificial-joint-surgery > div > figure > div {
	aspect-ratio: 3 / 4;
	background-color: var(--color-blue-pale);
	border-radius: clamp(0.25em, 2vw, 0.5em);
	overflow: hidden;
}

#top-artificial-joint-surgery > div > figure > div:nth-of-type(1) {
	transform: translate(0, -4em);
}

#top-artificial-joint-surgery > div > figure > div:nth-of-type(2) {
	transform: translate(0, 0);
}

#top-artificial-joint-surgery > div > figure > div:nth-of-type(3) {
	transform: translate(-4em, -4em);
}

#top-artificial-joint-surgery > div > figure > div:nth-of-type(4) {
	transform: translate(-4em, 0);
}

#top-artificial-joint-surgery > div > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	width: 50%;
	color: #fff;
	padding-top: 7.5vw;
}

#top-artificial-joint-surgery > div > div > h2 {
	font-family: var(--serif-font);
	font-size: clamp(1.5em, 3vw, 2em);
	font-weight: 500;
	margin-bottom: 1em;
}

#top-artificial-joint-surgery > div > div > p {
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 2vw, 1.5em);
	font-weight: 500;
	line-height: 1.75;
	margin-bottom: 1em;
}

@media (max-width: 768px) {
	#top-artificial-joint-surgery:after {
		margin-top: 4em;
		background-size: 150% auto;
		animation: loopLeftSP 15s linear infinite;
	}

	#top-artificial-joint-surgery > div {
		flex-flow: column;
	}

	#top-artificial-joint-surgery > div > figure {
		width: 66.6%;
		margin: 0 auto;
		transform: translateX(2em);
	}

	#top-artificial-joint-surgery > div > div {
		width: 100%;
		align-items: center;
		text-align: center;
	}
}

#top-contents2 {
	overflow-x: hidden;
}

#top-contents2-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#top-contents2-list > li {
	width: calc(50% - 2em);
	opacity: 0;
}

#top-contents2-list > li.show {
	opacity: 1;
}

#top-contents2-list > li:nth-of-type(odd) {
	transform: translateX(-4em);
	margin-right: 4em;
}

#top-contents2-list > li.show:nth-of-type(odd) {
	transform: translateX(0);
	margin-right: 4em;
	transition: opacity 0.3s ease, transform 0.6s ease;
}

#top-contents2-list > li:nth-of-type(n+3) {
	margin-top: 3em;
}

#top-contents2-list > li:nth-of-type(even) {
	transform: translateX(4em) translateY(8em);
}

#top-contents2-list > li.show:nth-of-type(even) {
	transform: translateX(0) translateY(8em);
	transition: opacity 0.3s ease, transform 0.6s ease;
}

#top-contents2-list > li > a {
	display: block;
	border-radius: clamp(0.15em, 1.5vw, 0.25em);
	overflow: hidden;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
}

#top-contents2-list > li > a > figure {
	width: 100%;
	aspect-ratio: 3 / 2;
	background-color: #eee;
	overflow: hidden;
}

#top-contents2-list > li > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#top-contents2-list > li > a:hover > figure > img {
	opacity: 0.7;
	transform: scale(1.05);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#top-contents2-list > li > a > h3 {
	background-color: #fff;
	padding: 1em 4em 1em 2em;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1em, 1.5vw, 1.25em);
	color: var(--color-blue-dark);
	position: relative;
	transition: background-color 0.2s ease;
}

#top-contents2-list > li > a:hover > h3 {
	background-color: var(--color-blue);
	color: #fff;
	transition: background-color 0.2s ease;
}

#top-contents2-list > li > a > h3:before {
	content: '';
	display: block;
	width: 3em;
	height: 2em;
	border-left: 1px solid var(--color-blue-dark);
	background-image: var(--icon-arrow-blue);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 30%;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

#top-contents2-list > li > a:hover > h3:before {
	border-left: 1px solid #fff;
	background-image: var(--icon-arrow-white);
}

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

	#top-contents2-list > li {
		width: 100%;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}

	#top-contents2-list > li:nth-of-type(odd) {
		margin-right: unset;
		transform: translateX(-4em);
	}

	#top-contents2-list > li.show:nth-of-type(odd) {
		transform: translateX(0) translateY(0);
	}

	#top-contents2-list > li + li,
	#top-contents2-list > li:nth-of-type(n+3) {
		margin-top: 1em;
	}

	#top-contents2-list > li:nth-of-type(even) {
		transform: translateX(4em) translateY(0);
	}

	#top-contents2-list > li.show:nth-of-type(even) {
		transform: translateX(0) translateY(0);
	}
}

#top-promotion {
	background: linear-gradient(to top, var(--color-blue-pale) 50%, transparent 50%);
}

#top-promotion > div > div {
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	border: 2px solid var(--color-blue-light);
	border-radius: clamp(0.25em, 2vw, 0.5em);
	padding: 4em;
}

#top-promotion > div > div > figure {
	width: calc(30% - 2em);
	aspect-ratio: 1 / 1.414;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
}

#top-promotion > div > div > figure > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

#top-promotion > div > div > div {
	width: calc(70% - 2em);
}

#top-promotion-button-wrap {
	display: flex;
	flex-wrap: wrap;
	background: var(--gradient1);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	overflow: hidden;
	margin-top: 2em;
}

#top-promotion-button-wrap > a {
	display: block;
	width: 50%;
	padding: 1em 3em 1em 4em;
	color: #fff;
	font-family: var(--display-font);
	font-weight: 700;
	position: relative;
}

#top-promotion-button-wrap > a:before {
	content: '';
	display: block;
	font-family: var(--font-awesome-brands);
	font-weight: 700;
	font-size: 1.5em;
	position: absolute;
	top: 50%;
	left: 1em;
	transform: translateY(-50%);
}

#top-promotion-button-wrap > .instagram:before {
	content: '\f16d';
}

#top-promotion-button-wrap > .facebook:before {
	content: '\f09a';
}

#top-promotion-button-wrap > .tiktok:before {
	content: '\e07b';
}

#top-promotion-button-wrap > .youtube:before {
	content: '\f167';
}

#top-promotion-button-wrap > a:after {
	content: '\f4c8';
	display: block;
	font-family: var(--material-symbols);
	font-weight: 200;
	font-size: 1em;
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
}

#top-promotion-button-wrap > a:nth-of-type(odd) {
	border-right: 1px solid #fff;
}

#top-promotion-button-wrap > a:nth-of-type(n+3) {
	border-top: 1px solid #fff;
}

@media (max-width: 768px) {
	#top-promotion > div > div {
		flex-flow: column;
		align-items: center;
		padding: 2em;
	}

	#top-promotion > div > div > figure {
		width: 100%;
		max-width: 240px;
	}

	#top-promotion > div > div > div {
		width: 100%;
		margin-top: 2em;
	}

	#top-promotion-button-wrap {
		flex-flow: column;
	}

	#top-promotion-button-wrap > a {
		width: 100%;
	}

	#top-promotion-button-wrap > a:nth-of-type(odd) {
		border-right: unset;
	}

	#top-promotion-button-wrap > a + a,
	#top-promotion-button-wrap > a:nth-of-type(n+3) {
		border-top: 1px solid #fff;
	}
}

#top-recruit {
	aspect-ratio: 2 / 1;
	overflow: hidden;
	position: relative;
}

#top-recruit:before {
	content: '';
	display: block;
	width: 200%;
	height: 100%;
	background-image: var(--recruit-bg);
	background-size: contain;
	position: absolute;
	top: 0;
	left: 0;
	z-index:-1;
	animation: loopLeft2 30s linear infinite;
}

@keyframes loopLeft2 {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

#top-recruit > div:last-of-type {
	display: flex;
	align-items: center;
	height: 100%;
}

#top-recruit > div:last-of-type > div {
	width: 100%;
	background-color: #fff;
	padding: 3em 4em;
	border-radius: clamp(0.25em, 2vw, 0.5em);
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
}

#top-recruit > div:last-of-type > div > h2 {
	display: flex;
	flex-flow: column;
	align-items: center;
	font-family: var(--serif-font);
	font-size: clamp(1.5em, 3vw, 2em);
	font-weight: 500;
	margin-bottom: 1em;
	color: var(--color-blue-dark);
}

#top-recruit > div:last-of-type > div > h2:after {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 0.5em;
}

@media (max-width: 768px) {
	#top-recruit {
		aspect-ratio: 1 / 1;
	}
	
	#top-recruit:before {
		background-size: cover;
		background-image: var(--recruit-bg-sp);
		animation: loopLeft2 15s linear infinite;
	}

	#top-recruit > div:last-of-type {
		align-items: flex-end;
	}

	#top-recruit > div:last-of-type > div {
		padding: 2em;
	}
}

#part-link {
	background-color: var(--color-blue-pale);
	padding: 2em;
}

#part-link-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#part-link-list > li {
	width: calc(100% / 4 - 1em);
}

#part-link-list > li:not(:nth-of-type(4n)) {
	margin-right: calc(4em / 3);
}

#part-link-list > li:nth-of-type(n+5) {
	margin-top: calc(4em / 3);
}

#part-link-list > li > a {
	display: flex;
	align-items: center;
	aspect-ratio: 3 / 1;
	height: 100%;
	background-color: #fff;
	padding: 2em 4em 2em 2em;
	border-radius: clamp(0.25em, 2vw, 0.5em);
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	font-family: var(--display-font);
	color: var(--color-blue-dark);
	position: relative;
	transition: all 0.2s ease;
}

#part-link-list > li > a:hover {
	color: #fff;
	background-color: var(--color-blue);
	transition: all 0.2s ease;
}

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

#part-link-list > li > a:hover:before {
	background-image: var(--icon-arrow-white);
}

@media (max-width: 768px) {
	#part-link {
		padding: 1em;
	}

	#part-link-list {
		font-size: 0.875em;
	}

	#part-link-list > li {
		width: calc(50% - 0.25em);
	}

	#part-link-list > li:not(:nth-of-type(4n)) {
		margin-right: unset;
	}

	#part-link-list > li:nth-of-type(n+5) {
		margin-top:  unset;
	}

	#part-link-list > li:nth-of-type(odd) {
		margin-right: 0.5em;
	}

	#part-link-list > li:nth-of-type(n+3) {
		margin-top: 0.5em;
	}
}

#part-access {
	aspect-ratio: 8 / 3;
	background-color: #eee;
	overflow: hidden;
	padding: 2em;
	position: relative;
}

#part-access > iframe {
	display: block;
	width: 100%;
	height: calc(100% + 300px);
	margin-top: -150px;
	position: absolute;
	top: 0;
	left: 0;
}

#part-access > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: auto;
	height: 100%;
	aspect-ratio: 1 / 1;
	background-color: #fff;
	border-radius: clamp(0.25em, 2vw, 0.5em);
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	padding: 2em;
	position: relative;
	z-index: 1;
}

#part-access > div > img {
	width: 100%;
	max-width: 240px;
	margin-bottom: 1em;
}

#part-access > div > div {
	margin-bottom: 1em;
}

#part-access > div > a {
	text-decoration: underline;
	padding-right: 1.25em;
	position: relative;
}

#part-access > div > a:before {
	content: '\f4c8';
	font-family: var(--material-symbols);
	font-weight: 200;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

@media (max-width: 768px) {
	#part-access {
		aspect-ratio: 3 / 4;
		padding: 1em;
	}

	#part-access > div {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 2;
	}

	#part-access > iframe {
		height: calc(100% + 300px + (100vw / 3 * 2));
		margin-top: -150px;
	}
}


/* --------------------------
    page
-------------------------- */
#page-header {
	width: calc(100% - 2rem);
	min-height: 250px;
	border-radius: 0.5rem;
	overflow: hidden;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

#page-header:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-image: var(--page-header-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
}

#page-header:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: var(--gradient2);
	opacity: 0.7;
	position: absolute;
	top: 0;
	left: 0;
}

#page-header > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 1em 4em;
	min-height: 250px;
	color: #fff;
	position: relative;
	z-index: 1;
}

#page-header > div > h2 {
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 3vw, 2.5em);
	font-weight: 500;
	margin-right: 1em;
}

#breadcrumb {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.875em;
}

#breadcrumb > li {
	display: flex;
	margin-right: 1em;
}

#breadcrumb > li + li:before  {
	display: block;
	content: '';
	width: 1em;
	height: 1em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: #fff;
	background-image: var(--icon-arrow-blue);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	margin: calc((1lh - 1em) / 2) 1em 0 0;
}

#breadcrumb > li > a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	#page-header {
		width: calc(100% - 1rem);
		min-height: 150px;
	}

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

	#page-header > div > h2 {
		margin-right: 0;
	}

	#breadcrumb {
		font-size: 0.75em;
		margin-top: 1em;
	}
}

.navigation-dial-table {
	width: 100%;
	display: table;
	border-right: 1px solid var(--color-blue-dark);
	border-top: 1px solid var(--color-blue-dark);
}

.navigation-dial-table > thead th {
	padding: 1em;
	background-color: var(--color-blue);
	color: #fff;
	border-left: 1px solid var(--color-blue-dark);
	border-bottom: 1px solid var(--color-blue-dark);
}

.navigation-dial-table > tbody th {
	padding: 1em;
	text-align: left;
	background-color: var(--color-blue-light2);
	border-left: 1px solid var(--color-blue-dark);
	border-bottom: 1px solid var(--color-blue-dark);
}

.navigation-dial-table > tbody td {
	padding: 1em;
	background-color: #fff;
	border-left: 1px solid var(--color-blue-dark);
	border-bottom: 1px solid var(--color-blue-dark);
}

/* --------------------------
    contact
-------------------------- */
.grecaptcha-badge {
	bottom: 5em !important;
	z-index: 254;
}

#contact-tel-wrap {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
}

#contact-tel-wrap > div {
	font-family: var(--display-font);
	font-size: clamp(1.25em, 3vw, 2.5em);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	display: flex;
	align-items: center;
	margin-bottom: 0.25em;
}

#contact-tel-wrap > div > span {
	font-weight: 200;
	font-size: 1em;
	margin-right: 0.25em;
}

#contact-tel-wrap > p {
	text-align: center;
}

.contactform dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 1em;
	overflow: hidden;
	border-radius: 0.25em;
}

.contactform > dl > dt {
	padding: 1em 4em 1em 1em;
	position: relative;
	display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    background-color: var(--color-blue-light2);
	font-weight: 500;
	color: var(--color-blue-dark);
	font-family: var(--serif-font);
}

.contactform > dl > dd {
	padding: 1em 2em;
	width: 70%;
    background-color: var(--color-blue-pale);
}

.contactform > dl > dt:not(:last-of-type),
.contactform > dl > 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-blue-dark);
	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;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 3px;
	color: var(--color-blue);
}

.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 #bbb;
	padding: 0.5em 1em;
	background-color: #fff;
}

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

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

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

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

.contactform > dl > dd input.readonly {
	background-color: transparent;
	border: none;
}

.contactform > dl > dd input.readonly:focus {
	outline: none;
}

.contactform > dl > dd > .circulation > span {
	display: flex;
	align-items: center;
}

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

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

.contactform > dl > dd > .zip-wrap > span > input[type=text],
.contactform > dl > dd.age > span > input[type=text],
.contactform > dl > dd.period > span > input[type=text] {
	width: 10rem;
}

.contactform > dl > dd.age span,
.contactform > dl > dd.period span {
	display: flex;
	align-items: center;
}

.contactform > dl > dd.age span:after {
	content: "歳";
	margin-left: 0.5rem;
}

.contactform > dl > dd.period span:after {
	content: "年";
	margin-left: 0.5rem;
}

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

.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;
    display: flex;
    flex-flow: column;
    align-items: center;
}

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

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

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

@media (max-width: 768px) {
	.contactform > dl > dt {
		width: 100%;
	}
	
	.contactform > dl > dd {
		width: 100%;
		padding: 1em;
	}
	
	.contactform > dl > dt:not(:last-of-type),
	.contactform > dl > dd:not(:last-of-type) {
		margin-bottom: 0;
	}
}

/* --------------------------
    history
-------------------------- */
.history-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 3em;
	position: relative;
}

.history-list:before {
	content: '';
	display: block;
	width: 0;
	height: calc(100% - 0.75em);
	border-left: 2px solid #eee;
	position: absolute;
	top: 0;
	left: 12em;
	transform: translateX(-50%);
}

.history-list > dt {
	width: 10em;
	padding: 0.75em 1em;
	margin-bottom: 0.75em;
	position: relative;
	font-family: var(--serif-font);
}

.history-list > dt:before {
	content: '';
	display: block;
	width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background-color: var(--color-blue);
    position: absolute;
    top: calc(0.5lh + 1em);
    right: -2em;
    transform: translate(50%, -100%);
}


.history-list > dd {
	width: calc(100% - 14em);
	padding: 0.75em 2em;
	background-color: var(--color-blue-pale);
	margin-bottom: 0.75em;
	border-radius: 0.5em;
}

.history-list > dd ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

.history-list > dd > ul.image-wrap > li > img {
	height: 200px;
}

.history-list > dd > ul.image-wrap > li:not(last-of-type) {
	margin-right: 1em;
}


.history-list > dd > dl {
	font-size: 0.875em;
	margin-top: 1em;
}

.history-list > dd > dl > dt {
	margin-top: 1em;
	color: var(--color-blue-dark);
	font-family: var(--serif-font);
}

.history-list > dd > dl > dd {
	margin-top: 0.5em;
}

.history-list .qualification-list {
	justify-content: space-between;
}

.history-list .qualification-list > li {
	width: calc(50% - 2em);
	position: relative;
	margin-left: 1em;
}

.history-list .qualification-list > li:before {
	content: '';
	width: 0.45em;
	height: 0.45em;
	border-radius: 50%;
	background-color: var(--color-blue);
	margin-right: 0.5em;
	position: absolute;
	top: 0.5lh;
	left: -1em;
	transform: translate(0%, -50%);
}

.history-list .qualification-list > li:nth-of-type(n + 3) {
	margin-top: 0.5em;
}

@media (max-width: 768px) {
	.history-list {
		margin-left: 2em;
	}
	
	.history-list:before {
		left: -1em;
	}
	
	.history-list > dt {
		width: 100%;
		margin-bottom: 0;
	}
	
	.history-list > dt:before {
		left: -1em;
		transform: translate(-50%, -100%);
	}
	
	.history-list > dd {
		width: 100%;
		padding: 0.75em 1em;
	}
	
	.history-list > dd ul {
		justify-content: center;
	}
	
	.history-list > dd > ul.image-wrap > li:not(last-of-type) {
		margin-left: 0;
		margin-bottom: 1em;
	}
	
	.history-list .qualification-list > li {
		width: 100%;
	}
	
	.history-list .qualification-list > li:nth-of-type(n + 2) {
		margin-top: 0.5em;
	}
}

/* --------------------------
    safety-measure
-------------------------- */
.safety-measure-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 3em;
}

.safety-measure-list > li {
	width: calc(25% - (3em / 4));
}

.safety-measure-list > li:not(:nth-of-type(4n)) {
	margin-right: 1em;
}

.safety-measure-list > li:nth-of-type(n + 5) {
	margin-top: 1em;
}

.safety-measure-list > li > figure > div {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	position: relative;
}

.safety-measure-list > li > figure > figcaption {
	margin-top: 1em;
	font-size: 0.875em;
}

.safety-measure-list > li > figure > div > img {
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: cover;
	position: absolute;
}

@media (max-width: 768px) {
	.safety-measure-list {
		margin-bottom: 2em;
	}
	
	.safety-measure-list > li {
		width: 100%;
	}
	
	.safety-measure-list > li + li {
		margin-top: 1.5em;
	}
	
	.safety-measure-list > li:not(:nth-of-type(4n)) {
		margin-right: 0;
	}
	
	.safety-measure-list > li > figure > img {
		width: 100%;
	}
}

/* --------------------------
    clinic-hours
-------------------------- */
.time-table {
	width: 100%;
	font-size: clamp(10px, 1.5vw, 1em);
	letter-spacing: clamp(0px, 0.1vw, 0.1em);
	border: 1px solid var(--color-blue-light2);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	margin-bottom: 2em;
	overflow: hidden;
}

.time-table > thead > tr > th {
	background-color: var(--color-blue);
	color: #fff;
	padding: 1em;
}

.time-table > tbody > tr:last-of-type > td:first-of-type {
	border-radius: 0 0 0 clamp(0.25em, 1.5vw, 0.5em);
}

.time-table > tbody > tr:last-of-type > td:last-of-type {
	border-radius: 0 0 clamp(0.25em, 1.5vw, 0.5em) 0;
}

.time-table > tbody > tr > td {
	background-color: #fff;
	color: var(--color-blue);
	padding: 1em;
}

.time-table > * > tr > *:first-of-type {
	display: flex;
	flex-flow: column;
	align-items: center;
}

.time-table > * > tr > * + * {
	border-left: 1px solid var(--color-blue-light);
}

.time-table > tbody > tr + tr > * {
	border-top: 1px solid var(--color-blue-light);
}

.time-table > * > tr > *:first-of-type > span {
	display: flex;
	align-items: center;
}

.time-table > * > tr > *:first-of-type > span > span {
	font-weight: 200;
	margin-right: 0.25em;
}

.time-table > * > tr > * {
	text-align: center;
}

/* --------------------------
    access
-------------------------- */
.map-embed {
	aspect-ratio: 2 / 1;
	margin-bottom: 3em;
}

.map-embed > iframe {
	width: 100%;
	height: 100%;
}


/* --------------------------
    hospitalization
-------------------------- */
.meal-cost-contribution {
	display: table;
	table-layout: fixed;
	width: 100%;
	border: 1px solid var(--color-blue);
}

.meal-cost-contribution > tbody > tr > th {
	background-color: var(--color-blue);
	padding: 1em;
	color: #fff;
}

.meal-cost-contribution > tbody > tr > td {
	background-color: #fff;
	padding: 1em;
}

.meal-cost-contribution > tbody > tr + tr > th {
	border-top: 1px solid var(--color-blue-light2);
}

.meal-cost-contribution > tbody > tr + tr > td {
	border-top: 1px solid var(--color-blue-light2);
}

.meal-cost-contribution > tbody > tr > th {
	border-right: 1px solid var(--color-blue-light2);
}

.meal-cost-contribution > tbody > tr > td {
	text-align: right;
}

@media (max-width: 768px) {
	.meal-cost-contribution {
		width: max-content;
        max-width: unset;
        min-width: 100%;
        font-size: 1em;
	}
}

/* --------------------------
    x-ray
-------------------------- */
.xray-list {
	display: flex;
	margin-bottom: 2em;
	flex-wrap: wrap;
}

.xray-list > figure {
	width: calc(100% / 3 - (4em / 3));
}

.xray-list > figure:not(:nth-of-type(3n)) {
	margin-right: 2em;
}

.xray-list > figure:nth-of-type(n + 4) {
	margin-top: 2em;
}

.xray-list > figure > figcaption {
	font-size: 0.875em;
	margin-top: 1em;
}

@media (max-width: 768px) {
	.xray-list > figure {
		width: 100%;
	}
	
	.xray-list > figure:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
	
	.xray-list > figure:nth-of-type(n + 2) {
		margin-top: 1.5em;
	}
	
	.xray-list > figure > img {
		width: 100%;
	}
}

/* --------------------------
    ct-scan
-------------------------- */
.video-wrap {
	display: flex;
	margin-bottom: 3em;
}

.video-wrap > div {
	width: calc(50% - 1em);
}

.video-wrap > div:nth-of-type(even) {
	margin-left: 2em;
}

.video-wrap > div > figure > video {
	width: 100%;
}

@media (max-width: 768px) {
	.video-wrap {
		flex-wrap: wrap;
	}
	
	.video-wrap > div {
		width: 100%;
	}
	
	.video-wrap > div:nth-of-type(even) {
		margin-left: 0;
		margin-top: 1.5em;
	}
}

/* --------------------------
    laboratory
-------------------------- */
.laboratory-wrap {
	display: flex;
	flex-wrap: wrap;
}

.laboratory-wrap > div {
	width: calc(50% - 1em);
}

.laboratory-wrap > div:nth-of-type(even) {
	margin-left: 2em;
}

.laboratory-wrap > div:nth-of-type(n + 3) {
	margin-top: 2em;
}

.laboratory-wrap > div > figure {
	aspect-ratio: 3 / 2;
	margin-bottom: 1em;
}

.laboratory-wrap > div > figure > img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	.laboratory-wrap > div {
		width: 100%;
	}
	
	.laboratory-wrap > div:nth-of-type(even) {
		margin-left: 0;
		margin-top: 1.5em;
	}
}
/* --------------------------
    total-hip-replacement-rehabilitation
-------------------------- */
.rehabilitation-plan {
	list-style-type: none;
	margin-bottom: 3em;
}

.rehabilitation-plan > li + li {
	margin-top: 4em;
	position: relative;
}

.rehabilitation-plan > li + li:before {
	content: '';
	display: block;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
    position: absolute;
    top: -2em;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
}

.rehabilitation-plan > li > dl {
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	display: flex;
	overflow: hidden;
	border-radius: 0.5em;
}

.rehabilitation-plan > li dt {
	padding: 1em 2em;
	width: 25%;
	background: var(--gradient2);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

.rehabilitation-plan > li dd {
	padding: 1em 2em;
	width: 75%;
}

@media (max-width: 768px) {
	.rehabilitation-plan > li > dl {
		flex-wrap: wrap;
	}
	
	.rehabilitation-plan > li dt {
		width: 100%;
		padding: 1em;
	}
	
	.rehabilitation-plan > li dd {
		width: 100%;
		padding: 1em;
	}
}

/* --------------------------
    faq
-------------------------- */
.accordion-list-wrap {
	counter-reset: count;
}

.accordion-list-wrap > dl {
	border: 1px solid var(--color-blue-light);
	border-collapse: separate;
}

.accordion-list-wrap > dl + dl {
	margin-top: 0.5em;
}

.accordion-list-wrap > dl > dt > input {
	display: none;
}

.accordion-list-wrap > dl > dt > label {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 1em 4em 1em 1em;
	background-color: #fff;
	position: relative;
	transition: all 0.3s ease;
}

.accordion-list-wrap.faq > dl > dt > label {
	padding: 1em 4em;
}

.accordion-list-wrap > dl > dt:has(input:checked) > label,
.accordion-list-wrap > dl > dt > label:hover {
	background-color: var(--color-blue-pale);
	cursor: pointer;
	transition: all 0.3s ease;
}

.accordion-list-wrap.faq > dl > dt > label:before {
	counter-increment: count;
	content: 'Q'counter(count);
	display: block;
	font-family: var(--serif-font);
	color: var(--color-blue-dark);
	position: absolute;
	left: 1em;
	top: 50%;
	transform: translateY(-50%);
}

.accordion-list-wrap > dl > dt > label:after {
	content: '\f13a';
	display: block;
	font-family: var(--font-awesome);
	font-weight: 700;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-blue);
}

.accordion-list-wrap > dl > dt:has(input:checked) > label:after {
	content: '\f139';
	transform: translateY(-50%);
}

.accordion-list-wrap > dl > dt:has(input:not(:checked)) + dd {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.accordion-list-wrap > dl > dt:has(input:checked) + dd {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.3s ease;
}

.accordion-list-wrap > dl > dd > div {
	overflow: hidden;
	padding: 0 3em;
	background-color: #fff;
	transition: all 0.3s ease;
}

.accordion-list-wrap > dl > dt:has(input:checked) + dd > div {
	padding: 2em 3em;
	transition: all 0.2s ease;
}

@media (max-width: 768px) {
	.accordion-list-wrap > dl > dt:has(input:checked) + dd > div {
		padding: 1em 3em;
	}
}

/* --------------------------
    about-mako
-------------------------- */
.printed-material-list {
	display: flex;
	list-style-type: none;
}

.printed-material-list > li {
	width: calc(100% / 3 - (4em / 3));
}

.printed-material-list > li:not(:nth-of-type(3n)) {
	margin-right: 2em;
}

.printed-material-list > li > a > figure {
	aspect-ratio: 1 / 1;
	margin-bottom: 1em;
	border: 1px solid #ccc;
}

.printed-material-list > li > a > figure > img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.printed-material-list > li > a > p {
	font-size: 0.875em;
}

@media (max-width: 768px) {
	.printed-material-list {
		flex-wrap: wrap;
	}
	
	.printed-material-list > li {
		width: 100%;
	}
	
	.printed-material-list > li:not(:nth-of-type(3n)) {
		margin-right: 0;
		margin-bottom: 1.5em;
	}
}

/* --------------------------
    page
-------------------------- */
.philosophy-container {
	padding: 2em;
	border-radius: 0.5em;
	background-color: var(--color-blue-pale);
	display: flex;
	align-items: center;
	flex-flow: column;
}

.philosophy-container > span {
	font-size: clamp(1.5em, 1.5vw, 2em);
	font-family: var(--serif-font);
	color: var(--color-blue-dark);
}

@media (max-width: 768px) {
	.philosophy-container {
		padding: 1em;
	}
	
	.philosophy-container > span {
		font-size: clamp(1.125em, 1.5vw, 1.5em);
	}
}

/* --------------------------
    achieving-sdgs
-------------------------- */
.sdgs-icon-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2em;
}

.sdgs-icon-list > li {
	width: 8em;
}


.sdgs-icon-list > li:not(:first-of-type) {
	margin-left: 1em;
}

.sdgs-wrap {
	display: flex;
	flex-wrap: wrap;
}

.sdgs-wrap > div {
	width: calc(50% - 1em);
}

.sdgs-wrap > div:nth-of-type(even) {
	margin-left: 2em;
}

.sdgs-wrap > div:nth-of-type(n + 3) {
	margin-top: 3em;
}

.sdgs-wrap > div > figure {
	aspect-ratio: 1 / 1;
	margin-bottom: 2em;
	border: 1px solid #ccc;
}

.sdgs-wrap > div > figure > img {
	object-fit: contain;
	width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
	.sdgs-wrap > div {
		width: 100%;
	}
	
	.sdgs-wrap > div:nth-of-type(even) {
		margin-left: 0;
	}
	
	.sdgs-wrap > div:nth-of-type(n + 2) {
		margin-bottom: 1.5em;
	}
}
/* --------------------------
    doctor
-------------------------- */
#doctor-archive-list {
	list-style-type: none;
}

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

#doctor-archive-list > li > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--color-blue-pale);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	border: 1px solid var(--color-blue-light);
	overflow: hidden;
	position: relative;
	padding-right: 4em;
	transition: all 0.3s ease;
}

#doctor-archive-list > li > a:hover {
	color: var(--color-blue-dark);
	background-color: var(--color-blue-light);
	transition: all 0.3s ease;
}

#doctor-archive-list > li > a:after {
    content: '';
    display: block;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	transition: right 0.3s ease;
}

#doctor-archive-list > li > a:hover:after {
    background: var(--icon-arrow-blue), #fff;
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	right: 1em;
	transition: right 0.3s ease;
}

#doctor-archive-list > li > a > figure {
	width: 8em;
	aspect-ratio: 1 / 1;
	background-color: #eee;
}

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

#doctor-archive-list > li > a > div {
	width: calc(100% - 10em);
}

#doctor-archive-list > li > a > div > h3 {
	font-family: var(--serif-font);
	font-size: clamp(1em, 1.5vw, 1.25em);
	font-weight: 500;
}

#doctor-archive-list > li > a > div > .position {
	font-size: 0.875em;
	margin-bottom: 0.5em;
}

#doctor-archive-list > li > a > div > .specialty {
	font-size: 0.875em;
	margin-bottom: 0.5em;
}

#single-doctor-header {
	display: flex;
	flex-flow: row-reverse;
	justify-content: space-between;
	align-items: center;
}

#single-doctor-header > figure {
	width: calc(50% - 1em);
	aspect-ratio: 3 / 2;
	background-color: #eee;
}

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

#single-doctor-header > div {
	width: calc(50% - 1em);
}

#single-doctor-header > div > .position {
	margin-bottom: 1em;
}

#single-doctor-header > div > .name {
	font-family: var(--serif-font);
	font-size: clamp(1.5em, 2.5vw, 1.75em);
	font-weight: 500;
}

#single-doctor-header > div > .reading {
	font-family: var(--display-font);
	font-weight: 500;
	font-style: italic;
	color: #888;
	margin-bottom: 2em;
}

#single-doctor-comment {
	margin-top: 4em;
}

#single-doctor-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 2em;
	grid-row-gap: 4em;
	margin-top: 4em;
}

.single-doctor-list-content {
	list-style-type: none;
}

.single-doctor-list-content > li {
	padding-left: 1.5em;
	position: relative;
}

.single-doctor-list-content > li + li {
	margin-top: 0.5em;
}

.single-doctor-list-content > li:before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background-color: var(--color-blue);
	position: absolute;
	top: calc((1lh - 0.5em) / 2);
	left: 0;
}

.single-doctor-history-content {
	list-style-type: none;
}

.single-doctor-history-content > li {
	position: relative;
}

.single-doctor-history-content > li + li {
	margin-top: 0.5em;
}

.single-doctor-history-content > li > dl {
	display: flex;
}

.single-doctor-history-content > li > dl > dt {
	width: 8em;
	font-family: var(--serif-font);
}

.single-doctor-history-content > li > dl > dd {
	width: calc(100% - 8em);
}

#single-doctor-content > .research-file .button {
	width: 100%;
}

#single-doctor-content > .youtube {
	grid-column: 1 / span 2;
}

.youtube-wrap {
	width: 100%;
	max-width: 640px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #eee;
	margin: 0 auto;
}

.youtube-wrap > iframe {
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	#single-doctor-header {
		flex-flow: column;
	}

	#single-doctor-header > figure {
		width: 100%;
	}

	#single-doctor-header > div {
		display: flex;
		flex-flow: column;
		align-items: center;
		width: 100%;
		margin-top: 2em;
	}

	#single-doctor-content {
		display: block;
	}

	#single-doctor-content > div + div {
		margin-top: 2em;
	}
}


/* --------------------------
    job
-------------------------- */
.recruit-archive-list {
	list-style-type: none;
	margin-bottom: 2em;
}

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

.recruit-archive-list > li > a {
	display: flex;
	background-color: var(--color-blue-pale);
}

.recruit-archive-list > li > a > figure {
	aspect-ratio: 1 / 1;
	width: 6em;
}

.recruit-archive-list > li > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.recruit-archive-list > li > a > div:before {
	content: '';	
	display: block;
    width: 4em;
    height: 3em;
    border-left: 1px solid var(--color-blue-dark);
    background-image: var(--icon-arrow-blue);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.recruit-archive-list > li > a > div > h3 {
	font-weight: 500;
	font-family: var(--serif-font);
	color: var(--color-blue-dark);
}

@media (max-width: 768px) {
	.recruit-archive-list > li > a > div > h3 {
		font-size: 1em;
	}
}


/* --------------------------
    magazine
-------------------------- */
.magazine-lastest-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

.magazine-lastest-list > li {
	width: calc(100% / 3 - 2em);
}

.magazine-lastest-list > li:not(:nth-of-type(3n)) {
	margin-right: calc(6em / 2);
}

.magazine-lastest-list > li:nth-of-type(n+4) {
	margin-top: calc(6em / 2);
}

.magazine-lastest-list > li > a {
	transition: all 0.3s ease;
}

.magazine-lastest-list > li > a:hover {
	color: var(--color-blue-dark);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.magazine-lastest-list > li > * > article > figure {
	width: 100%;
	aspect-ratio: 1 / 1.414;
	background-color: #eee;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	margin-bottom: 2em;
}

.magazine-lastest-list > li > * > article > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.magazine-lastest-list > li > * > article > h3 {
	display: flex;
	justify-content: center;
	align-items: baseline;
	font-family: var(--serif-font);
	font-weight: 500;
}

.magazine-lastest-list > li > a:hover > article > h3 {
	text-decoration: underline;
}

.magazine-lastest-list > li > a > article > h3 > span > i {
	font-size: 0.875em;
	padding-left: 0.25em;
}

.magazine-lastest-list > li > * > article > h3 > span >small {
	font-family: var(--font-family);
}

.magazine-lastest-list > li > * > article > time {
	display: flex;
	justify-content: center;
	margin-top: 1em;
}

#magazine-archive-list {
	list-style-type: none;
}

#magazine-archive-list > li + li {
	border-top: 1px solid var(--color-blue-light);
}

#magazine-archive-list > li > * {
	display: block;
	padding: 1em 3em 1em 1em;
}

#magazine-archive-list > li > a {
	position: relative;
	transition: opacity 0.3s ease;
}

#magazine-archive-list > li > a:before {
    content: '';
    display: block;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: var(--icon-arrow-white), var(--gradient1);
    background-size: 50% auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease;
}

#magazine-archive-list > li > a:hover {
	color: var(--color-blue-dark);
	opacity: 0.7;
	transition: all 0.3s ease;
}

#magazine-archive-list > li > * > article {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#magazine-archive-list > li > * > article > figure {
	width: 80px;
	aspect-ratio: 1 / 1.414;
	background-color: #eee;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
}

#magazine-archive-list > li > * > article > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#magazine-archive-list > li > * > article > div {
	width: calc(100% - 80px - 2em);
}

#magazine-archive-list > li > * > article > div > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
}

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

#magazine-archive-list > li > * > article > div > h3 > small {
	font-family: var(--font-family);
}

#magazine-archive-list > li > * > article > div > time {
	display: block;
	margin-top: 0.5em;
}

@media (max-width: 768px) {
	.magazine-lastest-list {
		flex-flow: column;
	}

	.magazine-lastest-list > li {
		width: 100%;
	}

	.magazine-lastest-list > li:not(:nth-of-type(3n)) {
		margin-right: unset;
	}

	.magazine-lastest-list > li:nth-of-type(n+4),
	.magazine-lastest-list > li + li {
		margin-top: 2em;
	}

	.magazine-lastest-list > li > * > article > figure {
		max-width: 240px;
		margin: 0 auto 2em auto;
	}
}


.scrollable-wrap {
	overflow: initial;
}

.schedule {
	width: 100%;
	font-size: clamp(10px, 1.5vw, 1em);
	letter-spacing: clamp(0px, 0.1vw, 0.1em);
	border: 1px solid var(--color-blue-light2);
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	overflow: hidden;
	white-space: nowrap;
}

.schedule > thead > tr > th {
	background-color: var(--color-blue);
	color: #fff;
	padding: 1em;
	width: calc(100% / 8);
}

.schedule > tbody > tr > td {
	background-color: #fff;
	padding: 1em;
	width: calc(100% / 8);
}

.schedule > tbody > tr > th {
	background-color: var(--color-blue-pale);
	color: var(--color-blue);
	padding: 1em;
	width: calc(100% / 8);
}

.schedule > * > tr > * + * {
	border-left: 1px solid var(--color-blue-light);
}

.schedule > tbody > tr + tr > * {
	border-top: 1px solid var(--color-blue-light);
}

.schedule > * > tr > * {
	text-align: center;
}

.scrollable-wrap + p {
	margin-top: 1em;
}

@media (max-width: 768px) {
	.scrollable-wrap {
		overflow-x: scroll;
	}

	.schedule {
		width: max-content;
		max-width: unset;
		min-width: 100%;
		font-size: 1em;
	}
}

/* --------------------------
    news
-------------------------- */
.wbh-table {
	display: table;
	border: 1px solid var(--color-blue-light2);
	font-size: 0.875em;
	width: 100%;
	min-width: 750px;
	border-radius: clamp(0.25em, 1.5vw, 0.5em);
	overflow: hidden;
}

.wbh-table > thead > tr > th {
	background-color: var(--color-blue);
    color: #fff;
    padding: 1em;
}

.wbh-table > * > tr > * + * {
	border-left: 1px solid var(--color-blue-light);
}

.wbh-table > tbody > tr > th {
	padding: 1em;
	background-color: var(--color-blue-pale);
}

.wbh-table > tbody > tr > td {
	padding: 1em;
}

.wbh-table > tbody > tr + tr > * {
    border-top: 1px solid var(--color-blue-light);
}

/* --------------------------
    monthly-schedule
-------------------------- */
.monthly-schedule-wrap + .monthly-schedule-wrap {
	margin-top: 4em;
}

.closure-information {
	display:flex;
	flex-wrap: wrap;
	margin-top: 1em;
}

.closure-information > dt {
	width: 20em;
	color: var(--color-blue-dark);
	font-weight: 600;
	font-family: var(--serif-font);
}

.closure-information > dt:nth-of-type(n + 2):before {
	content: "";
	display: block;
	width: 100%;
	margin: 1em 0;
	border-top: 1px solid #ccc;
}

.closure-information > dd {
	width: calc(100% - 20em);
}

.closure-information > dd:nth-of-type(n + 2):before {
	content: "";
	display: block;
	width: 100%;
	margin: 1em 0;
	border-top: 1px solid #ccc;
}

@media (max-width: 768px) {
	.closure-information > dt {
		width: 100%;
		margin-bottom: 0.5em;
	}
	
	.closure-information > dd {
		width: 100%;
	}

	.closure-information > dd:nth-of-type(n + 2):before {
		border-top: none;
		margin: 0;
	}
}

/* --------------------------
    sports-outpatient
-------------------------- */
#name {
	text-align: right;
	font-family: var(--serif-font);
}

#name > span {
	font-size: 1.5em;
}

/* --------------------------
    doctor-qa
-------------------------- */
#doctorqa-archive-list > dl {
	border: 1px solid var(--color-blue-light);
	border-collapse: separate;
}

#doctorqa-archive-list > dl + dl {
	margin-top: 1em;
}

#doctorqa-archive-list > dl > dt > input {
	display: none;
}

#doctorqa-archive-list > dl > dt > label {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 1em 4em 1em 2em;
	background-color: #fff;
	position: relative;
	transition: all 0.3s ease;
	font-family: var(--serif-font);
	font-weight: 600;
	color: var(--color-blue-dark);
}

#doctorqa-archive-list > dl > dt:has(input:checked) > label,
#doctorqa-archive-list > dl > dt > label:hover {
	background-color: var(--color-blue-pale);
	cursor: pointer;
	transition: all 0.3s ease;
}

#doctorqa-archive-list > dl > dt > label:after {
	content: '\f13a';
	display: block;
	font-family: var(--font-awesome);
	font-weight: 700;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-blue);
}

#doctorqa-archive-list > dl > dt:has(input:checked) > label:after {
	content: '\f139';
	transform: translateY(-50%);
}

#doctorqa-archive-list > dl > dt:has(input:not(:checked)) + dd {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

#doctorqa-archive-list > dl > dt:has(input:checked) + dd {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.3s ease;
}

#doctorqa-archive-list > dl > dd > div {
	overflow: hidden;
	padding: 0 3em;
	background-color: #fff;
	transition: all 0.3s ease;
}

#doctorqa-archive-list > dl > dd > div > img {
	margin: auto;
}

#doctorqa-archive-list > dl > dt:has(input:checked) + dd > div {
	padding: 2em 3em;
	transition: all 0.2s ease;
}

@media (max-width: 768px) {
	#doctorqa-archive-list > dl > dt > label {
		padding: 1em 4em 1em 1em;
	}
	
	#doctorqa-archive-list > dl > dt:has(input:checked) + dd > div {
		padding: 1em 2em;
	}
}
