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

  .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 {
  .sec_title {
    letter-spacing: 0.03em;
  }
  @media screen and (max-width: 768px) {
  }
}

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

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

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

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

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

      .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);
    }
  }

  .title {
    letter-spacing: .1em;
    font-family: serif;
    font-size: 28px;
    font-weight: bold;
    text-align: center;

    margin: 0 40px 63px;
    padding: 35px 0;
    border-top:    1px solid rgba(255, 116, 139, 1);
    border-bottom: 1px solid rgba(255, 116, 139, 1);
  }

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

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

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

      .item_subtitle {
        margin-bottom: -5px;
        letter-spacing: .1em;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
      }
      .item_title {
        margin-bottom: 26px;
        letter-spacing: .2em;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
      }
      .item_image {
        text-align: center;
        margin-bottom: 35px;
        img {
          width:  382px;
          height: 172px;
          object-fit: contain;
        }
      }

      .dbox {
        .dline {
          display: flex;
        }
        .term {
          margin:  15px;
          padding: 10px 5px;

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

          letter-spacing: .5em;
          font-size: 18px;
          text-align: center;
          writing-mode: vertical-rl;
        }
        .data {
          padding-left: 1em;
          display: flex;
          justify-content: center;
          align-items: center;

          letter-spacing: .03em;
          line-height: 1.8;
          font-size: 18px;
        }
      }
    }
    .item:nth-of-type(1) {
      border: 2px solid rgba(255, 116, 139, 1);

      .dbox {
        .term {
          background: rgba(255, 218, 232, 1);
        }
      }
      .dbox:not(:last-of-type) {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 2px dotted rgba(255, 116, 139, 1);
      }

    }
    .item:nth-of-type(2) {
      border: 2px solid rgba(89, 89, 89, 1);
      .dbox {
        .term {
          background: var(--Fills-Primary, rgba(120, 120, 120, 0.2));
        }
      }
      .dbox:not(:last-of-type) {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 2px dotted rgba(89, 89, 89, 1);
      }
    }
  }

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

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

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

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

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

    .title {
      letter-spacing: .1em;
      font-size: 5.3vw;

      margin: 0 5vw 13.8vw;
      padding: 4.2vw 0;
      border-top:    0.26vw solid rgba(255, 116, 139, 1);
      border-bottom: 0.26vw solid rgba(255, 116, 139, 1);
    }

    .compare_list {
      display: grid;
      row-gap: 8vw;
      column-gap: initial;
      grid-template-columns: repeat(1, 1fr);

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

        .item_subtitle {
          margin-bottom: -1.33vw;
          font-size: 4vw;
        }
        .item_title {
          margin-bottom: 4.2vw;
          letter-spacing: .2em;
          font-size: 5vw;
        }
        .item_image {
          margin-bottom: 4.2vw;
          img {
            width:  38.4vw;
            height: 32.42vw;
          }
        }

        .dbox {
          .dline {
            display: flex;
          }
          .term {
            margin: 2vw;
            padding: 2.66vw 1.33vw;

            letter-spacing: .5em;
            font-size: 4.2vw;
          }
          .data {
            padding-left: .4em;
            display: flex;
            justify-content: center;
            align-items: center;

            letter-spacing: .03em;
            line-height: 1.8;
            font-size: 4vw;
          }
        }
      }
      .item:nth-of-type(1) {
        border: 0.53vw solid rgba(255, 116, 139, 1);

        .dbox {
          .term {
            background: rgba(255, 218, 232, 1);
          }
        }
        .dbox:not(:last-of-type) {
          margin-bottom:  2.33vw;
          padding-bottom: 2.33vw;
          border-bottom: 2px dotted rgba(255, 116, 139, 1);
        }

      }
      .item:nth-of-type(2) {
        border: 0.53vw solid rgba(89, 89, 89, 1);
        .dbox {
          .term {
            background: var(--Fills-Primary, rgba(120, 120, 120, 0.2));
          }
        }
        .dbox:not(:last-of-type) {
          margin-bottom:  1.33vw;
          padding-bottom: 0;
          border-bottom: 2px dotted rgba(89, 89, 89, 1);
        }
      }
    }
  }
}

/* sec02 */
.sec02{
  .cont01, .cont02, .cont03{
    .box_title{
      font-size: 26px;
      font-weight: bold;
    }
    .flexbox{
      width: 1200px;
      max-width: 100%;
      margin: 0 auto;

      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;
        }

      }

    }
  }
  @media screen and (max-width: 768px) {
    .cont01, .cont02 {
      .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: 4.8vw; font-feature-settings: "palt";}
          .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;
          }
        }
      }
    }
  }
}

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

  .link_grid {
    width: 1200px;
    height: 364px;
    max-width: 100%;
    margin: 0 auto 97px;
    background: url(/kagoshima/images/whitening/sec03_head_bg.webp) center/contain no-repeat;

    .list {
      width: 760px;
      max-width: 100%;
      margin-left: 31px;
      padding-top: 72px;

      display: grid;
      column-gap: 16px;
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .whitening {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto 96px;

    .whitening_title {
      letter-spacing: .1em;
      font-family: serif;
      font-size: 28px;
      font-weight: bold;
      text-align: center;
      padding-bottom: 34px;
      border-bottom: 1px solid rgba(255, 116, 139, 1);
      margin-bottom:  50px;
    }

    .flexbox {
      margin-bottom: 71px;
      column-gap: 53px;
      align-items: flex-start;
      .imagebox{
        width: 81.3%;
      }
      .textbox{
        width: 100%;
        .box_text{
          margin-bottom: 80px;
        }
      }
    }

    .checkbox {
      width: 1996px;
      max-width: 100%;
      margin: 0 auto 108px;
      display: flex;
      align-items: center;

      .left {
        width: 50%;
        .check_title {
          font-family: sans-serif;
          font-size: 26px;
          font-weight: 500;
        }
      }
      .gridbox {
        width: 50%;
        padding: 60px 0;
        margin-bottom: 0;
        grid-template-columns: repeat(1, 1fr);
      }
    }

    .flow_list {
      margin: 0 auto 96px;
      .title {
        width: 586px;
        max-width: 100%;
        margin: 0 auto 41px;

        letter-spacing: .1em;
        font-family: serif;
        font-size: 28px;
        font-weight: bold;
        text-align: center;
        padding-bottom: 34px;
        border-bottom: 1px solid rgba(255, 116, 139, 1);
      }

      .list {
        margin: 0 auto;
        display: grid;
        .item {
          .item_image {
            text-align: center;
            margin: 0 auto 20px;
            img {
              width: 153px;
              object-fit: contain
            }
          }
          .item_text {
            line-height: 1.6;
            font-size: 18px;
            text-align: center;
            text-wrap: nowrap;
          }
        }
        .item:not(:last-of-type) {
          .item_image {
            position: relative;
            &::before {
                content: "";
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: -16px;
                display: inline-block;
                width:  23px;
                height: 32px;
                background: #ff748b;
                clip-path: polygon(0 0, 0 100%, 100% 50%);
            }
          }
        }
      }
    }
  }
  .home {
    .flow_list {
      .list {
        width: 1200px;
        max-width: 100%;
        grid-template-columns: repeat(5, 1fr);
      }
    }
  }
  .office {
    .flow_list {
      .list {
        width: 940px;
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
      }
    }
  }

  .pink_box{
    width: 1118px;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 150px;
    padding: 0 69px 75px;

    .pink_title{
      padding: 66px 0 73px;
      text-align: center;
      font-size: 26px;
      font-weight: bold;
    }

    .flexbox{
      column-gap: 53px;
      align-items: flex-start;
      .imagebox{
        width: 81.3%;
      }
      .textbox{
        width: 100%;
        .box_text{
          margin-bottom: 32px;
        }
      }
      .about_wrapper{
        display: flex;
        justify-content: flex-start;
      }
      .about_btn {
        z-index: 1;
        background-color: rgba(163, 228, 232, 1);
      }
      .about_btn::after{
        z-index: -1;
        width: 113px;
        top:  0;
        left: 0;
        background: url(/kagoshima/images/whitening/green_img.webp) center/contain no-repeat;
      }
    }
  }

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

    .link_grid {
      width: 89.33vw;
      height: 79.2vw;
      max-width: 100%;
      margin: 0 auto 2vw;
      background: url(/kagoshima/images/whitening/sec03_head_bg_sp.webp) center/contain no-repeat;
    }

    .whitening {
      margin: 0 auto 13.8vw;

      .whitening_title {
        letter-spacing: .1em;
        font-size: 5vw;
        padding-bottom: 1.33vw;
        border-bottom: 0.26vw solid rgba(255, 116, 139, 1);
        margin-bottom: 8vw;
      }

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

        .imagebox{
          width: 100%;
        }
        .textbox{
          width: 100%;
          .box_text{
            margin-bottom: 0;
          }
        }
      }

      .checkbox {
        margin: 0 auto 15vw;
        display: flex;
        align-items: center;
        flex-direction: column;

        .left {
          width: 100%;
          .check_title {
            font-family: sans-serif;
            font-size: 4.6vw;
            font-weight: 500;
          }
        }
        .gridbox {
            width: 85%;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            column-gap: 0;
            row-gap: 3vw;
            padding: 0 5vw;
            margin-bottom: 8vw;
        }
      }

      .flow_list {
        margin: 0 auto 13.8vw;
        .title {
          margin: 0 auto 8vw;

          letter-spacing: .1em;
          font-size: 5vw;
          padding-bottom: 1.33vw;
          border-bottom: 0.26vw solid rgba(255, 116, 139, 1);
          margin-bottom: 8vw;
        }

        .list {
          margin: 0 auto;
          display: grid;
          row-gap: 13.8vw;

          .item {
            .item_image {
              text-align: center;
              margin: 0 auto 4.2vw;
              img {
                width: 46.85vw; /* 65.86vw; */
                min-width: initial;
                object-fit: contain
              }
            }
            .item_text {
              height: 3em;
              display: flex;
              justify-content: center;
              align-items: center;

              line-height: 1.6;
              font-size: 4.2vw;
              text-wrap: nowrap;
            }
          }
          .item:not(:last-of-type) {
            .item_image {
              position: relative;
              &::before {
                  content: "";
                  position: absolute;
                  top: initial;
                  bottom: -27vw;
                  left: 50%;
                  transform: translateX(-50%);
                  right: initial;
                  display: inline-block;
                  width:  7.53vw;
                  height: 5.13vw;
                  clip-path: polygon(0 0, 100% 0%, 50% 100%);
              }
            }
          }
        }
      }
    }
    .home {
      .flow_list {
        .list {
          grid-template-columns: repeat(1, 1fr);
        }
      }
    }
    .office {
      .flow_list {
        .list {
          grid-template-columns: repeat(1, 1fr);
        }
      }
    }

    .pink_box {
      margin-bottom: 10vw;
      padding: 6vw 5.5vw;

      .pink_title {
        padding: 2vw 0 4.2vw;
        font-size: 4.8vw;
        letter-spacing: 0.1em;
      }

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

        .imagebox {
          width: 100%;
          margin-bottom: 0;
        }
        .textbox {
          width: 100%;
          .box_text {
            font-size: 4vw;
            margin-bottom: 8vw;
          }
        }

        .about_wrapper {
          justify-content: center;
        }

        .about_btn::after {
          width: 21.07vw;
          left: 0;
        }
      }

    }
  }
}

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

  .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;

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

  }
}

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

  .kind_list {
    box-sizing: border-box;
    width: 1200px;
    max-width: 100%;

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

    margin: 0 auto;
    padding: 35px 45px;
    border-bottom: 1px solid rgba(255, 116, 139, 1);

    .kind_title {
      max-width: 35%;
      min-width: 35%;

      letter-spacing: .1em;
      font-family: serif;
      font-size: 28px;
      font-weight: bold;
    }
    .kind_text {
      max-width: 65%;
      min-width: 65%;

      letter-spacing: .1em;
      font-size: 18px;
    }
  }
  .kind_list:last-of-type {
    margin-bottom: 90px;
  }

  .bottom_text {
    width: 850px;
    max-width: 100%;
    margin: 0 auto;

    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
  }

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

    .kind_list {
      margin: 0 auto 8vw;
      padding-bottom: 13.8vw;
      border-bottom: 0.26vw solid rgba(255, 116, 139, 1);

      display: block;
      padding: 0 5.5vw 8vw;

      .kind_title {
        max-width: initial;
        min-width: initial;
        margin-bottom: 4.2vw;
        font-size: 5vw;
      }
      .kind_text {
        max-width: initial;
        min-width: initial;
        font-size: 4vw;
      }
    }
    .kind_list:last-of-type {
      margin-bottom: 8vw
    }
    .bottom_text {
      font-size: 4vw;
    }
  }
}

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