@charset "UTF-8";

/* ALL
---------------------------------------- */
body {
    color: #082B48;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
}
img {
    width: 100%;
}
a {
    text-decoration: none;
    color: #082B48;
}
a:hover {
    opacity: 0.7;
}
.container {
    max-width: 980px;
    width: 90%;
    margin: auto;
}
h2 {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}
.title-sub {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 50px;
}

/* header
---------------------------------------- */
.header-logo {
    width: 50px;
}
.header-main {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}
.header-nav {
    display: flex;
    justify-content: space-between;
}
.header-nav-item {
    margin-left: 20px;
    line-height: 62px;
}
.header-nav-item a {
    font-weight: bold;
    font-size: 1.25rem;
}

/* top
----------------------------------------- */
.top {
    background-image: url(../img/natur-morning.jpg);
    background-size: cover;
    padding: 80px 0;
}
.top-title {
    font-weight: bold;
    font-size: 5rem;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}
.top-sub {
    text-align: center;
    font-size: 1.25rem;
    color: white;
}

/* about
------------------------------------------ */
#about {
    padding: 50px 0;
}
.about-main {
    padding: 30px 10px;
    display: flex;
    justify-content: space-between;
}
.about-left {
    width: 50%;
}
.about-left-img {
    width: 90%;
}
.about-left-twitter {
    width: 60px;
}
.about-right {
    width: 50%;
}
.about-right-p1,
.about-right-p4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}
.about-right-p2 {
    font-size: 2rem;
    margin-bottom: 5px;
}
.about-right-p3,
.about-right-p5 {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* service
------------------------------------------ */
#service {
    background-color: lightgray;
    padding: 50px 0;
}
.service-main {
    display: flex;
    justify-content: space-between;
}
.service-main-item {
    width: 31%;
    padding: 20px 10px;
    background-color: white;
    box-shadow: 0 0 5px black;
    text-align: center;
}
.service-main-item img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background-position: center center;
    border-radius: 50%;
}
.service-main-right h3 {
    font-weight: bold;
    font-size: 1.25rem;
    padding: 10px;
}
.service-main-right p {
    text-align: left;
}

/* work
------------------------------------------ */
#work {
    padding: 50px 0;
}

.grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.work-main-item {
    padding: 20px 10px;
    background-color: white;
    box-shadow: 0 0 5px black;
    text-align: center;
}
.work-main-item img {
    object-fit: cover;
    margin: 0 auto;
}
.work-main-item h3 {
    font-weight: bold;
    font-size: 1.25rem;
    padding: 10px;
}
.work-main-item p {
    text-align: left;
}

/* contact
------------------------------------------ */
#contact {
    background-color: lightgray;
    padding: 50px 0;
}
.contact-text {
    margin-bottom: 30px;
    text-align: center;
}

.contact-main {
    display: flex;
    justify-content: space-around;
    max-width: 700px;
    margin: 0 auto;
}
.contact-main-item {
    width: 30%;
    padding: 20px 10px;
    text-align: center;
}
.contact-main-item img {
    width: 100px;
    margin: 0 auto;
}
/* footer
------------------------------------------ */
footer {
    background-color: #082B48;
}
.copyright {
    color: #fff;
    font-size: 0.75rem;
    line-height: 50px;
    text-align: center;
}

.test__a {
    width: 100%;
    height: 500px;
    background-color: red;
}

.test__a a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}


/* mobile
----------------------------------------- */
@media only screen and (max-width: 700px) {
    /* all
    ----------------------------------------- */
    h2 {
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        padding: 10px;
    }
    .title-sub {
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 50px;
    }

    /* header
    ----------------------------------------- */
    .header-nav-item {
        margin-left: 15px;
        line-height: 62px;
    }
    .header-nav-item a {
        font-size: 1rem;
    }

    /* top
    ----------------------------------------- */
    .top-title {
        font-size: 3rem;
    }
    .top-sub {
        font-size: 1rem;
    }

    /* about
    ----------------------------------------- */
    .about-main {
        padding: 30px 10px;
        display: block;
    }
    .about-left {
        width: 100%;
    }
    .about-left-img {
        width: 100%;
    }
    .about-left-twitter {
        width: 40px;
        margin: 10px 0;
    }
    .about-right {
        width: 100%;
        margin-top: 20px;
    }
    .about-right-p1,
    .about-right-p4 {
        font-size: 1.25rem;
        margin-bottom: 5px;
    }
    .about-right-p2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    .about-right-p3,
    .about-right-p5 {
        font-size: 0.85rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }


    /* service
    ----------------------------------------- */
    .service-main {
        display: block;
    }
    .service-main-item {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 30px;
    }
    .service-main-item img {
        width: 200px;
        height: 200px;
    }
    .service-main-right {
        width: 50%;
        margin: 30px 10px;
    }
    .service-main-right h3 {
        text-align: left;
        padding-bottom: 10px;
    }
    .service-main-right p {
        font-size: 0.85rem;
        text-align: left;
    }

    /* work
    ------------------------------------------ */
    .work-main {
        display: block;
    }
    .work-main-item {
        width: 100%;
        margin-bottom: 30px;
    }
    .work-main-item img {
        width: 100%;
    }
    .work-main-item p {
        font-size: 0.85rem;
    }

    /* contact
    ------------------------------------------ */
    .contact-main-item img {
        width: 80px;
    }

}