@charset "UTF-8";

/* sec01 */
.sec01{
  margin-bottom: 100px;
  .cont01{
    margin-bottom: 60px;
    .box_text{
      max-width: 1000px;
      margin: 0 auto;
    }
  }
  .cont02{
    max-width: 1050px;
    margin: 0 auto 80px;
    .box_title{
      font-weight: 500;
      font-size: 24px;
      text-align: center;
      border-bottom: 2px solid #ECD300;
      padding-bottom: 30px;
      margin-bottom: 45px;
    }
    .gridbox{
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin-bottom: 50px;
      column-gap: 10px;
    }
    .circle{
      width: 230px;
      height: 230px;
      background-color: #F9F7E5;
      border-radius: 50vh;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .circle:nth-of-type(2), .circle:nth-of-type(4){
      background-color: #FFE4CA;
    }
    .circle_text{
      font-weight: bold;
      font-size: 20px;
      text-align: center;
      line-height: 1.5;
    }

    .box_text{
      text-align: center;
      font-size: 20px;
      font-weight: 500;
    }
  }

  .cont03{
    max-width: 1050px;
    margin: 0 auto ;
    .box_title{
      font-weight: bold;
      font-size: 24px;
      text-align: center;
      border-bottom: 2px solid #ECD300;
      padding-bottom: 30px;
      margin-bottom: 45px;
    }
    .flexbox{
      column-gap: 50px;
      align-items: flex-start;
      width: 100%;
      .imagebox{
        width: 75.1%;
      }
    }
  }

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

    .cont01 {
      margin-bottom: 13.8vw;
      .box_text {
        max-width: 100%;
        font-size: 4vw;
        text-align: justify;
      }
    }

    .cont02 {
      max-width: 100%;
      margin: 0 auto 16vw;
      .box_title {
        font-size: 5vw;
        padding-bottom: 4vw;
        margin-bottom: 6.4vw;
      }
      .gridbox {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2vw;
        row-gap: 2vw;
        margin-bottom: 10vw;
        justify-items: center;
      }
      .box_text{
        font-size: 4vw;
      }
      .circle {
        width: 90%;
        height: auto;
        aspect-ratio: 1 / 1;
      }
      .circle_text {
        font-size: 4.2vw;
      }
      .bottom_box {
        margin: auto 0 0 0;
        max-width: 83.4%;
        &::before {
          width: 28vw;
                    height: 30.5vw;
                    right: -12vw;
                    bottom: -10vw;
        }
        .textbox {
          font-size: 4vw;
          padding: 5vw;

        }
      }
    }

    .cont03 {
      max-width: 100%;
      margin: 0 auto;
      .box_title {
        font-size: 5.33vw;
        padding-bottom: 4vw;
        margin-bottom: 6.4vw;
      }
      .flexbox {
        flex-direction: column-reverse;
        column-gap: 0;
        row-gap: 0;
        .imagebox {
          width: 100%;
        }
        .textbox {
          font-size: 4vw;
          text-align: justify;
        }
      }
    }
  }
}

/* sec02 */
.sec02{
  margin-bottom: 100px;
  .flexbox{
    column-gap: 50px;
    align-items: flex-start;
    margin-bottom: 80px;
    .imagebox{
      width: 100%;
      position: relative;
    }
    .textbox{
      .box_title{
        font-size: 24px;
        font-weight: 500;
        margin-bottom: 30px;
      }
    }
  }

  .cont02{
    margin-bottom: 100px;
    .gridbox{
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 70px;
      row-gap: 59px;
      max-width: 990px;
      margin: 0 auto;
    }
    .box{
      max-width: 460px;
      background-color: #F9F7E5;
      border-radius: 30px;
      padding: 40px;
      position: relative;
      text-align: center;
    }

    .box_title{
      text-align: center;
      font-size: 24px;
      margin-bottom: 20px;
      padding-left: 1.5em;
      position: relative;
      display: inline-block;
      &::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;
      }
    }
  }

  .cont03{
    border: 2px solid #F08B00;
    max-width: 1280px;
    .box{
      padding: 60px 90px;
    }
    .box_title{
      font-size: 24px;
      margin-bottom: 45px;
      text-align: center;
      .big{
        font-size: 28px;
      }
      .orange{
        color: #F08B00;
      }
    }
    .flexbox{
      column-gap: 50px;
      margin-bottom: 0;
    }
    .imagebox{
      width: 62%;
    }
    .textbox{
      width: 100%;
      .box_title{
        text-align: left;
        font-size: 24px;
        letter-spacing: 0.1em;
        margin-bottom: 30px;
        span{
          font-weight: bold;
          color: #F08B00;
          letter-spacing: 0.1em;
        }
      }
    }
  }

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

    .flexbox {
      flex-direction: column-reverse;
      column-gap: 0;
      margin-bottom: 16vw;

      .imagebox {
        width: 100%;

        & img {
          width: 100%;
          height: auto;
        }
      }

      .textbox {
        width: 100%;

        .box_title {
          font-size: 5vw;
          margin-bottom: 3vw;
        }

        .box_text {
          font-size: 4vw;
        }
      }
    }

    .cont02 {
      margin-bottom: 10vw;
      .gridbox {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 5vw;
        max-width: 100%;
      }
      .box {
        max-width: 100%;
        padding: 5vw 6vw 8vw;

        &::before {
          width: 24vw;
          height: 24vw;
          left: 0vw;
          top: -10vw;
        }
      }
      .box_title {
        font-size: 5vw;
        margin-bottom: 3vw;
      }
      .box_text {
        font-size: 4vw;
        text-align: justify;
      }
    }

    .cont03{
      .box{
        padding: 5vw;
      }
      .box_title{
        font-size: 4.8vw;
        margin-bottom: 3vw;
        text-align: center;
        .big{
          font-size: 6vw;
        }
        .orange{
          color: #F08B00;
        }
      }
      .flexbox{
        flex-direction: column; 
        column-gap: 50px;
        margin-bottom: 0;
      }
      .imagebox{
        width: 100%;
      }
      .textbox{
        width: 100%;
        .box_title{
          text-align: left;
          font-size: 5vw;
          line-height: 1.5;
          margin-bottom: 3vw;
        }
      }
    }
  }
}

/* sec03 */
.sec03{
  margin-bottom: 100px;
  .inner{
    padding: 0;
  }
  .sec_header{
    margin: 0 80px 115px;
  }
  .cont01{
    padding: 0 80px;
    .box_title{
      font-size: 26px;
      font-weight: bold;
    }
    .flexbox{
      align-items: flex-start;
      column-gap: 50px;
      margin-bottom: 80px;
      .imagebox{
        width: 68.5%;
      }
    }
    .flexbox:last-of-type{
      margin-bottom: 0;
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        column-gap: 25px;
        align-items: center;
        margin-bottom: 35px;
        .box_title{
          font-size: 28px;
          font-weight: 500;
          line-height: 1.5;
        }
        .num{
          font-size: 30px;
          font-weight: bold;
          font-family: 'Zen Maru Gothic', sans-serif;
          letter-spacing: 0.5em;
        }
      }
    }
  }

  .cont02{
    margin-bottom: 125px;
    width: 100%;
    max-width: 1440px;
    aspect-ratio: 1440 / 768;
    margin-inline: auto;
    background: url(/taniyama/images/visit/sec04_4.webp) center / cover no-repeat;
    .bg_box{
      padding: 102px 127px 0;
    }
    .box_title{
      font-family: serif;
      font-weight: bold;
      font-size: 30px;
      padding-bottom: 10px;
      margin-bottom: 35px;
      margin-left: -127px;
      padding-left: 127px;
      border-bottom: 2px solid #FF748B;
      display: inline-block;
    }
    .box_subtitle{
      font-size: 24px;
      font-weight: bold;
      font-family: serif;
      margin-bottom: 20px;
      line-height: 1.5;
    }
    .box_text{
      max-width: 500px;
    }
  }

  .cont03{
    .pink_title{
      text-align: center;
      font-size: 27px;
      font-weight: bold;
      font-family: serif;
      margin:50px 0 35px;
    }
    .box_text{
      padding: 0 80px;
      margin-bottom: 90px;
    }
    .flexbox{
      padding: 0 80px 85px;
      column-gap: 52px;
      align-items: flex-start;
      .imagebox{
        width: 66%;
      }
      .textbox{
        width: 100%;
      }
      .box_title{
        font-size: 24px;
        font-weight: bold;
        color: #FF748B;
        margin-bottom: 27px;
        line-height: 1.5;
      }
    }
  }


  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .sec_header{
      margin: 0 5vw 10vw;
    }
    .cont01 {
      padding: 0 5vw;
      margin-bottom: 13.8vw;
      .flexbox {
        flex-direction: column;
        column-gap: 0;
        margin-bottom: 10vw;

        .imagebox {
          order: 2;
          width: 100%;
        }

        .textbox {
          display: contents;
        }

        .box_header {
          order: 1;
          column-gap: 3vw;
          margin-bottom: 3vw;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;

          .box_title { font-size: 5vw; }
          .num { font-size: 4.8vw; }
        }

        .box_text {
          order: 3;
          font-size: 4vw;
          text-align: justify;
        }
      }
    }

    .cont02 {
      margin-bottom: 13.8vw;
      aspect-ratio: 376 / 796;
      background: url(/taniyama/images/visit/sec04_4_sp.webp) center / cover no-repeat;

      .bg_box {
        padding: 13vw 6vw 0;
      }
      .box_title {
        font-size: 5vw;
        padding-bottom: 2vw;
        margin-bottom: 25vw;
        margin-left: -6vw;
        padding-left: 6vw;
      }
      .box_subtitle {
        font-size: 4.8vw;
        margin-bottom: 5vw;
      }
      .box_text {
        max-width: 100%;
        font-size: 4vw;
      }
    }

    .cont03 {
      padding: 0 5vw;
      .pink_title {
        font-size: 5vw;
        margin: 8vw 0 5vw;
      }
      .box_text {
        padding: 0 5vw;
        margin-bottom: 8vw;
        font-size: 4vw;
        text-align: justify;
      }
      .flexbox {
        flex-direction: column-reverse;
        column-gap: 0;
        padding: 0 5vw 10vw;

        .imagebox {
          width: 100%;
        }
        .textbox {
          width: 100%;
          font-size: 4vw;
          text-align: justify;
        }
        .box_title {
          font-size: 5vw;
          margin-bottom: 3vw;
        }
      }
    }
  }
}

/* sec05 */
.sec04{
  margin-bottom: 100px;

  .cont01{
    max-width: 1050px;
    margin: 0 auto;
    .flexbox{
      column-gap: 50px;
      margin-bottom: 50px;
      position: relative;
      align-items: flex-start;
      /* &::before{
        content: "";
        position: absolute;
        bottom: -70px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 13px 0 13px;
        border-color: #FF748B transparent transparent transparent;
      } */
    }
    .flexbox:last-of-type{
      margin-bottom: 0;
      &::before{
        display: none;
      }
    }
    .imagebox{
      width: 50%;
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        border-bottom: 2px solid#6EC8AF;
        column-gap: 30px;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 10px;
      }
      .num{
        font-size: 24px;
        color: #6EC8AF;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
      }
      .box_title{
        font-weight: 500;
        font-size: 24px;
      }
    }
    .contact_btn{
      display: flex;
      column-gap: 20px;
      margin: 35px 0 0;
      justify-content: center;
    }

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

    .top_text {
      font-size: 4vw;
      margin-bottom: 10vw;
    }

    .cont01 {
      .flexbox {
        flex-direction: column;
        align-items: stretch;
        column-gap: 0;
        row-gap: 0;
        margin-bottom: 10vw;

        &::before {
          bottom: -8vw;
          border-width: 2.6vw 2.73vw 0 2.73vw;
        }
      }

      .imagebox {
        order: 2;
        width: 90%;
        margin: 0 auto 3vw;

        & img {
          width: 100%;
          height: auto;
        }
      }

      .textbox {
        display: contents;

        .box_header {
          order: 1;
          column-gap: 3vw;
          margin-bottom: 3vw;
          padding-bottom: 3vw;
          align-items: center;
        }

        .num {
          font-size: 5vw;
          line-height: 1.5;
        }

        .box_title {
          font-size: 5vw;
          line-height: 1.5;
        }

        .box_text {
          order: 3;
          font-size: 4vw;
        }
      }

      .contact_btn{
        order: 4;
        display: flex;
        flex-direction: column;
        column-gap: 0;
        row-gap: 3vw;
        margin: 5vw 0 0;
        justify-content: center;
      }
      .btn{
        width: 80%;
        margin: 0 auto;
      }
    }
  }

}

/* sec06 */
.sec06{
  margin-bottom: 163px;
  .flexbox{
    column-gap: 53px;
    align-items: flex-start;
    .imagebox{
      width: 81.3%;
    }
    .textbox{
      width: 100%;
      .box_title{
        font-size: 25px;
        font-family: serif;
        margin-bottom: 20px;
        font-weight: bold;
      }
      .box_text{
        margin-bottom: 50px;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: flex-end;
    }
    .about_btn::after{
      width: 113px;
      height: 105px;
      left: -20px;
      background: url(/taniyama/images/common/welcome_img.webp) center/contain no-repeat;
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;

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

      .imagebox {
        width: 100%;

        & img {
          width: 100%;
          height: auto;
        }
      }

      .textbox {
        width: 100%;

        .box_title {
          font-size: 5vw;
          margin-bottom: 3vw;
        }

        .box_text {
          font-size: 4vw;
          margin-bottom: 10vw;
        }
      }

      .about_wrapper {
        justify-content: center;
      }

      .about_btn::after {
        width: 21vw;
        height: 20vw;
        left: -3.67vw;
      }
    }
  }
}

