@charset "utf-8";
/*------------------------------------------------------------
	detail
------------------------------------------------------------*/
#main .detail {
	margin: 0 auto;
	max-width: 80rem;
}
#main .detail .hTitle {
	margin-bottom: 4rem;
	font-size: 3rem;
	font-weight: 700;
}
#main .detail .inner {
	margin-bottom: 2.6rem;
	position: relative;
}
#main .detail .inner .photoList {
	margin-bottom: 1.5rem;
	line-height: 0;
	border: 1px solid #A3A3A3;
	position: relative;
	z-index: 5;
}
#main .detail .inner .photoList li {
	aspect-ratio: 8 / 5;
}
#main .detail .inner .photoList li img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
#main .detail .inner .subPhotoList {
	display: flex;
	flex-wrap: wrap;
	gap: 1.9rem;
}
#main .detail .inner .subPhotoList li {
	width: calc((100% - 11.4rem) / 7);
	aspect-ratio: 1 / 1;
	opacity: 0.29;
	cursor: pointer;
	transition: opacity 0.3s;
}
#main .detail .inner .subPhotoList li.on {
	opacity: 1;
}
#main .detail .inner .subPhotoList li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#main .detail .inner .arrow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 50rem;
}
#main .detail .inner .arrow li {
	margin-top: 1rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -7.8rem;
	width: 4.8rem;
	cursor: pointer;
	transition: opacity 0.3s;
}
#main .detail .inner .arrow li.next {
	left: auto;
	right: -7.8rem;
}
@media all and (min-width: 897px) {
	#main .detail .inner .arrow li:hover {
		opacity: 0.7;
	}
	#main .detail .inner .subPhotoList li:hover {
		opacity: 1;
	}
}
#main .detail .bottomBox {
	margin-bottom: 9.9rem;
}
#main .detail .bottomBox p {
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 2;
	word-break: break-all;
}
#main .detail .bottomBox p a {
	text-decoration: underline;
}
#main .detail .bottomBox p a:hover {
	opacity: 0.7;
}
#main .detail .bottomBox .comTagUl {
	margin-top: 5.5rem;
}
#main .detail .bottomBox .comTagUl li a {
	color: #5068A4;
}
#main .detail .bottomBox .comTagUl li a:hover {
	opacity: 0.7;
}
#main .detail .linkList {
	margin-top: 4.8rem;
	gap: 4rem;
}
#main .detail .linkList li {
	position: relative;
}
#main .detail .linkList li::before {
	position: absolute;
	top: 50%;
	right: -2rem;
	width: 1px;
	height: 4rem;
	transform: translateY(-50%);
	background: #141414;
	content: '';
}
#main .detail .linkList li:last-child::before {
	display: none;
}
#main .detail .linkList li a {
	padding: 0.5rem 0 0.5rem 4.3rem;
	font-size: 1.6rem;
	font-weight: 700;
	background: url(../img/common/icon03.png) no-repeat left center / 2.3rem;
}
#main .detail .linkList li a:hover {
	opacity: 0.7;
}
#main .detail .linkList li.next a {
	padding: 0.5rem 4.3rem 0.5rem 0;
	background-image: url(../img/common/icon02.png);
	background-position: right center;
}
@media all and (max-width: 896px) {
	#main .detail {
		margin: 0;
		max-width: inherit;
	}
	#main .detail .hTitle {
		margin-bottom: 3.9rem;
		font-size: 2rem;
	}
	#main .detail .inner .subPhotoList {
		gap: 1.2rem;
	}
	#main .detail .inner .subPhotoList li {
		width: calc((100% - 4.8rem) / 5 - 0.01px);
	}
	#main .detail .inner .arrow {
		display: none;
	}
	#main .detail .bottomBox {
		margin-bottom: 10rem;
	}
	#main .detail .bottomBox p {
		font-size: 1.4rem;
	}
	#main .detail .bottomBox .comTagUl {
		margin-top: 5.5rem;
		gap: 0.4rem 1.6rem;
	}
	#main .detail .bottomBox .comTagUl li {
		font-size: 1.4rem;
	}
	#main .detail .linkList {
		margin-top: 3.5rem;
		padding-right: 0;
		gap: 0;
		justify-content: space-between;
	}
	#main .detail .linkList li {
		width: calc((100% - 2.4rem) / 2);
	}
	#main .detail .linkList li::before {
		right: -1.2rem;
	}
	#main .detail .linkList li a {
		padding: 0.5rem 0 0.5rem 3.5rem;
		display: block;
		font-size: 1.4rem;
		background-position: left top 0.5rem;
	}
	#main .detail .linkList li.next a {
		padding: 0.5rem 3.5rem 0.5rem 0;
		background-position: right top 0.5rem;
	}
}