body {
    font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans";
    font-size: 14px;
    color: #333;
}

a {
    color:#333;
    text-decoration: none;
}

@media screen and (min-width:768px) {
    body {
        font-size: 16px;
    }
}

/* header */

.header{
    max-width: 1024px;
    margin:0 auto;
    padding: 20px 16px;
}


.header-list{
    display: flex;
    justify-content: space-around;
    margin-top: 2.5rem;
}

.header-item{
    font-size: 1.2rem;
}

@media screen and (min-width:768px) {
    .header {
        align-items: center;
        height: 80px;
    }

    .header-item{
        margin-left: 2.6rem;
    }

}

/* main */

.main {

}


.hero {
    background-image: url(../img/firstview.jpg);
    height: 400px;
    background-position: center; 
}


.text-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.first-text {
    display: flex;
    justify-content: center;
    align-items: center; 
    font-size: 2rem;
    font-weight: bold;
    height: 20%;
    width: 100%;
    background:rgba(255,255,255,0.7);
    letter-spacing: 0.3rem;
}



@media screen and (min-width:768px) {
    .firsttext {
        font-size: 3.5rem;
        letter-spacing: 0.5rem;
    }
}


/* about */

.about {
    margin: 0 auto;
    padding: 100px 0;
    background-color: #f4f4f4;
}

.cmn-title {
    font-size: 2.5rem;;
    text-align: center;
}



.about-wrapper {

}

.about-image {
    text-align: center;
    padding-top: 45px;
}

.about-text {
    padding: 30px 20px;
    margin: 0 auto ; 
    max-width: 450px;
    line-height: 1.8;
}



.abouto-text-content {

}

.about-career {
    margin-top: 30px;
}


.career-list {

}

.career-item {

}



@media screen and (min-width:768px) {
    .about-wrapper {
        display: flex;
        justify-content: center;
    }

    .about-image {

    }

    .about-text {
        margin: 0;
        padding-left: 50px;

    }

    .greeting-desk {
        width: 480px;
    }
    
}


/* skill */
.skills {
    padding: 100px 0;
}

.skill-lists {
    margin:10px auto 0 ;
    padding-top: 30px;
    padding-bottom: 60px;

}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 20px;
    padding: 10px 20px;

}

.skill-item {


}

.skill-image {
    height: 150px;
    text-align: center;
}

.skill-name {
    padding-top: 30px;
    font-size: 1.5rem;
    text-align: center;
}

.skill-desk {
    width: 250px;
    margin-top: 1rem;
}




@media screen and (min-width:1025px){
    .skill-lists {
        max-width: 100%;
    }

}



/* works */

.works {
    margin: 0 auto;
    padding: 100px 0;
    background-color: #f4f4f4;;
}

.work-list {
    padding-bottom: 60px;

}

.work-item { 


}



.work-image {
    text-align: center;
    padding-top: 30px;
}

.work-image img {
    width: 80%;
    margin: 0 auto;
}


.work-text {
    width: 315px;
    margin: 30px auto;


}

.work-title {

}

.work-skill {

}

.work-time {

}





@media screen and (min-width:768px){

.work-item {
    display: flex; 
    justify-content: center;
    align-items: center;

}


.work-text {
    width: 50%;
    
}

.work-image {
    width: 50%;

}
.work-image img {
    max-width: 400px;
    margin-left: 100px;
}

}



/* contact */
.contact {
    text-align: center;
    padding: 30px 0;
    padding-bottom: 60px;
    height: 300px;
}

.contact-text {
    margin-top: 30px;
}

.contact-message {


}

.contact-mail {
    font-size: 1.2rem;
    font-weight: bold;
}



/* footer */
.footer {
    background-color: #ddd;
    padding: 30px 16px 10px;
}

.footer-list {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
    

}

.footer-item {
    font-size: 1.2rem;
}

.copy-right {
    font-size: 0.7rem;
    margin-top: 2rem;
    text-align: center;

}