@charset "utf-8";

.firstview {
    min-height: 100svb;
    overflow: hidden;
    background-color: #f7f7f7;
}

.firstview .main-title {
    color: #1E505E;
    font-size: 24px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 30px;
    white-space: nowrap;
}

.firstview .inner-wrapper {
    padding: 0;
}

.main-title-contents {
    margin-top: 100px;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
}

.main-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
}

.work {
    padding: 100px 0 100px;
    background-color: #FFF;
    position: relative;
}


.swiper {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    overflow: visible;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    width: 350px !important;
}

.swiper-slide img {
    transition: transform 0.5s ease-in-out;
}

.img-mask {
    display: block;
    overflow: hidden;
}

.swiper-slide img:hover {
    transform: scale(1.1, 1.1);
}

.swiper-pagination {
    bottom: 190px !important;
}

.slide-subtitle {
    margin-left: 30px;
    padding: 3px 10px;
    background-color: #FFF;
    border-radius: 20px;
    border: 1px solid;
    color: #007394;
    font-size: 10px;
    vertical-align: 2px;
}

.slide-title {
    margin: 10px 0 5px;
    font-size: 14px;
}

.swiper-navigation-icon {
    width: 10px !important;
    border: 1px solid #007394;
    padding: 0 17px;
    border-radius: 100%;
    color: #007394 !important;
}

.swiper-pagination-bullet-active {
    background: #007394 !important;
    width: 15px !important;
    border-radius: 10px !important;
}

.work .btn {
    margin-right: 30px;
}

.about {
    padding: 100px 0 100px;
    position: relative;
}

.about::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/assets/images/background0.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.about-contents {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img img {
    width: 140px;
}

.about-description {
    margin: 50px 0;
    font-size: 12px;
}

.about-description .btn {
    margin: 20px 0 0 60px;
}

.service {
    padding: 100px 0 100px;
    background-color: #F7f7f7;
}

.service-contents {
    margin: 50px 0;
}

.contents {
    margin: 0px 0px 80px;
    position: relative;
}

.number {
    color: #007394;
    font-size: 32px;
    font-weight: 300;
    line-height: 0;
    position: absolute;
    top: 5%;
    right: 92%;
}


.contents-img {
    margin: 0 auto;
    position: relative;
    width: 200px;
    height: 200px;
    background-color: #FFF;
    border: 1px #007394 solid;
    border-radius: 200px;
    transition: transform .3s ease;
}

.contents-img:hover {
    transform: scale(1.05, 1.05);
}

.contents-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
}

.contents:nth-of-type(2) .contents-img img {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
}

.service-title {
    margin-top: 20px;
    color: #007394;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.service-description {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    color: #1E505E;
}


@media(min-width:1024px) {
    .firstview {
        height: 100vh;
    }

    .firstview .main-title {
        font-size: 40px;
        margin: 0 0 40px 60px;
    }

    .firstview .inner-wrapper {
        padding: 0 100px;
    }

    .main-title-contents {
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .main-img {
        max-width: 600px;
        margin: 0;
    }

    .work {
        padding: 100px 0 200px;
    }

    .swiper {
        width: 100%;
        height: 600px;
        margin: 50px 0;
        overflow: visible;
    }

    .swiper-wrapper {
        align-items: center;
    }

    .swiper-slide {
        width: 600px !important;
    }

    .img-mask {
        display: block;
        overflow: hidden;
    }

    .swiper-slide img {
        transition: transform 0.5s ease-in-out;
    }

    .swiper-slide img:hover {
        transform: scale(1.1, 1.1);
    }

    .swiper-pagination {
        bottom: 345px !important;
    }

    .slide-subtitle {
        margin-left: 30px;
        padding: 3px 10px;
        background-color: #FFF;
        border-radius: 20px;
        border: 1px solid;
        color: #007394;
        font-size: 10px;
        vertical-align: 2px;
    }

    .slide-title {
        margin: 10px 0 5px;
        font-size: 18px;
    }

    .swiper-navigation-icon {
        width: 10px !important;
        border: 1px solid #007394;
        padding: 0 17px;
        border-radius: 100%;
        color: #007394 !important;
    }

    .swiper-pagination-bullet-active {
        background: #007394 !important;
        width: 15px !important;
        border-radius: 10px !important;
    }

    .work .btn {
        margin: 0 auto;
    }

    .about {
        padding: 100px 0 200px;
    }

    .about-contents {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
    }

    .logo-img img {
        width: 230px;
        transition: transform 0.3s ease;
    }

    .logo-img img:hover {
        transform: scale(1.05, 1.05);
    }

    .about {
        padding: 100px 0 100px;
        background-image: url("/assets/images/background0.jpeg");
        background-color: rgba(255, 255, 255, 0.6);
        background-blend-mode: lighten;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .about-description {
        margin: 0 0 0 100px;
        font-size: 16px;
    }

    .about .btn {
        margin-right: 300px;
    }

    .service {
        padding: 100px 0 200px;
    }

    .service-contents {
        margin: 100px 0 70px;
        display: flex;
        justify-content: center;
    }

    .contents {
        margin: 0 60px;
        position: relative;
    }

    .number {
        color: #007394;
        font-size: 46px;
        font-weight: 300;
        line-height: 0;
        position: absolute;
        top: 0%;
        right: 85%;
    }


    .contents-img {
        position: relative;
        width: 250px;
        height: 250px;
        background-color: #FFF;
        border: 1px #007394 solid;
        border-radius: 250px;
    }

    .contents-img img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 160px;
    }

    .contents:nth-of-type(2) .contents-img img {
        position: absolute;
        top: 52%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 180px;
    }

    .service-title {
        margin-top: 20px;
        color: #007394;
        font-size: 20px;
        font-weight: 400;
        text-align: center;
    }

    .service-description {
        margin-top: 10px;
        font-size: 16px;
        text-align: center;
    }

}