@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: "Zen Kaku Gothic New", serif;
	text-align: center;
	line-height: 1.3;
	font-weight: 500;
	position: relative;
	z-index: 1;
	opacity: 0.9;
	/*margin-bottom: 2.5vw;*/
	margin-bottom: 35px;
	margin-top: 15px;
}
.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;
	margin: 0 auto;
	font-size: clamp(50px,10vw,80px);
	text-align: center;
	top: -1.5em;
    font-family: "Playwrite ZA", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
	transform-origin: center top;
	pointer-events: none;
	white-space: nowrap;
	text-transform: lowercase;
    color: var(--main-color);
    opacity: 0.2;
	/*transform: rotate(-10deg);*/

	left: 50%;/*中央配置*/
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
/*英文字が長すぎるとき*/
.each-page__heading01 span.toolong {
    position: absolute;
    margin: 0 auto;
    font-size: clamp(37px, 10vw, 67px);
    text-align: center;
	top: -1.5em;
    transform-origin: center top;
    pointer-events: none;
    white-space: nowrap;
    text-transform: unset;
    color: var(--main-color);
    opacity: 0.2;
    /* transform: rotate(-10deg); */
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-family: "Playwrite ZA", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/*テキスト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_02.png);
	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: "Zen Kaku Gothic New", 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;
}


/*予約バナー*/
.yoyaku_bnr{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	margin: 20px 0 2px 0;
}
@media (max-width: 568px) {
	.yoyaku_bnr{
		grid-template-columns: repeat(1, 1fr);
		width: 100%;
        margin: 10px 0 0 0;
		grid-row-gap: 8px;
	}
}




/*======= 診療科目 dental-treatments ======*/
/*sec1*/
.sec1 {
    padding: var(--v-space) 0;
    background-color: #f7f7f7;
    background-image: repeating-linear-gradient(0deg, #eaeaea 0, #eaeaea 1px, transparent 1px, transparent 20px), repeating-linear-gradient(90deg, #eaeaea 0, #eaeaea 1px, transparent 1px, transparent 20px);
    background-size: 20px 20px;
	position: relative;
	z-index: 1;
}
/* 4カラム */
.sec1-item-container0 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}
.sec1-item:nth-child(1) {
	grid-column: 2;
}
.sec1-item:nth-child(2) {
	grid-column: 3;
}
@media (max-width: 868px) {
	.sec1-item-container0 {
		grid-template-columns: repeat(2, 1fr);
	}
	.sec1-item:nth-child(1),
	.sec1-item:nth-child(2) {
		grid-column: auto;
	}
}
@media (max-width: 568px) {
	.sec1-item-container0 {
		grid-template-columns: repeat(1, 1fr);
	}
}
/*印刷用*/
@media print{
	.sec1-item-container0 {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 15px;
	}
}
/**/
.sec1-item h3 {
	font-size: clamp(19px, 2vw, 22px);
	font-weight: 400;
	text-align: center;
	color: var(--accent-color3);
	font-family: "Zen Kaku Gothic New", 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;
	letter-spacing: 0.2em;
    font-weight: 700 !important;
    font-style: normal;
    font-family: "Zen Kaku Gothic New", serif;
}


/*01*/
.sec-treatment01{
    padding: 20px 0 var(--v-space3) 0;	
}
/*02*/
.sec-treatment02{
    padding: var(--v-space2) 0 var(--v-space3) 0;
}
/*03*/
.sec-treatment03{
    padding: var(--v-space2) 0 var(--v-space3) 0;
}
/*04*/
.sec-treatment04{
    padding: var(--v-space2) 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: "Zen Kaku Gothic New", serif;
	margin-bottom: 5px;
}
.lowerlayerh h3 + p {
	color: var(--main-color);
	font-size: clamp(15px, 1.6vw, 16px);
	text-align: center;
	margin-bottom: 25px;
	letter-spacing: 0.2em;
    font-weight: 700 !important;
    font-style: normal;
    font-family: "Zen Kaku Gothic New", serif;
}

.tith4 {
	color: var(--accent-color3);
	font-size: clamp(20px, 2.3vw, 26px);
	line-height: 1.3;
	font-weight: 400;
	font-family: "Zen Kaku Gothic New", serif;
	margin-bottom: 20px;
}


/*3つ*/
.sec1-item-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 768px) {
	.sec1-item-container {
		grid-template-columns: repeat(1, 1fr);
	}
}
/*印刷用*/
@media print{
	.sec1-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: #f4f4f2;
	mix-blend-mode: multiply;/*乗算*/
	color: #333;
    font-size: clamp(16px, 2.5vw, 18px);
	/*text-shadow: #304462 1px 0 10px;*/
	text-align: center;
	content: attr(data-title);
}
.desibox p {
	margin-top: 15px;
	color: #333;
	line-height: 1.5;
}


.desibox_green {
	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_green::before {
	position: absolute;
	top: 1.3rem;
	left: 0;
	width: 100%;
	padding: 0.5rem 0;
	background-color: #f2fbf3;
	mix-blend-mode: multiply;/*乗算*/
	color: #333;
    font-size: clamp(16px, 2.5vw, 18px);
	/*text-shadow: #304462 1px 0 10px;*/
	text-align: center;
	content: attr(data-title);
}
.desibox_green p {
	margin-top: 15px;
	color: #333;
	line-height: 1.5;
}


/*======= 医院設備 ======*/
/*sec2*/
.sec2 {
    padding: var(--v-space) 0;
	background-color: #fff;
	position: relative;
	z-index: 1;
}

/*写真アルバム1*/
.clinic-album {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
}

/* タブレット（幅960px未満）→ 2列 */
@media (max-width: 959px) {
	.clinic-album {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* スマホ（幅567px以下）→ 1列 */
@media (max-width: 567px) {
	.clinic-album {
		grid-template-columns: 1fr;
	}
}

/*印刷用*/
@media print{
	.clinic-album {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 5px;
	}
}

/* 画像の上に帯状のテキストを配置 */
.image-container {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
	max-width: 700px;
	aspect-ratio: 4 / 3; /* 700×525 = 4:3比率 */
	overflow: hidden;
}

.overlay-text {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.8); /* ← ここで透明度調整 */
	color: var(--txt-color);
	padding: 10px;
	text-align: center;
	box-sizing: border-box;
}

.overlay-title {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0 0 4px 0;
	line-height: 1.4;
}

.overlay-sub {
	font-size: 0.9em;
	margin: 0;
	line-height: 1.3;
	opacity: 0.9;
}



/*======= 院長プロフィール profile ======*/
.sec3 {
    padding: var(--v-space) 0 var(--v-space2) 0;
	background-image: url("../img/bg_01.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
}

.each-page__heading01 span.toolong-wh {
	position: absolute;
	margin: 0 auto;
	font-size: clamp(37px,10vw,67px);
	text-align: center;
	top: -1.5em;
	transform-origin: center top;
	pointer-events: none;
	white-space: nowrap;
	text-transform: unset;
	color: #fff;
	opacity: 0.2;
	left: 50%;
	transform: translateX(-50%);
	font-family: "Playwrite ZA", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.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;
	padding-top: 20px;
}

@media (max-width: 768px) {
	.prof-l p {
		text-align: center;
		letter-spacing: 2px;
	}
}

.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;
}
/* 略歴タイトル */
.career-title {
	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;
	margin-bottom: 15px;
}

/* グリッドレイアウト */
.flex-child01 {
	flex: 1;
	max-width: 45%;
}

.flex-child02 {
	flex: 1;
	max-width: 45%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.flex-child01, .flex-child02 {
		max-width: 100%;
		margin-bottom: 20px;
	}
}

@media (max-width: 480px) {
	.each-page__heading01 h2 {
		font-size: clamp(25px, 8vw, 40px);
	}
}

@media screen and (max-width: 568px) {
	.flex04 {
		flex-direction: column; /* 縦並びに変更 */
	}

	.flex-child01, .flex-child02 {
		max-width: 100%; /* 幅を100%にして、各要素がフル幅に */
		margin-bottom: 20px; /* 下に少し余白を加えます */
	}

	.prof-l p {
		text-align: center; /* 画像下のテキストも中央に */
		letter-spacing: 2px;
	}
}

/*======= 院長プロフィール 画像サイズ調整 ======*/
.prof-l figure {
	text-align: center;
}

.prof-l img {
	width: 200px;
	height: auto; 
	display: inline-block; 
}

@media (min-width: 769px) {
	.prof-l figure {
		text-align: right;
	}
}


/*======= 医院概要 ======*/
/*医院概要*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_01.png);
	background-size:cover;
	background-position: bottom;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 400px;
}
@media screen and (max-width: 568px) {
	.info1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0);
	}
	.info2 {
		display: block;
		padding: 2px;
		width: 99%;
	}
}

.info-sec1-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px 5px;
}

@media (min-width: 568px) {
	.info-sec1-container {
		grid-template-columns: repeat(6, 1fr);
	}
}

.bg_b{
	background: rgba(255,255,255,0.8);
	padding:40px;
	border-radius: 20px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}



/*======= よくある質問 FAQ ======*/
/* よくある質問 FAQ */
.faq_sec1 {
	padding: var(--v-space) 0;
	position: relative;
	z-index: 1;
	background-color: #f7f7f7;
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 20px 20px;
}
/**/
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;
	width: 100%;
	border-collapse: collapse;
}

table.fi-tab tr td {
	padding: 9px 5px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	text-align: center;
	font-size: clamp(15px, 1.7vw, 17px);
	background-color: #fff;
	color: rgba(0, 62, 152, 0.7);
}

table.fi-tab tr:nth-child(1) td {
	background-color: var(--main-color);
	color: #fff;
}

.mini {
	font-size: clamp(12px, 1.7vw, 14px);
}

/* PC・タブレットだけ表示 */
.pc-tab {
	display: table-cell;
}

/* 補足テキスト */
.f12 {
	font-size: 12px;
	line-height: 1.6;
	color: #333;
	margin-top: 10px;
}

.sp {
	display: none;
}

/* スマホ対応 */
@media screen and (max-width: 568px) {
	table.fi-tab tr {
		line-height: 1.0; /* スマホ幅の tr に適用 */
	}

	.pc-tab {
		display: none; /* 日祝非表示 */
	}

	table.fi-tab tr td {
		font-size: 13px;
		padding: 6px 4px;
	}

	.sp {
		display: inline;
	}
}



/*3つ*/
.footer-contact-item-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	align-items: center;
	justify-content: center;
	place-content: center;
  /* 追加 */
	place-items: baseline;
	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(2, 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;
	}
}

/*Accessアイコン部分*/
.imbg01{
	border-radius: 10px;
}
.imbg02{
	border-radius: 10px;
}



/* 調整 */
.green {
	background-color: #f2fbf3;
}

.footer_tel_w {
    width: 50px;
    padding: 0 12px 0 13px;
    color: var(--main-color);
    font-size: 22px;
    padding-right: 5px;
    font-weight: bold;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.txt-color {
    color: var(--txt-color) !important;
}
