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

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

    .check_bottom {
      /*text-align: left;*/
    }
  }
}

/* checkbox */
.checkbox{
  .gridbox{
    margin-bottom: 50px;
  }
}
/* sec01 */
.sec01{
  margin-bottom: 123px;
  .cont01{
    margin-bottom: 113px;
    .box_header{
      display: flex;
      column-gap: 25px;
      align-items: center;
      margin-bottom: 27px;
      justify-content: center;
      .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;
      }
    }
    .imagebox{
      text-align: center;
      margin-bottom: 24px;
      position: relative;
    }
    .textbox{
      max-width: 1200px;
      margin: 0 auto;
    }
    .circle{
      display: flex;
      column-gap: 15px;
      position: absolute;
      bottom: 18px;
      .circle_text{
        color: #fff;
        background-color: #4DBACD;
        width: 217px;
        height: 217px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 50vh;
        flex-direction: column;
        line-height: 1;
        font-weight: bold;
        font-size: 28px;
        position: relative;
        span{
          font-size: 19px;
          line-height: 1.5;
          margin-bottom: 15px;
          font-weight: bold;
        }
      }
    }
  }
  .cont01_bottom{
    margin-bottom: 90px;
    margin-top: 60px;
    .box_title{
      max-width: 802px;
      margin: 0 auto;
      border-bottom: 1px dashed #FF748B;
      font-size: 28px;
      font-weight: bold;
      font-family: serif;
      padding-bottom: 34px;
      margin-bottom: 41px;
    }
    .gridbox{
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 662px;
      margin: 0 auto;
      column-gap: 104px;
    }
    .imagebox{
      position: relative;
      &::before{
        content: "";
        position: absolute;
        top: 50%;
        left: -60px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 17.5px 0 17.5px 25px ;
        border-color: transparent transparent transparent #FF748B;
      }
    }
    .box:first-child .imagebox::before{
      content: none;
    }
    .box_text{
      text-align: center;
      line-height: 1.5;
      font-size: 18px;
    }
  }
  .cont02, .cont03{
    .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;
        }
      }
    }
    .pink_box{
      margin-bottom: 150px;
      .pink_title{
        padding: 66px 0 73px;
        text-align: center;
        font-size: 26px;
        font-weight: bold;
      }
      .gridbox{
        column-gap: 59px;
        max-width: 1020px;
        margin: 0 auto 53px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        .box{
          margin: 0 auto;
          max-width: 300px;
          .box_title{
            padding: 12px 0 6px;
            text-align: center;
            font-size: 24px;
          }
        }
        .imagebox{
          text-align: center;
        }

      }

    }
  }
  .cont02{
    .flexbox{
      .imagebox{
        position: relative;

      }
    }
  }
  .cont04{
    .box{
      max-width: 1000px;
      margin: 0 auto;
      background-color: #EEEEEE;
      border-radius: 30px;
    }
    .box_header{
      display: flex;
      align-items: center;
      padding: 40px 0 20px;
      column-gap: 30px;
    }
    .check{
      background-color: #F991A2;
      color: #fff;
      font-size: 28px;
      font-weight: 350;
      line-height: 1;
      padding:0 23px 0 115px;
      height: 52px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    .box_title{
      font-size: 25px;
      font-weight: bold;
      font-family: serif;
    }
    .textbox{
      padding: 0 90px 45px;
    }
  }
  @media screen and (max-width: 768px) {
    overflow: hidden;
    .cont01{
      margin-bottom: 16vw;
      .box_header {
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        column-gap: 3vw;
        margin-bottom: 3vw;
        .box_title {
          font-size: 5vw;
        }
        .num {
          font-size: 4.8vw;
        }
      }
      .imagebox {
        margin-bottom: 4.27vw;
        &::before{
          display: none;
        }
      }
      .textbox {
        max-width: 100%;
        margin: 0 auto 6.4vw;
        font-size: 4vw;
        text-align: justify;
      }
    }
    .cont01_bottom{
      margin-bottom: 10vw;
      margin-top: 10vw;
      .box_title{
        font-size: 5vw;
        padding-bottom: 5vw;
        margin-bottom: 5vw;
      }
      .gridbox{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 15vw;
      }
      .imagebox{
        position: relative;
        width: 60%;
        margin: 0 auto 3vw;
        &::before{
          display: unset;
          content: "";
          position: absolute;
          top: -9vw;
          left: 50%;
          transform: translateX(-50%);
          width: 0;
          height: 0;
          border-style: solid;
          border-width: 4vw 4vw 0 4vw;
          border-color: #FF748B transparent transparent transparent;
        }
      }
      .box_text{
        font-size: 4vw;
      }
    }
    .cont02, .cont03 {
      .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;
      }

      .pink_box {
        margin-bottom: 10vw;

        .pink_title {
          padding: 8vw 0 9vw;
          font-size: 5.3vw;
          letter-spacing: 0.1em;
        }

        .gridbox {
          grid-template-columns: repeat(1, minmax(0, 1fr));
          column-gap: 0;
          row-gap: 10vw;
          margin-bottom: 10vw;
          padding: 0 5vw;

          .box {
            max-width: 100%;

            .box_title {
              font-size: 4.8vw;
              padding: 0 0 3vw;
            }

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

          .imagebox img {
            width: 100%;
            height: auto;
          }
        }
      }
    }
    .cont02{
    .flexbox{
      .imagebox{
        &::before{
          width: 52vw;
          height: 79vw;
          right: -11vw;
          bottom: 50%;
          overflow-x: hidden;
          transform: translateY(50%);
          background: url(/kagoshima/images/inlay-crown/sec01_2_float.webp) center / contain no-repeat;
        }
      }
    }
    }
    .cont04{
      .box_header{
        padding: 8vw 0 5vw;
        column-gap: 0;
        row-gap: 3vw;
        flex-direction: column;
        align-items: flex-start;
      }
      .check{
        font-size: 4.5vw;
        padding:0 10vw 0 30vw;
        height: 10vw;
      }
      .box_title{
        font-size: 5vw;
        padding: 0 5vw;
      }
      .textbox{
        padding: 0 5vw 10vw;
      }
    }

  }
}

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

  .kind_list {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto 82px;

    .kind_title {
      min-height: 70px;
      border-left: 17px solid rgba(255, 116, 139, 1);
      margin-bottom: 20px;

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

      padding-left: 21px;
      letter-spacing: .1em;
      font-family: serif;
      font-size: 28px;
      font-weight: bold;
    }
    .kind_text {
      padding: 0 18px;
      margin-bottom: 40px;
      font-size: 18px;
      letter-spacing: .1em;
    }

    .compare_box {
      width: 960px;
      max-width: 100%;
      margin: 0 auto;

      display: grid;
      row-gap: 0px;
      column-gap: 59px;
      grid-template-columns: repeat(2, 450px);

      .item {
        padding: 30px 25px;
        border-radius: 10px;

        .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);
        }
        .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;
          font-size: 18px;
          position: relative;
        }
        .list_item::before {
          content: "・";
          position: absolute;
          left: .5em;
          top: 0;
          font-size: 18px;
          font-weight: bold;
        }
      }
      .item:nth-of-type(1) {
        background-color: rgba(245, 245, 245, 1);
      }
      .item:nth-of-type(2) {
        background-color: rgba(234, 234, 234, 1);
      }
    }
  }
  .kind_list:not(:last-of-type) {
    padding-bottom: 82px;
    border-bottom: 1px solid rgba(255, 116, 139, 1);
  }

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

    .kind_list {
      margin: 0 auto 13.8vw;

      .kind_title {
        min-height: 18.66vw;
        border-left: 4.53vw solid rgba(255, 116, 139, 1);
        margin-bottom: 4.2vw;

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

        padding-left: 5.6vw;
        font-size: 5vw;
      }
      .kind_text {
        padding: 0;
        margin-bottom: 4.2vw;
        font-size: 4vw;
        letter-spacing: .1em;
      }

      .compare_box {
        row-gap: 4.2vw;
        column-gap: initial;
        grid-template-columns: repeat(1, 1fr);

        .item {
          padding: 8vw 6.66vw;
          border-radius: 2.66vw;

          .merit_title {
            padding-bottom: 2.66vw;
            border-bottom: 0.26vw solid rgba(205, 98, 77, 1);
            margin-bottom: 5.33vw;
            font-size: 4.8vw;
          }
          .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;
            letter-spacing: .1em;
            line-height: 1.5;
            font-size: 4vw;
            position: relative;
          }
          .list_item::before {
            content: "・";
            position: absolute;
            left: .5em;
            top: 0;
            font-size: 4vw;
            font-weight: bold;
          }
        }
      }
    }
    .kind_list:not(:last-of-type) {
      padding-bottom: 13.8vw;
      border-bottom: 0.26vw solid rgba(255, 116, 139, 1);
    }
  }
}

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

  .sec_header{
    margin-bottom: 20px;
  }
  .cautionarynote{
    text-align: right;
    margin-bottom: 55px;
  }
  .price_header{
    text-align: center;
  }
  .price_title{
    font-family: serif;
    font-weight: bold;
    font-size: 28px;
    border-bottom: 1px solid #FF748B;
    display: inline-block;
    margin-bottom: 40px;
    padding-bottom: 15px;
  }
  .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;
    }
    .cautionarynote{
        text-align: right;
        margin-bottom: 10vw;
      }
      .price_title{
        font-size: 5vw;
        margin-bottom: 5vw;
        padding-bottom: 3vw;
      }
    .about_btn {
      position: relative;
    }
    .about_btn::after {
      width: 21.07vw;
      height: 20vw;
      left: 0;
      bottom: -1.866vw;
    }

  }
}

/* sec04 */
.sec04 {
  margin-bottom: 163px;
  .flexbox{
    column-gap: 53px;
    align-items: flex-start;
    .imagebox{
      width: 81.3%;
    }
    .textbox{
      width: 100%;
      .box_text{
        margin-bottom: 80px;
      }
    }
    .about_wrapper{
      display: flex;
      justify-content: flex-start;
    }
    .about_btn {
      position: relative;
      z-index: 1;
      margin-left: 30px;
    }
    .about_btn::after{
      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;

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

      .imagebox {
        width: 100%;
      }

      .textbox {
        width: 100%;

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

      .about_wrapper {
        justify-content: center;
      }
      .about_btn {
        margin-left: initial;
      }
      .about_btn::after {
        width: 21.07vw;
        height: 20vw;
        left: -3.67vw;
        bottom: 0;
      }
    }
  }
}

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