@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/


/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}



/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space);
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}

span.bld{
	font-weight:bold;
	color:#666;
}


.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}

span.time{
	color:var(--accent-color3);
}

/*電話バナー*/
.tel_bnr {
	display: grid
	;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	padding: 20px 0;
}


.tel_bnr img{
	box-shadow: 0 8px 8px 0 rgba(0, 0, 0, .10);
}


@media (max-width: 568px) {
	.tel_bnr {
		grid-template-columns: repeat(1, 1fr);
	}
}



/*初めての方へ*/
.gbox{
	display:inline-block;
	padding:5px;
	width:80%;
	margin-left:9%;
	margin-top:20px;
	margin-bottom:20px;
	box-shadow: 0 7px 7px 0 rgba(0, 0, 0, .04);
	background-color:white;
}


@media screen and (max-width: 568px) { 
	.gbox{
		margin-left:8%;
	}
}

.gbox2{
	display:inline-block;
	background-color:var(--accent-color4);
	margin-bottom:10px;
	width:80%;
	margin-left:10%;
}


.pr, .pr td, .pr th {
	border-collapse: collapse;
	border: 1px solid #aaa; 
	text-align:center;
}

.pr td{
	padding:5px;
}

.pr{
	width:80%;
	margin-left:10%;
}
@media screen and (max-width: 568px) { 
	.pr{
		width:100%;
		margin-left:initial;
	}


}


table.pr tr:first-child td {
	background-color:var(--accent-color4);
	text-align:center;
}


/*======= コンテンツ ======*/

/*======= ABOUT ======*/
/*section1*/
.sec1 {
	padding: var(--v-space) 0;
	background: repeating-linear-gradient(
	45deg,
	rgba(51, 107, 67, 0.1) 0,    /* 線の色 */
	rgba(51, 107, 67, 0.2) 1px,  /* 線の太さ */
	transparent 2px,  /* 隙間の開始 */
	transparent 4px   /* 隙間の幅 */
	)
}

/*======= First 初めての方へ ======*/
/*section1*/
.secF {
	padding: var(--v-space) 0;
	background-color: #FFF;
}




/*======= Treatment 施術内容一覧 ======*/
/*section2*/
.sec2 {
	padding: var(--v-space) 0;
	background: 
	linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0) 5%),
	linear-gradient(to top, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0) 5%),
	#E9F6F5;
}

/*カード*/
.sec2-card__item{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.sec2-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 10px;
	box-sizing: border-box;
	border: solid 1px var(--main-color);

	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .1);
}
.sec2-card__item H4{
	padding: 5px 0;
	font-size: clamp(18px,1.5vw,22px);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	border-bottom: 2px dotted var(--main-color);
	color:#222;
	font-weight:normal;
}
.sec2-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}


/*======= Example 期待できる効能 ======*/
/*section3*/
.sec3 {
	padding: var(--v-space) 0;
	position: relative;
	z-index: 1;
	background-color: #f7f7f7;
	background-image: repeating-linear-gradient(0deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 15px), repeating-linear-gradient(90deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 15px);
	background-size: 15px 15px;
}




/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
div.faq2 p.b {
	font-weight: bold;
	color: #444;
}
div.faq2 p.b::first-letter {
	color: var(--accent-color3);
	font-size: 130%;
}
div.faq2 p {
	margin-top: 5px;
	line-height: 1.4;
	text-align: left;
	text-indent: -1.4em;
	padding-left: 1.4em;
	display: block;
}
div.faq2 p::first-letter {
	color: var(--accent-color1);
	font-size: 130%;
	font-weight: bold;
}
hr.faqHr{
	height: 0px;
	border: 1px dashed var(--accent-color2);
	margin: 20px auto;
}


/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	position: relative;
	z-index: 1;
	background-color: #f1faf5;
	background-size: 6px 6px;
	background-image: repeating-linear-gradient(0deg, #cde7d7, #cde7d7 1px, #f1faf5 1px, #f1faf5);
}
/* 概要・アクセス部分のテーブル */
.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;
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .05);
}
@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; /* 背景画像より上に表示 */ 
}



/*======= リスト ======*/
@media (max-width: 1024px) {
	ul.sidelist2 li {
		font-size: 13px;
		padding: 5px 4px;
	}
}

ul.sidelist2 li {
	box-sizing: border-box;
	list-style-type: none;
	float: left;
	--widthA: calc(100% - 10px);
	--widthB: calc(var(--widthA) / 2);
	width: var(--widthB);
	margin: 2.5px 5px 2.5px 0;
	text-align: left;
	text-decoration: none;
	font-size: 15px;
	padding: 5px;
	color: --txt-color;
	border: dashed 1px var(--main-color);
	background: #fff;
}

.mb-20 {
	margin-bottom: 20px !important;
}

.cleafix {
	content: '';
	display: block;
	clear: both;
	padding-top: 20px;
}


/*======= 電話 ======*/
.sec3-heading {
	display: flex
	;
	justify-content: center;
	align-items: center;
	font-size: clamp(14px, 1vw, 18px);
	text-align: center;
	border: 0;
	color: var(--txt-color);
	margin: 10px;
}

.sec3-heading::before {
	margin-right: 30px;
	transform: rotate(-35deg);
	content: '';
	width: 1px;
	height: 40px;
	background-color: var(--main-color);
}

.sec3-heading::after {
	margin-left: 30px;
	transform: rotate(35deg);
	content: '';
	width: 1px;
	height: 40px;
	background-color: var(--main-color);
}

a.btn_01 {
	display: block;
	text-align: center;
	text-decoration: none;
	position: relative;
	width: 200px;
	margin: 0 auto;
	padding: 1rem 4rem;
	font-weight: bold;
	color: #fff;
	background: var(--main-color);
	transition: 0.3s ease-in-out;
}

a.btn_01::before {
	content: '';
	position: absolute;
	top: -4px;
	left: -4px;
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	border: 1px solid var(--accent-color1);
	transition: 0.2s;
}

/*======= 調整 ======*/
.l-c {
	margin-right: auto;
	margin-left: auto;
}

/*-----------*/
.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;
}


/*漢方用*/
.small-grid-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	align-items: stretch;
}

.small-grid-item {
	flex: 0 0 50%; /* 画像幅を常に50%に固定 */
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8f8f8; /* 任意 */
}

.small-grid-container.single {
	justify-content: center; /* 1枚の時も中央寄せ */
}


/*----------------------------------------------------*/
/*-----カード要素の上に半透明説明文のセット-----------*/
/*----------------------------------------------------*/

/* 親要素 */
.grid-overlay-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3列のグリッド */
	gap: 10px; /* グリッドアイテム間の隙間 */
	/*
	padding: 10px;
	width: 100%;
	max-width: 1200px; /* 最大幅 */
		 */
margin: 0 auto; /* 中央揃え */
}

/* 子要素（無記名div） */
.grid-overlay-container > div {
	position: relative; /* 説明文を重ねるためにrelative */
	overflow: hidden;
}

.grid-overlay-container > div img {
	width: 100%;
	height: auto;
	display: block;
}

/* 説明文のスタイル */
.overlay-text {
	position: absolute;
	bottom: 0; /* 画像の下部に配置（幅を広げるため0に） */
	left: 0; /* 左端から */
	width: 100%; /* 画像の幅と同じに */
	color: black;
	font-size: 1.2rem;
	font-weight: bold;
	background-color: rgba(255, 255, 255, 0.3); /* 背景を半透明に */
	padding: 5px 0; /* 上下のpaddingのみ */
	text-align: center;
	transform: none; /* 中央揃えのtransformを解除 */
}

/* スマートフォン対応（画面幅が768px以下のとき） */
@media (max-width: 768px) {
	.grid-overlay-container {
		grid-template-columns: 1fr; /* 1列に変更 */
	}

	.grid-overlay-container > div {
		margin-bottom: 10px; /* ブロック間の隙間 */
	}

	.overlay-text {
		font-size: 1rem; /* フォントサイズを調整 */
	}
}

/*その他*/
strong{
	font-weight:normal;
}

/*ヘッダスマホマーク*/
p.ftel{
	font-size:13px;
}


p.cnt{
	text-align:center;
}



/*期待できる効能*/
.bg_bk{
	padding:40px;
}
@media screen and (max-width: 568px) {
	.bg_bk{
		padding: 20px;
	}
}


/*写真*/
.waku60{
	width:60%;
	margin-left:20%;
}
@media screen and (max-width: 568px) { 
	.waku60{
		width:initial;
		margin-left:initial;
	}
}


/*写真カード*/
.secIp-card__item{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.secIp-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secIp-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secIp-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 1;
	/*ここまで*/

	padding: 10px;
	background-color:white;
	box-sizing: border-box;
	border: solid 1px var(--main-color);
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .1);
}
.secIp-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	border-bottom: 2px dotted var(--main-color);
}



/*初めての方へ*/
span.sbox{
	display:inline-block;
	background-color:var(--accent-color3);
	padding:5px;
	color:white;
	margin-bottom:10px;
	font-size:19px;
}
@media screen and (max-width: 568px) { 

	span.sbox{
		display:block;
		width:initial;
	}
}

/*写真全体*/
.imgtext-container > .img {
	box-shadow: 0 8px 8px 0 rgba(0, 0, 0, .10);
}
