@media only screen and (max-width: 767px) {
    header h1 {
        top: 0;
    }
}
.title1-shared {
    font-size: 5vw;
    text-shadow: -2px -2px 0px #000, 2px 2px 0px #000, 2px -2px 0px #000, 2px 3px 0px #000, 2px 2px 0px #000, 3px 4px 0px #000;
    position: relative;
    margin-left: -5.6%;
    line-height: 1.6;
    margin-bottom: 3vw;
    z-index: 10;
}
.title1-shared.red {
    color: #b40909;
}
.title1-shared::after {
    position: absolute;
    bottom: 3vw;
    left: 0;
    height: 3px;
    background: #fff;
    content: "";
    width: 100%;
    box-shadow: 2px 2px 0px #000, 2px 2px 0px #000, 2px 2px 0px #000, 2px 2px 0px #000;
}
.title1-shared span {
    font-size: 8vw;
    position: relative;
}
.title1-shared span::before {
    content: "";
    background: url("../img/story/icon_arrow_chapter.png") no-repeat;
    width: 20px;
    height: 16px;
    background-size: 100%;
    display: inline-block;
    vertical-align: middle;
}
.title1-shared.red::after {
    background: #b40909;
}
.title1-shared.red span::before {
    background: url("../img/story/icon_arrow_chapter_red.png") no-repeat;
    background-size: 100%;
}
.title2-shared {
    font-size: 8vw;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 4vw;
    text-shadow: 2px 2px 0px #000, 2px 2px 0px #000, 2px 2px 0px #000, 2px 2px 0px #000;
    z-index: 10;
    position: relative;
}
.title3-shared {
    font-size: 10vw;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 17vw;
    text-shadow: 2px 2px 0px #000, 2px 2px 0px #000, 2px 2px 0px #000, 2px 2px 0px #000;
    position: relative;
    z-index: 10;
}
.txt-shared li {
    color: #000;
    margin-bottom: 6vw;
    text-shadow: 4px 2px 0px #fff, 1px 1px 0px #fff, 2px 2px 0px #fff, 1px 2px 0px #fff, -1px -2px 0px #fff;
}
.txt-shared .big {
    font-size: 20px;
}
.txt-shared.white li {
    color: #fff;
    text-shadow: 1px 4px 0px #000, -1px 3px 0px #000, 0px 2px 0px #000, 2px -1px 0px #000, -1px -2px 0px #000;
}
@media only screen and (max-width: 767px) {
    .title2-shared {
        text-align: left;
    }
	#key-box{
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	}
}
@media only screen and (min-width: 768px) {
    .chapter-shared {
        min-height: 100vh;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        padding-bottom: 30vh !important;
    }
    header h1 {
        top: 90vh;
    }
}
.red {
    color: #b40909
}
@media only screen and (min-width: 768px) {
    #key-box {
        position: relative;
        overflow: hidden;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    .title1-shared {
        font-size: 44px;
        margin-left: calc(50% - 50vw);
        margin-bottom: 50px;
        line-height: 95px;
        padding-left: 7px;
    }
    .title1-shared::after {
        bottom: 28px;
    }
    .title1-shared span {
        font-size: 57px;
    }
    .title1-shared span::before {
        width: 36px;
        height: 27px;
    }
    .title2-shared {
        font-size: 63px;
        margin-bottom: 50px;
        position: absolute;
        right: 0;
        top: -12px;
        letter-spacing: 1px;
    }
    .title3-shared {
        font-size: 90px;
        line-height: 87px;
        margin-bottom: 20px;
        white-space: nowrap;
        margin-left: calc(50% - 42.5vw);
        position: absolute;
        bottom: 0px;
        text-align: right;
        z-index: 10;
    }
    .txt-shared li {
        font-size: 32px;
        margin-bottom: 69px;
        letter-spacing: 0;
    }
    .txt-shared {
        width: 1250px;
        margin: 0 auto;
        padding-left: 110px;
        box-sizing: border-box;
        max-width: 100%;
    }
    .txt-shared .big {
        font-size: 46px;
        margin-bottom: 70px;
        line-height: 60px;
    }
    html .nav-main .wrap {
        min-height: 100vh;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1500px) {
    .title2-shared {
        top: -4px;
        font-size: 54px;
        right: 100px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1400px) {
    .title2-shared {
        font-size: 50px;
        top: 5px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1300px) {
    .title2-shared {
        font-size: 45px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .title2-shared {
        top: 15px;
        font-size: 41px;
        right: 120px;
        letter-spacing: -1px;
    }
}
#key-box {
    padding-top: 120px;
}
@media only screen and (min-width: 768px) and (max-height: 800px)  {
	
}


#key-box .animation {
    padding-top: 1px;
    position: fixed !important;
    transform: translate(0px, 0px) !important;
    top: 120px !important;
    left: 0;
    width: 100% !important;
    right: 0;
    margin: 0 auto !important;
    max-width: none !important;
	min-height: 2000px;
}
@media only screen and (min-width: 768px){
	#key-box .animation {
		min-height: 4000px;
	}
}

#key-box .animation .img1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
	
}
#key-box .animation .img2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
	
}
#key-box .animation .img3 {
   opacity: 0;
	 transition: all 0.5s ease-in-out;
	margin-bottom: 50vh;
}

#key-box .chapter00 {
    position: relative;
    padding: 15vw 0 15vw;
    margin-top: 5vw;
}
#chapter01 {
    position: relative;
    padding: 5vw 0 5vw;
}
#chapter01 .bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    position: absolute;
}
#chapter01 .bg img {
    object-position: right 37% top 0;
}
@media only screen and (max-width: 767px) {
    #chapter01 {
        min-height: 100vh;
    }
    #chapter02 {
        min-height: 100vh;
    }
    #chapter02 #chapter02-txt {
        top: 70vw;
		padding-top: 10vw;
    }
}
@keyframes gradationTextAnimation {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}
.text-mask-shared {
    position: absolute;
    top: 190px;
    left: 0;
    right: 0;
    overflow: hidden;
    padding-top: 100vh;
    padding: 100vh 5% 0;
}
@media only screen and (max-width: 767px) {
	.text-mask-shared {
		padding-top: 10vw;
	}
	.chapter00-txt {
        top: 71vw;
        padding-top: 10vw;
    }
    #key-box .chapter00 {
        padding-top: 0;
       
    }
   
}
@media only screen and (min-width: 768px) {
    .text-mask-shared {
        top: 100px;
    }
}
@media only screen and (min-width: 768px) {
    html .wrap {
        width: 1170px;
        padding: 0 20px;
    }
    .text-slider {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    .col-left {
        position: absolute;
        left: 70px;
        top: 0;
        width: 100px;
        height: 100vh;
    }
    .col-left.hidden, .col-right.hidden {
        opacity: 0;
        visibility: visible;
    }
    .col-left.white .slider-left li, .col-right.white .slider-right li {
        color: #757575;
        animation: none;
        background-image: linear-gradient(to right, #757575 0%, #757575 73%);
    }
    .col-left.visible, .col-right.visible {
        opacity: 1;
        visibility: visible;
        mix-blend-mode: lighten;
    }
    .col-left.visible .slider-left li, .col-right.visible .slider-right li {
        color: #d52d2d;
        animation: none;
        background-image: linear-gradient(to right, #d52d2d 0%, #d52d2d 73%);
    }
    .col-left.none, .col-right.none {
        display: none;
    }
    .col-right {
        position: absolute;
        right: 70px;
        top: 0;
        width: 100px;
        height: 100vh;
        z-index: -1;
    }
    .slider-left li {
        display: inline-block;
        writing-mode: vertical-lr;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-size: 145px;
        font-weight: 800;
        letter-spacing: 4px;
        white-space: nowrap;
        background-image: linear-gradient(to right, #FACB22 0%, #F83B01 73%);
        background-size: 300% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation-name: gradationTextAnimation;
        animation-duration: 8s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        line-height: 100px
    }
    .slider-right li {
        display: inline-block;
        writing-mode: vertical-lr;
        text-orientation: mixed;
        font-size: 145px;
        font-weight: 800;
        letter-spacing: 4px;
        white-space: nowrap;
        background-image: linear-gradient(to right, #FACB22 0%, #F83B01 73%);
        background-size: 300% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation-name: gradationTextAnimation;
        animation-duration: 8s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        line-height: 100px
    }
    #key-box .animation .img1 {
        text-align: center;
    }
    #key-box .animation .img2 {
        text-align: center;
    }
    #key-box .animation .img3 {
        text-align: center;
    }
    #key-box .animation .img4 {
        text-align: center;
    }
    #key-box .chapter00 {
        padding: 10px 0 50px;
        margin-top: 0px;
        min-height: 100vh;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    #key-box .chapter00 .chapter00-txt {
        padding-top: 10vh;
    }
    #key-box .chapter00 .title3-shared {
        bottom: 30px;
		margin-bottom: 0;
    }
    #key-box .chapter00 .title3-shared span {
        margin-bottom: 86px;
    }
    #key-box .chapter00 .txt-shared {
        padding-top: 150px;
    }
	#key-box .chapter00{
		padding-top: 60px;
	}
	
    #chapter01 {
        padding: 60px 0 20vh;
    }
	#chapter01 .title3-shared{
		margin-bottom: 50px;
	}
    #chapter01 .bg img {
        object-position: center;
    }
    #chapter01 .text-slider li {
        color: #757575;
        animation: none;
        background-image: linear-gradient(to right, #757575 0%, #757575 73%);
    }
    #chapter02 .text-slider li {
        color: #757575;
        animation: none;
        background-image: linear-gradient(to right, #757575 0%, #757575 73%);
    }
    #chapter01 .text-slider {
        z-index: 0;
    }
    #chapter02 .text-slider {
        z-index: 0;
    }
    #chapter04 .text-slider {
        z-index: 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1500px) {
	#key-box .chapter00 .txt-shared {
        padding-left: 230px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1360px) {
    .slider-left li {
        font-size: 110px;
    }
    .slider-right li {
        font-size: 110px;
    }
    .col-left {
        left: 30px;
    }
    .col-right {
        right: 30px;
    }
    .txt-shared li {
        font-size: 29px;
    }
    .txt-shared .big {
        font-size: 40px;
    }
	
    
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .txt-shared {
        padding-left: 260px;
    }
	#key-box .chapter00 .txt-shared {
        padding-left: 260px;
    }
}
@media only screen and (min-width: 768px) and (max-height: 800px) {
    #key-box .chapter00 .title3-shared {
        font-size: 57px;
    }
}
#chapter02 {
    position: relative;
    padding: 5vw 0 5vw;
}
#chapter02 .bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    position: absolute;
}
#chapter02 .bg img {
    object-position: right 27% top 0;
}
@media only screen and (min-width: 768px) {
    #chapter02 {
        padding: 60px 0 50px;
    }
    #chapter02 .title3-shared {
        bottom: 20px;
        margin-left: calc(50% - 46vw);
    }
    #chapter02 .title3-shared span.t1 {
        margin-bottom: 80px;
    }
    #chapter02 .title3-shared span.t2 {
        margin-top: -70px;
    }
    #chapter02 .bg img {
        object-position: right 21% top 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1600px) {
    #chapter02 .txt-shared {
        padding-left: 170px;
        width: 950px;
    }
    #chapter04 .txt-shared {
        padding-left: 240px;
    }
    #chapter05 .txt-shared {
        padding-left: 240px;
    }
	#chapter06 .txt-shared {
        padding-left: 240px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1300px) {
    #chapter02 .txt-shared {
        padding-left: 220px;
    }
    #chapter04 .txt-shared {
        padding-left: 290px;
    }
    #chapter05 .txt-shared {
        padding-left: 290px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    #chapter02 .txt-shared {
        padding-left: 280px;
    }
    #chapter04 .txt-shared {
        padding-left: 310px;
    }
    #chapter05 .txt-shared {
        padding-left: 310px;
    }
    #chapter06 .txt-shared {
        padding-left: 310px;
    }
}
.spacer {
    height: 120vw;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}
.horizontal-section {
    height: 100vh;
    position: relative;
    background: #000;
    overflow: hidden;
    width: 100%;
}
.horizontal-inner {
    display: flex;
    height: 100%;
    width: max-content;
}
.h-item {
    flex: 0 0 100vw;
    height: 116vw;
    width: 100%;
    display: flex;
    padding: 11% 3% 4% 4%;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    background: url(../img/story/chapter03_bg_sp.jpg) no-repeat center;
    background-size: auto 100%;
}
.h-content {
    flex: 1;
    text-align: center;
    font-size: 8vw;
    line-height: 1.5;
}
.h-txt {
    font-size: 4vw;
    line-height: 1.3;
}
.h-txt span {
    display: block;
    margin-top: 40px;
}
.h-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.h-image img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
@media only screen and (min-width: 768px) {
    .spacer {
        height: 100vh;
    }
    .horizontal-section {
        width: 100vw !important;
        height: 100vh !important;
        background: #000;
        padding-bottom: 500px;
    }
    .h-item {
        padding: 0;
        flex: auto;
        width: 100vw;
        align-items: center;
        justify-content: center;
        height: 100vh;
        padding-top: 2%;
        background: url(../img/story/chapter03_bg.jpg) no-repeat center;
        background-size: auto 120%;
    }
    .h-content {
        font-size: 90px;
        width: 760px;
    }
    .h-txt {
        font-size: 32px;
        line-height: 60px;
    }
}
#chapter03 {
    position: relative;
    padding: 0;
    padding-bottom: 0 !important;
}
#chapter03 .title1-shared {
    position: absolute;
    top: 5vw;
    left: 0;
    z-index: 7;
    margin-left: 0;
    width: 100%;
}
#chapter03 .title2-shared {
    position: absolute;
    top: 23vw;
    left: 0;
    z-index: 6;
    text-align: center;
    right: 0;
}
#chapter03 .deco {
    width: 20%;
    position: absolute;
    top: 103vw;
    right: 10%;
    z-index: 18;
}
#chapter03 .wrap {
    padding: 0;
}
#chapter03 .bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    position: absolute;
}
#chapter03 .bg img {
    object-position: center;
}
@media only screen and (min-width: 768px) {
    #chapter03 .title1-shared {
        top: 68px;
    }
    #chapter03 .title2-shared {
        top: 84px;
        right: 170px;
        text-align: right;
        line-height: 50px;
		z-index: 10;
    }
    #chapter03 .deco {
           right: calc(50% - 640px);
			width: 185px;
			top: 76vh;
    }
    #chapter03 .wrap {
        margin: 0%;
    }
	
}
@media only screen and (min-width: 768px) and (max-width: 1300px) {
	#chapter03 .deco{
		right: 100px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .horizontal-section {
        background-size: contain;
    }
}
#chapter04 {
    position: relative;
    padding: 5vw 0 5vw;
    background: url("../img/story/bd_bg.jpg") repeat;
    overflow: hidden;
}
#chapter04 .list-photo {
    justify-content: space-between;
    margin-bottom: 8vw;
}
#chapter04 .list-photo li {
    border-radius: 20px;
    width: 48%;
    overflow: hidden;
}
#chapter04 #chapter04-txt {
    z-index: 100;
}
#chapter04 .bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    position: absolute;
}
#chapter04 .list-photo li:nth-child(2) {
    position: absolute;
    right: 4%;
    top: 101vw;
    height: 46vw;
    width: 43%;
}
#chapter04 .list-photo li:nth-child(2) img {
    object-position: right 37% top 0;
}
#chapter04.active .list-photo li.photo2::before {
    background-position: right 37% top 0;
}
#chapter04.active .list-photo li.photo2 {
    width: 100vw;
    right: calc(50% - 50vw);
    height: 99%;
    top: -90px;
    height: calc(100% + 180px + 30vh);
    transition: all 1s;
    border-radius: 0;
}
#chapter04 .list-photo li.photo2::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("../img/story/chapter04_bg_on.jpg") no-repeat center;
    background-size: cover;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    content: "";
    transition: all 0.3s;
    width: 100%;
}
#chapter04.active .list-photo li.photo2::before {
    transition-delay: 0s;
    opacity: 1;
    visibility: visible;
}
@media only screen and (max-width: 767px) {
    #chapter04 {
        min-height: 100vh;
    }
    .chapter00-txt {
        padding-bottom: 20vw;
        padding-top: 10vw;
    }
    #chapter04 #chapter04-txt {
        top: 66vw;
		padding-top: 80vw;
    }
}
@media only screen and (min-width: 768px) {
    #chapter04 {
        padding: 90px 0 90px;
    }
    #chapter04 .list-photo {
        margin-bottom: 20px;
    }
    #chapter04 .list-photo li:nth-child(2) {
        position: absolute;
        right: 0;
        top: 141px;
        height: 575px;
    }
    #chapter04 .title3-shared {
        margin-bottom: 60px;
        margin-left: calc(50% - 45vw);
    }
    #chapter04 .title3-shared .t1 {
        margin-bottom: 8px;
    }
    #chapter04 .title3-shared .t2 {
        margin-bottom: 91px;
    }
    #chapter04.active .list-photo li.photo2 {
        width: 100vw;
        right: calc(50% - 50vw);
        height: 99%;
        top: -90px;
        height: calc(100% + 180px + 30vh);
        transition: all 1s;
        z-index: 0;
    }
    #chapter04 .list-photo li.photo2::before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: url("../img/story/chapter04_bg_on.jpg") no-repeat center;
        background-size: cover;
        z-index: 5;
        opacity: 0;
        visibility: hidden;
        content: "";
        transition: all 0.3s;
        width: 100%;
    }
    #chapter04.active .list-photo li.photo2::before {
        transition-delay: 0s;
        opacity: 1;
        visibility: visible;
    }
    #chapter04 .text-slider li {
        color: #d52d2d;
        animation: none;
        background-image: linear-gradient(to right, #d52d2d 0%, #d52d2d 73%);
    }
}



#chapter05 {
    position: relative;
    padding: 5vw 0 5vw;
}
#chapter05.blur{

}

#chapter05 .bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    position: absolute;
}
#chapter05 .bg img {
    object-position: right 27% top 0;
}
@media only screen and (max-width: 767px) {
    #chapter05 {
		height: 1900px;
        min-height: 100vh;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    #chapter05 .bg {
        max-height: 100vh;
    }
    #chapter05-txt {
        padding-bottom: 100vh;
        top: 69vw;
    }
}
@media only screen and (min-width: 768px) {
    #chapter05 {
        padding: 90px 0 90px;
       	min-height: 6500px;
		padding-bottom: 0 !important;
    }
	#chapter05-txt{
		padding-bottom: 80vh;
	}
    #chapter05 .bg {
        max-height: 100vh;
    }
    #chapter05 .title3-shared .t2 {
        margin-bottom: 90px;
    }
    #chapter05 .bg img {
        object-position: center;
    }
    #chapter05 .title3-shared {
        margin-bottom: 50px;
        margin-left: calc(50% - 45vw);
    }
    #chapter05 .text-slider li {
        color: #d52d2d;
        animation: none;
        background-image: linear-gradient(to right, #d52d2d 0%, #d52d2d 73%);
    }
	#chapter05 .text-slider{
		    overflow: hidden;
  			  max-height: 100vh;
	}
}
#chapter06 {
    position: relative;
    padding: 5vw 0 50vh;
    background: url(../img/shared/bd_bg_sp.jpg) repeat-y;
    background-size: 100%;
}
#chapter06 .title1-shared {
    line-height: 2;
}
#chapter06 .title3-shared {
    margin-bottom: 21vw;
}
#chapter06 .step {
    position: relative;
    min-height: 100vh;
    width: 100%;
    height: 100vh;
}
#chapter06 .step .masked-bg {
    margin-bottom: 18vw;
    width: 90%;
    height: 55%;
    background-image: url("../img/story/chapter06_bg_first.jpg");
    background-size: cover;
    background-position: center;
    mask-image: url("../img/story/deco.png");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 33%;
    -webkit-mask-image: url("../img/story/deco.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 33%;
    transition: mask-size 0.2s ease;
    position: absolute;
    top: -40vw;
    left: 0;
    right: 0;
	opacity: 0;
	transition: all 0.2s ease-in-out;
}
#chapter06 .step .masked-bg.visible{
	opacity: 1;
	transition: all 2s;
}
#chapter06.active .step .masked-bg {
       background-image: url("../img/story/chapter06_bg_first.jpg");
    background-size: cover;
    transform: scale(3);
    background-position: center top 70px;
    mask-size: 50%;
}
#chapter06 .step .masked-bg.change {
    background: url("../img/story/chapter06_bg.jpg") no-repeat;
    background-size: cover;
    mask-image: none;
    scale: 1;
    margin-bottom: 0;
    transform: scale(2);
}
#chapter06 .step .masked-bg.change::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}
#chapter06 .step .img2 {
    display: none;
}
@media only screen and (max-width: 767px) {
    #chapter06 {
        padding-bottom: 5vw;
    }
    #chapter06.active .title3-shared {
        margin-bottom: 5vw;
    }
    #chapter06 .step .masked-bg.change {
        height: 37vw;
        top: 25vw;
        margin-bottom: 10vw;
    }
    #chapter06-txt {
        padding: 110vw 5% 0;
    }
	#chapter06 .step .masked-bg{
		-webkit-mask-size: 50%;
		    mask-size: 50%;
		height: 57%;
	}
	
}
@media only screen and (min-width: 768px) {
    #chapter06 {
        padding: 100px 0 90px;
        background: url(../img/shared/bd_bg.jpg) repeat-y;
        background-size: 100%;
        max-height: 100vh;
    }
    #chapter06 .title1-shared {
        line-height: 95px;
    }
    #chapter06 .title3-shared {
        margin-bottom: 200px;
        text-align: right;
        margin-left: calc(50% - 45vw);
    }
    #chapter06 .title3-shared span {
        margin-bottom: 90px;
    }
    #chapter06 .step .title {
        text-align: center;
    }
	#chapter06 .step .masked-bg{
		top: 0;
		height: 60%;
        width: 100%;
	}
    #chapter06-txt {
        padding-top: 1400px;
    }
    #chapter06 .text-slider {
        z-index: 6;
    }
    #chapter06 .text-slider li {
        color: #d52d2d;
        animation: none;
        background-image: linear-gradient(to right, #d52d2d 0%, #d52d2d 73%);
    }
}
@media only screen and (min-width: 768px) and (max-width: 1500px) {
    #chapter06 .txt-shared {
        padding-left: 200px;
        width: 950px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1300px) {
    #chapter06 .txt-shared {
        padding-left: 260px;
    }
}
#sec7 {
    padding: 15vw 0 15vw;
    position: relative;
}
#sec7::after {
    content: "";
    background: url("../img/story/sec7_deco1.png") no-repeat;
    position: absolute;
    top: 0vw;
    right: 4%;
    width: 38vw;
    height: 115vw;
    background-size: 100%;
}
#sec7 h2 {
    font-size: 7vw;
    text-align: center;
    margin-bottom: 8vw;
    position: relative;
    z-index: 5;
}
#sec7 .txt-shared {
    margin-bottom: 15vw;
    position: relative;
    z-index: 5;
}
#sec7 .js .sec7-js {
    position: relative;
    height: 100vh;
}
#sec7 .js .sec7-js .img1,#sec7 .js .sec7-js .img2,#sec7 .js .sec7-js .img3,#sec7 .js .sec7-js .img4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	height: 100%;
	opacity: 0;
	transition: all 0.5s ease;
}
#sec7 .js .sec7-js p.active{
	opacity: 1 !important;
	visibility: visible !important;
}
#sec7 .js .sec7-js .img4 img{
	object-position: left 20% top 0;
}
#sec7 .js .sec7-js .img4.active.bg{
    width: 100vw;
    right: calc(50% - 50vw);
    top: -100px;
    height: 100vh;
    transition: all 1s;
    border-radius: 0;
    transform: scale(1);
    left: calc(50% - 50vw);
}
#sec7 .js .sec7-js .img3.active::before{
       content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 5;
    transition-delay: 1s;
}
#sec7 .js .sec7-js .img3.active.bg::before{
	opacity: 1;
	visibility: visible;
}

#sec7 .js .sec7-js .img4{
	filter: blur(0px);
}
#sec7 .js .sec7-js .img2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#sec7 .js .sec7-js .title {
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 7vw;
    top: 35vh;
    line-height: 1.5;
    opacity: 0;
    text-shadow: 0px 0px 20px #000,0px 0px 20px #000;
}
#sec7 .txt-shared li span{
	letter-spacing: 0;
}
@media only screen and (min-width: 768px) {
    #sec7 {
        position: relative;
        padding: 332px 0 330px;
    }
    #sec7::after {
        width: 255px;
        height: 382px;
        top: 1060px;
        left: calc(50% + 388px);
    }
    #sec7 h2 {
        font-size: 87px;
        line-height: 111px;
        margin-bottom: 20px;
        position: absolute;
        right: -30px;
        top: -223px;
        width: 110px;
        text-align: left;
        color: #fff;
        white-space: nowrap;
    }
    #sec7 h2 .t1 {
        margin-top: -41px;
    }
    #sec7 h2 .t2 {
        margin-bottom: -46px;
    }
    #sec7 h2 span {
        margin-top: 83px;
    }
    #sec7 .txt-shared {
        margin-bottom: 290px;
        padding-left: 27px;
        font-size: 42px;
        width: 100%;
    }
    #sec7 .txt-shared li {
        font-size: 42px;
        line-height: 70px;
        letter-spacing: -3px;
        margin-bottom: 66px;
    }
    #sec7 .js .sec7-js {
        height: 600px;
        text-align: center;
    }
    #sec7 .js .sec7-js .title {
        font-size: 87px;
        top: 170px;
    }
	#sec7 .js .sec7-js .img4.active.bg {
    width: 100vw;
    right: calc(50% - 50vw);
    height: 99%;
    top: -120px;
    height: calc(100% + 220px + 30vh);
    transition: all 1s;
    z-index: 0;
    left: calc(50% - 50vw);
		-webkit-transform: scale(1.05);
		transform: scale(1.05);
}
	#sec7 .js .sec7-js .img4 img{
	object-position: top;
}
}
@media only screen and (max-width: 767px) {
	#sec7{
		margin-top: 15vw;
		overflow: hidden;
		padding-bottom: 0;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1360px) {
    #sec7 .txt-shared {
        max-width: 100%;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    #sec7 h2 {
        right: 0;
    }
}


#history {
    padding: 5vw 0 15vw;
}
#history .group .left {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    height: 110vw;
    overflow: hidden;
    gap: 4%;
    margin-bottom: 15vw;
}
#history .group .left .history-left li span {
    margin-bottom: 10px;
    display: block;
}
#history .group .left .history-right li span {
    margin-bottom: 10px;
    display: block;
}
#history .group .right h2 {
    text-align: center;
    margin-bottom: 8vw;
}
#history .group .right h2 img {
    width: 60%;
    margin: 0 auto;
}
#history .group .right h2 span {
    font-size: 5vw;
    margin-top: 2vw;
    display: block;
}
#history .group .right .info dl {
    font-weight: 500;
    margin-bottom: 4vw;
}
#history .group .right .info dl dt {
    color: #f83600;
}
#history .group .right .info dl dd {
    margin-left: 20px;
}
@media only screen and (min-width: 768px) {
    #history {
        padding: 0px 0 250px;
    }
    #history .group {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        margin-left: -80px;
        justify-content: space-between;
    }
    #history .group .left {
        height: 900px;
        margin-bottom: 20px;
        width: 620px;
    }
    #history .group .right {
        width: 507px;
        margin-top: 96px;
    }
    #history .group .right h2 {
        margin-bottom: 60px;
    }
    #history .group .right h2 span {
        font-size: 26px;
        margin-top: 32px;
        letter-spacing: -2px;
    }
    #history .group .right .info dl {
        margin-bottom: 24px;
    }
    #history .group .right .info dl dt {
        letter-spacing: 3px;
    }
    #history .group .right .info dl dd {
        line-height: 40px;
        margin-left: 22px;
    }
}
.bg-chapter00 {
    width: 100%;
    position: fixed;
    height: 100%;
    overflow: hidden;
    background: url("../img/story/bg1.png") repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    min-height: 100vh;
    z-index: 130;
    top: 0%;
    transition: all 3s ease;
    transform: translate(0%, 150%) scale(1.5, 1.5);
}
.bg-chapter00.active {
    transform: translate(0%, -150%) scale(1.5, 1.5);
}
.bg-chapter01 {
    width: 100%;
    position: fixed;
    height: 100%;
    overflow: hidden;
    background: url("../img/story/bg1.png") repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    min-height: 100vh;
    z-index: 130;
    top: 0%;
    transition: all 3s ease;
    transform: scale(1.5);
    transform: translate(0%, 150%) scale(1.5, 1.5);
}
.bg-chapter01.active {
    transform: translate(0%, -150%) scale(1.5, 1.5);
}
.bg-chapter02 {
    width: 100%;
    position: fixed;
    height: 100%;
    overflow: hidden;
    background: url("../img/story/bg2.png") repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    min-height: 100vh;
    z-index: 130;
    top: 0%;
    transition: all 3s ease;
    transform: translate(-150%, -150%) scale(2, 2);
}
.bg-chapter02.active {
    transform: translate(150%, 150%) scale(2, 2);
}
.bg-chapter03 {
    width: 100%;
    position: fixed;
    height: 100%;
    overflow: hidden;
    background: url("../img/story/bg2.png") repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    min-height: 100vh;
    z-index: 130;
    top: 0%;
    transition: all 3s ease;
    transform: translate(-150%, -150%) scale(2, 2);
}
.bg-chapter03.active {
    transform: translate(150%, 150%) scale(2, 2);
}
#chapter04.active .bg-chapter03 {
    transform: translate(150%, 150%) scale(2, 2);
    transition: all 2s ease;
}
.bg-chapter04 {
    width: 100%;
    position: fixed;
    height: 100%;
    overflow: hidden;
    background: url("../img/story/bg2.png") repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    min-height: 100vh;
    z-index: 130;
    top: 0%;
    transform: scale(2);
    transform: translate(-150%, -150%) scale(2, 2);
    transition: all 3s ease;
}
.bg-chapter04.active {
    transform: translate(150%, 150%) scale(2, 2);
}
@media only screen and (min-width: 768px) and (max-height: 800px) {
    .title3-shared {
        font-size: 70px;
        line-height: 70px;
        margin-left: calc(50% - 42vw);
        margin-bottom: 50px;
    }
    #chapter02 .title3-shared {
        margin-bottom: 20px;
    }
    #key-box .chapter00 .title3-shared span {
        margin-bottom: 67px;
    }
    #chapter02 .title3-shared span.t1 {
        margin-bottom: 63px;
    }
    .h-content {
        font-size: 60px;
    }
    .h-txt {
        font-size: 22px;
        line-height: 44px;
    }
    #chapter04 {
        padding-top: 50px;
    }
    #chapter04 .title3-shared {
        margin-bottom: 100px;
    }
    #chapter04 .title3-shared .t2 {
        margin-bottom: 72px;
    }
    #chapter05 .title3-shared {
        margin-bottom: 60px;
    }
    #chapter06 {
        padding-top: 20px;
    }
    #chapter05 .title3-shared .t2 {
        margin-bottom: 67px;
    }
    #chapter06 .title3-shared span {
        margin-bottom: 68px;
    }
    #chapter06 .title3-shared {
        font-size: 60px;
		line-height: 58px;
		margin-bottom: 139px;
    }
    #sec7 .txt-shared {
        max-width: 70%;
        margin-left: 90px;
    }
    #sec7 .txt-shared li {
        font-size: 32px;
        line-height: 60px;
    }
    #sec7 h2 {
        right: 70px;
    }
}
@media only screen and (max-width: 767px) {
	header h1{
		opacity: 1 !important;
	}
	#key-box .chapter00{
		padding-bottom: 50vh !important; 
	}
}
@media only screen and (min-width: 768px) {
    footer {
        z-index: 100;
    }
    #sec7 {
        z-index: 1000;
        position: relative;
    }
    #history {
        z-index: 1000;
        position: relative;
    }
}