@charset "utf-8";

/*===========================================================

header

============================================================= */
#header {
	position:fixed;
	top:0;
	left:0;
	right:0;
	width:100%;
	z-index:99;
}

#header .inner {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-justify-content:space-between;
	-moz-justify-content:space-between;
	-ms-justify-content:space-between;
	justify-content:space-between;
}

#header .inner > * {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	-webkit-align-items:center;
	-moz-align-items:center;
	-ms-align-items:center;
	align-items:center;
	height:55px;
}

#header .title {
	background:rgba(5,48,91,0.85);
	color:#fff;
	font-size:2rem;
	padding:0 1em;
	order:1;
	-webkit-flex-direction:column;
	-moz-flex-direction:column;
	-ms-flex-direction:column;
	flex-direction:column;
	-webkit-justify-content:center;
	-moz-justify-content:center;
	-ms-justify-content:center;
	justify-content:center;
}

#header .title span {
	width:100%;
	color:#fff;
	line-height:1.2;
}

#header .title span.small {
	font-size:1.6rem;
}

#header .entry {
	padding:0 3em;
	color:#fff;
	background:#83C6BE;
	margin-left:5px;
	position:relative;
	order:3;
}
#header .entry:after {
	font-family: "Font Awesome 5 Free";
	content: "\f105";
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	font-weight: 900;
	font-size:1.6rem;
	color:#fff;
	margin-left:5px;
}

#header .entry:hover {
	background:#99D0C9;
}

#header .drawer {
	display:none;
	order:4;
}

#gnav {
	-webkit-flex:1 1 0%;
	flex:1 1 0%;
	background:rgba(255,255,255,0.85);
	-webkit-justify-content:space-around;
	-moz-justify-content:space-around;
	-ms-justify-content:space-around;
	justify-content:space-around;
	padding:0 1em;
	border-left:2px solid #E83416;
	order:2;
}

#gnav a {
	color:#05305B;
	font-weight:400;
	position:relative;
}

#gnav a:before {
	display:block;
	content:'';
	width:100%;
	height:2px;
	background:#E83416;
	position:absolute;
	bottom:-4px;
	left:0;
	opacity:0;
	transition: 0.5s;
}

#home #gnav .home a:before,
#aboutus #gnav .aboutus a:before,
#interview #gnav .interview a:before,
#culture #gnav .culture a:before,
#works #gnav .works a:before,
#gnav a:hover:before {
	opacity:1;
}

@media screen and (max-width:1200px){
	#header .entry {
		padding:0 2em;
	}
}

@media screen and (max-width:1000px){
	#header .inner {
		-webkit-justify-content:flex-end;
		-moz-justify-content:flex-end;
		-ms-justify-content:flex-end;
		justify-content:flex-end;
	}
	#header .title {
		position:fixed;
		top:0;
		left:0;
	}
	#header .inner #gnav {
		display:block;
		width:100%;
		max-height: 0;
		position:absolute;
		top:100%;
		left:0;
		right:0;
		z-index:999999;
		height:auto;
		border-left:none;
		background:rgba(5,48,91,0.85);
		overflow:hidden;
		transition: 0.5s;
	}
	#header .inner #gnav.drawer_open{
		max-height: 300px;
		transition: 0.5s;
	}
	#header .drawer {
		display:block;
		position: relative;
		width:55px;
		background:#fff;
	}
	
	#header #gnav li {
		padding-top:0.5em;
	}
	
	#header #gnav li:first-child {
		padding-top:1em;
	}
	
	#header #gnav li:last-child {
		padding-bottom:1em;
	}
	
	#header #gnav a {
		display:block;
		background:#fff;
		text-align:center;
		padding:0.5em 0;
	}
	
	#header #gnav a:before {
		display:none;
	}
	
	#header .drawer.active {
		background:rgba(5,48,91,0.85);
	}
	
	#header .drawer,
	#header .drawer span {
		display: inline-block;
		transition: all .4s;
		box-sizing: border-box;
	}
	#header .drawer span {
		position: absolute;
		left: 20%;
		width: 60%;
		height: 4px;
		background-color: #05305B;
		border-radius: 4px;
	}
	#header .drawer span:nth-of-type(1) {
		top: 23%;
		
	}
	#header .drawer span:nth-of-type(2) {
		top: 50%;
		margin-top:-2px;
	}
	#header .drawer span:nth-of-type(3) {
		bottom: 23%;
	}
	
	#header .drawer.active span:nth-of-type(1) {
		top: 50%;
		margin-top:-2px;
		-webkit-transform: rotate(45deg);
		transform:rotate(45deg);
		transform-origin:center center 0;
		background-color:#fff;
	}
	#header .drawer.active span:nth-of-type(2) {
		opacity: 0;
		background-color:#fff;
	}
	#header .drawer.active span:nth-of-type(3) {
		bottom: 50%;
		margin-bottom:-2px;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
		transform-origin:center center 0;
		background-color:#fff;
	}
}

@media screen and (max-width:460px){
	#header {
		background:rgba(5,48,91,0.85);
	}
	#header .inner > * {
		height:40px;
	}
	#header .drawer.active {
		background:none;
	}
	#header .drawer {
		width:40px;
	}
	#header .title {
		padding:0 0.5em;
		background:none;
	}
	#header .title span {
		font-size:1.4rem;
	}
	#header .title span.small {
		font-size:1.2rem;
	}
	#header .entry {
		font-size:1.2rem;
		padding:0 0.7em;
	}
}

/*===========================================================

pagetop

============================================================= */
#pagetop {
	position:fixed;
	right:10px;
	bottom:60px;
	z-index:50;
}

#pagetop img {
	width:50px;
	height:auto;
	opacity:0.8;
}

#pagetop img:hover {
	opacity:1;
}

@media screen and (max-width:640px){
	#pagetop {
		right:5px;
	}
	#pagetop img {
		width:30px;
		height:auto;
	}
}


/*===========================================================

footer

============================================================= */
#footer {
	margin-top:75px;
	background:#fff;
	border-top:1px solid #898989;
}

#footer .ft {
	width:94%;
	max-width:1200px;
	margin:0 auto;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	-webkit-justify-content:center;
	-moz-justify-content:center;
	-ms-justify-content:center;
	justify-content:center;
	padding:15px 0;
}

#footer .ft_nav {
	-webkit-flex:1 1 0%;
	flex:1 1 0%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	-webkit-align-items:center;
	-moz-align-items:center;
	-ms-align-items:center;
	align-items:center;
	-webkit-justify-content:space-between;
	-moz-justify-content:space-between;
	-ms-justify-content:space-between;
	justify-content:space-between;
}

#footer .group_logo {
	padding-left:10%;
}

#footer .privacymark {
	padding-left:2em;
}

#footer .copyright {
	background-color: #05305B;
}
#footer .copyright p {
	font-size:1.2rem;
	color:#fff;
	text-align:center;
	padding:0.5em 0;
}

@media screen and (max-width:1000px){
	#footer .ft {
		padding:15px 0;
	}
	#footer .ft_nav {
		width:100%;
		-webkit-flex:auto;
		flex:auto;
		margin-bottom:20px;
	}
	#footer .group_logo {
		padding-left:0;
	}
	#footer .privacymark {
		padding-left:5%;
	}
}

@media screen and (max-width:640px){
	
	#footer .ft_nav {
		display:block;
	}
	
	#footer .ft_nav li {
		text-align:center;
	}
	#footer .ft_nav li a {
		font-size:1.4rem;
	}
	
	#footer .ft_nav li + li {
		margin-top:1em;
	}
	#footer .copyright p {
		font-size:1rem;
	}
}


/*===========================================================

パーツ

============================================================= */
.btn_type1 a {
	display:inline-block;
	line-height:1.2;
	padding:0.7em 2em;
	border:1px solid #fff;
	position:relative;
	color:#fff;
}

.btn_type1 a:after {
	display:block;
	content:'';
	border:1px solid #fff;
	width:calc( 100% + 5px );
	height:calc( 100% + 5px );
	position:absolute;
	top:-1px;
	left:-1px;
}

.btn_type1 a:hover {
	background:rgba(255,255,255,0.2);
}

/*===========================================================

rel_link

============================================================= */
#rel_link {
	width:94%;
	max-width:1200px;
	margin: 0 auto;
	padding-top:8%;
}

#rel_link .line {
	width:100%;
	max-width:500px;
	margin:0 auto;
	text-align:center;
	position:relative;
}

#rel_link .line:after {
	display:block;
	content:'';
	width:100%;
	height:1px;
	position:absolute;
	top:50%;
	left:0;
	background:#456688;
	z-index:1;
}

#rel_link .line span {
	display:inline-block;
	padding:0 0.8em;
	background:#fff;
	position:relative;
	z-index:2;
}

#rel_link ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	-webkit-justify-content:space-between;
	-moz-justify-content:space-between;
	-ms-justify-content:space-between;
	justify-content:space-between;
}

#rel_link ul li {
	width:48%;
	text-align:center;
	margin-top:1em;
}

#rel_link ul li a {
	display:block;
	padding:0.7em 1em 1em 1em;
	color:#fff;
	line-height:1;
	font-size:2rem;
	font-weight:bold;
	transition: 0.5s;
}

#rel_link ul li a:hover {
	opacity:0.8;
	transition: 0.5s;
}

#rel_link ul li a * {
	color:#fff;
}

#rel_link ul li a .en {
	display:inline-block;
	padding-bottom:8px;
	font-size:1rem;
	letter-spacing:2px;
	line-height:1;
}

#rel_link ul li.works a {
	background:#87C2D9;
}

#rel_link ul li.aboutus a {
	background:#456688;
}

#rel_link ul li.interview a {
	background:#5B89B9;
}

#rel_link ul li.joblist a {
	background:#83C6BE;
}

@media screen and (max-width:700px){
	#rel_link ul li {
		width:100%;
	}
}
@media screen and (max-width:440px){
	#rel_link {
		padding-top:10%;
	}
	#rel_link ul li a {
		font-size:1.8rem;
	}
}