body{
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    box-sizing: border-box;
    FONT-FAMILY: Yu Gothic,Arial,sans-serif;
    overflow-x: hidden;
}

.overflow{
    overflow-x: hidden !important;
    position: relative;
}

footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 3rem;
    background-color: #c0c0c0;
}

.address{
    margin-bottom: 0;
}
.tel_num{
    margin-top: 0;
    margin-bottom: 0;
}
.fax_num{
    margin-top: 0;
    margin-bottom: 2rem;
}

a{
    color: black;
}

.nav-links2{
    display: flex;
    justify-content: space-around;
    width: 70%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.nav-links2 li{
    list-style: none;
}

.nav-links2 a{
    text-decoration: none;
}

.top_logo2{
    display: none;
}

/* burger */
nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 3rem;
    background-color: #c0c0c0;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 70%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.nav-links li{
    list-style: none;
}

.nav-links a{
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

.burger{
    cursor: pointer;
    display: none;
}

.burger div{
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px;
    transition: all 0.5s ease-in-out;
}

.nav-active{
    transform: translateX(0%) !important;
}

@media screen and (max-width:1024px) {

    nav-links{
        width: 55%;
    }
}

@media screen and (max-width:768px) {

    body{
        overflow-x: hidden;
    }

    nav{
        justify-content: end;
    }
    
    .nav-links{
        position: absolute;
        right: 0;
        height: 100vh;
        top: 3rem;
        background-color: #c0c0c0;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
    }

    .nav-links li{
        opacity: 0;
    }

    .burger{
        display: inline-block;
    }

}

@keyframes navLinksFade{
    0%{
        opacity: 0%;
        transform: translateX(50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1{

    transform: rotate(-45deg) translate(-5px,6px);

}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{

    transform: rotate(45deg) translate(-5px,-6px);
    
}

/*  /burger  */

.top_logo{
    width: 100%;
    text-align: center;
}

/* change */
.top_logo4{
    width: 100%;
    text-align: center;
}
.top_logo5{
    width: 7rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}
/*  /change  */

.top_logo1{
    width: 7rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
}

.ff_name1{
    font-size: 1.5rem;
    margin-top: 0;
    FONT-FAMILY: Yu Gothic,Arial,sans-serif;
    margin-bottom: 3rem;
}

.ff_name2{
    font-size: 1.5rem;
    margin-top: 0;
    FONT-FAMILY: Yu Gothic,Arial,sans-serif;
    margin-bottom: 0;
}

.space{
    margin-right: 0.5rem;
}

.top_img1{
    width: 100%;
    height: 35rem;
}
.top_img2{
    display: none;
    width: 100%;
    height: 20rem;
}
@media screen and (max-width:768px) {
    .top_img1{
        display: none;
    }
    .top_img2{
        display: block;
    }
}

.top_text{
    text-align: center;
    FONT-FAMILY: Yu Gothic,Arial,sans-serif;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.br330{
    display: none;
}
.br427{
    display: none;
}

@media screen and (max-width:600px) {
    .br330{
        display: block;
    }
}

@media screen and (max-width:427px) {
    .br427{
        display: block;
    }
}

.top_text2{
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
}
@media screen and (max-width:500px) {
    .top_text2{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
}


.top_h3_1{
    font-size: 1rem;
    overflow: break-word;
}
.top_h3_2{
    font-size: 1rem;
    overflow: break-word;
}
.top_h3_3{
    font-size: 1rem;
    overflow: break-word;
}
.top_h3_4{
    font-size: 1rem;
    overflow: break-word;
}

.top_other{
    display: flex;
    width: 100%;
}

.other0{
    width: 0.5%;
}

.other1{
    width: 33%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    height: 21rem;
}

.other1:hover img{
    opacity: 0.6;
    transition:0.2s;
}

.other_img1{
    width: 100%;
    cursor: pointer;
    height: 100%;
}

.h2_on{
    position: absolute;
    bottom: 1rem;
    left:1rem;
    font-size:30px;
    color: white;
    padding:0;
    margin:0;
}

.other2{
    width: 33%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    height: 21rem;
}
.other2:hover img{
    opacity: 0.6;
    transition:0.2s;
}

.other_img2{
    width: 100%;
    cursor: pointer;
    height: 100%;
}

.other3{
    width: 33%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    height: 21rem;
}
.other3:hover img{
    opacity: 0.6;
    transition:0.2s;
}
.other_img3{
    width: 100%;
    cursor: pointer;
    height: 100%;
}

.other4{
    width: 0.5%;
}

@media screen and (max-width:768px) {

    .top_other{
        display: block;
    }
    .other0{
        display: none;
    }
    .other1{
        width: 100%;
    }
    .other2{
        width: 100%;
    }
    .other3{
        width: 100%;
    }
    .other4{
        display: none;
    }
}

/* footer-res */
.top_logo6{
    display: none;
    width: 5rem;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width:768px) {

    .nav-links2{
        display: block;
    }
    
    .footer{
        justify-content: start;
        height: auto;
        padding: 2rem;
        line-height: 2rem;
        padding-right: 1rem;
    }

    .top_logo4{
        display: none;
    }

    .top_logo2{
        display: block;
        font-size: 0.9rem;
        margin-left: 1rem;
    }

    .top_logo3{
        display: none;
    }

    .top_logo1{
        margin-top: 2rem;
        width: 4rem;
    }

    .ff_name1{
        margin-bottom: 2rem;
        font-size: 1rem;
    }

    .ff_name3{
        margin-bottom: 0;
        margin-top: 0;
    }
    .address2{
        margin-top: 0;
        margin-bottom: 0;
        line-height: 1rem;
    }
    .tel_num2{
        margin-top: 0;
        margin-bottom: 0;
        line-height: 1rem;
    }
    .fax_num2{
        margin-top: 0;
        line-height: 1rem;
    }

    .top_logo6{
        display: block;
    }

}
/* /footer-res */


/* .kari_space{
    height: 50vh;
    width: 100%;
    background-color: red;
} */