/*====================================================================================================
  TOPPAGE
====================================================================================================*/
#toppage { padding: 30px 0;}


/*** MAINIMG ***************************************************************/
#toppage .mainimg {
	position: relative;
	margin:40px auto 0;
	width:282px;
	height:360px; 
	background: linear-gradient(0, #009fe8, #009fe8, #1d2087);
	background-size:100% 200%;
	animation: Gradient 8s ease infinite;
	overflow: hidden;
}
@keyframes Gradient {
	0% { background-position: 0% 100%;}
	50% { background-position: 100% 0;}
	100% { background-position: 0% 100%;}
}


/*** ABOUT *****************************************************************/
#toppage .about {
	position: relative;
	padding:130px 0 100px;
	color: #fff;
	text-align: center;
	background: url(../../img/about_bg.jpg) no-repeat center center;
	background-size:cover;
}
#toppage .about::before {
	display:block;
	clear:both;
	content:"";
	position: absolute;
	top: 0;
	left: 0;
	width:100%;
	height:65px;
	background: url(../../img/curve.png) no-repeat center center;
	background-size:100% 65px;
}
#toppage .nakama { position: relative; margin: auto; max-width: 1000px;}
#toppage .nakama a { position: absolute; top:-150px; left: 0;}
#toppage .about h2 {
	font-family: "ÞâÌÀÄ«ÂÎ","Yu Mincho", YuMincho, "¥Ò¥é¥®¥ÎÌÀÄ« Pro", "Hiragino Mincho Pro", "HGÌÀÄ«E", "MS PMincho", Times, serif;
	font-size:290%;
	line-height: 100%;
}
#toppage .about .come {
    margin: auto;
    width:55%; 
	padding: 23px 0 45px;
	font-weight: bold;
	font-size:110%;
}
#toppage .about .jobfair {
    position:absolute; top:100px; right: 20px; z-index: 8;
    width: 20%; max-width: 390px;
}  
#toppage .about .jobfair a {
    display:block;
    aspect-ratio: 390 / 310;
	text-indent: -9999px;
	background:#1D2087 url(../img/page_fair.jpg) no-repeat;
    background-size: 100% auto;
    border-radius: 20px;
}

@media only screen and (max-width:1000px){
    #toppage .about .come { width: 100%;}
    #toppage .about .jobfair { position: static !important; margin: auto !important; width: 100% !important;}
    #jobfair2 { top: inherit; bottom:50px; right:100px; min-width: 200px;}
}



/*** CONT ******************************************************************/
#toppage .cont { margin: auto; padding: 55px 0 60px; max-width: 840px;}
#toppage .cont::after { /*float_clear*/ display:block; clear:both; content:"";}
#toppage .cont p { float: left; width: 25%; font-size: 110%;}
#toppage .cont p a { position: relative; display: block; padding-top:110px; text-align: center; text-decoration: none;}
#toppage .cont p a::before {
	display:block;
	clear:both;
	content:"";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 97px;
	height: 97px;
	background-color:#1D2087 !important;
	border-radius:97px; /* CSS3 */
	-webkit-border-radius:97px; /* Safari,Google Chrome */
	-moz-border-radius:97px;/* Firefox */
}
#toppage .cont p:nth-child(1) a::before { background: url(../../img/cont01.png) no-repeat;}
#toppage .cont p:nth-child(2) a::before { background: url(../../img/cont02.png) no-repeat;}
#toppage .cont p:nth-child(3) a::before { background: url(../../img/cont03.png) no-repeat;}
#toppage .cont p:nth-child(4) a::before { background: url(../../img/cont04.png) no-repeat;}
#toppage .cont p:nth-child(5) a::before { background: url(../../img/cont05.png) no-repeat;}
#toppage .cont p a:hover { color: #038FE5;}
#toppage .cont p a:hover::before { background-color: #038FE5 !important;}


/*** Interview ******************************************************************/
#toppage .interview {
    margin:0 auto 50px; padding: 50px 0;
    background:#64B6D5 url("../../img/interview_bg.jpg") no-repeat top center;
    background-size: 100% auto;
}
#toppage .interview .inner {
    display: flex; flex-direction: column; gap:50px; 
    margin: auto; width: 96%; max-width: 1000px;
}
#toppage .interview h3 { margin-bottom: 50px; color: #fff;}
#toppage .interview h3 small,
#toppage .interview h3 b { display: block; text-align: center;}
#toppage .interview h3 small { font-size: 18px;}
#toppage .interview h3 b { font-size: 35px; line-height: 130%;}
#toppage .interview .interview_list { overflow: hidden; display: flex; flex-wrap: wrap; justify-content: center;}
#toppage .interview .box { float: left; margin:0 2%; width: 29.3%;}
#toppage .interview .box .pic { margin-bottom: 10px;}
#toppage .interview .box .pic img { width: 100%; height: auto;}
#toppage .interview .box .come { color: #fff;}
#toppage .interview .b_more  { margin: auto; width: 235px;}
#toppage .interview .b_more a {
    display: block;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: #222;
    background: #fff;
    border-radius: 50px;
}


/*** NEWS ******************************************************************/
#toppage .news { margin:0 auto 50px; max-width: 1000px; padding: 35px 25px; color: #fff; background: rgba(29,32,135,0.88);}
#toppage .news::after { /*float_clear*/ display:block; clear:both; content:"";}
#toppage .news h3 { float: left; width: 10%; font-size: 119%;}
#toppage .news .news_box { float:right; width:88%; min-height:90px; font-size: 119%; overflow: auto;}
#toppage .news .news_box a { color: #fff; text-decoration: underline;}
#toppage .news .news_box a:hover { color:#FFFF00; }
#toppage .news .news_box .more { text-align: right; padding-right:1.0em; }


/*** PICKUP ****************************************************************/
#toppage .pickup { margin: auto; max-width: 1000px;}
#toppage .pickup::after { /*float_clear*/ display:block; clear:both; content:"";}
#toppage .pickup .box { float:left; width:31.5%;}
#toppage .pickup .box+.box {margin-left: 2.75%;}
#toppage .pickup .box .photo img { width: 100%; height: auto;}
#toppage .pickup .box .come { padding: 55px 35px; color: #1D2087;}
#toppage .pickup .box .come p:nth-child(1) {
	margin-bottom: 10px;
	font-family: "ÞâÌÀÄ«ÂÎ","Yu Mincho", YuMincho, "¥Ò¥é¥®¥ÎÌÀÄ« Pro", "Hiragino Mincho Pro", "HGÌÀÄ«E", "MS PMincho", Times, serif;
	font-size: 200%;
	text-align: center;
	line-height: 130%;
}
#toppage .pickup .box .come p:nth-child(2) { font-size: 100%; font-weight: bold;}
