@charset "UTF-8";

/* ========================================
	Works detail
======================================== */

.worksDetail {
	padding: 80px 0 170px;
	background: #fff;
}

.worksDetail__inner {
	width: min(calc(100% - 80px), 1160px);
	margin-inline: auto;
}

.worksDetail__layout {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(240px, 290px);
	gap: 34px;
	align-items: start;
}


/* ========================================
	Main contents
======================================== */

.worksDetail__main {
	min-width: 0;
}


/* ========================================
	Main gallery
======================================== */

.worksGallery {
	width: 100%;
}

.worksGallery__main {
	overflow: hidden;
	border-radius: 2px;
	background: #f3f1ed;
}

.worksGallery__main .splide__track {
	overflow: hidden;
}

.worksGallery__main .splide__slide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f3f1ed;
}

.worksGallery__main .splide__slide img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 720px;
	object-fit: contain;
}

.worksGallery__main .splide__arrow {
	width: 42px;
	height: 42px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	opacity: 1;
}

.worksGallery__main .splide__arrow--prev {
	left: 15px;
}

.worksGallery__main .splide__arrow--next {
	right: 15px;
}

.worksGallery__main .splide__arrow svg {
	width: 11px;
	height: 11px;
	fill: #403d37;
}

.worksGallery__main .splide__pagination {
	right: auto;
	bottom: 12px;
	left: 50%;
	width: auto;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 11px;
	transform: translateX(-50%);
}

.worksGallery__main .splide__pagination__page {
	width: 6px;
	height: 6px;
	margin: 3px;
	background: rgba(255, 255, 255, 0.55);
	opacity: 1;
}

.worksGallery__main .splide__pagination__page.is-active {
	background: #fff;
	transform: none;
}


/* ========================================
	Thumbnail gallery
======================================== */

.worksGallery__thumbnail {
	margin-top: 14px;
}

.worksGallery__thumbnail .splide__track {
	padding-bottom: 2px;
}

.worksGallery__thumbnail .splide__slide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	overflow: hidden;
	border: 2px solid transparent;
	background: #f3f1ed;
	cursor: pointer;
	opacity: 0.7;
	transition:
		border-color 0.25s ease,
		opacity 0.25s ease;
}

.worksGallery__thumbnail .splide__slide.is-active {
	border-color: #c98d34;
	opacity: 1;
}

.worksGallery__thumbnail .splide__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.worksGallery__thumbnail .splide__arrow {
	width: 34px;
	height: 100%;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
	opacity: 1;
}

.worksGallery__thumbnail .splide__arrow--prev {
	left: 0;
	transform: translate(-100%, -50%);
}

.worksGallery__thumbnail .splide__arrow--next {
	right: 0;
	transform: translate(100%, -50%);
}

.worksGallery__thumbnail .splide__arrow svg {
	width: 10px;
	height: 10px;
	fill: #37342f;
}


/* ========================================
	Article
======================================== */

.worksDetailArticle {
	margin-top: 46px;
}

.worksDetailArticle__title {
	font-family: "Noto Serif JP", serif;
	font-size: 29px;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.08em;
}

.worksDetailArticle__body {
	margin-top: 25px;
	color: #3e3b36;
	font-size: 14px;
	line-height: 2;
	letter-spacing: 0.05em;
}

.worksDetailArticle__body p + p {
	margin-top: 21px;
}


/* ========================================
	Construction data
======================================== */

.worksData {
	margin-top: 45px;
	padding: 26px 28px;
	border: 1px solid #cdc8c0;
	border-radius: 5px;
	background: #fff;
}

.worksData__title {
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.worksData__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 38px;
}

.worksData__item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e4e0d9;
	font-size: 12px;
	line-height: 1.7;
}

.worksData__item dt {
	font-weight: 700;
}

.worksData__item dd {
	min-width: 0;
	color: #4c4943;
}


/* ========================================
	Actions
======================================== */

.worksDetailActions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 20px;
	padding: 12px;
	border-radius: 7px;
	background: #f5f3f0;
}

.worksDetailActions__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 56px;
	padding: 12px 30px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition:
		color 0.25s ease,
		background-color 0.25s ease,
		transform 0.25s ease;
}

.worksDetailActions__button i {
	position: absolute;
	top: 50%;
	font-size: 11px;
	transform: translateY(-50%);
}

.worksDetailActions__button--back {
	color: #b46f31;
	border: 1px solid #d7894c;
	background: #fff;
}

.worksDetailActions__button--back i {
	left: 28px;
}

.worksDetailActions__button--back:hover {
	color: #fff;
	background: #d7894c;
	transform: translateY(-2px);
}

.worksDetailActions__button--contact {
	color: #fff;
	border: 1px solid #de974f;
	background: #de974f;
}

.worksDetailActions__button--contact i {
	right: 28px;
}

.worksDetailActions__button--contact:hover {
	color: #de974f;
	background: #fff;
	transform: translateY(-2px);
}


/* ========================================
	Sidebar
======================================== */

.worksDetailSidebar {
	border: 1px solid #cfcac2;
	background: #fff;
}

.worksSideSection {
	padding: 28px 25px;
}

.worksSideSection + .worksSideSection {
	border-top: 1px solid #cfcac2;
}

.worksSideSection__heading {
	color: #34312d;
	font-family: "LINE Seed JP", sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.worksSideSection__category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	margin-top: 14px;
	padding: 5px 16px;
	color: #fff;
	border-radius: 999px;
	background: #c98c23;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
}

.worksSideSection__title {
	margin-bottom: 15px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.05em;
}

.worksSideSection__text,
.worksSideSection__list {
	color: #4c4943;
	font-size: 11px;
	line-height: 1.9;
	letter-spacing: 0.02em;
}

.worksSideSection__list li {
	position: relative;
	padding-left: 10px;
}

.worksSideSection__list li::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "・";
}

.worksSideImage {
	padding: 0 25px 28px;
}

.worksSideImage img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.12;
	object-fit: cover;
}


/* ========================================
	Tablet
======================================== */

@media screen and (max-width: 1024px) {

	.worksDetail {
		padding: 70px 0 140px;
	}

	.worksDetail__inner {
		width: calc(100% - 70px);
	}

	.worksDetail__layout {
		grid-template-columns: minmax(0, 1fr) 250px;
		gap: 26px;
	}

	.worksDetailArticle__title {
		font-size: 25px;
	}

	.worksData {
		padding: 24px 22px;
	}

	.worksData__list {
		grid-template-columns: 1fr;
	}

	.worksSideSection {
		padding: 24px 20px;
	}

	.worksSideImage {
		padding: 0 20px 24px;
	}

}


/* ========================================
	Smartphone
======================================== */

@media screen and (max-width: 767px) {

	.worksDetail {
		padding: 45px 0 100px;
	}

	.worksDetail__inner {
		width: calc(100% - 40px);
	}

	.worksDetail__layout {
		display: flex;
		flex-direction: column;
		gap: 45px;
	}

	.worksDetail__main,
	.worksDetailSidebar {
		width: 100%;
	}


	/* Main gallery */

	.worksGallery__main {
		border-radius: 0;
	}

	/*
	.worksGallery__main .splide__slide {
		aspect-ratio: 1.25 / 1;
	}
	*/

	.worksGallery__main .splide__arrow {
		width: 36px;
		height: 36px;
	}

	.worksGallery__main .splide__arrow--prev {
		left: 10px;
	}

	.worksGallery__main .splide__arrow--next {
		right: 10px;
	}

	.worksGallery__thumbnail {
		margin-top: 9px;
	}
	/*
	.worksGallery__thumbnail .splide__slide {
		aspect-ratio: 1.3 / 1;
	}
	*/

	.worksGallery__thumbnail .splide__slide {
		height: 90px;
	}
	.worksGallery__thumbnail .splide__arrow {
		display: none;
	}


	/* Article */

	.worksDetailArticle {
		margin-top: 35px;
	}

	.worksDetailArticle__title {
		font-size: 23px;
		line-height: 1.6;
	}

	.worksDetailArticle__body {
		margin-top: 19px;
		font-size: 13px;
		line-height: 1.95;
	}

	.worksDetailArticle__body p + p {
		margin-top: 18px;
	}


	/* Data */

	.worksData {
		margin-top: 35px;
		padding: 22px 18px;
	}

	.worksData__title {
		margin-bottom: 12px;
	}

	.worksData__list {
		grid-template-columns: 1fr;
	}

	.worksData__item {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 10px;
		padding: 9px 0;
		font-size: 11px;
	}


	/* Actions */

	.worksDetailActions {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 10px;
	}

	.worksDetailActions__button {
		min-height: 52px;
		font-size: 12px;
	}

	.worksDetailActions__button--back i {
		left: 22px;
	}

	.worksDetailActions__button--contact i {
		right: 22px;
	}


	/* Sidebar */

	.worksDetailSidebar {
		order: 2;
	}

	.worksSideSection {
		padding: 24px 20px;
	}

	.worksSideSection__heading {
		font-size: 11px;
	}

	.worksSideSection__category {
		font-size: 10px;
	}

	.worksSideSection__title {
		font-size: 13px;
	}

	.worksSideSection__text,
	.worksSideSection__list {
		font-size: 11px;
		line-height: 1.9;
	}

	.worksSideImage {
		padding: 0 20px 22px;
	}

	.worksSideImage img {
		aspect-ratio: 1.35 / 1;
	}
}

/* フルリノベーション */
.worksSideSection__category--1 {
	background: #c9911e;
	border-color: #c9911e;
	color: #fff;
}

/* 新築 */
.worksSideSection__category--2 {
	background: #299bc4;
	border-color: #299bc4;
	color: #fff;
}

.worksDetailSlider {
	position: relative;
}

.worksDetailSlider__counter {
	position: absolute;
	left: 50%;
	bottom: 16px;
	z-index: 5;

	transform: translateX(-50%);

	min-width: 70px;
	padding: 5px 14px;

	background: rgba(0, 0, 0, .7);
	border-radius: 20px;

	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
}

/* ======================================================
   Before
====================================================== */

.reformBefore {
	margin-bottom: 80px;
}

.reformBefore__list {
	display: flex;
	gap: 24px;
}

.reformBefore__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	margin: 0;
	background: #f4eee6;
}

.reformBefore__item img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: contain;
}


/* ======================================================
   SP
====================================================== */

@media (max-width: 767px) {

	.reformBefore__list {
		flex-direction: column;
	}

}

/* -------------------------
   Before / After 共通タイトル
------------------------- */

.reformComparison__heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.reformComparison__heading span {
	display: inline-block;
	padding: 0;
	background: none;
	border-radius: 0;

	color: #d89a44;
	font-family: "Cormorant Garamond", serif;
	font-size: 1rem;
	font-style: italic;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1;
}

.reformComparison__heading h2 {
	margin: 0;
	color: #7c7c7c;
	font-family: "Noto Serif JP", serif;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.4;
}

.reformComparison__heading::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #ddd6ca;
}
