/* legacy-reform.css — auto-generated. Sources: reform.css */
/* All selectors prefixed with .legacy-page-content. rem→px (×10). */


/* ===== reform.css ===== */


.legacy-page-content p, .legacy-page-content h4 {
	margin:0;
}


.legacy-page-content #main {
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
}

.legacy-page-content .top-message {
	max-width: 690px;
	padding-right: 25px;
	padding-left: 25px;
	margin: 100px auto 80px auto;
	font-family: var(--sans-serif);
}
@media only screen and (max-width: 768px) {
	.legacy-page-content .top-message {
		margin-top: 70px;
	}
}
.legacy-page-content .top-message h2 {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 50px;
}

.legacy-page-content .top-message .text {
	font-weight: 400;
	line-height: 1.7;
}

.legacy-page-content .sub-message {
	display: flex;
	width: 100%;
	min-height: 410px;
}

.legacy-page-content .sub-message div:nth-child(1) {
	width: 45%;
}

.legacy-page-content .sub-message div:nth-child(2) {
	width: 55%;
	background-color: #DFE4E9;
	padding: 3% 9% 3% 3%;
}

.legacy-page-content .sub-message div img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.legacy-page-content .flex-box {
	width: 100%;
	display: flex;
	font-family: var(--sans-serif);
	justify-content: center;
	margin: 0 0 100px;
}

.legacy-page-content .flex-box div img {
	width: 100%;
	object-fit: cover;
}

.legacy-page-content .row-reverse {
	flex-direction: row-reverse;
}

.legacy-page-content .flex-box > div:nth-child(1) {
	width: 39%;
	background-size: 90%;
	background-position: center;
	background-repeat: no-repeat;
}

.legacy-page-content .flex-box > div:nth-child(2) {
	width: 54%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.legacy-page-content .flex-box:nth-child(odd) > div:nth-child(2) {
	padding-right: 5%;
}

.legacy-page-content .flex-box:nth-child(even) > div:nth-child(2) {
	padding-left: 5%;
}



.legacy-page-content .horizontal-line {
	margin-top: 0px!important;
}

.legacy-page-content #slider {
	width: 100%;

}

.legacy-page-content #slider > div {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	margin: 40px 0;

}

.legacy-page-content #reform-menu {
	max-width: 980px;
	padding: 0 30px;
	margin: 30px auto 120px;
}

.legacy-page-content .reform-menu-grid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap:0;
}
.legacy-page-content .reform-menu-grid li {
	margin: 0 0 30px;
	padding: 0 15px;
	border-right: 1px solid #787878;
}
.legacy-page-content .reform-menu-grid li:nth-child(3), .legacy-page-content .reform-menu-grid li:nth-child(6) {
	border-right: none;
}

.legacy-page-content .reform-menu-grid h4 {
	font-family: var(--sans-serif);
	font-size : 18px;
	line-height : 30px;
	letter-spacing : 1.8px;
	font-weight: 500;
}

.legacy-page-content .reform-menu-grid .text {
	margin-top: 15px;
}

.legacy-page-content .with-border {
	padding: 0 30px;
	border-left: 1px solid #787878;
	border-right: 1px solid #787878;
}

.legacy-page-content #reform-example {
	width: 100%;
	padding: 1px 5% 80px 5%;
	background-color: #D6DBE2;
}

.legacy-page-content #reform-example p {
	margin: 16px auto;
}


.legacy-page-content .row_img img {
	aspect-ratio: 1.4/1;
	object-fit: cover;
}
.legacy-page-content .row_img {
	width: calc((100% - 120px) / 2);
}

.legacy-page-content .inner-flex-q-and-a {
	width: 100%;
	display: flex;
}

.legacy-page-content .inner-flex-q-and-a:nth-child(1), .legacy-page-content .size-adjust {
	font-size : 18px;
	line-height : 30px;
	letter-spacing : 1.8px;
	font-weight: 500;
	font-family: var(--sans-serif);
}


.legacy-page-content .inner-flex-q-and-a > span:nth-child(1) {
	display: inline-block;
	width: 5%;
	
}

.legacy-page-content .inner-flex-q-and-a > span:nth-child(2) {
	display: inline-block;
	width: 95%;
}

.legacy-page-content .inner-flex-q-and-a.margin-top-adjust {
	margin-top: 20px;
}



.legacy-page-content #reform-example .row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 860px;
	margin: 0 auto 60px;
}
.legacy-page-content #reform-example .row .arrow {
	margin: 0 15px;
}

.legacy-page-content .margin-top-adjust {
	margin-top: 110px;
}

.legacy-page-content .toggle-question-box {
	display: none;
}
.legacy-page-content .toggle-question-box.btn.arrow_w:before {
	transform: translate(0, -50%) rotate(90deg);
}

.legacy-page-content .hide-mobile-inline {
	display: inline;
}

.legacy-page-content .toggle-question-box-outer {
	display: none;
}

.legacy-page-content #reform-menu h4 {
	font-family: var(--serif)!important;
}

.legacy-page-content .inner-flex-q-and-a:first-child > span:nth-child(2) {
	font-family: var(--serif)!important;
}

@media only screen and (max-width: 1025px) {

	.legacy-page-content #main {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.legacy-page-content .sub-message {
		display: flex;
		width: 100%;
		flex-direction: column;
		min-height: auto;
	}


	.legacy-page-content .row_img {
		width: 100%;
	}
	
	

	.legacy-page-content .sub-message > div:nth-child(1) {
		width: 100%;
		background-size: cover;
		background-position: center;
	}
	
	.legacy-page-content .sub-message > div:nth-child(2) {
		width: 100%;
		background-color: #DFE4E9;
		padding: 3% 9% 3% 3%;
	}

	.legacy-page-content .flex-box {
		width: 100%;
		flex-direction: column;
		margin: 60px 0;
		padding: 0;
		height: auto;
		flex-direction: column!important;
	}

	.legacy-page-content .flex-box:first {
		border-bottom: 1px solid #787878;
	}

	.legacy-page-content .flex-box > div {
		width: 100%;
		margin: 0;
	   
	}

	.legacy-page-content .flex-box div:nth-child(1) {
		width: 100%;
		height: auto;
	}

	.legacy-page-content .flex-box div img {
		width: 90%;
		object-fit: cover;
	}

	.legacy-page-content .flex-box div:nth-child(2) {
		width: 100%;
	}
	
	.legacy-page-content .flex-box:nth-child(odd) > div:nth-child(2) {
		padding: 5%;
	}
	
	.legacy-page-content .flex-box:nth-child(even) > div:nth-child(2) {
		padding: 5%;
	}
	

	.legacy-page-content .flex-box:nth-child(odd) div img {
		margin-right: 5%!important;
		width: 95%;
	}

	.legacy-page-content .flex-box:nth-child(even) div img {
		margin-left: 5%!important;
		width: 95%;
	}

	.legacy-page-content .horizontal-line {
		margin-top: 20px!important;
	}

	.legacy-page-content .reform-menu-grid {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	.legacy-page-content .reform-menu-grid li {
		border-right: none;
	}

	.legacy-page-content #flow .border-line {
		border-top: 1px solid #787878;
	}


	.legacy-page-content .toggle-question-box {
		display: none;
	}


	.legacy-page-content .hide-mobile-inline {
		display: none;
	}

	.legacy-page-content .toggle-question-box-outer {
		display: none;
	}
	
	
}


@media only screen and (max-width: 599px) { 

	.legacy-page-content .reform-menu-grid {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}

	.legacy-page-content .faq-grid {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 15px;
		height: 686px;
		transition: 1s ease;
		overflow: hidden;
		
	}


	.legacy-page-content .toggle-question-box {
		cursor: pointer;
		display: block;
	}

	.legacy-page-content .is-faq-grid-open {
		height: auto!important;
		background: transparent;
		transition: 1s ease;
	}

	.legacy-page-content .flex-box div img {
		width: 90%;
		object-fit: cover;
	}

	.legacy-page-content #slider > div {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		margin: 40px 0;
	
	}

	.legacy-page-content .toggle-question-box-outer {
		width: 100%;
		
		display: block;
		background-color: transparent!important;
		position: relative;
		z-index: 10;
		margin-bottom: 20px;
	}

	.legacy-page-content .toggle-question-box-outer:after {
		content: "";
		position: absolute;
		width: 100%;
		height: 300px;
		top:-320px;
		left: 0;
		display: block;
		margin: 20px auto;
		background: rgb(255,255,255);
		background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
		z-index: 10;
	}

	.legacy-page-content .faq-grid div:nth-child(9) {
		border-bottom: 1px solid #787878;
	}
	
	.legacy-page-content #reform-example .row {
		margin: 0 auto 20px;
		
	}
	.legacy-page-content #reform-example .row .arrow {
		margin: 0 5px;
	}
}

/*=== リフォームページ ===*/
/* ヘッダー */
/* ポイント */
/* .reform-point-list {
	margin-top: 150px;
}
@media only screen and (max-width: 768px) {
	.reform-point-list {
		margin-top: 90px;
	}
} */
.legacy-page-content .reform-point-list > li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px 5.5%;
}
.legacy-page-content .reform-point-list > li:nth-child(even) {
	flex-direction: row-reverse;
}
.legacy-page-content .reform-point-list > li + li {
	margin-top: 80px;
}
@media only screen and (max-width: 768px) {
	.legacy-page-content .reform-point-list > li + li {
		margin-top: 60px;
	}
}
.legacy-page-content .reform-point-list > li .img {
	flex: 1;
	aspect-ratio: 490 / 335;
}
@media only screen and (max-width: 768px) {
	.legacy-page-content .reform-point-list > li .img {
		flex: 0 1 auto;
	}
}
@media only screen and (max-width: 768px) {
	.legacy-page-content .reform-point-list > li:nth-child(odd) .img {
		margin-left: -25px;
	}
	.legacy-page-content .reform-point-list > li:nth-child(even) .img {
		margin-right: -25px;
	} 
}
.legacy-page-content .reform-point-list > li .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.legacy-page-content .reform-point-list > li .detail {
	width: 540px;
}
@media only screen and (max-width: 768px) {
	.legacy-page-content .reform-point-list > li .detail {
		width: 100%;
	}
}
.legacy-page-content .reform-point-list > li .detail dt {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 500;
}
.legacy-page-content .reform-point-list > li .detail dd {
	margin-top: 20px;
}
/* アート宙ができること */
.legacy-page-content #reform-ability {
	background-color: #cbd0d7;
	padding-top: 110px;
	padding-bottom: 110px;
	margin-top: 120px;
}
@media only screen and (max-width: 768px) {
	.legacy-page-content #reform-ability {
		padding-top: 50px;
		padding-bottom: 70px;
		margin-top: 50px;
	}
}
.legacy-page-content #reform-ability .ttl {
	margin: 0;
}
.legacy-page-content .reform-ability-list {
	margin-top: 80px;
}
@media only screen and (max-width: 768px) {
	.legacy-page-content .reform-ability-list {
		margin-top: 40px;
	}
}
.legacy-page-content .reform-ability-list > li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px 5.5%;
}
.legacy-page-content .reform-ability-list > li + li {
	margin-top: 60px;
}
.legacy-page-content .reform-ability-list > li .img {
	aspect-ratio: 350 / 220;
	flex: 1;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-ability-list > li .img {
		flex: 0 1 auto;
	}
}
.legacy-page-content .reform-ability-list > li .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.legacy-page-content .reform-ability-list > li .detail {
	width: 680px;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-ability-list > li .detail {
		width: 100%;
	}
}
.legacy-page-content .reform-ability-list > li .detail dt {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 500;
}
.legacy-page-content .reform-ability-list > li .detail dd {
	margin-top: 20px;
}
/* リフォーム・リノベーション事例 */
.legacy-page-content #reform-case {
	padding-top: 120px;
	padding-bottom: 120px;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content #reform-case {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}
.legacy-page-content #reform-case .ttl {
	margin: 0;
}
.legacy-page-content .reform-case-list {
	margin-top: 90px;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-case-list {
		margin-top: 70px;
	}
}
.legacy-page-content .reform-case-list > li {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 3.6%;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-case-list > li {
		flex-direction: column;
		max-width: 700px;
		margin-inline: auto;
	}
}
.legacy-page-content .reform-case-list > li + li {
	margin-top: 120px;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-case-list > li + li {
		border-top: 1px solid #787878;
		padding-top: 50px;
		margin-top: 50px;
	}
}
.legacy-page-content .reform-case-list > li .box {
	width: 350px;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-case-list > li .box {
		display: contents;
	}
}
.legacy-page-content .reform-case-list > li .before-img {
	width: 100%;
	aspect-ratio: 350 / 220;
	position: relative;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-case-list > li .before-img {
		order: -2;
		max-width: 220px;
	}
}
.legacy-page-content .reform-case-list > li .before-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.legacy-page-content .reform-case-list > li .textbox {
	padding-right: 15px;
	padding-left: 15px;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-case-list > li .textbox {
		padding-right: 0;
		padding-left: 0;
	}
}
.legacy-page-content .reform-case-list > li .textbox .tit {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin-top: 25px;
}
.legacy-page-content .reform-case-dl {
	margin-top: 29px;
}
.legacy-page-content .reform-case-dl > dt {
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	text-align: center;
	background-color: #1d3256;
	padding: 2px 15px;
}
.legacy-page-content .reform-case-dl > dd + dt {
	margin-top: 20px;
}
.legacy-page-content .reform-case-dl > dd {
	margin-top: 15px;
}
.legacy-page-content .reform-case-dl .com-list-01.flex {
	display: flex;
	flex-wrap: wrap;
	column-gap: 7px;
}
.legacy-page-content .reform-case-dl .com-list-01 > li {
	letter-spacing: -0.01em;
}
.legacy-page-content .reform-case-dl .com-list-01.circle li::before {
	font-size: 1em;
	color: #6c7a8e;
	top: 0;
}
.legacy-page-content .reform-case-list > li .box02 {
	flex: 1;
}
.legacy-page-content .reform-case-list > li .after-img {
	aspect-ratio: 700 / 500;
	position: relative;
}
@media only screen and (max-width: 960px) {
	.legacy-page-content .reform-case-list > li .box02 {
		display: contents;
	}
	.legacy-page-content .reform-case-list > li .after-img {
		flex: 0 1 auto;
		order: -1;
		margin-top: 30px;
	}
}
.legacy-page-content .reform-case-list > li .after-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.legacy-page-content .reform-case-list > li .before-img::before, .legacy-page-content .reform-case-list > li .after-img::before {
	content: 'BEFORE';
	display: block;
	line-height: 1;
	font-weight: 500;
	width: 100%;
	max-width: max-content;
	border: 1px solid #000;
	background-color: #fff;
	padding: 6px 15px;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(-31%);
}
.legacy-page-content .reform-case-list > li .after-img::before {
	content: 'AFTER';
	font-size: 20px;
	color: #fff;
	border: 1px solid #000;
	background-color: #000;
	padding: 5px 15px;
}
@media screen and (max-width: 640px) {
	.legacy-page-content #reform-case .com-btn-01 span {
		display: none;
	}
}
.legacy-page-content .rc-youtube-btn {
	color: #fff;
	font-weight: 500;
	text-align: center;
	width: 100%;
	background-color: #232323;
	padding: 10px 50px;
	position: relative;
	margin-top: 20px;
	cursor: pointer;
}
.legacy-page-content .rc-youtube-btn::after {
	content: '';
	display: block;
	width: 28px;
	aspect-ratio: 1;
	background: url(../images/reform/icon_youtube.webp) center / contain no-repeat;
	position: absolute;
	inset: 50% 20px auto auto;
	translate: 0 -50%;
}
@media screen and (max-width: 640px) {
	.legacy-page-content .rc-youtube-btn {
		padding-left: 15px;
	}
}
/* お客様の声 */
.legacy-page-content #voice {
	padding-top: 120px;
}
.legacy-page-content #reform-case {
	padding-top: 120px;
	margin-top: 120px;
	position: relative;
}
@media screen and (max-width: 768px) {
	.legacy-page-content #voice {
		padding-top: 60px;
		padding-bottom: 0;
	}
	.legacy-page-content #reform-case {
		padding-top: 60px;
		margin-top: 60px;
	}
}
.legacy-page-content #reform-case::before {
	content: '';
	display: block;
	width: 100%;
	max-width: 1090px;
	height: 1px;
	background-color: #787878;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
.legacy-page-content #voice .ttl {
	margin: 0;
}
.legacy-page-content .reform-voice-list {
	margin-top: 80px;
}
@media screen and (max-width: 768px) {
	.legacy-page-content .reform-voice-list {
		margin-top: 60px;
	}
}
.legacy-page-content .reform-voice-list > li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px 5.5%;
}
@media screen and (max-width: 960px) {
	.legacy-page-content .reform-voice-list > li {
		width: 100%;
		max-width: 700px;
		margin-inline: auto;
	}
}
.legacy-page-content .reform-voice-list > li + li {
	margin-top: 60px;
}
.legacy-page-content .reform-voice-list > li .img {
	flex: 1;
	aspect-ratio: 350 / 220;
}
@media screen and (max-width: 960px) {
	.legacy-page-content .reform-voice-list > li .img {
		flex: 0 1 auto;
		max-width: 220px;
		margin-inline: auto;
	}
}
.legacy-page-content .reform-voice-list > li .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.legacy-page-content .reform-voice-list > li .detail {
	width: 680px;
}
@media screen and (max-width: 960px) {
	.legacy-page-content .reform-voice-list > li .detail {
		width: 100%;
	}
}
.legacy-page-content .reform-voice-list > li .detail dt {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 500;
}
.legacy-page-content .reform-voice-list > li .detail dd {
	margin-top: 20px;
}
/* よくある質問 */
.legacy-page-content #faq {
	padding-block: 120px;
}
@media screen and (max-width: 768px) {
	.legacy-page-content #faq {
		padding-block: 50px;
	}
}
.legacy-page-content #faq .ttl {
	margin: 0;
}
.legacy-page-content .reform-faq-dl {
	margin-top: 60px;
}
@media screen and (max-width: 768px) {
	.legacy-page-content .reform-faq-dl {
		margin-top: 40px;
	}
}
.legacy-page-content .reform-faq-dl > div {
	border-top: 1px dashed #787878;
	padding: 40px 60px;
}
@media screen and (max-width: 768px) {
	.legacy-page-content .reform-faq-dl > div {
		padding: 40px 0;
	}
}
.legacy-page-content .reform-faq-dl > div dt {
	font-size: 18px;
	font-weight: 500;
	padding-left: 20px;
	padding-right: 40px;
	position: relative;
	cursor: pointer;
}
@media screen and (max-width: 768px) {
	.legacy-page-content .reform-faq-dl > div dt {
		padding-right: 60px;
	}
}
.legacy-page-content .reform-faq-dl > div dt::before {
	content: 'Q';
	font-size: .77em;
	font-weight: bold;
	position: absolute;
	top: 0.23em;
	left: 0;
}
.legacy-page-content .reform-faq-dl > div dt svg {
	display: block;
	width: 36px;
	aspect-ratio: 1;
	border: 1px solid #1d3256;
	background-color: #1d3256;
	border-radius: 50%;
	fill: #fff;
	stroke: #fff;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%) rotate(180deg);
	transition: transform .3s, top .3s;
}
.legacy-page-content .reform-faq-dl > div dt.open svg {
	background-color: #cbd0d7;
	fill: #1d3256;
	stroke: #1d3256;
	transform: translateY(-50%) rotate(0);
}
@media (any-hover: hover) {
	.legacy-page-content .reform-faq-dl > div dt:hover {
		color: #008090;
	}
	.legacy-page-content .reform-faq-dl > div dt:hover svg {
		top: calc(50% + 5px);
	}
}
.legacy-page-content .reform-faq-dl > div dd {
	display: none;
	padding-left: 20px;
	margin-top: 20px;
	position: relative;
}
.legacy-page-content .reform-faq-dl > div dd::before {
	content: 'A';
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 0;
}
/* プレゼント */
.legacy-page-content #present {
	padding-top: 115px;
	padding-bottom: 110px;
	position: relative;
}
@media screen and (max-width: 768px) {
	.legacy-page-content #present {
		padding-top: 50px;
		padding-bottom: 0;
	}
}
.legacy-page-content #present .ttl {
	margin: 0;
	position: relative;
	z-index: 1;
}
.legacy-page-content .reform-present-box {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 3%;
	width: 100%;
	max-width: 770px;
	padding-right: 25px;
	padding-left: 25px;
	margin-top: -15px;
	margin-inline: auto;
}
@media screen and (max-width: 768px) {
	.legacy-page-content .reform-present-box {
		margin-top: 5px;
	}
}
.legacy-page-content .reform-present-box figure {
	flex: 1;
	margin-left: -105px;
}
@media screen and (max-width: 768px) {
	.legacy-page-content .reform-present-box figure {
		flex: 0 1 auto;
		margin-left: 0;
	}
}
.legacy-page-content .reform-present-box p {
	width: 380px;
}
@media screen and (max-width: 768px) {
	.legacy-page-content .reform-present-box p {
		width: 100%;
	}
}
.legacy-page-content .reform-present-bnr {
	width: 100%;
	max-width: 720px;
	margin-top: 40px;
	margin-inline: auto;
}
@media (any-hover: hover) {
	.legacy-page-content .reform-present-bnr:hover {
		opacity: 1;
		filter: brightness(105%);
	}
}
.legacy-page-content .present__cv {
	width: 100%;
	max-width: 690px;
	background-color: #f4f5f6;
	border-radius: 12px;
	padding-block: 75px 60px;
	margin: 30px auto 0;
}
.legacy-page-content .present__cv-box {
	padding-inline: 10px;
}
.legacy-page-content .present__cv-tel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	font-size: 50px;
	font-weight: bold;
}
.legacy-page-content .present__cv-tel::before {
	content: '';
	display: block;
	width: 55px;
	aspect-ratio: 1;
	background: url(../images/reform/icon_tel01.webp) center / contain no-repeat;
	margin-top: 5px;
}
.legacy-page-content .present__cv-text {
	display: block;
	font-size: 14px;
	text-align: center;
}
.legacy-page-content .present__cv-mail {
	color: #fff;
	text-align: center;
	width: 100%;
	max-width: 340px;
	background-color: #008081;
	padding: 10px 35px;
	margin: 40px auto 0;
	position: relative;
}
.legacy-page-content .present__cv-mail::after {
	content: '';
	display: block;
	width: 10px;
	aspect-ratio: 1;
	background: url(../images/reform/icon_arrow02.webp) center / contain no-repeat;
	position: absolute;
	inset: 50% 20px auto auto;
	translate: 0 -50%;
}
@media(max-width: 640px) {
	.legacy-page-content .present__cv {
		padding-block: 30px 0;
		overflow: hidden;
	}
	.legacy-page-content .present__cv-tel {
		font-size: 28px;
	}
	.legacy-page-content .present__cv-tel::before {
		width: 35px;
	}
	.legacy-page-content .present__cv-mail {
		max-width: 100%;
		margin-top: 20px;
	}
}

/* MENU */
.legacy-page-content .cl-rm .ttl {
	margin: 0;
}
.legacy-page-content .cl-rm__sec {
	padding-block: 80px;
}
.legacy-page-content .cl-rm__bg-blue {
	background-color: #f4f5f6;
}
.legacy-page-content .cl-rm__nav {
	max-width: 840px;
	padding-inline: 25px;
	margin-inline: auto;
}
.legacy-page-content .cl-rm__nav-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin: 50px 0 60px;
}
.legacy-page-content .cl-rm__nav-list a {
	font-size: 14px;
	color: #fff;
	background-color: #1d3256;
	text-align: center;
	padding: 3px 0;
}
.legacy-page-content .cl-rm__info {
	display: flex;
	align-items: center;
}
.legacy-page-content .cl-rm__info-box {
	display: flex;
	align-items: center;
	font-family: var(--serif);
	width: 330px;
	border-right: 1px solid #8e98aa;
	min-height: 150px;
	margin-right: 80px;
}
.legacy-page-content .cl-rm__info-title {
	font-size: 18px;
	font-weight: 500;
}
.legacy-page-content .cl-rm__info-price {
	font-size: 18px;
	margin-top: 1em;
}
.legacy-page-content .cl-rm__info-price + .cl-rm__info-price {
	margin-top: 0;
}
.legacy-page-content .cl-rm__info-price span {
	font-size: 16px;
	font-weight: 500;
	color: #1e3255;
}
.legacy-page-content .cl-rm__info-price small {
	font-size: .8em;
}
.legacy-page-content .cl-rm__info-list {
	flex: 1;
	padding-block: 10px;
}
.legacy-page-content .cl-rm__grid {
	display: flex;
	gap: 10px 40px;
	margin-top: 60px;
}
.legacy-page-content .cl-rm__grid + .cl-rm__grid {
	margin-top: 100px;
}
.legacy-page-content .cl-rm__grid--col4 {
	gap: 10px 30px;
}
.legacy-page-content .cl-rm__grid--ba {
	gap: 50px 70px;
}
.legacy-page-content .cl-rm__grid-img {
	position: relative;
}
.legacy-page-content .cl-rm__grid--ba .cl-rm__grid-img:first-child:after {
	content: '';
	display: block;
	width: 36px;
	aspect-ratio: 1;
	background: url(../images/reform/icon_arrow.webp) center / contain no-repeat;
	position: absolute;
	inset: 50% -53px auto auto;
	translate: 0 -50%;
}
.legacy-page-content .cl-rm__grid-text {
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	width: 100px;
	padding-block: 4px;
	position: absolute;
	inset: 0 auto auto 0;
	translate: 0 -50%;
}
.legacy-page-content .cl-rm__grid-text--before {
	background-color: #fff;
	border: 1px solid #232323;
}
.legacy-page-content .cl-rm__grid-text--after {
	color: #fff;
	background-color: #1d3256;
}
@media(max-width: 960px) {
	.legacy-page-content .cl-rm__nav-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.legacy-page-content .cl-rm__info-box {
		width: 250px;
	}
}
@media(max-width: 767px) {
	.legacy-page-content .cl-rm__info-box {
		width: 220px;
		margin-right: 50px;
	}
}
@media(max-width: 640px) {
	.legacy-page-content .cl-rm__sec {
		padding-block: 50px;
	}
	.legacy-page-content .cl-rm__nav-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.legacy-page-content .cl-rm__panel {
		display: flex;
		flex-direction: column;
	}
	.legacy-page-content .cl-rm__info {
		display: contents;
	}
	.legacy-page-content .cl-rm__info-box {
		width: 100%;
		margin-right: 0;
		border-right: 0;
		min-height: auto;
	}
	.legacy-page-content .cl-rm__info-list {
		order: 1;
		padding: 0;
		margin-top: 30px;
	}
	.legacy-page-content .cl-rm__grid {
		flex-direction: column;
		margin-top: 40px;
	}
	.legacy-page-content .cl-rm__grid--col4 {
		flex-wrap: wrap;
		flex-direction: row;
		gap: 10px;
	}
	.legacy-page-content .cl-rm__grid--col4 > * {
		width: calc((100% - 10px) / 2);
	}
	.legacy-page-content .cl-rm__grid--ba .cl-rm__grid-img:first-child:after {
		inset: auto auto -43px 50%;
		translate: -50% 0;
		rotate: 90deg;
	}
}

/* cv */
.legacy-page-content .cl-rcv {
	color: #fff;
	padding: 50px 25px 30px;
	background-color: #1e3255;
}
.legacy-page-content .cl-rcv__title {
	font-family: var(--serif);
	font-size: 18px;
	text-align: center;
}
.legacy-page-content .cl-rcv__list {
	display: flex;
	justify-content: center;
	gap: 50px 70px;
	margin-top: 20px;
}
.legacy-page-content .cl-rcv__list-item {
	position: relative;
}
.legacy-page-content .cl-rcv__list-item + .cl-rcv__list-item::before {
	content: '';
	display: block;
	width: 1px;
	height: 100%;
	background-color: #fff;
	position: absolute;
	inset: 0 auto auto -35px;
}
.legacy-page-content .cl-rcv__list-link {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	padding-block: 10px;
}
.legacy-page-content .cl-rcv__list-link span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 34px;
}
.legacy-page-content .cl-rcv__list-link--mail span::after {
	content: '';
	display: block;
	width: 26px;
	aspect-ratio: 1;
	background: url(../images/reform/icon_arrow01.webp) center / contain no-repeat;
}
.legacy-page-content .cl-rcv__list-link--tel span::before {
	content: '';
	display: block;
	width: 36px;
	aspect-ratio: 1;
	background: url(../images/reform/icon_tel.webp) center / contain no-repeat;
}
@media(max-width: 640px) {
	.legacy-page-content .cl-rcv__list {
		flex-direction: column;
	}
	.legacy-page-content .cl-rcv__list-item + .cl-rcv__list-item::before {
		width: 100%;
		height: 1px;
		inset: -25px auto auto 50%;
		translate: -50% 0;
	}
}

/* 流れ */
.legacy-page-content .cl-rf {
	padding-top: 120px;
	padding-bottom: 140px;
	margin-top: 120px;
	position: relative;
}
.legacy-page-content .cl-rf::before {
	content: '';
	display: block;
	width: 100%;
	max-width: 1090px;
	height: 1px;
	background-color: #232323;
	position: absolute;
	inset: 0 auto auto 50%;
	translate: -50% 0;
}
.legacy-page-content .cl-rf__inner {
	display: flex;
	gap: 30px;
}
.legacy-page-content .cl-rf__inner > .box01 {
	width: 450px;
}
.legacy-page-content .cl-rf__inner > .box02 {
	flex: 1;
	max-width: 520px;
	margin-left: auto;
}
.legacy-page-content .cl-rf__list {
	display: flex;
	justify-content: space-between;
	position: relative;
}
.legacy-page-content .cl-rf__list::before {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	border-top: 1px dotted #232323;
	position: absolute;
	inset: 20px auto auto 0;
	z-index: -1;
}
.legacy-page-content .cl-rf__list-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.legacy-page-content .cl-rf__list-num {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--sans-serif);
	font-size: 14px;
	width: 40px;
	aspect-ratio: 1;
	background-color: #fff;
	border: 1px solid #232323;
	border-radius: 50%;
}
.legacy-page-content .cl-rf__list-text {
	writing-mode: vertical-rl;
}
.legacy-page-content .cl-rf__dl-box:not(:last-child) {
	padding-bottom: 60px;
	position: relative;
}
.legacy-page-content .cl-rf__dl-box:not(:last-child)::before {
	content: '';
	display: block;
	width: 1px;
	height: 100%;
	border-left: 1px dotted #232323;
	position: absolute;
	inset: 0 auto auto 20px;
	z-index: -1;
}
.legacy-page-content .cl-rf__dl-title, .legacy-page-content .cl-rf__dl-text {
	padding-left: 60px;
}
.legacy-page-content .cl-rf__dl-title {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 500;
	padding-top: 5px;
	position: relative;
}
.legacy-page-content .cl-rf__dl-title span {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--sans-serif);
	font-size: 14px;
	width: 40px;
	aspect-ratio: 1;
	background-color: #fff;
	border: 1px solid #232323;
	border-radius: 50%;
	position: absolute;
	inset: 0 auto auto 0;
}
.legacy-page-content .cl-rf__dl-text {
	margin-top: 20px;
}
@media(max-width: 960px) {
	.legacy-page-content .cl-rf {
		padding-top: 50px;
		margin-top: 50px;
		padding-bottom: 70px;
	}
	.legacy-page-content .cl-rf__inner {
		flex-direction: column;
		row-gap: 40px;
	}
	.legacy-page-content .cl-rf__inner .ttl {
		margin: 0;
	}
	.legacy-page-content .cl-rf__inner > .box01 {
		width: 100%;
	}
	.legacy-page-content .cl-rf__inner > .box02 {
		margin: 0 auto;
	}
	.legacy-page-content .cl-rf__list {
		display: none;
	}
}
/* youtubeモーダル */
.legacy-page-content.ofh {
	overflow: hidden;
}
.legacy-page-content .rc-modal-overlay {
	width: 100vw;
	height: 100vh;
	background-color: rgba(35, 35, 35, 0.5);
	position: fixed;
	inset: 0 auto auto 0;
	z-index: 200;
}
.legacy-page-content .rc-youtube {
	width: calc(100% - 40px);
	max-width: 800px;
	aspect-ratio: 16 / 9;
	position: fixed;
	inset: 50% auto auto 50%;
	z-index: 210;
	translate: -50% -50%;
	pointer-events: none;
}
.legacy-page-content .rc-youtube.pea {
	pointer-events: auto;
}
.legacy-page-content .rc-youtube iframe {
	width: 100%;
	height: 100%;
}
.legacy-page-content .icon_reform {
	margin-left: 50px;
	position: relative;
}
.legacy-page-content .icon_reform::before {
content: '';
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    left: -55px;
    top: 0px;
    background-repeat: no-repeat;
    background-size: contain;
}

.legacy-page-content .icon_reform.reform_ldk::before {
	background-image: url(../images/reform/icon_ldk.png);
}
.legacy-page-content .icon_reform.reform_sa::before {
	background-image: url(../images/reform/icon_sa.png);
}
.legacy-page-content .icon_reform.reform_wc::before {
	background-image: url(../images/reform/icon_wc.png);
}
.legacy-page-content .icon_reform.reform_ent::before {
	background-image: url(../images/reform/icon_ent.png);
}
.legacy-page-content .icon_reform.reform_jr::before {
	background-image: url(../images/reform/icon_jr.png);
}
.legacy-page-content .icon_reform.reform_fr::before {
	background-image: url(../images/reform/icon_fr.png);
}
.legacy-page-content .icon_reform.reform_sr::before {
	background-image: url(../images/reform/icon_sr.png);
}
.legacy-page-content .icon_reform.reform_sk::before {
	background-image: url(../images/reform/icon_sk.png);
}
.legacy-page-content .icon_reform.reform_others::before {
	background-image: url(../images/reform/icon_others.png);
}

.legacy-page-content .list_jirei {
	display: flex;
    margin: 20px 0;
}
.legacy-page-content .list_jirei li {
	width: 35px;
    margin-right: 5px;
}
.legacy-page-content .list_jirei_sp {
	display: none;
}

@media(max-width: 960px) {
.legacy-page-content .list_jirei {
	display: none;
}
.legacy-page-content .list_jirei_sp {
	display: flex;
    margin: 20px 0;
}
.legacy-page-content .list_jirei_sp li {
	width: 10%;
	margin-right: 1%;
}

}
