@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; /* 背景画像より上に表示 */
}

.min{
	font-family: 'Zen Old Mincho', serif;
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}

.bld{
	font-weight:600;
	color:var(--accent-color2);
}

/*======= コンテンツ ======*/



/*======= 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;
}

/*======= Merit,弊社の強み ======*/
.secM {
	padding: var(--v-space) 0;
	background-color:white;
}

/*======= Example,施工事例 ======*/
.secE {
	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;
}

.waku80{
	margin:0 auto;
	width:80%;
}
@media screen and (max-width: 568px) { 
	.waku80{
		width:initial;
	}
}

/*カード*/
.secE-card__item{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.secE-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secE-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secE-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 10px;
	background-color: #fff;
	border-radius: 10px;
	box-sizing: border-box;
}
.secE-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	margin-bottom:-0.2em;
	color:var(--accent-color2);
}
.secE-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}

/*======= Gallery 施工ギャラリー ======*/
.secG {
	padding: var(--v-space) 0;
	background-color: #f7f7f7;

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}


/* =========================
   全体コンテナ
========================= */
.pa_sec3__container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
}

@media only screen and (max-width: 768px) {
	.pa_sec3__container {
		grid-template-columns: 1fr;
		gap: 25px;
	}
}

/* =========================
   Before → After（常に横並び）
========================= */
.before-after-wrap {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
}

/* =========================
   Before / After
========================= */
.before-after-wrap .before,
.before-after-wrap .after {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* =========================
   画像
========================= */
.before-after-wrap img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	object-fit: contain;
	background: #fafafa;
}

/* =========================
   ラベル
========================= */
.before-after-wrap p {
	margin-top: 6px;
	font-weight: bold;
	color: #333;
	font-size: 0.9rem;
}

/* =========================
   矢印（常に横）
========================= */
.arrow-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

.arrow {
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 12px solid #1A498E;
}

/* =========================
   スマホ最適化（サイズだけ調整）
========================= */
@media only screen and (max-width: 768px) {
	.before-after-wrap {
		gap: 15px;
	}

	.before-after-wrap p {
		font-size: 0.85rem;
	}

	.arrow {
		border-top-width: 10px;
		border-bottom-width: 10px;
		border-left-width: 10px;
	}
}
/* Before */
.before p {
	color: #1e88e5; /* 青系 */
	font-weight: 600;
}

/* After */
.after p {
	color: #e53935; /* 赤系 */
	font-weight: 600;
}


/*======= 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-color2);
}

.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; /* 背景画像より上に表示 */ 
}
@media screen and (max-width: 568px) { 
	.info_sec1{
		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;
	}
}

/* 概要・アクセス部分のテーブル */
.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; /* 背景画像より上に表示 */ 
}

/*======= 調整 ======*/
.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*/
h3{
	font-family: 'Zen Old Mincho', serif;
	font-weight:500;
	font-style:normal;
}

