@charset "UTF-8";

/*--------------------------------------------------------------------
index.html	(トップページ)
top.css
--------------------------------------------------------------------*/

/*------------title---------------------------------------------------------------*/
#title {
	min-height: 850px;
	margin-bottom: 0;
}
#title::before { width: 150%; }
#title::after { width: 150%; }
#title > div {
	min-height: 800px;
	background: var(--co-navy) none;
}
#title .Anima {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	z-index: 0;
}
#title #Anima01 { background-image: url("../img/mv_p01.jpg"); }
#title #Anima02 { background-image: url("../img/mv_p02.jpg"); }
#title #Anima03 { background-image: url("../img/mv_p03.jpg"); }
#title #Anima04 { background-image: url("../img/mv_p04.jpg"); }
#title #Anima05 { background-image: url("../img/mv_p05.jpg"); }
#title h2 {
	top: 45%;
	font-size: 2.375em;
}

@media (max-width: 960px) {
	#title { min-height: 55vh; }
	#title > div { min-height: 46vh; }
}


/*------------article-------------------------*/
article { padding-bottom: 0; }
main article:not(:last-of-type) { margin-bottom: 0; }
article::after { display: none; }


/*------------TopTxt-------------------------*/
#TopTxt {
	width: 100%;
	max-width: inherit;
	margin-top: 40px;
}
#TopTxt h2 {
	width: 100%;
	padding: 0 0.5em;
	font-size: 2.2em;
	text-align: center;
	font-weight: bold;
	color: var(--co-navy);
}
#TopTxt p {
	margin: 20px auto 0;
	padding: 0 1em;
	text-align: center;
	line-height: 1.6;
	font-weight: bold;
}


/*------------content-------------------------*/
#content {
	position: relative;
	width: 100%;
	max-width: inherit;
	margin: 50px auto 0;
}
#content::before {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	max-width: inherit;
	height: 590px;
	background: linear-gradient(to bottom,  rgba(85,85,85,1) 0%,rgba(170,170,170,1) 100%);
	z-index: -1;
	top: 50%;
	left: 0;
	transform: var(--transformY);
}
#content h2 {
	margin-bottom: 25px;
	padding-bottom: 0;
	text-align: center;
	font-size: 2.2em;
	font-weight: bold;
}
#content ul {
	display: flex;
	gap: 25px 40px;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
#content ul li {
	max-width: 530px;
	margin: 0 auto;
}
#content a {
	position: relative;
	display: block;
	clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
	z-index: 5;
}
#content img {
	min-height: 400px;
	transition: all 0.3s ease;
	transform-origin: center center;
}
#content a:hover img {
	transform: scale(1.2);
}
#content dl {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 180px;
	padding-bottom: 20px;
}
#content dl::before {
	position: absolute;
	display: block;
	content: "";
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
	mix-blend-mode: multiply;
}
#content ul li:nth-of-type(1) dl::before { background-color: rgba(0,54,112,0.90); }
#content ul li:nth-of-type(2) dl::before { background-color: rgba(186,0,54,0.90); }
#content dl dt {
	position: relative;
	text-align: center;
	font-size: 1.6em;
	color: var(--co-white);
	z-index: 5;
}
#content dl dd {
	position: relative;
	width: 200px;
	margin: 10px auto 0;
	padding: 0.25em 1em;
	background-color: var(--co-white);
	text-align: center;
	font-size: 1.125em;
	color: var(--co-black);
	z-index: 5;
}
#content dl dd span {
	position: absolute;
	display: inline-block;
	width: 16px;
	height: 17px;
	background-position: left top;
	background-repeat: no-repeat;
	top: 50%;
	right: 10px;
	transform: var(--transformY);
}
#content ul li:nth-of-type(1) dl dd span { background-image: url("../img/arrow_blue.png"); }
#content ul li:nth-of-type(2) dl dd span { background-image: url("../img/arrow_red.png"); }

#recruit {
	width: 100%;
	max-width: 1100px;
	margin: 50px auto 0;
}
#recruit a { clip-path: polygon(0 15%, 100% 0, 100% 85%, 0% 100%); }
#recruit dl::before {
	background-color: rgba(112,78,80,0.90);
	clip-path: polygon(0 25%, 100% 0, 100% 100%, 0% 100%);
}
#recruit dl dd span { background-image: url("../img/arrow_black.png"); }

@media (max-width: 640px) {
	#content ul,
	#content #recruit {
		width: 96%;
	}
	#content::before { height: 80%; }
	#content ul { flex-direction: column; }
	#recruit {
		width: 100%;
		max-width: 530px;
		margin-top: 25px;
	}
	#recruit a { clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%); }
	#recruit dl::before { clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%); }
}


/*------------info------------------------*/
#news {
	position: relative;
	width: 100%;
	margin: 55px auto 0;
}
#news h2 {
	margin-bottom: 10px;
	text-align: center;
	font-size: 1.9em;
	color: #9e8c75;
}
#news section {
	width: 100%;
	max-width: inherit;
	padding: 10px;
	background-color: #d8d1c8;
}
#news section div {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
#news iframe {
	display: block;
	width: 100%;
	height: 210px;
	border: none;
	background-color: transparent;
}
@media (max-width: 960px) {}
@media (max-width: 770px) {}
@media (max-width: 480px) {}