@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/

/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}

/*タイトル(共通)*/
.spot-heading01{
	font-size: clamp(40px,6vw,60px);
	font-style: italic;
	text-align: center;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.spot-heading02{
	font-size: clamp(22px, 2.7vw, 30px);
	line-height: 1em;
	font-weight: 700;
	text-align: center;
	font-family: 'YakuHanJPs','Noto Sans Japanese',sans-serif,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", Arial,Helvetica, Verdana;
}
.spot-heading02+p{
	margin-top: 0.5em;
	margin-bottom: 1em;
	font-size: clamp(17px, 2.7vw, 25px);
	font-weight: bold;
	inline-size: fit-content;
	text-align: center;
	margin-inline: auto;
	font-family: 'YakuHanJPs','Noto Sans Japanese',sans-serif,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", Arial,Helvetica, Verdana;
}
.line{
	width: 1px;
	height: auto;
	padding-top: 2.5%;
	background-color: #999;
	margin: 0.5% auto;
}
@media (max-width: 768px) {
	.line{
		padding-top: 7.5%;
	}
}
/**/
.each-page__heading01 {
	position: relative; /* 親要素を相対位置に設定 */
	margin-top: 50px;
}

.each-page__heading01 h2 {
	/*width: fit-content;*/
	font-size: clamp(26px, 2.9vw, 30px);
	font-family: 'Noto Serif JP', serif;
	text-align: center;
	line-height: 1.2;
	font-weight: 400;
	position: relative;
	z-index: 1;
	opacity: 0.9;
	/*margin-bottom: 2.5vw;*/
	margin-bottom: 35px;
}
.each-page__heading01 h2::after {
	content: "";
	width: 3em;
	height: .2em;
	border-radius: .1em;
	background-color: var(--main-color);
	position: absolute;
	bottom: -15px;
	left: calc(50% - 3em / 2);
}
.each-page__heading01 h2.disno::after{
	display: none;/*下線無くしたい場合*/
}
.each-page__heading01 span {
	position: absolute;
	font-family: "WindSong", serif;
	margin: 0 auto;
	font-size: clamp(50px,10vw,80px);
	text-align: center;
	top: -1em;

	transform-origin: center top;
	pointer-events: none;
	white-space: nowrap;
	text-transform: lowercase;
	font-weight: normal;
	color: #a8beca;
	opacity: 0.25;
	/*transform: rotate(-10deg);*/

	left: 50%;/*中央配置*/
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
/*英文字が長すぎるとき*/
.each-page__heading01 span.toolong {
	position: absolute;
	font-family: "WindSong", serif;
	margin: 0 auto;
	font-size: clamp(37px,10vw,67px);
	text-align: center;
	top: -1em;

	transform-origin: center top;
	pointer-events: none;
	white-space: nowrap;
	text-transform: unset;
	font-weight: normal;
	color: #437695;
	opacity: 0.2;
	/*transform: rotate(-10deg);*/

	left: 50%;/*中央配置*/
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}

/*テキストcenter→justify*/
.tx-ctj {
	margin: 5px auto;
	text-align: center;
}
@media (max-width: 1068px) {
	.tx-ctj {
		text-align: justify;
	}
}
/*印刷用*/
@media print{
	.tx-ctj {
		margin: 5px auto;
		text-align: center;
	}
}

/*======= ご挨拶 ======*/
/*ご挨拶*/
.greeting {
	padding: var(--v-space3) 0 clamp(40px, 6vw, 90px) 0;
	background-color: var(--base-color);
	/*background-image: url(../img/bg_00.png);
	background-size: cover;
	background-position: top left;
	background-repeat: no-repeat;*/
}
/**/
p.grp{
	font-size: clamp(13px, 1.5vw, 14px);
	margin: 0 auto;
	color: #555;
	width: fit-content;
}
/**/
p.grp2 {
	font-size: clamp(16px, 1.7vw, 17px);
	margin: 20px auto 0 auto;
	line-height: 1.8;
}

/**/
.gr-sub1 {
	padding: var(--v-space) 0;
	background-image: url(../img/bg_sub1.jpg);
	background-size: cover;
	background-position: center left;
	background-repeat: no-repeat;
}
h3.heading-grsub{
	font-size: clamp(25px, 2.5vw, 30px);
	line-height: 1.3;
	font-weight: normal;
	font-family: 'Noto Serif JP', serif;
	display: block;
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	margin-bottom: 15px;
}
p.subp{
	font-size: clamp(14px, 1.5vw, 15px);
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/**/
.gr-sub2 {
	padding: var(--v-space) 0;
	background-image: url(../img/bg_sub2.jpg);
	background-size: cover;
	background-position: center left;
	background-repeat: no-repeat;
}





/*======= 診療科目 dental-treatments ======*/
/*sec1*/
.sec1 {
	padding: var(--v-space2) 0;
	background-color: #fff;
	position: relative;
	z-index: 1;
}
/*4つ*/
.sec1-item-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}
@media (max-width: 868px) {
	.sec1-item-container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 568px) {
	.sec1-item-container {
		grid-template-columns: repeat(1, 1fr);
	}
}
/*印刷用*/
@media print{
	.sec1-item-container {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 15px;
	}
}
/**/
.sec1-item h3 {
	font-size: clamp(19px, 2vw, 22px);
	font-weight: 600;
	text-align: center;
	color: var(--accent-color3);
	font-family: 'Noto Serif JP', serif;
	padding: 7px 0 4px 0;
	line-height: 1;
}
.sec1-item p {
	font-size: clamp(11px, 1.3vw, 14px);
	text-align: center;
	line-height: 1.7;
}

/*画像外枠*/
.spot_photo02{
	margin:0 auto;
	position: relative;
}
.spot_photo02::before,
.spot_photo02::after {
	content: "";
	width: 100px;
	height: 100px;
	position: absolute;
}
.spot_photo02::before {
	border-top: 2px solid var(--main-color);
	border-left: 2px solid var(--accent-color1);
	top:-10px;
	left:-10px;
}
.spot_photo02::after {
	border-right: 2px solid var(--main-color);
	border-bottom: 2px solid var(--accent-color1);
	bottom:-10px;
	right:-10px;
}


/*ずらし背景*/
.bg-zuras {
	position: relative;
}
.bg-zuras::before {
	position: absolute;
	display: block;
	content: '';
	background: #f4f4f2;
	margin: auto;
	left: 0;
	z-index: -1;
	width: 70%;
	height: 73%;
	bottom: -35px;/*--v-space2(-90px)から少し上*/
}
@media (max-width: 768px) {
	.bg-zuras::before {
		width: 100%;
		height: 115%;
		left: 0;
	}
}
/*印刷用*/
@media print{
	.bg-zuras::before {
		position: absolute;
		display: block;
		content: '';
		background: #f4f4f2;
		margin: auto;
		left: 0;
		z-index: -1;
		width: 70%;
		height: 73%;
		bottom: -35px;
	}
}


.bg-zuras2 {
	position: relative;
}
.bg-zuras2::before {
	position: absolute;
	display: block;
	content: '';
	background: #ecf4f7;
	margin: auto;
	right: 0;
	z-index: -1;
	width: 70%;
	height: 73%;
	bottom: -35px;
}
@media (max-width: 768px) {
	.bg-zuras2::before {
		display: none;
	}
}
/*印刷用*/
@media print{
	.bg-zuras2::before {
		position: absolute;
		display: block;
		content: '';
		background: #ecf4f7;
		margin: auto;
		right: 0;
		z-index: -1;
		width: 70%;
		height: 73%;
		bottom: -35px;
	}
}


/*むし歯治療*/
.sec-treatment01{
	padding: 20px 0 var(--v-space3) 0;
}
/*歯周病治療*/
.sec-treatment02{
	padding: 20px 0 var(--v-space3) 0;
}
/*予防・クリーニング*/
.sec-treatment03{
	padding: 20px 0 var(--v-space3) 0;
}
/*歯周病治療*/
.sec-treatment04{
	padding: 20px 0 var(--v-space3) 0;
}


/*各項目の見出しと文章*/
.lowerlayerh h3 {
	color: var(--accent-color1);
	font-size: clamp(25px, 2.7vw, 35px);
	line-height: 1.3;
	text-align: center;
	font-weight: 400;
	font-family: 'Noto Serif JP', serif;
	margin-bottom: 5px;
}
.lowerlayerh h3 + p {
	color: var(--main-color);
	font-size: clamp(15px, 1.6vw, 16px);
	text-align: center;
	margin-bottom: 25px;
}

.tith4 {
	color: var(--accent-color3);
	font-size: clamp(20px, 2.3vw, 26px);
	line-height: 1.3;
	font-weight: 400;
	font-family: 'Noto Serif JP', serif;
	margin-bottom: 20px;
}



/*sec2 定期検診 各種指導 各種相談*/
.sec2 {
	padding: var(--v-space3) 0 var(--v-space) 0;
	background-color: #fff;
	position: relative;
	z-index: 1;
}
/*3つ*/
.sec2-item-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 768px) {
	.sec2-item-container {
		grid-template-columns: repeat(1, 1fr);
	}
}
/*印刷用*/
@media print{
	.sec2-item-container {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

/**/
.desibox {
	position: relative;
	padding: 4.5rem 2rem 1rem 2rem;
	background-color: #fff;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
	outline: 1px solid var(--accent-color2);
	outline-offset: -0.7rem;
}
.desibox::before {
	position: absolute;
	top: 1.3rem;
	left: 0;
	width: 100%;
	padding: 0.5rem 0;
	background-color: rgb(223, 234, 240);
	mix-blend-mode: multiply;/*乗算*/
	color: #333;
	font-size: clamp(19px, 2.5vw, 26px);
	/*text-shadow: #304462 1px 0 10px;*/
	text-align: center;
	content: attr(data-title);
}
.desibox p {
	margin-top: 15px;
	color: #333;
	line-height: 1.5;
}








/*======= 院長プロフィール profile ======*/
/*sec3*/
.sec3 {
	padding: var(--v-space) 0;
	background-image: url("../img/bg_01.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
}
/*英文字　白*/
.each-page__heading01 span.toolong-wh {
	position: absolute;
	font-family: "WindSong", serif;
	margin: 0 auto;
	font-size: clamp(37px,10vw,67px);
	text-align: center;
	top: -1em;

	transform-origin: center top;
	pointer-events: none;
	white-space: nowrap;
	text-transform: unset;
	font-weight: normal;
	color: #fff;
	opacity: 0.2;
	/*transform: rotate(-10deg);*/

	left: 50%;/*中央配置*/
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
/**/
.prof-l{
	padding: 30px;
}
.prof-l p{
	text-align: right;
	color: #fff;
	font-size: clamp(20px, 2.3vw, 26px);
	line-height: 1.2;
	font-weight: 400;
	font-family: 'Noto Serif JP', serif;
	letter-spacing: 3px;
}
@media (max-width: 768px) {
	.prof-l p{
		text-align: center;
		letter-spacing: 2px;
	}
}
/*印刷用*/
@media print{
	.prof-l p{
		text-align: right;
		color: #fff;
		font-size: clamp(20px, 2.3vw, 26px);
		line-height: 1.2;
		font-weight: 400;
		font-family: 'Noto Serif JP', serif;
		letter-spacing: 3px;
	}
}


/**/
.prof-r{
	padding: 30px;
	color: #fff;
}
/*リスト 下線*/
.prof-r ul{
	list-style: none;
	line-height: 2;
}
.prof-r ul li{
	font-size: clamp(13px, 1.4vw, 15px);
	border-bottom: 1px dotted #999;
	padding-top: 5px;
	padding-bottom: 5px;
}





/*======= よくある質問 FAQ ======*/
/* よくある質問 FAQ */
.faq_sec1 {
	padding: var(--v-space2) 0;
	position: relative;
	z-index: 1;
	background-color: #f7f7f7;
	background-size: 4px 4px;
	background-image: repeating-linear-gradient(0deg, #dde8ee, #dde8ee 1px, #fff 1px, #fff);
}
/**/
div.faq-in{
	padding: 10px 0 0 0;
}
/*枠付きデザイン*/
.onecours{
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 7px;
	padding: 7px 20px 12px 20px;
	margin: 17px 0;
}
.onecours:first-child{
	margin: 0px;
}
/**/
div.faq-in p {
	margin-top: 5px;
	line-height: 1.4;
	text-align: justify;
	text-indent: -1.15em;
	padding-left: 1.15em;
	display: block;
	color: #555;
}
div.faq-in p.b {
	font-weight: 600;
	color: #000;
	padding-bottom: 5px;
	border-bottom: 1px dotted #7b7b7b;
}
div.faq-in p::first-letter {
	color: var(--accent-color1);
	font-weight: 600;
	font-size: 120%;
}
div.faq-in p.b::first-letter {
	color: var(--main-color);
}





/*フッター部分に設置 footer.cssにも記述あり*/

/*======= info 診療時間 Access ======*/

/*診療時間テーブル*/
table.fi-tab{
	margin: 20px 0 2px 0;
	line-height: 1.4;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
table.fi-tab tr td {
	padding: 3px 5px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	text-align: center;
	font-size: clamp(12px, 1.4vw, 15px);
	background-color: #fff;
}

table.fi-tab tr:nth-child(1) td {
	background-color: var(--main-color);
	color: #fff;
}

@media screen and (max-width: 568px) {
	table.fi-tab{
		width:100%;
		margin: 10px 0 0 0;
	}
}


/*3つ*/
.footer-contact-item-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	align-items: center;
	justify-content: center;
	place-content: center;
  /* 追加 */
	place-items: center;

	margin-top: 20px;
}


@media (max-width: 1268px) {
	.footer-contact-item-container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 968px) {
	.footer-contact-item-container {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	.footer-contact-item-container {
		grid-template-columns: repeat(1, 1fr);
	}
}
/*印刷用*/
@media print{
	.footer-contact-item-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
		transform: scale(0.95);
		white-space: nowrap;
	}
	.inmap {
		aspect-ratio: 4 / 3;
	}
}

/*Accessアイコン部分*/
.imbg01{
	background-color: #fff;
	border-radius: 10px;
}
.imbg02{
	background-color: #fff;
	border-radius: 10px;
}



