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;
}


.br768{
    display: none;
}
@media screen and (max-width:768px) {
    .br768{
        display: block;
    }
}
.br648{
    display: none;
}
@media screen and (max-width:648px) {
    .br648{
        display: block;
    }
}
.br429{
    display: none;
}
@media screen and (max-width:429px) {
    .br429{
        display: block;
    }
}
.br897{
    display: none;
}
@media screen and (max-width:897px) {
    .br897{
        display: block;
    }
}
.br664{
    display: none;
}
@media screen and (max-width:664px) {
    .br664{
        display: block;
    }
}
.br474{
    display: none;
}
@media screen and (max-width:768px) {
    .br474{
        display: block;
    }
}


.space{
    margin-right: 0.5rem;
}

.contact_flex{
    display: flex;
    margin-top: 3rem;
}

.contact_l{
    width: 10%;
}
.contact_r{
    width: 10%;
}

.contact{
    margin-top: 5rem;
}
@media screen and (max-width:1024px) {
    .contact{
        margin-top: 1rem;
    }
    .contact_flex{
        margin-top: 0;
    }
    .ff_name1{
        margin-bottom: 1rem;
    }
}
.contact_t{
    text-align: center;
}

.contact_p{
    text-align: left;
    width: 80%;
}
.contact_p1{
    overflow-wrap: break-word;
    margin-bottom: 0;
}
.contact_p2{
    overflow-wrap: break-word;
    margin-top: 0;
}

@media screen and (max-width:768px) {
    .contact_l{
        width: 7%;
    }
    .contact_r{
        width: 7%;
    }
    .contact_p{
        width: 86%;
    }
}

.privacy_link{
    color: black;
    text-decoration: none;
}

.contact_form{
    display: flex;
    margin-top: 3rem;
}

.form_l{
    width: 20%;
}
.form_r{
    width: 20%;
}
.form_main{
    width: 60%;
}


@media screen and (max-width:768px) {
    .form_l{
        width: 7%;
    }
    .form_r{
        width: 7%;
    }
    .form_main{
        margin-bottom: 2rem;
        width: 86%;
    }
}

.form1{
    display: flex;
    width: 100%;
}
.form1_h3{
    width: 40%;
}
.form_center{
    width: 2%;
}
.form1_text{
    width: 58%;
    height: 2rem;
    margin-top: auto;
    margin-bottom: auto;
    background-color: gainsboro;
    border: none;
}

.form2{
    display: flex;
    width: 100%;
    margin-top: 2rem;
}
.form2_h3{
    width: 40%;
}
.form2_text{
    width: 58%;
    height: 2rem;
    margin-top: auto;
    margin-bottom: auto;
    background-color: gainsboro;
    border: none;
}

.form3{
    display: flex;
    width: 100%;
    margin-top: 2rem;
}
.form3_h3{
    width: 40%;
}
.form3_text{
    width: 58%;
    height: 2rem;
    margin-top: auto;
    margin-bottom: auto;
    background-color: gainsboro;
    border: none;
}

.form4{
    display: flex;
    width: 100%;
    margin-top: 2rem;
}
.form4_h3{
    width: 40%;
}
.form4_text{
    width: 58%;
    height: 2rem;
    margin-top: auto;
    margin-bottom: auto;
    background-color: gainsboro;
    border: none;
}

.form5{
    display: flex;
    width: 100%;
    margin-top: 2rem;
}
.form5_h3{
    width: 40%;
}
.form5_text{
    width: 58%;
    height: 2rem;
    margin-top: auto;
    margin-bottom: auto;
    background-color: gainsboro;
    border: none;
}

.form6{
    display: flex;
    width: 100%;
    margin-top: 2rem;
}
.form6_h3{
    width: 40%;
}
.form6_text{
    width: 58%;
    background-color: gainsboro;
    border: none;
}

.form7{
    text-align: center;
    margin-top: 3rem;
}

.btn{
    background-color: #308DE6;
    color: white;
    border: solid;
    border-radius: 0.5rem;
    padding: 0.45rem;
}


/* 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 */