@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: 40px; /* 横棒の長さ（調整可） */
	height: 1px; /* 横棒の太さ（調整可） */
	background-color: #2d2d2d; /* 横棒の色 */
	vertical-align: middle;
	margin: 0 0.5em; /* 文章と横棒の間隔 */
}


/* タグ */
.kakomi01 span {
	padding: 3px 10px 2px 10px;
	margin: 4px 3px;
	background-color: #e8f4f3;
	border: 1px solid var(--accent-color1);
	border-radius: 5px;
	text-align: center;
	display: inline-block;
	font-size: clamp(14px, 1.3vw, 14px);
}

/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space) ;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
.greeting-haba{
	max-width: 950px;
	margin: 0 auto;
	padding: 2% 0 0 0;
}
.top-card__item{
	display: grid;
	grid-template-columns: 0.59fr 2fr;
	gap:5px;
}
@media (max-width: 568px) {
	.top-card__item{
		display: grid;
		grid-template-columns: 1fr;
		gap:5px;
	}
	.img-width-sp{
		width: 200px;
	}
}
.top-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	/* margin-bottom: 20px; */
	/*ここまで*/

}
.top-card__item p{
	text-align: center;
	font-size: 12px;
}
.top-card__item img{
	margin: 0 auto;
}


/*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);
	}
}



/*======= 太陽光発電事業 ======*/
.sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_01.jpg);
	background-size: cover;
	background-position: center;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
@media only screen and (max-width: 568px) {
	.sec1 {
		background-image: url(../img/bg_01_sp.jpg);
	}
}

/* カード */
.solar-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap:10px;
}

.solar-card {

	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 4;

	background-color: #ffffffe0;
	border: 1px solid var(--main-color);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease;

	margin: 10px;
}

.solar-card:hover {
	transform: translateY(-4px);
}

.solar-card i {
	font-size: 40px;
	margin: 0 auto 0px auto;
	color: var(--accent-color1);
}

.solar-card h4 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0px;
	color: var(--main-color);
	font-family: "Noto Serif JP", serif;
}

.solar-card p.main {
	font-size: 16px;
	color: #444;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}
.solar-card p {
	font-size: 14px;
	color: #444;
	line-height: 1.5;
	text-align: center;
}
.solar-card p.tx-l {
	font-size: 14px;
	color: #444;
	line-height: 1.5;
	letter-spacing: -0.1em;
	text-align: center;
}


@media only screen and (max-width: 567px) {
	.solar-card-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		gap:5px;
	}
	.solar-card {
		background-color: #ffffffe0;
		border: 1px solid var(--main-color);
		border-radius: 12px;
		padding: 10px;
		text-align: center;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
		transition: transform 0.2s ease;

		margin: 2px;
	}
	.solar-card .icon {
		width: 70px;
		height: auto;
		margin: 0 auto 0px auto;
	}
	.solar-card h4 {
		font-size: 15px;
	}
	.solar-card p {
		font-size: 13px;
		text-align: center;
	}
	.solar-card p.tx-l {
		font-size: 13px;
		color: #444;
		line-height: 1.5;
		letter-spacing: -0.05em;
		text-align: left;
		text-align: justify;
	}
}



/*======= 主な事業内容 ======*/
.sec2 {
	padding: var(--v-space2) 0 var(--v-space);
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}


.sec2_card {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 30px;
	/* margin-top: 2vw; */
}

.sec2_card .card {
	display: grid;
	grid-template-rows: auto 1fr;
	background-color: #ffffff;
	border: 1px solid #ddd;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.sec2_card .card:hover {
	transform: translateY(-5px);
}

.sec2_card .card img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.sec2_card .card-text {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 4;
	padding: 15px;
}

.sec2_card .card-text h3 {
	font-size: clamp(17px,2vw,20px);
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
	text-align: center;
}

.sec2_card .card-text h4 {
	font-size: 15px;
	margin-bottom: 10px;
	color: var(--main-color);
	display: flex;
	align-items: center;
	gap: 8px;
}

.sec2_card .card-text i {
	font-size: 16px;
	width: 20px;
	text-align: center;
}

.sec2_card .card-text p {
	font-size: 14px;
	color: #555;
	display: flex;
	align-items: center;
	gap: 6px;
	padding-left: 2px;
}

/*======= 不動産賃貸事業 ======*/
.sec3 {
	padding: var(--v-space) 0 var(--v-space2);
	background-color: #f2f6fa;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

.sec3-property-box {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	margin-bottom: 40px;
	align-items: center;
}

/* reverse時に左右を反転 */
@media (min-width: 769px) {
	.sec3-property-box.reverse {
		grid-template-columns: 1fr 2fr; /* 通常と逆順 */
	}
	.sec3-property-box.reverse .sec3-property-imgs {
		order: 2;
	}
	.sec3-property-box.reverse .sec3-property-text {
		order: 1;
	}
}

/* 印刷対応 */
@media print {
	.sec3-property-box.reverse {
		display: grid !important;
		grid-template-columns: 1fr 2fr !important;
	}
	.sec3-property-box.reverse .sec3-property-imgs {
		order: 2 !important;
	}
	.sec3-property-box.reverse .sec3-property-text {
		order: 1 !important;
	}
}

.sec3-property-imgs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sec3-main-img {
	aspect-ratio: 3 / 2;
	width: 100%;
	border-radius: 8px;
	object-fit: cover;
}

.sec3-thumbs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.sec3-thumb {
	width: 120px;
	height: 90px;
	object-fit: cover;
	cursor: pointer;
	border-radius: 4px;
	border: 1px solid #ccc;
	transition: transform 0.2s ease;
}

.sec3-thumb:hover {
	transform: scale(1.05);
}

.sec3-property-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.sec3-property-text h3 {
	font-size: clamp(22px, 2.7vw, 33px);/* 今回のみ */
	min-height: 0vw;
	font-weight: 400;
	color: #444;
	font-family: "Zen Kaku Gothic New", serif;
	letter-spacing: -1px;
	margin-bottom: 2rem;
}
.sec3-property-text h3::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	/*border-top: solid 1px var(--main-color);*/
	margin-top: 0.3em;

	width: 3em;
	height: 5px;
	background: linear-gradient(to right, #052f79, #2f5dac,#99aac9);

}

@media screen and (max-width: 767px) {
	.sec3-property-text h3 {
		text-align:center;
	}
	.sec3-property-text h3::after {
		margin-right:auto;
		margin-left:auto;
	}
}

.sec3-property-text p {
	font-size: 15px;
	color: #444;
	line-height: 1.6;
}

.sec3-property-text p.info {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	font-size: 14px;
	color: #555;
}

.sec3-property-text i {
	font-size: 16px;
	width: 20px;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.sec3-property-box {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.sec3-thumbs {
		justify-content: center;
	}
	.sec3-thumb {
		width: 70px;
		height: 50px;
	}
}




.sec4 {
	padding: var(--v-space) 0;
	background-color: #FFF;	
	background-image: url(../img/bg_02.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
@media only screen and (max-width: 568px) {
	.sec4 {
		background-image: url(../img/bg_02_sp.jpg);
		background-size: cover;
		background-position: center;
	}
}

.sec4-lead {
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 40px;
	color: #444;
	text-align: center;
}
@media only screen and (max-width: 820px) {
	.sec4-lead {
		text-align: left;
	}

}

.sec4-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
}

.sec4-card {
	background: #ffffffc9;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.sec4-card i {
	font-size: 36px;
	color: var(--main-color);
	margin-bottom: 15px;
}

.sec4-card h3 {
	font-size: 18px;
	margin-bottom: 10px;
	color: var(--main-color);
}

.sec4-card p {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
}

/*======= 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: #FFF;
	background-image: url(../img/bg_03.jpg);
	background-size: cover;
	background-position: top bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
@media only screen and (max-width: 568px) {
	.info_sec1 {
		background-image: url(../img/bg_03_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%;
	}
}



/*会社概要*/
.bg_b {
	background: rgba(255, 255, 255, 0.9);
	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%;
	}
}


/*======= 関連企業紹介 ======*/
.gcom_sec1{
	padding: 50px 0 var(--v-space2);
	background-color: #f5f9ff;
	background-size: 6px 6px;
	background-image: repeating-linear-gradient(0deg, #dbe7fc, #dbe7fc 1px, #f5f9ff 1px, #f5f9ff);

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
.group-company {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin: 0 auto;
}
@media only screen and (max-width: 567px) {
	.group-company {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 40px;
	}

}

.group-company > div {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
	background-color: transparent;
}

/* 画像とオーバーレイとテキストを包むラッパー */
.img-wrapper {
	position: relative;
	border-radius: 20px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

/* 画像本体 */
.img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* グラデーションオーバーレイ */
.img-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(63, 81, 181, 0.7), rgba(156, 39, 176, 0.7));
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

/* ホバーでオーバーレイ表示 */
.img-wrapper:hover .img-overlay {
	opacity: 1;
}

/* 番号 */
.img-wrapper p {
	position: absolute;
	top: 0;
	left: 20px;
	color: #ffffffc7;
	font-size: 50px;
	font-weight: bold;
	z-index: 2;
	margin: 0;
}

/* h3 テキスト */
.img-wrapper h3 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #ffffffdc;
	padding: 20px 20px 20px 60px;
	font-size: clamp(16px,2vw,18px);
	font-weight: bold;
	line-height: 1.3;
	text-align: left;
	z-index: 2;
	transition: all 0.3s ease;
	margin: 0;
}

/* 飾り線 */
.img-wrapper h3::before {
	content: "―";
	position: absolute;
	left: 30px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--main-color);
	font-size: 1.2em;
}

/* ホバー時のテキスト変化 */
.img-wrapper:hover h3 {
	background-color: transparent;
	text-align: center;
	color: #fff;
	padding-left: 0;
}

.img-wrapper:hover h3::before {
	content: "→";
	position: absolute;
	right: 30px;
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent-color1);
	font-size: 1.2em;
}
