/* ------------------ */
/* ホワイトニングページ */
/* ------------------ */
.whitening {
  overflow: hidden;
}

/* fv */
.lower-fv__wrapper--whitening {
  background-image: url(../../assets/images/common/whitening/whitening_fv-sp.png);
}

@media screen and (min-width: 768px) {
  .lower-fv__wrapper--whitening {
    background-image: url(../../assets/images/common/whitening/whitening_fv.png);
  }
}

/* Top */
.whitening-top {
  position: relative;
}

.whitening-top::before {
  background-image: url(../../assets/images/common/top/purple_circle1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 16.75rem;
  left: -2.8125rem;
  position: absolute;
  top: -5.3125rem;
  width: 16.75rem;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .whitening-top::before {
    height: 39.375rem;
    left: 0;
    top: -12.5rem;
    width: 39.375rem;
  }
}

.whitening-top::after {
  background-image: url(../../assets/images/common/top/pink_circle.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 18.75rem;
  position: absolute;
  right: -5rem;
  top: 10rem;
  width: 18.75rem;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .whitening-top::after {
    height: 52.6875rem;
    pointer-events: none;
    right: -4.6875rem;
    top: -10.625rem;
    width: 52.6875rem;
  }
}

/* Index */
.whitening-index {
  height: auto;
}

/* Attention */
.whitening-attention__list-text {
  font-size: 0.875rem;
  margin-top: 1.25rem;
}

.whitening-attention__list-text strong {
  text-decoration: underline;
  text-decoration-color: #f6ab96;
  text-decoration-thickness: 2px;
}

@media screen and (min-width: 768px) {
  .whitening-attention__list-text {
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }
}

/* Check */
.whitening-check__lead {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.025rem;
  line-height: 175%;
}

@media screen and (min-width: 768px) {
  .whitening-check__lead {
    margin-top: 3.75rem;
    font-size: 1.125rem;
  }
}

.whitening-check__lists {
  margin-top: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media screen and (min-width: 768px) {
  .whitening-check__lists {
    margin-top: 3.75rem;
    flex-direction: row;
    gap: 3.125rem;
  }
}

.whitening-check__item {
  padding: 1.875rem;
  background-color: #f3eff6;
  border-radius: 1.875rem 0 1.875rem 0;
}

@media screen and (min-width: 768px) {
  .whitening-check__item {
    width: calc(100%/3 - 3.125rem*2/3);
  }
}

.whitening-check__item-title {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .whitening-check__item-title {
    font-size: 1.75rem;
  }
}

.whitening-check__item-image {
  margin-top: 1.25rem;
}

@media screen and (min-width: 768px) {
  .whitening-check__item-image {
    margin-top: 1.875rem;
  }
}

.whitening-check__item-image img {
  aspect-ratio: 320/180;
  object-fit: cover;
  border-radius: 1.25rem 0 1.25rem 0;
}

.whitening-check__item-text {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 175%;
}

@media screen and (min-width: 768px) {
  .whitening-check__item-text {
    margin-top: 1.875rem;
    font-size: 1rem;
  }
}

.whitening-check__btns {
  margin-top: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media screen and (min-width: 768px) {
  .whitening-check__btns {
    margin-top: 3.75rem;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
  }
}

.whitening-check__btn {
  background-color: #c5b0d1;
  border-bottom-right-radius: 1.25rem;
  border-top-left-radius: 1.25rem;
  height: 3.75rem;
  line-height: 3.75rem;
  text-align: center;
  width: 100%;
  display: block;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

@media screen and (min-width: 768px) {
  .whitening-check__btn {
    height: 4.375rem;
    line-height: 4.375rem;
    font-size: 1.25rem;
    max-width: 18.75rem;
  }
}

/* Option */
.whitening-options__lead {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.025rem;
  line-height: 175%;
}

@media screen and (min-width: 768px) {
  .whitening-options__lead {
    margin-top: 3.75rem;
    font-size: 1.125rem;
  }
}

.whitening-options .lower-boxes__box-flex {
  display: flex;
  flex-direction: column-reverse;
}

@media screen and (min-width: 768px) {
  .whitening-options .lower-boxes__box-flex {
    flex-direction: row;
  }
}

@media screen and (min-width: 768px) {
  .whitening-options .lower-boxes__box-img {
    margin-top: 2.5rem;
  }
}

.whitening-options .lower-boxes__box-detail {
  background-color: #fff;
}

.lower-boxes__detail-list {
  margin-top: 1.25rem;
  padding: 1.125rem;
  border-radius: 1.875rem 0 1.875rem 0;
  background: linear-gradient(90deg, #FDEEEA 0%, #F3EFF6 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

@media screen and (min-width: 768px) {
  .lower-boxes__detail-list {
    padding: 1.5rem;
    width: fit-content;
  }
}

.lower-boxes__detail-list li {
  display: flex;
  gap: 0.625rem;
  line-height: 150%;
  font-size: 0.875rem;
}

@media screen and (min-width: 768px) {
  .lower-boxes__detail-list li {
    font-size: 1rem;
  }
}

.lower-boxes__detail-list li::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.75rem;
  background-color: #f6ab96;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  position: relative;
  top: 0.3125rem;
}

@media screen and (min-width: 768px) {
  .lower-boxes__detail-list li::before {
    top: 0.4375rem;
  }
}

.lower-boxes__detail-flows {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

@media screen and (min-width: 768px) {
  .lower-boxes__detail-flows {
    flex-direction: row;
    gap: 2.0625rem;
  }
}

.lower-boxes__detail-flow {
  padding: 1.125rem;
  border-radius: 1.875rem 0 1.875rem 0;
  background: linear-gradient(90deg, #FDEEEA 0%, #F3EFF6 100%);
  position: relative;
}

@media screen and (min-width: 768px) {
  .lower-boxes__detail-flow {
    padding: 1.5rem;
    width: calc(25% - 2.0625rem*3/4);
  }
}

.lower-boxes__detail-flow:not(:last-child)::before {
  content: "";
  display: block;
  height: 1.375rem;
  width: 0.9375rem;
  background-color: #c5b0d1;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  position: absolute;
  left: 50%;
  bottom: -1.6875rem;
  transform: translateX(-50%) rotate(90deg);
}

@media screen and (min-width: 768px) {
  .lower-boxes__detail-flow:not(:last-child)::before {
    left: initial;
    right: -1.5625rem;
    bottom: initial;
    top: 50%;
    transform: translateX(0) translateY(-50%) rotate(0deg);
  }
}

.lower-boxes__detail-flow span {
  font-weight: 600;
}

.lower-boxes__detail-flow p {
  margin-top: 0.75rem;
  line-height: 150%;
  font-size: 0.875rem;
}

@media screen and (min-width: 768px) {
  .lower-boxes__detail-flow p {
    font-size: 1rem;
  }
}


/* Price */
@media screen and (min-width: 768px) {
  .price-table--whitening td {
    width: 33.333%;
    font-size: 1.125rem;
  }

  .price-table--whitening td:first-child {
    background-color: #f9f7fa;
    border-left: 0.0625rem solid #e4e4e4;
    padding-inline: 1.25rem;
    width: 26.25rem;
  }

  .price-table--whitening td:nth-last-child(2) {
    border-right: 0.0625rem solid #e4e4e4;
    border-left: none;
    padding-inline: 1.25rem;
    background-color: #fff;
    width: 26.25rem;
  }

  .price-table--whitening td:last-child {
    border-right: 0.0625rem solid #e4e4e4;
    padding-inline: 1.25rem;
    width: 25rem;
  }

  .price-table--whitening tr:last-child {
    border-bottom: 0.0625rem solid #e4e4e4;
  }
}

/* Q&A */
.whitening-faq .lower-faq__question {
  display: flex;
  padding-right: 2rem;
}

@media screen and (min-width: 768px) {
  .whitening-faq .lower-faq__question {
    padding-right: 3rem;
  }
}

/* ----------- */
/* 表示崩れ修正 */
/* ------------*/
.top-case {
  overflow: hidden;
}

.footer__top-text {
  white-space: normal;
}