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

  .flexbox{
    margin-bottom: 84px;
    padding: 0 40px;
    column-gap: 53px;
    align-items: flex-start;
    .imagebox{
      width: 91.2%; /*81.3%;*/
      img {
        width: 100%;
        object-fit: contain;
      }
    }
    .textbox{
      width: 100%;

      .box_title {
          letter-spacing: .1em;
          font-size: 28px;
          font-weight: bold;
          font-family: serif;
          margin-bottom: 20px;
      }
      .box_text{
        margin-bottom: 80px;
      }
    }
    .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;
    }
  }

  .compare_list {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto 84px;

    display: grid;
    row-gap: 0px;
    column-gap: 40px;
    grid-template-columns: repeat(3, 340px);

    .item {
      border-radius: 30px;
      padding: 45px 28px;

      .item_title {
        margin-bottom: 25px;
        letter-spacing: .2em;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
      }
      .item_image {
        text-align: center;
        margin-bottom: 35px;
        img {
          width:  180px;
          height: 152px;
          object-fit: contain;
        }
      }

      .merit {
        min-height: 14em;
        margin-bottom: 45px;
        .merit_title {
          padding-bottom: 10px;
          border-bottom: 1px solid rgba(205, 98, 77, 1);
          margin-bottom: 20px;
          font-size: 18px;
          font-weight: bold;
          text-align: center;
          color: rgba(205, 98, 77, 1);
        }
        .list_item {
          padding: 0 0 15px 35px;
          letter-spacing: .1em;
          line-height: 1.5;
          position: relative;
        }
        .list_item::before {
          content: "";
          position: absolute;
          left: 0;
          top: 3px;
          background: url(/kagoshima/images/denture/maru.webp) center /contain no-repeat;
          width:  21px;
          height: 21px;
        }
      }

      .demerit {
        min-height: 5em;
        .demerit_title {
          padding-bottom: 10px;
          border-bottom: 1px solid rgba(106, 98, 101, 1);
          margin-bottom: 20px;
          font-size: 18px;
          font-weight: bold;
          text-align: center;
          color: rgba(106, 98, 101, 1)
        }

        .list_item {
          padding: 0 0 15px 35px;
          letter-spacing: .1em;
          line-height: 1.5;
          position: relative;
        }
        .list_item::before {
          content: "";
          position: absolute;
          left: 0;
          top: 3px;
          background: url(/kagoshima/images/denture/batsu.webp) center /contain no-repeat;
          width:  22px;
          height: 21px;
        }
      }
    }

    .item:nth-of-type(1) {
      background-color: rgba(245, 245, 245, 1);
    }

    .item:nth-of-type(2),
    .item:nth-of-type(3) {
      background-color: rgba(234, 234, 234, 1);
    }

  }

  .bottom_text {
    margin-bottom: 60px;
    line-height: 1.5;
    font-family: serif;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
  }

  .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/denture/btn_kazari01.webp) center / contain no-repeat;
  }

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

    .flexbox {
      margin-bottom: 13.8vw;
      padding: 0;
      flex-direction: column;
      column-gap: 0;
      row-gap: 5.33vw;

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

      .textbox {
        width: 100%;
        .box_title {
            font-size: 5vw;
            margin-bottom: 3vw;
        }
        .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;
      }
    }

    .compare_list {
      margin: 0 auto 13.8vw;

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

      .item {
        border-radius: 8vw;
        padding: 8vw 5.5vw;

        .item_title {
          margin-bottom: 4.2vw;
          letter-spacing: .2em;
          font-size: 5vw;
          font-weight: bold;
          text-align: center;
        }
        .item_image {
          margin-bottom: 4.2vw;
          img {
            width:  38.4vw;
            height: 32.42vw;
          }
        }

        .merit {
          min-height: initial;
          margin-bottom: 4.2vw;
          .merit_title {
            padding-bottom: 2.66vw;
            border-bottom: 0.26vw solid rgba(205, 98, 77, 1);
            margin-bottom: 5.33vw;
            font-size: 4.8vw;
          }
          .list_item {
            padding: 0 0 4vw 9.33vw;
            font-size: 4vw;
            position: relative;
          }
          .list_item::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.8vw;
            width:  5.6vw;
            height: 5.6vw;
          }
        }

        .demerit {
          min-height: initial;
          .demerit_title {
            padding-bottom: 2.66vw;
            border-bottom: 0.26vw solid rgba(106, 98, 101, 1);
            margin-bottom: 5.33vw;
            font-size: 4.8vw;
          }

          .list_item {
            padding: 0 0 4vw 9.33vw;
            font-size: 4vw;
            position: relative;
          }
          .list_item::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.8vw;
            width:  5.86vw;
            height: 5.6vw;
          }
        }
      }

      .item:nth-of-type(1) {
        background-color: rgba(245, 245, 245, 1);
      }

      .item:nth-of-type(2),
      .item:nth-of-type(3) {
        background-color: rgba(234, 234, 234, 1);
      }

    }

    .btn_box {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .bottom_text {
      font-size: 5vw;
      text-align: justify;
      margin-bottom: 12vw;
    }

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

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

  .cont01 {
    .box_header{
      display: flex;
      column-gap: 25px;
      justify-content: center;
      align-items: center;
      margin-bottom: 26px;
      .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;
      }
    }

    .flexbox {
      flex-direction: column;
      column-gap: 66px;
      margin-bottom: 90px;

      .imagebox{
        width: 100%;
        margin-bottom: 26px;
        img {
          width: 100%;
        }
      }
    }
  }

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

    .cont01 {
      .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; }
      }

      .flexbox {
        flex-direction: column;
        column-gap: 0;
        margin-bottom: 10vw;

        .textbox {
          display: contents;
        }

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

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

    .cont02, .cont03, .cont04 {
      .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;
      }
    }
  }
}

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

  .sec_header {
    flex-direction: column;
  }

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

  .cont01 {
    max-width: 1200px;
    margin: 0 auto 100px;
    counter-reset: cnt;
    .flexbox{
      column-gap: 57px;
      margin-bottom: 92px; /*62px;*/
      align-items: flex-start;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        bottom: -60px; /*-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;
      }
      .box_text {
        padding-bottom: 40px;
      }
    }
    .imagebox{
      width: clamp(293px, 22.916vw, 330px);
      min-width: 27.5%;
      max-width: 27.5%;
      img {
        width:  100%;
        height: 100%;
        object-fit: contain;
      }
    }
    .textbox{
      counter-reset: number 0;
      .box_title{
        font-family: serif;
        font-weight: bold;
        font-size: 25px;
      }
      .box_header{
        display: flex;
        border-bottom: 2px solid#F991A2;
        column-gap: 30px;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 10px;
      }
      .num{
        width: 90px;
        height: 90px;
        border-radius: 50vh;
        color: #fff;
        background-color: #F991A2;
        font-family: serif;
        font-size: 19px;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        span{
          font-size: 25px;
          font-weight: bold;
          line-height: 1;
        }

      }

      .about_wrapper{
        display: flex;
        justify-content: center;
      }
      .about_btn {
        position: relative;
        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;

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

    .cont01 {
      margin: 0 auto 13.8vw;
      .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: 100%;
        max-width: initial;
        min-width: initial;
        margin-bottom: 4.2vw;
      }

      .textbox {
        width: 100%;

        .box_header {
          order: 1;
          column-gap: 3vw;
          margin-bottom: 3vw;
          padding-bottom: 3vw;
        }

        .num {
          width: 17.7vw;
          height: 17.7vw;
          font-size: 4vw;
          line-height: 1.5;
          span{
            font-size: 5vw;
          }
        }

        .box_title {
          font-size: 5vw;
          line-height: 1.5;
        }
        .box_text {
          font-size: 4vw;
        }

        .about_wrapper {
          justify-content: center;
        }

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

      }
    }

  }
}

/* sec04 */
.sec04 {
  margin-bottom: 140px;

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

  .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/denture/btn_kazari01.webp) center / contain no-repeat;
  }

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

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

    .price_box:nth-of-type(2) {
      .cautionarynote {
        letter-spacing: .05em;
      }
    }

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

  }
}

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