@charset "UTF-8";

/*--------------------------------------------------------------------
index.html	(トップページ)
top.css
--------------------------------------------------------------------*/

/*------------title---------------------------------------------------------------*/
#title {
	position: relative;
	min-height: 715px;
	margin-bottom: 70px;
}
#title::after { width: 50%; }
#title > div {
	min-height: 700px;
	background: 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 {
	font-size: 2.22em;
	text-shadow: 
		 5px  5px 6px var(--co-sub),
		-5px  5px 6px var(--co-sub),
		 5px -5px 6px var(--co-sub),
		-5px -5px 6px var(--co-sub),
		 5px  0px 6px var(--co-sub),
		 0px  5px 6px var(--co-sub),
		-5px  0px 6px var(--co-sub),
		 0px -5px 6px var(--co-sub);
	z-index: 5;
}

@media (max-width: 960px) {
	#title,
	#title > div { min-height: 55vh; }
}


/*------------article-------------------------*/
article { padding-bottom: 0; }
main article:not(:last-of-type) { margin-bottom: 0; }
article::after { display: none; }
article h2 {
	margin-bottom: 20px;
	padding-bottom: 0;
	text-align: center;
	font: bold 1.94em / 1.2 var(--mincho);
	font-feature-settings: "palt" 1;
}


/*------------TopTxt-------------------------*/
#TopTxt {
	width: 100%;
	max-width: inherit;
	margin-top: 40px;
}
#TopTxt h2 {
	width: 100%;
	padding: 0 0.5em;
	font-size: 2em;
	text-align: center;
	font: bold 1.78em / 1.2 var(--mincho);
	font-feature-settings: "palt" 1;
	color: var(--co-main);
}
#TopTxt p {
	margin: 1em auto 0;
	padding: 0 1em;
	text-align: center;
	line-height: 1.8;
}
#TopTxt p + p { margin-top: 70px; }


/*------------content-------------------------*/
#content {
	position: relative;
	width: 100%;
	max-width: inherit;
	margin: 55px auto 0;
	overflow: hidden;
}
#content section {
	position: relative;
	width: 100%;
	max-width: inherit;
}
#content ul li { position: relative; }
#content ul li + li { margin-top: 30px; }
#content ul li::before {
	position: absolute;
	width: 72.5%;
	height: 350px;
	content: "";
	background: url("../img/content_bg.png") no-repeat right top / auto;
	top: 25px;
	left: 0;
	transition: 0.5s;
	z-index: -1;
}
#content ul li:hover::before { left: 50%; }
#content ul li a {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px 20px;
}
#content ul li .contPho {
	width: 72.5%;
	padding-right: 85px;
	overflow: hidden;
}
#content ul li .contPho img {
	width: 100%;
	height: 400px;
	clip-path: polygon(85% 0, 100% 20%, 90% 100%, 0 100%, 0 0);
}

#content ul li:nth-of-type(2n) a { flex-direction: row-reverse; }
#content ul li:nth-of-type(2n) .contPho {
	padding-left: 85px;
	padding-right: 0;
}
#content ul li:nth-of-type(2n)::before {
	left: auto;
	right: 0;
	transform: rotateY(180deg) rotateX(180deg);
}
#content ul li:nth-of-type(2n):hover::before { right: 50%; }
#content ul li:nth-of-type(2n) .contPho img { clip-path: polygon(10% 0, 100% 0, 100% 100%, 15% 100%, 0 85%); }
#content ul li .contTxt {
	width: 26%;
	text-align: center;
}
#content ul li .contTxt dl {
	position: relative;
	width: fit-content;
	margin: auto;
	padding: 20px 2em 80px;
	background-color: transparent;
	transition: 0.5s;
}
#content ul li .contTxt dl::before {
	position: absolute;
	display: block;
	content: "";
	width: 35px;
	height: 35px;
	background: url("../img/contents_a.png") no-repeat center bottom;
	bottom: 20px;
	left: 50%;
	transform: var(--transformX);
}
#content ul li .contTxt dl dt {
	font: bold 1.5em / 1.2 var(--mincho);
	font-feature-settings: "palt" 1;
	color: var(--co-main);
}
#content ul li .contTxt dl dd {
	margin-top: 15px;
	font: bold 1.11em / 1.2 var(--mincho);
	font-feature-settings: "palt" 1;
	color: var(--co-sub);
}
#content ul li .contTxt dl dd::before,
#content ul li .contTxt dl dd::after {
	display: inline-block;
	margin: 0 0.5em;
	content: "-";
}
#content ul li:hover .contTxt dl { background-color: var(--co-white); }

@media (max-width: 680px) {
	#content ul li a,
	#content ul li:nth-of-type(2n) a { flex-direction: column; }
	#content ul li .contPho {
		width: 100%;
		padding-right: 45px;
	}
	#content ul li:nth-of-type(2n) .contPho { padding-left: 45px; }
	#content ul li::before {
		width: 100%;
		height: 200px;
		background-size: cover;
	}
	#content ul li .contPho img { height: 300px; }
	#content ul li .contTxt {
		position: absolute;
		width: 100%;
		top: 50%;
		left: 50%;
		transform: var(--transformXY);
	}
	#content ul li .contTxt dl { background-color: var(--co-white); }
}


/*------------news------------------------*/
#news {
	position: relative;
	width: 100%;
	margin: 75px auto 0;
}
#news section {
	width: 100%;
	max-width: inherit;
	padding: 20px 0;
	background-color: #c9a169;
}
#news section div {
	width: 96%;
	max-width: 1100px;
	margin: 0 auto;
}
#news iframe {
	display: block;
	width: 100%;
	height: 210px;
	border: none;
	background-color: transparent;
}


/*------------recruit------------------------*/
#recruit {
	position: relative;
	width: 100%;
	margin: 55px auto 0;
	overflow: hidden;
}
#recruit a {
	position: relative;
	display: block;
	z-index: 5;
}
#recruit div {
	position: relative;
	overflow: hidden;
}
#recruit div::before {
	position: absolute;
	display:  block;
	content: "";
	width: 100%;
	height: 100%;
	background: #ab1c24;
	mix-blend-mode: multiply;
	z-index: 1;
}
#recruit div img {
	min-width: 100%;
	height: 350px;
	transition: 0.5s;
}
#recruit a:hover div img { transform:scale(1.2); }
#recruit h2 {
	position: absolute;
	width: 100%;
	padding: 0 1em;
	top: 20%;
	left: 50%;
	transform: var(--transformX);
	z-index: 1;
	color: var(--co-white);
}
#recruit p {
	position: absolute;
	padding: 0 50px;
	bottom: 3%;
	left: 50%;
	transform: var(--transformX);
	z-index: 5;
	font: bold clamp(25px, 13.8889vw + -24.4444px, 123px) / 1 var(--mincho);
	font-feature-settings: "palt" 1;
	color: var(--co-white);
}
#recruit p::after {
  position: absolute;
  display: inline-block;
  content: "";
  width: 42px;
  height: 42px;
  background: url("../img/recruit_a.png") no-repeat left top;
  top: 50%;
  right: 0;
  transform: var(--transformY);
  z-index: 0;
}