@charset "UTF-8";
.mainimagebox {
  margin: 0px auto 30px;
  max-width: 1440px;
  padding-top: 105px;

  .inner{
    padding: 0 clamp(40px, 5.5556vw, 80px);
  }

  @media screen and (min-width: 1441px) {
    max-width: initial;
    .inner{
      max-width: initial;
    }
  }

  @media screen and (max-width: 768px) {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    .inner{
      padding: 0 0 0 5vw;
    }
  }
}

.main_image {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .main_text {
    box-sizing: border-box;
  }

  .text {
    font-size: clamp(34px, 3.3333vw, 48px);
    letter-spacing: 0.2em;
    font-family: serif;
    line-height: 1.5;
  }

  .sub_text {
    font-size: 13px;
    font-weight: bold;
    font-family: serif;
    padding-left: 2px;
  }

  .mv {
    max-width: clamp(600px, 52.2917vw, 753px);

    & img {
      width: 100%;
      display: block;
    }
  }

  /* 1441px以上：拡大 */
  @media screen and (min-width: 1441px) {
    min-width: initial;

    .text {
      font-size: 3.3vw;
    }

    .sub_text {
      font-size: 0.9vw;
    }

    .mv {
      max-width: 52vw;
    }
  }

  /* 768px以下：スマホ */
  @media screen and (max-width: 768px) {
    min-width: initial;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 16vw;


    .main_text {
      padding: 8vw 0 4vw;
    }

    .text {
      font-size: 7vw;
    }

    .sub_text {
      font-size: 3.5vw;
    }

    .mv {
      max-width: 100%;
      width: 100%;

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

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

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

    .check_bottom {
      /*text-align: left;*/
    }
  }
}

/* sec01 */
.sec01 {
  margin-bottom: 112px;
  .gridbox{
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 29px;
    max-width: 1153px;
    margin: 0 auto 56px;
    align-items: start;

    .box{
      max-width: 168px;
    }
    .box:nth-child(even){
      margin-top: 40px;
    }

    .box_title{
      text-align: center;
      line-height: 1.5;
      font-size: clamp(16.9px, 1.319vw, 19px);
    }
    .imagebox{
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 10px;
    }
  }
  .box_text{
    max-width: 1000px;
    margin: 0 auto;
  }


  @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: 8vw;
        max-width: initial;
        width: 100%;
        margin: 0 auto 8vw;

        .box {
          max-width: initial;
        }
        .box:nth-child(even) {
          margin-top: 0;
        }
        .box_title {
          font-size: 4vw;
        }
        .imagebox {
          margin-bottom: 2.5vw;
        }
      }
    }
    .box_text{
      max-width: 1000px;
      margin: 0 auto;
    }
  }
}

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

      .box{
        border: 0;
        background-color: #F2F2F2;
        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;
        border: 1px solid #FF748B;
        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 #FF748B;
      }
    }

  }
  .about_wrapper{
    display: flex;
    justify-content: center;
  }
  .about_btn{
    border: 2px solid #FF748B;
    background-color: #fff;
    width: 275px;
    padding-right: 40px;
    &::before{
      background: url(/kagoshima/images/common/yajirushi_pink.webp) center / contain no-repeat;
    }
  }


  @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: 120px;
  .sec_body {
    padding: 0 40px;
  }

  .cont01{
    margin-bottom: 82px;
    .flexbox{
      column-gap: 70px;
      align-items: flex-start;
    }
    .textbox{
      width: 100%;
    }
    .box_title{
      font-size: 28px;
      font-weight: bold;
      font-family: serif;
      margin-bottom: 35px;
      line-height: 1.5;
    }
    .imagebox{
      width: 83.5%;
    }
  }
  .cont02{
    margin-bottom: 80px;
    .gridbox{
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 1200px;
      margin: 0 auto;
      column-gap: 60px;
    }
    .box{
      max-width: 358px;
    }
    .box_title{
      height: 3em;
      display: flex;
      justify-content: center;
      align-items: center;

      font-weight: bold;
      font-size: 21px;
      padding: 20px 0 14px;
      text-align: center;
    }
  }
  .cont03{
    .box{
      max-width: 1000px;
      margin: 0 auto;
      border: 2px solid #FF748B;
      border-radius: 30px;
    }
    .box_header{
      display: flex;
      align-items: center;
      padding: 60px 0 45px;
      column-gap: 60px;
    }
    .check{
      background-color: #F991A2;
      color: #fff;
      font-size: 28px;
      font-weight: 350;
      line-height: 1;
      padding:0 23px 0 115px;
      height: 52px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    .box_title{
      font-size: 25px;
      font-weight: bold;
      font-family: serif;
      color: #FF748B;
    }
    .textbox{
      padding: 0 70px 60px;
    }
  }
  @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;
      }
      .imagebox{
        width: 100%;
      }
    }
    .cont02{
      margin-bottom: 13.8vw;
      .gridbox{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 10vw;
      }
      .box{
        max-width: initial;
      }
      .box_title{
        font-weight: bold;
        font-size: 5vw;
        padding: 0 0 3vw;

        height: initial;
        display: block;
      }
    }
    .cont03{
      .box_header{
        padding: 8vw 0 5vw;
        column-gap: 0;
        row-gap: 3vw;
        flex-direction: column;
        align-items: flex-start;
      }
      .check{
        font-size: 4.5vw;
        padding:0 10vw 0 20vw;
        height: 10vw;
      }
      .box_title{
        font-size: 4.8vw;
        padding: 0 4vw;
      }
      .textbox{
        padding: 0 5vw 10vw;
      }
    }
  }
}

/* sec04 */
.sec04{
  margin-bottom: 144px;
  .sec_body {
    padding: 0 40px;
  }

  .cont01, .cont02{
    margin-bottom: 113px;
    .box_header{
      display: flex;
      column-gap: 25px;
      align-items: center;
      margin-bottom: 27px;
      justify-content: center;
      .box_title{
        font-size: 28px;
        font-weight: bold;
        font-family: serif;
        line-height: 1.3;
      }
      .num{
        color: #FF748B;
        font-size: 25px;
        letter-spacing: 0.1em;
      }
    }
    .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;
      &::before{
        content: "";
        position: absolute;
        right: 110px;
        bottom: -20px;
        width: 656px;
        height: 356px;
        background: url(/kagoshima/images/child-ortho/sec04_float.webp) center / contain no-repeat;
      }
    }
  }
  .cont03, .cont04{
    .box_title{
      font-size: 26px;
      font-weight: bold;
    }
    .flexbox{
      align-items: flex-start;
      column-gap: 66px;
      margin-bottom: 90px;
      .imagebox{
        width: 83%;
      }
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        column-gap: 25px;
        align-items: center;
        margin-bottom: 35px;
        .box_title{
          font-size: 28px;
          font-weight: bold;
          font-family: serif;
          line-height: 1.3;
        }
        .num{
          color: #FF748B;
          font-size: 25px;
          letter-spacing: 0.1em;
        }
      }
    }
    .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;
        }

      }

    }
  }
  .cont05{
    position: relative;
    .pink_box{
      border-radius: 0;
      max-width: 836px;
      padding: 45px 58px 66px;
      position: relative;
      border: none;
      z-index: 1;
      &::after{
        content: "";
        position: absolute;
        width: 275px;
        height: 180px;
        bottom: 0;
        right: 0;
        background: url(/kagoshima/images/child-ortho/sec04_6.webp) center / contain no-repeat;
      }
    }
    .fukidashi{
      display: flex;
      align-items: center;
      column-gap: 12px;
      justify-content: center;
      position: relative;
      margin-bottom: 75px;
      &::before{
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -41%);
        width: 583px;
        height: 189px;
        z-index: -1;
        background: url(/kagoshima/images/child-ortho/fukidashi.webp) center / contain no-repeat;
      }
    }
    .pink_bg{
      width: 952px;
      height: 455px;
      position: absolute;
      top: 50.6%;
      left: 50%;
      transform: translate(-50%, -40%);
      background-color: rgba(255,116,139,0.1);
      border-radius: 10px;
    }
    .box_title{
      font-size: 30px;
      text-align: center;
      font-weight: bold;
      font-family: serif;
      span{
        color: #FF748B;
        font-family: serif;
        font-weight: bold;
      }
    }
    .box_subtitle{
      font-size: 21px;
      font-family: serif;
      color: rgba(252, 202, 200, 1);
      text-align: center;
      line-height: 1.3;
    }
    .flexbox{
      column-gap: 28px;
      margin-bottom:40px;
      padding-bottom: 40px;
      border-bottom: 1px solid #444;
    }
    .box{
      letter-spacing: 0.1em;
      border: 1px solid #444444;
      border-radius: 10px;
      width: 314px;
      padding: 10px 0;
      text-align: center;
      span{
        font-family: serif;
        font-size: 28px;
        font-weight: bold;
        padding-left: 10px;
      }
      position: relative;
      &::before {
        content: "";
        position: absolute;
        top:  42px;
        left: 26px;
        background: url(/kagoshima/images/child-ortho/icon_tel.webp) center / contain no-repeat;
        width:  26px;
        height: 26px;
      }
    }
    .about_btn{
      background-color: rgba(255, 116, 139, 1);
      color: #fff;
      width: 314px;
      height: 84px;
      z-index: 1;
      &::before{
        background: url(/kagoshima/images/ortho/btn_kazari01.webp) center / contain no-repeat;
        left: 0;
        bottom: 50%;
        width: 109px;
        height: 84px;
        z-index: -1;
        transform: translateY(-50%);
      }
    }
    .left{
      font-size: 20px;
      padding-right: 13px;
    }
    .middle{
      font-size: 35px;
      font-weight: bold;
      font-family: serif;
    }
    .right{
      font-size: 30px;
      font-weight: bold;
      font-family: serif;
    }
    .textbox{
      max-width: 612px;
    }

  }

  @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;
          }
        }
      }
    }
    .cont05{
      .pink_box{
        max-width: 100%;
        padding: 5vw 5vw 35vw;

        &::before{
          width: 30vw;
          height: 27vw;
        }
        &::after{
          width: 54vw;
          height: 35vw;
        }
      }

      .fukidashi{
        column-gap: 2vw;
        margin-bottom: 10vw;
        &::before{
          width: 95vw;
          height: 26vw;
        }
      }
      .imagebox{
        width: 20%;
      }

      .pink_bg{
        width: 90vw;
        height: 175vw;
        transform: translate(-50%, -50%);
      }

      .box_title{
        font-size: 5vw;
      }
      .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%;
        padding: 2.67vw 0;
        font-size: 4vw;

        span{
          font-size: 7vw;
        }
        &::before {
          top:  10.36vw;
          left: 8vw;
          width:  5.6vw;
          height: 5.6vw;
        }
      }

      .about_btn{
        width: 100%;
        height: 22.4vw;

        &::before{
          width: 29.07vw;
          height: 22.4vw;
        }
      }
      .left{
        font-size: 4.8vw;
        padding-right: 3vw;
      }
      .middle{
        font-size: 9vw;
      }
      .right{
        font-size: 8vw;
      }

      .textbox{
        max-width: 100%;
      }
    }
  }
}

/* sec05 */
.sec05{
  margin-bottom: 120px;
  .sec_body {
    padding: 0 40px;
  }

  .cont01{
    margin-bottom: 100px;
    .flexbox{
      column-gap: 70px;
    }
    .box_title{
      font-size: 28px;
      font-weight: bold;
      font-family: serif;
      margin-bottom: 35px;
    }
    .textbox{
      width: 100%;
    }
    .imagebox{
      width: 83.4%;
      position: relative;
      .gridbox{
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: clamp(21.3px, 1.667vw, 24px);
        max-width: clamp(456.9px, 35.694vw, 514px);
        width: 100%;
        position: absolute;
        bottom: clamp(33.8px, 2.639vw, 38px);
        left: 50%;
        transform: translateX(-50%);
      }
      .circle{
        width: clamp(137.8px, 10.764vw, 155px);
        height: clamp(137.8px, 10.764vw, 155px);
        background-color: rgba(252, 202, 200, 0.9);
        border-radius: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        &::before{
          content: "";
          position: absolute;
          width: clamp(39.1px, 3.056vw, 44px);
          height: clamp(39.1px, 3.056vw, 44px);
          top: clamp(17.8px, 1.389vw, 20px);
          right: 50%;
          transform: translateX(50%);
          background: url(/kagoshima/images/common/check_icon.webp) center / contain no-repeat;
        }
      }
      .text{
        font-size: 19px;
        text-align: center;
        line-height: 1.5;
        padding-top: 30px;

      }
    }
  }
  .cont02{
    .title{
      letter-spacing: .1em;
      font-family: serif;
      font-size: 28px;
      font-weight: bold;
      text-align: center;
      margin: 0 0px 63px;
      padding: 35px 0;
      border-top: 1px solid rgba(255, 116, 139, 1);
      border-bottom: 1px solid rgba(255, 116, 139, 1);
    }
    .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);
    }
    .imagebox{
      text-align: center;
      margin-bottom: clamp(17.78px, 1.39vw, 20px);
    }
    .textbox{
      width: 100%;
    }
    .box_title{
      font-weight: bold;
      font-size: clamp(18.67px, 1.46vw, 21px);
      color: #FF748B;
      margin-bottom: clamp(16px, 1.25vw, 18px);
      text-align: center;
    }
  }
  @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: 9vw 0;
    }
    .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;
    }
  }
  }
}

/* sec06 */
.sec06{
  margin-bottom: 200px;
  .top_text{
    max-width: 1000px;
    margin: 0 auto 110px;
  }
  .cont01{
    max-width: 1156px;
    margin: 0 auto;
    .flexbox{
      column-gap: 66px;
      margin-bottom: 100px;
      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: 43.5%;
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        border-bottom: 2px solid#F991A2;
        column-gap: 30px;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 10px;
      }
      .num{
        width: 90px;
        height: 90px;
        border-radius: 50vh;
        color: #fff;
        background-color: #F991A2;
        font-family: serif;
        font-size: 19px;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        span{
          font-size: 25px;
          font-weight: bold;
          line-height: 1;
        }

      }
      .box_title{
        font-family: serif;
        font-weight: bold;
        font-size: 25px;
      }
    }
    .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;
        }

        .num {
          width: 17.7vw;
          height: 17.7vw;
          font-size: 4vw;
          line-height: 1.5;
          span{
            font-size: 5vw;
          }
        }

        .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;
  }
  .about_btn::after {
      position: absolute;
      z-index: -1;
      width: 113px;
      height: 87px;
      left: -20px;
      background: url(/kagoshima/images/denture/btn_kazari01.webp) center / contain no-repeat;
  }

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

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

  }
}

/* sec008 */
.sec08{
  margin-bottom: 82px;
}

/* sec09 */
.sec09{
  margin-bottom: 250px;
  .pink_box{
    padding: 48px 80px 80px 100px;
    max-width: 816px;
    margin-bottom: 80px;
  }
  .box_title{
    text-align: center;
    font-weight: bold;
    font-family: serif;
    font-size: 28px;
    margin-bottom: 64px;
  }
  .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;
    .pink_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;
    }
  }
}