@charset "UTF-8";


/* パソコン用CSS */

/* ------------------------------------------
	BASIC
--------------------------------------------- */
body, header, footer {
    min-width: 1240px;
}

:root {
	--body-font-family: "Noto Serif JP", serif;
	--body-color:#444;
	--h2-font-size:32px;
	--sub-h2-font-size:30px;
	--sp-h2-font-size:24px;
	--sp-font-size:16px
}
*,*:before,*:after{
	box-sizing:border-box;
}

body{
	color:var(--body-color);
	font-family:var(--body-font-family);
	font-size:18px;
	line-height:1.8;
	font-weight: 400;
	font-style: normal;
}

img{
	display:block;
}

a:link {
	color:#444;
	text-decoration:none;
}

a:visited {
	color: #444;
	text-decoration:none;
}

a:hover{
	color:#1b397e;;
    text-decoration: none;
}

a:active,
a:focus {
	color:#000;
	text-decoration:none;
}

a:hover img {
	opacity:0.8;
	filter:alpha(opacity=80);
	-ms-filter:"alpha(opacity=80)";
}

/* ホバー */

a:not(.btn,.tel,#nav-toggle,
.pagetop a) {
	padding-bottom: 5px;
	position: relative;
}
a:not(.btn,.tel,#nav-toggle,
.pagetop a):before {
	background: rgba(27, 57, 126, 0.6);
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	left: 0;
	bottom: 0;
	margin: auto;
	transform-origin: center top;
	transform: scale(0, 1);
	transition: transform .3s;
}
a:not(.btn,.tel,#nav-toggle,
.pagetop a):hover::before {
	transform-origin: center top;
	transform: scale(1, 1);
}

.tel:hover:not(.tel-button .tel){
	color: rgba(27, 57, 126, 0.6);
}
  /* ホバー　終わり */

html {
	scroll-behavior:smooth;
}

ul {
	padding-left: 0;
}
li {
	list-style:none;
}

.pcnone,
.scroll {
    display: none !important;
}


/* ------------------------------------------
	main
--------------------------------------------- */

/* --- 全ページ共通 -------------------------------- */

/* .bg{
	background: rgba(241, 241, 226, 0.6);
} */

.content-width {
	max-width: 1280px;
	width: 80vw;
    padding: 64px 0;
	margin: 0 auto;
	background-image: linear-gradient(to right, #e7dbc6 2px, transparent 2px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    background-position: left bottom;
}
section:last-child .content-width {
	background-image: none;
}

main > article{
	max-width: 100vw;
	width: 100%;
}

p {
    text-align: justify;
}

h2 {
	font-size: var(--h2-font-size);
	color: var(--h2-color);
	padding: 10px;
	text-align: left;
	letter-spacing: 2px;
	padding: 0.2rem 0 0;
	display: inline-block;
	margin-bottom: 40px;
	line-height: 1.2;
	position: relative;
}
h2:not(footer h2)::after{
	content: "";
	width: 100%;
	position: absolute;
	left: 0;
	bottom: -10px;
	border: 4px solid rgba(27, 57, 126, 0.6);
}

.sub h2 {
	font-size: var(--sub-h2-font-size);
}

h3{
	font-size: 1.4em;
	margin-bottom: 8px;
}
h4{
	font-size: 1.2em;

}

/* --- index ---------------------------- */
.slider {
    position:relative;
	z-index: 1;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	margin-top: 90px;
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/top_slider01.jpg);
}

.slider-item02 {
    background:url(../img/top_slider02.jpg);
}

.slider-item03 {
    background:url(../img/top_slider03.jpg);
}
.slider-item04 {
    background:url(../img/top_slider04.jpg);
}
.slider-item05 {
    background:url(../img/top_slider05.jpg);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
	background-position: center;
	background-size: cover;
	position: relative;
}
.slider-item h1 {
	position: absolute;
	font-size: 48px;
	color: #fff;
	background: linear-gradient(transparent 0%, rgba(27, 57, 126, 0.6) 0%);
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	line-height: 1.8;
	padding-left: 80px;
    width: 40%;
}
ul.slider{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #fff;
}
a:hover,
a:active{
	text-decoration: none;
}
.wrapper{
	position: relative;
}

.container{
	background:#555;
}

.container p{
	padding: 300px 0; 
	text-align: center;
	color: #fff;
}

#mv{
	position: relative;
	margin-top: 0;
}

.bg-gry {
    background: #e7dbc6;
    padding: 50px 0;
	
}

.bg-gry .content-width{
	position: relative;
	z-index: 2;
}

.flex,.flex1,.flex2{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 20px auto;
}
.flex{
	align-items: flex-start;
	margin: 40px auto 0;
}
.flex .col{
	width: 49%;
}
.flex1 .img{
	width: 16%;
}
.flex1 .text{
	width: 75%;
}
.flex2 .img{
	width: 30%;
}
.flex2 .text{
	width: 65%;
}
.mess .text {
	text-align: left;
    margin: 0 auto;
}
.text p:not(footer .text p) {
    margin-bottom: 20px;
}

.news iframe{
	height: 320px;
}
.news .content-width {
    padding-bottom: 0;
}

.bg-gry iframe{
	background: none;
}


/* .introduction .child_room .grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin-top: 40px;
	margin-bottom: 80px;
}
.introduction .child_room .grid{
	margin: 0 auto 20px;
}
.introduction .child_room .grid .img{
	max-width: 400px;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    height: auto;
    margin: 0 auto;
} */

.introduction .child_room .grid {
    height: 480px;
    margin: 40px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-y: hidden;
}
.introduction .child_room .grid .img {
    width: 48%;
    max-height: 480px;
    object-fit: cover;
    height: auto;
}

/* --- sub --------------------------------------------- */

.submv {
	position: relative;
	height: 80vh;
	margin-top: 0;
	
}
div#submv img {
    height: 100%;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}

.subtitle{
	position: absolute;
    top: 35%;
    left: 0;
    background: linear-gradient(transparent 0%, rgba(27, 57, 126, 0.6) 0%);
    text-align: center;
    font-size: 32px;
    vertical-align: baseline;
    color: #fff;
    width: 40%;
    text-align: right;
    padding-right: 16px;
}
.subtitle span{
	font-size: 20px;
}
/* .sub h3::before {
    content: "■";
    margin-right: 0.5em;
    color: #000;
} */

/* ============ cavity ========================= */

.cheek_list li{
	padding-left: 30px;
	position: relative;
}
.cheek_list li::before{
	content: "";
	position: absolute;
	width: 24px;
	height: 24px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	background: url(../img/cheek.png)no-repeat;
	background-size: contain;
}

.kinouteika .flex1 .text,
.kinouhattatuhuzen .flex1 .text{
	width: 70%;
}
.kinouteika .flex1 .img,
.kinouhattatuhuzen .flex1 .img {
	max-width: 200px;
	height: 240px;
	object-fit: cover;
}
.kinouteika .flex1 .img img,
.kinouhattatuhuzen .flex1 .img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cavity .pmtc_flow li{
	padding-bottom: 50px;
	margin-bottom: 20px;
	position: relative;
}
.cavity .pmtc_flow li::after{
	content: "";
	width: 80px;
	height: 40px;
	position: absolute;
	left: 30%;
	bottom: 0;
	transform: translateX(-50%);
	background: rgba(27, 57, 126, 0.6);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.cavity .pmtc_flow li:last-child:after{
	display: none;
}
.pmtc_nagare .pmtc_flow.text {
    width: 80%;
}
.pmtc_nagare .img {
    width: 20%;
}
.pmtc_nagare .img img {
    width: 200px;
    height: 300px;
    object-fit: contain;
}
.tate{
	transform: rotate(90deg);
}

/* ============ implant ========================= */


details {
	margin-bottom: 1em; /* Q&A同士の間隔 */
	padding: 0.5em 1em; /* 全体の余白 */
}

summary::-webkit-details-marker {
  	display: none; /* ChromeやSafariのデフォルト三角アイコンを消す */
}

summary {
	font-weight: bold;
	cursor: pointer;
	list-style: none;
	display: flex;             /* 横並びにする */
	justify-content: space-between; /* 左右に分ける */
	align-items: center;       /* 縦位置を揃える */
	transition: all 0.5s ease;
	padding: 0 1em;
	background: #f9f3e7;  /* サイトの薄ベージュ */
	padding: 0.5em 1em;
}


details[open] > div {
	animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px); /* ちょっと上から降りてくる感じ */
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

details {
	margin-bottom: 1em;
}

/* 枠や背景は content に付ける */
details .content {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: all 0.5s ease;
	background: #fff;
	padding: 1em;
	border: 1px solid #ccc;
	border-top: none;
}

details[open] .content {
	max-height: 500px;
	opacity: 1;
	padding: 1em;
}
summary::after {
	content: "＋";
	font-weight: 900;
	font-family: "Arial Black", "Noto Sans JP", sans-serif;
	font-size: 1.6em;
	color: #000;
	margin: 0;
}

details[open] summary::after {
	content: "－";
}


/* ============ whitening ========================= */


/* ============ facilities ========================= */

.facilities .flex img:not(.flex .flex2 img){
	max-width: 540px;
	max-height: 360px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.facilities .flex .flex2 {
	margin-top: 10px;
}
.facility_standards > div > ul > li{
	padding-top: 40px;
}

/* ============ staff ========================= */

.staff .incho, .staff .fukuincho{
	margin-top: 100px;
}
.staff .flex {
	margin-top: 0;
	align-items: flex-start;
}
.staff .flex h2 {
	padding-top: 0;
}

.staff .flex .col{
	max-width: 540px;
	max-height: 360px;
    overflow: hidden;
}

.staff .flex .col img{
	width: 100%;
	height: 100%;
	object-fit: cover;
    object-position: center;
    transform: scale(2.2);
}
.staff .flex .col ul{
	margin-bottom: 40px;
}

/* ============ price ========================= */

.price_table{
	margin: 40px auto;
}

table{
    width: 100%;
	table-layout: fixed;
}
table th,table td{
	padding: 10px;
	border: solid 1px #444;
}

table th:nth-child(1),
table td:nth-child(1) { width: 30%; text-align: left; }

table th:nth-child(2),
table td:nth-child(2),
table th:nth-child(3),
table td:nth-child(3),
table th:nth-child(4),
table td:nth-child(4) { width: 10%; text-align: center; }

table th:nth-child(5),
table td:nth-child(5) { width: 20%; text-align: center; }

table th:nth-child(6),
table td:nth-child(6) { width: 20%; }

tr.ichigyo td {
	background: #f9f3e7;
	font-weight: bold;
	text-align: left;
}

table th{
	text-align: center !important;

}

table td img {
	width: 100%;
	height: auto;
	margin: 0 auto;
}
.price_table h3 span,
table td span {
	font-size: 0.75em;
}

/* ------------------------------------------
	footer
--------------------------------------------- */

footer {
	color:#444;
	text-align:center;
	padding: 80px 0 20px;
	margin:0;
	position: relative;
	background: rgba(241, 241, 226, 0.6);
}
/* .f-content-width {
	max-width: 1200px;
	width: 100%;
	margin: 120px auto 0;
} */
footer h2 {
	margin-bottom: 48px;
	background: linear-gradient(transparent 80%, #e7dbc6 80%);
    width: auto;
}
.f-flexbox {
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
	justify-content: space-between;
    margin: 0 auto 20px;
    font-size: 16px;
    width: 80vw;
}
.footer-main {
    width: 100%;
	text-align: center;
}
.f-logo a {
	display: block;
	width: 20%;
    margin: 0 auto;	
}
.f-logo a img {
	width: 100%;
    margin: 0 auto;
}
.footer-main nav > ul {
	justify-content: space-between;
	margin: 0 auto;
	width: 80vw;
}
.f-addr {
    text-align: center;
	letter-spacing: 0.2em;
}
.f-addr-tel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -16px auto 16px;
}
.f-addr-tel .tel {
    letter-spacing: 0.1em;
	display: inline;
	font-size: 30px;
	font-weight: bold;
	color: #444;
    padding-left: 8px;
}
.footer-schedule {
	width: 67%;
}
.footer-schedule .calendar {
	width: 100%;
	height: 480px;
}
.time {
	width: 30%;
	text-align: left;
}
.time h3 {
	background: linear-gradient(transparent 80%, #e7dbc6 80%);
    line-height: 1.2;
    display: inline;
}
.footer-card {
	max-width: 320px;
	width: 100%;
	padding: 20px;
    border: solid 2px #e7dbc6;
    margin-top: 80px;
}
.footer-card li {
    margin-bottom: 16px;
    text-align: left;
}
.footer-card li:last-child {
    margin-bottom: 0;
}
.footer-card h4{
	line-height: 1.2;
}
.footer-card p{
	font-size: 0.9em;
	text-align: left;
}
.footer-map {
	width: 40%;
	margin: 0 auto;
}
.f-addr {
    margin: 24px auto 0;
}
.f-addr p {
    text-align: center;
}
.footer-info.f-content-width {
    padding: 64px 0;
}


iframe{
	width: 100%;
	height: 100%;
}
.copyright {
    margin-top: 14px;
	display: block;
    letter-spacing: 0.3em;
	color: #333;
}
.f-logo a::before{
	display: none !important;
}

a.explicit {
    color: #1b397e;
}
.flex-text-img {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.flex-text-img p {
    padding-right: 40px;
    text-align: justify;
}
.flex img {
    padding-bottom: 8px;
}

.loading-end {
	opacity: 0;
	transition: opacity .3s ease-out;
}