@charset "utf-8";
@import url("root.css");

/***************************************
-------------- RESULT --------------
***************************************/

#items_detail .result_wrap,
#result .result_wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(25px, 5vw, 50px) 2%;
}
.result_box {
	width: calc(94% / 4);
}
.result_box .result_img img {
	aspect-ratio: 5 / 3;
	object-fit: cover;
	width: 100%;
	height: auto;
	display: block;
}
.txt_wrap {
	width: 100%;
}
.txt_wrap p.cat {
	width: 100%;
	background: #333;
	padding: 5px;
	text-align: center;
	font-size: 1.4rem;
	color: #fff;
	font-weight: 700;
	margin: 0;
}
.txt_wrap .date {
	text-align: right;
	width: 100%;
	justify-content: flex-end;
	margin: 10px 0;
	line-height: 1.0;
}

.item_detail_txt {
	 h2.subttl {
		width: 100%;
		text-align: center;
		font-size: clamp(1.8rem, 3vw, 2.4rem);
		font-weight: bold;
		margin-top: clamp(15px, 3vw, 30px);
		padding-bottom: 1rem;
		border-bottom: 1px solid var(--base-color01);
		margin-bottom: 2rem;
	 }
	 p {
		margin-bottom: 2rem;
	 }
}


@media (max-width: 768px) {
	.result_box {
		width: calc(96% / 3);
	}
	#items_detail .desc,
	#result .desc {
		text-align: left;
	}
}
@media (max-width: 599px) {
	.result_box {
		width: calc(98% / 2);
	}
}


/*******注意書き********/
#items_detail .tips_wrap {
	display: block;
	width: 100%;
	background: #fafafa !important;
	padding: min(10px, 1.5%) min(20px, 2.5%);
	border: 4px double var(--base-color01);
}

#items_detail .tips {
	width: 100%;
}

#items_detail .tips dt {
	width: 100%;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: #333;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	padding-bottom: 1rem;
	border-bottom: 2px dotted #ddd;
	margin-bottom: 1rem;

}
#items_detail .tips dt::before {
	content: "";
	display: block;
	background: url(../img/svg/icn_check_rd.svg) no-repeat;
	background-position: top center;
	background-size: contain;
	width: 20px;
	height: auto;
	margin-top: 3px;
	margin-right: 10px;
	aspect-ratio: 86/75;
	object-fit: cover;
}

#items_detail .tips dd {
	font-size: 18px;
	margin-left: 20px;
	line-height: 1.5;
}

#items_detail .tips dd::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	background: var(--base-color01);
	margin-right: 10px;
	margin-left: -20px;
}



/***************************************
-------------- 詳細ページ --------------
***************************************/

.result_detail_wrap {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	gap: 2.5%;
}

.result_detail_wrap .youtube_wrap {
	width: min(27.5%, 330px);
	flex-shrink: 0;
}
.result_detail_wrap .youtube_wrap > p,
.ttl-img .detail_img > p {
	font-size: 1em;
	line-height: 1.0;
	color: #fff;
	text-align: center;
	width: 100%;
	margin: 0;
	padding: .25em .25em .5em;
	background: var(--base-color01);
}

.result_detail_wrap .text_area {
	flex-grow: 1;
}

.result_detail_wrap .text_area .ttl-img {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 2.5%;
}

.ttl-img .detail_img {
	width: min(70%, 600px);
	height: auto;
}
.ttl-img .detail_img img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}


.ttl-img .detail_ttl {
	width: fit-content;
}
.ttl-img .detail_ttl .cat {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: min(4vw, 10px);
	margin-bottom: 1em;
}
.ttl-img .detail_ttl .cat span {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--base-color01);
	color: #fff;
	font-size: .75em;
	padding: .25em 1em .5em;
	border-radius: 4px;
}
.ttl-img .detail_ttl .date {

}

.text_area .detail_text h3 {
	margin-top: 1em;
	font-size: 1.25em;
	font-weight: 600;
	padding-bottom: .25em;
	border-bottom: 2px dotted var(--base-color01);
	margin-bottom: .5em;
}



@media (max-width: 599.98px) {
	.result_detail_wrap,
	.result_detail_wrap .text_area .ttl-img {
		flex-wrap: wrap;
		gap: 1em 0;
	}
	.result_detail_wrap .youtube_wrap,
	.result_detail_wrap .text_area,
	.ttl-img .detail_img,
	.ttl-img .detail_ttl {
		width: 100%;
	}
	.ttl-img .detail_ttl {
		display: flex;
		justify-content: space-between;
	}
	.ttl-img .detail_ttl .cat {
		margin: 0;
		font-size: .85em;
	}
}










