@charset "utf-8";

.slider-wrapper {
	position: relative;
	margin-bottom: 80px;
}

.slider-wrapper .head-sns.sns-icons {
	bottom: 25px;
	right: 25px;
}

article {
	margin-top: 0;
}

.sliderBG {
	height: calc(100vh - 100px);
}
ul.sliderBG > li {
	height: 100%;
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-size: cover;
}

ul.sliderBG > li:first-of-type {
	background-image: url('../images/top_img02-01_rev1.jpg');
}
ul.sliderBG > li:nth-of-type(2) {
	background-image: url('../images/top_img02-02_rev1.jpg');
}
ul.sliderBG > li:nth-of-type(3) {
	background-image: url('../images/top_img02-03_rev1.jpg');
}
ul.sliderBG > li:nth-of-type(4) {
	background-image: url('../images/top_img02-04_rev1.jpg');
}
ul.sliderBG > li:nth-of-type(5) {
	background-image: url('../images/top_img02-05_rev1.jpg');
}

.slider {
	display: none;
}
@media screen and (min-width: 961px) {
	ul.sliderBG > li:first-of-type,
	ul.sliderBG > li:nth-of-type(3) {
		background-position: right 10% top;
	}
}

@media screen and (max-width: 960px) {
	/*.sliderBG {
		display: none;
	}
	ul.sliderBG > li {
		height: 0;
	}
	.slider {
		display: inherit;
	}*/
	ul.sliderBG > li {
		/*height: 66.67vw;*/
		height: 50vw;
		/*height: 45.50594vw;*/
	}
}

.top-banner,
.urgent-recruit {
	max-width: 660px;
	margin-top: 60px;
	margin-bottom: 60px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.top-banner > p,
.urgent-recruit > p {
	margin-top: 1em;
	margin-bottom: 1em;
}

.top-banner a,
.urgent-recruit a {
	color: inherit;
}
.top-banner a:hover img,
.urgent-recruit a:hover img {
	opacity: 0.7;
}
.urgent-recruit {
	color: #f05a24;
}

.top-sdgs {
	width: 400px;
	margin-top: 100px;
	margin-bottom: 100px;
}

.to-news {
	position: absolute;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	bottom: -20px;
	width: 40px;
	height: 40px;
	border: 2px solid #333;
	border-radius: 40px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #fff;
}

.to-news a {
	display: block;
	width: 100%;
	height: 100%;
}

.to-news a .wrapper-scroll-down {
	display: block;
}

.to-news a .wrapper-scroll-down:after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	position: relative;
	top: 6px;
	right: 0;
	left: 0;
	margin: auto;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/*http://www.midori-japan.co.jp/md/mdpaper/*/
.to-news a:hover .wrapper-scroll-down {
	-webkit-animation: bottomline-hover 1s cubic-bezier(.19,1,.22,1)1;
	animation: bottomline-hover 1s cubic-bezier(.19,1,.22,1)1;
}
@-webkit-keyframes bottomline-hover {
  0% {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
  }

  50% {
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	opacity: 0;
  }

  51% {
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
	opacity: 0;
  }

  to {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
  }
}


@keyframes bottomline-hover {
  0% {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
  }

  50% {
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	opacity: 0;
  }

  51% {
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
	opacity: 0;
  }

  to {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
  }
}
/*end*/

/*事業所リンクマップ*/
.office-innermap {
	margin-top: 80px;
	margin-bottom: 60px;
}
.office-innermap .pic {
	width: 624px;
	height: 636px;
	margin-right: auto;
	margin-left: auto;
}
.top-section-title {
	position: relative;
	font-size: 20px;
	line-height: 32px;
	font-weight: bold;
	text-align: center;
}
.top-section-title:before {
	content: "";
	display: block;
	padding-bottom: 70px;
}
.top-section-text:after {
	content: "";
	position: absolute;
	width: 80px;
	height: 85px;
	bottom: 40px;
	margin-left: 0;
	background: url(../images/butterfly.jpg) no-repeat scroll;
	background-position: center;
	background-size: contain;
}
.top-section-text a {
	color: inherit;
	text-decoration: none;
}
.top-section-text a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.top-section-title:after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin: 20px auto 60px;
	background-color: #edb32b;
}

/*更新履歴（カスタムフィールド）*/
.news {
	margin: 0 auto 100px;
}
.news-list {
	font-size: 18px;
	line-height: 45px;
}

.news-list:after {
	content: "";
	display: table;
	clear: both;
}

.news-list a {
	color: #00acb9;
}
.news-list a:hover {
	opacity: 0.8;
	text-decoration: none;
}

.news-list > dt {
	float: left;
	height: 45px;
}

.news-list > dt .date {
	display: inline-block;
	width: 140px;
	margin-top: 7px;
	line-height: 30px;
	text-align: center;
	background-color: #808080;
	color: #fff;
}
.news-list > dd {
	margin-left: 215px;
}

.news-list > dd > ol,
.news-list > dd > ul,
.news-list > dd > dl {
	margin-left: 27px;
}

.news-list > dd > dl > dd {
	margin-left: 27px;
}

.news .news-reminder {
	color: #390;
	margin-left: 72px;
}

.news .news-important {
	color: #f30;
}

.news .news-reminder:before {
	content: "※";
	display: inline;
	margin-left: -18px;
}

.scroll-pane {
	/*max-width: 800px;*/
	min-width: 200px;
	width: 720px;
	height: 720px;
	margin: 60px auto;
	padding: 10px 20px;
	/*padding: 40px 80px 40px 100px;*/
	/*border: solid 1px #BBBBBB;*/
}

.jspVerticalBar {
	width: 7px;
}

.jspVerticalBar,
.jspTrack {
	background-color: transparent;
}

.jspDrag {
	background-color: #edb32b;
}

@media screen and (max-width: 960px) {
	.slider-wrapper .head-sns.sns-icons {
		bottom: 19px;
		right: 19px;
	}
	.top-banner,
	.urgent-recruit {
		margin-top: 40px;
		margin-bottom: 40px;
		font-size: 16px;
	}
	.top-sdgs {
		width: 75%;
		margin-top: 60px;
		margin-bottom: 60px;
	}
	.to-news,
	.office-innermap {
		display: none;
	}
	.office-innermap {
		width: 80%;
	}
	.top-section-title {
		font-size: 16px;
		line-height: 24px;
	}
	.news-list {
		font-size: 14px;
		line-height: 30px;
	}

	.news-list > dt {
		float: inherit;
		height: 30px;
	}

	.news-list > dt .date {
		width: 120px;
		margin-top: 3px;
		line-height: 24px;
	}

	.news-list > dd {
		margin-left: inherit;
	}

	.news-list > dd > ol,
	.news-list > dd > ul,
	.news-list > dd > dl {
		margin-left: 14px;
	}

	.news-list > dd > dl > dd {
		margin-left: 14px;
	}

	.news .news-reminder {
		margin-left: 28px;
	}

	.news .news-reminder:before {
		margin-left: -14px;
	}

	.scroll-pane {
		width: 70%;
		height: 400px;
		padding: 10px 20px;
	}
}

@media screen and (max-width: 600px) {
	.news .news-title-text:after {
		width: 60px;
		height: 63px;
		bottom: 35px;
	}
}

@media screen and (min-width:301px) and (max-width:450px) {
	.slider-wrapper .head-sns.sns-icons {
		bottom: calc(8vw - 17px);
		right: calc(8vw - 17px);
	}
}
@media screen and (max-width:300px) {
	.slider-wrapper .head-sns.sns-icons {
		bottom: 7px;
		right: 7px;
	}
}
