.wbr {
  display: inline-block;
}
li {
  list-style: none;
}
/* price ページの h2 は共通 .section_title ではなく従来の独自スタイル（特別処理）。
   dev.onelovedental.com/price.html と揃える。 */
.price h2 {
  color: rgba(0, 65, 47, 1);
  margin: 20px auto;
  text-align: center;
  border: 1px solid rgba(0, 156, 154, 0.2);
  border-radius: 50px;
  width: fit-content;
  padding: 16px 36px;
}

.price .hosho h3 {
  background-color: rgba(0, 156, 154, 0.1);
  text-align: center;
  color: rgba(0, 156, 154, 1);
  margin: 20px 10px;
  padding: 10px 0;
}

.price .hosho figure {
  text-align: center;
  display: block;
  width: 100%;
}

.price .hosho figure img {
  width: 130px;
}

.price .hosho .table {
  table-layout: fixed;
}
.price .hosho p {
  margin: 10px;
}
.price .hosho .creditcard {
  width: 100%;
}
.price .list h3 {
  background-color: rgba(0, 156, 154, 0.1);
  text-align: center;
  color: rgb(44, 59, 59);
  padding: 16px 16px;
  margin: 64px auto 0 auto;
}
/*料金表*/
@media (max-width: 766px) {
  .price_table_overflow {
    width: 100%;
    overflow: auto;
  }
}
.price_table {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px #99cccc solid;
  line-height: 28px;
  font-size: 16px;
}
@media (max-width: 767px) {
  .price_table {
    width: 600px;
    gap: 0;
  }
}
.price_table li {
  padding: 16px;
}
.price_table li button {
  display: block;
}
@media (max-width: 767px) {
  .price_table li {
    padding: 16px 0;
  }
}
.price_table li:nth-child(1) {
  flex: 0 0 240px;
  text-align: left;
  font-weight: 600;
}
.price_table li:nth-child(2) {
  flex: 0 0 auto;
  text-align: right;
}

.price_table li:nth-child(3) {
  flex: 1 1 220px;
  text-align: right;
}

@media (max-width: 767px) {
  .price_table li:nth-child(1) {
    flex: 0 0 160px;
    font-size: 15px;
  }
  .price_table li:nth-child(2) {
    flex: 0 0 150px;
    font-size: 15px;
  }

  .price_table li:nth-child(3) {
    flex: 1 1 300px;
  }
}
.price_table .price_image {
  width: 200px;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.price_memo_field {
  font-size: 14px;
  padding: 16px;
}
.math {
  background-color: rgba(153, 204, 204, 0.308);
  padding: 24px 24px;
  font-size: 22px;
  line-height: 160%;
  font-weight: 600;
  max-width: 860px;
  margin: 36px auto;
  text-align: center;
}
.math small {
  font-size: 14px;
  line-height: 18px;
  display: block;
}
.math small br {
  font-size: 14px;
  line-height: 14px;
}
.tax {
  font-size: 15px;
  color: #555;
  text-align: right;

  display: block;
  width: 100%;
  padding: 0;
  margin: auto;
}

.koujo h3 {
  padding: 32px 0 0 0;
}
details {
  display: flex;
  justify-content: flex-end;
}
details[open] summary::after {
  content: "▲ 閉じる";
  cursor: pointer;

  width: fit-content;
  padding: 10px 0;
  text-align: right;
  font-size: 15px;
}

details:not([open]) summary::after {
  content: "▶ 説明を見る";
  cursor: pointer;

  width: fit-content;
  padding: 10px 0;
  text-align: right;
  font-size: 15px;
}
details p {
  font-size: 15px;
  line-height: 160%;
}
.price dialog[open] {
  gap: 16px;
  width: 80vw;
  max-width: 800px;
  margin: auto;
  padding: 24px;
  border: 0;
}
.price dialog[open] p {
  text-align: left;
  line-height: 160%;
  font-weight: normal;
}
.price dialog[open]::backdrop {
  background: rgba(0, 0, 0, 0.5); /* 黒の50%透過 */
}
