@charset "utf-8";
/*
Theme Name: Noukotsu
Author: Team Code Free
Description: This is a dedicated theme for 'noukotsu'.
*/


/* 追加css */

.voice-interment-content-flex,
.voice-new-grave-content-flex {
    align-items: unset !important;
}

.voice-grave-closure-content-right-img,
.voice-interment-content-right-img,
.voice-new-grave-content-right-img,
.voice-tree-burial-content-right-img {
    width: 20rem;
    height: auto;
    margin-bottom: 20px;
}

.voice-grave-closure-content-right-img img,
.voice-interment-content-right-img img,
.voice-new-grave-content-right-img img,
.voice-tree-burial-content-right-img img {
    width: 100%;
    height: auto;
}

.voice-interment-content-left-img,
.voice-grave-closure-content-left-img,
.voice-new-grave-content-left-img,
.voice-tree-burial-content-left-img {
    width: 20rem;
    height: auto;
    margin-bottom: 20px;
}

.voice-interment-content-left-img img,
.voice-grave-closure-content-left-img img,
.voice-new-grave-content-left-img img,
.voice-tree-burial-content-left-img img {
    width: 100%;
    height: auto;
}

.voice-link-btn {
    text-align: center;
}

.top-news-btn {
    text-align: center;
    margin: 30px auto 0;
}

.top-news-btn a {
    display: inline-block;
    border-radius: 2rem;
    width: 24.1rem;
    height: 6.1rem;
    font-size: 2.9rem;
    font-weight: bold;
    color: #000000;
    border: 1px solid #000000;
    line-height: 2;
}

.archive-news {
    padding-block: 4.2rem !important;
}

.contact-title {
    margin: 150px auto 100px;
    position: relative;
}

.contact-title::after {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 200px;
    height: 50px;
    background-image: url("./asset/img/contact/contact-flow5.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-flow {
    max-width: 76.9rem;
    width: 100%;
    margin: 0 auto;
}

.contact-flow-text {
    margin-bottom: 30px;
}

.contact-flow-box {
    position: relative;
}

.contact-flow-box-image {
    position: absolute;
}

.contact-flow-box-image img {
    width: 100%;
}

.contact-flow-box-image1 {
    top: -50px;
    width: 200px;
    left: -200px;
}

.contact-flow-box-image2 {
    top: 250px;
    width: 80px;
    right: -100px;
}

.contact-flow-box-image3 {
    bottom: 300px;
    width: 80px;
    left: -100px;
}

.contact-flow-box-image4 {
    bottom: 0;
    width: 200px;
    right: -200px;
}

.contact-flow-box-item {
    display: flex;
    padding: 20px 0 30px;
    position: relative;
}

.contact-flow-box-item::after {
    position: absolute;
    left: 40px;
    transform: translateX(-50%);
    background-color: #514938;
    content: "";
    border-radius: 50px;
    display: block;
    width: 8px;
    top: 115px;
    bottom: 0;
    opacity: 0.7;
}

.contact-flow-box-item:last-child::after {
    display: none;
}

.contact-flow-box-num {
    margin-right: 50px;
    width: 80px;
    height: 80px;
    color: #ffffff;
    text-align: center;
    background-color: #f67949;
    border-radius: 50px;
    font-weight: bold;
}

.contact-flow-box-num-step {
    padding-top: 9px;
    display: inline-block;
}

.contact-flow-box-num-num {
    font-size: 36px;
    display: block;
    margin-top: -13px;
}

.contact-flow-box-txt {
    width: calc(100% - 130px);
}

.contact-flow-box-txt-ttl {
    font-size: 24px;
}

.contact-flow-box-txt-detail {
    padding: 20px;
    background-color: #fff;
}

.contact-title-sp {
    display: none;
}


@media (max-width: 767px) {

    .contact-title-sp {
        display: block;
    }

    .contact-title::after {
        top: 100px;
    }

    .contact-flow {
        font-size: 1.8rem;
    }

    .contact-flow-box-num {
        width: 50px;
        height: 50px;
        font-size: 10px;
        margin-right: 10px;
    }

    .contact-flow-box-num-step {
        font-size: 10px;
        padding-top: 7px;
    }

    .contact-flow-box-num-num {
        font-size: 20px;
        margin-top: -10px;
    }

    .contact-flow-box-item::after {
        left: 25px;
        width: 5px;
        top: 80px;
    }

    .contact-flow-text {
        font-size: 16px;
    }

    .contact-flow-box-txt {
        width: calc(100% - 60px);
    }

    .contact-flow-box-txt-ttl {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .contact-flow-box-txt-detail {
        font-size: 16px;
        padding: 10px;
    }

    .contact-flow-box-image1,
    .contact-flow-box-image4 {
        display: none;
    }

    .contact-flow-box-image2 {
        right: 0;
        top: 0;
        z-index: 3;
    }

    .contact-flow-box-image3 {
        left: 0;
        bottom: 0;
        z-index: 3;
    }


}