@charset "UTF-8";
/* CSS Document */
/*メインビジュアル */
.main {
  align-items: center;
  padding: 145px 0 0;
}
.main h1 {
  padding-right: 30px;
  font-size: 7.0rem;
  line-height: 80px;
}
.main img {
  width: 50%;
}
/* works */
#works {
  margin-top: 120px;
  text-align: center;
  color: #EE878B;
}
#works h1 {
  letter-spacing: 0.3rem;
  margin-bottom: -15px;
}

.works_title p {
	padding-top: 10px;
}
.works_icon img {
  width: 13%;
  position: relative;
  margin-bottom: -20px;
  z-index: 2;
}
.works_title {
  position: relative;
  z-index: 1;
}
#works p {
  color: #9D6224;
}
.works_icon {
  padding: 80px 0;
}
.works_image, flex {
 display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-rows: 380px 480px; */
    column-gap: 120px;
    row-gap: 70px;
}
.works_image li {
  list-style: none;
  width: 516px;
  text-align: left;
}
.works_image img {
  width: 512px;
  height: 310px;
  border-radius: 30px;
  background-color: #FFF;
  border: 2px solid #EE878B;
}
.works_image p {
  color: #9D6224;
  font-weight: bold;
  line-height: 2.0rem;
  padding: 15px 0 0;
}
.works_image span {
  font-weight: lighter;
  font-size: 1.4rem;
  color: #EE878B;
}
.works_image li:nth-child(3n) {
  margin-right: 0;
}
li.photo:nth-of-type(3) {
    display: none;
}



@media(max-width:768px) {
  .header_nav {
    background-size: 80%;
    background-position: center center;
    height: 500px;
  }
  .header_text {
    text-align: center;
  }
  .header_title, flex {
    display: block;
    line-height: 0.5rem;
  }
  .header_title h1 {
    font-size: 2.5rem;
    padding-bottom: 15px;
    letter-spacing: 0.2rem;
  }
  .header_title h3 {
    font-size: 1.4rem;
  }
  .header_explanation {
    font-size: 1.4rem;
    line-height: 2.0rem;
    margin-top: 20px;
  }
  .main {
    padding: 0;
  }
  .main h1 {
    padding-bottom: 20px;
    padding-right: 0;
    text-align: center;
    font-size: 5.0rem;
    line-height: 60px;
  }
  .main img {
    width: 100%;
  }
  .works_icon {
    padding: 80px 0 0;
  }
  .works_icon img {
    width: 25%;
    margin-bottom: -25px;
  }

  #works title {
    padding-top: 0;
  }
  .works_image, flex {
    display: block;
    width: 327px;
  }
  .works_image img {
    width: 327px;
    height: 200px;
    border-radius: 20px;
  }
  .works_image li {
    width: 327px;
    padding-top: 50px;
  }
	.works_title p {
    padding-top: 0;
}
}