@charset "utf-8";

.story-sec1 {
  background: url(../img/story/sec1-bg.webp) no-repeat;
  background-size: 100% 100%;
  padding: 130px 0 150px;
  @media (max-width: 960px) {
    background: url(../img/story/sec1-bg-sp.webp) no-repeat;
    background-size: 100% 100%;
    padding: 50px 0 60px;
  }
  .story-sec1__title {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-inline: auto;
    padding-bottom: 22px;
    margin-bottom: 64px;
    border-bottom: 3px solid #c4b578;
    @media (max-width: 960px) {
      width: 100%;
      grid-template-columns: 1fr;
      padding-bottom: 20px;
      margin-bottom: 16px;
    }
    .icon {
      width: 83px;
      @media (max-width: 960px) {
        width: 80px;
        margin-inline: auto;
      }
    }
    .title {
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 25px;
      line-height: 1.75;
      color: #1a1a1a;
      @media (max-width: 960px) {
        font-size: 20px;
        text-align: center;
      }
    }
  }
  .story-sec1__text {
    max-width: 1000px;
    margin-inline: auto;
  }
}

.story-sec2 {
  padding: 100px 0;
  @media (max-width: 960px) {
    padding: 60px 0;
  }
  .story-sec2-item {
    margin-bottom: 100px;
    @media (max-width: 960px) {
      margin-bottom: 50px;
    }
    .title {
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 35px;
      line-height: 1.75;
      text-align: center;
      margin-bottom: 60px;
      @media (max-width: 960px) {
        font-size: 20px;
        margin-bottom: 38px;
      }
    }
    .title .color {
      color: #8d7762;
    }
    .flex {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 86px;
      @media (max-width: 960px) {
        flex-direction: column-reverse;
        gap: 30px;
      }
    }
    .text {
      width: 60%;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
    .img {
      width: 40%;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
  }
  .story-sec2-item:last-of-type {
    margin-bottom: 0;
    @media (max-width: 960px) {
      margin-bottom: 0;
    }
  }
  .story-sec2-item:nth-of-type(1) {
    .title {
      color: #63310b;
    }
  }
  .story-sec2-item:nth-of-type(2) {
    .flex {
      gap: 76px;
      @media (max-width: 960px) {
        gap: 30px;
      }
    }
    .text {
      width: 63%;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
    .img {
      width: 37%;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
  }
}

.story-sec3 {
  padding: 180px 0;
  background: url(../img/story/sec3-bg.webp) no-repeat;
  background-size: 100% 100%;
  @media (max-width: 960px) {
    padding: 60px 0;
    margin-bottom: 36px;
    background: url(../img/story/sec3-bg-sp.webp) no-repeat;
    background-size: 100% 100%;
  }
  .story-sec3__title {
    font-family: 'dnp-shuei-mgothic-std', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 1.75;
    text-align: center;
    margin-bottom: 60px;
    @media (max-width: 960px) {
      font-size: 20px;
      margin-bottom: 28px;
    }
    .color {
      color: #8d7762;
    }
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 86px;
    margin-bottom: 100px;
    @media (max-width: 960px) {
      flex-direction: column;
      gap: 0px;
      margin-bottom: 38px;
    }
  }
  .img-wrapper {
    width: 40%;
    @media (max-width: 960px) {
      width: 100%;
    }
    .img:first-of-type {
      margin-bottom: 52px;
      @media (max-width: 960px) {
        margin-bottom: 20px;
      }
    }
    .img-pc {
      @media (max-width: 960px) {
        display: none;
      }
    }
    .title-sp {
      display: none;
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 1.75;
      text-align: center;
      margin-bottom: 26px;
      color: #8d7762;
      @media (max-width: 960px) {
        display: block;
      }
    }
  }
  .text-wrapper {
    width: 60%;
    @media (max-width: 960px) {
      width: 100%;
    }
    .title {
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 30px;
      line-height: 1.75;
      margin-bottom: 36px;
      color: #8d7762;
      @media (max-width: 960px) {
        display: none;
      }
    }
    & ul {
      padding: 18px;
      padding-right: 0;
      list-style-type: disc;
      @media (max-width: 960px) {
        padding: 10px 16px;
        padding-right: 0;
      }
    }
    .img-sp {
      display: none;
      margin-top: 38px;
      @media (max-width: 960px) {
        display: block;
      }
    }
  }
  .lower-title {
    font-family: 'dnp-shuei-mgothic-std', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 1.75;
    text-align: center;
    margin-bottom: 36px;
    color: #816354;
    @media (max-width: 960px) {
      font-size: 20px;
      margin-bottom: 20px;
    }
  }
  .lower-text {
    text-align: center;
    @media (max-width: 960px) {
      text-align: justify;
    }
  }
}
