/* CSS Document */

button.open div:first-child,
button.open div:last-child {
	background: #FFFFFF;
}
.gnav ul li a {
	color: #fff;	
}
footer p {
	color: #fff;
}
main {
	position: fixed;
	z-index: 1;
	width: 100%;
	height: 100vh;
}
.video_wrap {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100vh;
}
.video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
}
.frame_wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	background-size: cover;
	background-position: center center;
	width: 100%;
	height: 100vh;
	opacity: 0;	
    transition: opacity 3s;
}
.frame_wrap.active {
	opacity: 1;	
}
#frame1 {
	background-image: url("../img/frame_pc1.png");
	opacity: 1;	
}
#frame2 {
	background-image: url("../img/frame_pc2.png");
}
#frame3 {
	background-image: url("../img/frame_pc3.png");
}
#frame4 {
	background-image: url("../img/frame_pc4.png");
}
#frame5 {
	background-image: url("../img/frame_pc5.png");
}
#frame6 {
	background-image: url("../img/frame_pc1.png");
}
#frame7 {
	background-image: url("../img/frame_pc2.png");
}
#frame8 {
	background-image: url("../img/frame_pc3.png");
}
#frame9 {
	background-image: url("../img/frame_pc4.png");
}
#frame10 {
	background-image: url("../img/frame_pc5.png");
}

@media screen and (max-width: 840px){
#frame1 {
	background-image: url("../img/frame_tab1.png");
}
#frame2 {
	background-image: url("../img/frame_tab2.png");
}
#frame3 {
	background-image: url("../img/frame_tab3.png");
}
#frame4 {
	background-image: url("../img/frame_tab4.png");
}
#frame5 {
	background-image: url("../img/frame_tab5.png");
}
#frame6 {
	background-image: url("../img/frame_tab1.png");
}
#frame7 {
	background-image: url("../img/frame_tab2.png");
}
#frame8 {
	background-image: url("../img/frame_tab3.png");
}
#frame9 {
	background-image: url("../img/frame_tab4.png");
}
#frame10 {
	background-image: url("../img/frame_tab5.png");
}
}
@media screen and (max-width: 540px){
.frame_wrap {
	background-size: 100% 100%;
}
#frame1 {
	background-image: url("../img/frame_sp1.png");
}
#frame2 {
	background-image: url("../img/frame_sp2.png");
}
#frame3 {
	background-image: url("../img/frame_sp3.png");
}
#frame4 {
	background-image: url("../img/frame_sp4.png");
}
#frame5 {
	background-image: url("../img/frame_sp5.png");
}
#frame6 {
	background-image: url("../img/frame_sp1.png");
}
#frame7 {
	background-image: url("../img/frame_sp2.png");
}
#frame8 {
	background-image: url("../img/frame_sp3.png");
}
#frame9 {
	background-image: url("../img/frame_sp4.png");
}
#frame10 {
	background-image: url("../img/frame_sp5.png");
}
}

@media screen and (max-width: 540px){
#copyright {
	bottom: auto;
	display: flex;
	height: 100%;
	justify-content: flex-start;
	left: 0px;
	padding: 20px;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 100%;
	max-width: 100%;
}
#copyright p {
    font-feature-settings: normal;
    margin: 0px 12px 0px 0px;
    text-orientation: mixed;
    writing-mode: horizontal-tb;
    max-width: calc(100% - 12px);
}
}

footer {
	z-index: 2;
	display: flex;
    flex-direction: row;
	align-content: flex-end;
    align-items: flex-end;
    background: rgba(0,0,0,0.0);
    bottom: 0px;
	height: 100%;
    justify-content: center;
    left: auto;
    margin: 0 0 0 0;
    position: fixed;
    right: 0px;
    top: 0px;
    width: auto;
    padding: 0px;
    max-width: 100%;
	align-items: center;
}
footer p {
	display: flex;
	
	color: #fff;
    font-size: 12px;
    font-weight: 500;
    height: auto;
    line-height: 1.4;
    margin: 0px 36px 0px 0px;
    text-align: center;
    width: auto;
    writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    max-width: calc(100% - 36px);
    justify-content: center;
}
@media screen and (max-width: 840px){
footer {
    top: 0px;
    right: 0px;
    bottom: 0px;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
}
}
@media screen and (max-width: 540px){
footer {
	bottom: auto;
	display: flex;
	height: 100%;
	justify-content: flex-start;
	left: 0px;
	padding: 20px;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 100%;
	max-width: 100%;
}
footer p {
    font-feature-settings: normal;
    margin: 0px 12px 0px 0px;
    text-orientation: mixed;
    writing-mode: horizontal-tb;
    max-width: calc(100% - 12px);
}
}

.gnav ul li a::after {
	background-color: #fff;
}








