#mainvisual {
	background: url(../../images/mainvisual.jpg) center center no-repeat #1f227d;
	height: 560px;
}
.tablet #mainvisual {
	height: 400px;
	background-size: cover;
}
.sp #mainvisual {
	height: 200px;
}
#mainvisual > div {
	position: relative;
	width: 100%;
	max-width: 1240px;
	margin: auto;
	padding: 0px 20px;
	display: table;
	height: 560px;
}
.sp #mainvisual > div {
	padding: 0px 10px;
}
.tablet #mainvisual > div {
	height: 400px;
}
.sp #mainvisual > div {
	height: 200px;
}
#mainvisual > div p {
	display: table-cell;
	vertical-align: middle;
	font-size: 40px;
	line-height: 1.8;
	color: #fff;
	padding-left: 40px;
	padding-bottom: 150px;
	letter-spacing: 5px;
}
.tablet #mainvisual > div p {
	font-size: 30px;
}
.sp #mainvisual > div p {
	font-size: 20px;
	text-align: center;
	padding-bottom: 0px;
	padding-left: 0px;
	text-shadow: 2px 2px 3px #333;
}

body#home2 #mainvisual {
	background: url(../../images/mainvisual2.jpg) center center no-repeat #1f227d;
	height: 900px;
}
.tablet body#home2 #mainvisual {
	height: 400px;
	background-size: cover;
}
.sp body#home2 #mainvisual {
	height: 200px;
}
body#home2 #mainvisual > div {
	height: 900px;
}
.tablet body#home2 #mainvisual > div {
	height: 400px;
}
.sp body#home2 #mainvisual > div {
	height: 200px;
}

@media screen and (max-width: 767px) {
  #mainvisual {
		background: url(../../images/mainvisual_sp.jpg) center center no-repeat;
		background-size: cover;
  }
}
#toplink {
	position: relative;
	z-index: 10;
	margin-top: -150px;
}
.sp #toplink {
	padding: 30px 10px;
	margin-top: 0px;
	background: #ffffff;
}
#toplink > div {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: auto;
	padding: 0px 0;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 40px;
}
.sp #toplink > div {
	padding: 0px 0;
}
#toplink ul:after {
	content: "";
	display: block;
	clear: both;
}
#toplink ul li {
	float: left;
	width: 32%;
	background: #fff;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	position: relative;
	top: 0px;
}
#toplink ul li:hover {
	top: -10px;
	box-shadow: 9px 9px 9px rgba(0, 0, 0, 0.4);
}
.tablet #toplink ul li:hover {
	top: 0;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}
#toplink ul li + li {
	margin-left: 2%;
}
.sp #toplink ul li + li {
	border-top: 1px solid #aeb1c2;
}
#toplink ul a {
	position: relative;
	display: block;
	width: 100%;
	height: 180px;
	color: #fff;
	padding-top: 130px;
	text-align: center;
	text-decoration: none;
	font-size: 22px;
	font-size: 1.375rem;
	line-height: 24.2px;
	line-height: 1.5125rem;
}
.sp #toplink ul a {
	height: 140px;
	padding-top: 100px;
	font-size: 18px;
	font-size: 1.125rem;
	line-height: 19.8px;
	line-height: 1.2375rem;
}
#toplink ul a.recruit {
	background: url(../../images/toplink01.svg) center 45px no-repeat #0050a0;
	background-size: 95px 60px;
}
.sp #toplink ul a.recruit {
	background-position: center 35px;
	background-size: 62px 40px;
}
#toplink ul a.ir {
	background: url(../../images/toplink02.svg) center 45px no-repeat #0050a0;
	background-size: 75px 60px;
}
.sp #toplink ul a.ir {
	background-position: center 35px;
	background-size: 50px 40px;
}
#toplink ul a.company {
	background: url(../../images/toplink03.svg) center 45px no-repeat #0050a0;
	background-size: 42px 60px;
}
.sp #toplink ul a.company {
	background-position: center 35px;
	background-size: 28px 40px;
}

#emergency {
	text-align: center;
	padding-top: 20px;
}
#emergency > div {
	position: relative;
	width: 100%;
	max-width: 1240px;
	margin: auto;
	padding: 0px 20px;
}
.sp #emergency > div {
	padding: 0px 10px;
}
#emergency p {
	line-height: 1.5;
	color: #000;
}
#emergency p + p {
	margin-top: 15px;
}
#emergency p a {
	color: #000;
}

#topnews {
	position: relative;
	padding-top: 40px;
	padding-bottom: 60px;
}
.sp #topnews {
	padding-top: 20px;
	background: #ffffff;
}
#topnews > div {
	position: relative;
	width: 100%;
	max-width: 1240px;
	margin: auto;
	padding: 0px 20px;
}
.sp #topnews > div {
	padding: 0px 10px;
}
#topnews .title {
	position: relative;
	text-align: center;
}
.sp #topnews .title {
	position: static;
	width: 100%;
}
#topnews .title > div {
	font-size: 36px;
	font-size: 2.25rem;
	line-height: 39.6px;
	line-height: 2.475rem;
	font-weight: bold;
}
.sp #topnews .title > div {
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 26.4px;
	line-height: 1.65rem;
}
#topnews .title a.rss {
	position: absolute;
	right: 0;
	top: 0;
	width: 42px;
	height: 42px;
	background: #0050a0;
	padding: 5px;
}
.sp #topnews .title a.rss {
	width: 32px;
	height: 32px;
	padding: 5px;
	right: 10px;
}
#topnews .title a.rss img {
	width: 32px;
	height: 32px;
}
.sp #topnews .title a.rss img {
	width: 22px;
	height: 22px;
}
#topnews p.archive {
	margin-top: 20px;
	text-align: center;
}
#topnews p.archive a {
	position: relative;
	display: inline-block;
	min-width: 180px;
	padding: 15px 20px;
	font-size: 18px;
	font-size: 1.125rem;
	line-height: 19.8px;
	line-height: 1.2375rem;
	color: #fff;
	text-align: center;
	background: #0050a0;
	cursor: pointer;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	position: relative;
	top: 0px;
	letter-spacing: 0;
	font-weight: bold;
	text-decoration: none;
}
#topnews p.archive a:hover {
	top: -5px;
	box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.4);
}
.tablet #topnews p.archive a:hover {
	top: 0;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.sp #topnews p.archive a {
	min-width: 0;
	padding: 10px;
	width: 100%;
}
