@charset "UTF-8";

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

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

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

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

    .item {
      padding: 30px 25px;

      .merit_title {
        margin-bottom: 40px;
        font-size: 24px;
        font-weight: 500;
        text-align: center;
      }
      .demerit_title {
        margin-bottom: 40px;
        font-size: 24px;
        font-weight: 500;
        text-align: center;
      }
      .list_item {
        padding-left: 45px;
        margin-bottom: 20px;
        letter-spacing: .1em;
        line-height: 1.3;
        font-size: 18px;
        position: relative;
      }
      .list_item::before {
        content: "";
        position: absolute;
        left: .5em;
        top: 0;
        font-weight: bold;
        width: 20px;
        height: 20px;
        background: url(/taniyama/images/common/star.webp) center / contain no-repeat;
      }
    }
    .item:nth-of-type(1) {
      background-color: #F9F7E5;
      border: 2px solid #F9EA00;
    }
    .item:nth-of-type(2) {
      background-color: #F5F5F5;
      border: 2px solid #D7D6C5;
      .list_item::before {
        background: url(/taniyama/images/common/star_gray.webp) center / contain no-repeat;
      }
    }
  }

  .title {
    letter-spacing: .1em;
    font-size: 24px;
    font-weight: 500;
    text-align: center;

    margin: 0 40px 45px;
    padding: 30px 0;
    position: relative;
    &::before{
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      width: 275px;
      height: 2px;
      margin: 0 auto;
      background: #ECD300;
      letter-spacing: 0.11em;
    }
  }

  .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 30px 10px;

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

      .dbox {
        .term {
          background: #F9F7E5;
        }
      }
      .dbox:not(:last-of-type) {
        border-bottom: 2px dashed #ECD300;
      }

    }
    .item:nth-of-type(2) {
      border: 2px solid #595959;
      .dbox {
        .term {
          background: var(--Fills-Primary, rgba(120, 120, 120, 0.2));
        }
      }
      .dbox:not(:last-of-type) {
        border-bottom: 2px dashed #444444;
      }
    }
  }

  @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: 5vw;

        .merit_title {
          margin-bottom: 5vw;
          font-size: 4.8vw;
        }
        .demerit_title {
          margin-bottom: 5vw;
          font-size: 4.8vw;
        }
        .list_item {
          padding: 0 0 4vw 9.33vw;
          letter-spacing: .1em;
          line-height: 1.5;
          font-size: 4vw;
          position: relative;
          margin-bottom: 0;
        }
        .list_item::before {
          left: .5em;
          top: 50%;
          width: 5vw;
          height: 5vw;
          transform: translateY(-100%);
        }
      }
    }

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

      margin: 0 5vw 5vw;
      padding: 0 0 5vw;
    }

    .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) {

        .dbox:not(:last-of-type) {
          margin-bottom:  2.33vw;
          padding-bottom: 2.33vw;
        }

      }
      .item:nth-of-type(2) {

        .dbox:not(:last-of-type) {
          margin-bottom:  1.33vw;
          padding-bottom: 0;
        }
      }
    }
  }
}

/* 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: 56px;
      margin-bottom: 90px;
      .imagebox{
        width: 77.7%;
      }
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        column-gap: 25px;
        align-items: center;
        margin-bottom: 40px;
        .box_title{
          font-size: 28px;
          font-weight: 500;
          line-height: 1.3;
        }
        .num{
          font-weight: bold;
          font-family: 'Zen Maru Gothic', sans-serif;
          letter-spacing: 0.5em;
          font-size: 30px;
        }
      }
    }
    .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, .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: 1vw;
          margin-bottom: 3vw;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;

          .box_title { font-size: 4.5vw; 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: 341px;
    max-width: 100%;
    margin: 0 auto 80px;
    background: url(/taniyama/images/whitening/sec03_1.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;
      padding-left: 50px;
      font-size: 28px;
      font-weight: 500;
      padding-bottom: 20px;
      margin-bottom: 20px;
      border-bottom: 2px solid #6EC8AF;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        left: .5em;
        bottom: 50%;
        transform: translateY(10%);
        width: 23px;
        height: 22px;
        background: url(/taniyama/images/common/star_green.webp) center / contain no-repeat;
      }
    }

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

    .osusume_box {
      max-width: 1000px;
      margin: 0 auto 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: 125px;
      background-color:rgba(110,200,175,0.5);
      border-radius: 20px;

      .left {
        width: 182px;
        height: 182px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        background:radial-gradient(circle, #fff 50%, #fff 40%, rgba(255,255,255,0) 70%);
        &::before{
          content: "";
          position: absolute;
          left: 0;
          top: 30px;
          width: 38px;
          height: 37px;
          background: url(/taniyama/images/whitening/kazari01.webp) center / contain no-repeat;
        }
      }
      .star{
        display: flex;
        align-items: center;
      }
      .check_item{
        display: flex;
        align-items: center;
        column-gap: 15px;
      }
      .check_title {
        font-size: 19px;
        font-weight: 500;
        span{
          font-size: 24px;
        }
      }
      .check_text{
        font-size: 18px;
        line-height: 1.3;
      }
    .gridbox {
      width: 50%;
      padding: 60px 0;
      margin-bottom: 0;
      row-gap: 10px;
      grid-template-columns: repeat(1, 1fr);
    }
  }

    .flow_list {
      margin: 0 auto 80px;
      padding-bottom: 60px;
      border-bottom: 2px solid #888888;
      .title {
        width: 1050px;
        max-width: 100%;
        margin: 0 auto 60px;

        letter-spacing: .1em;
        font-size: 24px;
        font-weight: 500;
        text-align: center;
        padding-bottom: 30px;
        background-image: repeating-linear-gradient(
          to right,
          #6EC8AF 0,
          #6EC8AF 8px,
          transparent 8px,
          transparent 15px
        );
        background-position: bottom;
        background-size: 100% 2px;
        background-repeat: repeat-x;
      }

      .list {
        margin: 0 auto;
        display: grid;
        .item {
          .item_image {
            text-align: center;
            margin: 0 auto 20px;
            img {
              width: 182px;
              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: #6EC8AF;
                clip-path: polygon(0 0, 0 100%, 100% 50%);
            }
          }
        }
      }
    }
  }
  .home {
    .flow_list {
      .list {
        width: 1053px;
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
      }
    }
  }
  .office {
    .whitening_title{
      border-bottom: 2px solid #7FCFDD;
      &::before{
        background: url(/taniyama/images/common/star_blue.webp) center / contain no-repeat;
      }
    }
    .osusume_box{
      background-color: rgba(127,207,211,0.5);
    }
    .flow_list {
      .title{
        background-image: repeating-linear-gradient(
          to right,
          #7FCFDD 0,
          #7FCFDD 8px,
          transparent 8px,
          transparent 15px
        );
        
      }
      .list {
        width: 1053px;
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
        .item:not(:last-of-type){
          .item_image::before{
            background: #7FCFDD;
          }
        }
      }
    }
  }

  .dual {
    .whitening_title{
      border-bottom: 2px solid #A591C1;
      &::before{
        background: url(/taniyama/images/common/star_purple.webp) center / contain no-repeat;
      }
    }
    .osusume_box{
      background-color: rgba(165,145,193,0.4);
    }
    .flow_list {
      .title{
        background-image: repeating-linear-gradient(
          to right,
          #A591C1 0,
          #A591C1 8px,
          transparent 8px,
          transparent 15px
        );
        
      }
      .list {
        width: 1053px;
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
        .item:not(:last-of-type){
          .item_image::before{
            background: #A591C1;
          }
        }
      }
    }
  }

  .yellow_box{
    background-color: #fff;
    .yellow_title{
      position: relative;
      padding-left: 35px;
      &::before{
        content: "";
        position: absolute;
        left: .5em;
        bottom: 50%;
        transform: translateY(50%);
        width: 18px;
        height: 17px;
        background: url(/taniyama/images/common/star.webp) center / contain no-repeat;
      }
    }
    .yellow_imagebox{
      width: 71%;
    }
    .about_wrapper{
      margin-top: 20px;
    }
    .about_btn{
      text-align: left;
      background-color: rgba(39,167,175,0.4);
      &::before{
        background: url(/taniyama/images/common/yajirushi_blue.webp) center / contain no-repeat;
      }
    }
  }

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

    .link_grid {
      position: relative;
      width: 93.3vw;
      height: 59.2vw;
      max-width: 100%;
      margin: 0 auto 10vw;
      background: url(/taniyama/images/whitening/sec03_1_sp.webp) center/contain no-repeat;
      &::before{
        content: "";
        position: absolute;
        width: 70.3vw;
        height: 61.3vw;
        left: -9vw;
        bottom: -5vw;
        overflow: hidden;
        background: url(/taniyama/images/whitening/sec03_1_sp_float.webp) center/contain no-repeat;
      }
    }

    .whitening {
      margin: 0 auto 13.8vw;

      .whitening_title {
        letter-spacing: .1em;
        font-size: 5vw;
        padding-bottom: 2vw;
        padding-top: 2vw;
        margin-bottom: 3vw;
        padding-left: 10vw;
        &::before{
          width: 5vw;
          height: 5vw;
          transform: translateY(50%);
        }
      }

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

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

      .osusume_box {
        margin: 0 auto 15vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 0 5vw;
        row-gap: 3vw;

        .left {
          width: 40vw;
          height: 40vw;
          &::before{
            width: 9vw;
            height: 9vw;
            top: 8vw;
          }
          
          .check_title {
            font-size: 4vw;
            font-weight: 500;
            span{
              font-size: 6vw;
            }
          }
        }
        .check_item{
            margin-bottom: 0;
            column-gap: 3vw;
          }
        .check_text{
          font-size: 4vw;
          width: 100%;
          margin-bottom: 0;
        }
      .star{
        width: 7%;
      }
        .gridbox {
            width: 100%;
            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 10vw;
        padding-bottom: 10vw;
        .title {
          margin: 0 auto 8vw;

          letter-spacing: .1em;
          font-size: 5vw;
          padding-bottom: 1.33vw;
          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);
        }
      }
    }

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

        .yellow_textbox {
          display: contents; 
        }

        .yellow_title {
          order: 1;
          padding-left: 0;
          &::before{
            content: "";
            position: absolute;
            left: 50%;
            bottom: initial;
            top: -6vw;
            transform: translateX(-50%);
            width: 4.2vw;
            height: 4.2vw;
          }
        }
        .yellow_imagebox {
          order: 2;
          width: 100%;
          margin-bottom: 3vw;
        }
        .yellow_text {
          order: 3;
          font-size: 4vw;
          margin-bottom: 8vw;
        }
        .about_wrapper {
          order: 4;
          justify-content: center;
          margin-top: 0;
        }

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

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

  .about_btn {
    position: relative;
    z-index: 1;
    max-width: 274px;
  }

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

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

  }
}

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

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

    margin: 0 auto;
    padding-bottom: 50px;

    .kind_title {
      padding-left: 30px;
      height: 57px;
      display: flex;
      align-items: center;
      border-left: 20px solid #ECD300;
      letter-spacing: .1em;
      font-size: 24px;
      font-weight: 500;
      margin-bottom: 30px;
    }

  }
  .kind_list:last-of-type {
    padding-bottom: 60px;
  }

  .bottom_text {
    width: 1000px;
    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 0;
      padding-bottom: 10vw;

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

      .kind_title {
        max-width: initial;
        min-width: initial;
        margin-bottom: 4.2vw;
        font-size: 5vw;
        padding-left: 5vw;
        height: 10vw;
        border-left: 4vw solid #ECD300;
      }
      .kind_text {
        max-width: initial;
        min-width: initial;
        font-size: 4vw;
      }
    }
    .kind_list:last-of-type {
      margin-bottom: 8vw;
      padding-bottom: 0;
    }
    .bottom_text {
      font-size: 4vw;
      line-height: 2;
    }
  }
}

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