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

/* checkbox */
.checkbox{
  margin-bottom: 122px;
  .gridbox{
    column-gap: 9px;
    margin-bottom: 47px;
  }
  @media screen and (max-width: 768px){
    margin-bottom: 13.8vw;
    .gridbox{
      column-gap: 0;
      margin-bottom: 5vw;
    }
  }
}


.sec02{
  margin-bottom: 170px;
  .cont01{
    margin-bottom: 116px;
    .box_text{
      max-width: 1000px;
      margin: 0 auto;
    }
  }
  .cont02{
    max-width: 978px;
    margin: 0 auto 117px;
    .box_title{
      font-family: serif;
      font-weight: bold;
      font-size: 28px;
      text-align: center;
      border-bottom: 2px solid #FF748B;
      padding-bottom: 28px;
      margin-bottom: 49px;
    }
    .gridbox{
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin-bottom: 50px;
      column-gap: 10px;
    }
    .circle{
      width: 215px;
      height: 215px;
      background-color: #f38d8a;
      border-radius: 50vh;
      border: 10px solid #fccac8;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .circle_text{
      color: #fff;
      font-weight: bold;
      font-size: 20px;
      text-align: center;
      line-height: 1.5;
    }
    .bottom_box{
      border: 2px solid #FF748B;
      border-radius: 30px;
      max-width: 772px;
      margin: 0 auto;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        right: 43px;
        bottom: 0;
        width: 170px;
        height: 182px;
        background: url(/kagoshima/images/visit/sec01_1.webp) center / contain no-repeat;
      }
      .textbox{
        font-size: 20px;
        font-weight: bold;
        font-family: serif;
        padding: 43px 225px 42px 57px;
      }
    }
  }

  .cont03{
    max-width: 978px;
    margin: 0 auto 117px;
    .box_title{
      font-family: serif;
      font-weight: bold;
      font-size: 28px;
      text-align: center;
      border-bottom: 2px solid #FF748B;
      padding-bottom: 28px;
      margin-bottom: 49px;
    }
    .flexbox{
      column-gap: 20px;
      .imagebox{
        width: 62.7%;
      }
    }
  }

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

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

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

        }
      }
    }

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

/* sec03 */
.sec03{
  margin-bottom: 113px;
  .flexbox{
    column-gap: 70px;
    align-items: flex-start;
    margin-bottom: 114px;
    .imagebox{
      width: 100%;
      position: relative;
    }
    .textbox{
      .box_title{
        font-size: 25px;
        font-weight: bold;
        font-family: serif;
        margin-bottom: 20px;
      }
    }
  }

  .cont02{
    .gridbox{
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 70px;
      row-gap: 59px;
      max-width: 990px;
      margin: 0 auto;
    }
    .box{
      max-width: 460px;
      background-color: #F5F5F5;
      border-radius: 30px;
      padding: 46px 35px 62px;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        left: -30px;
        top: -50px;
        background: url(/kagoshima/images/visit/sec03_2.webp) center / contain no-repeat;
      }
    }
    .box02::before{
      background: url(/kagoshima/images/visit/sec03_3.webp) center / contain no-repeat;
    }
    .box03::before{
      background: url(/kagoshima/images/visit/sec03_4.webp) center / contain no-repeat;
    }
    .box04::before{
      background: url(/kagoshima/images/visit/sec03_5.webp) center / contain no-repeat;
    }
    .box_title{
      text-align: center;
      font-weight: bold;
      font-size: 24px;
      margin-bottom: 20px;
    }
  }

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

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

      .imagebox {
        width: 100%;

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

      .textbox {
        width: 100%;

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

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

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

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

/* sec04 */
.sec04{
  margin-bottom: 122px;
  .inner{
    padding: 0;
  }
  .sec_header{
    margin: 0 80px 115px;
  }
  .cont01{
    padding: 0 80px;
    margin-bottom: 158px;
    .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;
        }
      }
    }
  }

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

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


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

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

        .textbox {
          display: contents;
        }

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

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

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

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

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

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

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

/* sec05 */
.sec05{
  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: 90%;
        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;
      }
    }
  }

}

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

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

      .imagebox {
        width: 100%;

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

      .textbox {
        width: 100%;

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

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

      .about_wrapper {
        justify-content: center;
      }

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

