body{
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

a{
    text-decoration: none;
    color: #000;
}

li{
    list-style: none;
}

img{
    width: 100%;
}

.wrapper{
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.sec-title{
    font-size: 0.8rem;
    font-weight: bold;
    color: #ff8c00;
    text-align: center;
}

.sub-title{
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.sp-only{
    display: none;
}

/* header */
#header{
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .header-logo{
    font-size: 3rem;
    font-weight: bold;
}

#header .logo-color{
    color:#ff8c00;
}

#header .header-list{
    display: flex;
}

#header .header-list li{
    margin-left:40px;
}

/* main */
.firstview{
    background-image: url(../img/lauren-mancke-aOC7TSLb1o8-unsplash\ \(1\).jpg);
    height: 700px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* about */
#about{
    margin-top: 120px;
}

#about .about-wrapper{
    display: flex;
    margin-top: 30px;
    justify-content: space-around;
}

#about .about-img{
    width: 45%;
}

#about .about-img img{
    height: 400px;
    border-radius: 20%;
}

#about .about-text{
    text-align: left;
    width: 45%;
}

#about .about-title{
    font-size: 1.5rem;
    font-weight: 500;
    color: #ff8c00;
}

/* skill */
#skill{
    margin-top: 120px;
    padding: 0 20px;
}

#skill .skill-list{
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

#skill .skill-item{
    width: 230px;
    text-align: center;
}

#skill .skill-item img{
    width: 200px;
    height: 200px;
}

#skill .skill-name{
    font-weight: bold;
    margin-top: 10px;
}

#skill .skill-item p{
    margin-top: 16px;
    text-align: left;
}

/*works */
#work{
    margin-top: 120px;
}

#work .work-wrapper{
    margin-top: 80px;
}

#work .work-item{
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
}

#work .work-item.flex-rev{
    flex-direction: row-reverse;
}

#work .work-img{
    width: 45%;
}

#work .work-text{
    width: 45%;
}

/* contact */
#contact{
    margin-top: 120px;
    text-align: center;
    margin-bottom: 120px;
}

#contact .contact-text{
    margin-top: 60px;
}

#contact .contact-mail{
    font-size: 2.5rem;
    font-weight: bold;
}

#contact .contact-icon{
    margin-top: 30px;
}

#contact .contact-icon i{
    font-size: 2rem;
    margin: 0 20px;
}

/* footer */
#footer{
    background-color: #dddddd;
    padding: 30px 20px 16px;
}

#footer .footer-list{
    display: flex;
    justify-content: center;
}

#footer .footer-item{
    margin: 0 2rem;
}

#footer .copyright{
    font-size: 0.8rem;
    text-align: center;
    margin-top: 2rem;
}

@media screen and (max-width:1024px) {
    #skill .skill-list{
        flex-wrap: wrap;
    }

    #skill .skill-item{
        width: 40%;
        margin-bottom: 30px;
    }
}
@media screen and (max-width:768px) {
    #header{
        flex-direction: column;
        padding: 20px;
    }
    #header .header-logo{
        font-size: 2.5rem;
    }
    #header .header-list li{
        margin: 0 10px;
    }

    .firstview{
        height: 500px;
        object-fit: cover;
    }
    
    #about .about-wrapper{
        flex-direction: column;
    }
    #about .about-img{
        margin: 0 auto 50px auto;
    }
    #about .about-img img{
        height: 300px;
    }
    #about .about-text{
        width: 100%;
    }
    #about .about-title{
        text-align: center;
    }

    #skill .skill-item{
        width: 100%;
    }
    #skill .skill-item p{
        text-align: center;
    }

    #work .work-item,
    #work .work-item.flex-rev{
        flex-direction: column;
        align-items: center;
    }
    #work .work-img{
        width: 100%;
    } 
    #work .work-text{
        width: 100%;
    }

    #contact .contact-mail{
        font-size: 2rem;
        display: inline;
    }

    #footer .footer-list{
        flex-wrap: wrap;
    }
    #footer .footer-item{
        width:30%;
    }

    .sp-only{
        display: block;
    }
}
