@charset "UTF-8";


/* lead_sec */
.lead_sec {
  .sec_text {
    margin-bottom: 60px;
  }
  .banner_box{
    margin: 0 auto;
    text-align: center;
  }

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

/* sec01 */
.sec01 {
  margin-bottom: 100px;
  .gridbox{
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 20px;
    max-width: 1150px;
    margin: 90px auto 60px;
    align-items: start;

    .box{
      max-width: 180px;
      height: 180px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      flex-direction: column;
      border-radius: 10px;
    }

    .box_title{
      text-align: center;
      line-height: 1.5;
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 5px;
      width: 180px;
    }
    .imagebox{
      border-radius: 50vh;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  .box_text{
    max-width: 950px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    span{
      color: #F08B00;
      font-weight: 500;
      font-weight: bold;
    }
  }


  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    @media screen and (max-width: 768px) {
      .gridbox {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 6vw;
        row-gap: 6vw;
        max-width: initial;
        width: 100%;
        margin: 15vw auto 8vw;

        .box {
          max-width: initial;
          height: initial;
        }
        .box:nth-child(even) {
          margin-top: 0;
        }
        .box_title {
          font-size: 4vw;
          width: initial;
          margin-bottom: 3vw;
        }
        .imagebox {
          margin-bottom: 0;
          width: 80%;
        }
      }
    }
    .box_text{
      margin: 0 auto;
      font-size: 4vw;
      text-align: justify;
    }
  }
}

/* sec02 */
.sec02{
  margin-bottom: 120px;
  .before_after{
    .gridbox{
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 22px;
      row-gap: 19px;
      margin-bottom: 60px;

      .box{
        border: 0;
        background-color: #E2F4EF;
        padding: 10px 23px 34px;
      }
      .flexbox{
        column-gap: 18px;
        justify-content: center;
        column-gap: 49px;
        margin-bottom: 30px;
      }
      .f_box{
        margin-bottom: 10px;
      }
      .box_text{
        font-size: 28px;
        text-align: center;
        margin-bottom: 17px;
      }
    }
    .middle_box{
      .middle_flex{
        display: flex;
        margin-bottom: 8px;
        column-gap: 24px;
      }
      .middle_cont{
        display: flex;
        column-gap: clamp(50px, 37.5vw - 430px, 90px);
      }
      .label{
        font-size: 20px;
        text-align: center;
        background-color: #91D5C2;
        width: 113px;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 113px;
        line-height: 1.3;
        padding: 10px 0;
      }

      .label_text{
        line-height: 1.3;
        display: flex;
        align-items: center;
      }
      .flexbox{
        column-gap: clamp(123px, calc(23.125vw - 173px), 160px);
        justify-content: flex-start;
        margin-bottom: 20px;
      }

    }
    .yajirushi{
      position: relative;
      &::before{
        content: "";
        position: absolute;
        top: 50%;
        right: -35px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 0 12px 18px;
        border-color: transparent transparent transparent #91D5C2;
      }
    }

  }
  .about_wrapper{
    display: flex;
    justify-content: center;
  }
  .about_btn{
    width: 285px;
    padding-right: 40px;

  }


  @media screen and (max-width: 768px){
    margin-bottom: 13.8vw;
    .before_after {
    .gridbox {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      column-gap: 0;
      row-gap: 2.53vw;

      .box {
        padding: 3vw 3vw 8vw;
      }
      .flexbox {
        align-items: center;
        column-gap: 5vw;
        margin-bottom: 3vw;
      }
      .imagebox{
        margin-bottom: 2vw;
      }
      .f_box   {
        margin-bottom: 1.33vw;
      }
      .box_text {
        font-size: 4.8vw;
        margin-bottom: 2vw;
      }
    }
    .middle_box {
      .middle_flex {
        margin-bottom: 3vw;
        align-items: center;
      }
      .middle_cont {
        flex-direction: column;
      }
      > .middle_flex {
        align-items: stretch;
      }
      .label {
        font-size: 4.3vw;
        width: 24vw;
        min-width: 24vw;
      }
      .flexbox {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        column-gap: 0;
        row-gap: 3vw;
        margin-bottom: 2.67vw;
      }
    }
    .bottom_text{
      font-size: 4.3vw;
    }
  .yajirushi::before{
      border-width: 2vw 0 2vw 3vw;
      right: -4.2vw;
    }
  }

    .about_btn{
      width: 80vw;
      padding-right: 3vw;
    }




  }
}

/* sec03 */
.sec03 {
  margin-bottom: 100px;
  .sec_body {
    max-width: 1200px;
    margin: 0 auto;
  }

  .cont01{
    max-width: 1200px;
    margin: 0 auto 60px;
    .flexbox{
      column-gap: 50px;
      align-items: flex-start;
    }
    .textbox{
      width: 100%;
    }
    .box_title{
      font-size: 24px;
      font-weight: 500;
      margin-bottom: 30px;
      line-height: 1.5;
      font-feature-settings: "palt";
    }
    .imagebox{
      width: 77%;
    }
  }
  .cont02{
    margin-bottom: 100px;
    .gridbox{
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 1200px;
      margin: 0 auto;
      column-gap: 50px;
    }
    .box{
      max-width: 358px;
      border: 2px solid #F5B0A1;
      border-radius: 20px;
      padding: 30px 20px 30px;
    }
    .imagebox{
      text-align: center;
      margin-bottom: 20px;
    }
    .box_title{
      height: 3em;
      display: block;  
      align-content: center; 
      text-align: center;
      font-feature-settings: "palt";
      font-weight: 500;
      font-size: 21px;
      padding-bottom: 20px;
      position: relative;
      span{
        color: #F5B0A1;
        font-weight: bold;
      }
    }
    .box_text{
      max-width: 310px;
      margin: 0 auto;
    }
  }
  .cont03{
    .box{
      max-width: 1200px;
      margin: 0 auto;
      background-color: #FDF3E5;
      border-radius: 10px;
    }
    .box_header{
      text-align: center;
    }
    .check{
      color: #F08B00;
      font-size: 40px;
      line-height: 1;
      height: 55px;
      text-align: center;
      font-weight: 300;
      font-family: 'Inter', sans-serif;
      position: relative;
      top: -20px;
      &::before{
        content: "";
        position: absolute;
        width: 18px;
        height: 17px;
        left: 50%;
        top: -30px;
        transform: translateX(-50%);
        background: url(/taniyama/images/common/star_orange.webp) center / contain no-repeat;
      }

    }
    .box_title{
      font-size: 25px;
      font-weight: 500;
      line-height: 1;
      margin-bottom: 40px;
    }
    .flexbox{
      column-gap: 50px;
      padding: 0 50px 60px;
    }
    .imagebox{
      width: 61.6%;
    }
    .textbox{
      width: 100%;
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .sec_body {
      padding: 0;
    }

    .cont01{
      margin-bottom: 10vw;
      .flexbox{
        column-gap: 0;
        flex-direction: column-reverse;
      }

      .box_title{
        font-size: 5vw;
        margin-bottom: 3vw;
      }
      .box_text{
        text-align: justify;
      }
      .imagebox{
        width: 100%;
      }
    }
    .cont02{
      margin-bottom: 20.8vw;
      .gridbox{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 10vw;
      }
      .box{
        max-width: initial;
        padding: 10vw 5vw;
      }
      .imagebox{
        margin-bottom: 3vw;
      }
      .box_title{
        font-weight: bold;
        font-size: 5vw;
        padding: 0 0 3vw;

        height: initial;
        display: block;
        &::before{
          width: 5vw;
          height: 5vw;
          top: -8vw;
        }
      }
      .box_text{
        max-width: initial;
        margin: 0 auto;
      }
    }
    .cont03{

      .check{
        font-size: 10vw;
        height: initial;
        top: -5vw;
        &::before{
          width: 5vw;
          height: 5vw;
          left: 50%;
          top: -5vw;
        }

      }
      .box_title{
        font-size: 5vw;
        margin-bottom: 5vw;
        line-height: 1.5;
      }
      .flexbox{
        flex-direction: column-reverse;
        column-gap: 0;
        padding: 0 5vw 10vw;
      }
      .imagebox{
        width: 100%;
      }
      .textbox{
        width: 100%;
        text-align: justify;
      }
    }
  }
}

/* sec04 */
.sec04{
  margin-bottom: 144px;
  .sec_body {
    max-width: 1200px;
    margin: 0 auto;
  }

  .cont01, .cont02{
    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;
    }
    .circle{
      display: flex;
      column-gap: 15px;
      position: absolute;
      bottom: 18px;
      .circle_text{
        color: #fff;
        background-color: #4DBACD;
        width: 217px;
        height: 217px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 50vh;
        flex-direction: column;
        line-height: 1;
        font-weight: bold;
        font-size: 28px;
        position: relative;
        span{
          font-size: 19px;
          line-height: 1.5;
          margin-bottom: 15px;
          font-weight: bold;
        }
      }
    }
  }
  .cont01{
    .imagebox{
      position: relative;
      text-align: left;
      &::before{
        content: "";
        position: absolute;
        right: 0;
        bottom: -30px;
        width: 655px;
        height: 357px;
        background: url(/taniyama/images/child-ortho/sec04_float.webp) center / contain no-repeat;
      }
    }
  }
  .cont03, .cont04{
    .box_title{
      font-size: 28px;
      font-weight: 500;
      font-feature-settings: "palt";
    }
    .flexbox{
      align-items: flex-start;
      column-gap: 50px;
      margin-bottom: 80px;
      .imagebox{
        width: 77%;
      }
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        column-gap: 30px;
        align-items: flex-start;
        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;
        }
      }
    }
    .pink_box{
      margin-bottom: 150px;
      .pink_title{
        padding: 66px 0 73px;
        text-align: center;
        font-size: 26px;
        font-weight: bold;
      }
      .gridbox{
        column-gap: 59px;
        max-width: 1020px;
        margin: 0 auto 53px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        .box{
          margin: 0 auto;
          max-width: 300px;
          .box_title{
            padding: 12px 0 6px;
            text-align: center;
            font-size: 24px;
          }
        }
        .imagebox{
          text-align: center;
        }

      }

    }
  }
  .cont04{
    margin-bottom: 140px;
  }
  .cont05{
    position: relative;
    .bottom_box{
      border-radius: 0;
      max-width: 955px;
      position: relative;
      border: none;
      z-index: 1;
      margin: 0 auto;
      &::after{
        content: "";
        position: absolute;
        width: 158px;
        height: 221px;
        bottom: 0;
        left: 40px;
        background: url(/taniyama/images/child-ortho/sec04_6.webp) center / contain no-repeat;
      }
    }
    .box01{
      background-color: #F9F7E5;
      border-radius: 10px 10px 0 0;
      padding: 40px 0 35px;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        width: 103px;
        height: 70px;
        left: 50%;
        top: -40px;
        transform: translateX(-50%);
        background: url(/taniyama/images/child-ortho/sec04_5.webp) center / contain no-repeat;
      }
    }
    .box_header{
      text-align: center;
    }
    .box_title{
      font-size: 32px;
      text-align: center;
      font-weight: 500;
      margin-bottom: 35px;
      position: relative;
      display: inline-block;
      span{
        color: #F08B00;
        font-weight: 500;
      }
      &::before{
        content: "";
        position: absolute;
        width: 41px;
        height: 82px;
        left: -70px;
        bottom: 50%;
        transform: translateY(50%);
        background: url(/taniyama/images/child-ortho/line_l.webp) center / contain no-repeat;
      }
      &::after{
        content: "";
        position: absolute;
        width: 41px;
        height: 82px;
        right: -70px;
        bottom: 50%;
        transform: translateY(50%);
        background: url(/taniyama/images/child-ortho/line_r.webp) center / contain no-repeat;
      }
    }
    .flexbox{
      column-gap: 35px;
    }
    .box{
      letter-spacing: 0.1em;
      border: 1px solid #444444;
      border-radius: 60px;
      width: 280px;
      padding: 10px 0;
      text-align: center;
      font-size: 19px;
      background-color: #F5F5F5;
      span{
        font-size: 27px;
        font-weight: bold;
        padding-left: 10px;
      }
      position: relative;
      &::before {
        content: "";
        position: absolute;
        top:  50px;
        left: 25px;
        background: url(/taniyama/images/child-ortho/icon_tel.webp) center / contain no-repeat;
        width:  16px;
        height: 16px;
      }
    }
    .about_btn{
      background-color: #EEDA2B;
      width: 280px;
      height: 90px;
      display: block;
      text-align: center;
      z-index: 1;
      padding: 15px 0;
      &::before{
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 10px 0 10px 12px;
        border-color: transparent transparent transparent #fff;
        right: 40px;
        top: 62px;
      }
    }
    .btn_flex{
      display: flex;
      column-gap: 5px;
      align-items: center;
      justify-content: center;
    }
    .web{
      font-size: 35px;
      line-height: 1.3;
    }
    .yoyaku{
      line-height: 1;
      font-size: 26px;
    }

    .textbox{
      background-color: #F6ECA1;
      padding: 35px 45px 35px 235px;
    }

  }

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

    .cont01, .cont02 {
      margin-bottom: 16vw;
      .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;
      }
      .textbox {
        max-width: 100%;
        margin: 0 auto 6.4vw;
        font-size: 4vw;
        text-align: justify;
      }
    }
    .cont01{
      .imagebox{
        position: relative;
        &::before{
          display: none;
        }
      }
    }
    .cont03, .cont04 {
      .flexbox {
        flex-direction: column;
        column-gap: 0;
        margin-bottom: 10vw;

        .textbox {
          display: contents;
        }

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

        .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;
        }
      }

      .reverse {
        flex-direction: column;
      }

      .pink_box {
        margin-bottom: 10vw;

        .pink_title {
          padding: 8vw 0 9vw;
          font-size: 5.3vw;
          letter-spacing: 0.1em;
        }

        .gridbox {
          grid-template-columns: repeat(1, minmax(0, 1fr));
          column-gap: 0;
          row-gap: 10vw;
          margin-bottom: 10vw;
          padding: 0 5vw;

          .box {
            max-width: 100%;

            .box_title {
              font-size: 4.8vw;
              padding: 0 0 3vw;
            }

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

          .imagebox img {
            width: 100%;
            height: auto;
          }
        }
      }
    }
    .cont04{
      margin-bottom: 18vw;
    }
    .cont05{
      .box01{
        max-width: 100%;
        padding: 10vw 5vw 5vw;

        &::before{
          width: 27vw;
          height: 18vw;
          top: -11vw;
        }
        &::after{
          width: 54vw;
          height: 35vw;
        }
      }

      .imagebox{
        width: 20%;
      }


      .box_title{
        font-size: 5vw;
        margin-bottom: 10vw;
        &::before{
          width: 7.9vw;
          height: 15.8vw;
          left: -9vw;
        }
        &::after{
          width: 7.9vw;
          height: 15.8vw;
          right: -9vw;
        }
      }
      .box_subtitle{
        font-size: 4vw;
        margin-bottom: 1vw;
      }

      .flexbox{
        flex-direction: column;
        column-gap: 0;
        row-gap: 4vw;
        margin-bottom: 5vw;
        padding-bottom: 5vw;
      }
      .flexbox > a,
      .flexbox .about_wrapper{
        width: 100%;
      }

      .box{
        width: 100%;
        margin: 0 auto;
        padding: 2.67vw 0;
        font-size: 4vw;

        span{
          font-size: 7vw;
        }
        &::before {
          top:  10.36vw;
          left: 8vw;
          width:  5.6vw;
          height: 5.6vw;
        }
      }
      .bottom_box{
        &::after{
          width: 30vw;
          height: 42vw;
          left: initial;
          right: 11vw;
        }
      }

      .about_btn{
        width: 100%;
        margin: 0 auto;
        height: 22.4vw;
        padding: 3vw 0 ;
        text{
          font-size: 4vw;
        }

        &::before{
          background: none;
          border-width:2.6vw 0 2.6vw 3.2vw;
          right: 15vw;
          top: 14vw;
        }
      }

      .web{
        font-size: 8vw;
      }
      .yoyaku{
        font-size: 5vw;
      }


      .textbox{
        max-width: 100%;
        padding: 10vw 5vw 34vw;
        text-align: justify;
      }
    }
  }
}

/* sec05 */
.sec05{
  margin-bottom: 120px;
  .sec_body {
    max-width: 1200px;
    margin: 0 auto;
  }

  .cont01{
    margin-bottom: 90px;
    .flexbox{
      column-gap: 50px;
    }
    .box_title{
      font-size: 24px;
      line-height: 1.5;
      font-weight: 500;
      margin-bottom: 30px;
    }
    .textbox{
      width: 100%;
    }
    .imagebox{
      width: 77%;
      position: relative;
    }
  }
  .cont02{
    .title{
      letter-spacing: .1em;
      font-size: 27px;
      font-weight: 500;
      text-align: center;
      margin-bottom: 85px;
      padding-bottom: 30px;
      border-bottom: 2px solid #6EC8AF;
    }
    .flexbox{
      column-gap: clamp(66.67px, 5.21vw, 75px);
      flex-wrap: wrap;
      align-items: flex-start;
      margin-bottom: clamp(72.89px, 5.69vw, 82px);
      row-gap: clamp(53.33px, 4.17vw, 60px);
    }
    .box{
      max-width: clamp(309.33px, 24.17vw, 348px);
      text-align: center;
    }
    .imagebox{
      text-align: center;
      margin-bottom: clamp(17.78px, 1.39vw, 20px);
    }
    .textbox{
      width: 100%;
    }
    .box_title{
      font-weight: bold;
      padding-left: 1.5em;
      font-size: clamp(18.67px, 1.46vw, 21px);
      margin-bottom: clamp(16px, 1.25vw, 18px);
      position: relative;
      display: inline-block;
      text-align: center;
      line-height: 1.5;
      &::before{
        content: "";
        position: absolute;
        width: 18px;
        height: 17px;
        left: 0;
        bottom: 50%;
        transform: translateY(50%);
        background: url(/taniyama/images/common/star_green.webp) center / contain no-repeat;
      }
    }
  }
  @media screen and (max-width: 768px){
    margin-bottom: 13.8vw;
    .sec_body {
      padding: 0;
    }

    .cont01{
      margin-bottom: 13.8vw;
      .flexbox{
        column-gap: 0;
        flex-direction: column-reverse;
      }
      .box_title{
        font-size: 5vw;
        margin-bottom: 3vw;
      }
      .textbox{
        width: 100%;
      }
      .imagebox{
        width: 100%;
        position: relative;
        .gridbox{
          grid-template-columns: repeat(3, minmax(0, 1fr));
          column-gap:1vw;
          max-width: initial;
          bottom: 2vw;
        }
        .circle{
          width: 29vw;
          height: 29vw;
          &::before{
            width: 9vw;
            height: 7vw;
            top: 5vw;
          }
        }
        .text{
          font-size: 4vw;
          padding-top: 8vw;

        }
      }
    }
    .cont02 {
    .title {
      font-size: 5vw;
      margin: 0 0 10vw;
      padding: 0 0 6vw;
    }
    .flexbox {
      column-gap: 0;
      row-gap: 10vw;
      margin-bottom: 0;
    }
    .box {
      max-width: initial;
      width: 100%;
    }
    .imagebox {
      width: 60%;
      margin: 0 auto 3vw;
    }
    .box_title {
      font-size: 5vw;
      margin-bottom: 3vw;
      &::before{
        width: 5vw;
        height: 5vw;

      }
    }
    .box_text{
      text-align: justify;
    }
  }
  }
}

/* sec06 */
.sec06{
  margin-bottom: 100px;
  .top_text{
    max-width: 1000px;
    margin: 0 auto 110px;
  }
  .cont01{
    max-width: 1156px;
    margin: 0 auto;
    .flexbox{
      column-gap: 45px;
      margin-bottom: 100px;
      position: relative;
      align-items: flex-start;
    }
    .flexbox:last-of-type{
      margin-bottom: 0;
      &::before{
        display: none;
      }
    }
    .imagebox{
      width: 44.5%;
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        border-bottom: 2px solid#F9EA00;
        column-gap: 30px;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 10px;
        position: relative;
        padding-left: 2em;
        &::before{
          content: "";
          position: absolute;
          width: 18px;
          height: 17px;
          left: 0;
          bottom: 50%;
          transform: translateY(20%);
          background: url(/taniyama/images/common/star.webp) center / contain no-repeat;
        }
      }
      .num{
        font-size: 24px;
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        color: #F08B00;
        font-family: 'Inter', sans-serif;
        font-weight: 500;

      }
      .box_title{
        font-weight: 500;
        font-size: 24px;
      }
    }
    .contact_btn{
      display: flex;
      column-gap: 36px;
      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: 4vw;
        margin-bottom: 15vw;

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

      .imagebox {
        order: 2;
        width: 100%;
        margin: 0 auto;

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

      .textbox {
        display: contents;

        .box_header {
          order: 1;
          column-gap: 3vw;
          margin-bottom: 3vw;
          padding-bottom: 3vw;
          &::before{
            width: 5vw;
            height: 5vw;
            transform: translateY(20%);
          }
        }

        .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;
      }
    }
  }

}

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

  .about_btn {
    position: relative;
    z-index: 1;
    max-width: 275px;
  }
  .about_btn::after {
      position: absolute;
      z-index: -1;
      width: 113px;
      height: 87px;
      left: -20px;
      background: url(/taniyama/images/denture/btn_kazari01.webp) center / contain no-repeat;
  }

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

    .about_btn {
      position: relative;
      max-width: initial;
    }
    .about_btn::after {
      width: 21.07vw;
      height: 20vw;
      left: 0;
      bottom: -1.866vw;
    }

  }
}

/* sec008 */
.sec08{
  margin-bottom: 82px;
   @media screen and (max-width: 768px){
    margin-bottom: 0;
   }
}

/* sec09 */
.sec09{
  margin-bottom: 100px;
  .bottom_box{
    padding: 48px 80px 80px 100px;
    max-width: 816px;
    border: 2px solid #F08B00;
    border-radius: 20px;
    margin: 0 auto 100px;
  }
  .box_title{
    text-align: center;
    font-weight: 500;
    font-size: 25px;
    margin-bottom: 40px;
  }
  .check_item{
    display: flex;
    align-items: center;
    column-gap: 20px;
    line-height: 1.5;
    margin-bottom: 17px;
  }
  .ortho_banner{
    text-align: center;
    margin: 0 auto;
  }
  @media screen and (max-width: 768px){
    margin-bottom: 13.8vw;
    .bottom_box{
      padding: 8vw 5vw;
      margin-bottom: 13.8vw;
    }
    .box_title{
      font-size: 5vw;
      margin-bottom: 5vw;
    }
    .check_item{
      column-gap: 3vw;
      margin-bottom: 5vw;
    }
    .check_icon{
      width: 12%;
    }
    .check_text{
      width: 100%;
      line-height: 1.8;
    }
    .ortho_banner{
      text-align: center;
      margin: 0 auto;
    }
  }
}


.faq_sec {
  @media screen and (max-width: 768px) {
    .faq:last-of-type {
      padding-bottom: 0;
    }
  }
}
