@charset "utf-8";

/*========= ローディング画面のためのCSS ===============*/
/*#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background:#3074BB;
	z-index: 9999999;
	text-align:center;
	color:#fff;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
}*/

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
/*.splashbg1,
.splashbg2{
    display: none;
}*/

/*bodyにappearクラスがついたら出現*/
/*body.appear .splashbg1,
body.appear .splashbg2{
	display:block;
}*/

/*上に消えるエリア*/
/*body.appear .splashbg1{
	animation-name:PageAnime;
	animation-duration:1.4s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
	left:0;
    transform: scaleY(1);
    background-color:#3074BB;
}*/
/*
@keyframes PageAnime{
	0% {
		transform-origin:top;
		transform:scaleY(1);
	}

	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}*/

/*下に消えるエリア*/
/*body.appear .splashbg2{
    animation-name:PageAnime2;
	animation-duration:1.4s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
	left:0;
    transform: scaleY(1);
    background-color:#3074BB;
}*/
/*
@keyframes PageAnime2{
	0% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
}*/

/*画面遷移の後現れるコンテンツ設定*/
/*#container{
	opacity: 0;
    position: relative;
    z-index: 1;
}*/

/*bodyにappearクラスがついたら出現*/
/*body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay:0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}*/


#header{
    /*fixedで上部固定*/
	position: fixed;
	width:100%;
    height: 60px;
    z-index: 99;
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
}

@media screen and (max-width:768px) {
#header{
    height:60px;
}

}

/*　上に上がる動き　*/

#header.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
	animation: DownAnime .5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

@media screen and (max-width:1900px) {

/*アクティブになったエリア*/
#g-nav.panelactive{
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #3074BB;
	transform: scale(0);
	/*right:-50px;
    bottom:-50px;*/
    transition: all 1s;
}

.circle-bg.circleactive{
	transform: scale(50);
}

#g-nav-list{
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block;
}

#g-nav ul {
	opacity: 0;
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    opacity:1;
}


#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;
animation-fill-mode:forwards;
opacity:0;
}


#g-nav li{
	text-align: center;
	list-style: none;
    margin: 0 0 10px 0;
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	font-weight: normal;
}


}

@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

.openbtn{
    display: none;
}

.openbtn .icon-menu {
  padding: 10px;
}

@media screen and (max-width:1900px) {

.openbtn{
    display: block;
	position:fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	cursor: pointer;
    width: 60px;
    height: 60px;
    color: #fff;
    background:#3074BB;
}


.openbtn i{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    top: 20px;
    left: 20px;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top: 16px;
}

.openbtn span:nth-of-type(2) {
	top: 26px;
}

.openbtn span:nth-of-type(3) {
	top: 37px;
}

.openbtn.active span:nth-of-type(1) {
    top: 25px;
    left: 22px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 20px;
    left: 20px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
}

@media screen and (max-width:1300px) {
    .openbtn{
        width: 60px;
        height: 60px;
    }

.openbtn span{
    left: 17px;
 }

.openbtn span:nth-of-type(1) {
	top:20px;
}

.openbtn span:nth-of-type(2) {
	top:33px;
}

.openbtn span:nth-of-type(3) {
	top:45px;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 22px;
}

.openbtn.active span:nth-of-type(3){
    top: 40px;
    left: 22px;
}

}

.menu li{
  position: relative;
  margin: 0 5px;
}

.menu li::before,
.menu li::after{
  content:"";
  position: absolute;
  width: 0;
  height:2px;
  background:#3074BB;
  transition: all 0.2s linear;
  transition-delay: 0.2s;
}
@media screen and (max-width:1300px) {
.menu li::before,
.menu li::after{
  background:#fff;
    }
}

.menu li::before{
  right: 0;
  top: 0;
}

.menu li::after{
  left: 0;
  bottom: 0;
}

.menu li span{
  display: block;
}

.menu li span::before,
.menu li span::after{
  content:"";
  position: absolute;
  width:1px;
  height:0;
  background: #fff;
  transition: all 0.2s linear;
}

.menu li span::before{
  left: 0;
  top: 0;
}
.menu li span::after{
  right: 0;
  bottom: 0;
}

.menu li.current::before,
.menu li.current::after,
.menu li:hover::before,
.menu li:hover::after{
  width: 100%;
}

.menu li.current span::before,
.menu li.current span::after,
.menu li:hover span::before,
.menu li:hover span::after{
  height: 100%;
}

.timeline li{
    position: relative;
	list-style: none;
	padding:0 0 20px 0;
}

.timeline dl{
	margin:0 0 20px 3em;
}

.border-line {
	position: absolute;
	left:0.2em;
	top:0;
	width:2px;
	height:100%;
	background: #3074BB;
}

.timeline li::after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	width:10px;
	height: 10px;
	background:#3074BB;
	border-radius: 50%;
}

.btn{
    position: relative;
	overflow: hidden;
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #333;
    padding: 8px 40px;
    text-align: center;
    outline: none;
    transition: ease .2s;
}

.btn.bgcenterout{
   	border: 1px solid #fff;
    padding: 8px 40px;
}

.btn span {
	position: relative;
	z-index: 1;
}

.btn:hover span{
	color:#fff;
}

.btn.bgcenterout span{
	color:#fff;
}

.btn.bgcenterout:hover span{
	color:#333;
}

.bgcenterx:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #333;
	width: 100%;
	height: 100%;
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: top;
}

.bgcenterx:hover:before{
	transform:scale(1, 1);
}


.bgcenterout:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #fff;
	width: 100%;
	height: 100%;
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 0);
	transform-origin:center;
}

.bgcenterout:hover:before{
	transform:scale(1, 1);
}

/*
.btnlinestretches{
	position:relative;
  color:#fff;
  background-color: #3074BB;
	border:1px solid #333;
    padding:30px 0;
	display:inline-block;
    text-decoration: none;
    outline: none;
	transition:all 0.3s ease-in-out;
}*/

.btnlinestretches:hover{
	background:#333;
	color: #fff;
	border-color:transparent;
}

.btnlinestretches:hover::before,
.btnlinestretches:hover::after{
    width:calc(100% + 11px);
	height:calc(100% + 11px);
	border-color:#666
}

.flipDown{
animation-name: flipDownAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipDownAnime{
  from {
    transform: perspective(2500px) rotateX(100deg);
 	opacity: 0;
  }

  to {
    transform: perspective(2500px) rotateX(0);
	opacity: 1;
  }
}

.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}


.fadeLeft{
animation-name: fadeLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
	transform: translateX(-100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

.fadeRight{
animation-name: fadeRightAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

.fadeUpTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}