
/* TOP */
main{
	height:100%
}
#home #top{
	/*
	background:url(../images/index/top1.jpg);
	background-size:cover;
	*/
	height: 100%;
	position:relative;
	padding:15px;
	box-sizing:border-box;
}

#top_images{
	height: 100%;
	width: 100%;
	position: absolute;
	left:0;
	top:0;
	overflow: hidden;
}
#top_images span{
	display: block;
	background-size:cover;
	position: absolute;
	height: 100%;
	width: 100%;
	left:0;
	top:0;
	opacity:0;
  	transition:all 0;
  	z-index: -1;
}
#top_images #top_image1{
	background-image:url(../images/index/top1.jpg);
}
#top_images #top_image2{
	background-image:url(../images/index/top2.jpg);
}
#top_images #top_image3{
	background-image:url(../images/index/top3.jpg);
}
#top_images #top_image4{
	background-image:url(../images/index/top4.jpg);
}
#top_images #top_image5{
	background-image:url(../images/index/top5.jpg);
}
#top_images span.display_first{
	opacity: 1;
	transform:scale(1);
	animation:anime_top_image0 6000ms linear 0s;
	z-index: 2;
}
@keyframes anime_top_image0{
	0%{
		opacity:1;
		transform:scale(1);
	}
	50%{
		opacity:1;
	}
	100%{
		transform:scale(1.05);
		opacity:1;
	}
}
#top_images span.display{
	opacity: 0;
	transform:scale(1);
	animation:anime_top_image1 6000ms linear 0s;
	z-index: 2;
}
@keyframes anime_top_image1{
	0%{
		opacity:0;
		transform:scale(1);
	}
	50%{
		opacity:1;
	}
	100%{
		transform:scale(1.05);
		opacity:1;
	}
}

#top_images span.hide{
	opacity:1;
	transform:scale(1.1);
	animation:anime_top_image2 linear 3000ms 0s;

}
@keyframes anime_top_image2{
	0%{
		opacity:1;
		transform:scale(1.05);
	}

	100%{
		opacity:0;
		transform:scale(1.075);
	}
}


#home #top h1 img{
	position:absolute;
	width:600px;
	height:201px;
	top:50%;
	left:50%;
	margin:-100px 0 0 -300px;
}
#home #top ul{
	padding:20px 0;
	display:block;
    text-align:center;
	width: 980px;
	margin: 0 auto 0;
}



#home #top li{
	padding:0 30px;
	position: relative;
}





/* -　■■■　トップ・ナビホバーアクションデザイン　- */


#home #top li:before,
#home #top li:after
{
	
	position: absolute;
  top: 6em;
	/*
  left: 25px;
	*/
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: .3s;

		
}


#home #top li:before{
  left: 50%;
}

#home #top li:after{
  right: 50%;
}



/* -　ナビホバーアクション：office　- */

#home #top li:hover:nth-child(1):before,
#home #top li:hover:nth-child(1):after{
  width: 30%;
}


/* -　ナビホバーアクション：practices　- */

#home #top li:hover:nth-child(2):before,
#home #top li:hover:nth-child(2):after{
  width: 35%;
}

/* -　ナビホバーアクション：flow　- */

#home #top li:hover:nth-child(3):before,
#home #top li:hover:nth-child(3):after
{
  width:27.5%;
}

/* -　ナビホバーアクション：ロゴ部分　- */

#home #top li:nth-child(4):before,
#home #top li:nth-child(4):after
{
	
  position: absolute;
  top: 6em;
  left: 25px;
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: .3s;
		
}

#home #top li:hover:nth-child(4):before,
#home #top li:hover:nth-child(4):after
{
  width: 0;
}


/* -　ナビホバーアクション：recruit　- */

#home #top li:hover:nth-child(5):before,
#home #top li:hover:nth-child(5):after{
  width: 32.5%;
}

/* -　ナビホバーアクション：news　- */

#home #top li:hover:nth-child(6):before,
#home #top li:hover:nth-child(6):after{
  width: 30%;
}

/* -　ナビホバーアクション：contact　- */

#home #top li:hover:nth-child(7):before,
#home #top li:hover:nth-child(7):after{
  width: 35%;
}






#home #top li img{
	height: 75px;
	width: auto;
}
#home #top #content{
	position: relative;
	border:2px solid #fff;
	height:100%;
	box-sizing:border-box;
	z-index: 2;
}


/* トップスクロール */

#home #top #scroll{
	position:absolute;
	top:93%;
	left:50%;
    margin:-74px 0 0 -4px;
	z-index: 2;
	display: inline-block;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	text-decoration: none;
	padding-top: 70px;
}


div#scroll img{
	
	width: 65%;
	height: auto;
}

/* トップスクロール　縦線 */

#scroll span {
	position: absolute;
	top: 110px;
	left: 25%;
	
	display: inline-block;
    width: 1px;
    height: 80px;
    background-color:#ffffff;
	/*
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin-left: -12px;
	*/
	-webkit-transform: rotate(-45deg);
	transform: rotate(0deg);
	-webkit-animation: sdb 1.5s infinite;
	animation: sdb 3s infinite;
	box-sizing: border-box;
}




/* トップスクロールのアニメーション */


@-webkit-keyframes sdb {
	0% {
		-webkit-transform: rotate(0deg) translate(0, 0);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		-webkit-transform: rotate(0deg) translate(0px, 40px);
		opacity: 0;
	}
}
@keyframes sdb {
	0% {
		transform: rotate(0deg) translate(0, 0);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: rotate(0deg) translate(0px, 40px);
		opacity: 0;
	}
}	






/* -企業理念- */
#home #philosophy{
	background-color:#e2e3e3;
	background-image:url(../images/index/philosophy_back.png);
	background-size:contain;
	padding:90px 0;
}
#home #philosophy #philosophy_text{
	background-color:rgba(255,255,255,0.9);
	width:600px;
	margin:0 auto;
	padding:30px;
	position:relative;
}
#philosophy_text:after{
	content: "";
    display: block;
    border: 2px solid #fff;
    width: calc(660px + 14px);
    height: calc(460px + 24px);
	position: absolute;
	top: -9px;
    left:-9px;
}
#home #philosophy #philosophy_sousyoku{
	position:absolute;
	top:15%;
	right:4%;
    margin:-42px 0 0 -53px;
}
#home #philosophy #philosophy_sousyoku2{
	position:absolute;
	top:17%;
	left:9%;
    margin:-50px 0 0 -42px;
}
#home #philosophy h2{
	margin:42px 0;
}
#home #philosophy p{
	text-align:center;
}
#home #philosophy h3{
	font-size:25px;
	font-family:YuMincho, '游明朝', serif;
	font-weight:400;
	text-align:center;
	margin:30px 0;
}
#philosophy_text{
	height: 410px;
}


/* -取扱い業務- */
#home #practices table{
	width:100%;
}
#home #practices #p_table_2 td{
	width:30%;
}
#home #practices td img{
	display:block;
	margin:0 auto;
}
#home #practices #p_1{
	background:url(../images/index/practices_1.jpg);
	background-size:cover;
}
#home #practices #p_2{
	background:url(../images/index/practices_2.jpg);
	background-size:cover;
}
#home #practices #p_3{
	background:url(../images/index/practices_3.jpg);
	background-size:cover;
}
#home #practices #p_4{
	background:url(../images/index/practices_4.jpg);
	background-size:cover;
}
#home #practices #p_5{
	background:url(../images/index/practices_5.jpg);
	background-size:cover;
}
#home #practices #p_6{
	background:url(../images/index/practices_6.jpg);
	background-size:cover;
}
#home #practices #p_7{
	background:url(../images/index/practices_7.jpg);
	background-size:cover;
}
#home #practices .p_back{
	background-color:#c9bb88;
	position:relative;
	height:240px;
	padding:5px;
}
#home #practices .p_back:before{
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    right: 8px;
    bottom: 8px;
    margin: auto;
    border: 1px solid #fff;
}

#home #practices td .practices_text{
	font-size:14px;
	color:#fff;
	line-height:1.8;
	width:180px;
	position:absolute;
	top:50%;
	left:50%;
	margin:-50px 0 0 -90px;
	text-align:justify;
}

#home #practices td img {
    display: block;
    margin: 0 auto;
    width: 100%;
	height:auto;
}
#home #practices td .yazirusi {
       display: block;
    width: auto;
    position: absolute;
    top: 50%;
    left: 0;
    margin: -10px 0 0 -15px;
}
#home #practices td .left_yazirusi {
       display: block;
    width: auto;
    position: absolute;
    top: 50%;
    right:-15px;
    margin: -10px 0 0 -15px;
}
#home #practices td .top_yazirusi {
       display: block;
    width: auto;
    position: absolute;
	top:0;
    right:45%;
    margin: -15px 0 0 0;

}
#home #practices td .under_yazirusi {
    display: block;
    width: auto;
    position: absolute;
    top:105%;
    right: 45%;
    margin: -18px 0 0 0;
}


/* -お知らせ- */
#home #news table{
	border-collapse: separate;
    border-spacing: 0px 15px;
	margin: -18px 0 0 0;
}
#home #news tr{
	margin-bottom:-10px;
	display: block;
}
#home #news tr:after{
 content: "";
 border-bottom: 1px solid #eaeaea;
 display: block;
    margin-left: 47px;
 position: relative;
  top: -15px;
}
#home #news tr:nth-of-type(4):after{
 border-bottom: none;
}
#home #news th{
	background:url(../images/index/hiduke.png);
	background-size:cover;
	width:73px;
	height:54px;
	font-size:14px;
	font-weight:normal;
	position:relative;
}
#home #news th p.year{
	font-size:12px;
	font-weight:normal;
	position:absolute;
	top:-5px;
}
#home #news th p.day{
	font-size:12px;
	font-weight:normal;
	color:white;
	position:absolute;
	top:18px;
	left:32px;
}
#home #news td{
	font-size:14px;
	vertical-align:middle;
	padding-left:20px;
}
#home #news a{
	text-decoration:none;
	color:#424242;
}

/* -地図- */

#home #access h3{
	
	margin:30px 0;
	
}


#home #access #map{
	margin-top:-300px;
	background-color:#E7E7E7;
	height:300px;
}
#home #access #address{
	background-color:#c9bb88;
	width:370px;
	height:290px;
	color:white;
	padding:5px;
	position:relative;
	z-index: 10;
}
#home #access #address:before{
content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    right: 8px;
    bottom: 8px;
    margin: auto;
    border: 1px solid #fff;
}
#home #access #ad_text{
	width:227px;
	margin:0 auto;
	margin-top:70px;
	letter-spacing:0.03em;
	
}#home #access #ad_text p{
	margin-bottom:15px;
}




#home #access #map_2{
	margin-top:-300px;
	background-color:#E7E7E7;
	height:300px;
}
#home #access #address_2{
	background-color:#c9bb88;
	width:370px;
	height:290px;
	color:white;
	padding:5px;
	position:relative;
	z-index: 10;
	margin-left: 600px;
}
#home #access #address_2:before{
content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    right: 8px;
    bottom: 8px;
    margin: auto;
    border: 1px solid #fff;
}
#home #access #ad_text_2{
	width:210px;
	margin:0 auto;
	margin-top:55px;
}#home #access #ad_text p_2{
	margin-bottom:15px;
}



/* -フッター- */
footer{
	background-color:#545454;
	text-align:center;
	color:white;
}
footer a{
	color:white;
	text-decoration:none;
	font-size:12px;
	display:block;
	margin-bottom:20px;
}
footer #footerlogo{
	padding-top:50px;
}
footer p{
	text-align:center;
	margin-top:40px;
}
footer ul{
	width:980px;
	height:auto;
	margin:30px 0 30px -20px;
}
footer li{
	padding:0 20px;
}
footer #copy{
	background-color:#454545;
	display:block;
	position:relative;
	height:54px;
	width:100%
}
footer #copy p{
	font-size:12px;
	padding-top:18px;
}
footer #copy #pagetop a{
	margin-bottom:-20px;
	display:block;
	width:54px;
	position:absolute;
	top:0;
	right:0;
}
