html {
  font-size: 100%;
}
body {
  background-color: #f0f0f0;
  color: #000;
  font-size: 0.875rem;
  font-family: 'Dancing Script', cursive;

}
a {
  color: #000;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

h1{
  margin-right: 60px;
  font-size: 2rem;
}
h1 a{
  display: block;
}
.section-title {
  /* font-weight: normal; */
  line-height: 1;
  margin-bottom: 50px;
  text-align: center;
}

.section-title .en {
  display: block;
  font-size: 3rem;
  margin-bottom: 16px;
  letter-spacing: 0.3rem;

}
.section-title .ja {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 36px;
  color: #e9a2ce;

}
.wrapper {
  width: 100%;
  max-width: 1032px;
  padding: 0 16px;
  margin: 0 auto;
}
#header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .inner {
  display: flex;
  align-items: center;
}
#header .inner ul {
  display: flex;
  align-items: center;
}
#header .inner li {
  margin-right: 30px;
}
#header .inner li:last-child {
  margin-right: 0;
}
#header .contact {
  width: 200px;
  height: 80px;
  line-height: 80px;
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  display: inline-block;
  text-align: center;
}
#header .contact:hover {
  background-color: #333;
}

.mainvisual {
  margin-bottom: 120px;
  background-image: url(../image/flower.jpg);
  background-size: cover;
  background-position: center;
  height: calc(100vh - 80px);
  object-fit: cover;
}

.mainvisual .message {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8rem;
  height: 100%;
  letter-spacing: 0.8rem;
  padding-top: 150px;
}

.mainvisual .message .blue {
  color: #e9a2ce;
}
#about{
  margin-bottom: 120px;  
}
#about .flex{
  display: flex;
  justify-content: center;

}
#about .img{
  width: 40%;
  margin-right: 60px;

}
#about .img img{
  width: 100%;
  height: 400px;
}
#about .text{
  width: 40%;

}
#about .text p{
  line-height: 2;

}
#about .text li{
  margin-bottom: 0.8rem;

}
h3{
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #e9a2ce;
}
#skills{
  margin-bottom: 120px;
}
#skills ul{
  display: flex;
  justify-content: center;
  /* text-align: center; */
  flex-wrap: wrap;
  gap: 0px 20px;
  
}
#skills li .img{
  height: 180px;
  width: 150px;
  margin-left: 30px;
}
/* #skills li .img img:last-child{
  margin-bottom: 30px;
} */
#skills li{
  width: 230px;
  text-align: center;

}
#skills .name{
  font-size: 1.5rem;
  font-weight: bold;

}
#skills p{
  line-height: 2;

}
#contact {
  margin: 120px 0;
  text-align: center;
}

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

.contact-message {

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

.icon-area {
   margin-top: 30px;
}
.icon-area .fab {
  font-size: 2rem;
  margin: 0 1rem;
}
#footer{
    background-color: #ddd;
    padding: 30px 16px 10px;
}

#footer ul{
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
}

#footer li{
    font-size: 1.2rem;
}

.copyright {
    margin-top: 2rem;
    text-align: center;
}
@media screen and (max-width:768px) {

#header{
  width: 100%;
  margin-top: 50px;
  position: relative;
}
  
h1{
  position: absolute;
  top: -26px;
  right: -10px;
}
#header .inner {
  flex-direction: column;
  align-items: center;
}
#header {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#header .wrapper {
  width: 100%;
  padding: 0 6px;
}
#header .inner li {
  margin-right: 26px;
}



#header .contact {
  width: 80px;
  background-color: #f0f0f0;
  color: #000;
  font-size: 0.9rem;
  margin-right: 48px;
}
#header .contact:hover {
  display: none;
}
.mainvisual {
  height: 430px;
  object-position: 0 100%;
  margin-bottom: 60px;

}
.mainvisual .message {
  font-size: 3rem;
  height: 100%;
  letter-spacing: 0.3rem;
  padding-top: 100px;
}
.section-title .en {
  font-size: 2rem;
}
.section-title .ja {
  margin-bottom: 0;

}

#about{
  margin-bottom: 60px;  
}
#about .flex{
  flex-direction: column;
}
#about .img{
  display: none;
  /* width: 100%;
  margin-right: 0px;
  padding: 0; */

}
#about .img img{
  /* width: 100%;
  height: 300px;
  object-fit: cover; */
}
#about .text{
  width: 100%;

}
h3{
  font-size: 1rem;
}
.section-title {
  margin-bottom: 0;
}
#skills ul{
  margin-top: 30px;
}
#skills li{
  margin-top: 30px;
}
.name{
  margin-right: 20px;
}
#skills{
  margin-bottom: 30px;
}
#contact .ja{
  margin-bottom: 30px;
}



  
}