@charset "utf-8";
/* CSS Document */
body{
	position: relative;
}

.detail p.def{
    background: #525252;
    border: 1px solid #ccc;
    color: #fff;
    padding: 30px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 5px;
    box-sizing: border-box;
}

section .inner .detail .video-wrap{
	width: 70%;
	aspect-ratio: 16 / 9;
	margin: 20px auto 0;
}
section .inner .detail .video-wrap iframe{
	width: 100%;
	height: 100%;
}
@media screen and (max-width: 768px){
	section .inner .detail .video-wrap{
		width: 100%;
	}
}

section .inner .flex{
	flex-wrap: wrap;
}
section .inner .flex .flex_item{
    width: calc((100% - 3.332%) / 2);
	margin-bottom: 3.332%;
}
section .inner .flex .flex_item:nth-last-of-type(-n+2){
	margin-bottom: 0;
}
section .inner .flex .flex_item br{
	/* display: none; */
}
section .inner .flex .flex_item a{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	position: relative;
	border: 1px solid #fff;
	background-color: #515151;
	border-radius: 5px;
	text-align: center;
	box-sizing: border-box;
	transition: 0.3s all;
}
section .inner .flex .flex_item a:hover{
	text-decoration: none;
}
section .inner .flex .flex_item a::before {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(216, 130, 57, 0.7);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    z-index: 1;
    opacity: 0;
    transition: 0.5s all;
}
section .inner .flex .flex_item a:hover::before {
    opacity: 1;
}
section .inner .flex .flex_item a p{
    width: 100%;
    font-size: 22px;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	transition: 0.3s all;
	z-index: 2;
}

@media screen and (max-width: 1200px) {
	section .inner .flex .flex_item a{
		height: 12vw;
	}
	section .inner .flex .flex_item a p{
		font-size: 2.0vw;
	}
}
@media screen and (max-width: 1024px) {
	section .inner .flex .flex_item br{
		display: block;
	}
}
@media screen and (max-width: 768px) {
	.detail p.def{
		padding: 20px 25px;
		font-size: 17px;
	}

	section .inner .flex{
		flex-wrap: wrap;
	}
	section .inner .flex .flex_item{
		width: calc((100% - 5%) / 2);
	}
	section .inner .flex .flex_item:nth-child(1),
	section .inner .flex .flex_item:nth-child(2){
		margin-bottom: 5%;
	}
	section .inner .flex .flex_item a {
		height: 44.766vw;
	}
	section .inner .flex .flex_item a p{
		font-size: 2.8vw;
		top: 40%;
	}
	section .inner .flex .flex_item a p:after {
		position: absolute;
		top: 0;
		left: 50%;
		right: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		margin-top: 15%;
	}
	section .inner .flex .flex_item:nth-child(1) a p:after {
		margin-top: 20%;
	}
}
@media screen and (max-width: 480px) {
	section .inner .flex .flex_item{
		width: 100%;
	}
	section .inner .flex .flex_item:nth-last-of-type(-n+2) {
		margin-bottom: 3%;
	}
	section .inner .flex .flex_item:nth-child(1),
	section .inner .flex .flex_item:nth-child(2),
	section .inner .flex .flex_item:nth-child(3){
		margin-bottom: 3%;
	}
	section .inner .flex .flex_item a {
		height: 100px;
	}
	section .inner .flex .flex_item a p{
		font-size: 16px;
		top: 50%;
	}
	section .inner .flex .flex_item a p{
		font-size: 16px;
	}
}