@charset "UTF-8";



/* sec01 */
.sec01{
  margin-bottom: 100px;
  .cont01{
    margin-bottom: 80px;
    .box_header{
      display: flex;
      column-gap: 45px;
      align-items: center;
      margin-bottom: 30px;
      justify-content: center;
      .box_title{
        font-size: 28px;
        font-weight: 500;
        line-height: 1.3;
      }
      .num{
        font-size: 30px;
        font-weight: bold;
        font-family: 'Zen Maru Gothic', sans-serif;
        letter-spacing: 0.5em;
      }
    }
    .imagebox{
      text-align: center;
      margin-bottom: 24px;
      position: relative;
    }
    .textbox{
      max-width: 1200px;
      margin: 0 auto;
    }

  }
  .cont01_bottom{
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 35px 0 65px;
    border: 2px solid #F9EA00;
    background-color: #F9F7E5;
    .box_header{
      flex-direction: column;
      row-gap: 15px;
    }
    .box_title{
      margin: 0 auto;
      font-size: 28px;
      font-weight: 500;
      text-align: center;
    }
    .box_subtitle{
      text-align: center;
      font-weight: 500;
    }
    .gridbox{
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 662px;
      margin: 0 auto;
      column-gap: 104px;
    }
    .box{
      width: 180px;
    }
    .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 #F5B0A1;
      }
    }
    .box:first-child .imagebox::before{
      content: none;
    }
    .box_text{
      text-align: center;
      line-height: 1.5;
    }
  }
  .cont02, .cont03, .cont04{
    max-width: 1200px;
    margin: 0 auto;
    .box_title{
      font-size: 28px;
      font-weight: 500;
    }
    .flexbox{
      align-items: flex-start;
      column-gap: 50px;
      margin-bottom: 80px;
      .imagebox{
        width: 77%;
      }
    }
    .textbox{
      width: 100%;
      .box_header{
        display: flex;
        column-gap: 25px;
        align-items: center;
        margin-bottom: 35px;
        .box_title{
          font-size: 28px;
          font-weight: 500;
          line-height: 1.5;
        }
        .num{
          font-size: 30px;
          font-weight: bold;
          font-family: 'Zen Maru Gothic', sans-serif;
          letter-spacing: 0.5em;
        }
      }
    }
    .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{
    .imagebox{
      position: relative;
    }
    .circle{
      position: absolute;
      width: 163px;
      height: 100px;
      padding-bottom: 63px;
      bottom: 20px;
      left: 20px;
      font-size: 18px;
      font-weight: 500;
      border-radius: 50vh;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      background-color: rgba(255,255,255,0.9);
      font-family: 'Zen Maru Gothic', sans-serif;
      &::before{
        content: "";
        position: absolute;
        left: 10px;
        bottom: -10px;
        width: 164px;
        height: 103px;
        background: url(/taniyama/images/inlay-crown/sec01_2_float.webp) center / contain no-repeat;
      }
    }
  }
  .cont04{
    margin-bottom: 130px;
  }
  .cont05{
    .box{
      max-width: 1100px;
      margin: 0 auto;
      background-color: #FDF3E5;
      border-radius: 10px;
      padding: 20px 50px 60px;
    }
    .box_header{
      display: block;
      align-items: center;
    }
    .check{
      color: #F08B00;
      font-size: 40px;
      text-align: center;
      font-weight: 350;
      line-height: 1;
      position: relative;
      letter-spacing: 0.2em;
      top: -45px;
      font-family: 'Inter', sans-serif;
      &::before{
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/taniyama/images/common/star_orange.webp) center / contain no-repeat;
      }
    }
    .box_title{
      font-size: 24px;
      font-weight: 500;
      text-align: center;
      margin-bottom: 40px;
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    .cont01{
      margin-bottom: 16vw;
      .box_header {
        justify-content: flex-start;
        align-items: center;
        column-gap: 3vw;
        margin-bottom: 3vw;
        .box_title {
          font-size: 5vw;
          margin-bottom: 0;
          padding-bottom: 0;
        }
        .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;
      }
      .box{
        width: initial;
      }
      .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: #F5B0A1 transparent transparent transparent;
        }
      }
      .box_text{
        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;
      }

      .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{
      .circle{
        width: 35vw;
        height: 25vw;
        padding-bottom: 10vw;
        bottom: 5vw;
        left: 5vw;
        font-size: 4.3vw;
        &::before{
          left: 1vw;
          bottom: -3vw;
          width: 35vw;
          height: 22vw;
        }
      }
    }
    .cont04{
      margin-bottom: 13.8vw;
    }
    .cont05{
      .box{
        padding: 0vw 5vw 8vw;
      }
      .box_header{
        padding: 0;
        column-gap: 0;
        row-gap: 3vw;
        flex-direction: column;
        align-items: flex-start;
      }
      .check{
        font-size: 7vw;
        height: 10vw;
        top: -3vw;
        &::before{
          width: 4.2vw;
          height: 4.2vw;
          top: -6.6vw;
        }
      }
      .box_title{
        font-size: 5vw;
        padding: 0 5vw;
        margin-bottom: 5vw;
      }
      .textbox{
        padding: 0;
      }
    }

  }
}

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

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

    .kind_title {
      margin-bottom: 30px;
      padding-left: 2.5em;
      letter-spacing: .1em;
      font-size: 28px;
      font-weight: 500;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        width: 29px;
        height: 28px;
        bottom: 50%;
        left: 20px;
        transform: translateY(50%);
        background: url(/taniyama/images/common/star_orange.webp) center / contain no-repeat;
      }
    }
    .kind_text {
      padding: 0 18px;
      margin-bottom: 30px;
      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 #F5B0A1;
          margin-bottom: 20px;
          font-size: 21px;
          font-weight: bold;
          text-align: center;
          color: #F5B0A1;
        }
        .demerit_title {
          padding-bottom: 10px;
          border-bottom: 1px solid #BBA49F;
          margin-bottom: 20px;
          font-size: 21px;
          font-weight: bold;
          text-align: center;
          color: #6A6265;
        }
        .list_item {
          padding: 0 0 15px 35px;
          letter-spacing: .1em;
          line-height: 1.5;
          position: relative;
        }
        .list_item::before {
          content: "・";
          position: absolute;
          left: .5em;
          top: 0;
          font-size: 18px;
          font-weight: bold;
        }
      }
      .item:nth-of-type(1) {
        border:2px solid #F5B0A1;
      }
      .item:nth-of-type(2) {
        border:2px solid #BBA49F;
      }
    }
  }
  .kind_list:not(:last-of-type) {
    padding-bottom: 82px;
    border-bottom: 1px solid #F08B00;
  }

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

    .kind_list {
      margin: 0 auto 13.8vw;

      .kind_title {
        margin-bottom: 5vw;
        font-size: 5vw;
        padding-left: 2em;
        &::before{
          width: 6vw;
          height: 6vw;
          left: 1vw;
        }
      }
      .kind_text {
        padding: 0;
        margin-bottom: 5vw;
        font-size: 4vw;
        letter-spacing: .1em;
      }

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

        .item {
          padding: 5vw;
          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;
    }
  }
}

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

  .price_header{
    text-align: center;
  }
  .price_title{
    font-weight: 500;
    font-size: 28px;
    border-bottom: 1px solid #ECD300;
    display: inline-block;
    margin-bottom: 60px;
    padding-bottom: 15px;
    width: 280px
  }
  .about_btn {
    position: relative;
    z-index: 1;
  }
  .about_btn::after {
      position: absolute;
      z-index: -1;
      width: 113px;
      height: 87px;
      left: -20px;
      background: url(/taniyama/images/denture/btn_kazari01.webp) center / contain no-repeat;
  }

  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
      .price_title{
        font-size: 5vw;
        margin-bottom: 5vw;
        padding-bottom: 3vw;
        width: 50vw;
      }
    .about_btn {
      position: relative;
    }
    .about_btn::after {
      width: 21.07vw;
      height: 20vw;
      left: 0;
      bottom: -1.866vw;
    }

  }
}

/* sec04 */
.sec04 {
  max-width: 1200px;
  margin: 0 auto 100px;
  .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(/taniyama/images/common/welcome_img.webp) center/contain no-repeat;
    }
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;
    max-width: initial;
    width: initial;

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