@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 {
  @media screen and (max-width: 768px) {
  }
}

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


  .pink_bg{
    background-color: rgba(255, 116, 139, 0.1);
    position: relative;
    &::before {
      content: "";
      position: absolute;
      z-index: 0;
      top: -250px;
      left: 50%;
      transform: translateX(-50%);
      width: max(1280px, 100%); 
      height: 250px;
      border-radius: 50% / 100% 100% 0 0;
      background-color: rgba(255, 116, 139, 0.1);
    }
  }
  .doctors_box {
    box-sizing: border-box;
    width: 1280px;
    max-width: 100%;
    margin-top: 400px;
    padding: 0 0 100px;
    position: relative;
  }
  .doctor_title {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);

    font-family: serif;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: .1em;
    text-align: center;
  }
  .text_doctors {
    content: "";
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width:  clamp(480px, 37.5vw, 540px);
    height: clamp(148px, 11.597vw, 167px);
  }
  .kazari01 {
    content: "";
    position: absolute;
    top: -230px;
    left: 60px;
    width:  clamp(344px, 26.944vw, 388px);
    height: clamp(66px, 5.208vw, 75px);
  }
  .kazari02 {
    content: "";
    position: absolute;
    top: -255px;
    left: clamp(800px, 62.5vw, 900px);
    width:  clamp(268px, 20.972vw, 302px);
    height: clamp(177px, 13.888vw, 200px);
  }

  .cont01 {
    margin-bottom: 100px;
    padding: 0 55px;

    .flexbox {
      margin-bottom: 40px;
      column-gap: 53px;
      align-items: flex-start;
      .imagebox{
        width: 81.3%;
      }
      .textbox{
        width: 100%;
        .box_title {
          margin-bottom: 35px;
          font-size: 30px;
          font-weight: bold;
          letter-spacing: .1em;
          font-family: serif;
        }
        .box_text {
          text-align: justify;
        }
      }
      .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;
      }
    }
    .flexbox1 {
      .imagebox{
        position: relative;
        .circle {
          position: absolute;
          top: clamp(245px, calc(34.375vw - 195px), 300px);
          left: clamp(280px, calc(37.5vw - 200px), 340px);
          border-radius: 50%;
          width:  155px;
          height: 155px;

          display: flex;
          justify-content: center;
          align-items: center;
          p {
            letter-spacing: .1em;
            line-height: 1.4;
            font-size: 21px;
            font-weight: bold;
            text-align: center;
          }
          p span {
            letter-spacing: .1em;
            font-size: 16px;
            font-weight: 500;
          }
        }
      }
    }
    .flexbox2 {
      margin-bottom: 70px;
    }

    .career_box {
      background-color: #fff;
      border-radius: 30px;
      padding: 75px 75px 215px;
      margin-bottom: 65px;

      display: grid;
      column-gap: 20px;
      grid-template-columns: repeat(2, 1fr);

      .career {
        .title {
          margin-bottom: 40px;

          font-weight: 500;
          font-size: 26px;
          letter-spacing: .1em;
          color: rgba(255, 116, 139, 1);
        }
        .c_item {
          padding-left: .5em;
          margin-bottom: 10px;

          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
        }
        .dl {
          margin-right: 2em;
          text-wrap: nowrap;
        }
      }
      position: relative;
    }
    .kazari03 {
      content: "";
      position: absolute;
      top: -160px;
      left: 20px;
      width:  clamp(62px, 4.861vw, 70px);
      height: clamp(162px, 12.708vw, 183px);
    }
    .kazari04 {
      content: "";
      position: absolute;
      top:  293px;
      left: clamp(684px, 53.472vw, 770px);
      width:  clamp(426px, 33.333vw, 480px);
      height: clamp(184px, 14.375vw, 207px);
    }
  }

  .gridbox {
    width: 920px;
    max-width: 100%;
    margin: 0 auto;

    display: grid;
    row-gap: 80px;
    column-gap: 80px;
    grid-template-columns: repeat(2, 420px);

    .item_image {
      width:  414px;
      max-width: 100%;
      margin-bottom: 30px;
      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      position: relative;
      .circle {
        position: absolute;
        top:  83px;
        left: 81px;
        border-radius: 50%;
        width:  155px;
        height: 155px;

        display: flex;
        justify-content: center;
        align-items: center;
        p {
          letter-spacing: .1em;
          line-height: 1.4;
          font-size: 21px;
          font-weight: bold;
          text-align: center;
        }
        p span {
          letter-spacing: .1em;
          font-size: 16px;
          font-weight: 500;
        }
      }
    }
    .career_box {
      .title {
        padding-left: .5em;
        letter-spacing: .1em;
        font-size: 20px;
        font-weight: 500;
        color: rgba(255, 116, 139, 1);

        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 116, 139, 1);
        margin-bottom: 20px;
      }
      .c_item {
        padding-left: .5em;
        margin-bottom: 10px;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
      }
      .dl {
        margin-right: 1.5em;
        text-wrap: nowrap;
        text-wrap: nowrap;
      }
    }
  }

  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .inner {
      padding: 0;
    }
    .pink_bg{
    background-color: rgba(255, 116, 139, 0.1);
    position: relative;
    &::before {
      display: none;
    }
  }
    .doctors_box {
      box-sizing: border-box;
      margin-top: 34.5vw;
      padding: 0 0 20.7vw;

      position: relative;
      &::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: -13.8vw;
        width: 100vw;  /* 89.93vw; */
        height: 13.8vw;
        border-radius: 50% / 100% 100% 0 0;
        background-color: rgba(255, 116, 139, 0.1);
      }
    }
    .doctor_title {
      top: -3.8vw;
      font-size: 6.3vw;
    }
    .text_doctors {
      content: "";
      position: absolute;
      top: -19.5vw;
      left: 50%;
      transform: translateX(-50%);
      width:  72vw;
      height: 10vw;
    }
    .kazari01 {
      top: -6vw;
      left: 2vw;
      width:  28.53vw;
      height: 14.97vw;
    }
    .kazari02 {
      top: -10vw;
      left: 69.96vw; /* 64.46vw; */
      width:  25.86vw;
      height: 19.1vw;
    }

    .cont01 {
      margin-bottom: 13.8vw;
      padding: 0 5.5vw;

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

        .imagebox {
          width: 100%;
          margin-bottom: 4.2vw;
        }

        .textbox {
          width: 100%;
          .box_title {
            letter-spacing: .04em;
            line-height: 1.4;
            font-family: serif;
            font-size: 6.3vw;
            margin-bottom: 4.2vw;
          }

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

        .about_wrapper {
          justify-content: center;
        }

        .about_btn::after {
          width: 21.07vw;
          height: 20vw;
          left: -3.67vw;
          bottom: -1.866vw;
        }
      }
      .flexbox1 {
        margin-bottom: 8vw;
        .textbox {
          .box_title {
            padding-top: 16vw;
          }
          .box_text {
            margin-bottom: 0;
          }
        }
        .imagebox{
          position: relative;
          .circle {
            top: 52.33vw;
            left: 59.93vw;
            /*top: 44.33vw;
            left: 51.93vw;*/
            width:  28.26vw;
            height: 28.26vw;
            p {
              font-size: 4.8vw;
            }
            p span {
              font-size: 3.75vw;
            }
          }
        }
      }
      .flexbox2 {
        margin-bottom: 0;
        .textbox {
          position: relative;
        }
        .imagebox {
          margin-bottom: 8vw;
        }
      }

      .career_box {
        border-radius: 8vw;
        padding: 8vw 3.5vw 34.5vw;
        margin-bottom: 0;

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

        .career {
          .title {
            margin-bottom: 4.2vw;
            font-size: 6.3vw;
          }
          .c_item {
            padding-left: .5em;
            margin-bottom: 2.66vw;
            font-size: 4vw;
            letter-spacing: .03em;
          }
          .dl {
            margin-right: 1.5em;
            font-size: 4vw;
          }
          .dd {
            font-size: 4vw;
            letter-spacing: .03em;
          }
        }

      }
      .kazari03 {
        content: "";
        position: absolute;
        top: 29.6vw;
        left: 2vw;
        width:  12.8vw;
        height: 33.33vw;
      }
      .kazari04 {
        content: "";
        position: absolute;
        top:   initial;
        bottom:  -13vw;
        left:     37vw;
        width:  46.4vw;
        height: 26.42vw;
      }
    }

    .gridbox {
      display: grid;
      row-gap: 8vw;
      column-gap: initial;
      grid-template-columns: repeat(1, 1fr);
      padding: 0 5.5vw;
      box-sizing: border-box;

      .item_image {
        width:  74.34vw;
        margin-bottom: 2.4vw;

        .circle {
          top:  13.33vw;
          left: 14.93vw;
          width:  28.26vw;
          height: 28.26vw;
          p {
            font-size: 4.8vw;
          }
          p span {
            font-size: 3.75vw;
          }
        }
      }
      .career_box {
        .title {
          font-size: 4.8vw;

          padding-bottom: 2.66vw;
          border-bottom: 0.26vw solid rgba(255, 116, 139, 1);
          margin-bottom: 5.33vw;
        }
        .c_item {
          padding-left: .5em;
          margin-bottom: 2.66vw;
          letter-spacing: .04em;
        }
        .dl {
          margin-right: 1.5em;
          font-size: 4vw;
        }
        .dd {
          font-size: 4vw;
          letter-spacing: .03em;
        }
      }
    }

  }
}