@charset "UTF-8";
/* ============================================================
   liquid.css
   根管治療ページ専用のリキッドレイアウト調整用CSS
   ※他ページに影響が出ないよう、修正はこのファイルに記入してください
   ============================================================ */

@media only screen and (max-width: 768px) {
#content {
margin-top: 90px;
}
}

@charset "UTF-8";
/* ============================================================
   liquid_denture.css
   根管治療ページ専用のリキッドレイアウト調整用CSS
   ※他ページに影響が出ないよう、修正はこのファイルに記入してください
   ============================================================ */

/* ---- <wbr> を含む要素は改行位置を尊重 ---- */
*:has(> wbr) {
  white-space: pre-wrap;
  word-break: keep-all;
}
#denture_page .wbr-line {
  display: inline-block;
  text-align: center;
}

/* ---- メインビジュアル ---- */
#b-denture #low_mi {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #523d38;
}
#b-denture #low_mi img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- ページ全体 ---- */
#denture_page {
  font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "Yu Mincho", "游明朝", serif;
  color: #523d38;
  line-height: 1.9;
  text-align: left;
  padding: 1em 0;
}
#denture_page p {
  text-align: left;
  margin: 0 0 1.5em;
  font-size: 15px;
  color: #523d38;
}
#denture_page p.photo,
#denture_page p.lead-text,
#denture_page p.extra-cost {
  text-align: center;
}
#denture_page u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- 見出し（esthetic ページと同じ配色・border-bottom）---- */
#denture_page h2,
#denture_page .sub-title {
  margin-top: 3em;
  text-align: center;
  color: #523d38;
  padding-bottom: .8em;
  margin-bottom: 1em;
  border-bottom: 3px solid #ad9573;
  font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "Yu Mincho", "游明朝", serif;
  font-weight: bold;
  font-size: 160%;
  line-height: 1.4;
  display: block;
  letter-spacing: 0.05em;
}

/* リード見出し & 4つの特徴 は border-bottom なし */
#denture_page .lead-title,
#denture_page .four-title {
  border-bottom: none;
  padding-bottom: 0;
}
#denture_page .lead-title {
  margin-top: 1em;
}

/* 「4」だけ大きく表示 */
#denture_page .four-title .big {
  font-size: 1.6em;
  color: #ad9573;
  font-weight: bold;
  vertical-align: -0.05em;
  margin-right: 0.1em;
  line-height: 1;
}

/* ---- 小見出し（feature-name のみ） ---- */
#denture_page .feature-name {
  font-size: 19px;
  font-weight: bold;
  margin: 0 0 1.2em;
  letter-spacing: 0.05em;
  color: #523d38;
  font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "Yu Mincho", "游明朝", serif;
}

/* ---- 強調テキストブロック ---- */
#denture_page .lead-text {
  font-size: 18px;
  line-height: 1.8;
  margin: 2.5em 0 1.5em;
  letter-spacing: 0.05em;
}

/* ---- 写真 ---- */
#denture_page p.photo {
  margin: 1.5em auto;
  text-align: center;
}
#denture_page p.photo img {
  max-width: 92%;
  height: auto;
  display: inline-block;
}
#denture_page p.photo.framed {
  position: relative;
  display: inline-block;
  margin: 1.8em auto;
  padding: 0 0 12px 12px;
}
#denture_page p.photo.framed::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  background: #ad9573;
  z-index: 0;
}
#denture_page p.photo.framed.flip {
  padding: 0 12px 12px 0;
}
#denture_page p.photo.framed.flip::before {
  left: auto;
  right: 0;
}
#denture_page p.photo.framed img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
}
#denture_page .photo-caption {
  font-size: 12px;
  color: #523d38;
  display: flex;
  justify-content: space-around;
  gap: 1em;
  margin: -0.5em auto 1.5em;
  max-width: 92%;
}
#denture_page .photo-caption span {
  flex: 1;
}

/* ---- 比較テーブル ---- */
#denture_page .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0 1em;
  font-size: 15px;
  background: #ebe6e0;
}
#denture_page .compare-table th,
#denture_page .compare-table td {
  border: 1px solid #fff;
  padding: 12px 4px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
}
/* low_layout.css の tbody tr:nth-child(3) を打ち消し */
#denture_page .compare-table tbody tr {
  background-color: transparent;
}
#denture_page .compare-table th.paid,
#denture_page .compare-table th.ins {
  background: #523d38;
  color: #fff;
  font-weight: 500;
  font-size: 17px;
  width: 30%;
}
#denture_page .compare-table th.item {
  background: transparent;
}
#denture_page .compare-table td.item {
  background: #ad9573;
  color: #fff;
  font-weight: 500;
  width: 40%;
}
#denture_page .compare-table td.item .small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.2;
  margin-bottom: 2px;
}

#denture_page .cost-note {
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 2em;
  padding: 0 4px;
}

/* ---- 当院の特徴ブロック ---- */
#denture_page .feature {
  position: relative;
  background: #ebe6e0;
  padding: 60px 16px 32px;
  margin: 70px 0 0;
  text-align: center;
}
#denture_page .feature .num-badge {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  line-height: 78px;
  border-radius: 50%;
  background: #523d38;
  color: #fff;
  font-size: 30px;
  font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "Yu Mincho", "游明朝", serif;
  font-weight: 400;
  text-align: center;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px #ad9573;
  letter-spacing: 0.02em;
}
#denture_page .feature .feature-name {
  font-size: 19px;
  font-weight: 500;
  margin: 1em 0 1em;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #523d38;
}
#denture_page .feature p {
  font-size: 15px;
  line-height: 1.9;
}

#denture_page .point-head {
  font-size: 16px;
  font-weight: 500;
  margin: 1.5em 0 0.6em;
  letter-spacing: 0.05em;
}
#denture_page .point-list {
  text-align: left;
  list-style: disc;
  padding: 0 0 0 1.5em;
  margin: 0 auto 1em;
  max-width: 90%;
  font-size: 14px;
  line-height: 1.7;
}
#denture_page .point-list li {
  margin-bottom: 0.5em;
}

/* ---- 料金 ---- */
#denture_page .price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.5em;
  font-size: 15px;
}
#denture_page .price-table td {
  border: 1px solid #d4c3a8;
  padding: 14px 12px;
  background: #fff;
  text-align: center;
  width: 50%;
}
#denture_page .price-table td:first-child {
  text-align: left;
  background: #f5efe3;
}

#denture_page .extra-cost {
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}
#denture_page .extra-cost .label {
  display: inline-block;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-top: 0.5em;
}

/* ---- 機器写真 ---- */
#denture_page .equipment-combined {
  margin: 1.5em auto 1em;
  text-align: center;
}
#denture_page .equipment-combined img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* ---- リキッド対応 (タブレット以上) ---- */
@media only screen and (min-width: 769px) {
  #denture_page {
    padding: 1.5em 2em;
  }
  #denture_page .lead-title { font-size: 26px; }
  #denture_page .sub-title  { font-size: 22px; }
  #denture_page .four-title .big { font-size: 1.6em; }
  #denture_page .lead-text  { font-size: 20px; }
  #denture_page .feature .feature-name { font-size: 22px; }
  #denture_page p,
  #denture_page .feature p,
  #denture_page .compare-table,
  #denture_page .price-table { font-size: 16px; }
  #denture_page .feature {
    padding: 70px 32px 40px;
  }
}

@media only screen and (max-width: 768px) {
  body#b-denture #left_column {
    display: none !important;
  }
}


.lists {
   background: #EDE7E2;
   padding: 1em 2em;
   border-left: 2px solid#AA8100;
   text-align: left;
   width: fit-content;
   max-width: 90%;
   list-style: none;
   margin: 2em auto;
   font-weight: bold;
}
.features + .features {
   margin-top: 2em;
}

.features h3 {
   background:#5E372A;
   padding: .5em;
   color: white;
   margin: 0;
}
.features article,
.flow {
   background: #EDE7E2;
   padding: 1em;
}
.features article h4 {
   margin-top: 1em;
   text-align: center;
   margin-bottom: .2em;
}
.features article div::after {
   content: "";
   display: block;
   width: 0;
   height: 0;
   clear: both;
}
.features article div img {
   width: min(250px, 48%);
   margin-right: 2%;
   float: left;
}
.caution {
   padding: 1em;
   background: white;
   border-radius: 1em;
   margin-top: 1em;
}
.caution h4 {
   line-height: 1.4;
   font-weight: bold;
   text-align: left;
   text-decoration: underline;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: .5em;
   margin-top: 1em;
   font-size: 110%;
}
.caution h4 span {
   text-align: left;
}
.caution h4 img {
   width: 20%;
}
.flow {
   text-align: center;
   padding-top: 2em;
}
.flow h3 {
   text-align: center;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   background: none;
   padding: 0;
   color: #5E372A;
}
.flow h3 small {
   display: flex;
   justify-content: center;
   align-items: center;
   color: #B49955;
   gap: 1em;
}
.flow h3 small::before,
.flow h3 small::after {
   content: "／";
   display: inline-block;
}
.flow h3 small::before {
   content: "＼";
}
.flow section {
   text-align: left;
   background: white;
   padding: 1em;
   border-radius: .5em;
   display: grid;
   grid-template: auto / 1fr 2fr;
   gap: 0 1em;
   text-align: left;
   margin-block: 1em;
}
@media only screen and (max-width: 640px) {
.flow section {
   grid-template: auto / 30% 1fr;
}
}
.flow section h4 {
   text-align: center;
   font-weight: bold;
   color: #5A3223;
   border-bottom: 2px solid #AE8F36;
   margin-bottom: .5em;
   grid-row: 1 / 2;
   grid-column: 2 / 3;
   place-self: end stretch;
}
.flow section p {
   grid-row: 2 / 3;
   grid-column: 2 / 3;
}
.flow section img {
   grid-row: 1 / 3;
   grid-column: 1 / 2;
   place-self: center stretch;
}
.flow .arrow {
   -webkit-mask-image: url(../images/arrow.svg);
   mask-image: url(../images/arrow.svg);
   -webkit-mask-position: center;
   -webkit-mask-size: contain;
   -webkit-mask-repeat: no-repeat;
   mask-position: center;
   mask-size: contain;
   mask-repeat: no-repeat;
   background: #C6AF82;
   width: 4em;
   aspect-ratio: 1/1;
   transform: scaleX(2);
   margin: 0 auto !important;
}
strong {
   color: inherit;
   font-weight: 900;
}

@media only screen and (min-width: 769px) {
.features-wrap {
   display: grid;
   grid-template: auto / 1fr 1fr;
   gap: 1em;
}
}