@media (max-width: 700px){
    header {
        padding-left: 40px;
        padding-right: 40px;
    }
    header li{
        display: none;
    }

    header li:last-child {
        display: block;
        font-size: 30px;
    }

    header .logo, header .logo img{
        width: 200px;
    }


    .home .heading {
        top: calc(50% + -5px);
    }

    .home .heading h1 {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .home .heading h3 {
        font-size: 15px;
    }

    .home .link {
        left: 30px;
        gap: 10px;
        margin-top: -70px;
    }

    .home .link a {
        width: 100px;
        height: 25px;
        font-size: 9px;
        line-height: 25px;
        border-radius: 20px;
    }

    .navigation-manual {
        position: absolute;
        width: 100%;
        margin-top: -65px;
        right: 40px;
        display: flex;
        justify-content: right;
    }
    
    .manual-btn {
        border: 1px solid #F9CB72;
        padding: 4px;
        border-radius: 50%;
        cursor: pointer;
        transition: 1s;
        margin: 0;
    }

    .manual-btn:not(:last-child) {
        margin-right: 15px;
    }

    .service .service-title {
        font-size: 12px;
        top: 30px;
        text-align: center;
    }

    .arrow {
        width: 20px;
        height: 20px;
        border-width: 0 4px 4px 0;
    }

    .flexmain .sub, .gallery .flexmain {
        flex-direction: column;
        align-items: center;
    }

    .flexmain .sub, .gallery .flexmain, .flexmain .flexsub, .flexmain .subsub {
        gap: 10px;
    }

    .flexmain .img1, .flexmain .img2, .flexmain .img3, .flexmain .img4{
        width: 80vw;
        overflow: hidden;
        justify-self: center;
    }

    /*service*/
    .service {
        height: 800px;
    }

    .service .bg img {
        height: 800px;
    }

    .wrapper {
        width: 66vw;
    }

    .card-list {
        width: 270vw;
        display: flex;
        gap: 2vw;
        flex: none;
    }

    .card-list .card-item {
        width: 66vw;
        height: 105.6vw;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-size: cover;
        flex: none;
    }

    .card-list .card-item .card-des {
        width: 66vw;
        height: 105.6vw;
        background-color: rgba(255, 255, 255, 0);
        backdrop-filter: blur(0);
        backdrop-filter: brightness(60%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: 1s ease-in-out;
    }

    .card-list .card-item:hover .card-des {
        width: 60vw;
        height: 89.6vw;
    }

    .card-list .card-item:focus .card-des {
        width: 60vw;
        height: 89.6vw;
    }

    .card-item .card-des h3 {
        font-size: 30px;
        width: 50vw;
    }

    .card-item:hover .card-des h3 {
        width: 40vw;
        font-size: 20px;
    }

    .card-item:focus .card-des h3 {
        width: 40vw;
        font-size: 20px;
    }


    .card-item .card-des ul {
        font-size: 10px;
        line-height: 80vw;
        margin-top: 2.8vw;
    }

    .card-list .card-item:hover .card-des ul {
        line-height: 9vw;
        margin-top: .5vw;
    }

    .card-list .card-item:focus .card-des ul {
        line-height: 9vw;
        margin-top: .5vw;
    }

}

@media (max-width: 400px) {
    .card-item .card-des ul {
        font-size: 8px;
    }
}