/* 海外在住・一時帰国中の方へ（インプラントページ共通セクション）
   2026-10-01 追加。全ルールを .ovs 配下に閉じ込めている。
   ロールバック：このファイルの削除＋implant.html の link 1行と <div class="ovs"> を含むセクションの削除。
   ※ 文字サイズは px 固定（既存CSSの p/li/th/td に font-size:160% が掛かる院があるため）。 */

#content .ovs {
  --ovs-navy: #172F49;
  --ovs-teal: #297E80;
  --ovs-line: #06C755;
  --ovs-border: #d5dfe3;
  --ovs-bg: #f5f9fa;
  margin: 0;
  padding: 0;
  color: #333;
  text-align: left;
}

#content .ovs p {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
}

#content .ovs .ovs__lead {
  margin-bottom: 20px;
}

#content .ovs .ovs__cards {
  display: flex;
  gap: 16px;
  margin: 0 0 24px;
}

#content .ovs .ovs__card {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  padding: 16px 18px 18px;
  background: var(--ovs-bg);
  border: 1px solid var(--ovs-border);
  border-radius: 4px;
}

#content .ovs .ovs__card-ttl {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--ovs-navy);
}

#content .ovs .ovs__card p {
  font-size: 14px;
  line-height: 1.8;
}

#content .ovs .ovs__card a {
  color: var(--ovs-teal);
  text-decoration: underline;
}

#content .ovs .ovs__cta {
  margin: 0 0 16px;
  padding: 20px 18px;
  box-sizing: border-box;
  border: 1px solid var(--ovs-border);
  border-radius: 4px;
  background: #fff;
}

#content .ovs .ovs__cta-ttl {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: var(--ovs-navy);
}

#content .ovs .ovs__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

#content .ovs .ovs__btn {
  display: flex;
  flex: 1 1 200px;
  max-width: 280px;
  min-height: 52px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 2px solid var(--ovs-navy);
  border-radius: 4px;
  background: #fff;
  color: var(--ovs-navy);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

#content .ovs .ovs__btn:hover {
  opacity: 0.8;
}

#content .ovs .ovs__btn small {
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.5;
}

#content .ovs .ovs__btn--mail {
  background: var(--ovs-navy);
  color: #fff;
}

#content .ovs .ovs__btn--line {
  border-color: var(--ovs-line);
  background: var(--ovs-line);
  color: #fff;
}

#content .ovs .ovs__btn--video {
  border-color: var(--ovs-line);
  color: #058c40;
}

#content .ovs .ovs__note {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
}

@media screen and (max-width: 750px) {
  #content .ovs .ovs__cards {
    flex-direction: column;
    gap: 12px;
  }

  #content .ovs .ovs__btns {
    flex-direction: column;
  }

  #content .ovs .ovs__btn {
    flex: none;
    width: 100%;
    max-width: none;
  }

  #content .ovs p {
    font-size: 14px;
  }

  #content .ovs .ovs__card p {
    font-size: 13px;
  }
}

/* 導入文＋写真 */
#content .ovs .ovs__intro {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0 0 24px;
}

#content .ovs .ovs__intro-txt {
  flex: 1 1 0;
  min-width: 0;
}

#content .ovs .ovs__intro-txt .ovs__lead:last-child {
  margin-bottom: 0;
}

#content .ovs .ovs__fig {
  flex: 0 0 38%;
  max-width: 400px;
  margin: 0;
}

#content .ovs .ovs__fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

#content .ovs .ovs__fig .ovs__fig-cap {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  color: #777;
}

@media screen and (max-width: 750px) {
  #content .ovs .ovs__intro {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  #content .ovs .ovs__fig {
    flex: none;
    max-width: none;
  }
}

/* 案B：各院の料金表と同じ部品（見出し・テーブル）でメーカー表を組む */
#content .ovs .ovs__makers-b {
  margin: 0 0 24px;
}

#content .ovs .ovs__makers-b table {
  margin-bottom: 0;
}

#content .ovs .ovs__makers-b th {
  width: 30%;
}

#content .ovs .ovs__makers-b td {
  text-align: left;
}

#content .ovs .ovs__mk-b {
  display: inline-block;
  max-width: 100%;
}

#content .ovs .ovs__makers-note-b {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #666;
}

@media screen and (max-width: 750px) {
  #content .ovs .ovs__makers-b th {
    width: auto;
  }
}
