*{
  color: #777777;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  text-decoration: none;
  list-style: none;
}

@media screen and (min-width:768px) {
  *{
    font-size: 16px;
    font-family: 'Zen Old Mincho', serif;
  }
}

.cmn-title{
  text-align: center;
  font-family: 'Zen Old Mincho', serif;
}

.sub-title{
  text-align: center;
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
}

.main-title{
  text-align: center;
  display: block;
  color: #555;
  font-size: 2rem;
}

@media screen and (min-width:768px){  
  .sub-title{
    display: block;
    font-size:1.2rem;
    font-weight: bold;
  }
  
  .main-title{
    display: block;
    font-size: 2.5rem;
  }
}

/* top */
.top-image{
  background-image: url(img/hero.jpg);
  background-size: cover;
  background-position: center;
  height: 600px;
}

.top-text{
  font-family: 'Zen Old Mincho', serif;
  text-align: center;
  padding: 230px 0;
}

.top-text p{
  font-size: 1.5rem
}

.top-text h3{
  font-size: 2em;
} 

.top-text h1{
  font-size: 3rem;
  color:#555;
} 

.site-name{
font-weight: bold;
}

@media screen and (min-width:768px) {
  .top-text p{
    font-size: 2rem
  }
  
  .top-text h3{
    font-size: 3rem;
  } 
  
  .top-text h1{
    font-size: 5.5rem;
    color: #555;
  } 
}

/* navigationbar */
.navbar{
  font-family: 'Zen Old Mincho', serif;
  background-color: beige;
}

@media screen and (min-width:768px){
  .navbar{
    font-size: 1.2rem;
  }
}


/* about */
.about{
  font-family: 'Zen Old Mincho', serif;
  max-width: 800px;
  margin: 120px auto 0;
  padding: 0 16px;
}

.about-wrapper{
  margin-top: 30px;
}

.about-image{
  text-align: center;
}

.myphoto{
  width: 240px;
}

.about-text{
  margin-top: 40px ;
}

.about-greeting{

}

.about-subtitle{
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #555555;
  text-align: center;
}

.greeting-disc{
  margin: 0.5rem 16px 16px 16px;
}


.about-career{
 margin-top: 30px;
}

.career-list{

}

.career-item{
  margin: 0.5rem 16px 16px 16px;
}

@media screen and (min-width:768px){
  .about-wrapper{
    display: flex;
    margin-top: 30px;
  }

  .myphoto{
    padding-top: 80px;
    width: 200px;
  }

  .about-subtitle{
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .about-text{
    margin-top: 40px ;
  }
}

/* skills */
.skill{
  /* font-family: 'Zen Old Mincho', serif; */
  /* max-width: 1024px; */
  margin: 120px auto 0;
  padding: 0 16px;
}

.skill-list{
  padding-left: 0;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 20px;
}

.skill-item{
  
}

.skill-image{
  max-width: 180px;
  text-align: center;
  margin-bottom: 30px;
}


.skill-image-ps{
  vertical-align: middle;
  padding: 0 0 60px 20px;
  max-width: 180px;
}

.photoshop{
 width: 155px;
}

.skill-name{
 text-align: center;
 font-weight: bold;
 font-size: 1.5rem;
}

.skill-desc{
  padding-top: 1rem;
}

@media screen and (min-width: 798px) {
  .skill-list{
    max-width: 500px;
    margin: 60px auto 0;
    gap: 20px 20px;
  }

  .skill-item { 
    width: 230px;
  } 

  .skill-image-ps{
  vertical-align: middle;
  padding: 0 0 60px 20px;
}

.photoshop{
 width: 155px;
}
}

@media screen and (min-width: 1024px) {
  .skill{
    max-width: 1024px;
  }

  .skill-list{
    padding-left: 0;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .skill-item { 
    width: 230px;
    padding: 40px 20px
  } 

  .skill-image-ps{
    vertical-align: middle;
    padding: 0 0 60px 20px;
  }

  .photoshop{
    width: 155px;
  }

  /* .skill-image{
    padding-left: 16px;
    
  }

  .skill-name{
    width: 230px;
  } */

  .skill-desc{
    width: 230px;
  }
}




/* .skill{
  font-family: 'Zen Old Mincho', serif;
  max-width: 1024px;
  margin: 60px auto 0;
  padding: 0 16px;
}

.skill-list{
  margin-top: 60px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 20px;
}

.skill-item{

}

.skill-image{
  height: 180px;
  text-align: center;
}

.skill-name{
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.skill-desc{
  margin-top: 1rem;
  max-width: 230px;
} */

/* 1024px~768px の間の表示が不安定 　要対策*/
/* @media screen and (min-width: 768px) {
  .skill{
    margin: 120px auto 0;
  }

  .skill-list{
    max-width: 500px;
    margin: 60px auto 0;
  }

  .skill-item{
    width: 230px;
  }
}

@media screen and (min-width: 1024px) {
  .skill-list{
    max-width: 100%;
  }  
} */

/* works */
.works{
  font-family: 'Zen Old Mincho', serif;
  max-width: 900px;
  margin: 120px auto 0;
}

.works-list{
  /* margin-top: 60px; */
}

.works-item{
  margin-top: 60px;
}

.works-item.reverce{
}

.works-image img{
  width: 95%;
  padding: 16px;
  text-align: center;
}

.works-image .img1{
  width: 145px;
  padding-right: 10px;
}

.works-image .img2{
  width: 290px;
}

.works-text{
  padding: 16px;
  font-size: 0.9rem;

}

.works-title{
  color: #555555;
  font-size: 1.2rem;
}

.works-skill{

}

.works-desc{

}
@media screen and (min-width:900px){
  .works-item{
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
  
  .works-item.reverce{
  flex-direction: row-reverse;
  }
  
  .works-image img{
    width: 430px;
  }
  
  .works-text{
    font-size: 1rem;
    width: 430px;
  }
  
}

/* contact */
.contact{
  text-align: center;
  font-family: 'Zen Old Mincho', serif;
}

.contact-message{
padding-top: 16px;
font-size: 1rem;
}

.contact-mail{
  font-size: 1.5rem;
  font-weight: bold;
}

@media screen and (min-width:768px) {
  .contact-message{
    padding-top: 16px;
    font-size: 1.5rem;
    }
  .contact-mail{
    font-size: 3rem;
    font-weight: bold;
  }
}


/* footer */
footer{
  background-color: beige;
}

.footer-link{
  padding-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  font-family: 'Zen Old Mincho', serif;
}

.footer-link a{
  text-decoration: none;
  color: #777777
}

.footer-link::hover{
 color: slategray;
}

.copyright {
  font-family: 'Zen Old Mincho', serif;
  margin-top: 2rem;
  text-align: center;
}



