@charset "utf-8";

/*________________________________________________

	name:			top_sp.css
	create Date:	2018-12-19
	lastmodified:	****-**-**
________________________________________________*/

/*--------------------------------------------------------------
  #header
--------------------------------------------------------------*/
.header {
	display: block;
	clear: both;
	width: 100%;
	margin: 0;
	padding: 10px 0!important;
	text-align: center;
    position: absolute;
    z-index: 100;
}
/*--------------------------------------------------------------#hlogo*/
#hlogo h1,
#hlogo a {
	background-image: url("../img/common/hlogo_top.png");
}
/*--------------------------------------------------------------menu*/
.menu a {
	background: url("../img/sp/menu_top.png") right top no-repeat;
}

/* #slider
============================== */
#slider {
	display: block;
    clear: both;
	width: 100%;
	height: 100vh;
    margin: 0;
	padding: 0;
    top: 0px;
	text-align: center;
	position: relative;
    overflow: hidden;
}
#slider img, .swiper-slide img {
	display: block;
	width: auto;
	height: 100%;
	margin: 0;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
.swiper-container {
    display: block;
	width: auto;
	height: 100%;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.swiper-slide {
	overflow: hidden;
	width: 100%;
	height: 100%;
	text-align: center;
    background-color: #000;
}
.swiper-slide-active div { animation:swiper-slide-duplicate-active 4000ms ease-in-out forwards; }
@keyframes swiper-slide-duplicate-active {
	0% { transform:scale(1.2); opacity: 0.8; }
	100% { transform:scale(1); opacity: 1; }
}
.swiper-slide div {
    display: block;
	width: 100%;
	height: 100%;
}
/*--------------------------------------------------------------.slidemessage_wrap*/
.slidemessage_wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 280px;
    height: 37px;
    background-image: url("../img/slide/message.png");
    background-position: center center;
    background-repeat: no-repeat;
	background-size: 280px auto;
	-webkit-background-size: 280px auto;
    z-index: 100;
}
.slidemessage_wrap span {
    display: block;
    width: 280px;
    height: 37px;
    position: relative;
    z-index: -1;
    overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}

/* #tmp_news_wrap
============================== */
#tmp_news_wrap {
	display: block;
	clear: both;
	width: auto;
	height: auto;
	margin: 0 auto;
	padding: 40px 10px;
	text-align: left;
}
.news_wrap {
	clear: both;
	width: auto;
	height: auto;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}
/*clearfix*/
.news_wrap:after {
	content: "";
	display: table;
	clear: both;
}
.news_ttl {
    clear: both;
	width: auto;
	height: auto;
	margin: 0 0 12px 0;
	padding: 0;
	text-align: left;
    border-bottom: 1px #cdcdcd solid;
    position: relative;
    font-size: 142.8%;
}
.news_ttl:after {
position: absolute;
content: " ";
display: block;
border-bottom: 4px #e60011 solid;
bottom: -2px;
width: 6em;
}
.news_ttl_txt {
    display: inline-block;
    vertical-align: baseline;
    font-family: 'Roboto', sans-serif;
    color: #e60011;
}
.news_ttl_btn {
    display: inline-block;
    float: right;
    margin: 0 0 0 auto;
    padding-top: 0.8em;
    vertical-align: baseline;
    font-size: 60%;
}
.news_ttl_btn a {
    display: inline-block;
    margin: 0 0 0 auto;
    padding: 0 0 0 18px;
    background-image: url("../img/common/arrow.png");
    background-position: left center;
    background-repeat: no-repeat;
    color: #000;
    text-decoration: none;
    text-align: left;
}
.news_ttl_btn a:hover {
    text-decoration: underline;
}

/* #tmp_banner_wrap
============================== */
#tmp_banner_wrap {
	display: block;
	clear: both;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
    background-color: #000;
	text-align: center;
}
#tmp_banner_wrap a, #tmp_banner_wrap a:hover {
    color: #fff;
    text-decoration: none;
}
.banner_wrap {
	clear: both;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
    font-size: 142.8%;
    font-weight: bold;
    text-align: center;
}
/*clearfix*/
.banner_wra:after {
	content: "";
	display: table;
	clear: both;
}
.btn_company, .btn_work, .btn_product, .btn_recruit {
	-js-display: flex;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flexbox;
	display: -moz-flexbox;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	flex-flow: row wrap;
    clear: both;
    width: 100%;
	height: 200px;
	margin: 0;
	padding: 0;
    background-position: center center;
    background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
}
.btn_company span, .btn_work span, .btn_product span, .btn_recruit span {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items: center; /* 縦方向中央揃え */
	-webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
	justify-content: center; /* 横方向中央揃え */
    width: 120px;
	height: 120px;
	margin: 40px auto 0 auto;
    font-weight: bold;
    border: 1px #fff solid;
}
.btn_company a, .btn_work a, .btn_product a, .btn_recruit a {
    width: 100%;
    height: 100%;
}
.btn_company:hover span, .btn_work:hover span, .btn_product:hover span, .btn_recruit:hover span {
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-background-color: rgba(0, 0, 0, 0.3);
    -moz-background-color: rgba(0, 0, 0, 0.3);
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	transition: all  0.6s ease;
}
.btn_company {
    background-image: url("../img/top/bg_conpany.jpg");
}
.btn_work {
    background-image: url("../img/top/bg_work.jpg");
}
.btn_product {
    background-image: url("../img/top/bg_product.jpg");
}
.btn_recruit {
    background-image: url("../img/top/bg_recruit.jpg");
}
