@charset "utf-8";
/* CSS Document */

#bunner{
	overflow: hidden;
}

#banner img{
	width:100%;
	cursor: pointer;
	transition:0.2s ease;
}

#banner img:hover{
	opacity: 0.9;
	transform: scale(1.01);
}


#news,#insta{
	width:525px;
	margin-bottom:20px;
	text-align: left;
}

#news{
	float:left;
}

.topics > p{
	display:inline;
	line-height:56px;
	font-size:14px;
}

.topics > span{
	color:#00B2E5;
	font-size:12px;
	line-height:0.5;
}

.topics{
	height:56px;
	border:0.25px solid lightgray;
	margin-bottom:17px;
	padding-left:20px;
}

#insta{
	float:right;
}

#insta p{
	display:block;
	font-size:14px;
	line-height:30px;	
}

.wrapper h2{
	font-size:32px;
	display:inline;
	letter-spacing: -0.05em;
}

.wrapper h4{
	display:inline;
	padding-left:10px;
}

#contents{
	background-color: #ddd;
	margin-top:140px;
	margin-bottom: -60px;
}

.content-row{
	display: flex;
	justify-content: space-between;
	position: relative;
	top:-90px;
	margin-bottom: 60px;
}

.content{
	width:500px;
	border: 1px solid lightgray;
	position: relative;
}

.content img{
	width:100%;
}

.content-title{
	position:absolute;
	top:6%;
	left:8%;
	width:84%;
	height:260px;
	background-color:rgba(0,0,0,0.5);
	color:#fff;
	text-align: center;
	transition: all 0.3s ease-out;
    will-change: transform;
}

.content-title:hover{
	background-color:rgba(0,0,0,0.4);
	transform: matrix3d(
        1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 0.9
	);
}

.content-title h2{
	font-size:18px;
	display:block;
	margin-top:110px;
}

.content-title h4{
	font-size:14px;
}

.content-text{
	height:160px;
	background-color:#fff;
}

.content-text p{
	line-height:80px;
	margin-left:30px;
	float:left;
}

.content-text i{
	float:right;
	font-size:24px;
	line-height:80px;
	margin-right:20px;
}

.text-row{
	transition: 0.3s;
}

.text-row:hover{
	background-color: #fff;
	color:#00B2E5;
}


@media screen and (max-width:1120px){
	#news,#insta{
		width:94vw;
		float:none;
		margin:0 auto;
	}
		
	.content-row{
		width:94vw;
		text-align: center;
		margin:0 auto;
	}
	
	.content img{
		width:100%;
	}
	
	.content{
		margin:0;
		width:45vw;
		margin-bottom: 6vw;
		height:100%;
	}
	
	.content img{
		height:auto;
	}
	
	.content-title{
		top:3%;
		left:5%;
		width:90%;
		height:25vw;
	}
	
	.content-title h2{
		margin-top:11vw;
	}

}

@media screen and (max-width:768px){
	#banner{
		margin-bottom:20px;
	}
	
	#news,#insta{
		width:94vw;
		margin-top:0px;
	}
	
	.swiper-slide img{
		height:260px;
		width:auto;
		object-fit: cover;
	}
	
	.copy > .sp{
		height:220px;
	}
	
	.content-row{
		display:block;
	}
	
	.content{
		display: block;
		width:94vw;
		margin: 0 auto;
		margin-bottom: 30px;
	}
	
	.content-title{
		height:46vw;
	}
	
	.content-title h2{
		margin-top:15vw;
	}
	
	.wrapper{
		margin-top:20px;
	}
	
	.wrapper h2{
		font-size:24px;
	}
	
	.wrapper h4{
		font-size:16px;
	}
	
	.wrapper p{
		font-size:9px;
	}
	
	.topics{
		padding-left: 4px;
	}
	
	#insta p{
		font-size:8px;
	}
	
	.text-row > p{
		font-size:14px;
	}
	
}
