@charset "utf-8";

/*====================================================================================================

治療費

====================================================================================================*/

.price {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  font-weight: 500;
}

.img-box {
  padding-top: 66.666%;
}

.txt-box {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media screen and (min-width: 801px) {
  .col2_gr {
    grid-column-gap: 60px;
  }
  h2 {
    margin-bottom: 40px;
  }
  h3 + p {
    margin-bottom: 20px;
  }
  h3 {
    margin-bottom: 40px !important;
  }
  #cavity,
  #loss_tooth,
  #aesthetic,
  #payment,
  #expense {
    margin-bottom: 90px;
  }
  #cavity > div:not(:last-of-type) {
    margin-bottom: 60px;
  }
  #loss_tooth > div:not(:last-of-type) {
    margin-bottom: 60px;
  }
  #aesthetic > div:not(:last-of-type) {
    margin-bottom: 60px;
  }
  #loss_tooth .col2_gr {
    grid-row-gap: 60px;
  }

}

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

  loss_tooth

  .col2_gr {
    grid-row-gap: 30px;
  }
  
  h2 {
    margin-bottom: 30px;
  }
  h3 + p {
    margin-bottom: 20px;
  }
  h3 {
    margin-bottom: 30px !important;
  }
  #cavity,
  #loss_tooth,
  #aesthetic,
  #payment,
  #expense {
    margin-bottom: 70px;
  }
  #cavity > div:not(:last-of-type) {
    margin-bottom: 40px;
  }
  #loss_tooth > div:not(:last-of-type) {
    margin-bottom: 40px;
  }
  #aesthetic > div:not(:last-of-type) {
    margin-bottom: 40px;
  }
}

#pad .img-box {
  background-image: url("../../image/contents/cost/pad.jpg");
}

#cover .img-box {
  background-image: url("../../image/contents/cost/cover.jpg");
}

#cover_foundation .img-box {
  background-image: url("../../image/contents/cost/cover_foundation.jpg");
}

#dentures .col2_gr > div:nth-of-type(2) {
  background-image: url("../../image/contents/cost/dentures.jpg");
}

#dentures .col2_gr > div:nth-of-type(4) {
  background-image: url("../../image/contents/cost/dentures01.jpg");
}
#dentures .col2_gr > div:nth-of-type(6) {
  background-image: url("../../image/contents/cost/dentures02.jpg?v=2");
}
#dentures .col2_gr > div:nth-of-type(8) {
  background-image: url("../../image/contents/cost/dentures03.jpg?v=3");
}

#implant .img-box {
  background-image: url("../../image/contents/cost/implant.jpg");
}

#bridge .img-box {
  background-image: url("../../image/contents/cost/bridge.jpg");
}

#wisdom_tooth .img-box {
  background-image: url("../../image/contents/cost/wisdom_tooth.jpg");
}

#over_dentures .img-box {
  background-image: url("../../image/contents/cost/over_dentures.jpg");
}

#orthodontics .img-box {
  background-image: url("../../image/contents/cost/orthodontics.jpg");
}

#whitening .img-box {
  background-image: url("../../image/contents/cost/whitening.jpg");
}

#payment .img-box {
  background-image: url("../../image/contents/cost/payment.jpg");
}

#expense .img-box {
  background-image: url("../../image/contents/cost/expense.jpg");
}

.price dt {
  color: var(--color-green02);
}

.price dt {
  width: 65%;
  padding-left: 1em;
  padding-bottom: 10px;
}

.price dd {
  width: 35%;
  text-align: right;
  padding-right: 1em;
  padding-bottom: 10px;
}

.price dt:not(:last-of-type) {
  border-bottom: 1px dashed #ededed;
}

.price dd:not(:last-of-type) {
  border-bottom: 1px dashed #ededed;
}

.price dt:not(:last-child) {
  margin-bottom: 10px;
}

.price dd:not(:last-child) {
  margin-bottom: 10px;
}

.price dt:only-of-type {
  border-bottom: 1px dashed #ededed;
  margin-bottom: 10px;
}

.price dd:only-of-type {
  border-bottom: 1px dashed #ededed;
  margin-bottom: 10px;
}

.price dd::before {
  content: "¥";
}
.price dd::after {
  content: "(税込)";
  font-size: 1.4rem;
  white-space: nowrap;
}

.price dd.not-price::before {
  content: none;
}

.price dd.not-price::after {
  content: none;
}

@media screen and (min-width: 641px) and (max-width: 1920px) {
  .price dd::after {
    font-size: 14px;
    font-size: calc(1.2rem + ((1vw - 0.64rem) * 0.1563));
  }
}

@media screen and (max-width: 640px) {
  .price dd::after {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 560px) {
  .price dd::after {
    font-size: -webkit-calc(32% + 0.75vw);
    font-size: calc(32% + 0.75vw);
  }
}

@media screen and (max-width: 1000px) {
  .price dd::after {
    display: block;
  }

  .exception span {
    display: block;
  }
}

.p-formula{
  margin:5px 0;
}
.p-formula span{
background-color:var(--color-green01);
color: var(--color-white);
padding:5px 5px 8px;
}