html {
    font-size: 100%;
} 

body {
    color: #333;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 1.25px;
} 

a {
    color: #333;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
} 

ul {
    list-style: none;
} 

.wrapper {
    max-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
} 

.btn {
    display: inline-block;
    text-align: center;
    background-color: #0966e8;
    padding: 10px 20px;
    width: 160px;
    border-radius: 5px;
}

.btn:hover {
    opacity: 0.7;
}



header {
    padding: 20px 0;
    font-weight: bold;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.25rem;
}

.item-title {
    font-size: 1rem;
    margin-bottom: 15px;
}

header ul {
    display: flex;
}

header ul li {
    display: block;
    padding: 0 20px;
    border-right: 1px solid #212121;
}

header ul li:last-child {
    padding-right: 0;
    border-right: none;
}


#profile  {
    background-color: #eaf6fd;
    font-weight: bold;
    width: 100%;
    margin-bottom: 60px;
}

.label {
    color: #0966e8;
    font-size: 1rem;
}

.name {
    margin-bottom: 20px;
}

.profile-text {
    margin-bottom: 10px;
}

#profile .btn {
    color: #fff;
    margin-top: 40px;
    font-size: 0.75rem;
}



.mainvisual {
    display: flex;
    height: 450px;
    padding-right: 0;
}

.introduce {
    width: 55%;
    padding: 40px 20px 40px 0;
    text-align: left;
}

#profile img {
    width: 45%;
    height: 100%;
    object-fit: cover;
}


#works {
    margin-bottom: 60px;
}

#works p {
    margin-bottom: 20px;
}

.site-items {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.site-item {
    width: 30%;
    margin: 0 auto;
    padding: 20px 20px;
    border: 1px solid #9c9da1;
    display: flex;
    flex-direction: column;
}

.site-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.site-item .btn {
    color: #0966e8;
    background-color: #fff;
    border: 1px solid #0966e8;
    margin: auto auto 0 auto;
}

.flex {
    display: flex;
    text-align: left;
    gap: 20px;
    margin-bottom: 60px;
}

#skills {
    width: 45%;
    padding: 0 20px;
    border-right: 1px solid #9c9da1;
}

.skill-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.skill-item:last-child {
    margin-bottom: 10px;
}

.skill-item img {
    width: 60px;
}


#about {
    width: 50%;
    margin: 0 auto;
}


#service {
    background-color: #ddd;
    padding: 20px 0 40px;
    margin-bottom: 60px;
}

.service-items {
    margin-top: 40px;
    text-align: left;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.service-item {
    width: 33%;
    background-color: #fff;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.service-item img {
    width: 60px;
}



#contact {
    margin-bottom: 60px;
}

.mail a {
    margin-top: 20px;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.mail a:hover {
    opacity: 0.8;
}

.mail img {
    width: 25px;
    display: inline;
}

.mail p {
    font-weight: bold;
    text-decoration: underline dotted;
}

footer {
    background-color: #212121;
    padding: 15px 0;
}

footer p {
    color: #fff;
    font-size: 0.9rem;
}



@media (max-width: 1024px) {

    .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-items {
        display: flex;
        flex-wrap: wrap;
        text-align: left;
        gap: 20px;
    }

    .site-item {
        width: calc((100% - 20px) / 2);
    }

    .service-items {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .service-item {
        width: calc((100% - 20px) / 2);
    }

}

@media (max-width: 768px) {

    header ul {
        display: none;
    }

    .introduce {
        min-width: 200px;
    }

    #profile img {
        max-width: calc(100% - 200px);
    }



    .flex {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 60px;
        margin-bottom: 60px;
    }

    #skills {
        width: 80%;
        padding: 20px 20px 0 20px;
        border-right: none;
        margin: 0 auto;
    }

    .skill-items {
        text-align: left;
    }

    .skill-item {
        display: flex;
        gap: 30px;
        margin-bottom: 30px;
    }

    .skill-item:last-child {
        margin-bottom: 0;
    }


    #about {
        width: 80%;
        margin: 0 auto;
    }

    #about p {
        text-align: left;
    }



    .site-items {
        gap: 40px;
    }

    .site-item {
        width: 100%;
    }

    .service-item {
        width: 100%;
    }

}
