@charset "utf-8";

/***************************************************************************
 *
 * movie.css
 *
 ***************************************************************************/

.area1 {
	margin-top: 85px;
	padding-bottom: 165px;
}

.area1 h3.dotline {
	margin-bottom: 25px;
}

.area1 .subtext {
	text-align: center;
	font-size: 18px;
	line-height: 40px;
	margin-bottom: 60px;
	letter-spacing: 1px;
}
.area1 .movieWrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.area1 .movieWrap > div {
	width: calc(100% / 3);
}
.area1 .movieWrap > div:nth-of-type(3n + 1) {
	padding-right: 2%;
}
.area1 .movieWrap > div:nth-of-type(3n + 2) {
	padding: 0 1%;
}
.area1 .movieWrap > div:nth-of-type(3n) {
	padding-left: 2%;
}
.area1 .movieWrap > div:nth-of-type(n + 4) {
	margin-top: 80px;
}
.area1 .movieWrap .youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin-bottom: 30px;
}
.area1 .movieWrap .youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}
.area1 .movieWrap .ttl {
	text-align: center;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc;
}
.area1 .movieWrap .ttl h4 {
	font-size: 22px;
	font-weight: 600;
	color: #f9312a;
	margin-bottom: 5px;
}
.area1 .movieWrap .ttl .subTitle {
	font-size: 18px;
	font-weight: 600;
}
.area1 .movieWrap .txt {
	line-height: 2;
}


.area1 h3.dotline {
	text-align: center;
	position: relative;
}

.area1 h3.dotline:after {
	content: "";
	width: 100%;
	height: 1px;
	background: url(/wp-content/themes/kochi-seikyou-comunity/img/common/tit_dot.png);
	position: absolute;
	left: 0;
	top: 50%;
	z-index: -1;
}
.area1 h3.dotline img{
	aspect-ratio:617/108;
	max-width: 617px;
}


#footer ul a {
	background: none;
}

.f-nav ul li ul li::before {
	width: 0;
}
.f-nav ul li ul li::after {
	height: 0;
}

@media (max-width: 767px) {
	#content {
		padding: 0 4%;
	}
	.area1 {
		margin-top: 20px;
		padding-bottom: 50px;
	}
	.area1 h3.dotline {
		margin-bottom: 20px;
		margin-top: 20px;
		color: #ff0000;
		font-weight: bold;
		font-size: 4.5vw;
	}
	.area1 h3.dotline:after {
		background: none;
	}
	.area1 .subtext {
		font-size: 14px;
		line-height: 1.8;
	}
	.area1 .movieWrap > div {
		width: 95%;
		margin: 0 auto;
		padding: 0 !important;
	}
	.area1 .movieWrap > div:nth-of-type(n + 2) {
		margin-top: 80px;
	}
	.area1 .movieWrap .ttl {
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
	.area1 .movieWrap .ttl h4 {
		font-size: 18px;
	}
	.area1 .movieWrap .ttl .subTitle {
		font-size: 16px;
	}
}
