@charset "utf-8";

/* メイン */
#main_v {
    overflow: hidden;
    margin-top: 65px;
}

#main_v video {
    overflow: hidden;
    width: 100%;
    display: block;
}

#visual {
    height: auto;
}


/*メインコピー */
.cat_message {
    text-align: center;
    margin: 100px auto 120px auto;
}

.cat_message h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.cat_message p {
    line-height: 2.4;
}

.cat_message img {
    width: 300px;
    position: absolute;
    right: 20px;
    top: 0;
}


/*共通 */
.about_main,
.grave_main,
.funeral_main {
    padding: 0;
    width: 100%;
}

.about_title,
.grave_title,
.funeral_title{
    height: 180px;
}

.about_title h2,
.grave_title h2,
.funeral_title h2,
.map h2{
    text-align: center;
    color: #fff;
    line-height: 180px;
    font-size: 1.4rem;
}


/*日輪寺について */

.about_title {
    margin: 0;
    background-color: #353e5a;
    background-image: url('../img/about_img_sp.png');
    background-size: cover;
}

.about_title img {
    width: 24px;
    margin: 50px auto;
}

.about_read {
    width: 100%;
    background-color: #fff;
    padding: 25px;
}

.about_read img {
    width: 60%;
    margin: 20px auto 30px auto;
}


/*お墓・永代供養 */

.grave_title {
    background-color: #635667;
    background-image: url('../img/grave_img_sp.png');
    background-size: cover;
}

.grave_title img {
    width: 24px;
    margin: 50px auto;
}

.grave_read {
    width: 100%;
    background-color: #fff;
    padding: 25px;
}


/*葬儀 */

.funeral_title {
    background-color: #655b51;
    background-image: url('../img/funeral_img_sp.png');
    background-size: cover;
}

.funeral_title img {
    width: 24px;
    margin: 50px auto;
}

.funeral_read {
    width: 100%;
    background-color: #fff;
    padding: 25px;
}


/* ボタン */

.about_read a,
.grave_read a,
.funeral_read a {
    display: block;
    margin: auto;
}

.btn-primary {
    position: relative;
    padding: .9em 4em;
    background-color: #fff;
    border: 1px solid #999;
    color: #000;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #000;
    border: 1px solid #000;
}

.btn-primary::after {
    position: absolute;
    top: 50%;
    right: .8em;
    content: '';
    margin-top: -5px;
    border: 7px solid transparent;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-color: #000;
    opacity: 0;
    animation: arrow 1.2s infinite;
}


/* 地図 */

#map {
    width: 100%;
}

.map {
    margin: 50px auto;
}

.map iframe {
    width: 100%;
    height: 450px;
}

.map h2 {
    width: 100%;
    background-color: #555555;
}

.map h2 img {
    width: 26px;
    margin: 30px auto;
}


@media (min-width: 576px) {

    #loading {
        width: 100vw;
        height: 100vh;
        transition: all 1s;
        background-color: #000;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
    }

    .loaded {
        opacity: 0;
        visibility: hidden;
    }

    .spinner {
        width: 40px;
        height: 40px;
        top: 50%;
        left: 50%;
        margin-top: -20px;
        margin-left: -20px;
        position: absolute;
    }

    .cube1,
    .cube2 {
        background-color: #fff;
        width: 15px;
        height: 15px;
        position: absolute;
        top: 0;
        left: 0;

        -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
        animation: sk-cubemove 1.8s infinite ease-in-out;
    }

    .cube2 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    @-webkit-keyframes sk-cubemove {
        25% {
            -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5)
        }

        50% {
            -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg)
        }

        75% {
            -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5)
        }

        100% {
            -webkit-transform: rotate(-360deg)
        }
    }

    @keyframes sk-cubemove {
        25% {
            transform: translateX(42px) rotate(-90deg) scale(0.5);
            -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
        }

        50% {
            transform: translateX(42px) translateY(42px) rotate(-179deg);
            -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
        }

        50.1% {
            transform: translateX(42px) translateY(42px) rotate(-180deg);
            -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
        }

        75% {
            transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
            -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        }

        100% {
            transform: rotate(-360deg);
            -webkit-transform: rotate(-360deg);
        }
    }

    /* スティッキーナビ */

    .fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -o-border-radius: 0;
    }

    #sticker {
        background-color: #ffffff;
        z-index: 9999 !important;
        overflow: hidden;
        box-shadow: 2px 2px 8px #d4d4d4;
    }

    #sticker ul {
        text-align: center;
        margin: 0;
        padding: 15px;
    }

    #sticker li {
        display: inline-block;
    }

    #sticker li a {
        color: #000;
        transition: 0.4s;
    }

    #sticker li a:hover {
        color: #357d86;
    }


    /* メインビジュアル */

    #visual {
        position: relative;
        width: 100%;
        height: 100vh;
    }

    #main_v {
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-top: 0;
    }

    #main_v video {
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: auto;
        height: auto;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
    }

    .v_logo {
        position: absolute;
        width: 93px;
        height: 481px;
        top: 50%;
        left: 50%;
        z-index: 100;
        margin-left: -46px;
        margin-top: -240px;
    }
    
    /* 動画スクロール */
    .scroll {
        color: #fff;
        font-weight: bold;
        font-size: 0.8rem;
        width: 80px;
        position: absolute;
        z-index: 2;
        bottom: 30px;
        left: 50%;
        margin-left: -40px;
        text-align: center;
    }

    .main-arrow {
        margin: 0 auto;
        width: 30px;
        animation: main-a 1s ease -1s infinite alternate;
        -webkit-animation: main-a 1s ease -1s infinite alternate;

    }

    @-webkit-keyframes main-a {
        0% {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }

        100% {
            -webkit-transform: translate3d(0, -15px, 0);
            transform: translate3d(0, -15px, 0);
        }

    } 
    

    /* 共通 */

    .co01 h2 {
        background-color: aqua;
    }

    .container-fluid {
        max-width: 1600px;
        margin: 0;
        padding: 0;
    }
    
    .about,
    .grave,
    .funeral {
        height: auto;
        overflow: hidden;
    }

    .about_read,
    .grave_read,
    .funeral_read {
        width: 380px;
        background-color: #fff;
        padding: 70px 45px 45px 45px;
    }
    
    .about_title,
    .grave_title,
    .funeral_title {
        height: auto;
    }


    /*日輪寺について */

    #about {
        padding: 75px 0;
        background-image: url('../img/about_bg.png');
        background-size: 55%;
        background-position: right;
        background-repeat: repeat-y;
    }

    .about_title img {
        width: 24px;
        margin: 60px 40px 0 auto;
    }

    .about_read {
        position: absolute;
        right: 0;
        top: -25px;
    }

    .about_read img {
        width: 90%;
        margin: 20px auto 30px auto;
    }


    /*お墓・永代供養 */
    
    .grave_title {
        background-image: url('../img/grave_img.png');
        background-size: cover;
    }

    #grave {
        margin-top: -75px;
        padding: 175px 0 0 0;
        background-image: url('../img/grave_bg.png');
        background-size: 35%;
        background-position: left;
        background-repeat: repeat-y;
    }

    .grave {
        margin-left: auto;
    }

    .grave_title img {
        width: 24px;
        margin: 60px auto 0 40px;
    }

    .grave_read {
        position: absolute;
        left: 0;
        top: -25px;
    }


    /*葬儀 */

    #funeral {
        padding: 150px 0 30px 0;
        background-image: url('../img/funeral_bg.png');
        background-size: 65%;
        background-position: right;
        background-repeat: repeat-y;
    }

    .funeral_title img {
        width: 24px;
        margin: 60px 40px 0 auto;
    }

    .funeral_read {
        position: absolute;
        right: 0;
        top: -25px;
    }


    /* 地図 */

    #map {
        background-color: #f3f1f2;
        width: 90%;
    }

    .map {
        margin: 150px auto;
    }

    .map iframe {
        height: 500px;
        position: relative;
        top: 75px;
    }

    .map h2 {
        width: 60px;
        position: absolute;
        right: -320px;
        top: -25px;
    }

    .map p {
        position: absolute;
        bottom: 20px;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        white-space: nowrap;
        
    }
    
    .mt100{
        margin-top: 60px;
    }
    
.reserve {
        margin-top: 0;
}

    .reserve_btn {
        text-align: right;
        margin: 10px 0 0 0;
}

.reserve .btn {
        width: 150px;
        padding: 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

}


btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#333;border-color:#333;box-shadow:0 rgba(0, 0, 0, 0.2)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#333;border-color:#333}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#333;border-color:#333}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 rgba(0, 0, 0, 0.2)}