@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/



/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}


/*タイトル(共通)*/
.spot-heading01{
	font-size: clamp(40px,6vw,70px);
	/* font-style: italic; */
	text-align: center;
	/* font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; */
	font-family: "Dancing Script", cursive;
	font-weight: 400;
	color:#2d2d2d;
}
.spot-heading01::first-letter {
	color: var(--main-color)
}



/*======= TOP ======*/
/*ご挨拶*/

.col{
	color:var(--main-color);
	font-weight:500;
}

h3.title{
	font-size:1.5em;
	text-align:center;
	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 500;
}

.greeting {
	padding: clamp(48px, 6vw, 96px) 0 var(--v-space);
	background:
	linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,1) 100%),
	repeating-linear-gradient(
	90deg,
	rgba(0,0,0,0.02) 0,
	rgba(0,0,0,0.02) 1px,
	transparent 1px,
	transparent 24px
	);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
	border-top: 1px solid rgba(0,0,0,0.06);
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.1em;
	letter-spacing: .08em;
}

/*TELバナー*/
.tel_bnr{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	padding: 30px 0 20px 0;
}
@media (max-width: 568px) {
	.tel_bnr{
		grid-template-columns: repeat(1, 1fr);
	}
}


/* 箇条書き */

div.secG-bg{
	background: rgb(251 249 248 / 90%);
    padding: clamp(45px, 7vw, 60px) 40px 15px 40px;
    border: 5px double var(--main-color);
    margin: 40px 0 50px 0;
}
@media screen and (max-width: 568px) {
	div.secG-bg{
        padding: 30px 30px 15px 30px;
	}
}

.secG-card__item{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 18px;
    margin: 3em 0 2em 0;
}

.secG-card__item > div{
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.secG-card__item p{
	position: relative;
	margin: 0;
	padding-left: 22px;
	font-size: 15px;
	line-height: 1.8;
    color: var(--txt-color);
}

.secG-card__item p::before{
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 14px;
	color: #666;
	font-weight: normal;
}

@media only screen and (max-width: 768px) {
	.secG-card__item{
		grid-template-columns: 1fr;
		row-gap: 14px;
		column-gap: 0;
	}

	.secG-card__item p{
		font-size: 14px;
		line-height: 1.7;
		padding-left: 20px;
	}

	.secG-card__item p::before{
		font-size: 13px;
	}
}


h3.title::after {
	content: "";
	display: block;
	width: 100px;
	height: 2px; /* 線の太さ */
	background: var(--main-color);
	margin: 10px auto 0; /* 上余白＋中央配置 */
	margin-bottom:1em;
	margin-top:1em;
}



/*======= コンテンツ ======*/




/*======= Merit,選ばれる理由 ======*/
.secM {
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_02.jpg);
	background-size:cover;
	background-position: bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

.secM::before {
	content: "";
	position: absolute;
	inset: 0; /* top:0;right:0;bottom:0;left:0 */
	background-color: rgba(255, 255, 255, 0.6); /* 白を60%透過 */
	z-index: -1; /* 背景の下に置く */
}


/*カード*/
.secM-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:18px;
}

@media only screen and (max-width: 968px) {
	.secM-card__item{
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secM-card__item{
		grid-template-columns: repeat(1, 1fr);
	}
}
.secM-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 0 16px 18px;
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,.07);
	background: linear-gradient(180deg, #fff 0, #fbfbfb 100%);
	box-shadow: 0 8px 18px rgba(0,0,0,.05);
	position: relative;
}


.secM-card__item div figure.img{
	margin: 0 -16px 12px;
	line-height: 0;
	overflow: hidden;
}

.secM-card__item div figure.img img{
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.secM-card__item H3{
	padding: 2px 0 8px 14px;
	font-size: clamp(16px,1.5vw,20px);
	line-height: 1.45;
	text-align: left;
	border-bottom: 1px solid rgba(0,0,0,.08);

	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 500;
	font-style: normal;
	border-left:3px solid var(--main-color);
}
.secM-card__item p{
	display: block;
	font-size: 15px;
	line-height: 1.8;
}


/*======= Service,業務内容 ======*/
.secS{
	padding: var(--v-space) 0;
	background:
	linear-gradient(180deg, rgba(0,0,0,0.02) 0, rgba(0,0,0,0) 160px),
	#fff;
}

.waku{
	margin:0 auto;
	width:80%;
	padding: 16px 18px;
	margin-top: 18px;

	background: #fff;
	border: 1px solid #e3e3e3;

	font-size: 0.95rem;
	line-height: 1.8;
	color: #444;
}

/* スマホ時は少し詰める */
@media screen and (max-width: 768px) {
	.waku{
		padding: 14px 14px;
		font-size: 0.92rem;
	}
}

@media only screen and (max-width: 968px) {
	.imgtext-container img{
		width:100%;
	}
}


/*======= License,資格者紹介 ======*/
.secL {
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_01.jpg);
	background-size:cover;
	background-position: bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

.secL::before {
	content: "";
	position: absolute;
	inset: 0; /* top:0;right:0;bottom:0;left:0 */
	background-color: rgba(255, 255, 255, 0.6); 
	z-index: -1; /* 背景の下に置く */
}


h3.name{
	font-size:1.5em;
	text-align:center;
	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 500;
}

/*カード*/
.secL-card__item{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap:20px;
}

@media only screen and (max-width: 968px) {
	.secL-card__item{
		grid-template-columns: repeat(1, 1fr);
	}
}
.secL-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 0 18px 20px;
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,.08);
	background: #fff;
	box-shadow: 0 12px 26px rgba(0,0,0,.05);
	position: relative;
}

.secL-card__item div figure.img{
	margin: 0 -18px 16px;
	line-height: 0;
	overflow: hidden;
}

.secL-card__item div figure.img img{
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.secL-card__item p{
	display: block;
	font-size: 15px;
	line-height: 1.8;
}

/*テーブル*/
.pr, .pr td, .pr th {
	border-collapse: collapse;
	border-bottom: 1px dashed #999; 
	text-align:center;
}
/*1行目のみ指定*/
.pr td:first-child {
	font-weight: bold;          /* 文字を太字に */
	width:20%;
	padding:5px;
	text-align:left;
}

/*2列目のみ指定*/
.pr td:nth-child(2) {
	width:80%;
	padding:5px;
	text-align:left;
}

@media screen and (max-width: 568px) { 

	.pr td{
		display:block;
		width:initial !important;
	}
	.pr td:first-child {
		border:none;
		padding-top:10px;
	}
}

.sml{
	display:inline-block;
	font-size:16px;
	margin-right:10px;
}

.sml2{
	font-size:12px;
	margin-right:10px;
}

/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_02.jpg);
	background-size:cover;
	background-position: bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

.info_sec1::before {
	content: "";
	position: absolute;
	inset: 0; /* top:0;right:0;bottom:0;left:0 */
	background-color: rgba(255, 255, 255, 0.6); /* 白を60%透過 */
	z-index: -1; /* 背景の下に置く */
}

/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 5.25em;
	line-height: 1.5;
	letter-spacing: 0.06em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 400px;
	line-height: 1.5;
	letter-spacing: 0.06em;
}
@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.9);
	padding:40px;
	border-radius: 20px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}

p.right{
	margin-top:0.5em;
	text-align:right !important;
	font-size:12px;
}

/* =========================
ギャラリー
========================= */
.card-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	padding: 20px;
	box-sizing: border-box;
}

/* =========================
カード
========================= */
.card {
	flex: 0 0 auto;
	line-height: 0; /* img下の余白防止 */
}

.card a {
	display: block;
}

.card figure {
	margin: 0;
	padding: 0;
}

/* =========================
画像（共通：高さ基準）
========================= */
.card img {
	height: 200px;        /* PC基準 */
	width: auto;          /* 比率に任せる */
	max-width: 100%;
	display: block;
	object-fit: contain; /* 切らない・比率維持 */
	background: #fafafa;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: transform 0.3s ease;
}

.card img:hover {
	transform: scale(1.02);
}

/* =========================
スマホ：高さだけ縮小（列数は自動）
========================= */
@media screen and (max-width: 568px) {
	.card-grid {
		gap: 8px;
		padding: 10px;
	}

	.card img {
		height: 115px;   /* ★SPは高さだけ変更 */
		width: auto;     /* PCと同じ思想 */
		max-width: 100%;
	}
}


/*======= ACCESS アクセス ======*/

.access_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

/* アクセス部分のテーブル */
.access1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 5.25em;
}
.access2 {
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 400px;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

@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%;
	}
}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;
}

.faq-item {
	display: grid;
	grid-template-columns: 1.8em 1fr;
	column-gap: 14px;
	row-gap: 8px;
	padding: 18px 20px;
	background: rgba(255,255,255,.86);
	box-shadow: 0 8px 16px rgba(0,0,0,.04);
}

.faq-item:nth-of-type(2n){
	border-left-color: var(--accent-color1);
}

.faq-label {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: bold;
	font-size: 110%;
	line-height: 1.5;
	width: 1.8em;
	height: 1.8em;
	text-align: center;
	align-self: start;
	/* lavelを上揃えに */
	box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.faq-label.q {
	background-color: var(--accent-color1);
}

.faq-label.a {
	background-color: var(--main-color);
}

.faq-question,
.faq-answer {
	margin: 0;
	line-height: 1.6;
	text-align: justify;
}

.faq-question {
	font-weight: bold;
}

hr.faqHr {
	height: 0px;
	border: 0;
	border:none;
	margin: 18px auto 24px;
}



/*======= 調整 ======*/
.l-c {
	margin-right: auto;
	margin-left: auto;
}


/*その他*/
strong{
	font-weight:normal;
}

