@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; /* 背景画像より上に表示 */
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}
span.col{
	color:var(--accent-color1);
	font-weight:500 !important;
}

/*------ごあいさつ画像セットここから-----------*/

/* コンテナ */
.gr-item-container {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: flex-start;
}

/* PC：5列固定（最小幅で固定化し、4列化を絶対に阻止） */
.gr-item {
	flex: 0 0 calc(20% - 16px); /* 20%幅を強制 */
	max-width: calc(20% - 16px);
	min-width: calc(20% - 16px); /* ← これが決定打。縮ませない */
	box-sizing: border-box;
	text-align: center;
	border:2px solid #195F94;
	border-radius:10px;
}

/* タブレット：3列 */
@media (max-width: 1024px) {
	.gr-item {
		flex: 0 0 calc(33.333% - 16px);
		max-width: calc(33.333% - 16px);
		min-width: calc(33.333% - 16px);
	}
	.gr-item-container {
		justify-content: center;
	}
}

/* スマホ：2列 */
@media (max-width: 600px) {
	.gr-item {
		flex: 0 0 calc(33.33% - 16px);
		max-width: calc(33.33% - 16px);
		min-width: calc(33.33% - 16px);
	}
	.gr-item-container {
		justify-content: center;
	}
}

.gr-item H3{
	font-weight: 400 !important;
	font-style: normal;
	margin-top:0.4em;
	font-weight:500 !important;
	background-color:#195F94;
	width:100%;
	border-radius: 0 0 8px 8px;
	color:white;
	padding-top:0.2em;
	padding-bottom:0.2em;
	font-size: clamp(16px,2.5vw,17px);
}

@media screen and (max-width: 568px) { 
	.gr-item H3{
		font-size:14px;
	}

	.gr-item img{
		padding-top:0.2em;
	}

}


.gr-item figure {
	margin:0 auto;
	overflow: hidden;
	width: 70%; /* 親幅に合わせる */
	aspect-ratio: 1 / 1; /* 正方形を保つ */
}

.gr-item figure img {
	width: 100%;
	height: 100%;
}

/* タブレット縦・スマホ */
@media (max-width: 1024px) {
	.gr-item {
		flex: 1 1 calc(33.33% - 16px); /* 2列に変更 */
		max-width: calc(33.33% - 16px);
	}
	.gr-item-container {
		justify-content: center; /* 最後の1個を中央に */
	}
}

@media (max-width: 600px) {
	.gr-item {
		flex: 1 1 calc(33.33% - 16px); /* 2列に変更 */
		max-width: calc(33.33% - 16px);
	}
	.gr-item-container {
		justify-content: center; /* 最後の1個を中央に */
	}
}

/*------ごあいさつ画像セットここまで-----------*/


/*======= Service サービス案内 ======*/
.secS {
	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;
}


/*カード*/
.secS-card__item{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap:5px;
}
@media only screen and (max-width: 968px) {
	.secS-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secS-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secS-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	background-color:white;
	border-radius: 10px;
	box-sizing: border-box;
	border:1px solid var(--main-color);
	padding:10px;
}
.secS-card__item H4{
	padding: 5px 0;
	font-size: clamp(18px,2.5vw,19px);
	font-weight: bold;
	line-height: 1.3;
	font-weight:500 !important;
	text-align: center;
	border-bottom: 2px dotted var(--main-color);
}
.secS-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}

.secS-card__item img{
	border-radius: 10px;
	overflow: hidden; /* ←これ必須 */
}



/*======= Merit 当店の特長 ======*/
.secM {
	padding: var(--v-space) 0;
	position: relative;
	z-index: 1;
	background-color: var(--accent-color3);
}

.waku80m{
	margin:0 auto;
	padding:20px;
	background-color:white;
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .01);
	text-align:center;
	border-radius:10px;
	background-color:var(--accent-color3);
	font-weight:500;
}
@media screen and (max-width: 568px) { 
	.waku80m{
		text-align:initial;
	}
}

/*カード*/
.secM-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.secM-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secM-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secM-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	background-color: white;
	box-shadow: 0 13px 13px 0 rgba(0, 0, 0, .1);
	padding:10px;
	border-radius: 10px;
	box-sizing: border-box;
}
.secM-card__item H3{
	padding: 5px 0;
	font-size: clamp(19px,2.5vw,20px);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	border-bottom: 2px dotted var(--main-color);
}
.secM-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}

.secM-card__item img{
	border-radius: 10px;
	overflow: hidden; /* ←これ必須 */
}


/*======= Price 料金のご案内 ======*/
.secP {
	padding: var(--v-space) 0;
	position: relative;
	z-index: 1;
	background-color: #fff;
}

/*テーブル*/
.pr, .pr td, .pr th {
	border-collapse: collapse;
	border-bottom: 1px solid var(--main-color); 
	text-align:center;
}
.pr{
	background-color:#fafafa;
}
.pr td{
	padding:10px;
}

@media screen and (min-width: 568px) { 
	.waku80{
		margin:0 auto;
		width:80%;
	}

}

table.pr td:first-child {
	/* ここに好きなスタイルを書く */
	text-align:left;
	padding-left:10%;
}



@media screen and (min-width: 568px) { 
	p.cnt{
		text-align:center;
	}
}

ul.tag-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.tag-list li {
	position: relative;
	text-align: center;
	display: inline-block;
	font-size: clamp(14px, 1.3vw, 14px);
	padding: 3px 10px 2px;
	margin: 4px 3px;
	border: 1px solid rgb(187, 187, 187);
	background: #fff;
	overflow: hidden;
}
/* PCのみ中央揃え */
@media screen and (min-width: 769px) {
	ul.tag-list {
		text-align: center;
	}
}

/* スマホ時には左寄せ（必要なら） */
@media screen and (max-width: 768px) {
	ul.tag-list {
		text-align: left;
	}
}


/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;

	background-color:#f7fcfc;

	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: #FFF;
	background-image: url(../img/bg_04.jpg);
	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(50, 108, 145, 0.8);
	padding:40px;
	border-radius: 20px;
}
@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; /* 背景画像より上に表示 */ 
}


/*======= FLOW ======*/

.secF {
	padding: var(--v-space) 0;

	position: relative;
	z-index: 1;
	background-color: #f1faf5;
	background-size: 6px 6px;
	background-image: repeating-linear-gradient( 0deg, #dff3fc, #dff3fc 1px, #f7fcff 1px, #f7fcff); 
}

.flex-child06 img{
	border-radius: 10px;
	overflow: hidden; /* ←これ必須 */
}

/*======= 調整 ======*/
.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;
}


/*その他*/
strong{
	font-weight:normal;
}

/*全h3*/

h2{
	font-family: "Zen Kaku Gothic New", serif !important;
	font-weight: 500 !important;
}


h4{
	font-family: "Zen Kaku Gothic New", serif !important;
	font-weight: 400 !important;
}

h3{
	font-family: "Zen Kaku Gothic New", serif !important;
	font-weight: 500 !important;
}

h3.cnt{
	text-align:center;
}
h3.cnt::after {
	margin:0 auto;
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	margin-top: 0.6em;
	margin-bottom: 0.2rem;
	border-bottom: 5px solid var(--main-color);
	font-weight: bold;
	font-size: 26px;
}
h3.cnt + p {
	text-align:center;
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: var(--main-color);
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	letter-spacing: 0.15em;
}

/*大きい画像のみ*/
.imgtext-container > figure.img {
	border-radius: 10px;
	overflow: hidden; /* ←これ必須 */
}
