

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 480px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}

#background-img {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    background: url('../img/bg_pc@3x.png') no-repeat center center;
    background-size: cover;
}

header {
    position: fixed; /* ヘッダーの固定 */
    top: 0px; /* 位置(上0px) */
    left: 0px; /* 位置(右0px) */
    width: 100%; /* 横幅100%　*/
    height: 6%;
}

header #header-bk {
    position: absolute;
    z-index: 0;
    background-color: #05769D;
    height: 100%;
    width: 100%;
}

header #header {
    position: relative;
    z-index: 1;
    height: 100%; /* 縦の表示領域はheader-bkと同じ */
    width: 100%; /* 横の幅970px */
}

.go-catalog {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 20px;
    bottom: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.go-catalog img {
    height: 35px;
}

.go-home {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 20px;
    bottom: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.go-home img {
    height: 35px;
}

/* フッターの固定 */
footer {
    position: fixed; /* フッターの固定 */
    bottom: 0px; /* 位置(下0px) */
    left: 0px; /* 位置(左0px) */
    width: 100%; /* 横幅100%　*/
    height: 6%;
}

footer #footer-bk {
    position: absolute;
    z-index: 0;
    background-color: #05769D;
    height: 100%;
    width: 100%;
}

footer #footer {
    position: relative;
    z-index: 1;
    height: 100%; /* 縦の表示領域はheader-bkと同じ */
    width: 100%; /* 横の幅970px */
}

.footer-logo {
    text-align: center;
    z-index: -100;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}



@media screen and  (max-width: 812px) {
    .footer-logo img {
        height: 20px;
        z-index: -100;
    }
}

@media screen and (min-width: 813px) {
    .footer-logo img {
        height: 70%;
        z-index: -100;
    }
}

@media screen and (min-width: 481px) {
    .btn_wrapper {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        height: 100px;
        margin: auto;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

.title {
    margin: 0 auto;
    width: 100%;
}

.btn {
    margin: 0 auto;
    margin-top: 25px;
    width: 5%;
}


/* モーダル内要素 */
.modal {
    display: none;
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: #F5F5F5;
}

/* モーダル開いたとき */
.modal.isOpen {
    display: block;
    opacity: 1;
    animation: scaleUp 5s linear;
    -webkit-animation: scaleUp 5s linear;
}

.back-blur {
    animation: back-blur 2.5s linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes back-blur {
    0% {
        opacity: 1;
        -webkit-filter: blur(0px);
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        -webkit-filter: blur(5px);
        filter: blur(5px);
    }
}

@-webkit-keyframes back-blur {
    0% {
        opacity: 1;
        -webkit-filter: blur(0px);
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        -webkit-filter: blur(5px);
        filter: blur(5px);
    }
}

/* モーダル閉じるとき */
.modal.isClose {
    display: block;
    animation: scaleDown 0.3s linear;
    -webkit-animation: scaleDown 0.3s linear;
}

@keyframes scaleUp {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes scaleUp {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scaleDown {
    0% {
        opacity: 1;
        transform: scale(1, 1);
    }
    100% {
        opacity: 0;
        transform: scale(0, 0);
    }
}

@-webkit-keyframes scaleDown {
    0% {
        opacity: 1;
        transform: scale(1, 1);
    }
    100% {
        opacity: 0;
        transform: scale(0, 0);
    }
}

.modalHeader {
    position: relative;
    font-size: 15px;
    height: 40px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.btnClose {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    text-align: center;
    width: 33px;
    color: #000000;
}

.btnClose:before,
.btnClose:after {
    position: absolute;
    display: block;
    margin-top: -6px;
    top: 50%;
    content: "";
    width: 10px;
    height: 10px;
    color: #000000;
    border-style: solid;
}

.btnClose:before {
    left: 4px;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
}

.btnClose:after {
    right: 3px;
    border-width: 2px 0 0 2px;
    transform: rotate(-45deg);
}

.video_wrapper {
    height: 100%;
    display: block;
    text-align: center;
}

video {
    position: absolute;
    width: 70%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* モーダル内要素ここまで */

@media screen and (max-width: 480px) {
    #background-img {
        position: fixed;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: -100;
        background: url('../img/bg_mobile@3x.png') no-repeat center center;
        background-size: cover;
    }

    header {
        position: fixed; /* ヘッダーの固定 */
        top: 0px; /* 位置(上0px) */
        left: 0px; /* 位置(右0px) */
        width: 100%; /* 横幅100%　*/
        height: 30px;
    }

    header #header-bk {
        position: absolute;
        z-index: 0;
        background-color: #05769D;
        height: 100%;
        width: 100%;
    }

    header #header {
        position: relative;
        z-index: 1;
        height: 100%; /* 縦の表示領域はheader-bkと同じ */
        width: 100%; /* 横の幅970px */
    }

    .go-catalog {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 20px;
        bottom: 0;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .go-catalog img {
        height: 30px;
    }

    .go-home {
        position: absolute;
        cursor: pointer;
        top: 0;
        right: 20px;
        bottom: 0;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .go-home img {
        height: 30px;
    }

    /* フッターの固定 */
    footer {
        position: fixed; /* フッターの固定 */
        bottom: 0px; /* 位置(下0px) */
        left: 0px; /* 位置(左0px) */
        width: 100%; /* 横幅100%　*/
        height: 10%;
    }

    footer #footer-bk {
        position: absolute;
        z-index: 0;
        background-color: #05769D;
        height: 100%;
        width: 100%;
    }

    footer #footer {
        position: relative;
        z-index: 1;
        height: 100%; /* 縦の表示領域はheader-bkと同じ */
        width: 100%; /* 横の幅970px */
    }

    .footer-logo {
        text-align: center;
        z-index: -100;
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /*    .footer-logo img {
            height: 30px;
            z-index: -100;
        }*/

    .btn_wrapper{
        position: absolute;
        cursor: pointer;
        top: 15%;
        left: -5%;
        width: 80%;
        text-align: center;
    }

    .title {
        margin: 0 auto;
        width: 100%;
    }

    .btn {
        margin: 0 auto;
        margin-top: 15px;
        width: 15%;
    }
}


/* アニメーション */
.fadeout-animation {
    animation: fadeout-animation 5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeout-animation {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
    }
}

.fadein-animation {
    animation: fadein-animation 5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadein-animation {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}
