@charset "UTF-8";

body::before {
    transition: 0.8s;

}

.hover-nisshin::before {
    background-image: url(../image/bg_image.jpg);
}

.hover-kicchou::before {
    background-image: url(../image/bg_image2.jpg);
}

.hover-nagashima::before {
    background-image: url(../image/bg_image3.jpg);
}

.hover-yuhou::before {
    background-image: url(../image/bg_image3.jpg);
}


/* catalog */

.catalog_container {
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    gap: 30px;
}

.catalog_item {
    background-color: #fff;

}


.catalog_item a {
    display: block;
    padding: 60px 20px;
    border: 10px solid #718179;
    position: relative;
    z-index: 1;
    color: #fff;

}

.catalog_item a::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;

}

.catalog_item-title {
    font-size: 32px;
    font-weight: 700;
    text-align: left;
}

.catalog_item-title span {
    font-size: 24px;
    display: block;

}

.nisshin {
    background-image: url(../image/mv1.jpg);
    background-size: cover;
    background-position: center;
}

.kicchou {
    background-image: url(../image/mv2.jpg);
    background-size: cover;
    background-position: center;
}

.nagashima {
    background-image: url(../image/mv3.jpg);
    background-size: cover;
    background-position: center;
}

.yuhou {
    background-image: url(../image/mv4.jpg);
    background-size: cover;
    background-position: center;
}

.catalog_item_icon {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 150px;
    transform: translate(0, -50%) rotate(10deg);
}


@media(max-width:767px) {
    .catalog_container {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }
}

@media(max-width:450px) {
    .catalog_container {
        gap: 80px 0;
        margin-top: 120px;
    }

    .catalog_item-title {
        text-align: center;
    }

    .catalog_item a {
        padding: 80px 20px 20px;

    }

    .catalog_item-title {
        text-align: center;
    }

    .catalog_item_icon {
        position: absolute;
        top: 0;
        right: 50%;
        width: 150px;
        transform: translate(50%, -50%) rotate(10deg);
    }

}

/* 挨拶文 */
.greeting {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 80px 0;
    box-shadow: 0px 0px 15px -5px rgba(89, 89, 89, 0.1);
}

.greeting_text {
    line-height: 2;
    position: relative;
    z-index: 1;
    font-size: 15px;
}

.greeting_text p {
    margin-top: 1em;
}



/* point */
.point {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 210px;
    box-shadow: 0px 0px 15px -5px rgba(89, 89, 89, 0.1);
}

.point_text {
    line-height: 2;
    position: relative;
    z-index: 1;
    font-size: 15px;
}

.point_text p {
    margin-top: 1em;
}

.point_wrap {
    position: relative;
}

.point_image {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

.point_image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
}

.point_image img {
    width: 100%;
    max-width: 600px;
    object-fit: cover;
    height: 350px;
}


@media(max-width:767px) {
    .point {
        padding: 60px 0 120px;
    }

    .point_image {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 0;
        margin-top: 30px;

        position: absolute;

        width: 85%;
        bottom: -50px;
        right: 0;
    }

    .point_image img {
        object-fit: cover;
        height: 100%;
        object-position: left;
    }

    .point_image::after {

        background-color: rgba(255, 255, 255, 0.7);
    }

    .point_text {
        width: 96%;
        margin: 0 auto;
        line-height: 1.7;
        font-size: 15px;
        font-weight: 400;
    }


}

/* contact */

.contact {
    background-color: rgba(78, 97, 87, 0.1);
}

.contact_title {
    margin-bottom: 32px;
}

.contact_text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.contact_items {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 20px;
}

.contact_items .title {
    text-align: center;
    padding: 0.5em 1em;
    /* background-color: #222;
    color: #fff; */
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact_items-tel {
    width: 50%;
    background-color: #fff;
    padding: 30px 20px 50px;
}

.contact_items-tel_wrap {
    max-width: 360px;
    margin: 0 auto;
}

.contact_items-tel_num {
    font-size: 40px;
    font-weight: 600;
    color: #ff8b68;

}

.contact_items-tel_num span {
    font-size: 22px;
    margin-right: 0.5em;
    color: var(--main-text-color);
}

.contact_items-tel_address span {
    margin-right: 0.5em;
}

.contact_items-mail {
    width: 50%;
    background-color: #fff;
    padding: 35px 20px 50px;

}

.contact_items-mail a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    padding: .8em 1.5em .8em;
    background-color: #ff8b68;
    text-align: center;
    max-width: 480px;
    border-radius: 100px;
    margin: 10px auto 0;

    box-shadow: 2px 2px 4px 0px #dfdfdf;
    border-radius: 100px;
    color: #fff;

    position: relative;

    line-height: 1;
}

.contact_items-mail a::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;

    position: absolute;
    right: 30px;

    transform: rotate(-45deg);
}



@media(max-width:767px) {
    .contact_items {
        flex-direction: column;
        align-items: center;
    }

    .contact_items-tel_address {
        font-size: 16px;
        margin-top: 0.5em;
    }

    .contact_items .title {
        padding: 0;
        margin: 0;
    }

    .contact_items-tel,
    .contact_items-mail {
        width: 100%;
    }


    .contact_items-tel {
        padding: 30px 15px;
    }

    .contact_items-tel_num {
        font-size: 32px;
        text-align: center;
    }

    .contact_items-tel_address span {
        display: block;
        margin: 0;
    }

    .contact_items-mail {
        padding: 30px 15px;
    }

}

/* camera mv */
#camera_wrap_mv {
    position: relative;
    top: 0;
    left: 0;
    height: 70vh;

}