@charset "UTF-8";
.line-v {
	height: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	background: #51646b;
	transition: all 0.5s ease;
}
.on .line-v,
.line-v.on { height: 100%;}
.line-h {
	height: 1px;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	background: #51646b;
	transition: all 1s linear;
}
.on .line-h,
.line-h.on { width: 100%;}
sup { line-height: 1;}
.sec-plan {
	display: grid;
	grid-template-columns: 220px auto;
	position: relative;
	z-index: 0;
}
.sec-plan .line-v { left: 220px;}
.type-list .item {
	cursor: pointer;
	font-size: clamp(1.8rem, 1.6666666666666666667vw,2.4rem);
	line-height: 1;
	letter-spacing: 0;
	position: relative;
	opacity: 0.35;
	transition: all 0.3s ease;
}
.type-list .item + .item { margin-top: 20px;}
.type-list .item:before {
	background: url(../imgs/plan/icon_active.svg) no-repeat center center / 100% auto;
	content: "";
	height: clamp(32px, 2.7083333333333333333vw, 39px);
	width:  clamp(60px, 4.375vw, 63px);
	position: absolute;
	left: 0;
	right: 0;
	top: -9px;
	margin: auto;
	opacity: 0;
	transition: all ease 0.5s;
	margin: auto;
}
.type-list .item:hover { opacity: 1;}
.type-list .item.is-active {
	opacity: 1;
	pointer-events: none;
}
.type-list .item:hover:before,
.type-list .item.is-active:before {
	opacity: 1;
	visibility: visible;
}
.plan-anchor {
	position: relative;
	z-index: 0;
	color: #51646b;
	text-align: center;
	min-height: 60vh;
}
.plan-anchor .plan-select {
	position: relative;
	top: 160px;
}
.plan-anchor.is-fixed .plan-select {
	position: fixed;
}
.plan-anchor .ttl {
	font-size: clamp(1.4rem, 1.1111111111111111111vw, 1.6rem);
	letter-spacing: 0.04em;
	font-weight: 300;
	margin: 0 0 40px;
}
.plan-anchor.is-bottom .plan-select {
	position: absolute;
	top: auto;
	bottom: 80px;
	left: 0 !important;
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
	.sec-plan { grid-template-columns: 180px auto;}
	.sec-plan .line-v { left: 180px;}
}
@media screen and (max-width: 767px) {
	.sec-plan {
		padding: 0;
		grid-template-columns: auto;
		gap: 40px;
		min-height: unset;
		padding: 0 15px 0;
	}
	.plan-anchor {
		position: unset;
		z-index: unset;
		padding-top: 0;
        text-align: left;
		min-height: initial;
		height: 80px;
	}
	.plan-anchor.is-bottom .plan-select {
		position: unset;
		top: auto;
		bottom: auto;
	}
	.plan-anchor .plan-select { 
		padding-top: 15px;
		top: 0;
		position: unset;
	}
	.plan-anchor.is-fixed .plan-select {
		top: 0;
		z-index: 1;
		background: rgba(255, 255, 255, 0.5);
		backdrop-filter: blur(20px);
		left: 0;
		padding: 15px 15px 0;
		width: 100% !important;
		position: fixed !important;
		z-index: 100;
		bottom: unset;
	}
	.plan-anchor .ttl { margin: 0 0 8px;}
	.is-bot .plan-anchor .plan-select {
		position: absolute !important;
		top: auto !important;
		bottom: 0 !important;
		left: 0 !important;
	}
	.type-list {
		display: flex;
		flex-wrap: wrap;
		margin: 0 -10px;
	}
	.type-list .item {
		text-align: center;
		padding: 0 3px 5px !important;
		margin: 7px 7px 0 !important;
		min-width: 50px;
	}
	.type-list .item + .item { margin-top: 0;}
	.line-sp {
		width: calc(100% + 30px);
		margin-left: -15px;
		position: relative;
		height: 1px;
	}
	.type-list .item::before {
		width: 50px;
		height: 30px;
		left: 0;
		top: -7px;
		margin: auto;
	}
}
.plan-list {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	z-index: 0;
    padding-right: 1px;
	margin-top: -1px;
}
.plan-list .item {
	width: 25%;
	visibility: hidden;
	opacity: 0;
	position: relative;
	z-index: 0;
}
.is-load .plan-list .item {
	opacity: 1;
	visibility: visible;
}
.plan-list .box {
	height: 100%;
	padding: 40px 10px 20px;
	position: relative;
	z-index: 0;
    box-shadow: 
    1px 0 0 0 #51646b, 
    0 1px 0 0 #51646b, 
    1px 1px 0 0 #51646b,
    1px 0 0 0 #51646b inset, 
    0 1px 0 0 #51646b inset;
}
.plan-list .box .lbl {
	color: #e7e7d7;
	background: #51646b;
	font-size: clamp(1.2rem, 1.1111111111111111111vw, 1.6rem);
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0;
	position: absolute;
	top: 0;
	right: 0;
	width: clamp(60px, 6.0416666666666666667vw, 87px);
	padding: clamp(8px, 0.76388888888888888889vw, 11px) clamp(5px, 1.0416666666666666667vw, 15px);
	text-align: center;
}
.plan-list .box .ttl {
	font-size: clamp(1.2rem, 0.97222222222222222222vw, 1.4rem);
	line-height: 1;
	letter-spacing: 0;
	margin: 0 0 13px;
	color: #51646b;
	text-align: center;
}
.plan-list .box .ttl .name {
	font-size: 200%;
	line-height: 1;
}
.plan-list .box .js-detail {
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	transition: all 0.3s ease;
}
.plan-list .box .js-detail:hover { background: rgba(81, 100, 107, 0.5);}
.plan-list .box .js-detail.opened {
	border: 3px solid #51646b;
	background: rgba(81, 100, 107, 0.5);
	pointer-events: none;
}
.plan-list .box .txt {
	font-size: clamp(1.2rem, 0.97222222222222222222vw, 1.4rem);
	line-height: 1;
	letter-spacing: 0;
	margin: 0 0 13px;
	color: #51646b;
	text-align: center;
}
.plan-list .box .txt .num {
	font-size: 170%;
}
.plan-list .box .txt .small {
	display: inline-block;
}
.plan-wrap {
	padding: 0 15px 50px;
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {
	.plan-list .item { width: calc(100%/3);}
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
	.plan-list .item { width: 50%;}
}
@media screen and (max-width: 767px) {
	.plan-list .item { width: 50%;}
	.plan-list .box { padding: 30px 10px;}
	.plan-list .box .ttl .name { font-size: 175%;}
}

.md-plan { display: none;}
.box-detail {
	position: relative;
	top: 0;
	left: 0;
	display: grid;
	grid-template-columns: 70% auto;
	gap: 40px;
	align-items: center;
	z-index: 10;
	padding: 40px;
}
.box-detail .line-h { display: none;}
.box-detail .ttl {
	font-size: clamp(1.4rem, 1.1111111111111111111vw, 1.6rem);
	line-height: 2;
	letter-spacing: 0;
	margin: 0 0 clamp(25px, 4.5138888888888888889vw, 65px);
}
.box-detail .ttl .name {
	font-size: 250%;
	line-height: 1;
	display: inline-block;
	margin-right: 4px;
}
.box-detail .type {
	font-size: clamp(2.2rem, 1.9444444444444444444vw, 2.8rem) ;
	letter-spacing: 0;
	line-height: 1;
	color: #403d3c;
	margin: 0 0 clamp(10px, 1.0416666666666666667vw, 15px) ;
}
.box-detail .type .sm { font-size: 60%;}
.box-detail .txt {
	font-size: clamp(1.2rem, 0.97222222222222222222vw, 1.4rem);
	line-height: 2;
	letter-spacing: 0;
	color: rgba(28, 28, 28, 0.5);
}
.box-detail .txt .large {
	display: inline-block;
	margin-left: 10px;
	font-size: 200%;
	line-height: 1;
}
.box-detail .txt .medium {
	display: inline-block;
	margin-left: 10px;
	font-size: 150%;
	line-height: 1;
}
.box-detail .txt .small {
	display: inline-block;
	margin-left: 10px;
	font-size: 150%;
	line-height: 1;
}
.box-detail .txt span { color: #403d3c;}
.box-detail .txt sup { font-size: 1rem;}
.box-detail .txt + .txt { margin-top: 11px;}
.is-open {
	position: relative;
	z-index: 100 !important;
}
.md-box { width: 100%;}
.box-detail .line-list {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -1;
}
.on-line .box-detail .line-h { width: 100%;}
.box-detail .line-list .line-h:last-child {
	top: auto;
	bottom: 0;
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
	.box-detail {
		grid-template-columns: 60% auto;
		gap: 4%;
		padding: 20px;
	}
}
@media screen and (max-width: 767px) {
	.box-detail {
		grid-template-columns: auto;
		padding: 40px 0;
		gap: 20px;
		text-align: center;
	}
	.box-detail .image {
		order: 2;
		padding: 0;
	}
	.plan-list .box .js-detail.opened { border: 2px solid #51646b;}
}
