@charset "utf-8";

@media (max-width:600px) {

    /* header */
    header {
        width: 100%;
        height: auto;
    }

    .wrap_header {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .wrap_logo {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #logo {
        width: 100%;
        margin-top: 5vw;
        margin-bottom: 5vw;
        text-align: center;
    }

    #logo img {
        width: 50vw;
    }

    #search {
        display: none;
    }

    .nav_sub {
        display: none;
    }

    nav {
        width: 100%;
        text-align: center;
    }

    nav h1 {
        line-height: 8vw;
        background-color: #00a040;
        color: #ffffff;
        font-weight: 700;
        font-size: 4vw;
    }

    nav h1:hover {
        cursor: pointer;
    }

    .nav_main {
        line-height: 10vw;
        display: none;
        font-weight: 700;
        font-size: 4vw;
    }

    .nav_main li:nth-of-type(even) {
        background-color: #f0f5ef;
    }

    /* footer */
    footer {
        width: 100%;
        height: auto;
        background-color: #ededeb;
        display: block;
        text-align: center;
    }

    footer img {
        width: 50vw;
        margin-top: 5vw;
        margin-bottom: 7vw;
    }

    footer img:hover {
        cursor: pointer;
    }

    footer .wrap p {
        display: none;
    }

    .rights {
        width: 100%;
        height: 15vw;
        background-color: #ededeb;
        color: gray;
        font-size: 2.5vw;
    }

    .rights p {
        margin: 0 auto;
        color: gray;
        font-size: 2vw;
    }

    .rights p:nth-of-type(1) {
        padding-bottom: 2vw;
    }

    .rights p:nth-of-type(2) {
        width: 80vw;
    }
}

@media (min-width:600px) and (max-width:1300px) {

    /* header */
    header {
        width: 100%;
        height: 9.375vw;
    }

    .wrap_header {
        width: 90vw;
        height: 6.77vw;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }

    .wrap_logo {
        width: 29.17vw;
        display: flex;
        justify-content: space-between;
    }

    #logo {
        width: 11.46vw;
        height: 2.86vw;
        margin-top: 1.72vw;
    }

    #logo img {
        width: 100%;
    }

    #search {
        width: 13.02vw;
        height: 2.08vw;
        margin: 2.08vw auto 0;
        border: 0.2vw solid #00a040;
        border-radius: 2.08vw;
        display: flex;
        justify-content: space-between;
    }

    #search input {
        width: 9.38vw;
        line-height: 1.77vw;
        border: 0;
        border-radius: 2.08vw;
        outline: none;
        padding-left: 1.04vw;
        font-size: 0.83vw;
    }

    #search input::placeholder {
        color: #00a040;
        font-size: 0.83vw;
    }

    #search i {
        color: #00a040;
        line-height: 1.77vw;
        margin: 0 auto;
        font-size: 1.04vw;
    }

    .nav_sub {
        margin-top: 2.08vw;
        line-height: 2.08vw;
        display: flex;
        color: gray;
        font-weight: 700;
        font-size: 0.94vw;
    }

    nav {
        width: 90vw;
        height: 2.6vw;
        margin: 0 auto;
    }

    nav h1 {
        display: none;
    }

    .nav_main {
        display: flex;
        justify-content: space-evenly;
        font-weight: 700;
        font-size: 0.94vw;
    }

    /* footer */
    footer {
        width: 100%;
        height: 16.66vw;
        background-color: #ededeb;
    }

    footer .wrap {
        width: 90vw;
        height: 7.29vw;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    footer img {
        width: 13.02vw;
        margin-left: -0.52vw;
    }

    footer img:hover {
        cursor: pointer;
    }

    footer>* {
        margin: 0 2.6vw;
    }

    footer p {
        font-size: 0.83vw;
    }

    footer .wrap p {
        font-size: 0.78vw;
    }

    .rights {
        width: 90vw;
        line-height: 1.3vw;
        margin: 0 auto;
        background-color: #ededeb;
        color: gray;
        font-size: 0.78vw;
        padding: 4.16vw 0 2.6vw 0.52vw;
    }

}


@media (min-width:1300px) {

    /* header */
    header {
        width: 100%;
        height: 180px;
    }

    .wrap_header {
        width: 1280px;
        height: 130px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }

    .wrap_logo {
        width: 560px;
        display: flex;
        justify-content: space-between;
    }

    #logo {
        width: 220px;
        height: 55px;
        margin-top: 33px;
    }

    #logo img {
        width: 100%;
    }

    #search {
        width: 250px;
        height: 40px;
        margin: 40px auto 0;
        border: 3px solid #00a040;
        border-radius: 40px;
        display: flex;
        justify-content: space-between;
    }

    #search input {
        width: 180px;
        line-height: 34px;
        border: 0;
        border-radius: 40px;
        outline: none;
        padding-left: 20px;
    }

    #search input::placeholder {
        color: #00a040;
    }

    #search i {
        color: #00a040;
        line-height: 34px;
        margin: 0 auto;
        font-size: 20px;
    }

    .nav_sub {
        margin-top: 40px;
        line-height: 40px;
        display: flex;
        color: gray;
        font-weight: 700;
    }

    nav {
        width: 1280px;
        height: 50px;
        margin: 0 auto;
    }

    nav h1 {
        display: none;
    }

    .nav_main {
        display: flex;
        justify-content: space-evenly;
        font-weight: 700;
    }

    /* footer */
    footer {
        width: 100%;
        height: 320px;
        background-color: #ededeb;
    }

    footer .wrap {
        width: 1280px;
        height: 140px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    footer img {
        width: 250px;
        margin-left: -10px;
    }

    footer img:hover {
        cursor: pointer;
    }

    footer .wrap p {
        font-size: 0.78vw;
    }

    .rights {
        width: 1280px;
        line-height: 25px;
        margin: 0 auto;
        background-color: #ededeb;
        color: gray;
        font-size: 0.78vw;
        padding: 80px 0 50px 10px;
    }

}