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

/* sec01 */
.sec01{
  margin-bottom: 140px;
  .cont01{
    .flexbox{
      column-gap: 70px;
      margin-bottom: 76px;
      align-items: flex-start;
    }
    .reverse{
      margin-bottom: 135px;
    }
    .imagebox{
      width: 83.4%;
    }
    .textbox{
      width: 100%;
      .box_title{
        font-size: 25px;
        font-weight: bold;
        font-family: serif;
        margin-bottom: 20px;
      }
    }
  }
  .pink_box{
    margin-bottom: 123px;
    .box_title{
      font-size: 26px;
      padding-top: 43px;
      text-align: center;
      margin-bottom: 93px;
    }
    .flexbox{
      column-gap: 70px;
      margin-bottom: 47px;
    }
    .box_text{
      text-align: center;
      margin-bottom: 37px;
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;

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

    .pink_box {
      margin-bottom: 10vw;
      .box_title {
        font-size: 5vw;
        padding-top: 5vw;
        margin-bottom: 8vw;
      }
      .flexbox {
        flex-direction: column;
        column-gap: 0;
        row-gap: 6.67vw;
        margin-bottom: 6.27vw;
      }
      .flexbox img {
        width: 80%;
        min-width: initial;
        height: auto;
      }
      .box_text {
        font-size: 4vw;
        margin-bottom: 5vw;
        padding: 0 5vw;
      }
    }

  }
}

/* sec02 */
.sec02{
  .cont01, .cont02, .cont03{
    .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;
        }

      }

    }
  }
  @media screen and (max-width: 768px) {
    .cont01, .cont02, .cont03 {
      .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;
          }
        }
      }
    }
  }
}

/* sec03 */
.sec03{
  margin-bottom: 200px;
  .top_text{
    max-width: 1000px;
    margin: 0 auto 110px;
  }
  .cont01{
    max-width: 1036px;
    margin: 0 auto;
    .flexbox{
      column-gap: 66px;
      margin-bottom: 100px;
      position: relative;
      &::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: 21.3%;
    }
    .textbox{
      width: 100%;
      .box_title{
        font-family: serif;
        font-weight: bold;
        font-size: 25px;
        padding-left: 75px;
        border-bottom: 2px solid#F991A2;
        position: relative;
        margin-bottom: 8px;
        line-height: 3;
        &::before{
          content: "●";
          position: absolute;
          font-size: 14px;
          color: #F991A2;
          left: 30px;
          bottom: 50%;
          transform: translateY(50%);
        }
      }
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;

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

    .cont01 {
      .flexbox {
        flex-direction: column;
        column-gap: 0;
        row-gap: 0;
        margin-bottom: 15vw;

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

      .imagebox {
        width: 35vw;
        margin-bottom: 0;
      }

      .textbox {
        width: 100%;

        .box_title {
          font-size: 4.8vw;
          padding-left: 10vw;
          margin-bottom: 3vw;

          &::before {
            font-size: 2.67vw;
            left: 4vw;
          }
        }

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

}

/* sec04 */
.sec04{
  margin-bottom: 163px;
  .flexbox{
    column-gap: 53px;
    align-items: flex-start;
    .imagebox{
      width: 81.3%;
    }
    .textbox{
      width: 100%;
      .box_text{
        margin-bottom: 80px;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: flex-start;
      padding-left: 20px;
    }
    .about_btn {
      z-index: 1;
    }
    .about_btn::after{
      z-index: -1;
      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;
      column-gap: 0;
      row-gap: 0;

      .imagebox {
        width: 100%;
      }

      .textbox {
        width: 100%;

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

      .about_wrapper {
        justify-content: center;
        padding-left: 0;
      }

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

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