@charset "UTF-8";

.midashi01 {
  position: relative;
  margin-bottom: 20vw;
  padding-top: 8vw;
}

.midashi01:before {
  content: "";
  width: 20vw;
  height: 4px;
  background: #161617;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  position: absolute;
  bottom: -8vw;
  left: 50%;
}

.onayami {
  position: relative;
}

.onayami:after {
  content: "";
  width: 60px;
  height: 40px;
  background: url(../images/first/arrow.webp) no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -18vw;
  left: 50%;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.onayami-inner {
  background: #f0eff5;
  padding: 6vw;
  border-radius: 20px;
  width: 90%;
  margin: 0 auto 24vw;
}

.onayami .ttl {
  font-size: 5.4vw;
  font-weight: bold;
  text-align: center;
  margin-bottom: 6vw;
  line-height: 1.4;
}

.onayami img {
  position: absolute;
}

.onayami .img01 {
  width: 43%;
  left: -11vw;
  top: -9vw;
}

.onayami .img02 {
  width: 43%;
  right: -40px;
  bottom: -16vw;
}

.onayami ul {
  text-align: center;
}

.onayami li {
  padding: 4% 5%;
  background: #fff;
  font-size: 3.8vw;
  display: table;
  margin: 0 auto 3vw;
}

.message {
  margin: 0 auto;
  background: url(../images/first/img03.webp) bottom 10vw center no-repeat;
  padding: 0 6vw 82vw;
  background-size: 140%;
}

.message .ttl {
  font-size: 5.4vw;
  font-weight: bold;
  text-align: center;
  margin-bottom: 6vw;
  line-height: 1.4;
  color: var(--brown);
}

.message p {
  margin-bottom: 4vw;
  font-size: 3.6vw;
  line-height: 1.8;
  font-feature-settings: "palt";
  letter-spacing: .04em;
  text-align: justify;
}

.message img {
  width: 100%;
  bottom: 0;
}

/* =============================================
pc-size
================================================*/
@media screen and (min-width: 736px) {

  .midashi01 {
    margin-bottom: 100px;
    padding-top: 60px;
  }

  .midashi01:before {
    width: 120px;
    bottom: -40px;
  }

  .onayami {
    width: 960px;
    margin: 0 auto;
  }

  .onayami:after {
    bottom: -100px;
  }

  .onayami-inner {
    padding: 40px;
    margin: 0 auto 150px;
    width: 790px;
  }

  .onayami .ttl {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .onayami .img01 {
    width: 335px;
    left: -30px;
    top: -30px;
  }

  .onayami .img02 {
    width: 358px;
    right: -30px;
    bottom: -40px;
  }

  .onayami li {
    padding: 16px 24px;
    font-size: 18px;
    margin: 0 auto 16px;
  }

  .message {
    background: url(../images/first/img03.webp) bottom 90px center no-repeat;
    padding: 0 0 630px;
    background-size: contain;
    width: 960px;
  }

  .message .ttl {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .message p {
    margin-bottom: 30px;
    font-size: 16px;
    text-align: center;
    line-height: 2;
  }

  .message img {
    width: 100%;
    bottom: 0;
  }
}

/* =============================================
retina
================================================*/
@media screen and (min-width: 736px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 736px) and (min-resolution: 2dppx) {
  .onayami:after {
    background-image: url(../images/first/arrow.webp);
  }

  .message {
    background-image: url(../images/first/img03.webp);
  }

}