@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/


/*======= 共通 ======*/
/*タイトル(共通)*/
.spot-heading01 {
	font-size: clamp(30px, 4vw, 50px);
	line-height: 1;
	font-style: italic;
	text-align: center;
	font-family: "Montserrat", sans-serif;
}

.spot-heading02 {
	font-size: clamp(25px, 2.7vw, 35px);
	line-height: 1.2;
	font-style: italic;
	font-weight: 700;
	text-align: center;
	font-family: "Montserrat", sans-serif;
}

.spot-heading02+p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	font-size: clamp(16px, 2vw, 20px);
	font-weight: bold;
	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;
	color: var(--accent-color2);
}

@media only screen and (max-width: 767px) {
	.spot-heading02+p {
		text-align: left;
	}

	/*<br>のブレイクポイント*/
	.br768 {
		display: none;
	}
}

.line {
	width: 1px;
	height: auto;
	padding-top: 35px;
	background-color: #fff;
	/* margin: 1.9607% auto; */
	margin: 1.1% auto;
	/*今回のみ*/
}

.line2 {
	width: 1px;
	height: auto;
	padding-top: 35px;
	background-color: #777;
	/* margin: 1.9607% auto; */
	margin: 1.1% auto;
	/*今回のみ*/
}

.hline {
	display: inline-block;
	width: 25px;
	/* 横棒の長さ（調整可） */
	height: 1px;
	/* 横棒の太さ（調整可） */
	background-color: var(--txt-color);
	/* 横棒の色 */
	vertical-align: middle;
	margin: 0 0.2em;
	/* 文章と横棒の間隔 */
}


/* タグ */
.kakomi01 span {
	padding: 1px 6px 1px 6px;
	margin: 1px 3px;
	background-color: #c6eaf8;
	border: 1px solid transparent;
	border-radius: 5px;
	text-align: center;
	display: inline-block;
	font-size: 16px;
}

/* 写真枠 */
.spot_photo img{
	outline: 1px solid #fff;
	outline-offset: -0.6rem;
}

/* 診察時間テーブル */
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(14px, 1.8vw, 18px);
	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;
	}
}





/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space);
	background-color: #FFF;
	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

.greeting-haba {
	max-width: 950px;
	margin: 0 auto;
	padding: 2% 0 0 0;
}

/*TELバナー*/
.tel_bnr {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

@media (max-width: 568px) {
	.tel_bnr {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* 吹き出し写真 */
.speech-bubble {
	position: relative;
	width: 200px;
	height: 200px;
	background-color: var(--main-color);
	/* ピンク */
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

/* 吹き出しの三角形 */
.speech-bubble::after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 20px solid var(--main-color);
}

/* 画像を丸く＆枠を付ける */
.photo {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid white;
	/* 白いふち */
	background-color: var(--main-color);
	/* 背景ピンクでズレを防ぐ */
}

.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media only screen and (max-width: 767px), print {
	.speech-bubble {
		width: 150px;
		height: 150px;
	}
	.speech-bubble::after {
		bottom: -8px;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-top: 10px solid var(--main-color);
	}
	.photo {
		width: 135px;
		height: 135px;
	}
}

/*======= 新着情報 ======*/
.blog_sec1 {
	padding: clamp(30px, 4vw, 50px) 0 var(--v-space);
	background-color: #fad9d3;
	position: relative;
	z-index: 1;
}

/*======= 施術内容 ======*/
.sec1 {
	padding: var(--v-space) 0;
	background-color: #f9f9f9;
	background-image: url(../img/bg_grid.png);
	background-repeat: repeat;
	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}


/*======= 院内風景 ======*/
.sec2 {
	padding: var(--v-space) 0;
	background-color: #FDF6EF;

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
@media only screen and (max-width: 567px) {
	.card-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}
@media print {
	.card-grid {
		display: grid;
		grid-template-columns: repeat(4,1fr);
		gap: 1.5rem;
	}
}

.card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	row-gap: 0.5rem;
	text-align: center;
}

.card img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.card-title {
	font-size: clamp(0.9rem,1.6vw,1.2rem);
	margin: 0;
}



/*======= メディカルスリムケア ======*/

.sec3 {
	padding: var(--v-space) 0;
	background-color: #fdf6ef;
	background-image: url(../img/bg_01a.png),url(../img/bg_01b.png),url(../img/bg_01c.png),url(../img/bg_01d.png);
	background-repeat: no-repeat,no-repeat,no-repeat,no-repeat;
	background-position: right top,left bottom,left top,right bottom;
	background-size: auto,auto,auto,auto;

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}
@media only screen and (max-width: 1249px) {
	.sec3 {
		padding: var(--v-space) 0;
		background-color: #fdf6ef;
		background-image: url(../img/bg_01a.png),url(../img/bg_01b.png);
		background-repeat: no-repeat,no-repeat;
		background-position: right top,left bottom;
		background-size: 60%,60%;
	}
}
@media only screen and (max-width: 767px) {
	.sec3 {
		padding: var(--v-space) 0;
		background-color: #fdf6ef;
		background-image: url(../img/bg_01a.png),url(../img/bg_01b.png);
		background-repeat: no-repeat,no-repeat;
		background-position: right top,left bottom;
		background-size: 80%,80%;
	}
}

/* ボタンを真ん中に配置 */
.sec3-mc {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
	gap: 1rem;
}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

.faq-item {
	display: grid;
	grid-template-columns: 1.5em 1fr;
	column-gap: 10px;
	row-gap: 5px;
}

.faq-label {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: bold;
	font-size: 110%;
	line-height: 1.5;
	border-radius: 3px;
	width: 1.5em;
	text-align: center;
	align-self: start;
	/* lavelを上揃えに */
}

.faq-label.q {
	background-color: var(--main-color);
}

.faq-label.a {
	background-color: var(--accent-color1);
}

.faq-question,
.faq-answer {
	margin: 0;
	line-height: 1.6;
	text-align: justify;
}

.faq-question {
	font-weight: bold;
}

hr.faqHr {
	height: 0px;
	border: 1px dashed var(--accent-color2);
	margin: 20px auto;
}



/*======= 会社案内ページ ======*/

/*会社案内*/
.info_sec1 {
	padding: var(--v-space) 0;
	background-color: #fdece9;
	/* background-image: url(../img/bg_04.jpg);
	background-size: cover;
	background-position: center; */

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

/* @media only screen and (max-width: 568px) {
	.info_sec1 {
		background-image: url(../img/bg_04_sp.jpg);
	}
} */



/* 概要部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed #999;
	color: var(--txt-color);
	padding: 5px;
	/* width: 5.25em; */
	width: 170px;
}

.info2 {
	border-bottom: 1px dashed #999;
	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%;
	}
}

/* 電話・FAX・メール */
.info-contact-item-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.item3 {
	grid-column: 1 / -1; /* ←横幅いっぱいに広げる */
}

@media only screen and (max-width: 920px) {
	.info-contact-item-container {
		grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	}
}
@media only screen and (max-width: 400px) {
	.info-contact-item-container {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}
}

@media only screen and (max-width: 361px) {
	.info-contact-item-container {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.item3 {
		grid-column: auto; /* PCで全幅にしていた指定をリセット */
	}
}
/*印刷用*/
@media print{
	.info-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;
	}
}

/*会社概要*/
.bg_b {
	background: rgba(255, 255, 255, 0.8);
	padding: 40px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg_b:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}



.access_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

/* アクセス部分のテーブル */
.access1 {
	font-weight: bold;
	border-bottom: 1px dashed #999;
	padding: 5px;
	width: 5.25em;
}

.access2 {
	border-bottom: 1px dashed #999;
	padding: 5px;
	width: 400px;
}

@media screen and (max-width: 568px) {
	.access1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0);
	}

	.access2 {
		display: block;
		padding: 2px;
		width: 99%;
	}
}


.info-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	color: #333;
	font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}

@media only screen and (max-width: 1000px) {
	.info-container {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}

.left-side {
	display: flex;
	flex-direction: column;
	gap: 0rem;
}

.left-side a {
	display: inline-block; /* これでリンクがロゴのサイズだけになる */
}

.clinic-header {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.logo {
	width: 50px;
	height: auto;
	display: block;
}

.contacts {
	grid-template-columns: repeat(2, 1fr);
}


.contacts a:hover {
	text-decoration: underline;
}

.sub-info {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 1rem;
	margin-top: 0.5rem;
	margin-bottom: 0.2rem;
}

.sub-info figure {
	border-radius: 10px;
	background-color: #FFF;
}


.right-side iframe {
	width: 100%;
	height: 620px;
	border-radius: 8px;
}

@media only screen and (max-width: 1000px) {
	.right-side iframe {
		height: 360px;
	}
}