@charset "UTF-8";

/* ========================================
	Reform detail
======================================== */

.reformDetail {
	padding: 30px 0 170px;
	background: #fff;
}

.reformDetail__inner {
	width: min(calc(100% - 80px), 1160px);
	margin-inline: auto;
}

.reformDetail__layout {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(240px, 290px);
	gap: 34px;
	align-items: start;
}

.reformDetail__main {
	min-width: 0;
}


.reformSideImage {
    padding: 20px 25px 28px;
}

/* ========================================
	Title
======================================== */

.reformDetail__header {
	margin-bottom: 40px;
}

.reformDetail__title {
	font-family: "Noto Serif JP", serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.15em;
}

.reformDetail__lead {
	margin-top: 14px;
	color: #4b4842;
	font-size: 13px;
	line-height: 1.9;
	letter-spacing: 0.04em;
}


/* ========================================
	After main visual
======================================== */

.reformMainVisual {
	overflow: hidden;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.reformMainVisual__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.52 / 1;
	background: #eee;
}

.reformMainVisual__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reformMainVisual__caption {
	padding: 25px 28px 28px;
}

.reformMainVisual__title {
	font-family: "Noto Serif JP", serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.reformMainVisual__caption p {
	margin-top: 12px;
	color: #4b4842;
	font-size: 12px;
	line-height: 1.9;
	letter-spacing: 0.03em;
}


/* ========================================
	Before / After
======================================== */

.beforeAfter {
	margin-top: 0;
	padding: 0 0 28px;
	background: transparent;
	border-radius: 0;
}

.beforeAfter__heading {
	margin-bottom: 24px;
	text-align: center;
}

.beforeAfter__heading p {
	position: relative;
	display: inline-block;
	padding: 0 25px;
	color: #4c4943;
	font-family: "Noto Serif JP", serif;
	font-size: 14px;
	letter-spacing: 0.12em;
}

.beforeAfter__heading p::before,
.beforeAfter__heading p::after {
	position: absolute;
	top: 50%;
	width: 32px;
	height: 1px;
	background: #aea69b;
	content: "";
}

.beforeAfter__heading p::before {
	right: 100%;
}

.beforeAfter__heading p::after {
	left: 100%;
}

.beforeAfter__main {
	overflow: visible;
}

.beforeAfter__main .splide__track {
	overflow: hidden;
}

.beforeAfter__main .splide__slide {
	padding: 0 1px;
}

.beforeAfter__pair {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.beforeAfter__pair::after {
	position: absolute;
	z-index: 4;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: #6d665c;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
	content: "↔";
	font-size: 13px;
	transform: translate(-50%, -50%);
}

.beforeAfterCard {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.35 / 1;
	background: #ddd;
}

.beforeAfterCard:first-child {
	border-radius: 7px 0 0 7px;
}

.beforeAfterCard:last-child {
	border-radius: 0 7px 7px 0;
}

.beforeAfterCard img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.beforeAfterCard__label {
	position: absolute;
	z-index: 2;
	top: 11px;
	left: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 22px;
	padding: 3px 10px;
	color: #fff;
	border-radius: 999px;
	font-family: "Noto Serif JP", serif;
	font-size: 9px;
	font-style: italic;
	line-height: 1;
}

.beforeAfterCard--before .beforeAfterCard__label {
	background: #302d29;
}

.beforeAfterCard--after .beforeAfterCard__label {
	background: #d99a36;
}


/* Splide arrows */

.beforeAfter__main .splide__arrow {
	width: 34px;
	height: 34px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.13);
	opacity: 1;
}

.beforeAfter__main .splide__arrow--prev {
	left: -17px;
}

.beforeAfter__main .splide__arrow--next {
	right: -17px;
}

.beforeAfter__main .splide__arrow svg {
	width: 10px;
	height: 10px;
	fill: #38342f;
}

.beforeAfter__main .splide__pagination {
	display: none;
}


/* ========================================
	Before / After thumbnail
======================================== */

.beforeAfter__thumbnail {
	margin-top: 15px;
}

.beforeAfter__thumbnail .splide__track {
	padding: 2px 0;
}

.beforeAfter__thumbnail .splide__list {
	align-items: flex-start;
}

.beforeAfter__thumbnail .splide__slide {
	height: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: 0.72;
	transition: opacity 0.25s ease;
}

.beforeAfter__thumbnail .splide__slide.is-active {
	border: 0;
	opacity: 1;
}


.beforeAfter__thumbnail .splide__slide img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border: 4px solid transparent;
	border-radius: 0;
	box-sizing: border-box;
	transition: border-color 0.25s ease;
}

.beforeAfter__thumbnail .splide__slide.is-active img {
	border-color: #dc7d2e;
}

.beforeAfter__thumbnail .splide__slide span {
	display: block;
	margin-top: 10px;
	color: #282824;
	font-family: "Noto Serif JP", serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
}

.beforeAfter__thumbnail .splide__slide:focus {
	outline: none;
}

.beforeAfter__thumbnail .splide__slide.is-focus-in {
	outline: none;
}

.beforeAfter__thumbnail .splide__arrow {
	width: 28px;
	height: 28px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	opacity: 1;
}

.beforeAfter__thumbnail .splide__arrow--prev {
	left: -13px;
}

.beforeAfter__thumbnail .splide__arrow--next {
	right: -13px;
}

.beforeAfter__thumbnail .splide__arrow svg {
	width: 8px;
	height: 8px;
}

/* Splide標準の選択枠を解除 */
.beforeAfter__thumbnail
	.splide__track--nav
	> .splide__list
	> .splide__slide,
.beforeAfter__thumbnail
	.splide__track--nav
	> .splide__list
	> .splide__slide.is-active {
	border: 0;
	outline: 0;
}

/* 選択中は画像だけ囲う */
.beforeAfter__thumbnail .splide__slide img {
	border: 4px solid transparent;
	box-sizing: border-box;
}

.beforeAfter__thumbnail .splide__slide.is-active img {
	border-color: #dc7d2e;
}

.reformDetail__contentArea {
	padding: 35px 24px 24px;
	background: #f4eee6;
	border-radius: 0 0 10px 10px;
}


/* ========================================
	Reform point
======================================== */

.reformPoint {
	position: relative;
	display: block;
	min-height: 180px;
	margin-top: 0;
	padding: 30px 260px 30px 28px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #ddd5ca;
	border-radius: 7px;
}

.reformPoint__body {
	position: relative;
	z-index: 2;
}

.reformPoint__title {
	margin-bottom: 13px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.reformPoint__body p {
	color: #4c4943;
	font-size: 14px;
	line-height: 1.9;
	letter-spacing: 0.03em;
}

.reformPoint__image {
	position: absolute;
	right: 10px;
	bottom: -15px;
	width: 250px;
	max-height: none;
	height: auto;
	object-fit: contain;
	opacity: 0.72;
}


/* ========================================
	Reform sidebar
======================================== */

.reformDetailSidebar {
	border: 1px solid #cfcac2;
	background: #fff;
}

.reformDetailSidebar .worksSideSection__category {
	background: #c98c23;
}

.worksSideSection__numberList {
	counter-reset: reform-number;
	color: #4c4943;
	font-size: 11px;
	line-height: 1.9;
}

.worksSideSection__numberList li {
	position: relative;
	padding-left: 20px;
	counter-increment: reform-number;
}

.worksSideSection__numberList li::before {
	position: absolute;
	top: 0;
	left: 0;
	content: counter(reform-number) ".";
	font-weight: 700;
}

.reformMainVisual__heading {
	display: flex;
	align-items: center;
	gap: 35px;
	padding: 18px 24px;
	background: #f4eee6;
}

.reformMainVisual__label {
	position: static;
	display: block;
	padding: 0;
	background: none;
	border-radius: 0;
	color: #d89a31;
	font-family: serif;
	font-size: 22px;
	font-style: italic;
	line-height: 1;
}

.reformMainVisual__headingTitle {
	margin: 0;
	color: #282824;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.05em;
}

/* ========================================
	Construction data adjustment
======================================== */

.reformDetail .worksData {
	margin-top: 28px;
}


/* ========================================
	Actions adjustment
======================================== */

.reformDetail .worksDetailActions {
	margin-top: 18px;
	background: none;
}


/* ========================================
	Tablet
======================================== */

@media screen and (max-width: 1024px) {

	.reformDetail {
		padding: 65px 0 140px;
	}

	.reformDetail__inner {
		width: calc(100% - 70px);
	}

	.reformDetail__layout {
		grid-template-columns: minmax(0, 1fr) 250px;
		gap: 26px;
	}

	.reformDetail__title {
		font-size: 25px;
	}

	.reformMainVisual__caption {
		padding: 23px 24px 25px;
	}

	.beforeAfter {
		padding-inline: 20px;
	}

	.reformPoint {
		grid-template-columns: minmax(0, 1fr) 125px;
		padding: 23px;
	}

}


/* ========================================
	Smartphone
======================================== */

@media screen and (max-width: 767px) {

	.reformDetail {
		padding: 45px 0 100px;
	}

	.reformDetail__inner {
		width: calc(100% - 40px);
	}

	.reformDetail__layout {
		display: flex;
		flex-direction: column;
		gap: 45px;
	}

	.reformDetail__main,
	.reformDetailSidebar {
		width: 100%;
	}


	/* Header */

	.reformDetail__header {
		margin-bottom: 28px;
	}

	.reformDetail__title {
		font-size: 22px;
		line-height: 1.6;
	}

	.reformDetail__lead {
		margin-top: 12px;
		font-size: 12px;
		line-height: 1.85;
	}

	.reformDetail__lead br {
		display: none;
	}


	/* Main visual */

	.reformMainVisual__image {
		aspect-ratio: 1.2 / 1;
	}

	.reformMainVisual__caption {
		padding: 21px 20px 23px;
	}

	.reformMainVisual__title {
		font-size: 18px;
	}

	.reformMainVisual__caption p {
		font-size: 11px;
		line-height: 1.85;
	}


	/* Before / After */

	.beforeAfter {
		margin-top: 14px;
		padding: 28px 15px 22px;
	}

	.beforeAfter__heading {
		margin-bottom: 19px;
	}

	.beforeAfter__pair {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.beforeAfter__pair::after {
		top: 50%;
		width: 30px;
		height: 30px;
		content: "↕";
	}

	.beforeAfterCard {
		aspect-ratio: 1.35 / 1;
	}

	.beforeAfterCard:first-child {
		border-radius: 6px 6px 0 0;
	}

	.beforeAfterCard:last-child {
		border-radius: 0 0 6px 6px;
	}

	.beforeAfter__main .splide__arrow {
		width: 30px;
		height: 30px;
	}

	.beforeAfter__main .splide__arrow--prev {
		left: -12px;
	}

	.beforeAfter__main .splide__arrow--next {
		right: -12px;
	}


	/* Thumbnail */

	.beforeAfter__thumbnail {
		margin-top: 12px;
	}

	.beforeAfter__thumbnail .splide__slide span {
		font-size: 8px;
	}

	.beforeAfter__thumbnail .splide__arrow {
		display: none;
	}


	/* Point */

	.reformPoint {
		display: block;
		margin-top: 22px;
		padding: 22px 20px;
	}

	.reformPoint__image {
		width: 140px;
		margin: 16px 0 0 auto;
	}


	/* Sidebar */

	.reformDetailSidebar {
		order: 2;
	}
}


/* ======================================================
   Before / After
====================================================== */

.reformComparison {
	margin: 70px 0;
}

/* -------------------------
   共通タイトル
------------------------- */

/* -------------------------
   共通タイトル
------------------------- */

.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;
}

/* ======================================================
   Before
====================================================== */

.reformBefore {
	margin-bottom: 80px;
}

.reformBefore__list {
	display: flex;
	gap: 24px;
}

.reformBefore__item {
	flex: 1;
	margin: 0;
}

.reformBefore__item {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	background: #f4eee6;
}

.reformBefore__item img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: contain;
}

/* ======================================================
   After
====================================================== */

.reformAfter__main {
	margin-bottom: 24px;
}

.reformAfter__main .splide__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4eee6;
}

.reformAfter__main img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 700px;
	object-fit: contain;
}

/* -------------------------
   サムネイル
------------------------- */

.reformAfter__thumbnail {
	margin-top: 18px;
}

.reformAfter__thumbnail .splide__slide {
	cursor: pointer;
	opacity: .55;
	transition: .25s;
}

.reformAfter__thumbnail .splide__slide.is-active {
	opacity: 1;
}

.reformAfter__thumbnail img {
	display: block;
	width: 100%;
	height: 100px;
	object-fit: contain;
	background: #f4eee6;
}

.reformAfter__thumbnail span {
	display: block;
	margin-top: 8px;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 500;
}

.reformAfter__thumbnail
.splide__track--nav > .splide__list > .splide__slide.is-active{
	border: none !important;
}

/* アクティブ枠 */
.reformAfter__thumbnail .splide__slide img{
	border:2px solid transparent;
	border-radius:4px;
	box-sizing:border-box;
	transition:.25s;
}

.reformAfter__thumbnail .splide__slide.is-active img{
	border-color:#d6923c;
}


/* ======================================================
   矢印
====================================================== */

.reformAfter .splide__arrow {
	width: 42px;
	height: 42px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,.12);
	opacity: 1;
}

.reformAfter .splide__arrow svg {
	fill: #444;
}

/* ======================================================
   SP
====================================================== */

@media (max-width:767px){

	.reformBefore__list{
		flex-direction:column;
	}

	.reformAfter__main img{
		height: auto;
		max-height: 600px;
	}

	.reformAfter__thumbnail img{
		height: 90px;
		object-fit: contain;
	}

}