@charset "UTF-8";


/* sec01 */
.sec01 {
  margin-bottom: 80px;

  .gridlist {
    width: 1080px;
    max-width: 100%;
    margin: 0 auto 88px;

    display: grid;
    row-gap: 46px;
    column-gap: 58px;
    grid-template-columns: repeat(3, 330px);


    .item {
      border-radius: 30px;
      border: 2px solid #EE9581;
      padding: 35px 25px;

      .item_title {
        margin-bottom: 15px;
        letter-spacing: .14em;
        font-size: 24px;
        font-weight: 700;
        font-style: bold;
        text-align: center;
        color: #F08B00;
      }
      .item_title span {
        letter-spacing: .03em;
        font-size: 20px;
        font-weight: bold;
      }
    }

  }
  .bottom_text {
    width: 825px;
    max-width: 100%;
    margin: 0 auto;

    line-height: 1.8;
    font-size: 18px;
    text-align: center;
  }

  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;

    .gridlist {
      margin: 0 auto 8vw;

      row-gap: 4.2vw;
      column-gap: initial;
      grid-template-columns: repeat(1, 1fr);

      .item {
        border-radius: 30px;
        padding: 5.5vw 5.5vw;

        .item_title {
          margin-bottom: 2.4vw;
          font-size: 5.2vw;
        }
        .item_title span {
          letter-spacing: .03em;
          font-size: 4;
        }
        .item_text {
          font-size: 4vw;
        }
      }
    }

    .bottom_text {
      font-size: 4vw;
      text-align: justify;
    }
  }
}


/* sec02 */
.sec02 {
  margin-bottom: 140px;

  .cont01 {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;

    .flexbox{
      column-gap: 50px;
      margin-bottom: 96px;
      align-items: flex-start;
    }
    .reverse{
      margin-bottom: 110px;
    }
    .imagebox{
      width: 77%;
    }
    .textbox{
      width: 100%;
      .box_title{
        line-height: 1.5;
        font-size: 28px;
        font-weight: 500;
        margin-bottom: 40px;
      }
    }
  }

  .check_column {
    .box{
      max-width: 1100px;
      margin: 0 auto;
      background-color: #FDF3E5;
      border-radius: 10px;
      padding: 20px 50px 60px;
    }
    .check{
      color: #F08B00;
      font-size: 40px;
      text-align: center;
      font-weight: 350;
      line-height: 1;
      position: relative;
      letter-spacing: 0.2em;
      top: -45px;
      font-family: 'Inter', sans-serif;
      &::before{
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/taniyama/images/common/star_orange.webp) center / contain no-repeat;
      }
    }
    .box_title{
      font-size: 24px;
      font-weight: 500;
      text-align: center;
      margin-bottom: 40px;
    }
    .flexbox{
      column-gap: 50px;
    }
    .textbox{
      width: 100%;
    }
    .imagebox{
      width: 61.6%;
    }

  }


  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;

    .cont01 {
      margin-bottom: 15vw;
      .flexbox {
        flex-direction: column-reverse;
        column-gap: 0;
        margin-bottom: 10vw;
      }
      .reverse {
        flex-direction: column-reverse;
        margin-bottom: 10vw;
      }
      .imagebox {
        width: 100%;
      }
      .textbox {
        width: 100%;
        .box_title {
          font-size: 5vw;
          margin-bottom: 3vw;
        }
        .box_text {
          font-size: 4vw;
        }
      }
    }

    .check_column {
      .box{
        padding: 0vw 5vw 8vw;
      }
      .check{
        font-size: 7vw;
        height: 10vw;
        top: -3vw;
        &::before{
          width: 4.2vw;
          height: 4.2vw;
          top: -6.6vw;
        }
      }
      .box_title{
        font-size: 5vw;
        padding: 0 5vw;
        margin-bottom: 5vw;
      }
      .flexbox{
        flex-direction: column-reverse;
      }
      .imagebox{
        width: 100%;
      }
      .textbox{
        width: 100%;
      }
    }
  }
}

/* sec03 */
.sec03 {
  margin-bottom: 163px;

  .flexbox{
    width: 1200px;
    max-width: 100%;
    margin: 0 auto 85px;

    column-gap: 50px;
    align-items: flex-start;
    .imagebox{
      width: 81.3%;
    }
    .box_title {
      line-height: 1.5;
      font-size: 24px;
      font-weight: 500;
      margin-bottom: 30px;
    }
    .textbox{
      width: 100%;
    }
  }

  .checkbox {
    margin-bottom: 90px;
    background-color: rgba(165,145,193,0.2);
    padding-top: 10px;
    .check_subtitle{
      text-align: center;
      font-size: 25px;
      font-weight: 600;
      position: relative;
      top: -25px;
      line-height: 1;
    }
    .check_title{
      font-size: 30px;
      color: #A591C1;
      margin-bottom: 40px;
    }
    .gridbox {
      padding-bottom: 70px;
      border-bottom: none;
    }
  }

  .bottom_box{
    width: 1200px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 75px 25px 80px;
    border: 2px solid #F08B00;
    border-radius: 20px;
    margin: 0 auto;

    .bottom_title{
      padding: 0 0 30px;
      font-size: 26px;
      font-weight: 500;
      text-align: center;
      margin-bottom: 70px;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 275px;
        height: 2px;
        margin: 0 auto;
        background: #F08B00;
        letter-spacing: 0.11em;
      }
    }

    .flexbox{
      column-gap: 53px;
      align-items: flex-start;
      margin-bottom: 0;
      .imagebox{
        width: 57.8%;
      }
      .textbox{
        width: 100%;
        .box_title {
          font-size: 21px;
          font-weight: bold;
          margin-bottom: 21px;
          padding-left: 2em;
          position: relative;
          &::before{
            content: "";
            position: absolute;
            width: 18px;
            height: 17px;
            left: 0;
            bottom: 50%;
            transform: translateY(50%);
            background: url(/taniyama/images/common/star.webp) center / contain no-repeat;
          }
        }
      }
    }
    .flexbox:not(:last-of-type) {
      margin-bottom: 70px;
    }
  }

  @media screen and (max-width: 768px){
    margin-bottom: 13.8vw;

    .flexbox {
      margin: 0 auto 15vw;

      flex-direction: column;
      column-gap: 0;
      row-gap: 5.33vw;

      .imagebox {
        width: 100%;
        margin-bottom: 4.2vw;
      }

      .textbox {
        width: 100%;

        .box_title {
          font-size: 5.2vw;
          margin-bottom: 4.2vw;
        }
        .box_text {
          font-size: 4vw;
        }
      }
    }

    .checkbox {
      margin:0 auto 13.8vw;
      padding-top: 0;
      .gridbox {
        padding-bottom: 10vw;
      }
      .check_subtitle{
        font-size: 4.5vw;
        top: -4vw;
        line-height: 1.5;
      }
      .check_title{
        font-size: 5vw;
        margin-bottom: 5vw;
        top: -6vw;
      }
    }
    .bottom_box {
      margin-bottom: 10vw;
      padding: 6vw 5.5vw;

      .bottom_title {
        letter-spacing: .1em;
        font-size: 5vw;
        margin: 0 5vw 5vw;
        padding: 0 0 5vw;
      }

      .flexbox {
        flex-direction: column;
        column-gap: 0;
        row-gap: 5.33vw;

        .imagebox {
          width: 100%;
        }
        .textbox {
          width: 100%;

          .box_title {
            font-size: 4.8vw;
            margin-bottom: 4.2vw;
            text-align: left;
            &::before{
              width: 4.2vw;
              height: 4.2vw;
            }
          }
          .box_text {
            font-size: 4vw;
          }
        }
        .reverse {
          flex-direction: column;
        }
      }
      .flexbox:not(:last-of-type) {
        margin-bottom: 13.8vw;
      }
    }
  }
}

/* sec04 */
.sec04 {
  @media screen and (max-width: 768px){
    margin-bottom: 13.8vw;
  }
}