@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: 125px;
  }

  .sitemap_box {
    /*background-color: aliceblue;*/
    width: 1100px;
    max-width: 100%;
    margin: 0 auto 60px;

    .link_text {
      display: block;
      width: fit-content;
      padding: 15px 1.8em 15px 0;
      letter-spacing: .06em;
      font-size: 18px;

      position: relative;
      &::before {
        content: "＞";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
      }
    }
    .title {
      min-height: 50px;
      border-left: 17px solid rgba(255, 116, 139, 1);
      margin-bottom: 20px;
      padding-left: 21px;

      display: flex;
      justify-content: flex-start;
      align-items: center;
    }
    .list {
      box-sizing: border-box;
      padding-left: 35px;
      margin-bottom: 20px;

      width: 100%;
      display: grid;
      column-gap: 1em;
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .link_box {
    box-sizing: border-box;
    width: 995px;
    max-width: 100%;
    margin: 0 auto 60px;

    display: grid;
    column-gap: 25px;
    grid-template-columns: repeat(3, 314px);
  }

  .group_box {
    width: 1100px;
    max-width: 100%;
    margin: 130px auto 40px;

    .link_text {
      display: block;
      width: fit-content;
      padding: 15px 1.8em 15px 0;
      letter-spacing: .06em;
      font-size: 18px;
    }
    .title {
      min-height: 56px;
      border-left: 17px solid rgba(255, 116, 139, 1);
      margin-bottom: 22px;
      padding-left: 21px;

      display: flex;
      justify-content: flex-start;
      align-items: center;

      padding-left: 21px;
      letter-spacing: .1em;
      font-size: 18px;
      /*font-weight: bold;*/
    }

    .gridbox{
      grid-template-columns: repeat(4, minmax(0, 1fr));
      max-width: 1330px;
      margin: 0 auto;
      padding-left: 35px;
      column-gap: 16px;
    }
    .box{
      max-width: 277.4px;
      height: 101px;
      position: relative;
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      &::before{
        content: "";
        position: absolute;
        width:  231px;
        height: 119px;
        left: 0;
        bottom: 50%;
        transform: translateY(50%);
        background: url(/kagoshima/images/common/overlay.webp) center / contain no-repeat;
      }
      &::after{
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateY(50%);
      }
      .box_text{
        color: #fff;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
      }
    }
    .box01{
      border: 2px solid #E74081;
      background-color: #F3F3F3;
      &::before{
          width:  81.8px;
          height: 86.2px;
          background: url(/kagoshima/images/common/banner_logo.webp) center / contain no-repeat;
      }
      &::after{
          content: "";
          flex-shrink: 0;
          width: 0;
          height: 0;
          right: 10px;
          left: initial;
          bottom: 50%;
          transform: translateY(50%);
          border-style: solid;
          border-width: 9px 0 9px 12px;
          border-color: transparent transparent transparent #E84A85;
      }
      .box_text{
          text-align: center;
          font-size: 18px;
          line-height: 1.5;
          margin-right: 17.8px;
          color: #444;
          font-weight: 500;
      }
    }
    .box02{
      background-color: #ECD300;
      &::after{
        width:  26.7px;
        height: 26.7px;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/kagoshima/images/common/yajirushi_y.webp) center / contain no-repeat;
      }
      .box_text{
        padding-bottom: 8px;
        filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
      }
    }
    .box03{
      background-color: #27A7AF;
      &::after{
        width:  26.7px;
        height: 26.7px;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/kagoshima/images/common/yajirushi_g.webp) center / contain no-repeat;
      }
      .box_text{
        padding-bottom: 28px;
        line-height: 1.5;
        filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
      }
    }
    .box04{
      background-color: #3881B6;
      &::after{
        width:  26.7px;
        height: 26.7px;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/kagoshima/images/common/yajirushi_b.webp) center / contain no-repeat;
      }
      .box_text{
        padding-bottom: 28px;
        line-height: 1.5;
        filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
      }
    }
  }

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

    .sitemap_box {
      margin: 0 auto 8vw;

      .link_text {
        padding: 3.5vw 1.8em 3.5vw 0;
        letter-spacing: .06em;
        font-size: 4.8vw;

        position: relative;
        &::before {
          font-size: 4.8vw;
        }
      }
      .title {
        min-height: 13.33vw;
        border-left: 4.53vw solid rgba(255, 116, 139, 1);
        margin-bottom: 4.2vw;
        padding-left: 5.6vw;
        font-size: 4.8vw;
      }
      .list {
        margin-bottom: 0;
        padding-left: 9.33vw;
        column-gap: initial;
        grid-template-columns: repeat(1, 1fr);

        .link_text {
          margin-bottom: 4.2vw;
        }
      }
    }

    .link_box {
      margin: 0 auto 13.8vw;
      padding: 0 6vw;

      display: grid;
      row-gap: 6.2vw;
      column-gap: initial;
      grid-template-columns: repeat(1, 1fr);
    }

    .group_box {
      margin: 20.7vw auto 13.8vw;

      .link_text {
        padding: 3.5vw 1.8em 3.5 0;
        letter-spacing: .06em;
        font-size: 4.8vw;

        position: relative;
        &::before {
          font-size: 4.8vw;
        }
      }
      .title {
        min-height: 13.33vw;
        border-left: 4.53vw solid rgba(255, 116, 139, 1);
        margin-bottom: 4.2vw;
        padding-left: 5.6vw;
        font-size: 5.2vw;
      }

      .gridbox{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 6.2vw;
        padding-left: 0;
      }
      .box{
        max-width: 100%;
        height: 30.73vw;
        &::before{
          width: 69.33vw;
          height: 35.73vw;
          left: 0;
          bottom: 50%;
          transform: translateY(50%);
          background: url(/kagoshima/images/common/overlay.webp) center / contain no-repeat;
        }
        &::after{
          bottom: 0;
          left: 50%;
          transform: translateY(50%);
        }
        .box_text{
          font-size: 5.77vw;
        }
      }
      .box01{
        &::before{
          width: 24.53vw;
          height: 25.87vw;
          background: url(/kagoshima/images/common/banner_logo.webp) center / contain no-repeat;
        }
        &::after{
          width: 0;
          height: 0;
          right: 2.67vw;
          left: initial;
          bottom: 50%;
          transform: translateY(50%);
          border-style: solid;
          border-width: 2.4vw 0 2.4vw 3.2vw;
          border-color: transparent transparent transparent #E84A85;
        }
        .box_text{
          font-size: 5.3vw;
          margin-right: 5.33vw;
        }
      }
      .box02{
        &::after{
          width: 8vw;
          height: 8vw;
          bottom: 2.67vw;
          left: 50%;
          transform: translateX(-50%);
          background: url(/kagoshima/images/common/yajirushi_y.webp) center / contain no-repeat;
        }
        .box_text{
          filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
        }
      }
      .box03{
        &::after{
          width: 8vw;
          height: 8vw;
          bottom: 2.67vw;
          left: 50%;
          transform: translateX(-50%);
          background: url(/kagoshima/images/common/yajirushi_g.webp) center / contain no-repeat;
        }
        .box_text{
          padding-bottom: 7.33vw;
          filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
        }
      }
      .box04{
        &::after{
          width: 8vw;
          height: 8vw;
          bottom: 2.67vw;
          left: 50%;
          transform: translateX(-50%);
          background: url(/kagoshima/images/common/yajirushi_b.webp) center / contain no-repeat;
        }
        .box_text{
          padding-bottom: 7.33vw;
          filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
        }
      }
    }
  }
}