@charset "UTF-8";
.mainimagebox {
  margin: 0 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: 26vw;


    .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: 100px;
  .gridbox{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 21px;
    row-gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
  }
  .box{
    max-width: 269px;
    height: 100px;
    background-color: #F4CED4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    &::before{
      content: "";
      position: absolute;
      left: 50%;
      bottom: 7px;
      width: 22px;
      height: 15px;
      transform: translateX(-50%);
      width:  22px;
      height: 15px;
      background-color: #FF748B;
      clip-path: polygon(0 0, 100% 0%, 50% 100%);
    }
  }
  .menu{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
  }
  @media screen and (max-width: 768px){
    margin-bottom: 13.8vw;
    .gridbox{
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 2vw;
      row-gap: 3vw;
    }
    .box{
      height: 26vw;
      max-width: initial;
      &::before{
        bottom: 1.6vw;
        width:  4.1vw;
        height: 2.8vw;
      }
    }
    .menu{
      font-size: 3.8vw;
    }
  }
}

/* sec02 - sec04 */
.sec02, .sec03, .sec04{
  margin-bottom: 100px;
  .gridbox{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 55px;
    row-gap: 100px;
    max-width: 1198px;
    margin: 0 auto;
    .box{
      max-width: 360px;
    }
    .box_title{
      font-size: 25px;
      font-weight: bold;
      font-family: serif;
      text-align: center;
      line-height: 1.5;
      margin-bottom: 20px;
    }
    .imagebox{
      margin-bottom: 20px;
    }
    .box_text{
      height: 200px;
    }
    .about_wrapper{
      margin-top: 20px;

    }
    .about_btn{
      background-color: #fff;
      border: 2px solid #FF748B;
      &::before{
        background: url(/kagoshima/images/common/yajirushi_pink.webp) center / contain no-repeat;
      }
    }
  }
  @media screen and (max-width: 768px){
    .gridbox{
      grid-template-columns: repeat(1, minmax(0, 1fr));
      column-gap: 0;
      row-gap: 13.8vw;
      .box{
        max-width: initial;
      }
      .box_title{
        font-size: 5vw;
        margin-bottom: 3vw;
      }
      .imagebox{
        margin-bottom: 3vw;
      }
      .box_text{
        height: initial;
      }
      .about_wrapper{
        margin-top: 5vw;
        display: flex;
        justify-content: center;

      }
      .about_btn{
        background-color: #fff;
        border: 2px solid #FF748B;
        &::before{
          background: url(/kagoshima/images/common/yajirushi_pink.webp) center / contain no-repeat;
        }
      }
    }
  }
}
