/* Mobile View */
@media screen and (min-width: 0px) {
    /* hero section */
    .hero {
        /* height: 100vh; */
        height: 550px;
        width: 100%;
        background-color: rgb(236, 236, 236);
        overflow: hidden;
    }

    .content .body {
        display: flex;
        text-align: center;
        justify-content: center;

    }

    .content .body .image {
        padding: 100px 130px 0px 0px;
        position: relative;
        right: 0px;
        bottom: 0px;
    }

    .content .body .image img {
        height: 450px;
    }
    
    .hero .content .body .image img:nth-child(1) {
        position: absolute;
        z-index: 4;
    }

    .hero .content .body .image img:nth-child(2) {
        position: absolute;
        z-index: 3;
    }

    .hero .content .body .image img:nth-child(3) {
        position: absolute;
        z-index: 2;
    }

    .hero .content .body .image img:nth-child(4) {
        z-index: 1;
    }

    /* introduction section */
    .introduction h1{
        text-align: center;
        margin-bottom: 5px
    }

    .introduction .main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px 10%;
    }

    .introduction .main .about-text {
        max-width: 450px;
        /* padding-left: 50px; */
    }

    .introduction .main img {
        width: 200px;
    }

    .introduction .main h4:nth-child(n + 3) {
        padding-top: 20px;
    }

    .introduction .sns-list {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .introduction .sns-list li {
        list-style: none;
        padding-right: 30px;
    }

    .introduction .sns-list li * {
        transition: none 0.2s;
    }

    .introduction .sns-list li *:hover {
        color: none;
    }


    .introduction .sns-list li a {
        text-decoration: none;
    }

    /* works section */

    .works {
        background-color: rgb(236, 236, 236);
        text-align: center;
    }

    .works .image {
        padding-left: 20px;
        padding-right: 20px;
        display: flex;
        /* overflow-x: scroll; */
        flex-flow: column;
        align-items: center;
        gap: 10px;
        /* justify-content: left; */
        justify-content: center;
    }

    .works .works-carousel {
        background-color: rgb(226, 229, 229);
        width: 100%;
        padding: 20px 30px;
        border-radius: 40px;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: none;
        box-shadow: 0px 5px 10px rgba(128, 133, 133, 0.2);
    }

    .works .works-carousel h4 {
        font-size: 16px;
    }

    .works .works-carousel p {
        line-height: 1.5em;
    }

    .works .works-carousel:hover {
        background-color: none;
    }

    .works .image img {
        /* width: 100%; */
        /* width: 800px; */
        padding-top: 10px;
        width: 400px;
    }

    .works .image a {
        text-decoration: none;
        display: flex;
        justify-items: center;
        align-items: center;
        /* margin-top: 20px; */
    }
    
    .works .image .works-more {
        text-decoration: none;
        display: flex;
        justify-items: center;
        align-items: center;
        margin-top: 20px;
    }

    .works .image .works-more p {
        font-size: 15px;
        transition: none 0.2s;
    }


    /* flow-price section */

    .flow-price {
        text-align: center;

    }

    .flow-price .flow-detail {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
        padding: 0% 20px;
        padding-bottom: 5%;
    }

    .flow-price .flow-carousel {
        width: 100%;
        padding: 1% 5%;
        margin: 2% 0.5%;
        /* border: 2px solid; */
        border-radius: 30px;
        /* border-color: #a0a0a0; */
        background-color: #f7f7f7;
    }

    .flow-price .flow-carousel h4 {
        padding: 2% 0%;
    }

    .flow-price .flow-carousel p {
        line-height: 1.5em;
        padding-bottom: 5%;
    }

    .flow-price .price-detail {
        padding: 0% 20px;
        list-style: decimal;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-bottom: 1%;
    }

    .flow-price .price-detail h3 {
        font-size: 15px;
    }

    .flow-price .price-detail p {
        line-height: 1.5em;
    }

    .flow-price .price-carousel {
        width: 100%;
        padding: 3% 5%;
        margin: 2% 0.5%;
        border-radius: 30px;
        background-color: #f7f7f7;
    }

    .flow-price .price-carousel ul {
        text-align: left;
        width: 100%;
        position: relative;
        left: 0%;
        padding-top: 10px;
        padding-left: 35%;
    }

    .flow-price .price-carousel ul li {
        width: 100%;
        font-size: 13px;
    }

    /* Contact section */
    .contact {
        text-align: center;
        background-color: rgb(236, 236, 236);
    }

    .contact .form-no-upload {
        text-align: center;
        width: 100%;
        height: 800px;
    }

    .contact .form-upload {
        /* background-color: #f45d6f; */
        text-align: center;
        width: 100%;
        padding: 0% 30px;
        padding-top: 0%;
    }

    .contact .form-upload a {
        text-decoration: none;
    }

    .contact .form-upload p {
        color: rgb(68, 71, 76);
        background-color: white;
        border-radius: 20px;
        padding: 2% 0%;
        transition: 0.2s;
    }

    /* footer section */

    footer {
        /* background-color: rgb(236, 236, 236); */
        text-align: center;
        padding: 20px 0px;
        /* height: 100px; */

    }
}

/* Desktop and Tablet View */
@media screen and (min-width: 1000px) {

    /* hero section */
    .hero {
        /* height: 100vh; */
        height: 950px;
        width: 100%;
        background-color: rgb(236, 236, 236);
        overflow: hidden;
    }

    .hero .content .body {
        display: flex;
        text-align: center;
        justify-content: center;
    }

    .hero .content .body .image {
        padding: 0% 0% 0% 0%;
        position: relative;
        right: 100px;
        bottom: 150px;
        text-align: center;
    }

    .hero .content .body .image img {
        height: 90%;
        transition: 0.5s ease-out;
    }

    .hero .content .body .image img:nth-child(1) {
        position: absolute;
        z-index: 4;
    }
    .hero .content .body .image img:nth-child(2) {
        position: absolute;
        z-index: 3;
    }
    .hero .content .body .image img:nth-child(3) {
        position: absolute;
        z-index: 2;
    }

    .hero .content .body .image img:nth-child(4) {
        z-index: 1;
    }

    /* introduction section */
    .introduction h1 {
        width: 100%;
        /* margin-bottom: 20px */
    }

    .introduction .main {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 100px;
        flex-direction: row;
    }

    .introduction .main .about-text {
        max-width: 800px;
        padding-left: 50px;
    }

    .introduction .main img {
        width: 350px;
    }

    .introduction .main h4:nth-child(n + 3) {
        padding-top: 20px;
    }

    .introduction .sns-list {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .introduction .sns-list li {
        list-style: none;
        padding-right: 30px;
    }

    .introduction .sns-list li * {
        transition: all 0.2s;
    }

    .introduction .sns-list li *:hover {
        color: #f45d6f;
    }


    .introduction .sns-list li a {
        text-decoration: none;
    }

    /* works section */

    .works {
        background-color: rgb(236, 236, 236);
        text-align: center;
    }

    .works .image {
        padding-left: 15%;
        padding-right: 15%;
        display: flex;
        /* overflow-x: scroll; */
        flex-flow: column;
        align-items: center;
        gap: 20px;
        /* justify-content: left; */
        justify-content: center;
    }

    .works .works-carousel {
        background-color: rgb(226, 229, 229);
        width: 100%;
        padding: 20px 30px;
        border-radius: 40px;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: all 0.2s;
        box-shadow: 0px 5px 10px rgba(128, 133, 133, 0.2);
    }

    .works .works-carousel h4{
        font-size: 25px;
    }

    .works .works-carousel p {
        line-height: 1.5em;
    }

    /* .works .works-carousel:hover {
        background-color: rgb(224, 226, 226);
        box-shadow: 0px 0px 10px 0px rgba(80, 83, 83, 0.2);
    } */

    .works .image img {
        width: 100%;
        /* width: 800px; */
        padding-top: 0px;
        /* width: 1200px; */
        min-width: 800px;
        /* filter: drop-shadow(0px 0px 0px #f45d6f); */
        transition: all 0.5s;
    }

    .works .image img:hover {
        filter: drop-shadow(20px 5px 0px rgb(190, 190, 190));
    }

    .works .image .works-more {
        text-decoration: none;
        display: flex;
        justify-items: center;
        align-items: center;
        margin-top: 20px;
    }

    .works .image .works-more p {
        font-size: 20px;
        transition: color 0.2s;
    }

    .works .image .works-more p:hover {
        color: #f45d6f;
        font-weight: bold;
    }

    /* flow-price section */

    .flow-price {
        text-align: center;
    }

    .flow-price .flow-detail {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap:wrap;
        padding: 0% 15%;
        padding-bottom: 5%;
    }

    .flow-price .flow-carousel {
        width: 800px;
        padding: 2% 1%;
        margin: 1% 0.5% ;
        border-radius: 30px;
        background-color: #f7f7f7;
        box-shadow: 0px 5px 10px rgba(128, 133, 133, 0.2);
    }

    .flow-price .flow-carousel h4 {
        padding: 0% 0%;
        padding-bottom: 10px;
    }

    .flow-price .flow-carousel p {
        font-size: 16px;
        line-height: normal;
        padding-bottom: 0%;
    }

    .flow-price .price-detail {
        padding: 0% 15%;
        list-style: decimal;
        display: flex;
        flex-direction: row;
        text-align: center;
        justify-content: center;
        padding-bottom: 1%;
    }

    .flow-price .price-detail h3 {
        font-size: 20px;
    }

    .flow-price .price-detail p {
        line-height: normal;
    }

    .flow-price .price-carousel {
        width: 500px;
        padding: 3% 1%;
        margin: 0% 1%;
        background-color: #f7f7f7;
        border-radius: 30px;
        box-shadow: 0px 5px 10px  rgba(128, 133, 133, 0.2);
    }

    .flow-price .price-carousel ul {
        text-align: left;
        width: fit-content;
        position: relative;
        left: 33%;
        padding-top: 10px;
        padding-left: 0px;
    }

    .flow-price .price-carousel ul li {
        width: fit-content;
        font-size: 16px;
    }

    /* Contact section */
    .contact {
        text-align: center;
        background-color: rgb(236, 236, 236);
    }

    .contact .form-no-upload {
        text-align: center;
        width: 100%;
        height: 650px;
    }

    .contact .form-upload {
        /* background-color: #f45d6f; */
        text-align: center;
        width: 100%;
        padding: 0% 30%;
        padding-top: 0%;
    }

    .contact .form-upload a {
        text-decoration: none;
    }

    .contact .form-upload p {
        color: rgb(76, 68, 69);
        background-color: rgb(241, 241, 241);
        border-radius: 20px;
        padding: 2% 0%;
        box-shadow: 0px 0px 10px 5px rgba(128, 133, 133, 0.2);
        transition: 0.2s;
    }
    .contact .form-upload p:hover {
        background-color: rgb(238, 238, 238);
        box-shadow: 0px 0px 10px 0px rgba(128, 133, 133, 0.2);
    }

    /* footer section */

    footer {
        width: 100%;
        padding: 50px 0;
        /* background-color: rgb(236, 236, 236); */
        text-align: center;

    }


}

/* Desktop View */
@media screen and (min-width:1200px) {
    .hero .content .body .image {
            position: relative;
            right: 0px;

        }

    .hero .content .body .image img {
            height: 100%;
            /* width: 100%; */
        }

}