/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */


/* ==========================================================================
   TOP PAGE
   ========================================================================== */

/* --------------------- top main ---------------------*/


.img{
width: 100%;
height: 100vh;
background: url(../img/top/bg_01.png) no-repeat;
background-size: cover;
position: absolute;
z-index: 1;
}

.top__main{
width: 100%;
height: 100vh;
background: linear-gradient(135deg, rgba(255,255,255,0.5),rgba(255,141,51,0.4),rgba(62,45,145,0.6));
background-size: 200% 200%;
animation: AnimationName 6s ease infinite;
position: relative;
z-index: 2;
}
 
@keyframes AnimationName {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}



/*.top__main{
	width: 100vw;
  height: 100vh;
	background: url(img/top/soleil.png), linear-gradient(135deg, #ff8d33, #3e2d91);
	position: relative;
	
		
	background-repeat: no-repeat;
	background-position: 90%;
	background: url(../img/top/bg_01.png) top left no-repeat;
	background-size:cover;
	background-size: cover;
	animation: huerotator 10s ease infinite alternate;
	
}*/


/*@keyframes huerotator {
  0% {background-position:0% 50%  }
50%{background-position:100% 50%}
  100% {background-position:0% 50%  }
}*/

/*@keyframes huerotator {
  0% {
    -webkit-filter: hue-rotate(-20deg);
    filter: hue-rotate(-20deg);
  }

  100% {
    -webkit-filter: hue-rotate(20deg);
    filter: hue-rotate(20deg);
  }
}*/

/*.intro&:before {
    z-index: 0;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:rgba(0,0,0,0.25);
  }*/


.top__main h1{
	position: absolute;
	top: 25px;
	left: 25px;
}



.top__main h2{
	color: #3e2d91;
	font-size: 20px;
	text-align: center;
	position: absolute;
	top: 30%;
	left: 0;
	right: 0;
}

.top__main h2 span{
	color: #fff;
	font-size: 47px;
	font-family: "Khand",sans-serif;
	font-weight: lighter;
	line-height: 1.5;
	letter-spacing: 0.1em;
	text-shadow: 2px 2px 3px rgba(62,45,145,0.4);
	display: block;
	padding: 20px 0 20px 0;
}

.scroll{
	font-family: "Khand",sans-serif;
	font-weight: lighter;
	z-index: 10;
	position: absolute;
	bottom: 20px;
	left: 50%;
	/*transform:translate(-50%,0);*/
	
	/*transition:all 10s ease;
	-webkit-transition:all 1s ease;
	-o-transition:all 1s ease;
	-moz-transition:all 1s ease;
	bottom:0;*/	
}

.scroll a{
	font-size: 21px;
	color: #fff;
	line-height: 100px;
	background:url(../img/allow_01.png) top left no-repeat;
	padding: 0 0 45px 20px;
}

/*.scroll::after{
	transition-delay:10s;
}*/



/* --------------------- MENU ---------------------*/



#nav-toggle {
    position: absolute;
    top: 30px;
    right: 35px;
    height: 60px;
    cursor: pointer;
}
    
#nav-toggle div {
    position: relative;
    width: 42px;
  }

#nav-toggle div span {
    width: 100%;
    height: 4px;
    left: 0;
    display: block;
    background: #fff;
    position: absolute;
    transition: transform .4s ease-in-out, top .4s ease;
}
#nav-toggle .menu__line--top {
      top: 0;
    }
#nav-toggle .menu__line--center{
      top: 14px;
    }
#nav-toggle .menu__line--bottom{
      top: 28px;
    }

#nav-toggle .menu__line--text{
	width: 100%;
    left: 0;
    display: block;
    position: absolute;
	top: 33px;
	font-size: 21px;
	font-family: "Khand",sans-serif;
	color: #fff;
	transition: all 0.8s ease-in-out;
	opacity: 1;
}

#nav-toggle .menu__line--close{
	width: 100%;
    left: 0;
    display: block;
    position: absolute;
	top: 33px;
	font-size: 21px;
	font-family: "Khand",sans-serif;
	color: #fff;
	transition: all 0.8s ease-in-out;
	opacity: 0;
}

.open #nav-toggle .menu__line--top {
      top: 15px;
      transform: rotate(45deg);
}
.open #nav-toggle .menu__line--center {
      top: 15px;
      width: 0;
      left: 50%;
    }
.open #nav-toggle .menu__line--bottom {
      top: 15px;
      transform: rotate(-45deg);
    }
 
.open #nav-toggle .menu__line--text{
	opacity: 0;
}

.open #nav-toggle .menu__line--close{
	opacity: 1;
}

/* z-index */
#nav-toggle {
    z-index: 1000;
}
#container {
    z-index: 900;
}

#gloval-nav {
    background: linear-gradient(135deg,rgba(255,141,51,0.95),rgba(62,45,145,0.95));
    color: #fff;
	position: absolute;
	position: fixed;
	width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    text-align: left;
    display: flex;
    visibility: hidden;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	font-family: "Khand",sans-serif;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
}

#gloval-nav span{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-size: 16px;
	padding-left: 20px;
}

#gloval-nav a {
	font-size: 30px;
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 20px 0;
    transition: color .4s ease;
}

#gloval-nav a:hover {
  color: #3e2d91;
}
  
#gloval-nav ul {
    list-style: none;
}

#gloval-nav ul li {
      opacity: 0;
      transform: translateX(200px);
      transition:  transform .3s ease, opacity .1s ease;
}
      #gloval-nav ul li:nth-child(2) {
        transition-delay: .12s;
      }
      #gloval-nav ul li:nth-child(3) {
        transition-delay: .24s;
      }
      #gloval-nav ul li:nth-child(4) {
        transition-delay: .36s;
      }
      #gloval-nav ul li:nth-child(5) {
        transition-delay: .48s;
      }

#gloval-nav ul li a:before{
	content:"■";
	font-size: 12px;
	vertical-align: middle;
	padding-right: 10px;
}

/* open */
/*.open {
    overflow: hidden;
}*/

.open #nav-toggle{
	position: fixed;
}

.open #gloval-nav {
    visibility: visible;
    opacity: 1;
  }

.open #gloval-nav li {
    opacity: 1;
    transform: translateX(0);
    transition:  transform 0.5s ease, opacity .6s ease;
  }

@media (max-width:750px) {
	
	#nav-toggle {
		top: 20px;
		right: 20px;
	}
	
	#nav-toggle div span {
		height: 3.3px;
	}
	
	#nav-toggle div {
    width: 35px;
 	 }
	
	#nav-toggle .menu__line--center{
		  top: 11px;
		}
	#nav-toggle .menu__line--bottom{
		  top: 22px;
		}

	#nav-toggle .menu__line--text{
		top: 26px;
		font-size: 17px;
	}
	
	#nav-toggle .menu__line--close{
		top: 26px;
		font-size: 17px;
	}

	#gloval-nav ul li {
		  transform: translateX(0px);
	}
	
	#gloval-nav span{
		font-size: 13px;
		padding-left: 10px;
	}

	#gloval-nav a {
		font-size: 23px;
		padding: 20px 0;
	}
	
	#gloval-nav ul li a:before{
		content:"■";
		font-size: 6px;
		vertical-align: middle;
		padding-right: 10px;
	}
}

/* --------------------- top内 共通要素 ---------------------*/

.top .box__ttl {
	font-size: 26px;
}
	
.top .box__ttl span{
	font-size: 50px;
	font-family: "Khand",sans-serif;
}

.top .box__txt {
	padding: 40px 0 40px 0;
}


/* --------------------- top service ---------------------*/

.top .top__service .box__ttl {
	background: url(../img/icon_02.svg) top left no-repeat ;
	background-size: 17px auto;
	padding: 60px 0 0 0;
}

.top .top__service{
	background: url(../img/top/img_01.jpg) no-repeat ;
	background-size: cover;
	background-position: 50% 100%;
}

.top .service__inner{
	padding: 50px;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.top .service__box{
	background: rgba(255,255,255,0.8);
	box-sizing: border-box;
	padding: 50px;
	max-width: 548px;
}

.btn a{
	border: #fff 1px solid;
}

/* --------------------- top company ---------------------*/

.top .top__company .box__ttl {
	background: url(../img/icon_03.svg) top left no-repeat ;
	background-size: 53px auto;
	padding: 45px 0 0 0;
}

.top .top__company{
	padding: 100px 50px 100px 50px;
}

.top .company__img{
	float: left;
	width: 52%;
	max-width: 610px;
	padding:35px 0 0 0;
}

.top .company__box{
	float: right;
	max-width: 471px;
	width: 44%;
}



/* ==========================================================================
   RESPONSIVE
   ========================================================================== */


@media (max-width:1300px) {
	
	/* --------------------- top main ---------------------*/
	
	.img{
	width: 100%;
	height: 100vh;
	background: url(../img/top/bg_02.png) no-repeat;
	background-size: cover;
	position: absolute;
	z-index: 1;
	}
	
	.top__main{
	width: 100%;
	height: 100vh;
	background: linear-gradient(155deg, rgba(255,255,255,0.5),rgba(255,141,51,0.4),rgba(62,45,145,0.6));
	background-size: 300% 100%;
	animation: AnimationName 5s ease infinite;
	position: relative;
	z-index: 2;
	}
	
	/* --------------------- top service ---------------------*/
	
	.top .service__inner{
		padding: 50px 40% 50px 50px;
	}


@media (max-width:750px) {
	
	/* --------------------- top main ---------------------*/
	
	header h1{
		padding: 0px 0px;
	}
	
	header h1 img{
		width: 160px;
		height: auto;
	}
	
	.top__main h2{
		font-size: 14px;
		position: absolute;
		top: 35%;
		left: 0;
	}
	
	.top__main h2 span{
		font-size: 26px;
		line-height: 1.2;
		padding: 10px 20px 20px 20px;
	}
	
	.top__main h2 img{
		vertical-align: bottom;
		width: 50px;
	}
	.scroll{
		display: none;
	}
	
	
	
	/* --------------------- top common ---------------------*/
	
	.top .box__ttl {
		font-size: 15px;
	}
	
	.top .box__ttl span{
		font-size: 33px;
	}
	
	.top .box__txt {
		padding: 30px 0 30px 0;
	}
	
	/* --------------------- top service ---------------------*/
	
	.top .service__sp{
		width: 100%;
		height: auto;
	}
	
	.top .top__service{
		background:none;
	}

	.top .service__inner{
		padding: 50px 20px 50px 20px;
		width: 100%;
	}

	.top .service__box{
		background:none;
		padding: 0px;
		max-width: none;
		opacity: 1;
	}
	
	.top .top__service .box__ttl {
		background: url(../img/icon_02.svg) top left no-repeat ;
		background-size: 13px auto;
		padding: 50px 0 0 0;
	}
	
	.top .service__btn a{
		margin: 0 auto;
	}
	
	/* --------------------- top company ---------------------*/
	
	.top .top__company{
		padding: 50px 20px 40px 20px;
	}
	.top .company__img{
		float: none;
		width: 100%;
		padding:50px 0 0 0;
	}
	
	.top .company__box{
		float: none;
		width: 100%;
		max-width: none;
	}
	
	.top .top__company .box__ttl {
		background: url(../img/icon_03.svg) top left no-repeat ;
		background-size: 45px auto;
		padding: 40px 0 0 0;
	}

}
