@charset "UTF-8";
/* 友枝式オールオンX：ご相談から治療までの流れ（.allon-flow）
   色はサイト準拠：紺 #0058a1（--main-dark）／青 #107EF5／薄青 #EDF0F5（--main-light）／#d2e2f1 */
.allon-flow__groups {
  display: flex;
  gap: 1.2rem;
  margin: 0 0 1rem;
}
.allon-flow__group {
  padding: .6rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}
.allon-flow__group--consult {
  flex: 3;
  background: #EDF0F5;
  color: #107EF5;
}
.allon-flow__group--treat {
  flex: 2;
  background: #d2e2f1;
  color: #0058a1;
}
.allon-flow__list {
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.allon-flow__item {
  flex: 1;
  position: relative;
  padding: 2rem 1.2rem;
  background: #fff;
  border: .2rem solid #EDF0F5;
  border-radius: .8rem;
  text-align: center;
}
.allon-flow__item--treat {
  border-color: #d2e2f1;
}
.allon-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.1rem;
  top: 50%;
  z-index: 1;
  border-style: solid;
  border-width: .9rem 0 .9rem 1rem;
  border-color: transparent transparent transparent #107EF5;
  transform: translateY(-50%);
}
.allon-flow__item--treat:not(:last-child)::after {
  border-left-color: #0058a1;
}
.allon-flow__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  margin: 0 auto 1rem;
  background: linear-gradient(-45deg, rgb(40, 160, 215) 0%, rgb(16, 126, 245) 100%);
  color: #fff;
  font-size: 1rem;
  line-height: 1.1;
  border-radius: 50%;
}
.allon-flow__num span {
  display: block;
  font-size: 2rem;
}
.allon-flow__item--treat .allon-flow__num {
  background: linear-gradient(-45deg, rgb(25, 64, 127) 0%, rgb(40, 160, 215) 100%);
}
.allon-flow__ttl {
  margin: 0 0 .8rem;
  color: #0058a1;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
}
.allon-flow__txt {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.7;
  text-align: left;
}
.allon-flow__term {
  margin: 1rem 0 0;
  padding: .4rem;
  background: #EDF0F5;
  font-size: 1.2rem;
  line-height: 1.6;
  border-radius: .4rem;
}
.allon-flow__point {
  margin: 2rem 0 0;
  padding: 1.4rem 1.6rem;
  background: #EDF0F5;
  border-left: .4rem solid #0058a1;
  font-size: 1.4rem;
  line-height: 1.8;
}
@media screen and (max-width:768px) {
  .allon-flow__groups {
    display: none;
  }
  .allon-flow__list {
    flex-direction: column;
    gap: 2.4rem;
  }
  .allon-flow__item {
    display: grid;
    grid-template-columns: 5.6rem 1fr;
    column-gap: 1.4rem;
    align-items: center;
    text-align: left;
    padding: 1.4rem;
  }
  .allon-flow__num {
    grid-row: 1 / span 3;
    margin: 0;
    align-self: start;
  }
  .allon-flow__item:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1.9rem;
    border-width: 1rem .9rem 0 .9rem;
    border-color: #107EF5 transparent transparent transparent;
    transform: translateX(-50%);
  }
  .allon-flow__item--treat:not(:last-child)::after {
    border-color: #0058a1 transparent transparent transparent;
  }
  .allon-flow__ttl {
    margin: 0 0 .4rem;
  }
  .allon-flow__term {
    margin: .8rem 0 0;
  }
}
/* オールオンX用の相談ボタン（c-link-list）：文字を中央寄せ。予約ポップアップ内の同じボタンには影響しない */
.c-link-list__item-txt[data-gtm^="allon"] {
  justify-content: center;
  text-align: center;
  padding-left: 5.4rem;
  padding-right: 5.4rem;
}
/* 「オールオンXの料金を見る」ボタン（既存 c-btn02）をPCでも中央寄せ */
#allon .c-btn02 a {
  margin: 0;
}
/* ▼SP（768px以下）：オールオンX料金カードの余白を詰める */
@media screen and (max-width: 768px) {
  #allon-price {
    margin-top: 4rem !important;
  } /* u-mt60 → 40px */
  #allon-price .l-priceCardLarge {
    margin-top: 0;
  } /* 既存SPの margin-top:2rem を打ち消し */
  #allon-price .l-priceCardLarge__body {
    padding: 2.4rem 2rem;
  } /* 上下 3.8rem → 2.4rem */
  #allon-price .l-priceCardLarge__list div {
    padding: 1.2rem 2rem;
  } /* 左右 4rem → 2rem（内訳の改行を減らす） */
  #allon-price .l-priceCardLarge__list li:last-child h4 small {
    display: none;
  } /* 「保証なし」の空行を消す */
  #allon-price .l-priceCardLarge__body > p {
    margin-top: 2rem !important;
  }
}
@media screen and (max-width: 768px) {
  #allon .flex_wrap {
    flex-direction: column;
  }
  #allon .flex_wrap .img_box {
    width: 100%;
  }
  #allon .flex_wrap .img_box img {
    width: 100%;
    height: auto;
  }
  #allon .flex_wrap .text_box {
    width: 100%;
    padding-left: 0;
    margin-top: 2rem;
  }
}
/* ▼友枝式オールオンX：余白を他セクションに統一 */
/* 画像と文章の隙間（PC）：文章とボタンの隙間と同じ4rem（SPの padding-left:0 を上書きしないようPC限定） */
/* 画像の高さ：右の文章の最上部〜ボタン最下部に合わせる（画像は枠いっぱいに拡大、はみ出しはトリミング） */
@media screen and (min-width: 769px) {
  #allon .flex_wrap .text_box {
    padding-left: 4rem;
  }
  #allon .flex_wrap .img_box {
    position: relative;
  }
  #allon .flex_wrap .img_box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
/* 文章とボタンの隙間（PC 4rem / SP 3rem）。他CSSの上書きに負けないよう !important */
#allon .text_box .c-btn02 {
  margin-top: 4rem !important;
}
@media screen and (max-width: 768px) {
  /* 文章とボタンの隙間（SP）：4rem（SPのremは画面幅で伸縮し、約40px＝PCの4remと同じ見た目） */
  #allon .text_box .c-btn02 {
    margin-top: 4rem !important;
  }
  /* ボタンをSPでは中央揃え（PCは左揃えのまま）。
     他のCSSに負けないよう、外側(.c-btn02)をflexで中央寄せ＋ボタン(a)の左右marginもautoにして二重で指定 */
  #allon .text_box .c-btn02 {
    display: flex;
    justify-content: center;
    text-align: center;
  }
  #allon .text_box .c-btn02 a {
    margin: 0 auto !important;
  }
  /* 「当院で使用するインプラント」との間：他セクション上の余白（当院が選ばれる理由の上＝6rem）に合わせる
     quality-box の下余白4rem（HTMLのstyle直書き）＋ここ2rem ＝ 6rem */
  #allon {
    padding-top: 2rem;
  }
  /* 「友枝式オールオンX」と「ご相談から治療までの流れ」の間：#allon の下余白6remのみにして6remに揃える */
  #allon-flow {
    padding-top: 0;
  }
}
/* 「友枝式オールオンX」と「ご相談から治療までの流れ」は別セクション化。
   間隔は他セクションと同じ .l-flow の余白（padding 8rem 0 / SP 6rem 0）で確保するため、追加指定なし */
/* ▼追加：友枝式オールオンXの税抜と税込の間隔を詰める */
#allon-price .l-priceCardLarge__list strong {
    line-height: 1.3;
}
#allon-price .l-priceCardLarge__list strong .tax-in {
    display: block;                  /* 税込は必ず次の行に出す（中途半端な折り返しを防ぐ） */
    margin-top: .4rem;               /* ← 税抜と税込の間隔はここで調整 */
    font-feature-settings: "palt";   /* 行頭の「（」の余白を詰める */
}
/* ▲追加ここまで */

.price-risk {
  box-sizing: border-box;
  width: 100%;                     /* 横幅いっぱい */
  max-width: none;
  flex: 0 0 100%;                  /* 親が横並び（flex）でも1行まるごと使う */
  margin-top: 3rem;                /* ← 料金表との間隔（PC）はここで調整 */
  padding: 3rem 4rem;
  background: #fff;
  border: .2rem solid #EDF0F5;
  border-radius: .8rem;
}
.price-risk__ttl {
  margin: 0 0 2rem;
  color: #0058a1;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.price-risk__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-risk__list li {
  position: relative;
  padding-left: 1.4em;
  font-size: 1.4rem;
  line-height: 1.8;
}
.price-risk__list li + li {
  margin-top: .6rem;               /* ← 項目同士の間隔はここで調整 */
}
.price-risk__list li::before {
  content: "";
  position: absolute;
  left: .3em;
  top: .7em;
  width: .5em;
  height: .5em;
  background: #107EF5;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .price-risk {
    margin-top: 2.4rem;            /* ← 料金表との間隔（SP）はここで調整 */
    padding: 2rem;
  }
  .price-risk__ttl {
    margin-bottom: 1.4rem;
    font-size: 1.8rem;
  }
  .price-risk__list li {
    font-size: 1.3rem;
  }
}