@charset "utf-8";

.ib {
    display: inline-block;
}

.recruitButton {
    display: none;
}

#story main {
    overflow: hidden;
}

#story .slidenav {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 10px;
    height: 160px;
    z-index: 999;
}

#story .slidenav .slidenavBtn {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

#story .slidenav .slidenavBtn:hover,
#story .slidenav .slidenavBtn.current {
    background-color: #39447B;
}

#story .slidearea {
    height: 11200px;
}

#story .storySlide {
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
    opacity: 0;
}

#story .storySlide .storySlideBg {
    height: 100vh;
    background-position: center;
    background-size: cover;
}

#story .storySlide.activeSlide {
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
    animation-name: slide_fade;
    animation-duration: 1s;
}

@keyframes slide_fade {
    0% {
        transform: translateX(50%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#story .slide01.activeSlide {
    animation: none;
    position: fixed;
    animation-duration: 2s;
}

#story .slide01 .storySlideBg {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../image/story/slide01_pc.jpg);
}

#story .slide02 {
    top: 50px;
    inset: 75px 0 0 0 !important;
}

#story .slide02 .storySlideBg {
    background-image: url(../image/story/slide02_pc.jpg);
}

#story .slide03 {
    top: 1600px;
    inset: 75px 0 0 0 !important;
}

#story .slide03 .storySlideBg {
    background-image: url(../image/story/slide03_pc.jpg);
}

#story .slide04 {
    top: 3200px;
    inset: 75px 0 0 0 !important;
}

#story .slide04 .storySlideBg {
    background-image: url(../image/story/slide04_pc.jpg);
}

#story .slide05 {
    top: 4800px;
    inset: 75px 0 0 0 !important;
}

#story .slide05 .storySlideBg {
    background-image: url(../image/story/slide05_pc.jpg);
}

#story .slide06 {
    top: 6400px;
    inset: 75px 0 0 0 !important;
}

#story .slide06 .storySlideBg {
    background-image: url(../image/story/slide06_pc.jpg);
}

#story .slide07 {
    top: 8000px;
    inset: 75px 0 0 0 !important;
}

#story .slide07 .storySlideBg {
    background-image: url(../image/story/slide07_pc.jpg);
}

#story .slide08 {
    top: 9600px;
    inset: 75px 0 0 0 !important;
}

#story .slide08 .storySlideBg {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

#story .slide01 .slide01Txt h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 8rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    line-height: 1;
}

#story .slide01 .slide01Txt .lead {
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    line-height: 1.8;
    letter-spacing: .15em;
    margin: 50px 0;
}

#story .slide01 .slide01Txt .scroll p {
    font-size: 2.1rem;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

#story .slide01 .slide01Txt .scroll .arrow {
    position: relative;
    width: 14px;
    height: 50px;
    margin: 0 auto;
}

#story .slide01 .slide01Txt .scroll .arrow span {
    position: absolute;
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12.1px 7px 0 7px;
    border-color: #ffffff transparent transparent transparent;
}

#story .slide01 .slide01Txt .scroll .arrow span:nth-of-type(1) {
    top: 0;
    animation: fade_in_out 1.5s linear 0.5s infinite;
}

#story .slide01 .slide01Txt .scroll .arrow span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    animation: fade_in_out 1.5s linear 1.0s infinite;
}

#story .slide01 .slide01Txt .scroll .arrow span:nth-of-type(3) {
    bottom: 0;
    animation: fade_in_out 1.5s linear 1.5s infinite;
}

@keyframes fade_in_out {
    from {
        border-color: #ffffff transparent transparent transparent;
    }

    50% {
        border-color: #333333 transparent transparent transparent;
    }

    to {
        border-color: #fefefe transparent transparent transparent;
    }
}

#story .storyBox {
    position: relative;
    width: 100%;
    height: 100%;
}

#story .storyBox .storyContent {
    position: absolute;
    width: 45%;
    top: 50%;
    right: 50%;
    padding: 50px 50px 70px 50px;
    background-image: url(../image/story/slideContentBg.png);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0;
}

#story .activeSlide .storyBox .storyContent {
    animation-name: fadebox;
    animation-delay: 1s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

@keyframes fadebox {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#story .storyBox .storyContent.contentR {
    transform: translate(100%, -50%);
}

#story .storyBox .storyContent.contentL {
    transform: translate(0, -50%);
}

#story .storyBox .storyContent h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #374276;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

#story .storyBox .storyContent h3 .num {
    font-size: 8rem;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    text-align: center;
    text-shadow: 1px 1px 0px #374276, -1px -1px 0px #374276,
        -1px 1px 0px #374276, 1px -1px 0px #374276,
        1px 0px 0px #374276, -1px 0px 0px #374276,
        0px 1px 0px #374276, 0px -1px 0px #374276;
    ;
    ;
}

#story .storyBox .storyContent h3 .icon {
    position: absolute;
    display: inline-block;
    bottom: 0;
}

#story .storyBox .storyContent.contentR h3 .icon {
    margin-left: 50px;
}

#story .storyBox .storyContent.contentL h3 .icon {
    transform: translateX(calc(-100% - 50px));
}

#story .storyBox .storyContent h3 div.icon {
    height: 122px;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

#story .slide02 .storyBox .storyContent h3 div.icon {
    width: 88px;
    background-image: url(../image/story/icon02.png);
    animation: splice01 2s steps(1) infinite;
}

@keyframes splice01 {
    0% {
        background-position: 0 0;
    }

    33.33% {
        background-position: -107px 0;
    }

    66.66% {
        background-position: right 0 top 0;
    }
}

#story .slide03 .storyBox .storyContent h3 div.icon {
    width: 116px;
    height: 122px;
    background-image: url(../image/story/icon03.png);
    animation: splice02 2s steps(1) infinite;
}

@keyframes splice02 {
    0% {
        background-position: 0 0;
    }

    33.33% {
        background-position: -189.5px 0;
    }

    66.66% {
        background-position: -375.5px 0;
    }
}

#story .slide04 .storyBox .storyContent h3 div.icon {
    width: 122px;
    background-image: url(../image/story/icon04.png);
    animation: splice03 2s steps(1) infinite;
}

@keyframes splice03 {
    0% {
        background-position: 0 0;
    }

    33.33% {
        background-position: 49.9% 0;
    }

    66.66% {
        background-position: 99.75% 0;
    }
}

#story .slide05 .storyBox .storyContent h3 div.icon {
    width: 122px;
    background-image: url(../image/story/icon05.png);
    animation: splice04 2s steps(1) infinite;
}

@keyframes splice04 {
    0% {
        background-position: 5px 0;
    }

    33.33% {
        background-position: 50.6% 0;
    }

    66.66% {
        background-position: 103% 0;
    }
}

#story .slide06 .storyBox .storyContent h3 div.icon {
    width: 140px;
    background-image: url(../image/story/icon06.png);
    animation: splice05 2s steps(1) infinite;
}

@keyframes splice05 {
    0% {
        background-position: 0 0;
    }

    33.33% {
        background-position: 51% 0;
    }

    66.66% {
        background-position: 102% 0;
    }
}

#story .slide07 .storyBox .storyContent h3 div.icon {
    width: 118px;
    background-image: url(../image/story/icon07.png);
    animation: splice06 2s steps(1) infinite;
}

@keyframes splice06 {
    0% {
        background-position: 0 0;
    }

    33.33% {
        background-position: 51.5% 0;
    }

    66.66% {
        background-position: 102.9% 0;
    }
}

#story .storyBox .storyContent dl dt {
    font-size: 3rem;
    font-weight: 700;
    color: #374276;
    letter-spacing: .15rem;
    text-align: center;
    border-bottom: 1px solid #374276;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

#story .storyBox .storyContent dl dd {
    font-size: 1.6rem;
    font-weight: 400;
    color: #323333;
    letter-spacing: .1em;
}

#story .slide08 .slide08Content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#story .slide08 .slide08Content p {
    font-size: 3rem;
    font-weight: 500;
    color: #374276;
    text-align: center;
    letter-spacing: .15em;
    margin-top: 50px;
}

#story .slide08 .slide08Content p,
#story .slide08 .slide08Content .flogo {
    opacity: 0;
}

#story .slide08.activeSlide .slide08Content .flogo,
#story .slide08.activeSlide .slide08Content p {
    animation-name: fade08content;
    animation-fill-mode: forwards;
    animation-duration: 1s;
}

#story .slide08.activeSlide .slide08Content .flogo {
    width: 225px;
    animation-delay: 1.5s;
}

#story .slide08.activeSlide .slide08Content p {
    animation-delay: 2.5s;
}

@keyframes fade08content {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    #story .slide02,
    #story .slide03,
    #story .slide04,
    #story .slide05,
    #story .slide06,
    #story .slide07,
    #story .slide08 {
        inset: 73px 0 0 0 !important;
    }

    #story .storyBox .storyContent {
        padding: 50px;
    }

}

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

    #story .storySlide {
        opacity: 1;
    }

    #story .slidenav {
        display: none;
        pointer-events: none;
    }

    #story .slidearea {
        height: auto;
    }

    #story .slide02,
    #story .slide03,
    #story .slide04,
    #story .slide05,
    #story .slide06,
    #story .slide07,
    #story .slide08 {
        inset: 0 !important;
    }

    #story .slide01.activeSlide {
        position: static;
    }

    #story .slide01 .slide01Txt h2 {
        font-size: 6rem;
    }

    #story .slide01 .slide01Txt .lead {
        font-size: 1.6rem;
        letter-spacing: .05em;
    }

    #story .storyBox .storyContent {
        width: 90%;
        padding: 50px 30px;
        opacity: 1;
    }

    #story .activeSlide .storyBox .storyContent {
        animation: none;
    }

    #story .storyBox .storyContent.contentR,
    #story .storyBox .storyContent.contentL {
        transform: translate(50%, -50%);
    }

    #story .storyBox .storyContent dl dt {
        font-size: 2.4rem;
    }

    #story .storyBox .storyContent h3 .num {
        font-size: 6rem;
    }

    #story .storyBox .storyContent.contentR h3 .icon {
        right: 0;
    }

    #story .storyBox .storyContent.contentL h3 .icon {
        left: 0;
        transform: none;
    }
    #story .slide08 .slide08Content p,
    #story .slide08 .slide08Content .flogo {
        opacity: 1;
    }

    #story .slide08 .slide08Content .flogo {
        width: 160px;
    }

    #story .slide08 .slide08Content p {
        font-size: 2.4rem;
    }

}

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

    #story .storyBox .storyContent.contentR h3 .icon,
    #story .storyBox .storyContent.contentL h3 .icon {
        width: 80px;
    }

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

#story .slide02 .storyBox .storyContent h3 div.icon{
    right: -3%;
}
#story .storyBox .storyContent.contentL h3 .icon {
    left: -3%;
}
#story .slide03 .storyBox .storyContent h3 div.icon{
    width: 106px;
    height: 112px;
    animation: splice02Sp 2s steps(1) infinite;
}
@keyframes splice02Sp {
    0% {
        background-position: 0 0;
    }

    33.33% {
        background-position: -174px 0;
    }

    66.66% {
        background-position: -344.8px 0;
    }
}
#story .slide04 .storyBox .storyContent h3 div.icon{
    width: 107px;
    height: 107px;
}
#story .slide05 .storyBox .storyContent h3 div.icon {
    width: 117px;
    height: 117px;
}
#story .slide06 .storyBox .storyContent h3 div.icon{
    width: 120px;
    height: 102px;
    right: -9%;
}
}