@charset "utf-8";
/* CSS Document */
/*------------------------------------------------------
	おすすめ
------------------------------------------------------*/
.recommend-box > section{
	margin: 40px auto;
}
.recommend-box > section .h-type6{
	background-color: #ebeff3;
}

/**/
.recommend-box ul.item-list{
	display: flex;
	flex-wrap: wrap;
	gap: 50px 25px;
	margin: 30px auto;
}
.recommend-box ul.item-list > li{
	width: 355px;
}
.recommend-box ul.item-list > li > h4{
	margin-bottom: 5px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5em;
	text-align: center;
}
.recommend-box ul.item-list > li > .appeal{
	display: block;
	min-width: 70%;
	width: fit-content;
	margin: 5px auto 15px;
	padding: 3px 10px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5em;
	letter-spacing: 0.08em;
	text-align: center;
	border: 1px solid;
}
.recommend-box ul.item-list > li > .appeal.near{
	color: #ff3761;
	border-color: #ff3761;
}
.recommend-box ul.item-list > li > .appeal.far{
	color: #7a56ff;
	border-color: #7a56ff;
}
.recommend-box ul.item-list > li > .appeal.both{
	color: #2678ff;
	border-color: #2678ff;
}
.recommend-box ul.item-list > li > p{
	margin: 15px auto;
}

/**/
.recommend-box ul.item-list > li .link-btn-blue{
	margin: 0;
}
.recommend-box ul.item-list > li .link-btn-blue a{
	width: 95%;
	padding-right: 40px;
	font-size: 15px;
}


@media screen and (max-width: 786px) {
	.recommend-box ul.item-list{
		gap: 50px 20px;
		margin: 30px 3%;
	}
	.recommend-box ul.item-list > li{
		width: calc((100% - 20px) / 2);
	}
	.recommend-box ul.item-list > li > h3{
		font-size: 22px;
	}
	.recommend-box ul.item-list > li > p{
		margin: 15px auto;
	}

	.recommend-box ul.item-list > li .link-btn-blue a{
		width: 100%;
	}

}

@media screen and (max-width: 480px) {
	.recommend-box ul.item-list{
		gap: 40px;
		justify-content: center;
	}
	.recommend-box ul.item-list > li{
		width: 90%;
	}
	.recommend-box ul.item-list > li > h3{
		font-size: 20px;
	}
	.recommend-box ul.item-list > li > .appeal{
		font-size: 14px;
	}

	.recommend-box ul.item-list > li .link-btn-blue a{
		width: 100%;
	}
}


/*------------------------------------------------------
	活用例
------------------------------------------------------*/

/*----タブ切り替え----*/
/*フェードイン*/
@keyframes fade-in {
    0% { }
    100% { opacity: 1; }
}

/**/
.combination-box .tab-box {
    display: flex;
	justify-content: center;
    flex-wrap: wrap;
    gap: 0;
	margin: 30px auto;
}
.combination-box .tab-box input {
    display: none;
}

/*ボタン*/
.combination-box .tab-box > label {
	display: flex;
	flex-wrap: wrap;
    flex: 1 1 1;
    order: -1;
	justify-content: center;
	align-items: center;
    width: calc(100% / 3);
	background-color: #f1f5f9;
    color: #fff;
    font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.3em;
    text-align: center;
	transition: all .3s ease;
    cursor: pointer;
	position: relative;
}
.combination-box .tab-box > label:first-of-type {
	border-radius: 30px 0 0 30px;
}
.combination-box .tab-box > label:last-of-type {
	border-radius: 0 30px 30px 0;
}

/**/
.combination-box .tab-box > label > span{
	display: block;
	width: 100%;
	color: #95abc0;
    padding: 15px 10px;
	line-height: 1.3em;
	border-radius: 30px;
	transition: all .3s ease;
	overflow: hidden;
	position: relative;
	z-index: 2;
}
.combination-box .tab-box > label > span:before{
	content: "";
	display: block;
	width: 0;
	height: 100%;
	background-color: var(--main-color);
	transition: all .3s ease;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	margin: auto;
	z-index: -1;
}
.combination-box .tab-box > label:hover span {
	color: var(--main-color);
}

.combination-box .tab-box > label > span br{
	display: none;
}

.combination-box .tab-box > section {
    display: none;
    width: 100%;
	margin: 0;
    padding: 50px 0;
    background-color: #fff;
}


.combination-box .tab-box label:has(:checked) span{
	color: #fff;
}
.combination-box .tab-box label:has(:checked) span:before{
    width: 100%;
	background-color: var(--main-color);
}

/**/
.combination-box .tab-box > section > *{
	opacity: 0;
}
.combination-box .tab-box label:has(:checked) + section {
    display: block;
}
.combination-box .tab-box label:has(:checked) + section > * {
	animation: fade-in .5s ease forwards;
	animation-delay: .2s;
}


/*----コンテンツ----*/
.combination-box .inner{
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background-repeat: no-repeat;
	background-position: left top;
	margin: 30px auto;
}
.combination-box .inner ul{
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 150px;
	padding: 5px 0;
}
.combination-box .inner ul > li{
	display: block;
	width: fit-content;
	color: #0b4ea2;
	background-color: #f1f5f9;
	padding: 3px 10px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 5px;
}



@media screen and (max-width: 786px) {
	/**/
	.combination-box .tab-box {
		margin: 30px 3%;
	}
	.combination-box .tab-box input {
		display: none;
	}

	/*ボタン*/
	.combination-box .tab-box > label {
		font-size: 1.9rem;
	}

	/**/
	.combination-box .tab-box > label > span{
		padding: 8% 2%;
	}

	/*----コンテンツ----*/
	.combination-box .inner {
		align-items: normal;
	}
	.combination-box .inner img{
		width: 70%;
		height: 250px;
		object-position: right;
		object-fit: cover;
	}
	.combination-box .inner ul{
		width: 30%;
	}
}

@media screen and (max-width: 480px) {
	/*ボタン*/
	.combination-box .tab-box > label {
		font-size: 1.8rem;
	}
	/**/
	.combination-box .tab-box > label > span{
		padding: 13px 5px
	}

	/*----コンテンツ----*/
	.combination-box .inner {
		flex-direction: column;
		align-items: normal;
		gap: 10px;
		margin: 15px 0;
	}
	.combination-box .inner img{
		width: 100%;
		height: 250px;
		object-position: right;
		object-fit: cover;
	}
	.combination-box .inner ul{
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
	}
}





