@charset "UTF-8";

.main_image{
  .text{
    font-feature-settings: "palt";
  }
}

/* sec01 */
.sec01{
  margin-bottom: 100px;
  .cont01{
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 60px;
    .flexbox{
      column-gap: 50px;
    }
    .imagebox{
      width: 77%;
    }
    .textbox{
      width: 100%;
    }
    .box_title{
      font-size: 24px;
      font-weight: 500;
      margin-bottom: 30px;
      line-height: 1.5;
    }
  }

  .cont02{

    .box_header{
      text-align: center;
      padding: 58px 0 41px;
      .box_title{
        font-size: 26px;
        font-weight: bold;
        span{
          font-size: 20px;
          font-weight: bold;
        }
      }
    }
    .flexbox{
      column-gap: 36px;
      padding: 0 110px;
      margin-bottom: 162px;
      .imagebox{
        width: 72%;
        position: relative;
        &::before{
          content: "";
          position: absolute;
          width: 275px;
          height: 254px;
          left:   -77px;
          top:      88px;
          background: url(/taniyama/images/child/kazari01.webp) center / contain no-repeat;
        }
      }
      .textbox{
        width: 100%;
      }
    }
    .gridbox{
      grid-template-columns: repeat(3, minmax(0, 1fr));
      column-gap: 50px;
      justify-self: center;
      .box{
        max-width: 360px;
        text-align: center;
      }
      .g_title{
        font-size: 24px;
        color: #F08B00;
        font-weight: bold;
        letter-spacing: 0.1em;
        margin-bottom: 15px;
        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_orange.webp) center / contain no-repeat;
        }
      }
      .imagebox{
        margin-bottom: 10px;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: center;
      margin-bottom: 34px;
    }
    .about_btn::after{
      left: -60px;
      bottom: -26px;
      width: 116px;
      height: 119px;
      background: url(/taniyama/images/common/kids_img.webp) center / contain no-repeat;

    }
  }

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

    .cont01 {
      margin-bottom: 10.67vw;
      .flexbox {
        flex-direction: column-reverse;
        column-gap: 0;
      }
      .imagebox {
        width: 100%;
      }
      .textbox {
        width: 100%;
      }
      .box_title {
        font-size: 5vw;
        margin-bottom: 3vw;
        line-height: 1.6;
        letter-spacing: 0em;
      }
      .box_text{
        text-align: justify;
      }
    }

    .cont02 {
      .box_header {
        padding: 8vw 0 8vw;
        .box_title {
          font-size: 5.3vw;
          span {
            font-size: 4.5vw;
          }
        }
      }
      .flexbox {
        flex-direction: column;
        column-gap: 0;
        row-gap: 16.4vw;
        padding: 0 5vw;
        margin-bottom: 13.8vw;
        .imagebox {
          width: 100%;
          &::before {
            width: 52.67vw;
            height:   49vw;
            left: -4.26vw;
            top:  23.46vw;
          }
        }
        .textbox {
          width: 100%;
        }
      }
      .gridbox {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        row-gap: 10vw;
        padding: 0vw;
        .box{
          max-width: initial;
          text-align: left;
        }
        .g_title {
          font-size: 5.3vw;
          padding: 2.4vw 0 2.4vw 8vw;  
          
          &::before{
            width: 5vw;
            height: 5vw;
            left: 0em;
          }
        }
      }
      .about_wrapper {
        margin-bottom: 8vw;
      }
      .about_btn::after {
        left: -2vw;
        bottom: -4.27vw;
        width: 21.67vw;
        height: 21.2vw;
      }
    }
  }
}

/* sec02 */
.sec02{
  margin-bottom: 109px;
  .sec_body {
    padding: 0 40px;
  }
  .cont01{
    margin-bottom: 80px;
    .box_header{
      display: flex;
      column-gap: 45px;
      align-items: center;
      margin-bottom: 30px;
      justify-content: center;
      .box_title{
        font-size: 28px;
        font-weight: 500;
        line-height: 1.3;
      }
      .num{
        font-size: 30px;
        font-weight: bold;
        font-family: 'Zen Maru Gothic', sans-serif;
        letter-spacing: 0.5em;
      }
    }
    .imagebox{
      text-align: center;
      margin-bottom: 24px;
      position: relative;
    }
    .textbox{
      max-width: 1200px;
      margin: 0 auto 60px;
    }
    .circle{
      .circle_text{
        background-color: rgba(255, 255, 255, 0.9);
        font-family: 'Zen Maru Gothic', sans-serif;
        font-weight: 500;
        width: clamp(210px, 12.5vw + 50px, 230px);
        height: clamp(210px, 12.5vw + 50px, 230px);
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 50vh;
        flex-direction: column;
        line-height: 1;
        position: relative;
        filter: drop-shadow(0px 0px 14px rgba(0, 0, 0, 0.5));
        font-size: 28px;
        row-gap: 15px;
        span{
          font-weight: 500;
          font-size: 20px;
        }
      }
      .left{
        position: absolute;
        left: clamp(250px, 62.5vw - 550px, 350px);
        top: 20px;
      }
      .right{
        position: absolute;
        right: clamp(280px, 28.125vw - 80px, 325px);
        bottom: 10px;
      }
    }
    .gridbox{
      grid-template-columns: repeat(2, 1fr);
      column-gap: 111px;
      max-width: 831px;
      margin: 0 auto;
      .box_title{
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        padding-bottom: 20px;
      }
      .imagebox{
        margin-bottom: 30px;
      }
    }
  }
  .cont01_2{
    background-color: #F9F7E5;
    border-radius: 20px;
    border: 2px solid #ECD300;
    max-width: 1200px;
    margin: 0 auto;
    .flexbox{
      padding: 55px 70px 0;
      column-gap: 50px;
    }
    .flexbox:last-of-type{
      margin-bottom: 50px;
    }
    .imagebox{
      width: 100%;
      max-width: 360px;
      margin-bottom: 0;
    }
    .box_title{
      font-size: 24px;
      font-weight: bold;
      padding-left: 1.5em;
      margin-bottom: 15px;
      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;
      }
    }
  }
  .cont02{
    margin-bottom: 108px;
    margin-bottom: 114px;
    .box_title{
      font-size: 26px;
      font-weight: bold;
    }
    .flexbox{
      align-items: flex-start;
      column-gap: 50px;
      .imagebox{
        width: 77%;
      }
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        column-gap: 45px;
        align-items: center;
        margin-bottom: 35px;
        .box_title{
          font-size: 28px;
          font-weight: 500;
          line-height: 1.3;
        }
        .num{
          font-size: 30px;
          font-weight: bold;
          font-family: 'Zen Maru Gothic', sans-serif;
          letter-spacing: 0.5em;
        }
      }
      .box_text{
        margin-bottom: 28px;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: center;
    }
    .about_btn{
      max-width: 295px;
    }
    .about_btn::after{
      width: 167px;
      height: 122px;
      left: -60px;
      bottom: -8px;
      background: url(/taniyama/images/common/c_ortho_img.webp) center / contain no-repeat;
    }
  }
  .cont03{
    .box_title{
      font-size: 26px;
      font-weight: bold;
    }
    .flexbox{
      flex-direction: row-reverse;
      align-items: flex-start;
      column-gap: 50px;
      .imagebox{
        width: 77%;
      }
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        column-gap: 45px;
        align-items: center;
        margin-bottom: 35px;
        .box_title{
          font-size: 28px;
          font-weight: 500;
          line-height: 1.3;
          font-feature-settings: "palt";
        }
        .num{
          font-size: 30px;
          font-weight: bold;
          font-family: 'Zen Maru Gothic', sans-serif;
          letter-spacing: 0.5em;
        }
      }
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .sec_body {
      padding: 0;
    }

    .cont01 {
      margin-bottom: 13.8vw;
      .box_header {
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        column-gap: 3vw;
        margin-bottom: 3vw;
        .box_title {
          font-size: 5vw;
        }
        .num {
          font-size: 4.8vw;
        }
      }
      .imagebox {
        margin-bottom: 4.27vw;
      }
      .circle{
        .circle_text{
          font-size: 5vw;
          row-gap: 3vw;
          span{
            font-size: 4vw;
          }
        }
        .right{
          bottom: 0;
          right: 0;
        }
        .left{
          left: 13vw;
          top: 3vw;
          width: 34.7vw;
          height: 34.7vw;
        }
        .right{
          width: 38.4vw;
          height: 38.4vw;
          right: 14vw;
          bottom: -10vw;
        }
      }
      .imagesp{
        margin-bottom: 13vw;
      }
      .textbox {
        max-width: 100%;
        margin: 0 auto 6.4vw;
        font-size: 4vw;
        text-align: justify;
      }
      .gridbox {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 5vw;
        max-width: 100%;
        .box_title {
          font-size: 4.8vw;
          padding-bottom: 3.2vw;
        }
        .imagebox {
          margin-bottom: 5.33vw;
        }
        .box_text {
          font-size: 4vw;
        }
      }
    }

    .cont01_2{
      .flexbox{
        padding: 10vw 5vw 0;
        column-gap: 0;
        flex-direction: column;
        margin: 0 auto 10vw;
      }
      .textbox{
        margin-bottom: 0;
      }
      .flexbox:last-of-type{
        margin-bottom: 10vw;
        padding-top: 0;
      }
      .imagebox{
        width: 100%;
        max-width: initial;
        margin-bottom: 3vw;
      }
      .box_title{
        font-size: 5vw;
        margin-bottom: 3vw;
        position: relative;
        &::before{
          content: "";
          position: absolute;
          width: 5vw;
          height: 5vw;
          left: 0;
          bottom: 50%;
          transform: translateY(50%);
          background: url(/taniyama/images/common/star.webp) center / contain no-repeat;
        }
      }
    }

    .cont02 {
      margin-bottom: 16vw;
      .flexbox {
        flex-direction: column;
        column-gap: 0;
        .imagebox { width: 100%; }
      }
      .imagebox{
        order: 2;
      }
      .textbox {
        width: 100%;
        display: contents;
        .box_header {
          column-gap: 3vw;
          margin-bottom: 3vw;
          order: 1;
          .box_title { font-size: 5vw; }
          .num { font-size: 4.8vw; }
        }
        .box_text {
          margin-bottom: 5.33vw;
          font-size: 4vw;
          order: 3;
        }
      }
      .about_wrapper{
        order: 5;
        margin: 0 auto;
      }
      .about_btn {
        max-width: initial;
        width: 70.2vw;
      }
      .about_btn::after {
        width: 30.67vw;
        height: 19.47vw;
        left: -11.67vw;
        bottom: 0vw;
      }
    }

    .cont03 {
      margin-bottom: 16vw;
      .flexbox {
        flex-direction: column;
        column-gap: 0;
        .imagebox { width: 100%; }
      }
      .imagebox{
        order: 2;
      }
      .textbox {
        width: 100%;
        display: contents;
        .box_header {
          column-gap: 3vw;
          margin-bottom: 3vw;
          order: 1;
          .box_title { font-size: 5vw; }
          .num { font-size: 4.8vw; }
        }
        .box_text {
          font-size: 4vw;
          order: 3;
        }
      }
    }

  }
}

/* sec03 */
.sec03{
  margin-bottom: 100px;
  .sec_body {
    padding: 0 40px;
  }
  .cont01{
    .flexbox{
      column-gap: 50px;
      align-items: flex-start;
      margin-bottom: 60px;
      .imagebox{
        width: 77%;
        position: relative;
      }
      .textbox{
        width: 100%;
        .box_title{
          font-size: 24px;
          font-weight: 500;
          margin-bottom: 30px;
        }
      }
    }
  }
  .cont02{
    text-align: center;
    .box_text{
      display: inline-block;
      font-size: 24px;
      font-weight: 500;
      margin-bottom: 40px;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        width: 46px;
        height: 37px;
        top: 0;
        left: -70px;
        background: url(/taniyama/images/child/kira_l.webp) center / contain no-repeat;
      }
      &::after{
        content: "";
        position: absolute;
        width: 46px;
        height: 37px;
        top: 0;
        right: -70px;
        background: url(/taniyama/images/child/kira_r.webp) center / contain no-repeat;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: center;
    }
    .about_btn {
      position: relative;
      z-index: 1;
    }
    .about_btn::after{
      z-index: -1;
      left: -40px;
      bottom: 0;
      width: 121px;
      height: 101px;
      background: url(/taniyama/images/common/comecome_img.webp) center / contain no-repeat;
    }
  }

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

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

    .cont02 {
      .box_text {
        font-size: 5vw;
        margin-bottom: 7vw;
        width: 100%;
        text-align: center;
        &::before{
          width: 11vw;
          height: 9vw;
          left: -2vw;
          top: -5vw;
        }
        &::after{
          width: 11vw;
          height: 9vw;
          right: -2vw;
          top: initial;
          bottom: -5vw;
        }
      }
      .about_wrapper{
        margin: 0 auto;
      }
      .about_btn::after {
        width: 24.33vw;
        height: 18.87vw;
        left: -1vw;
        bottom: 0;
      }
    }
  }
}

/* sec04 */
.sec04{
  margin-bottom: 113px;
  .sec_body {
    padding: 0 40px;
  }
  .cont01{
    .flexbox{
      column-gap: 50px;
      align-items: flex-start;
      margin-bottom: 112px;
      .imagebox{
        width: 77%;
        position: relative;
        .gridbox{
          grid-template-columns: repeat(3, minmax(0, 1fr));
          column-gap: 20px;
          max-width: 434px;
          width: 514px;
          position: absolute;
          bottom: -80px;
          left: 50%;
          transform: translateX(-50%);
        }
        .circle{
          width: 131px;
          height: 131px;
          font-weight: bold;
          font-size: 18px;
          background-color: #fff;
          display: flex;
          justify-content: center;
          align-items: center;
          flex-direction: column;
          filter:drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.24));
          border-radius: 50vh;
          text-align: center;
          line-height: 1.5;
          font-family: 'Zen Maru Gothic', sans-serif;
          .txt{
            white-space: nowrap;
            .green{
              color: #6EC8AF;
              font-size: 20px;
              font-weight: 600;
              font-family: 'Zen Maru Gothic', sans-serif;
            }
            .orange{
              font-family: 'Zen Maru Gothic', sans-serif;
              color: #F08B00;
            }
          }
        }
      }
      .textbox{
        width: 100%;
        .box_title{
          font-size: 24px;
          line-height: 1.5;
          font-weight: 500;
          margin-bottom: 30px;
        }
        .box_text{
          margin-bottom: 70px;
        }
      }
      .about_wrapper{
        display: flex;
        justify-content: center;
      }
      .about_btn::after{
        width: 113px;
        height: 99px;
        left: -40px;
        bottom: 0;
        background: url(/taniyama/images/common/c_welcome_img.webp) center / contain no-repeat;
      }
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .sec_body {
      padding: 0;
    }

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

        .imagebox {
          order: 1;
          width: 100%;
          margin-bottom: 10vw;

          .gridbox {
            column-gap: 2vw;
            width: 92vw;
            max-width: 92vw;
            bottom: -8vw;
          }
          .circle {
            width: 100%;
            height: auto;
            aspect-ratio: 1 / 1;
            font-size: 4vw;
            .txt{
              .green{
                font-size: 4.5vw;
              }
            }
          }
        }

        .textbox {
          display: contents;

          .box_title {
            order: 2;
            font-size: 5vw;
            margin-bottom: 3vw;
            line-height: 1.5;
          }
          .box_text {
            order: 3;
            font-size: 4vw;
            margin-bottom: 6.4vw;
          }
        }

        .about_wrapper {
          order: 4;
          margin: 0 auto;
        }
        .about_btn {
          width: 75.2vw;
          margin-left: 0;
          position: relative;
          z-index: 1;
        }
        .about_btn::after {
          z-index: -1;
          width: 20.08vw;
          height: 17.84vw;
          left: -8vw;
          bottom: 0;
        }
        .about_btn::before{
          right: 2vw;
        }
      }
    }
  }
}

/* sec05 */
.sec05{
  margin-bottom: 113px;
  .sec_body {
    padding: 0 40px;
  }
  .cont01{
    .flexbox{
      column-gap: 50px;
      align-items: flex-start;
      margin-bottom: 100px;
      .imagebox{
        width: 77%;
        position: relative;
      }
      .textbox{
        width: 100%;
        .box_title{
          font-size: 24px;
          font-weight: 500;
          margin-bottom: 30px;
          line-height: 1.5;
          font-feature-settings: "palt";
        }
      }
    }
  }
  .cont02{
    text-align: center;
    .box_text{
      text-align: center;
      font-size: 24px;
      font-weight: 500;
      margin-bottom: 40px;
      position: relative;
      display: inline-block;
      &::before{
        content: "";
        position: absolute;
        width: 46px;
        height: 37px;
        top: 0;
        left: -70px;
        background: url(/taniyama/images/child/kira_l.webp) center / contain no-repeat;
      }
      &::after{
        content: "";
        position: absolute;
        width: 46px;
        height: 37px;
        top: 0;
        right: -70px;
        background: url(/taniyama/images/child/kira_r.webp) center / contain no-repeat;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: center;
    }
    .about_btn {
      position: relative;
      z-index: 1;
    }
    .about_btn::after{
      z-index: -1;
      left: -40px;
      bottom: 0;
      width: 113px;
      height: 105px;
      background: url(/taniyama/images/common/welcome_img.webp) center / contain no-repeat;
    }
  }

  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .sec_body {
      padding: 0;
    }
    .cont01 {
      .flexbox {
        flex-direction: column-reverse;
        column-gap: 0;
        margin-bottom: 10vw;
        &.reverse {
          flex-direction: column-reverse;
        }
        .imagebox {
          width: 100%;
        }
        .textbox {
          width: 100%;
          .box_title {
            font-size: 5vw;
            margin-bottom: 3vw;
            line-height: 1.5;
          }
          .box_text {
            font-size: 4vw;
          }
        }
      }
    }

    .cont02 {
      text-align: center;
      .box_text {
        font-size: 5vw;
        margin-bottom: 7vw;
        display: inline-block;
        &::before{
          width: 11vw;
          height: 9vw;
          left: 8vw;
          top: -5vw;
        }
        &::after{
          width: 11vw;
          height: 9vw;
          right: 9vw;
          top: initial;
          bottom: -3vw;
        }
      }
      .about_wrapper{
        margin: 0 auto;
      }
      .about_btn::after {
        width: 24.33vw;
        height: 18.87vw;
        left: -3vw;
        bottom: 0;
      }
    }
  }
}


