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

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

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

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

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

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

/* ---- 見出し（esthetic ページと同じ配色・border-bottom）---- */
#implant_page h2,
#implant_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 なし */
#implant_page .lead-title,
#implant_page .four-title {
  border-bottom: none;
  padding-bottom: 0;
}
#implant_page .lead-title {
  margin-top: 1em;
}

/* 「4」だけ大きく表示 */
#implant_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 のみ） ---- */
#implant_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;
}

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

/* ---- 写真 ---- */
#implant_page p.photo {
  margin: 1.5em auto;
  text-align: center;
}
#implant_page p.photo img {
  max-width: 92%;
  height: auto;
  display: inline-block;
}
#implant_page p.photo.framed {
  position: relative;
  display: inline-block;
  margin: 1.8em auto;
  padding: 0 0 12px 12px;
}
#implant_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;
}
#implant_page p.photo.framed.flip {
  padding: 0 12px 12px 0;
}
#implant_page p.photo.framed.flip::before {
  left: auto;
  right: 0;
}
#implant_page p.photo.framed img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
}
#implant_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%;
}
#implant_page .photo-caption span {
  flex: 1;
}

/* ---- 比較テーブル ---- */
#implant_page .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0 1em;
  font-size: 15px;
  background: #ebe6e0;
}
#implant_page .compare-table th,
#implant_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) を打ち消し */
#implant_page .compare-table tbody tr {
  background-color: transparent;
}
#implant_page .compare-table th.paid,
#implant_page .compare-table th.ins {
  background: #523d38;
  color: #fff;
  font-weight: 500;
  font-size: 17px;
  width: 30%;
}
#implant_page .compare-table th.item {
  background: transparent;
}
#implant_page .compare-table td.item {
  background: #ad9573;
  color: #fff;
  font-weight: 500;
  width: 40%;
}
#implant_page .compare-table td.item .small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.2;
  margin-bottom: 2px;
}

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

/* ---- 当院の特徴ブロック ---- */
#implant_page .feature {
  position: relative;
  background: #ebe6e0;
  padding: 60px 16px 32px;
  margin: 70px 0 0;
  text-align: center;
}
#implant_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;
}
#implant_page .feature .feature-name {
  font-size: 19px;
  font-weight: 500;
  margin: 1em 0 1em;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #523d38;
}
#implant_page .feature p {
  font-size: 15px;
  line-height: 1.9;
}

#implant_page .point-head {
  font-size: 16px;
  font-weight: 500;
  margin: 1.5em 0 0.6em;
  letter-spacing: 0.05em;
}
#implant_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;
}
#implant_page .point-list li {
  margin-bottom: 0.5em;
}

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

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

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

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

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

@charset "UTF-8";

/* ============================================================
   implant/index_test.html  page-scoped styles
   All rules are scoped under #implant_page so no other page
   is affected.  No rem units (px / % / em only).
   ============================================================ */

@media only screen and (max-width: 768px) {
    #content {
        margin-top: 90px;
    }
}
#implant_page {
  text-align: center;
  color: #333;
  line-height: 1.6;
  padding-bottom: 30px;
}

#implant_page img {
  max-width: 100%;
  height: auto;
}

#implant_page p {
  margin: 0 0 1em;
}

/* ---- generic banners / photos ---- */
#implant_page .imp-banner {
  margin: 16px 0;
}

#implant_page .imp-banner a {
  display: block;
}

#implant_page .imp-banner img,
#implant_page .imp-photo img {
  width: 100%;
  display: block;
}

#implant_page .imp-photo {
  margin: 16px 0;
}

/* ---- intro stats block ---- */
#implant_page .imp-stats {
  padding: 8px 10px 6px;
}

#implant_page .imp-clinic {
  font-size: 150%;
  font-weight: bold;
  color: #6b4a23;
  margin-bottom: .25em;
}

#implant_page .imp-catch {
  font-size: 132%;
  font-weight: bold;
  color: #2b8a86;
  margin-bottom: .9em;
}

#implant_page .imp-jisseki,
#implant_page .imp-keiken {
  font-size: 148%;
  font-weight: bold;
  color: #333;
  margin: .55em 0;
}

#implant_page .imp-jisseki .big,
#implant_page .imp-keiken .big {
  font-size: 128%;
  color: #cc1a1a;
}

#implant_page .imp-years {
  list-style: none;
  padding: 0;
  margin: .3em 0 1.1em;
  font-size: 116%;
  font-weight: bold;
}

#implant_page .imp-years li {
  margin: .15em 0;
  letter-spacing: .02em;
}

#implant_page .imp-closing {
  font-size: 128%;
  font-weight: bold;
  color: #d6006c;
  line-height: 1.8;
}

#implant_page .marker {
  background: linear-gradient(transparent 58%, #fff34d 58%);
  padding: 0 2px;
}

/* ---- 12 button grid ---- */
#implant_page .imp-btns {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
  margin: 22px 0;
}

#implant_page .imp-btns li {
  position: relative;
}

#implant_page .imp-btns a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
  background: #edeae2;
  padding: 20px 6px 24px;
  text-decoration: none;
  color: #7c6c4d;
  transition: background .2s;
}

#implant_page .imp-btns a:hover {
  background: #e2ddce;
}

#implant_page .imp-btns img {
  width: 58px;
  height: auto;
  margin-bottom: 10px;
}

#implant_page .imp-btns span {
  font-size: 90%;
  font-weight: bold;
  line-height: 1.3;
}

#implant_page .imp-btns li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 16px 16px;
  border-color: transparent transparent #c4ad77 transparent;
}

/* ---- small lead note ---- */
#implant_page .imp-note {
  font-size: 108%;
  font-weight: bold;
  margin: 14px 0 4px;
}

/* ---- video placeholder (YouTube → manual mp4 swap later) ---- */
#implant_page .imp-video {
  position: relative;
  margin: 16px 0;
}

#implant_page .imp-video img {
  width: 100%;
  display: block;
}

#implant_page .imp-video::before {
  content: "動画準備中";
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 78%;
  padding: 2px 8px;
  border-radius: 3px;
}

/* ---- TRIOS block ---- */
#implant_page .imp-trios {
  text-align: left;
  padding: 12px 4px;
  overflow: hidden;
}

#implant_page .imp-trios h3 {
  font-size: 150%;
  color: #2a4b8d;
  margin: .1em 0 0;
  font-weight: bold;
}

#implant_page .imp-trios .sub {
  color: #999;
  font-size: 88%;
  margin-bottom: .6em;
}

#implant_page .imp-trios .photo {
  float: right;
  width: 40%;
  margin: 0 0 8px 14px;
}

#implant_page .imp-trios p {
  font-size: 100%;
  line-height: 1.75;
}

/* ---- OneGuide block ---- */
#implant_page .imp-oneguide {
  padding: 14px 4px;
}

#implant_page .imp-oneguide .og-title {
  font-size: 142%;
  font-weight: bold;
  color: #333;
  margin: 0 0 .35em;
  line-height: 1.4;
}

#implant_page .imp-oneguide .og-big {
  font-size: 132%;
  color: #2a4b8d;
}

#implant_page .imp-oneguide .f_red {
  color: #cc1a1a;
}

#implant_page .imp-oneguide .f_blue {
  color: #2a86c4;
}

#implant_page .imp-oneguide .og-lead {
  font-size: 118%;
  font-weight: bold;
  background: #eaf2fb;
  padding: 9px 8px;
  border-radius: 4px;
  margin: 0 0 12px;
}

/* ---- wider screens: keep content readable / centered ---- */
@media screen and (min-width: 768px) {
  #implant_page .imp-banner,
  #implant_page .imp-photo,
  #implant_page .imp-video {
    margin-left: auto;
    margin-right: auto;
  }
}


ul.btns {
margin-block: 2em;
list-style: none;
display: grid;
grid-template: auto / repeat(3,1fr);
gap: .5em;
}
ul.btns img {
width: 100%;
}

.moved {
  margin-top: 2em;
}
* {
  max-width: 100%;
}
.moved img {
  width: 100%;
  height: auto;
}

p:not(.rc-contact),img {
  margin: 0 !important;
}
p+p {
  margin-top: 1em !important;
}


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


strong {
  color: inherit;
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.trios {
display: grid;
grid-template: auto / auto;
gap: 1em;
}

@media only screen and (min-width: 769px) {
.trios {
grid-template: auto / 2fr 1fr;
}
}






.swiper-container {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.swiper-container .swiper-wrapper .swiper-slide {
  width: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
  background: #fff;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text {
  width: 100%;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 {
  text-align: center;
  color: #294c69;
  font-family: "Noto Serif JP", serif;
  line-height: 1.3 !important;
  white-space: nowrap;
  letter-spacing: -0.06em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: min(6vw,30px);
  text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 6px #fff, 0 0 6px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 12px #fff, 0 0 12px #fff;
  opacity: 0;
  margin-left: 5%;
  transition: all .8s ease-in-out;
  transition-delay: 1s;
}

.swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active .swiper-text h2 {
  opacity: 1;
  margin-left: 0;
  transition: all .8s ease-in-out;
  transition-delay: 1s;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span {
  display: block;
  font-size: 4.25vw;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span em {
  display: block;
  font-weight: 600;
  font-size: 9.5vw;
  line-height: 1.45;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span .ssp {
  display: none;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span+span {
  margin-top: 0.5em;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2#swiper-text02 span em {
  font-size: 6.5vw;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2#swiper-text03 span em {
  font-size: 7.25vw;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2#swiper-text04 span em {
  font-size: 6.85vw;
}

.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2#swiper-text05 span em {
  font-size: 6.25vw;
}

@media screen and (max-width: 336px) {
  .swiper-container .swiper-wrapper .swiper-slide .swiper-text {
    padding: 0 15px;
    height: 272px;
  }

  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 {
    line-height: 1.7;
  }

  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span .ssp {
    display: block;
  }
}

.swiper-container .swiper-pagination {
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  bottom: 0px;
  line-height: 1;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet {
  display: block;
  margin: 0 10px;
  background: none;
  border: 1px solid #047b94;
  opacity: 1;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border-radius: 50%;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #047b94;
}

@media screen and (min-width: 769px) {
  {
    position: relative;
    padding-bottom: 0;
  }

  .swiper-container {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
  }

  .swiper-container .swiper-wrapper .swiper-slide figure {
    flex-shrink: 0;
  }

  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 {
    text-align: center;
    color: #294c69;
    font-family: "Noto Serif JP", serif;
    line-height: 2;
  }

  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span {
    display: block;
    font-size: 1.8rem !important;
    font-weight: 500;
    letter-spacing: normal;
  }

  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span em {
    display: block;
    font-weight: 500;
    font-size: 3rem !important;
    letter-spacing: -0.06em;
  }

  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span+span {
    margin-top: 1em;
  }

  .swiper-container .swiper-pagination {
    width: calc(100% - 750px);
    min-width: 500px;
    bottom: 40px;
  }
}


.swiper-container figure {
  margin: 0;
}


.swiper-container .swiper-pagination .swiper-pagination-bullet {
  display: block;
  margin: 0 10px;
  background: none;
  border: 1px solid #047b94;
  opacity: 1;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border-radius: 50%;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #047b94;
}


body {
  counter-reset: slidenumber 0;
  /* number のカウンタを 0 にセット */
}

.swiper-container .swiper-pagination .swiper-pagination-bullet {
  border: 0;
  background: #294c69;
  font-weight: bold;
  color: white;
  width: 32px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 9999px;
  transition: all .2s ease-in-out;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  margin: 0 6px;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet:before {
  counter-increment: slidenumber 1;
  /* number カウンタの増加数をセット */
  content: counter(slidenumber);
  /* 表示形式を指定 */
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  color: white;
  font-weight: bold;
  font-size: 11px;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #D24557;
}

.swiper-container .swiper-pagination {
  bottom: 6%;
}


@media only screen and (min-width: 641px) {
  .swiper-container .swiper-pagination .swiper-pagination-bullet {
    width: 40px;
    margin: 0 10px;
  }

  .swiper-container .swiper-pagination .swiper-pagination-bullet:before {
    font-size: 14px;
  }
}



.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span,
.swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span em {
  font-size: 20px !important;
}

@media only screen and (min-width: 641px) {

  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span,
  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span em {
    font-size: min(3vw, 38px) !important;
  }
}

@media only screen and (max-width: 480px) {
  .swiper-container .swiper-wrapper .swiper-slide .swiper-text h2 span .ssp {
    display: block !important;
  }
}

.swiper-pagination-bullets * {
font-family: "������", YuMincho, "�q���M�m���� ProN W3", "Hiragino Mincho ProN", "HG����E", "�l�r �o����", "�l�r ����", serif !important;
}
.swiper-pagination-bullets {
  bottom: -4% !important;
  font-family: inherit !important;
}
@media only screen and (min-width: 769px) {
.swiper-pagination-bullets {
  bottom: -2% !important;
}
}

.swiper-container {
  padding-bottom: 15%;
}


.text_top {
    margin: 30px auto;
}

.text_inner.padding {
    padding: 10px 0;
    text-align: center;
}

.text_top {
  margin: 30px auto;
}

.text_top-inner {
  color: green;
  font-size: 2.6rem;
  line-height: 1.8;
  font-weight: bold;
  text-align: center;
  font-family: "メイリオ",meiryo,"ＭＳ Ｐゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,sans-serif;
}

@media screen and (max-width: 768px) {
  .text_top-inner {
    font-size: 1.6rem;
    line-height: 1.5;
  }
}