/*------------------------↓ヘッダー------------------------*/

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 20px;
    z-index: 199999;
    background: rgba(46, 167, 224, 0.4);
    box-shadow: 0 4px 8px -3px rgba(17, 17, 17, 0.5);
    transition: .3s cubic-bezier(.4, 0, .2, 1);
}
header h1{
    text-align:center;
    line-height: 20px;
}
.head-animation {
    transform: translateY(-100%);
}

/*------------------------↓フッター------------------------*/

footer{
    display: block;
    position: fixed;
    bottom: 0; 
    width: 100%;
    height: 20px;
    z-index: 199999;
    background: rgba(19, 174, 103, 0.3);
    pointer-events: auto;
}
footer p{
    text-align: center;
    font-size: 10px;
    line-height: 20px;
    color: #333;
}

/*------------------------↓フィックスエリア------------------------*/
#fixed-area{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height:100vh;
    z-index: 99;
    background: rgba(100, 100, 0, 0);
    /*background-image: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%,  rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%,  rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 1) 100%);*/
    pointer-events: none;
}

#fixed-area p{
    line-height: 60px;
}

#fixed-area_inner{
    position: relative;
    width: 70vw;
    height:100vh;
    margin: 0 auto;
    background: rgba(0, 100, 100, 0);
}

.fixed-area_inner_contents{
    position: absolute;
    top: 60px;
    width: 100%;
    height:100vh;
    padding: 50px;
    background: rgba(0,0,100,0);
    opacity: 0;
    transition: 1s;
}

.fixed-area_inner_contents.active{
    top: 0;
    opacity: 1;
}

/*------------------------↓コンテンツボックス------------------------*/

.skinBody{
    background-image: url(../p/grid.png);
    background-size: 30px auto;
} 

.box{
    position: relative;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
}

.box_inner{
    height: 100vh;
    background: rgba(0 ,0 ,100 , 0);
    overflow: hidden;
}




/*------------------------↓横スライドボックス------------------------*/

#scrolling4{
	display: block;
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	transform: rotate( 0deg) skewY( 30deg);
 	transform-origin: 50% 50%;
}
#scrolling4 .slide_box_inner p{/*検証用*/
	transform:skewY( -30deg);

	text-align: center;
	line-height: 100vh;
	font-size: 2rem;
}

#scrolling4 .slide_box_inner{
	width: 100vw;
	height: 100vh;
}

#scrolling4 .slide_box_inner img{/*検証用*/
	transform:skewY( -30deg);
	position: relative;
	top: 0;
	max-width: 50vw;
	max-height: 50vh;
}
#scrolling3 .slide_box_inner img{/*検証用*/
	transform:skewY( 0deg);
	position: relative;
	top: 0;
	max-width: 50vw;
	max-height: 50vh;
	
}

.box_inner p{/*検証用*/
	text-align: center;
	line-height: 100vh;
	font-size: 2rem;

}


#scrolling2, #scrolling5{
	display: block;
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	background-color: rgba(0, 0, 20, 0);
	transform: skewY( -30deg);
 	transform-origin: 50% 50%;
}
#scrolling2 .slide_box_inner, #scrolling5 .slide_box_inner{
	width: 100vw;
	height: 100vh;
}

#scrolling3{
	display: block;
	position: relative;
	top: 20%;
	width: 100vw;
	height: 50vh;
	overflow: hidden;
	margin: 0 auto;
	background-color: rgba(0, 0, 20, 0);

}

.slide_box{
	display: flex;
	background-color: rgba(0, 0, 200, 0.5);
	scroll-snap-type: both mandatory;
	/*-webkit-overflow-scrolling: touch;*/
	text-align: center;
}
.slide_box_inner{
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 100vw;
	height: 50vh;
	background-color: rgba(200, 0, 200, 0.5);
	scroll-snap-align: center;
}
.slide_box_inner:nth-child(odd){
	background-color: rgba(0, 200, 0, 0.2);
    /*background: linear-gradient(
    	90deg, 
    	rgba(255, 255, 255, 0.1) 0%, 
    	rgba(0, 200, 0, 0.5) 10%, 
    	rgba(0, 200, 0, 0.5) 70%, 
    	rgba(255, 255, 255, 0.1) 100%);*/
}


/*------------------------↓ページネーション------------------------*/

:root{
    --pagenation-size: calc( (100vh + 40px) / 6);
}

.pagenation{
    position: fixed;
    top: -20px;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    transform: skewY( -30deg);
    z-index: 99999;
}
.pagenation li{
    margin-bottom: 0px;
}

.pagenation a{
    display: block;
    width: 8px;
    height: var(--pagenation-size);
    border: 1px solid #333;
    border-radius: 0%;

    opacity: 0.5;
    transition: 1s;
}


.pagenation a:hover{
	opacity: 0.8;
}

.pagenation a.active{
    background: #55a;
    opacity: 1;
    transition: 1s;
}
