@charset "UTF-8";


/*=======================================================*/
/*					セクション毎のCSS					  */
/*======================================================*/

/*============ 共通 =========== */

/* セクションタイトル */

.spot-heading {
	position: relative;
	width: fit-content;
	max-width: 100%;
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	margin: 0;
	color: var(--txt-color);
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.05em;
	text-align: left;
}

.spot-heading__ja {
	position: relative;
	z-index: 1;
	display: block;
	max-width: 100%;
	padding-left: clamp(0.5em, 3vw, 1em);
	box-sizing: border-box;
}

.spot-heading__en {
	position: absolute;
	top: 0;
	left: -0.3em;
	padding-right: 0.3em;
	color: var(--accent-color1);
	opacity: 0.5;
	font-family: "Caveat", cursive;
	font-size: clamp(2.5rem, 5vw, 5rem);
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	transform: rotate(-8deg);
}

.spot-heading__accent {
	color: var(--main-color);
}

/* 下層ページ メインビジュアル */
.entry-visual {
	position: relative;
	overflow: hidden;
	background-color: var(--base-color);
}

.entry-visual__image {
	display: block;
	width: 100%;
}

.entry-visual__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* テキスト */

.entry-visual__inner {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: clamp(20px, 4vw, 50px);
	box-sizing: border-box;
}

.entry-visual__box {
	width: auto;
	padding: clamp(15px, 5vw, 35px) clamp(35px, 6vw, 80px);
	box-sizing: border-box;
	background-color: #ffffffb9;
	text-align: center;
}

.entry-visual__title {
	margin: 0;
	color: var(--txt-color);
	font-size: clamp(1.1rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.entry-visual__en {
	margin: 5px 0 0;
	color: var(--main-color);
	font-family: Arial, sans-serif;
	font-size: clamp(0.7rem, 1vw, 0.85rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.14em;
}

/* PC */

@media print, screen and (min-width: 768px) {

	.entry-visual__image img {
		aspect-ratio: 16 / 3;
		object-fit: cover;
	}

}

/* 下層ページ共通 */
@media print, screen and (min-width: 768px) {
	.lower-concept__lead{
		margin-top: 2rem;
		padding-left: 2.5em;
	}
}
@media only screen and (max-width: 767px) {
	.lower-concept__lead{
		margin-top: 2rem;
	}
}

/* 寒川デザインオフィスについて 背景 */
.ab_bg{
	background: url(../img/ab_bg01.jpg) no-repeat right center / auto 100%;
}
/* 一般住宅 背景 */
.ho_bg{
	background: url(../img/ho_bg01.jpg) no-repeat right center / auto 100%;
}
/* 店舗・商業施設 背景 */
.st_bg{
	background: url(../img/st_bg01.jpg) no-repeat right center / auto 100%;
}
/* お問い合わせ 背景 */
.co_bg{
	background: url(../img/co_bg01.jpg) no-repeat right center / auto 100%;
}

/* 共通ボタン */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	min-width: min(280px, 100%);
	max-width: 100%;
	margin-top: 28px;
	padding: 16px 25px;
	border: 1px solid var(--accent-color2);
	background-color: var(--accent-color2);
	color: var(--base-color);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
	transition:
		background-color .2s,
		border-color .2s;
}

.button > span:last-child {
	flex-shrink: 0;
	font-size: 1.3rem;
	font-weight: 400;
}

.button:hover {
	border-color: var(--accent-color1);
	background-color: var(--accent-color1);
}

.hline {
	display: inline-block;
	width: 40px;
	/* 横棒の長さ（調整可） */
	height: 1px;
	/* 横棒の太さ（調整可） */
	background-color: #2d2d2d;
	/* 横棒の色 */
	vertical-align: middle;
	margin: 0 0.1em;
	/* 文章と横棒の間隔 */
}


/* タグ */
.kakomi01 {
	text-align: center;
}

.kakomi01 span {
	padding: 3px 7px 2px 7px;
	margin: 0px 0px 5px;
	background-color: var(--main-color);
	border: 1px solid #eee;
	color: #FFF;
	border-radius: 5px;
	text-align: center;
	display: inline-block;
	font-size: clamp(12px, 1.3vw, 12px);
}

/* タグ（左右が揃う）  */
.kakomi-tag01 {
	display: flex;
	flex-wrap: wrap;
	/* 子要素を折り返す */
	gap: 10px;
	width: 100%;
	justify-content: space-between;
	/* 左右のボックスを揃える */
}

.kakomi-tag01 p {
	background-color: var(--accent-color3);
	padding: 5px 10px;
	font-size: clamp(14px, 1.6vw, 16px);
	font-family: Arial, sans-serif;
	flex-grow: 1;
	/* ボックスのサイズを自動調整 */
	min-width: 100px;
	/* ボックスの最小幅を設定 */
	box-sizing: border-box;
	text-align: center;
	/* 水平方向の中央揃え */
}

.kakomi-tag01 .end {
	/* などを末尾につけたい場合に */
	background-color: transparent;
	padding: 5px;
	font-size: clamp(14px, 1.3vw, 14px);
	font-family: Arial, sans-serif;
	width: 20px;
	min-width: 40px;
	/* ボックスの最小幅を設定 */
	box-sizing: border-box;
	text-align: right;
	/* 水平方向の中央揃え */
}


/*======= TOPページ ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(20px, 6vw, 50px) 0 var(--v-space);
	background-color: #FFF;

	position: relative;
	z-index: 1;
}

.greeting::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 49.9%;
	max-width: 1260px;
	height: 180px;
	background-image: url(../img/bg-ptn.png);
}


.greeting__title {
	position: relative;
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.05em;
	color: var(--txt-color);
	width: fit-content;
	max-width: 100%;
	margin: clamp(2.5rem, 6vw, 5rem) 0 clamp(-1.5rem, -4vw, -4rem) auto;
	text-align: left;
}
.greeting__title-ja {
	position: relative;
	left: auto;
	display: block;
	max-width: 100%;
	box-sizing: border-box;
	padding-left: clamp(0.5em, 3vw, 1em);
	z-index: 1;
}

.greeting__title-en {
	position: absolute;
	top: 0;
	left: -0.3em;
	color: var(--accent-color1);
	opacity: 0.5;
	font-family: "Caveat", cursive;
	font-size: clamp(2.5rem, 5vw, 5rem);
	font-weight: 400;
	line-height: 1;
	transform: rotate(-8deg);
	right: auto;
}

.greeting__title-accent {
	color: var(--main-color);
}

@media only screen and (max-width: 920px) {
	.greeting__title {
		margin-left: 0;
		margin-right: auto;
		margin-bottom: clamp(0.5rem, 1vw, 1rem);
	}
}

.greeting__list {
	display: grid;
	gap: clamp(45px, 7vw, 60px);
}

.greeting_imgtext {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(45px, 7vw, 60px);
}
.greeting_imgtext--reverse {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}
.greeting_imgtext--reverse .greeting_imgtext__media {
	grid-column: 2;
}

.greeting_imgtext--reverse .greeting_imgtext__body {
	grid-column: 1;
	grid-row: 1;
}

.greeting_imgtext__media {
	margin: 0;
}

.greeting_imgtext__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.greeting_imgtext__media--house img {
	clip-path: polygon(
		50% 0,
		100% 34%,
		100% 100%,
		0 100%,
		0 34%
	);
}

.greeting_imgtext__body {
	display: grid;
	justify-items: start;
	gap: var(--greeting-text-gap);
}

.greeting_imgtext__heading {
	display: grid;
	justify-items: start;
	gap: 0.45em;
	margin: 0;
	font-size: clamp(1.1rem, 2.3vw, 2rem);
	line-height: 1.5;
	letter-spacing: 0.06em;
	margin-bottom: 1rem;
}

.greeting_imgtext__heading span {
	padding: 0.12em 0.5em;
	background-color: var(--main-color);
	color: var(--base-color);
}

.greeting_imgtext__text {
	margin: 0;
	font-size: clamp(0.9rem, 1.15vw, 1rem);
	line-height: 2;
	letter-spacing: 0.04em;
}

@media only screen and (max-width: 767px) {
	.greeting__inner {
		width: min(100% - 2.5rem, 560px);
	}

	.greeting_imgtext {
		grid-template-columns: minmax(0, 1fr);
		gap: clamp(1.5rem, 5vw, 2rem);
	}
	.greeting_imgtext--reverse {
		grid-template-columns: minmax(0, 1fr);
	}

	.greeting_imgtext--reverse .greeting_imgtext__media,
	.greeting_imgtext--reverse .greeting_imgtext__body {
		grid-column: auto;
		grid-row: auto;
	}

	.greeting_imgtext__media img {
		aspect-ratio: 4 / 3;
	}
}

/* 住宅のプラン・図面・パース制作 */
.top_sec1 {
	padding: var(--v-space2) 0;
	background: url(../img/bg-ptn.png) repeat;

}
.top_sec2 {
	padding: var(--v-space2) 0;
	background: #fff;
}

/* DESIGN SHOWCASE(共通パーツ) */
/* 上段 */

.design-showcase__head {
	display: grid;
	gap: clamp(25px, 4vw, 40px);
}

.design-showcase__copy {
	min-width: 0;
	text-align: justify;
}

.design-showcase__text {
	max-width: 560px;
	margin-top: clamp(25px, 3vw, 40px);
	font-size: clamp(14px, 1.4vw, 16px);
	line-height: 2;
	letter-spacing: 0.04em;
}

.design-showcase__link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-width: 260px;
	margin-top: clamp(25px, 3vw, 40px);
	padding: 17px 25px;
	box-sizing: border-box;
	background-color: var(--main-color);
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		transform 0.25s ease;
}

@media (hover: hover) {

	.design-showcase__link:hover {
		background-color: var(--accent-color2);
		transform: translateY(-2px);
	}

}


/* メインパース */

.design-showcase__main {
	position: relative;
	min-width: 0;
	margin: 0;
}

.design-showcase__main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* キャプション */

.design-showcase__caption {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	color: #999;
	font-size: 10px;
	line-height: 1.4;
	letter-spacing: 0.2em;
}

.design-showcase__caption::before {
	content: "";
	order: 2;
	width: 35px;
	height: 1px;
	background-color: var(--line-color);
}

.design-showcase__caption > span:last-child {
	order: 3;
}

.design-showcase__caption-num {
	order: 1;
	color: var(--main-color);
	font-size: 13px;
	letter-spacing: 0;
	white-space: nowrap;
}


/* ギャラリー */

.design-showcase__gallery {
	display: grid;
	margin-top: clamp(25px, 3vw, 40px);
}

.design-showcase__item {
	min-width: 0;
	margin: 0;
}

.design-showcase__image {
	overflow: hidden;
	background-color: #f5f3ed;
}

.design-showcase__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

/* SP */

@media only screen and (max-width: 767px) {

	.design-showcase {
		padding: 65px 0;
	}

	.design-showcase__head {
		grid-template-columns: 1fr;
	}

	.design-showcase__copy {
		order: 2;
	}

	.design-showcase__main {
		order: 1;
	}

	.design-showcase__main img {
		aspect-ratio: 4 / 3;
	}

	.design-showcase__link {
		width: 100%;
		min-width: 0;
	}

	.design-showcase__gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px 12px;
	}

	.design-showcase__image {
		aspect-ratio: 1 / 1;
	}

	.design-showcase__caption {
		gap: 7px;
		margin-top: 8px;
		font-size: 8px;
		letter-spacing: 0.1em;
	}

	.design-showcase__caption::before {
		width: 18px;
	}

	.design-showcase__caption-num {
		font-size: 11px;
	}

}


/* PC */

@media print, screen and (min-width: 768px) {

	.design-showcase__head {
		grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.7fr);
		align-items: center;
	}

	.design-showcase__main img {
		aspect-ratio: 16 / 7;
	}

	.design-showcase__gallery {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 20px;
	}

	.design-showcase__item {
		position: relative;
	}

	.design-showcase__item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 0;
		right: -10px;
		width: 1px;
		height: 100%;
		background-color: var(--line-color);
	}

	.design-showcase__image {
		aspect-ratio: 1 / 1;
	}

	/* 左右反転 */
	.design-showcase--reverse .design-showcase__head {
		grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
	}

	.design-showcase--reverse .design-showcase__copy {
		order: 2;
	}

	.design-showcase--reverse .design-showcase__main {
		order: 1;
	}

}


/* top_sec3 */

.top_sec3 {
	padding: var(--v-space) 0;
}
/* 印刷時は固定背景を出力する */
@media print {

	.top_sec3 {
		background-image: url(../img/bg_01.jpg);
		background-size: cover;
		background-position: center;
	}

}

.top_sec3-box {
	max-width: 740px;
	padding: clamp(30px, 5vw, 55px);
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.6);
}

.top_sec3-text {
	margin-top: clamp(25px, 3vw, 40px);
	font-size: clamp(14px, 1.4vw, 16px);
	line-height: 2;
	letter-spacing: 0.04em;
	text-align: justify;
}

.top_sec3-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-width: 220px;
	margin-top: clamp(25px, 3vw, 40px);
	padding: 17px 25px;
	box-sizing: border-box;
	background-color: var(--main-color);
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		transform 0.25s ease;
}

@media (hover: hover) {
	.top_sec3-link:hover {
		background-color: var(--accent-color2);
		transform: translateY(-2px);
	}
}


/* SP */

@media only screen and (max-width: 767px) {

	.top_sec3-box {
		max-width: none;
		padding: 30px 25px;
	}

	.top_sec3-link {
		width: 100%;
		min-width: 0;
	}

}


/*====== お問い合わせCTA =======*/

.cta_sec {
	position: relative;
	overflow: hidden;
	padding: var(--v-space) 0;
	background:
		linear-gradient(
			rgba(85, 66, 57, .82),
			rgba(85, 66, 57, .82)
		),
		url("../img/contact_bg.jpg") center / cover no-repeat;
	color: var(--base-color);
	text-align: center;
}

.cta_sec .w-container {
	position: relative;
	z-index: 1;
}


/* 見出し */

.cta-heading {
	margin: 0;
}

.cta-label {
	display: inline-block;
	color: var(--accent-color1);
	font-family: "Caveat", cursive;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1;
	transform: translateX(-0.6em) rotate(-6deg);
	transform-origin: center;
}
.cta-label__accent {
	color: #FF8A4C;
}

.cta_sec h2 {
	margin: -10px;
	color: var(--base-color);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .06em;
}

.cta-lead {
	margin: clamp(18px, 2.5vw, 30px) auto 0;
	color: var(--base-color);
	font-size: clamp(.95rem, 1.3vw, 1.1rem);
	font-weight: 500;
	line-height: 2;
	letter-spacing: .04em;
}


/* CTAバナー */
.cta-contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(10px, 2vw, 20px);
	margin: clamp(20px, 3vw, 40px) auto 0;
}
/* バナーが1個だけの場合は中央配置 */
.cta-contact:has(> :only-child) {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
}

.cta-contact > :only-child {
	width: 100%;
	max-width: 670px;
}
.cta-contact__item {
	min-width: 0;
	margin: 0;
	overflow: hidden;
}

.cta-contact__item a {
	display: block;
}

.cta-contact__item img {
	display: block;
	width: 100%;
	height: auto;
	transition:
		transform .35s ease,
		opacity .35s ease;
	background-color: #f7f7f7;
	border-radius: 20px;
}


/* SP */

@media only screen and (max-width: 767px) {

	.cta_sec {
		background-position: center;
	}

	.cta-lead {
		text-align: justify;
	}

	.cta-contact {
		grid-template-columns: 1fr;
	}

}

/* PC */

@media print, screen and (min-width: 768px) {

	.cta-contact__item a:hover img {
		opacity: .9;
	}

}


/*======= 寒川デザインオフィスについて ======*/

/* ab_sec1 */

.ab_sec1 {
	position: relative;
	overflow: hidden;
	padding: var(--v-space) 0;
	background: url(../img/bg-ptn.png) repeat;
}

.ab_sec1-inner {
	display: grid;
	gap: clamp(40px, 7vw, 100px);
}


/* テキスト */
.ab_sec1-copy {
	position: relative;
	z-index: 2;
	align-self: center;
}

.ab_sec1-label {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 18px;
	color: var(--main-color);
	font-size: clamp(10px, 1vw, 12px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.22em;
}

.ab_sec1-label::before {
	content: "";
	width: 35px;
	height: 1px;
	background-color: currentColor;
}

.ab_sec1-title {
	margin: 0;
	color: var(--txt-color);
	font-size: clamp(1.9rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.05em;
}

.ab_sec1-title span {
	color: var(--main-color);
}

.ab_sec1-text {
	max-width: 560px;
	margin-top: clamp(25px, 4vw, 40px);
	font-size: clamp(14px, 1.4vw, 16px);
	line-height: 2.2;
	letter-spacing: 0.04em;
	text-align: justify;
}


/* ビジュアル */

.ab_sec1-visual {
	position: relative;
	min-width: 0;
	padding: 0 0 clamp(50px, 7vw, 90px) clamp(30px, 5vw, 70px);
}

.ab_sec1-img {
	margin: 0;
	overflow: hidden;
}

.ab_sec1-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: var(--accent-color3);
}

.ab_sec1-img--main {
	position: relative;
	z-index: 1;
	width: 100%;
}

/* .ab_sec1-img--main img {
	aspect-ratio: 4 / 3;
} */

.ab_sec1-img--sub {
	position: absolute;
	z-index: 2;
	right: 30px;
	bottom: -7vh;
	width: 48%;
	border: 8px solid var(--base-color);
	box-sizing: border-box;
}

.ab_sec1-img--sub img {
	aspect-ratio: 4 / 3;
}

.ab_sec1-word {
	position: absolute;
	z-index: 2;
	top: -0.35em;
	left: 0;
	margin: 0;
	color: var(--accent-color1);
	opacity: 0.15;
	font-family: Arial, sans-serif;
	font-size: clamp(5rem, 8vw, 9rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.05em;
	writing-mode: vertical-rl;
	white-space: nowrap;
}

/* PC */

@media print, screen and (min-width: 768px) {

	.ab_sec1-inner {
		grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
		align-items: center;
	}

}

/* ab_sec2 */

.ab_sec2 {
	padding: var(--v-space) 0;
	background-color: #fff;
}


/* 一覧 */

.ab_sec2-list {
	display: grid;
	gap: 0;
	margin-top: clamp(40px, 6vw, 70px);
	border-top: 1px solid var(--line-color);
}

.ab_sec2-item {
	display: grid;
	grid-template-columns: 65px minmax(0, 1fr);
	gap: clamp(15px, 2vw, 25px);
	padding: clamp(28px, 4vw, 45px) 0;
	border-bottom: 1px solid var(--line-color);
}

.ab_sec2-num {
	margin-top: -15px;
	color: var(--main-color);
	font-family: Arial, sans-serif;
	font-weight: bold;
	font-size: clamp(35px, 5vw, 50px);
	line-height: 1.4;
	letter-spacing: 0.08em;
	opacity: 0.2;
}

.ab_sec2-body {
	min-width: 0;
}

.ab_sec2-title {
	position: relative;
	margin: 0;
	padding-bottom: 14px;
	color: var(--txt-color);
	font-size: clamp(1.1rem, 1.8vw, 1.4rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

/* .ab_sec2-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 35px;
	height: 2px;
	background-color: var(--accent-color1);
} */

.ab_sec2-text {
	margin-top: 18px;
	color: var(--txt-color);
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 2;
	letter-spacing: 0.03em;
}


/* SP */

@media only screen and (max-width: 767px) {

	.ab_sec2-list {
		grid-template-columns: 1fr;
	}

	.ab_sec2-item {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 10px;
		padding: 28px 0;
	}
	.ab_sec2-num {
		margin-top: -10px;
	}

	.ab_sec2-text {
		line-height: 1.9;
	}

}

/* PC */

@media print, screen and (min-width: 768px) {

	.ab_sec2-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ab_sec2-item:nth-child(odd) {
		padding-right: clamp(30px, 5vw, 70px);
	}

	.ab_sec2-item:nth-child(even) {
		padding-left: clamp(30px, 5vw, 70px);
		border-left: 1px solid var(--line-color);
	}

}

/* ab_sec3 */
.ab_sec3 {
	padding: var(--v-space) 0;
	overflow: hidden;
	background: url(../img/bg-ptn.png) repeat;
}


/* 見出し・テキスト */

.ab_sec3-head {
	display: grid;
	grid-template-areas:
		"title text";
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 7vw, 80px);
	align-items: top;
}

.ab_sec3-title {
	grid-area: title;
	margin: 0;
	color: var(--txt-color);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.05em;
}

.ab_sec3-title span {
	color: var(--main-color);
}

.ab_sec3-text {
	grid-area: text;
	margin: 0;
	font-size: clamp(14px, 1.4vw, 16px);
	line-height: 2.1;
	letter-spacing: 0.04em;
	text-align: justify;
	padding-top: 5rem;
}


/* ギャラリー */

.ab_sec3-gallery {
	display: grid;
	grid-template-areas:
		"item01 item02 item03";
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
	gap: clamp(15px, 3vw, 40px);
	margin-top: clamp(45px, 7vw, 90px);
	align-items: start;
}

.ab_sec3-item {
	margin: 0;
	min-width: 0;
}

.ab_sec3-item--01 {
	grid-area: item01;
	margin-top: clamp(40px, 6vw, 80px);
}

.ab_sec3-item--02 {
	grid-area: item02;
}

.ab_sec3-item--03 {
	grid-area: item03;
	margin-top: clamp(70px, 9vw, 120px);
}

.ab_sec3-img {
	overflow: hidden;
	background-color: #f5f3ed;
}

.ab_sec3-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ab_sec3-item--01 .ab_sec3-img,
.ab_sec3-item--03 .ab_sec3-img {
	aspect-ratio: 4 / 5;
}

.ab_sec3-item--02 .ab_sec3-img {
	aspect-ratio: 4 / 5;
}

@media (hover: hover) {

	.ab_sec3-item:hover .ab_sec3-img img {
		transform: scale(1.025);
	}

}


/* キャプション */

.ab_sec3-caption {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	color: #999;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.18em;
}

.ab_sec3-caption span:first-child {
	color: var(--main-color);
	font-size: 14px;
	letter-spacing: 0;
}

.ab_sec3-caption span:first-child::after {
	content: "";
	display: inline-block;
	margin-bottom: 4px;
	width: 30px;
	height: 1px;
	margin-left: 12px;
	background-color: var(--line-color);
	vertical-align: middle;
}


/* SP */

@media only screen and (max-width: 767px) {

	.ab_sec3-head {
		grid-template-areas:
			"title"
			"text";
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.ab_sec3-text {
		text-align: left;
		line-height: 2;
		padding-top: 0.5rem;
	}

	.ab_sec3-gallery {
		grid-template-areas:
			"item01"
			"item02"
			"item03";
		grid-template-columns: 1fr;
		gap: 30px;
		margin-top: 40px;
	}

	.ab_sec3-item--01,
	.ab_sec3-item--03 {
		margin-top: 0;
	}

	.ab_sec3-item--01 .ab_sec3-img,
	.ab_sec3-item--02 .ab_sec3-img,
	.ab_sec3-item--03 .ab_sec3-img {
		aspect-ratio: 4 / 3;
	}

}


/* ab_sec4 */
.ab_sec4 {
	padding: var(--v-space2) 0;
	background-color: var(--base-color);
}

.ab_sec4-profile {
	max-width: 1000px;
	margin: 0 auto;
}

.ab_sec4-table {
	margin-top: clamp(35px, 5vw, 60px);
}

.ab_sec4-table table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid var(--line-color);
}

.ab_sec4-table th,
.ab_sec4-table td {
	padding: clamp(18px, 2.5vw, 25px) 0;
	border-bottom: 1px solid var(--line-color);
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 1.8;
	text-align: left;
	vertical-align: top;
}

.ab_sec4-table th {
	width: 110px;
	padding-right: 20px;
	color: var(--main-color);
	font-weight: 600;
	white-space: nowrap;
}

.ab_sec4-table td {
	color: var(--txt-color);
}

@media only screen and (max-width: 767px) {

	.ab_sec4-table th {
		width: 85px;
	}

}


/* ab_sec5 */
.ab_sec5 {
	padding: var(--v-space) 0;
	background: url(../img/bg-ptn.png) repeat;
}

.ab_sec5-inner {
	display: grid;
	grid-template-areas: "copy gallery";
	grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
	align-items: stretch;
	background-color: #fff;
}

.ab_sec5-copy {
	grid-area: copy;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 5vw, 60px);
	box-sizing: border-box;
}

.ab_sec5-label {
	margin: 0 0 10px;
	color: var(--main-color);
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .2em;
}

.ab_sec5-title {
	margin: 0;
	color: var(--txt-color);
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .04em;
}

.ab_sec5-text {
	max-width: 380px;
	margin: clamp(15px, 2vw, 22px) 0 0;
	font-size: clamp(13px, 1.2vw, 15px);
	line-height: 1.9;
	letter-spacing: .04em;
}

.ab_sec5-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin-top: clamp(18px, 3vw, 28px);
	color: var(--txt-color);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .06em;
	text-decoration: none;
}
.ab_sec5-link span{
	margin-bottom: 4px;
}

.ab_sec5-icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
}

.ab_sec5-link span:last-child {
	margin-left: 8px;
	color: var(--main-color);
	transition: transform .25s ease;
}

@media (hover: hover) {

	.ab_sec5-link:hover span:last-child {
		transform: translateX(4px);
	}

}


/* Qooちゃん */

.ab_sec5-gallery {
	grid-area: gallery;
	display: grid;
	grid-template-areas: "photo01 photo02 photo03";
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.5vw, 20px);
	min-width: 0;
	padding: clamp(30px, 5vw, 60px) clamp(25px, 4vw, 50px);
	box-sizing: border-box;
	align-items: center;
}


.ab_sec5-photo {
	margin: 0;
	overflow: hidden;
}

.ab_sec5-photo:nth-child(1) {
	grid-area: photo01;
}

.ab_sec5-photo:nth-child(2) {
	grid-area: photo02;
}

.ab_sec5-photo:nth-child(3) {
	grid-area: photo03;
}

/* SP */

@media only screen and (max-width: 767px) {

	.ab_sec5-inner {
		grid-template-areas:
			"gallery"
			"copy";
		grid-template-columns: 1fr;
	}

	.ab_sec5-gallery {
		grid-template-areas: "photo01 photo02 photo03";
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ab_sec5-photo img {
		aspect-ratio: 1 / 1;
	}

}

/*======= 一般住宅 ======*/

.ho_sec1 {
	position: relative;
	overflow: hidden;
	padding: var(--v-space) 0;
	background: url(../img/bg-ptn.png) repeat;
}

/* 導入文 */
.ho_sec1-lead {
	margin-top: clamp(1rem,2vw,2rem);
	/* padding-left: clamp(0.2rem,2vw,2.5em);
	padding-right: clamp(0.8rem,2vw,2.5em); */
	color: var(--txt-color);
	font-size: clamp(15px, 1.3vw, 17px);
	letter-spacing: .04em;
	text-align: justify;
}

/* カード一覧 */
.ho_sec1-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(15px, 2vw, 25px);
	margin-top: clamp(40px, 6vw, 70px);
	align-items: start;
}

/* 枠線用の外側 */
.ho_sec1-frame {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	min-width: 0;
	padding: 1px;
	background-color: var(--accent-color2);
	clip-path: polygon(
		50% 0,
		100% 12%,
		100% 100%,
		0 100%,
		0 12%
	);
}

/* カード本体 */
.ho_sec1-item {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: 1 / -1;
	gap: 0;
	min-width: 0;
	overflow: hidden;
	background-color: #fff;
	clip-path: polygon(
		50% 0,
		100% 12%,
		100% 100%,
		0 100%,
		0 12%
	);
}

.ho_sec1-img {
	min-width: 0;
	margin: 0;
	overflow: hidden;
}

.ho_sec1-img img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ho_sec1-title {
	margin: 0;
	padding: clamp(18px, 2vw, 25px) clamp(15px, 2vw, 22px) 0;
	box-sizing: border-box;
	color: var(--txt-color);
	font-size: clamp(1.15rem, 1.5vw, 1.3rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .04em;
}

.ho_sec1-text {
	margin: 0;
	padding: clamp(12px, 1.5vw, 18px) clamp(15px, 2vw, 22px) clamp(22px, 3vw, 32px);
	box-sizing: border-box;
	color: var(--txt-color);
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 1.9;
	letter-spacing: .03em;
}


/* PC */
@media print, screen and (min-width: 768px) {

	/* 2枚目・4枚目を下げる */
	.ho_sec1-frame:nth-child(even) {
		transform: translateY(clamp(25px, 3vw, 40px));
	}

}

/* SP */
@media only screen and (max-width: 767px) {

	.ho_sec1-list {
		grid-template-columns: 1fr;
		gap:20px;
	}

	.ho_sec1-frame {
		width: 100%;
		max-width: none;
		justify-self: stretch;
		clip-path: none;
	}

	.ho_sec1-item {
		clip-path: none;
	}

}

@media only screen and (max-width: 480px) {

	.ho_sec1-list {
		grid-template-columns: 1fr;
	}

}

.ho_sec2{
	padding: var(--v-space) 0;
	background-color: #f9f9f9;
	background-image:
		linear-gradient(rgba(85, 66, 57, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(85, 66, 57, .06) 1px, transparent 1px);
	background-size: 35px 35px;
}

/* 図面事例 */
.ho_sec3 {
	padding: var(--v-space2) 0;
	background-color: #FFF;
}

/* FLOW */
.ho_sec4{
	padding: var(--v-space) 0;
	background: #f7f7f7;
	position: relative;
	z-index: 1;
}

.flow-box{
	position: relative;
	margin: 2rem auto;
	padding: 40px 40px;
	background: #fff;
	border: 1px solid #e8e8e8;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	box-sizing: border-box;
}

.flow-line{
	position: absolute;
	top: 90px;
	bottom: 50px;
	left: 75px;
	width: 2px;
	background: #ececec;
	z-index: 0;
}

.flow-item{
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 0 24px;
	align-items: start;
}

.flow-item + .flow-item{
	margin-top: 12px;
}

.flow-num{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto;
	border: 2px solid #d9d9d9;
	border-radius: 50%;
	background: #fff;
	color: #b1b1b1;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	box-sizing: border-box;
}

.flow-content{
	display: grid;
	grid-template-columns: 1fr 180px;
	gap: 24px;
	padding: 10px 0 20px 0;
	border-bottom: 1px solid #ececec;
	transition: border-color 0.3s ease;
}

.flow-item:last-child .flow-content{
	border-bottom: none;
}

.flow-text h4{
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 8px;
}

.flow-text p{
	font-size: 15px;
	line-height: 1.8;
	color: #555;
}

.flow-img{
	overflow: hidden;
	border-radius: 4px;
}

.flow-img img{
	width: 100%;
	height: 120px;
	object-fit: cover;
	filter: grayscale(100%);
	transition: transform 0.4s ease, filter 0.4s ease;
	display: block;
}

.flow-item:hover .flow-num{
	border-color: var(--main-color);
	color: var(--main-color);
}

.flow-item:hover .flow-content{
	border-color: var(--main-color);
}

.flow-item:hover .flow-img img{
	filter: grayscale(0%);
	transform: scale(1.05);
}
/* 料金 */
.flow-text .flow-fee {
	margin-top: 12px;
	color: var(--main-color);
	font-size: 20px;
	font-weight: 700;
}
/* 注釈 */
.flow-note {
	display: grid;
	gap: .5em;
	padding: 20px 0 0;
	margin: clamp(24px, 4vw, 40px) 0 0;
	border-top: 1px solid #e8e8e8;
	color: var(--sub-text, #667078);
	font-size: 14px;
	line-height: 1.9;
	list-style: none;
}

.flow-note li {
	position: relative;
	padding-left: 1.4em;
}

.flow-note li::before {
	content: "●";
	position: absolute;
	top:1em;
	left: 0;
	color: var(--main-color, #F5773B);
	font-size: .65em;
	line-height: 1;
}
@media only screen and (max-width: 767px) {

	.flow-box{
		padding: 24px 18px;
	}

	.flow-line{
		left: 45px;
		top: 60px;
		bottom: 50px;
	}

	.flow-item{
		grid-template-columns: 56px 1fr;
		gap: 0 14px;
	}

	.flow-num{
		width: 42px;
		height: 42px;
		font-size: 16px;
	}

	.flow-content{
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px 0 20px;
	}

	.flow-text h4{
		font-size: 18px;
	}

	.flow-text p{
		font-size: 14px;
		line-height: 1.7;
	}

	.flow-img{
		order: -1;
	}

	.flow-img img{
		height: 160px;
		filter: grayscale(0%);
	}
}

/*======= 店舗・商業施設 ======*/
.st_sec1 {
	position: relative;
	overflow: hidden;
	padding: var(--v-space) 0;
	background: url(../img/bg-ptn.png) repeat;
}


/* 導入文 */
.st_sec1-lead {
	margin-top: clamp(1rem,2vw,2rem);
	/* padding-left: clamp(0.2rem,2vw,2.5em);
	padding-right: clamp(0.8rem,2vw,2.5em); */
	color: var(--txt-color);
	font-size: clamp(15px, 1.3vw, 17px);
	letter-spacing: .04em;
	text-align: justify;
}

/* カード一覧 */
.st_sec1-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 45px);
	margin-top: clamp(40px, 6vw, 70px);
	align-items: start;
}


/* 枠線 */
.st_sec1-frame {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	min-width: 0;
	padding: 1px;
	background-color: var(--accent-color2);
	clip-path: polygon(
		50% 0,
		100% 12%,
		100% 100%,
		0 100%,
		0 12%
	);
}


/* カード本体 */
.st_sec1-item {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: 1 / -1;
	gap: 0;
	min-width: 0;
	overflow: hidden;
	background-color: #fff;
	clip-path: polygon(
		50% 0,
		100% 12%,
		100% 100%,
		0 100%,
		0 12%
	);
}


/* 写真 */
.st_sec1-img {
	min-width: 0;
	margin: 0;
	overflow: hidden;
}

.st_sec1-img img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* タイトル */
.st_sec1-title {
	margin: 0;
	padding: clamp(18px, 2vw, 25px) clamp(15px, 2vw, 22px) 0;
	box-sizing: border-box;
	color: var(--txt-color);
	font-size: clamp(1.15rem, 1.5vw, 1.3rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .04em;
}


/* 本文 */

.st_sec1-text {
	margin: 0;
	padding: clamp(12px, 1.5vw, 18px) clamp(15px, 2vw, 22px) clamp(22px, 3vw, 32px);
	box-sizing: border-box;
	color: var(--txt-color);
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 1.9;
	letter-spacing: .03em;
}


/* PC */
@media print, screen and (min-width: 768px) {

	/* 中央のカードだけ下げる */
	.st_sec1-frame:nth-child(2) {
		transform: translateY(clamp(25px, 3vw, 40px));
	}

}


/* SP */
@media only screen and (max-width: 767px) {

	.st_sec1-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.st_sec1-frame {
		width: 100%;
		max-width: none;
		justify-self: stretch;
		clip-path: none;
	}

	.st_sec1-item {
		clip-path: none;
	}

}

.st_sec2 {
	background-color: rgb(249, 249, 249);
	background-image: linear-gradient(rgba(85, 66, 57, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 66, 57, 0.06) 1px, transparent 1px);
	background-size: 35px 35px;
	padding: var(--v-space) 0;
}

/*======= FAQ ======*/
.faq_sec1 {
	padding: clamp(70px, 6vw, 90px) 0 var(--v-space) 0;
	background-color: var(--base-color);

	position: relative;
	z-index: 1;
}

.faq-item {
	display: grid;
	grid-template-columns: 1.5em 1fr;
	column-gap: 10px;
	row-gap: 5px;
	background-color: #fff;
	/* padding: 20px 20px; */
	border-radius: 5px;
	text-align: justify;
	font-size: clamp(15px,1.5vw,16px);
}
/* .faq-item:not(:last-of-type) {
	margin-bottom: 20px;
} 
@media only screen and (max-width: 767px) {
	.faq-item {
		padding: 15px 20px 15px 10px;
	}

}*/

.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 {
	margin-top: 15px;
	margin-bottom: 15px;
	border-top: 1px solid #e9e9e9;
}




/*======= 会社案内ページ ======*/
/* info_sec */

.info_sec {
	padding: var(--v-space2) 0;
	background: #fff;
}

.info_sec-table {
	margin-top: clamp(35px, 5vw, 60px);
}

.info_sec-table table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid var(--line-color);
}

.info_sec-table th,
.info_sec-table td {
	padding: clamp(16px, 2vw, 22px) clamp(12px, 2vw, 24px);
	border-bottom: 1px solid var(--line-color);
	box-sizing: border-box;
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 1.8;
	text-align: left;
	vertical-align: top;
}

.info_sec-table th {
	width: 180px;
	background-color: rgba(245, 243, 237, 0.9);
	color: var(--txt-color);
	font-weight: 600;
}

.info_sec-table td {
	background-color: rgba(255, 255, 255, 0.6);
}

.info_sec-table a {
	color: var(--txt-color);
	text-decoration: none;
}

@media (hover: hover) {

	.info_sec-table a:hover {
		color: var(--main-color);
	}

}


/* SP */

@media only screen and (max-width: 767px) {

	.info_sec-table th,
	.info_sec-table td {
		display: block;
		width: 100%;
	}

	.info_sec-table th {
		padding-bottom: 6px;
		border-bottom: none;
		background-color: transparent;
		color: var(--main-color);
	}

	.info_sec-table td {
		padding-top: 0;
		background-color: transparent;
		word-break: break-word;
	}

}


/* PC */

@media print, screen and (min-width: 768px) {

	.info_sec-table {
		max-width: 1000px;
		margin-right: auto;
		margin-left: auto;
	}

}

.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%;
	}
}
/*=======================================================*/
/* works 共通 */
/*=======================================================*/

.works-list {
	display: grid;
	gap: clamp(70px, 9vw, 130px);
	margin-top: clamp(50px, 7vw, 90px);
}


/*=======================================================*/
/* 各事例 */
/*=======================================================*/

.works-item {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(30px, 5vw, 70px);
	align-items: stretch;
	min-width: 0;
}


/*=======================================================*/
/* メイン画像 */
/*=======================================================*/

.works-main {
	position: relative;
	display: block;
	width: 100%;
	height: 0;
	min-width: 0;
	padding-top: 75%;
	overflow: hidden;
	background-color: var(--bg-light);
	align-self: start;
}

.works-main img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease, opacity .3s ease;
}


/*=======================================================*/
/* 家型シルエット */
/*=======================================================*/

.works-main--house {
	clip-path: polygon(
		50% 0,
		100% 28%,
		100% 100%,
		0 100%,
		0 28%
	);
}


/*=======================================================*/
/* 右側 */
/*=======================================================*/

.works-content {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: clamp(25px, 3vw, 40px);
	min-width: 0;
	min-height: 0;
	align-self: stretch;
}

.works-head {
	min-width: 0;
}

.works-title {
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 2px dotted var(--accent-color1);
	color: var(--accent-color2);
	font-size: clamp(1.4rem, 2.5vw, 2.5rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .06em;
}

.works-title::first-letter {
	color: var(--accent-color1);
}

.works-text {
	margin: clamp(18px, 2.5vw, 28px) 0 0;
	color: var(--txt-color);
	font-size: clamp(14px, 1.4vw, 16px);
	line-height: 1.9;
	letter-spacing: .04em;
}


/*=======================================================*/
/* サブ画像 */
/*=======================================================*/

.works-thumbs {
	display: grid;
	gap: clamp(8px, 1vw, 12px);
	min-width: 0;
	min-height: 0;
}

.works-photo {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background-color: var(--bg-light);
}

.works-photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease, opacity .3s ease;
}


/*=======================================================*/
/* 図面・パース */
/*=======================================================*/

.works-photo--contain img,
.works-main.works-photo--contain img {
	object-fit: contain;
	background-color: var(--base-color);
}


/*=======================================================*/
/* hover */
/*=======================================================*/

@media (hover: hover) {

	.works-main:hover img,
	.works-photo:hover img {
		opacity: .92;
		transform: scale(1.025);
	}

}


/*=======================================================*/
/* PC */
/*=======================================================*/

@media print, screen and (min-width: 768px) {

	/*
		左側のメイン写真が4:3で高さを決定。
		右側はその高さまでstretchし、
		サブ画像が残りの高さを均等に使用。
	*/


	/*=======================================================*/
	/* サブ2枚 */
	/*=======================================================*/

	.works-thumbs--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: minmax(0, 1fr);
	}


	/*=======================================================*/
	/* サブ3枚 */
	/* 上2枚＋下1枚 */
	/*=======================================================*/

	.works-thumbs--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.works-thumbs--3 > .works-photo:last-child {
		grid-column: 1 / -1;
	}


	/*=======================================================*/
	/* サブ4枚 */
	/* 2列×2段 */
	/*=======================================================*/

	.works-thumbs--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}


	/*=======================================================*/
	/* サブ5枚 */
	/* 3列×2段 */
	/*=======================================================*/

	.works-thumbs--5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.works-thumbs--5 > .works-photo:last-child {
		grid-column: 2 / 4;
	}


	/*=======================================================*/
	/* サブ6枚 */
	/* 3列×2段 */
	/*=======================================================*/

	.works-thumbs--6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

}


/*=======================================================*/
/* タブレット・SP */
/*=======================================================*/

@media only screen and (max-width: 767px) {

	.works-item {
		grid-template-columns: 1fr;
		gap: 0;
	}

	/*
		HTMLは
		メイン画像 → content
		の順だが、
		タブレット・SPでは
		タイトル → メイン → サブ
		に並べ替える。
	*/

	.works-content {
		display: contents;
	}

	.works-head {
		order: 1;
	}

	.works-main {
		order: 2;
		margin-top: 30px;
	}

	.works-thumbs {
		order: 3;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		width: 100%;
		margin-top: 10px;
	}

	/*
		PCでは親Gridの行高でサブ写真の高さを作る。
		タブレット以下では各写真自身を4:3にする。
	*/

	.works-photo {
		width: 100%;
		height: 0;
		padding-top: 75%;
	}

}


/*=======================================================*/
/* SP */
/*=======================================================*/

@media only screen and (max-width: 767px) {

	.works-list {
		gap: 70px;
	}

}

/*=======================================================*/
/* お問い合わせ ご相談内容 */
/*=======================================================*/

.contact_sec{
	padding: var(--v-space2) 0;
	background-color: #fff;
}

.contact-consult {
	padding: var(--v-space2) 0;
	background: url(../img/bg-ptn.png) repeat;
}

.contact-consult__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 20px);
	margin: clamp(25px, 4vw, 50px) 0 0;
	padding: 0;
	list-style: none;
}

.contact-consult__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	margin: 0;
	padding: clamp(8px, 1.5vw, 16px) clamp(18px, 2.5vw, 26px);
	border: 1px solid var(--line-light);
	border-radius: 5px;
	background-color: var(--base-color);
	color: var(--txt-color);
	font-size: clamp(14px, 1.3vw, 16px);
	font-weight: 500;
	line-height: 1.7;
}

/* チェックアイコン */
.contact-consult__list li::before {
	content: "✓";
	display: flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 1.5px solid var(--main-color);
	border-radius: 50%;
	box-sizing: border-box;
	color: var(--main-color);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}


/*=======================================================*/
/* SP */
/*=======================================================*/

@media only screen and (max-width: 767px) {

	.contact-consult__list {
		grid-template-columns: 1fr;
	}

}