@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, 3vw, 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%;
      }
    }
  }
}

/* sec01 */
.sec01{
  margin-bottom: 170px;
  .cont01{
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 60px;
    .flexbox{
      column-gap: 70px;
    }
    .imagebox{
      width: 84%;
    }
    .textbox{
      width: 100%;
    }
    .box_title{
      font-size: 25px;
      font-family: serif;
      font-weight: bold;
      margin-bottom: 34px;
    }
  }

  .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(/kagoshima/images/child/kazari01.webp) center / contain no-repeat;
        }
      }
      .textbox{
        width: 100%;
      }
    }
    .gridbox{
      grid-template-columns: repeat(3, minmax(0, 1fr));
      column-gap: 50px;
      padding: 0 50px 63px;
      .g_title{
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        font-feature-settings: "palt";
        letter-spacing: 0.05em;
        padding: 12px 0;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: center;
      margin-bottom: 34px;
    }
    .about_btn::after{
      left: -60px;
      bottom: -26px;
      width: 116px;
      height: 119px;
      background: url(/kagoshima/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;
      }
    }

    .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: 0 5vw 10.67vw;
        .g_title {
          font-size: 5.3vw;
          padding: 2.4vw 0;
        }
      }
      .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: 108px;
    .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 33px;
    }
    .circle{
      display: flex;
      column-gap: 15px;
      position: absolute;
      bottom: 18px;
      left: 70px;
      .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;
        }
      }
    }
    .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;
      }
    }
  }
  .cont02{
    margin-bottom: 108px;
    margin-bottom: 114px;
    .box_title{
      font-size: 26px;
      font-weight: bold;
    }
    .flexbox{
      align-items: flex-start;
      column-gap: 66px;
      .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;
        }
      }
      .box_text{
        margin-bottom: 28px;
      }
    }
    .about_btn{
      margin-left: 60px;
    }
    .about_btn::after{
      width: 167px;
      height: 122px;
      left: -60px;
      bottom: -8px;
      background: url(/kagoshima/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: 66px;
      .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;
        }
      }
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .sec_body {
      padding: 0;
    }

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

    .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 {
        margin-left: 12vw;
        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: 113px;
  .sec_body {
    padding: 0 40px;
  }
  .cont01{
    .flexbox{
      column-gap: 70px;
      align-items: flex-start;
      margin-bottom: 112px;
      .imagebox{
        width: 83.4%;
        position: relative;
      }
      .textbox{
        width: 100%;
        .box_title{
          font-size: 25px;
          font-weight: bold;
          font-family: serif;
          margin-bottom: 53px;
        }
      }
    }
  }
  .cont02{
    .box_text{
      text-align: center;
      font-size: 21px;
      font-weight: bold;
      font-family: serif;
      margin-bottom: 42px;
    }
    .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(/kagoshima/images/common/comecome_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 {
      .box_text {
        font-size: 4.8vw;
        margin-bottom: 6.4vw;
      }
      .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: 70px;
      align-items: flex-start;
      margin-bottom: 112px;
      .imagebox{
        width: 83.4%;
        position: relative;
        .gridbox{
          grid-template-columns: repeat(3, minmax(0, 1fr));
          column-gap: 20px;
          max-width: 514px;
          width: 514px;
          position: absolute;
          bottom: -80px;
          left: 50%;
          transform: translateX(-50%);
        }
        .circle{
          width: 158px;
          height: 158px;
          font-weight: bold;
          font-size: 20px;
          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;
          .txt{
            white-space: nowrap;
            span{
              color: #4DBACD;
              font-weight: bold;
            }
          }
        }
      }
      .textbox{
        width: 100%;
        .box_title{
          font-size: 25px;
          font-weight: bold;
          font-family: serif;
          margin-bottom: 53px;
        }
        .box_text{
          margin-bottom: 40px;
        }
      }
      .about_btn{
        margin-left: 40px;
      }
      .about_btn::after{
        width: 113px;
        height: 99px;
        left: -40px;
        bottom: 0;
        background: url(/kagoshima/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;
          }
        }

        .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: 70.2vw;
          margin-left: 8vw;
          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: 70px;
      align-items: flex-start;
      margin-bottom: 112px;
      .imagebox{
        width: 83.4%;
        position: relative;
      }
      .textbox{
        width: 100%;
        .box_title{
          font-size: 25px;
          font-weight: bold;
          font-family: serif;
          margin-bottom: 53px;
        }
      }
    }
  }
  .cont02{
    .box_text{
      text-align: center;
      font-size: 21px;
      font-weight: bold;
      font-family: serif;
      margin-bottom: 42px;
    }
    .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(/kagoshima/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 {
      .box_text {
        font-size: 4.8vw;
        margin-bottom: 6.4vw;
      }
      .about_wrapper{
        margin: 0 auto;
      }
      .about_btn::after {
        width: 24.33vw;
        height: 18.87vw;
        left: -3vw;
        bottom: 0;
      }
    }
  }
}


