/*
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: 100px;
    --header-height-sp: 50px;
    --topbar-height: 40px;
    --admin-bar-height: 32px;
    --color: var(--color-olive-dark);
    --color-olive: #6b7c67;
    --color-olive-dull: #53634f;
    --color-olive-dark: #565b55;
    --color-olive-light: #99a597;
    --color-beige: #ebe9e0;
    --color-beige-pale: #f7f6f0;
    --color-beige-dull: #d8d0af;
    --color-green-light: #40db7e;
    --color-green: #06c755;
    --color-green-dull: #04a846;
    --color-green-dark: #0a8e3f;
    --color-red: #e13939;
    --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;
    --font-awesome: 'Font Awesome 7 Free';
    --serif-font: '游明朝', 'YuMincho', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'HG明朝E', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
    --display-font: 'Marcellus', var(--font-family);
    --icon-arrow: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDMyIj4KICA8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjkuNy4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogMi4xLjEgQnVpbGQgOCkgIC0tPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuc3QwIHsKICAgICAgICBmaWxsOiAjNDg1NDQ0OwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjQ3LjcxMiAwIDQ0Ljg0MyAyLjgxOSA1Ni4yMzIgMTQuMDA3IDAgMTQuMDA3IDAgMTcuOTkxIDU2LjIzNCAxNy45OTEgNDQuODQzIDI5LjE4MSA0Ny43MTIgMzIgNjQgMTYgNDcuNzEyIDAiLz4KPC9zdmc+);
    --icon-arrow-white: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDMyIj4KICA8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjkuNy4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogMi4xLjEgQnVpbGQgOCkgIC0tPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuc3QwIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjQ3LjcxMiAwIDQ0Ljg0MyAyLjgxOSA1Ni4yMzIgMTQuMDA3IDAgMTQuMDA3IDAgMTcuOTkxIDU2LjIzNCAxNy45OTEgNDQuODQzIDI5LjE4MSA0Ny43MTIgMzIgNjQgMTYgNDcuNzEyIDAiLz4KPC9zdmc+);
    --top-recruit-text: url(/wp-content/themes/kawamotodc/src/kawamoto-top-recruit-text.svg);
    --footer-text: url(/wp-content/themes/kawamotodc/src/kawamoto-footer-text.svg);
    --page-header-bg: url(/wp-content/uploads/2025/12/pageheader.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;
	background-color: var(--color-beige);
	margin: 0;
}

main {
    display: block;
}

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

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

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

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

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

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

table {
    border-spacing: 0;
}

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

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

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

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

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

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

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

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

.clearfix {
    clear: both;
}

.heading {
	font-size: clamp(1.125em, 3vw, 1.5em);
	margin-bottom: 1em;
}

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

.heading > div:first-of-type > i {
	margin-right: 0.5em;
}

.heading > div:first-of-type {
	font-family: var(--display-font);
	font-size: 0.75em;
	font-weight: 400;
}

.heading.center > div:first-of-type {
	display: flex;
	flex-flow: column;
	align-items: center;
}

.heading > div:last-of-type {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2vw, 1.25em);
	position: relative;
}

.heading.center > div:last-of-type:before {
	content: '';
	display: block;
	width: 100%;
	border-bottom: 1px solid var(--color);
	position: absolute;
	top: 50%;
	left: 0;
	z-index: -1;
}

.heading.center > div:last-of-type > span {
	background-color: var(--color-beige);
	padding: 0 1em;
}

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

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

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

.button {
	border-bottom: 1px solid var(--color);
	font-family: var(--display-font);
	letter-spacing: 0;
	padding: 0.5em 3.5em 0.5em 0;
	position: relative;
	transition: opacity 0.3s ease;
}

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

.button:before {
	content: '';
	display: block;
	width: 2em;
	aspect-ratio: 8 / 5;
	border: 1px solid var(--color);
	border-radius: calc(2em / 8 * 5);
	background-image: var(--icon-arrow);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 0.5em;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

.button:hover:before {
	background-image: var(--icon-arrow-white);
	background-color: var(--color);
	right: 0;
	transition: all 0.3s ease;
}

.button2 {
	display: inline-block;
	justify-content: center;
	align-items: center;
	padding: 1em 5em 1em 2em;
	border-radius: 0.5em;
	background-color: var(--color-olive-dull);
	font-family: var(--serif-font);
	color: #fff;
	position: relative;
	transition: all 0.3s ease;
}

.button2:hover {
	color: var(--color);
	background-color: #fff;
	transition: all 0.3s ease;
}

.button2:before {
	content: '';
	display: block;
	width: 2em;
	aspect-ratio: 8 / 5;
	border: 1px solid #fff;
	border-radius: calc(2em / 8 * 5);
	background-image: var(--icon-arrow-white);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 2em;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

.button2:hover:before {
	border: 1px solid var(--color);
	background-image: var(--icon-arrow);
	transition: all 0.3s ease;
}

.button2 > i {
	margin-right: 0.5em;
	font-size: 1.25em;
}

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

.col2 {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2em;
}

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

.col2 img {
	width: 100%;
}

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

.baloon {
	border-radius: clamp(0.25em, 1vw, 0.5em);
	padding: 1em 2em;
	display: flex;
	justify-content: center;
	position: relative;
	margin-bottom: 2em;
	font-size: 1.25em;
	font-weight: 600;
	color: #fff;
	background-color: var(--color);
}

.baloon:after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -1em;
	display: block;
	width: 1em;
	height: 1em;
	background-color: var(--color);
	position: absolute;
	transform: translate(-50%, -50%) rotate(45deg);
}

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

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

.mb2 {
	margin-bottom: 2em;
}

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

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

	.heading {
		text-align: center;
	}

	.heading > div:first-of-type {
		display: flex;
		flex-flow: column;
		align-items: center;
	}

	.heading > div:last-of-type:has(span):before {
		content: '';
		display: block;
		width: 100%;
		border-bottom: 1px solid var(--color);
		position: absolute;
		top: 50%;
		left: 0;
		z-index: -1;
	}

	.heading > div:last-of-type > span {
		background-color: var(--color-beige);
		padding: 0 1em;
	}
	
	.col2 {
		flex-wrap: wrap;
	}
	
	.col2 > * {
		width: 100%;;
	}
	
	.col2 > * + * {
		margin-top: 1em;
	}
	
	.lum-lightbox-inner img {
		width: 100%;
	}
	
	.baloon {
		padding: 1em;
	}
}


/* --------------------------
    header
-------------------------- */
/* header */
header {
	display: flex;
	width: 100%;
	height: var(--header-height);
	position: fixed;
	left: 0;
	z-index: 254;
	transition: height 0.2s ease, background-color 0.2s ease;
}

header.fixed {
	height: var(--header-height-sp);
	background-color: #fff;
	transition: height 0.2s ease, background-color 0.2s ease;
}

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

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

#topbar {
	display: flex;
	align-items: center;
	height: var(--topbar-height);
	font-size: 10px;
	color: #fff;
}

header.fixed #topbar {
	display: none;
}

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

#topbar > span {
	padding: 0.25lh 1lh;
	border-radius: 0.75lh;
	background-color: var(--color-olive-dark);
}

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

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

header.fixed #header-content {
	height: 100%;
	color: var(--color);
}

#header-logo {
	width: clamp(180px, 20vw, 320px);
}

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

header.fixed #header-logo > object {
	width: 180px;
}

#header-menu {
	list-style-type: none;
	display: flex;
	align-items: center;
	height: 100%;
}

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

#header-menu > li + li:before {
	content: '/';
	display: block;
	margin: 0 1em;
}

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

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

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

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

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

#header-menu > li > ul {
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1em;
	max-width: calc(var(--content-width) - 2em);
	width: calc(100% - 2em);
	opacity: 0;
	pointer-events: none;
	background-color: #fff;
	padding: 1em 1.5em;
	border-radius: 0.5em;
	color: var(--color);
	white-space: nowrap;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
	position: absolute;
	right: 1em;
	bottom: 0;
	transform: translateY(100%);
}

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

#header-menu > li > ul > li > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#header-menu > li > ul > li > a > figure {
	width: 25%;
	aspect-ratio: 1 / 1;
	background-color: #eee;
	border-radius: 0.25em;
	overflow: hidden;
	transition: opacity 0.2s ease;
}

#header-menu > li > ul > li > a:hover > figure {
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

#header-menu > li > ul > li > a > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.2s ease;
}

#header-menu > li > ul > li > a:hover > figure > img {
	transform: scale(1.1);
	transition: transform 0.2s ease;
}

#header-menu > li > ul > li > a:hover > div {
	text-decoration: underline;
}

#header-menu > li > ul > li > a > div {
	width: calc(75% - 1em);
}

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

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

	#topbar {
		display: none;
	}

	#header-content {
		height: 100%;
	}

	#header-menu {
		display: none;
	}
}

/* drawer */
#drawer-open {
	display: flex;
	width: var(--header-height);
	height: auto;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: var(--header-height);
	background-color: unset;
	aspect-ratio: 1 / 1;
	font-size: 1em;
	appearance: none;
	outline: none;
	border: none;
	position: relative;
}

#drawer-close {
	display: flex;
	align-self: flex-end;
    width: var(--header-height);
	height: auto;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	background-color: unset;
	aspect-ratio: 1 / 1;
	font-size: 1em;
	appearance: none;
	outline: none;
	border: none;
	position: relative;
	right: 0;
	top: 0;
}

header.fixed #drawer-open,
header.fixed #drawer-close {
	width: var(--header-height-sp);
}

#drawer-open:before {
	content: '';
	display: block;
	width: 0;
	height: calc(100% - 2em);
	border-left: 1px solid #fff;
	position: absolute;
	top: 1em;
	left: 0;
}

header.fixed #drawer-open:before {
	border-left: 1px solid var(--color);
	height: calc(100% - 1em);
	top: 0.5em;
}

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

header.fixed #drawer-open > span {
	background-color: var(--color);
}

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

header.fixed #drawer-open > span:before,
header.fixed #drawer-open > span:after {
	background-color: var(--color);
}

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

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

#mobile-menu-wrap {
	display: flex;
	flex-flow: column;
	width: 100%;
	max-width: 320px;
	height: 100dvh;
	border: none;
	opacity: 0;
	background-color: var(--color-olive);
	margin-left: auto;
	pointer-events: none;
	overflow-y: scroll;
	transform: translateX(100%);
	transition-property: transform, opacity, display;
	transition-duration: 0.2s;
	transition-behavior: normal, normal, allow-discrete;
	position: fixed;
}

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

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

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

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

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

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

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

@media (max-width: 1024px) {
	#drawer-open,
	#drawer-close {
		width: var(--header-height-sp);
	}

	#drawer-open:before,
	#drawer-close:before {
		height: calc(100% - 1em);
		top: 0.5em;
	}
}


/* --------------------------
    footer
-------------------------- */
footer {
	background-color: #fff;
	font-size: 0.875em;
}

footer > div:first-of-type {
	width: 100%;
	max-height: 100px;
	aspect-ratio: 6 / 1;
	background-image: var(--footer-text);
	background-size: 640px auto;
	background-position: left center;
	background-repeat: repeat-x;
	animation: footerLoopLeft 20s linear infinite;
}

@keyframes footerLoopLeft {
	from {
		background-position-x: 0;
	}
	to {
		background-position-x: -640px;
	}
}

footer > div:nth-of-type(2) {
	display: flex;
	justify-content: space-between;
}

footer > div:nth-of-type(2) > div:first-of-type {
	width: calc(60% - 2em);
}

#footer-logo {
	display: inline-block;
	margin-bottom: 1em;
}

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

footer > div:nth-of-type(2) > div > .tel {
    font-family: var(--display-font);
    font-size: clamp(1.75em, 2.5vw, 2.25em);
    font-weight: 400;
}

footer > div:nth-of-type(2) > div > .tel:before {
    content: 'tel.';
    font-size: 0.75em;
}

footer > div:nth-of-type(2) > div > .payment {
	display: flex;
	align-items: center;
	margin-top: 1em;
	margin-bottom: 1em;
}

footer > div:nth-of-type(2) > div > .payment > span {
	display: inline-block;
	background-color: var(--color-beige-dull);
	padding: 0.25lh 1lh;
	border-radius: 1lh;
	margin-right: 1em;
	font-size: 0.875em;
	font-weight: 700;
	white-space: nowrap;
	word-break: keep-all;
}

footer > div:nth-of-type(2) > div > .payment-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

footer > div:nth-of-type(2) > div > .payment-list > li + li {
	margin-left: 0.5em;
}

footer > div:nth-of-type(2) > div > .payment-list > li > img {
	height: 40px;
}

footer > div:nth-of-type(2) > div:last-of-type {
	display: flex;
	justify-content: center; 
	width: calc(40% - 2em);
}

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

#footer-menu > li + li {
	margin-left: 4em;
}

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

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

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

#copyright {
	display: flex;
	justify-content: center;
	align-items: center;
	border-top: 1px solid var(--color-olive-light);
	height: 3em;
	margin: 0 1em;
	font-family: var(--display-font);
	color: var(--color-olive-light);
}

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

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

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

	footer > div:nth-of-type(2) > div:last-of-type {
		display: flex;
		justify-content: center;
		width: 100%;
		margin-top: 2em;
	}

	footer > div:nth-of-type(2) > div > .payment {
		flex-flow: column;
	}

	footer > div:nth-of-type(2) > div > .payment > span {
		margin-bottom: 0.5em;
	}

	footer > div:nth-of-type(2) > div > .payment-list > li > img {
		height: 28px;
	}

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

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

/* part contact */
#part-contact {
	background: linear-gradient(to bottom, var(--color-beige) 50%, #fff 50%);
}

#part-contact > div {
	background-color: var(--color-olive);
	padding: 3em 0;
	border-radius: clamp(0.5em, 1.5vw, 1em);
}

#part-contact > div > h2 {
	display: flex;
	flex-flow: column;
	align-items: center;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: 1.25em;
	color: #fff;
	margin-bottom: 1em;
}

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

#part-contact > div > div {
	display: flex;
}

#part-contact > div > div > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 50%;
	padding: 1em 3em;
	color: #fff;
}

#part-contact > div > div > div + div {
	border-left: 1px solid #fff;
}

#part-contact > div > div > div:first-of-type > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
}

#part-contact > div > div > div:first-of-type > .tel {
	font-family: var(--display-font);
	font-size: clamp(1.25em, 3vw, 2.5em);
	font-weight: 400;
}

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

#part-contact > div > div > div:first-of-type > p {
	font-size: 0.875em;
}

#part-contact > div > div > div:first-of-type > p > span {
	display: inline-block;
	margin-right: 1em;
	padding: 0.125lh 0.5lh;
	border-radius: 0.625lh;
	border: 1px solid #fff;
}

#part-contact > div > div > div:last-of-type > a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 1em 4em 1em 2em;
	border-radius: 0.5em;
	background-color: var(--color-olive-dull);
	font-family: var(--serif-font);
	font-size: clamp(1em, 1.5vw, 1.25em);
	position: relative;
	transition: all 0.3s ease;
}

#part-contact > div > div > div:last-of-type > a:hover {
	color: var(--color);
	background-color: #fff;
	transition: all 0.3s ease;
}

#part-contact > div > div > div:last-of-type > a:before {
	content: '';
	display: block;
	width: 2em;
	aspect-ratio: 8 / 5;
	border: 1px solid #fff;
	border-radius: calc(2em / 8 * 5);
	background-image: var(--icon-arrow-white);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 2em;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

#part-contact > div > div > div:last-of-type > a:hover:before {
	border: 1px solid var(--color);
	background-image: var(--icon-arrow);
	transition: all 0.3s ease;
}

#part-contact > div > div > div:last-of-type > a > i {
	margin-right: 0.5em;
	font-size: 1.25em;
}

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

	#part-contact > div > div {
		flex-flow: column;
	}

	#part-contact > div > div > div {
		width: 100%;
		padding: 0;
	}

	#part-contact > div > div > div + div {
		border-left: unset;
		margin-top: 1em;
	}
}

/* fixed contents */
#fixed-contents {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 253;
}

#fixed-contents > a {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 6em;
	aspect-ratio: 1 / 1;
	background-color: #eee;
	color: #fff;
	font-weight: 700;
}

#fixed-contents > a:nth-of-type(1) {
	background-color: var(--color-green-light);
}

#fixed-contents > a:nth-of-type(2) {
	background-color: var(--color-green);
}

#fixed-contents > a:nth-of-type(3) {
	background-color: var(--color-green-dull);
}

#fixed-contents > a:nth-of-type(4) {
	background-color: var(--color-green-dark);
}

#fixed-contents > a > i {
	font-size: 1.75em;
	letter-spacing: 0;
}

#fixed-contents > a > span {
	display: inline-block;
	font-size: 0.75em;
	margin-top: 0.5em;
}

@media (max-width: 768px) {
	#fixed-contents {
		display: flex;
		width: 100%;
		height: 3em;
	}

	#fixed-contents > a {
		aspect-ratio: unset;
	}

	#fixed-contents > a {
		flex-flow: row;
		width: calc(100% / 3);
		height: 100%;
	}

	#fixed-contents > a > i {
		font-size: 1.25em;
		margin-right: 0.5em;
	}

	#fixed-contents > a:last-of-type {
		display: none;
	}
}

/* --------------------------
    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-olive-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;
    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;
    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.25lh 0.5lh;
	border-radius: 0.75lh;
    margin: 0 0.5em 0.5em 0;
    background-color: var(--color);
    color: #fff;
}

.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: #fff;
    color: var(--color);
    margin: 0 0.5em;
    transition: all 0.3s ease;
}

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


/* --------------------------
    single
-------------------------- */
/* single */
#single-date {
    display: block;
	font-family: var(--display-font);
    font-size: 1em;
    font-weight: 500;
    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: 2em;
}

.single-content h1:not(.plain),
.single-content h2:not(.plain) {
	background-color: var(--color-olive);
	padding: 0.5em 1em;
    margin-bottom: 1em;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2vw, 1.75em);
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
	color: #fff;
}

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


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

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

.single-content h5:not(.plain):before {
	content: '';
	display: block;
	width: 1em;
	border-top: 1px solid var(--color-olive);
	position: absolute;
	left: 0;
	top: 0.5lh;
}

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

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

.single-content ul:not(.plain) {
	list-style-type: none;
    background-color: #fff;
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
    padding: 2em;
    margin-bottom: 3em;
}

.single-content ol:not(.plain) {
    background-color: #fff;
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
    padding: 2em 2em 2em 3em;
    margin-bottom: 3em;
}

.single-content ul:not(.plain) > li {
	padding-left: 1em;
	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-olive);
	position: absolute;
	top: 0.5lh;
	left: 0;
	transform: translateY(-50%);
}

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

.single-content blockquote:not(.plain) {
    background-color: #fff;
	border-radius: clamp(0.125em, 1.5vw, 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;
    margin-bottom: 3em;
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
	overflow: hidden;
}

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

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

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

.single-content .figure {
  max-width:100%;
}

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

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

.single-content .figure.aligncenter {
  display: flex;
  flex-flow: column;
  align-items: center;
  margin: 0 auto 2em auto;
}

.single-content .figure > img {
  width: 100%;
}

.single-content .figure.aligncenter > img {
  margin: 0 auto;
}

.single-content .figure > figcaption {
  font-size: 0.75em;
  text-align: justify;
  text-justify: inter-character;
  width: 100%;
}

.single-content .figure > figcaption.alignright {
  text-align: right;
}

.single-content .figure > * + * {
  margin-top: 0.75em;
}

.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 figcaption:not(.plain) {
	font-size: 0.875em;
	margin-top: 1em;
}

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

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

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

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

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

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

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

	.single-content dl:not(.plain) > dt:not(:last-of-type),
	.single-content dl:not(.plain) > dd:not(:last-of-type) {
		margin-bottom: 0;
	}
	
	.single-content .figure.alignright,
	.single-content .figure.alignleft {
		float: none;
		margin: 0 auto 1em auto;
	}

	.single-content .figure > img {
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1em;
	}

	.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 pagination */
#single-pagination {
    list-style-type: none;
    display: flex;
    border-top: 1px solid var(--color-olive-light);
    border-bottom: 1px solid var(--color-olive-light);
    padding: 1rem 0;
    margin-top: 2rem;
}

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

#single-pagination > li + li {
    border-left: 1px solid var(--color-olive-light);
}

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

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

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

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

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

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

    #single-pagination > li:first-of-type:empty {
        border-top: 1px solid var(--color-olive-light);
    }
}


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

#top-main-slider .swiper-slide {
	width: 100%;
	height: 100vh;
	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-banner > .text {
	color: #fff;
	font-family: var(--serif-font);
	font-size: clamp(1.25em, 2.25vw, 1.5em);
	position: absolute;
	left: 5vw;
	top: 50%;
	z-index: 1;
	transform: translateY(-50%);
}

#top-main-banner > .text > h2 {
	font-weight: 500;
	font-size: 2.5em;
}

@media (max-width: 1024px) {
	#top-main-slider .swiper-slide {
		height: 100vw;
	}

	#top-main-banner > .text {
		font-size: clamp(10px, 2.25vw, 1.5em);
	}

	#top-main-banner > .text > h2 {
		font-size: 2em;
	}
}

#top-treatment > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#top-treatment > div > figure {
	width: calc(50% - 2em);
	aspect-ratio: 3 / 2;
	background-color: #ddd;
}

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

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

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

	#top-treatment > div > figure {
		width: 100%;
	}

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

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

#top-contents > div {
	display: flex;
	justify-content: space-between;
}

#top-information {
	width: calc(55% - 2em);
}

#information-table {
	width: 100%;
}

#information-table > thead > tr > th {
	background-color: var(--color-olive);
	padding: 1em;
	color: #fff;
	font-family: var(--serif-font);
	font-size: clamp(0.75em, 1.25vw, 1em);
	font-weight: 500;
}

#information-table > tbody > tr > * {
	padding: 1em;
	font-family: var(--serif-font);
	font-size: clamp(10px, 1.25vw, 1em);
	font-weight: 500;
	color: var(--color-olive);
}

#information-table > tbody > tr > * {
	border-bottom: 1px solid var(--color-olive);
	text-align: center;
}

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

#top-schedule {
	width: calc(45% - 2em);
}

#top-schedule .wpsbc-calendar {
	width: 100%;
	float: unset;
	margin: 0 auto;
}

#top-schedule .schedule-legend {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
    font-size: 0.875em;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 1em;
}

#top-schedule .schedule-legend > li {
	display: flex;
	align-items: center;
}

#top-schedule .schedule-legend > li + li {
	margin-left: 1em;
}

#top-schedule .schedule-legend > li > span {
    display: block;
    width: 2em;
    height: 2em;
	border: 1px solid var(--color);
    margin-right: 0.5em;
}

#top-schedule .schedule-legend > li > span {
    display: block;
    width: 2em;
    height: 2em;
    margin-right: 0.5em;
}

#top-schedule .schedule-legend > li > span.green {
    background-color: #ddffcc;
}

#top-schedule .schedule-legend > li > span.yellow {
    background-color: #fee2a0;
}

#top-schedule .schedule-legend > li > span.red {
    background-color: #ffc0bd;
}

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

	#top-information {
		width: 100%;
	}

	#top-schedule {
		width: 100%;
		margin-top: 2em;
	}
}

#top-promise > figure {
	width: 100%;
	max-height: 280px;
	aspect-ratio: 4 / 1;
	position: relative;
	z-index: 1;
}

#top-promise > figure:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-image: var(--top-promise-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	filter: brightness(0.8);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

#top-promise > figure > div {
	width: 100%;
	height: 100%;
	background-image: var(--top-promise-text);
	background-size: 1920px auto;
	background-repeat: repeat-x;
	background-position: 0% center;
	position: absolute;
	top: 0;
	left: 0;
	animation: loopLeft 20s linear infinite;
}

@keyframes loopLeft {
	from {
		background-position: 0 center;
	}
	to {
		background-position: -1920px center;
	}
}

@keyframes loopLeftSP {
	from {
		background-position: 0 center;
	}
	to {
		background-position: -960px center;
	}
}


#top-promise > div {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

#top-promise > div > div {
	width: calc(40% - 2em);
	position: sticky;
	top: var(--header-height-sp);
}

#top-promise > div > div > .heading > div:last-of-type {
	word-break: keep-all;
}

#top-promise > div > div > figure {
	width: 100%;
	aspect-ratio: 3 / 2;
	background-color: #ddd;
	position: relative;
}

#top-promise > div > div > figure > img {
	opacity: 0;
	pointer-events: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
}

#top-promise > div > div > figure > img.show {
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.3s ease;
}

#top-promise-list {
	list-style-type: none;
	width: calc(60% - 2em);
	counter-reset: count;
	position: sticky;
	top: 0;
}

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

#top-promise-list > li {
	padding: 2em 0;
}

#top-promise-list > li:first-of-type {
	padding-top: 0;
}

#top-promise-list > li > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
	padding-left: 5em;
	margin-bottom: 2em;
	position: relative;
}

#top-promise-list > li > h3:before {
	counter-increment: count;
	content: '0'counter(count);
	font-family: var(--display-font);
	font-weight: 400;
	font-size: 2em;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

#top-promise-list > li > figure {
	display: none;
	width: 100%;
	aspect-ratio: 3 / 2;
	background-color: #ddd;
	margin-bottom: 1em;
}

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

#top-promise-list > li > p > a {
	text-decoration: underline;
}

#top-promise-list > li > p > a:hover {
	opacity: 0.7;
	text-decoration: none;
}

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

	#top-promise > figure > div {
		background-size: 960px auto;
		animation: loopLeftSP 20s linear infinite;
	}

	#top-promise > div > div {
		width: 100%;
		position: static;
	}

	#top-promise-list {
		width: 100%;
		margin-top: 2em;
	}

	#top-promise > div > div > figure {
		display: none;
	}

	#top-promise-list > li > h3 {
		padding-left: 0;
		padding-top: 3em;
		margin-bottom: 1em;
	}

	#top-promise-list > li > h3:before {
		font-size: 2em;
		line-height: 1;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}

	#top-promise-list > li > figure {
		display: block;
	}
}

#top-menu-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	width: 100vw;
	margin-left: calc((100% - 100vw) / 2);
}

#top-menu-list > li {
	width: calc(100% / 3 - 2px);
}

#top-menu-list > li:not(:nth-of-type(3n)) {
	margin-right: 3px;
}

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

#top-menu-list > li > a {
	display: block;
	background-color: #ddd;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	position: relative;
}

#top-menu-list > li > a:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, var(--color-olive), transparent 75%);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

#top-menu-list > li > a > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: relative;
	z-index: 0;
	transition: transform 0.3s ease;
}

#top-menu-list > li > a:hover > img {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

#top-menu-list > li > a > h3 {
	display: flex;
	flex-flow: column;
	width: calc(100% - 3em);
	padding-right: 2em;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1em, 2vw, 1.75em);
	color: #fff;
	position: absolute;
	left: 1.5em;
	bottom: 1em;
	z-index: 2;
}

#top-menu-list > li > a > h3:before {
	content: attr(data-text);
	font-family: var(--display-font);
	font-size: 0.75em;
}

#top-menu-list > li > a > h3:after {
	content: '';
	display: block;
	width: 2em;
	aspect-ratio: 8 / 5;
	border: clamp(1px, 0.1vw, 2px) solid #fff;
	border-radius: calc(2em / 8 * 5);
	background-image: var(--icon-arrow-white);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	right: 0;
	transition: all 0.3s ease;
}

#top-menu-list > li > a:hover > h3:after {
	background-image: var(--icon-arrow);
	background-color: #fff;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	#top-menu-list > li {
		width: calc(50% - 1px);
	}

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

	#top-menu-list > li:nth-of-type(odd) {
		margin-right: 2px;
	}

	#top-menu-list > li:nth-of-type(n+3) {
		margin-top: 2px;
	}
}

#top-staff > div > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#top-staff > div > div > figure {
	width: calc(50% - 2em);
	aspect-ratio: 3 / 2;
	background-color: #ddd;
}

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

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

#top-staff > div > div > div > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2vw, 1.75em);
	margin-bottom: 1em;
}

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

	#top-staff > div > div > figure {
		width: 100%;
	}

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

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

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

#top-news > div > .button-wrap {
	grid-column: 2;
	grid-row: 1;
}

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

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

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

#top-news-list > li > a {
	display: block;
	background-color: #fff;
	padding: 1em 5em 1em 2em;
	border-radius: clamp(0.25em, 1vw, 0.5em);
	position: relative;
}

#top-news-list > li > a:before {
	content: '';
	display: block;
	width: 2em;
	aspect-ratio: 8 / 5;
	border: 1px solid var(--color);
	border-radius: calc(2em / 8 * 5);
	background-image: var(--icon-arrow);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 2em;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

#top-news-list > li > a:hover:before {
	background-image: var(--icon-arrow-white);
	background-color: var(--color);
	transition: all 0.3s ease;
}

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

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

#top-news-list > li > a > article > .category {
	width: 10rem;
	margin-right: 1rem;
}

#top-news-list > li > a > article > .category > span {
	display: flex;
	justify-content: center;
	background-color: var(--color);
	padding: 0.25lh 1lh;
	border-radius: 0.75lh;
	font-size: 0.75em;
	font-weight: 700;
	color: #fff;
}

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

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

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

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

	#top-news > div > .heading {
		margin-bottom: 1em;
	}

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

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

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

	#top-news-list > li > a:before {
		right: 1em;
	}

	#top-news > div > .button-wrap {
		text-align: center;
	}
}

#top-access-map-wrap {
	width: 100vw;
	margin-left: calc((100% - 100vw) / 2);
	background-color: #ddd;
	aspect-ratio: 3 / 1;
	overflow: hidden;
	margin-bottom: 2em;
}

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

#top-access-parking {
	display: flex;
	justify-content: space-between;
	margin-top: 2em;
}

#top-access-parking > figure {
	width: calc(50% - 1em);
}

#top-access-parking > figure > div {
	aspect-ratio: 3 / 2;
	background-color: #ddd;
}

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

#top-access-parking > figure > figcaption {
	font-size: 0.875em;
	margin-top: 1em;
}

@media (max-width: 768px) {
	#top-access-map-wrap {
		aspect-ratio: 3 / 2;
	}

	#top-access-parking {
		flex-flow: column;
	}

	#top-access-parking > figure {
		width: 100%;
	}

	#top-access-parking > figure + figure {
		margin-top: 1em;
	}
}

#top-facility {
	overflow: hidden;
}

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

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

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

#top-recruit-wrap {
	display: flex;
	flex-flow: row-reverse;
	background-color: var(--color-beige-pale);
	box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
	border-radius: clamp(0.5em, 1.5vw, 1em);
	overflow: hidden;
}

#top-recruit-wrap > figure {
	width: 50%;
	aspect-ratio: 3 / 2;
	background-color: #eee;
	position: relative;
}

#top-recruit-wrap > figure:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, var(--color-beige-pale), transparent 25%);
	position: absolute;
	top: 0;
	left: 0;
}

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

#top-recruit-wrap > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	width: 50%;
	padding: 2em 3em;
	position: relative;
	z-index: 1;
}

#top-recruit-wrap > div:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-image: var(--top-recruit-text);
	background-position: center;
	background-size: 50% auto;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

#top-recruit-wrap > div > h2 {
	font-family: var(--serif-font);
	font-weight: 500;
	margin-bottom: 0.5em;
}

#top-recruit-wrap > div > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
	margin-bottom: 0.5em;
}

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

	#top-recruit-wrap > figure {
		width: 100%;
	}

	#top-recruit-wrap > figure:before {
		background: linear-gradient(to top, var(--color-beige-pale) 5%, transparent 25%);
	}

	#top-recruit-wrap > div {
		width: 100%;
	}
}


/* --------------------------
    page
-------------------------- */
#page-header {
	min-height: calc(200px + var(--header-height));
	position: relative;
	z-index: 1;
}

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

#page-header > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	min-height: calc(200px + var(--header-height));
	padding: var(--header-height) 1em 1em 1em;
	color: #fff;
}

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

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

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

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

#breadcrumb > li + li:before {
	content: '';
	display: block;
	border-top: 0.35em solid transparent;
	border-left: 0.35em solid #fff;
	border-bottom: 0.35em solid transparent;
	margin-right: 1em;
}

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

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


/* --------------------------
    contact
-------------------------- */
#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;
	margin-bottom: 0.25em;
}

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

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

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

#reservation-app {
	display: flex;
	justify-content: space-between;
}

#reservation-app > div {
	width: calc(50% - 1em);
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: space-between;
}

#reservation-app > div > figure {
	aspect-ratio: 1 / 1;
	width: 180px;
	margin: 1em 0 0 0;
}

#official-line {
	display: flex;
	flex-flow: column;
	align-items: center;
}

#official-line > figure {
	aspect-ratio: 1 / 1;
	width: 180px;
}

#official-line > div {
	margin-top: 2em;
}


@media (max-width: 768px) {
	#reservation-app {
		flex-flow: column;
	}
	
	#reservation-app > div {
		width: 100%;
	}
	
	#reservation-app > div + div {
		margin-top: 2em;
	}
}

.grecaptcha-badge {
	bottom: 25em !important;
	z-index: 254;
}

@media (max-width: 768px) {
	.grecaptcha-badge {
		bottom: 4em !important;
	}
}

.contactform > dl {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 3em;
	overflow: hidden;
	border-radius: 0.25em;
}

.contactform > dl > dt {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 35%;
	background-color: var(--color-olive);
	padding: 1em 2em;
	font-family: var(--serif-font);
	font-weight: 500;
	color: #fff;
	position: relative;
}

.contactform > dl > dd {
	width: 65%;
	background-color: #fff;
	padding: 1em 2em;
}

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

.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="readonly"]:focus {
	outline: none;
}

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

.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-olive-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%;
	}
	
	.contactform > dl > dt:not(:last-of-type),
	.contactform > dl > dd:not(:last-of-type) {
		margin-bottom: 0;
	}
}

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

#recruit-archive-list > li {
	display: flex;
	align-items: center;
	box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
}

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

#recruit-archive-list > li > a {
	display: flex;
	width: 100%;
}

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

/* --------------------------
    cavity-treatment
-------------------------- */
.treatment-method-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 2em;
	margin-bottom: 2em;
}

.treatment-method-list > li {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
}

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

.treatment-method-list > li > figure {
	margin-bottom: 1em;
	aspect-ratio: 3 / 2;
}

.treatment-method-list > li > figure > img {
	width: 100%;
}

@media (max-width: 768px) {
	.treatment-method-list {
		grid-template-columns: 1fr;
	}
	
	.treatment-method-list > li + li {
		margin-top: 1em;
	}
}
/* --------------------------
    stuffing-crown
-------------------------- */
.stuffing-crown-table {
	display: table;
	border: 1px solid var(--color-olive-dark);
	font-size: 0.875em;
	table-layout: fixed;
	width: 100%;
	min-width: 860px;
}

.stuffing-crown-table > thead th {
	padding: 0.75em 1em;
	background-color: var(--color-olive-dark);
	color: #fff;
}

.stuffing-crown-table > thead th:not(:first-of-type) {
	border-left: 1px solid #fff;
}

.stuffing-crown-table > thead > tr:last-of-type > th {
	border-top: 1px solid #fff;
}

.stuffing-crown-table > thead th:first-of-type {
	width: 3.5em;
	writing-mode: vertical-rl;
}

.stuffing-crown-table > tbody th {
	padding: 0.75em 1em;
	background-color: var(--color-olive-dark);
	color: #fff;
	border-top: 1px solid #fff;
	writing-mode: vertical-rl;
	width: 3.5em;
}

.stuffing-crown-table > thead th.olive-light {
	background-color: var(--color-olive-light);
}

.stuffing-crown-table > thead th.olive {
	background-color: var(--color-olive);
}

.stuffing-crown-table > thead th.olive-dull {
	background-color: var(--color-olive-dull);
}

.stuffing-crown-table > tbody td {
	padding: 0.75em 1em;
	text-align: justify;
	vertical-align: top;
	background-color: #fff;
}

.stuffing-crown-table > tbody > tr:not(:first-of-type) > td {
	border-top: 1px solid var(--color-olive-dark);
}

.stuffing-crown-table > tbody td:not(:first-of-type) {
	border-left: 1px solid var(--color-olive-dark);
}

.stuffing-crown-table > tbody td.star {
	vertical-align: middle;
	text-align: center;
}

.stuffing-crown-table > tbody td.star > i {
	font-size: 1.25em;
}

.stuffing-crown-table > tbody td.star > i + i {
	margin-left: 0.125em;
}

.whitening-examples {
	display: flex;
	align-items: center;
}

.whitening-examples > * {
	width: calc(100% / 3 - 2em);
}

.whitening-examples > figure {
	margin-right: 3em;
	position: relative;
	display: flex;
	flex-flow: column;
	align-items: center;
}

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

.whitening-wrap {
	display: flex;
	justify-content: space-between;
	flex-flow: row-reverse;
	margin-bottom: 2em;
}

.whitening-wrap > figure {
	width: calc(35% - 1em);
}

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

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

.accordion-list-wrap > dl {
	border-collapse: separate;
	box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
}

.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;
	background-color: #fff;
	position: relative;
	transition: all 0.3s ease;
}

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

.accordion-list-wrap > dl > dt > label:before {
	counter-increment: count;
	content: 'Q'counter(count);
	display: block;
	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;
	}
}

/* --------------------------
    dentures
-------------------------- */
.full-denture-table {
	display: table;
	border: 1px solid var(--color-olive-dark);
	font-size: 0.875em;
	width: 100%;
	min-width: 860px;
}

.full-denture-table > thead th {
	padding: 0.75em 1em;
	background-color: var(--color-olive-dark);
	color: #fff;
	white-space: nowrap;
}

.full-denture-table > thead th:not(:first-of-type) {
	border-left: 1px solid #fff;
}

.full-denture-table > tbody th {
	padding: 0.75em 1em;
	background-color: var(--color-olive-dark);
	color: #fff;
	border-top: 1px solid #fff;
}

.full-denture-table > tbody th > span {
	display: block;
	font-size: 10px;
	padding: 0.25em 0.5em;
	border-radius: 0.25em;
	background-color: #fff;
	color: var(--color);
	margin: 0.5em auto 0 auto;
}

.full-denture-table > tbody td {
	padding: 0.75em 1em;
	text-align: justify;
	vertical-align: middle;
	background-color: #fff;
}

.full-denture-table > thead th:nth-of-type(2) {
	width: calc(100% / 5);
}

.full-denture-table > tbody > tr:not(:first-of-type) > td {
	border-top: 1px solid var(--color-olive-dark);
}

.full-denture-table > tbody td:not(:first-of-type) {
	border-left: 1px solid var(--color-olive-dark);
}

.full-denture-table > tbody td.vertical {
	text-align: center;
}

.full-denture-table > tbody td.vertical > span {
	font-size: 1em;
	white-space: pre;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	display: inline-block;
}

.full-denture-table > tbody td > span {
	font-size: 10px;
	font-weight: 600;
}

.full-denture-table > tbody td > img {
	margin: auto 0;
}

.full-denture-table .word-wrap {
	white-space: nowrap;
	text-align: center;
	font-weight: 600;
	line-height: 1.5;
}

.dentures-recommended {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	margin-bottom: 2em;
}

.dentures-recommended > li {
	width: calc(50% - 1em);
	display: flex;
	flex-flow: column;
}

.dentures-recommended > li:nth-of-type(even) {
	margin-left: 2em;
}

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

.dentures-recommended > li > div:first-of-type {
	padding: 1em 2em;
	background-color: var(--color-beige-dull);
	font-weight: 600;
	border-radius: clamp(0.25em, 1vw, 0.5em) clamp(0.25em, 1vw, 0.5em) 0 0;
	text-align: center;
	font-family: var(--serif-font);
}

.dentures-recommended > li > div:last-of-type {
	padding: 1em 2em;
	background-color: #fff;
	font-weight: 600;
	border-radius: 0 0 clamp(0.25em, 1vw, 0.5em) clamp(0.25em, 1vw, 0.5em);
	height: 100%;
}

.dentures-recommended > li p {
	text-align: justify;
}

.process-frame {
	display: inline-block;
	height: 0.875em;
	width: 2em;
	background-color: var(--color-beige-dull);
	vertical-align: middle;
	margin-right: 0.5em;
}

.production-process-grid {
	font-size: clamp(0.75em, 1.5vw, 1em);
	display: grid;
	align-items: stretch;
	column-gap: 2em;
	row-gap: 3em;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr auto;
	grid-template-areas:
		"A A A A A A A A A A A A"
		"B B B B B C C C C C . .";
}

.production-process-grid > .item.a {
	grid-area: A;
}

.production-process-grid > .item.b {
	grid-area: B;
}

.production-process-grid > .item.c {
	grid-area: C;
}

.production-process-grid > div {
	position: relative;
}

.production-process-grid > div:before {
	content: '';
	position: absolute;
	display: block;
	width: 100%;
	height: 1em;
	border-bottom: 1px solid var(--color-olive-dark);
	border-left: 1px solid var(--color-olive-dark);
	border-right: 1px solid var(--color-olive-dark);
	left: 0;
	top: -1.5em;
	transform: translateY(-50%);
}

.production-process-grid > div:after {
	content: '';
	position: absolute;
	display: block;
	height: 1em;
	border-left: 1px solid var(--color-olive-dark);
	left: 50%;
	top: -1em;
}

.production-process-grid > div > img {
	width: 200px;
	margin: auto;
	margin-bottom: 1em;
}

.production-process {
	display: grid;
	align-items: stretch;
	column-gap: 2em;
	row-gap: 2em;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	writing-mode: vertical-lr;
    width: 100%;
}

.production-process > li {
	padding: 1em 0.75em;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: row-reverse;
	position: relative;
	font-weight: 600;
}

.production-process > li + li:before {
	content: "";
	display: block;
	position: absolute;
	border-top: 0.5em solid transparent;
    border-left: 0.5em solid var(--color-olive-dark);
    border-bottom: 0.5em solid transparent;
	left: -1em;
	transform: translateX(-50%);
}

.production-process > li > span {
	writing-mode: horizontal-tb;
	font-size: 10px;
	margin-bottom: 0.5em;
}

.production-process > li.insurance {
	background-color: var(--color-beige-dull);
}

.production-process > li.special {
	background-color: var(--color-olive-dark);
	color: #fff;
}

@media (max-width: 768px) {
	
	
	.dentures-recommended > li {
		width: 100%;
	}
	
	.dentures-recommended > li:nth-of-type(even) {
		margin-left: 0;
	}
	
	.dentures-recommended > li + li {
		margin-top: 1em;
	}
	
	.dentures-recommended > li:nth-of-type(n + 3) {
		margin-top: 1em;
	}
	
	.dentures-recommended > li > div:first-of-type {
		padding: 1em;
	}
	
	.dentures-recommended > li > div:last-of-type {
		padding: 1em;
	}
	
	.production-process-grid {
		overflow-x: scroll;
	}

	.production-process {
		width: 100%;
		min-width: 760px;
	}
}

/* --------------------------
    implant
-------------------------- */
.dental-loan {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dental-loan > a {
	width: calc(50% - 1em);
	display: block;
}

.dental-loan > a > figure {
	aspect-ratio: 3 / 2;
}

.dental-loan > a > figure > img {
    transition: all 0.3s ease;
}

.dental-loan > a:hover > figure > img {
	opacity: 0.7;
	transition: all 0.3s ease;
}

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

.dental-loan > div > .text {
	font-size: clamp(1.25em, 3vw, 1.5em);
	margin-bottom: 1em;
	font-family: var(--serif-font);
	font-weight: 600;
}

.implant-inspection-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 2em;
	margin-bottom: 2em;
}

.implant-inspection-list > li {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
}

.implant-inspection-list > li > figure {
	margin-bottom: 1em;
	aspect-ratio: 3 / 2;
}

.implant-inspection-list > li > figure > img {
	width: 100%;
}

@media (max-width: 768px) {
	.dental-loan {
		flex-flow: column;
	}
	
	.dental-loan > a {
		width: 100%;
		margin-bottom: 2em;
	}
	
	.dental-loan > div {
		width: 100%;
	}
	
	.implant-inspection-list {
		grid-template-columns: 1fr;
	}
	
	.implant-inspection-list > li + li {
		margin-top: 1em;
	}
}
/* --------------------------
    periodontal-disease
-------------------------- */
.silent-disease {
	list-style-type: none;
	margin-bottom: 3em;
}

.silent-disease > li {
	padding: 2em;
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	border-radius: clamp(0.25em, 1vw, 0.5em);
	position: relative;
}

.silent-disease > li + li {
	margin-top: 3em;
}

.silent-disease > li + li:before {
	content: '';
	display: block;
	border-top: 0.5em solid var(--color-olive-dark);
    border-left: 0.5em solid transparent;
    border-right: 0.5em solid transparent;
	position: absolute;
	top: -1.5em;
	left: 50%;
	transform: translate(-50%, -50%);
}

.silent-disease > li > img {
	width: 180px;
}

.silent-disease > li > div {
	width: calc(100% - (180px + 2em));
}

/* --------------------------
    staff
-------------------------- */
.specialties-list {
	list-style-type: none;
	display: flex;
	margin-bottom: 1em;
	flex-wrap: wrap;
}

.specialties-list > li {
	padding: 0.25em 0.5em;
	background-color: var(--color-beige-dull);
	border-radius: 0.25em;
	margin: 0.25em 0.5em 0.25em 0;
}

.check-list {
	list-style-type: none;
	padding: 3em 2em;
	background-color: #fff;
	border-radius: 0.25em;
	margin-bottom: 3em;
}

.check-list li + li {
	margin-top: 2em;
}

.check-list li dt {
	font-size: 1.25em;
	font-family: var(--serif-font);
	display: flex;
	align-items: center;
}

.check-list li dt:before {
	content: '\f14a';
	margin-right: 0.5em;
	color: var(--color);
	font-family: var(--font-awesome);
}

.check-list li dd {
	margin-top: 0.5em;
}

@media (max-width: 768px) {
	.check-list {
		padding: 1em;
		margin-bottom: 2em;
	}
}

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

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

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

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

.facilities-list > li > figure > figcaption {
	font-size: 0.875em;
	margin-top: 0.5em;
}

@media (max-width: 768px) {
	.facilities-list > li {
		width: calc(50% - 0.5em);
	}
	
	.facilities-list > li:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
	
	.facilities-list > li:nth-of-type(even) {
		margin-left: 1em;
	}
	
	.facilities-list > li:not(:nth-of-type(3n)) {
		margin-top: 0;
	}
	
	.facilities-list > li:nth-of-type(n + 3) {
		margin-top: 1em;
	}
}

/* --------------------------
    staff
-------------------------- */
.introduction-wrap {
	display: flex;
	justify-content: space-between;
	margin-top: 3em;
}

.introduction-wrap > div:not(.image) {
	width: calc(70% - 2em);
}

.introduction-wrap > div.image {
	width: calc(30% - 2em);
}

.introduction-name {
	display: flex;
	flex-wrap: wrap;align-items: baseline;
	font-family: var(--serif-font);
}

.introduction-name > span {
	font-size: 1.5em;
	margin-right: 1em;
}

.introduction-name:before {
	content: attr(data-text);
	width: 100%;
	margin-bottom: 0.5em;
}

.introduction-list {
	list-style-type: none;
	padding: 1em 2em 1em 4em;
	background-color: #fff;
	border-radius: clamp(0.125em, 1.5vw, 0.25em);
	margin-bottom: 3em;
}

.introduction-list > li {
	padding: 0.5em 0;
	position: relative;
}

.introduction-list > li:before {
	content: '';
	display: block;
	width: 0.25em;
	height:0.25em;
	background-color: var(--color-olive);
	position: absolute;
	left: -2em;
	top: 1lh;
	border-radius: 50%;
	transform: translate(-50%,-0.5em);
}

.introduction-list > li + li {
	border-top: 1px solid var(--color-beige-dull);
}

.introduction-wrap > div.image figure {
	display: flex;
	flex-flow: column;
	align-items: center;
}

@media (max-width: 768px) {
	.introduction-list {
		padding: 1em 1em 1em 2em;
	}
	
	.introduction-list > li:before {
		left: -1em;
	}
}