@charset "utf-8";

.opening {
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  text-align: center;
}

.opening_logo {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: 2s 0.5s fadein-out forwards;
}

.opening_logo img {
  width: 120px;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadein-out {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}







/*========= スクロールダウンのためのCSS ===============*/

/*=== 9-1-3 マウスが動いてスクロールを促す ====*/

/*スクロールダウン全体の場所*/
.scrolldown3{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:10px;
	right:50%;
    /*マウスの動き1.6秒かけて動く永遠にループ*/
	animation:mousemove 1.6s ease-in-out infinite;
}

/*下からの距離が変化して上から下に動く*/
@keyframes mousemove{
      0%{bottom:10px;}
      50%{bottom:5px;}
     100%{bottom:10px;}
 }

/*Scrollテキストの描写*/
.scrolldown3 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	bottom:45px;
    /*テキストの形状*/
	color: #eee;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/*マウスの中の線描写 */
.scrolldown3 span::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top:10px;
	left:17px;
    /*線の形状*/
	width: 1px;
	height: 15px;
	background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: mousepathmove 1.4s linear infinite;
	opacity:0;
}

/*上からの距離・不透明度・高さが変化して上から下に流れる*/
@keyframes mousepathmove{
	0%{
		height:0;
		top:10px;
		opacity: 0;
	}
	50%{
		height:15px;
		opacity: 1;
	}
	100%{
		height:0;
		top:30px;
		opacity: 0;
	}
}

/*マウスの描写 */
.scrolldown3:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:-10px;
    /*マウスの形状*/
	width:25px;
	height:37px;
	border-radius: 10px;
	border:1px solid #eee;
}


/*マウスの中の丸の描写*/
.scrolldown3:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:26px;
	left:0;
    /*丸の形状*/
	width:5px;
	height: 5px;
	border-radius: 50%;
	border:1px solid #eee;
}


/*========= レイアウトのためのCSS ===============*/

h1{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color:#eee;
  text-shadow: 0 0 15px #666;
	text-align: center;
}

#header{
	width:100%;
	height: 100vh;
	position: relative;
} 

#header:before{
	content: '';
	position:fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height: 100vh;
	/*背景画像設定*/
	background:url("img/bg.jpg") no-repeat center;
	background-size:cover;
}
@media screen and (max-width: 768px) {
#header:before{
	content: '';
	position:fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height: 100vh;
	/*背景画像設定*/
	background:url("img/bg-sp.jpg") no-repeat center;
	background-size:cover;
}
}

#header:after{
	content: '';
	position:fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height: 100vh;

background-color:rgba(0,0,0,.5);
background-blend-mode:lighten;
}

#container{
	position: relative;
	z-index:1;
	background:#fff;
	padding:0 0 100px 0;
	text-align: center;
}

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

    #header,
    #header:before{
	/*height: 90vh;*/
    height: 100vh; /* Fallback */
  height: calc(var(--vh, 1vh) * 100);
    }
    
}

/*///////////////////////Global Menu*/
.navToggle {
  display: block;
  position: fixed;
  right: 20px;
  top: 10px;
  width: 42px;
  height: 51px;
  cursor: pointer;
  text-align: center;
  z-index: 1010;
}

.navToggle:hover {
  opacity: 0.7;
}

.navToggle span {
  display: block;
  position: absolute;
  width: 30px;
  border-bottom: solid 3px #eee;
  transition: 0.2s ease-in-out;
  left: 6px;
}

.navToggle span:nth-child(1) {
  top: 9px;
}

.navToggle span:nth-child(2) {
  top: 18px;
}

.navToggle span:nth-child(3) {
  top: 27px;
}

.navToggle span:nth-child(4) {
  border: none;
  color: #eee;
  font-size: 9px;
  font-weight: bold;
  top: 34px;
}

.navToggle.active span:nth-child(1) {
  top: 18px;
  left: 6px;
  transform: rotate(-45deg);
}

.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
  top: 18px;
  transform: rotate(45deg);
}

@media screen and (min-width: 640px) {
  .navToggle {
    right: 30px;
    top: 20px;
  }
}
nav.globalMenuSp {
  max-width: 320px;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: -100%;
  /*background: #34558b;*/
  background: #004d94;
  color: #fff;
  text-align: center;
  transition: all 0.6s;
  z-index: 1000;
}
@media screen and (max-width: 768px) {
nav.globalMenuSp {
  max-width: 100%;
  width: 100%;

}


}

div.globalMenuSpInner {
  width: 240px;
  margin: 160px 40px 0;
}
@media screen and (max-width: 768px) {

div.globalMenuSpInner {
  width: auto;
  margin: 60px 40px 0 !important;
}

}


.bl_snsListSide {
  position: absolute;
  left: 40px;
  bottom: 0;
}

.bl_snsListSide_li {
  display: inline-block;
}

.bl_snsListSide_li:last-of-type {
  margin-left: 8px;
}

.bl_snsListSide_li img {
  width: 24px;
}

nav.globalMenuSp ul {
  margin: 0 auto;
}

nav.globalMenuSp ul li {
position:relative;
  
}
nav.globalMenuSp ul li:after {
   display: block;
content: "";
position: absolute;
top: 47%;
right: 10px;
width: 10px;
height: 10px;
margin: -4px 0 0 0;
border-top: solid 2px #fff;
border-right: solid 2px #fff;
-webkit-transform: rotate(45deg);
        transform: rotate(45deg);
}


nav.globalMenuSp ul li:last-child {


}
nav.globalMenuSp ul li:first-child {
border-top:1px solid #fff;

}

nav.globalMenuSp ul li a {
	display:block;
	  list-style-type: none;
  text-align: left;
  
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;

  border-bottom:1px solid #fff;
  padding-bottom:20px;
  padding-top:20px;

}

nav.globalMenuSp ul li a:hover {
  opacity: 0.7;
}

nav.globalMenuSp.active {
  right: 0;
}
.navToggle span { border-bottom: solid 3px #ddd;}
a.scroll span {border: 2px solid #333;}
a.scroll {color: #333;}
a.scroll span::before {background-color: #333;}

h1 { width:100%;}
h1 img { max-width:760px; width:90%;}