.idx_top{
    height: 40rem;
    position: relative;
}
.idx_top span{
    position: absolute;
    bottom: -0.2rem;
    color: rgb(var(--color-white));
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2rem;
}
.idx_top .bg{
    z-index: 10;
    position: absolute;

    height: 100%;
    width: 100%;
    object-fit: cover;
}

.idx_top .bg.swiper .swiper-wrapper .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.idx_top::after{
    content: "";
    display: block;
    top: 0;
    z-index: 11;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--color-black), 0.1);
}

.idx_top .content_box .logo{
    height: 6rem;
}

.idx_top .bottom_box{
    position: absolute;
    display: flex;
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
    height: 20rem;
    bottom: 0;
    padding-bottom: 3rem;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(var(--color-base), 1) 5%, rgba(var(--color-base),0) 90%);
}

.idx_copy{
    row-gap: 5rem;
    padding-top: 3rem;
}
.idx_copy .image_box{
    display: flex;
    flex-direction: row;
    row-gap: 0;
    width: 100%;
}
.idx_copy .image_box img{
    flex-grow: 1;
    height: 15rem;
    object-fit: cover;
    min-width: 0;
}


.idx_nav .row{
    height: auto;
}
.idx_nav .nav_box.row_item{
    position: relative;
    min-height: 40rem;
    display: flex;
    flex-direction: column;
}
.idx_nav .nav_box.row_item img{
    height: 70%;
    flex-grow: 1;
}
.idx_nav .nav_box.row_item .nav_desc{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
    position: relative;
    padding: 1rem;
    flex-grow: 1;
    background-color: rgb(var(--color-gray-blue));
    padding-bottom: 5rem;
}
.idx_nav .nav_box.row_item .nav_desc h3{
    font-weight: normal;
}

.idx_nav .nav_box.row_item .nav_desc p{
    font-size: 0.7rem;    
}
.idx_nav .nav_box.row_item .nav_desc .icon_arrow{
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    border-radius: 100rem;
    border-width: 0.1rem;
    height: 2rem;
    width: 2rem;
    padding: 0.2rem;
    border-color: rgb(var(--color-black));
}

.idx_content_title{
    margin-bottom: 0;
    align-items: center;
}

.idx_reno .idx_reno_desc{
    row-gap: 3rem;
}

.idx_swiper .swiper .swiper-slide{
    width: 90vw;
    position: relative;
    padding: 0 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    text-align: center;
}

.idx_swiper .swiper .swiper-slide::after{
    content: "";
    width: 4rem;
    height: 4rem;
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    border-style: none;
    border-left-style: solid;
    border-bottom-style: solid;
    border-color: rgba(var(--color-white),0.5);
    border-width: 1px;
}

.idx_swiper .swiper .swiper-slide img{
    width: 100%;
    height: 50%;
    object-fit: cover;
}

.idx_swiper .swiper .swiper-slide .desc_box{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.idx_swiper .swiper .swiper-slide p{
    margin: 0 3rem;
}

.idx_swiper .swiper .swiper-slide .link_button{
    margin-top: 10rem;
}

.idx_cars #idx-swiper-cars{
    width: 100%;
}
.idx_cars #idx-swiper-cars .swiper-wrapper{
    transition-timing-function: linear !important;
}
.idx_cars #idx-swiper-cars .swiper-slide {
    width: max-content;
}

.idx_cars #idx-swiper-cars .item, .item_list .item{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.idx_cars #idx-swiper-cars .item img{
    height: 15rem;
    aspect-ratio: 4/3;
    object-fit: cover;
}


.item_list .item img{
    width: 100%;
    aspect-ratio: 4/3;
}
.idx_cars #idx-swiper-cars .item p, .item_list .item p{
    font-size: 0.9rem;
    font-weight: 500;
}

.item_list .item span{
    font-size: 0.7rem;
    font-weight: 500;
}
.item_list .item span::before{
    content: "￥";
}
.item_list .item .desc_box{
    display: flex;
    flex-direction: column;
    row-gap: 0.1rem;
}

.idx_cars .link_box{
    align-items: flex-end;
}
.idx_cars .link_box a {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
}
.idx_cars .link_box a span{
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
}
.idx_cars .link_box a i{
    display: flex;
    font-size: 0.6rem;
    padding: 0.5rem;
    background-color: rgb(var(--color-black));
    border-radius: 100rem;
}

.idx_address .content_box.row{
    margin: 5rem 0;
    column-gap: 3rem;
    height: auto;
    align-items: center;
}
.idx_address .content_box .row_item{
    max-width: 50%;
}

.idx_address .content_box .row_item.addr_wrapper{
    flex-grow: 1;
    flex-direction: column;
    row-gap: 3rem;
    justify-content: center;
}

.idx_address .content_box .row_item.addr_wrapper .addr_box{
    display: flex;
    position: relative;
    flex-direction: column;
    row-gap: 2rem;
}

.idx_address .content_box .row_item.addr_wrapper .addr_box h3{  
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
    padding-bottom: 0.7rem;
    border-bottom: 0.1rem solid rgb(var(--color-black));
}

.idx_address .content_box .row_item.addr_wrapper .addr_box h3::before{
    content: "";
    display: block;
    height: 1rem;
    width: 0.1rem;
    background-color: rgb(var(--color-green));

}

.content_box_wrapper.cont_box .content_box{
    column-gap: 3rem;
}
.content_box_wrapper.cont_box .cont_form_box{
    flex-direction: column;
    height: auto;
}

.temp_contact_bar.content_box_wrapper{
    justify-content: start;
}   
.temp_contact_bar.content_box_wrapper *{
    font-family: "Barlow", sans-serif;
}
.temp_contact_bar.content_box_wrapper .content_box{
    margin-top: 2rem;
    align-items: flex-start;
}
.temp_contact_bar.content_box_wrapper .content_box p{
    color: rgb(var(--color-white));
    font-size: 1.5rem;
}

.about_grid_wrapper .content_box{
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.about_grid_wrapper .content_box .grid_item{
    display: flex;
    width: 100%;
    flex-direction: column;
    row-gap: 0.5rem;
}

.about_grid_wrapper .content_box .grid_item h2{
    padding-bottom: 0.1rem;
    border-bottom: 0.1rem solid rgb(var(--color-green));
}
.about_grid_wrapper .content_box .grid_item img{
    width: 100%;
    object-fit: cover;
}

.cont_form_box .item_box_row div{
    flex-grow: 1;
    flex-shrink: 1;
}

.cont_form_box .link_button{
    background-color: rgb(var(--color-green));
}
.cont_form_box .link_button:hover{
    background-color: rgb(var(--color-black));
}
.cont_box .content_box.row .row_item img{
    height:60vh;
    width: 25rem;
}
.cont_box .content_box.row{
    height: auto;
    
}

.cont_form_box .item_box_col label {
    display: flex
;
    flex-direction: column;
    row-gap: 0.5rem;
}

.car_item_box .content_box.row .row_item{
    flex-grow: 1;
    flex-shrink: 1;
}
.content_box_wrapper.fullscreen.car_item_box .content_box{
    column-gap: 2rem;
    height: auto;
    margin-bottom: 0;
    align-items: flex-start;
}
.content_box_wrapper.fullscreen.car_item_box .price::before{
    content: "￥";
}
.content_box_wrapper.fullscreen.car_item_box .car_desc_box{
    display: flex;
    flex-direction: column;
}
.content_box_wrapper.fullscreen.car_item_box .car_item_back_link{
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
    color: rgba(var(--color-green),0.8);
}

.content_box_wrapper.fullscreen.car_item_box .car_item_back_link::before{
    content: "";
    display: block;
    height: 0.5rem;
    width: 0.5rem;
    border-left: solid 0.1rem rgba(var(--color-green),0.8);
    border-top: solid 0.1rem rgba(var(--color-green),0.8);
    rotate: -45deg;
}


.content_box_wrapper.fullscreen.car_item_box .img_swiper{
    aspect-ratio: 3/2;
	max-width: 50%;
	max-height: 25rem;
}

.content_box_wrapper.fullscreen.car_item_box .swiper{
    width: 100%;
    height: 100%;
}


.content_box_wrapper.fullscreen.car_item_box .swiper .swiper-pagination-bullet-active {
    background: rgb(var(--color-green));
}

.content_box_wrapper.fullscreen.car_item_box .swiper .swiper_arrow{
    height: 2rem;
    width: 2rem;
    top: calc(50% - 1rem);
    position: absolute;
    cursor: pointer;
	filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(160deg) brightness(99%) contrast(102%);
}

.content_box_wrapper.fullscreen.car_item_box .swiper .swiper_prev_arrow{
    left: .5rem;
    rotate: 180deg;
}

.content_box_wrapper.fullscreen.car_item_box .swiper .swiper_next_arrow{
    right: .5rem;
}

.notfound_box{
    position: relative;
}
.notfound_box .content_box::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--color-black), 0.5);
}
.notfound_box h1{
    color: rgb(var(--color-white));
}
@media screen and (max-width: 600px) {
    .idx_top{
        height: 90dvh;
        min-height: auto;
    }

    .content_box_wrapper.idx_full .idx_content_title{
        align-items: center;
        justify-content: center;
        height: 5rem;
    }

    .idx_top::before{
        content: "";
        display: block;
        bottom: 1.5rem;
        z-index: 20;
        position: absolute;
        width: 0.1rem;
        height: 2.5rem;
        background-color: rgb(var(--color-white));
        border-radius: 100rem;
    }

    .idx_copy .content_box.copy_box{
        display: flex;
        align-items: center;
        row-gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .idx_copy .content_box.copy_box span{
        font-size: 1.2rem;
    }

    .idx_copy .content_box.image_box{
        padding: 0;
        flex-direction: column;
    }

    .content_box_wrapper.idx_cars{
        padding-bottom: 3rem;
    }

    .idx_address .content_box.row{
        flex-direction: column;
        row-gap: 3rem;
    }
    .idx_address .content_box .row_item{
        max-width: 100%;
        width: 100%;
    }
    .content_box_wrapper.idx_copy_wrapper .content_box{
        margin: 0;
    }
    .content_box_wrapper.idx_copy_wrapper p{
        font-size: 1rem;
    }


    .content_box_wrapper.idx_full{
        padding: 0;
        row-gap: 0;
    }
    .content_box_wrapper .smt_bg_img{
        width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
    .content_box_wrapper .smt_button_box{
        position: absolute;
        bottom: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .content_box_wrapper .smt_button_wide{
        width: 80%;
        padding: 1rem;
        background-color: rgb(var(--color-gray-blue));
        display: flex;
        align-items: center;
        justify-content: center;
    } 

    .content_box_wrapper.cont_box .content_box{
        flex-direction: column-reverse;
        height: auto;
    }

    .content_box_wrapper.cont_box .content_box h1{
        font-size: 1.5rem;
    }
    .content_box_wrapper.cont_box .content_box{
        margin-bottom: 30rem;
    }

    .temp_contact_bar.content_box_wrapper{
        min-height: 50rem;
    }
    .temp_contact_bar.content_box_wrapper .content_box{
        margin-top: 5rem;
        align-items: center;
    }

    .about_grid_wrapper .content_box{
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }

    .content_box.item_list.car_items{
        grid-template-columns:none;
        width:100%;
        display: flex;
        flex-direction: column;
    }
    .content_box.item_list.car_items .item{
        max-height: none;
        max-width: none;
        width: 100%;
    }

    .content_box_wrapper.fullscreen.car_item_box .car_desc_box{
        width: 100%;
    }
    .content_box_wrapper.fullscreen.car_item_box .content_box{
        flex-direction: column-reverse;
    }
    .content_box_wrapper.fullscreen.car_item_box .img_swiper{
        width: 100%;
        max-width: none;
        flex-direction: column;
        row-gap: 2rem;
    }
}