@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;
  }
  .text span {
    font-size: clamp(24px, 1.944vw, 28px);
    letter-spacing: 0.2em;
    font-family: serif;
    line-height: 2;
  }

  .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;
    }
    .text span {
      font-size: 1.944vw;
    }
    .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;
    }
    .text span {
      font-size: 4.8vw;
    }

    .sub_text {
      font-size: 3.5vw;
    }

    .mv {
      max-width: 100%;
      width: 100%;

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

/* lead_sec */
.lead_sec {
  margin-bottom: 120px;

  .sec_text {
    margin: 0 auto 100px;
  }

  .medical_box {
    margin: 0 auto 100px;
    .list {
      display: flex;
      justify-content: center;
      align-items: stretch;
    }
    .item {
      width: 475px;
      max-width: 48%;
      background-color: rgba(244, 206, 212, 0.18);
      border-radius: 10px;
      padding: 40px;
      box-sizing: border-box;
    }
    .item_title {
      font-size: 22px;
      letter-spacing: .2em;
      text-align: center;
      color: #FF748B;
      padding-bottom: 15px;
      border-bottom: 1px solid #FF748B;
      margin-bottom: 20px;
    }
    .item:nth-of-type(1) {
      margin-right: 50px;
    }
  }

  .subject_box {
    .flexbox {
      width: 995px;
      max-width: 100%;
      margin: 0 auto 50px;

      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }
    .link_btn {
      width: 262px;
      height: 93px;
      border-radius: 8px;
      background-color: rgba(244, 206, 212, 1);

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

      a {
        display: block;
        width: 100%;
        height: 100%;

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

        line-height: 1.4;
        font-size: 20px;
        text-align: center;
      }
      position: relative;
    }
    .link_btn::before {
      z-index: 2;
      content: "";
      position: absolute;
      top: 52%;
      transform: translateY(-50%);
      right:  16px;
      width:  18px;
      height: 15px;
      background-color: #FF748B;
      clip-path: polygon(0 0, 100% 0%, 50% 100%);
    }
    .link_btn::after {
      z-index: 1;
      content: "";
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 10px;
      border-radius: 50%;
      background-color: #fff;
      width:  32px;
      height: 32px;
    }
    .link_btn:nth-of-type(1),
    .link_btn:nth-of-type(2),
    .link_btn:nth-of-type(3) {
      margin-bottom: 40px;
    }
    .link_btn:nth-of-type(1),
    .link_btn:nth-of-type(2),
    .link_btn:nth-of-type(4) {
      margin-right: 30px;
    }
  }

  .link_box {
    .flexbox {
      width: 600px;
      max-width: 100%;
      margin: 0 auto;

      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }
    .link_btn {
      box-sizing: border-box;
      width: 262px;
      height: 60px;
      border-bottom: 2px solid #FF748B;
      a {
        box-sizing: border-box;
        display: block;
        width: 100%;
        height: 100%;
        padding: 13px 30px 13px 0;

        letter-spacing: .1em;
        line-height: 1.4;
        font-size: 20px;
        text-align: center;
      }
      position: relative;
    }
    .link_btn::before {
      z-index: 1;
      content: "";
      position: absolute;
      top: 52%;
      transform: translateY(-50%);
      right: 10px;
      width: 30px;
      height: 22px;
      background-color: #FF748B;
      clip-path: polygon(0 0, 100% 0%, 50% 100%);
    }
    .link_btn:nth-of-type(1) {
      margin-right: 30px;
    }
  }

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

    .sec_title {
      letter-spacing: 0em;
    }
    .sec_text {
      margin: 0 auto 13.8vw;
    }

    .medical_box {
      margin: 0 auto 13.8vw;
      .list {
        display: flex;
        align-items: center;
        flex-direction: column;
      }
      .item {
        width: 100%;
        max-width: 100%;
        border-radius: 2.66vw;
        padding: 5.5vw 5.5vw 8vw;
      }
      .item_title {
        font-size: 5vw;
        padding-bottom: 4.2vw;
        margin-bottom: 5.33vw;
      }
      .item_text {
        font-size: 4vw;
      }
      .item:nth-of-type(1) {
        margin-right: initial;
        margin-bottom: 4.2vw;
      }
    }

    .subject_box {
      .flexbox {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
      }
      .link_btn {
        width:  40vw;
        height: 20vw;
        border-radius: 2.13vw;
        a {
          padding-right: 1.5em;
          font-size: 4.2vw;
        }
        position: relative;
      }
      .link_btn::before {
        right: 2.5vw;
        width:  3.12vw;
        height: 2.6vw;
        background-color: #FF748B;
      }
      .link_btn::after {
        right: 1.26vw;
        width:  5.54vw;
        height: 5.54vw;
      }
      .link_btn:nth-of-type(1),
      .link_btn:nth-of-type(2),
      .link_btn:nth-of-type(3) {
        margin-bottom: initial;
      }
      .link_btn:nth-of-type(1),
      .link_btn:nth-of-type(2),
      .link_btn:nth-of-type(4) {
        margin-right: initial;
      }

      .link_btn:nth-of-type(1),
      .link_btn:nth-of-type(2),
      .link_btn:nth-of-type(3),
      .link_btn:nth-of-type(4) {
        margin-bottom: 5vw;
      }
      .link_btn:nth-of-type(1),
      .link_btn:nth-of-type(3) {
        margin-right: 4vw;
      }
    }

    .link_box {
      margin-bottom: 13.8vw;
      .flexbox {
        width: 100%;
      }
      .link_btn {
        width: 40.4vw;
        border-bottom: 0.53vw solid #FF748B;

        a {
          width:  100%;
          height: 3em;
          padding: 0 8vw 0 0;
          display: flex;
          justify-content: center;
          align-items: center;

          font-size: 4.8vw;
          text-align: center;
        }
        position: relative;
      }
      .link_btn::before {
        bottom: -3.13vw;
        width:  4.8vw;
        height: 4vw;
        background-color: #FF748B;
        clip-path: polygon(0 0, 100% 0%, 50% 100%);
      }
      .link_btn:nth-of-type(1) {
        margin-right: 4vw;
      }
    }

  }
}

/* sec01〜sec05 */
.sec01, .sec02, .sec03, .sec04, .sec05 {

  .sec_header {
    margin-bottom: 30px;
  }
  .sec_body {
    padding: 0 130px;
  }
  .caution {
    font-size: 14px;
    text-align: right;
    margin-bottom: 85px;
  }

  .title {
      min-height: 70px;
      border-left: 15px solid rgba(255, 116, 139, 1);
      margin-bottom: 50px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding-left: 21px;

      letter-spacing: .1em;
      font-family: serif;
      font-size: 28px;
      font-weight: 600;
  }

  .menu_box {
    margin: 0 auto 80px;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    .menu_pic {
      width: 238px;
      min-width: 238px;
      margin-right: 35px;
      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
    .textbox {
      box-sizing: border-box;
    }

    .menu_head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
    .menu_title {
      font-size: 22px;
      margin-bottom: 20px;
      line-height: 1.4;
      text-align: left;
      position: relative;
    }
    .menu_price {
      margin-bottom: 25px;
      font-size: 18px;
      text-align: right;
    }
    .menu_head_price_box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-bottom: 20px;
      .menu_price {
        margin-bottom: 0;
        letter-spacing: .1em;
        text-align: right;
      }
    }
    .menu_text {
      width: 100%;
      max-width: 100%;
      padding-right: 1em;
      letter-spacing: .1em;
      line-height: 2;
      text-align: justify;
    }
  }
  .menu_box:not(:last-of-type) {
    margin-bottom: 100px;
  }

  .about_flex_wrapper {
    width: 100%;
    max-width: 100%;
    padding-top: 40px;
    margin: 0 auto 140px;

    display: flex;
    justify-content: center;
    align-items: center;
  }
  .about_btn {
    position: relative;
    z-index: 1;
  }
  .about_btn:not(:last-of-type) {
    margin-right: 80px;
  }
  .about_btn::after {
      position: absolute;
      z-index: -1;
      width: 113px;
      height: 87px;
      left: -20px;
      background: url(/kagoshima/images/price/btn_kazari01.webp) center / contain no-repeat;
  }

  @media screen and (max-width: 768px) {

    .sec_header {
      margin-bottom: 3vw;
    }
    .sec_body {
      padding: 0;
    }
    .caution {
      font-size: 3.7vw;
      margin-bottom: 7vw;
    }

    .title {
      min-height: 14.93vw;
      border-left: 4.53vw solid rgba(255, 116, 139, 1);
      margin-bottom: 8.2vw;

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

      padding-left: 5.6vw;
      font-size: 5vw;
    }

    .menu_box {
      display: block;
      margin: 0 auto 13.8vw;

      box-sizing: border-box;
      .textbox {
        width: 100%;
        margin-right: initial;
      }
      .menu_head {
        display: block;
        margin-bottom: 3vw;
      }
      .menu_title {
        font-size: 4.8vw;
        margin-bottom: 1.2vw;
        letter-spacing: .1em;
        line-height: 1.5;
        text-align: left;
      }
      .menu_price {
        font-size: 3.7vw;
        margin-bottom: initial;
        letter-spacing: .1em;
        text-align: right;
      }
      .menu_head_price_box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        .menu_price {
          font-size: 3.7vw;
          margin-bottom: 1vw;
          letter-spacing: initial;
          text-align: left;
        }
      }
      .menu_text {
        letter-spacing: .07em;
        line-height: 1.8;
        font-size: 4vw;
        padding-right: initial;
      }
      .menu_pic {
        width: 54.4vw;
        min-width: 54.4vw;
        margin-left:  initial;
        margin-right: initial;
        margin: 0 auto 4.2vw;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
    .menu_box:not(:last-of-type) {
      padding-bottom: 8.4vw;
      margin-bottom: 13.8vw;
    }

    .about_flex_wrapper {
      padding-top: 0;
      margin: 0 auto 13.8vw;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      row-gap: 8vw;
    }
    .about_btn {
      position: relative;
    }
    .about_btn:not(:last-of-type) {
      margin-right: initial;
    }
    .about_btn::after {
      width: 21.07vw;
      height: 20vw;
      left: 0;
      bottom: -1.866vw;
    }

  }
}
/* sec01 */
.sec01 {
  .menu_box:nth-of-type(3) {
    .menu_text {
      box-sizing: border-box;
      width: 1000px;
      padding-right: 1em;
    }
  }
}


/* sec06 */
.sec06 {
  margin-bottom: 130px;

  .top_text {
    width: 880px;
    max-width: 100%;
    margin: 0 auto 30px;
    letter-spacing: .1em;
  }
  .top_image {
    width: 708px;
    max-width: 100%;
    margin: 0 auto;
    img {
      width:  100%;
      height: 100%;
      object-fit: contain;
    }
  }

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

    .top_text {
      font-size: 4vw;
      margin: 0 auto 4.2vw;
    }
    .top_image {
      width: 95%;
      margin: 0 auto;
    }
  }
}

/* sec07 */
.sec07 {
  margin-bottom: 130px;

  .top_text {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto 60px;
  }

  .upper_box {
    box-sizing: border-box;
    width: 1055px;
    max-width: 100%;
    background-color: #F5F5F5;
    padding: 40px 60px;
    margin: 0 auto 55px;

    .title {
      margin-bottom: 45px;
      font-size: 24px;
      text-align: center;
    }
    .stn_text {
      font-size: 18px;
      letter-spacing: .15em;
      line-height: 1.8;
      margin-bottom: 15px;
    }
    .small_text {
      font-size: 14px;
      letter-spacing: .2em;
      text-align: right;
      margin-bottom: 60px;
    }
    .stn_red_text {
      letter-spacing: .15em;
      color: rgba(205, 98, 77, 1);
    }
    .small_red_text {
      font-size: 14px;
      letter-spacing: .2em;
      color: rgba(205, 98, 77, 1);
      text-align: right;
    }

    .info_text {
      box-sizing: border-box;
      padding-left:   1em;
      text-indent: -1.2em;
      line-height: 1.8;
    }
  }

  .about_btn {
    position: relative;
    z-index: 1;
  }
  .about_btn::after {
      position: absolute;
      z-index: -1;
      width: 113px;
      height: 87px;
      left: -20px;
      background: url(/kagoshima/images/price/btn_kazari01.webp) center / contain no-repeat;
  }


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

    .top_text {
      font-size: 4vw;
      margin: 0 auto 4.3vw;
    }

    .upper_box {
      padding: 5.5vw;
      margin: 0 auto 6vw;
      box-sizing: border-box;

      .title {
        padding: 2vw 0;
        font-size: 4.8vw;
        margin-bottom: 4vw;
      }
      .stn_text {
        font-size: 4vw;
        letter-spacing: .2em;
        line-height: 1.8;
        margin-bottom: 4vw;
      }
      .small_text {
        font-size: 3.6vw;
        letter-spacing: .2em;
        margin-bottom: 8vw;
      }
      .stn_red_text {
        letter-spacing: .2em;
      }
      .small_red_text {
        font-size: 3.4vw;
      }

      .info_text {
        font-size: 4vw;
        margin: 0 auto 4.2vw;
      }
    }

    .about_btn {
      position: relative;
    }
    .about_btn::after {
      width: 21.07vw;
      height: 20vw;
      left: 0;
      bottom: -1.866vw;
    }
  }
}