@charset "UTF-8";

/* ========================================
	Lower hero
======================================== */

.lowerHero {
	position: relative;
	height: 500px;
	overflow: hidden;
	background: #eee9df;
}

.lowerHero__visual {
	position: absolute;
	inset: 0;
}

.lowerHero__visual picture,
.lowerHero__visual img {
	display: block;
	width: 100%;
	height: 100%;
}

.lowerHero__visual img {
	object-fit: cover;
	object-position: center;
}

.lowerHero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.87) 0%,
			rgba(255, 255, 255, 0.56) 27%,
			rgba(255, 255, 255, 0.08) 62%,
			rgba(255, 255, 255, 0) 82%
		);
}

.lowerHero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	width: min(calc(100% - 80px), 1160px);
	height: 100%;
	margin-inline: auto;
	padding-bottom: 28px;
}

.lowerHero__copy {
	width: min(100%, 520px);
}

.lowerHero__catch {
	display: block;
	width: 540px;
	height: auto;
	margin-bottom: -50px;
	margin-left: -20%;
}

.lowerHero__heading {
	margin-top: 0;
}

.lowerHero__title {
	font-family: "Noto Serif JP", serif;
	font-size: 46px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.1em;
}

.lowerHero__en {
	margin-top: 2px;
	color: var(--color-gold);
	font-family: "Noto Serif JP", serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.28em;
}

.lowerHero__lead {
	margin-top: 17px;
	font-size: 13px;
	line-height: 1.8;
}

/* 施工例ページの画像位置 */

.lowerHero--works .lowerHero__visual img {
	object-position: center 52%;
}


/* ========================================
	Breadcrumb
======================================== */

.breadcrumb {
	background: #fff;
}

.breadcrumb__inner {
	width: min(calc(100% - 100px), 1160px);
	margin-inline: auto;
	padding: 27px 0;
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.breadcrumb__item {
	display: flex;
	align-items: center;
	color: #4c4943;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
}

.breadcrumb__item:not(:last-child)::after {
	display: inline-block;
	margin-left: 12px;
	color: #9d9990;
	content: ">";
}

.breadcrumb__item a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: opacity 0.25s ease;
}

.breadcrumb__item a:hover {
	opacity: 0.55;
}

.breadcrumb__item i {
	color: var(--color-gold);
	font-size: 11px;
}


/* ========================================
	Works archive
======================================== */

.worksArchive {
	padding: 45px 0 180px;
	background: #fff;
}

.worksArchive__inner {
	width: min(calc(100% - 80px), 1160px);
	margin-inline: auto;
}


/* ========================================
	Category
======================================== */

.worksArchive__category {
	text-align: center;
}

.worksArchive__categoryLabel {
	color: #6c6861;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.worksArchive__categoryLabel::after {
	position: absolute;
	bottom: 45px;
	left: 50%;
	width: 100px;
	border-bottom: 1px dashed #aaa59d;
	content: "";
	transform: translateX(-50%);
}

.worksArchive__categoryList {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
}

.worksArchive__categoryLink {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 38px;
	padding: 7px 22px;
	color: #fff;
	background: #c28c25;
	border: 1px solid #c28c25;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	transition:
		color 0.25s ease,
		background-color 0.25s ease;
}

.worksArchive__categoryLink:hover {
	color: #c28c25;
	background: #fff;
}

.worksArchive__categoryLink.is-current {
	color: #fff;
	background: #c28c25;
}

.worksArchive__categoryLink.is-new {
	background: #2fa0cc;
	border: 1px solid #2fa0cc;
}


/* ========================================
	Works grid
======================================== */

.worksArchive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 85px 30px;
	margin-top: 110px;
	align-items: start;
}

/*
	カード本体の以下のクラスはcommon.cssに置きます。

	.worksCard
	.worksCard__link
	.worksCard__image
	.worksCard__body
	.worksCard__title
	.worksCard__text
	.worksCard__meta
*/

.worksArchive .worksCard__image {
	aspect-ratio: 1.52 / 1;
	border-radius: 14px;
}

.worksArchive .worksCard__body {
	padding-top: 16px;
}

.worksArchive .worksCard__title {
	font-size: 16px;
	line-height: 1.6;
}

.worksArchive .worksCard__text {
	min-height: 43px;
	margin-top: 7px;
	font-size: 12px;
	line-height: 1.7;
}

.worksArchive .worksCard__meta {
	margin-top: 10px;
	font-size: 11px;
}


/* ========================================
	Pagination
======================================== */

.pagination {
	margin-top: 115px;
}

.pagination__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
}

.pagination__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: #8a4c1f;
	background: #fff;
	border: 1px solid #b77850;
	border-radius: 50%;
	font-family: "LINE Seed JP", sans-serif;
	font-size: 14px;
	font-weight: 500;
	transition:
		color 0.25s ease,
		background-color 0.25s ease,
		transform 0.25s ease;
}

a.pagination__link:hover {
	color: #fff;
	background: #8a4c1f;
	transform: translateY(-2px);
}

.pagination__link.is-current {
	color: #fff;
	background: #8a4c1f;
	border-color: #8a4c1f;
}


/* ========================================
	Page information
======================================== */

.pageInformation {
	position: relative;
	padding: 95px 0 0;
	overflow: hidden;
	background: #fff;
}

.pageInformation__background {
	position: absolute;
	z-index: 0;
	top: 260px;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
}

.pageInformation__background::after {
	position: absolute;
	inset: 0;
	background: rgba(151, 111, 62, 0.22);
	content: "";
}

.pageInformation__background img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 64%;
}

.pageInformation__inner {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 80px), 1160px);
	margin-inline: auto;
}

.pageInformation__boxes {
	display: grid;
	grid-template-columns: 0.96fr 1.04fr;
	gap: 28px;
	align-items: start;
}


/* ========================================
	News box adjustments
======================================== */

.pageInformation .newsBox {
	min-height: 440px;
}

.pageInformation .newsList__link {
	grid-template-columns: 105px minmax(0, 1fr);
}


/* ========================================
	Contact box adjustments
======================================== */

.pageInformation .contactBox {
	min-height: 440px;
}

.pageInformation .contactBox__content {
	min-height: 440px;
}


/* ========================================
	Service banners
======================================== */

.pageInformation .serviceBanners {
	margin-top: 265px;
	margin-bottom: 55px;
}


/* ========================================
	Tablet
======================================== */

@media screen and (max-width: 1024px) {

	.lowerHero {
		height: 580px;
	}

	.lowerHero__inner {
		width: calc(100% - 70px);
		padding-bottom: 65px;
	}

	.lowerHero__catch {
		width: 360px;
		margin-bottom: 35px;
		margin-left: 0;
	}

	.lowerHero__lead {
		margin-top: 22px;
	}

	.breadcrumb__inner,
	.worksArchive__inner,
	.pageInformation__inner {
		width: calc(100% - 70px);
	}

	.worksArchive {
		padding-bottom: 150px;
	}

	.worksArchive__grid {
		gap: 70px 24px;
		margin-top: 90px;
	}

	.worksArchive .worksCard__title {
		font-size: 14px;
	}

	.worksArchive .worksCard__text {
		font-size: 11px;
	}

	.pageInformation__boxes {
		gap: 22px;
	}

	.pageInformation .newsBox {
		padding-inline: 30px;
	}

	.pageInformation .contactBox__content {
		padding-inline: 35px;
	}

	.pageInformation .serviceBanners {
		margin-top: 220px;
	}

}


/* ========================================
	Smartphone
======================================== */

@media screen and (max-width: 767px) {

	/* Lower hero */

	.lowerHero {
		height: 520px;
	}

	.lowerHero__visual img {
		object-position: 58% center;
	}

	.lowerHero__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.08) 0%,
				rgba(255, 255, 255, 0.16) 42%,
				rgba(255, 255, 255, 0.9) 78%,
				#fff 100%
			),
			linear-gradient(
				90deg,
				rgba(255, 255, 255, 0.64) 0%,
				rgba(255, 255, 255, 0.04) 78%
			);
	}

	.lowerHero__inner {
		display: flex;
		align-items: flex-end;
		width: calc(100% - 40px);
		padding-bottom: 38px;
	}

	.lowerHero__copy {
		width: 100%;
	}

	.lowerHero__catch {
		display: block;
		width: 380px;
		max-width: none;
		height: auto;
		margin: 0 0 28px;
		transform: translate(-80px, 50px);
	}
	
	.lowerHero__title {
		font-size: 32px;
	}

	.lowerHero__en {
		margin-top: 3px;
		font-size: 11px;
	}

	.lowerHero__lead {
		margin-top: 17px;
		font-size: 13px;
		line-height: 1.75;
	}


	/* Breadcrumb */

	.breadcrumb__inner {
		width: calc(100% - 40px);
		padding: 18px 0;
	}

	.breadcrumb__item {
		font-size: 10px;
	}


	/* Works archive */

	.worksArchive {
		padding: 35px 0 110px;
	}

	.worksArchive__inner {
		width: calc(100% - 40px);
	}

	.worksArchive__categoryLabel {
		font-size: 11px;
	}

	.worksArchive__categoryList {
		margin-top: 13px;
	}

	.worksArchive__categoryLink {
		min-width: 140px;
		min-height: 35px;
		font-size: 11px;
	}


	/* Cards */

	.worksArchive__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 48px;
		margin-top: 65px;
	}

	.worksArchive .worksCard {
		width: 100%;
		height: auto;
	}

	.worksArchive .worksCard__link {
		width: 100%;
		height: auto;
	}

	.worksArchive .worksCard__image {
		aspect-ratio: 1.5 / 1;
		border-radius: 11px;
	}

	.worksArchive .worksCard__body {
		padding-top: 13px;
	}

	.worksArchive .worksCard__title {
		font-size: 15px;
		line-height: 1.6;
	}

	.worksArchive .worksCard__text {
		min-height: 0;
		margin-top: 6px;
		font-size: 12px;
		line-height: 1.7;
	}

	.worksArchive .worksCard__meta {
		margin-top: 9px;
		font-size: 11px;
	}


	/* Pagination */

	.pagination {
		margin-top: 75px;
	}

	.pagination__list {
		gap: 17px;
	}

	.pagination__link {
		width: 38px;
		height: 38px;
		font-size: 13px;
	}


	/* Page information */

	.pageInformation {
		padding: 65px 0 0;
	}

	.pageInformation__inner {
		width: calc(100% - 30px);
	}

	.pageInformation__background {
		top: 370px;
	}

	.pageInformation__background img {
		object-position: center 70%;
	}

	.pageInformation__boxes {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.pageInformation .newsBox {
		width: 100%;
		min-height: 0;
		padding: 38px 22px 0;
	}

	.pageInformation .newsList__link {
		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 8px 12px;
		padding: 14px 0;
	}

	.pageInformation .newsList p {
		white-space: normal;
	}

	.pageInformation .contactBox {
		width: 100%;
		min-height: 430px;
		margin-top: 0;
	}

	.pageInformation .contactBox__content {
		min-height: 430px;
		padding: 40px 25px;
	}

	.pageInformation .contactBox__title {
		font-size: 24px;
	}

	.pageInformation .contactBox__text br {
		display: none;
	}

	.pageInformation .contactButton {
		width: 100%;
		max-width: 280px;
	}


	/* Service banners */

	.pageInformation .serviceBanners {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 180px;
		margin-bottom: 45px;
	}

	.pageInformation .serviceBanner {
		grid-template-columns: 68px minmax(0, 1fr) 42px;
		gap: 10px;
		min-height: 88px;
		padding: 14px;
	}

	.pageInformation .serviceBanner__logo img {
		width: 65px;
	}

	.pageInformation .serviceBanner__title {
		font-size: 14px;
		white-space: normal;
	}

	.pageInformation .serviceBanner__icon {
		width: 40px;
		height: 40px;
	}
}

/* ==============================
   Works Category Color
============================== */

/* すべて */
.worksArchive__categoryLink.worksArchive__categoryLink--all,
.worksArchive__categoryLink.worksArchive__categoryLink--all:hover,
.worksArchive__categoryLink.worksArchive__categoryLink--all.is-current {
	background: #8a8a8a;
	border-color: #8a8a8a;
	color: #fff;
	
}

/* フルリノベーション */
.worksArchive__categoryLink--1 {
	background: #c9911e;
	border-color: #c9911e;
	color: #fff;
}

/* 新築 */
.worksArchive__categoryLink--2 {
	background: #299bc4;
	border-color: #299bc4;
	color: #fff;
}

.worksCard__image {
	position: relative;
	overflow: visible;
}

.worksCard__image img {
	display: block;
	width: 100%;
	border-radius: 16px;
}

.worksCard__category {
	position: absolute;
	top: -18px;
	left: 0;
	z-index: 5;
	min-width: 105px;
	padding: 13px 16px;
	border-radius: 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	letter-spacing: .1rem
}

/* フルリノベーション */
.worksCard__category--1 {
	background: #c9911e;
	border-color: #c9911e;
}

/* 新築 */
.worksCard__category--2 {
	background: #299bc4;
	border-color: #299bc4;

}

/* すべて */
.worksArchive__categoryLink--all,
.worksArchive__categoryLink--all:hover,
.worksArchive__categoryLink--all.is-current {
	background: #8a8a8a;
	border-color: #8a8a8a;
	color: #fff;
}

/* フルリノベーション */
.worksArchive__categoryLink--1,
.worksArchive__categoryLink--1:hover,
.worksArchive__categoryLink--1.is-current {
	background: #c9911e;
	border-color: #c9911e;
	color: #fff;
}

/* 新築 */
.worksArchive__categoryLink--2,
.worksArchive__categoryLink--2:hover,
.worksArchive__categoryLink--2.is-current {
	background: #299bc4;
	border-color: #299bc4;
	color: #fff;
}

#worksCategory {
	scroll-margin-top: 120px;
}
