@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ - Oh my teeth 北海道札幌矯正歯科
    Version: 2.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =============================
   OMTブランドカラー変数
============================= */
:root {
  --omt-white:    #FFFFFF;
  --omt-bg:       #F8F8F8;
  --omt-border:   #E8E8E8;
  --omt-accent:   #F64850;
  --omt-black:    #000000;
  --omt-subtext:  #888888;
  --omt-footer:   #1A1A1A;
  --omt-font-en:  'Josefin Sans', sans-serif;
  --omt-font-jp:  'Noto Sans JP', sans-serif;
}

/* =============================
   グローバルスタイル上書き
============================= */
body {
  font-family: var(--omt-font-jp);
  color: var(--omt-black);
}

/* トップページ全幅対応 */
.home .l-mainContent__inner,
.home .l-content,
.home .l-mainContent,
.home .post_content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.home .l-mainContent__inner .post_content > * {
  max-width: 100% !important;
}
/* パンくず・タイトル非表示 */
.home .c-pageTitle,
.home .p-breadcrumb {
  display: none !important;
}

/* =============================
   ユーティリティ
============================= */
br.sp-only { display: none; }
.pc-only { display: block; }

.omt-section-wrap { max-width: 1080px; margin: 0 auto; padding: 80px 24px; }
.omt-section-head { text-align: center; margin-bottom: 56px; }
.omt-section-en {
  font-family: var(--omt-font-en) !important;
  font-size: 11px !important; letter-spacing: 0.2em !important; color: var(--omt-subtext) !important;
  text-transform: uppercase; display: block !important; margin-bottom: 10px !important;
  line-height: 1.4 !important;
}

/* =============================
   SWELLデフォルト干渉リセット（トップページ専用）
============================= */

/* h2: SWELLの::before疑似要素・背景・ボーダーを完全リセット */
.home .post_content h2,
.home .post_content h2::before,
.home .post_content h2::after {
  background: none !important;
  background-image: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  content: none !important;
}
.home .post_content h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: var(--omt-black) !important;
  line-height: 1.4 !important;
  text-align: center !important;
  position: relative !important;
}

/* h3: SWELLの斜線パターン・padding・ボーダーを完全リセット */
.home .post_content h3,
.home .post_content h3::before,
.home .post_content h3::after {
  background: none !important;
  background-image: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  content: none !important;
}
.home .post_content h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: var(--omt-black) !important;
}

/* p, ul, li: SWELLのデフォルトmarginリセット */
.home .post_content section p,
.home .post_content section ul,
.home .post_content section li {
  margin-bottom: 0;
}

/* img: SWELLのlazyload干渉防止 */
.home .post_content section img {
  max-width: 100%;
}
/* 画像の高さauto上書き防止 */
.home .omt-reason-img img,
.home .omt-flow-card-img img,
.home .omt-clinic-img img,
.home .omt-fv-slide img {
  height: 100% !important;
  object-fit: cover !important;
}

/* SWELLのflex/grid gap干渉リセット */
.home .post_content .is-layout-flex { gap: 0 !important; }
.home .post_content .is-layout-grid { gap: 0 !important; }

/* wp-block-htmlのmargin干渉リセット */
.home .post_content section { margin-bottom: 0 !important; }
.home .post_content .wp-block-html { margin-bottom: 0 !important; margin-top: 0 !important; }
.home .post_content > .wp-block-html + .wp-block-html { margin-top: 0 !important; }

/* SWELLのコンテンツ余白リセット */
.home .l-mainContent { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.home .l-content { padding-bottom: 0 !important; }
.home .post_content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.home .post_content > :last-child { margin-bottom: 0 !important; }

/* SWELLのaタグデフォルトスタイルリセット（カード内リンク） */
.home .post_content a.omt-clinic-card,
.home .post_content a.omt-qa-item {
  color: inherit !important;
  text-decoration: none !important;
}

/* SWELLのhr干渉リセット */
.home .post_content hr.omt-fee-divider {
  border-top: 1px solid var(--omt-border) !important;
  margin: 12px 0 !important;
  opacity: 1 !important;
}
.omt-btn-red {
  display: inline-block; background: var(--omt-accent); color: #fff;
  padding: 14px 40px; font-size: 13px; text-decoration: none;
  letter-spacing: 0.1em; transition: opacity 0.2s;
}
.omt-btn-red:hover { opacity: 0.85; color: #fff; }
.omt-btn-outline {
  display: inline-block; border: 1px solid var(--omt-black); color: var(--omt-black);
  padding: 12px 40px; font-size: 12px; text-decoration: none;
  letter-spacing: 0.1em; transition: background 0.2s, color 0.2s;
}
.omt-btn-outline:hover { background: var(--omt-black); color: #fff; }

/* =============================
   カスタムヘッダー
============================= */
/* SWELLデフォルトヘッダーを非表示（全ページ） */
.l-header { display: none !important; }
.l-fixHeader { display: none !important; }
/* カスタムヘッダー分の余白確保（全ページ） */
body { padding-top: 64px !important; }
@media (max-width: 768px) { body { padding-top: 56px !important; } }

.omt-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  background: var(--omt-white); border-bottom: 1px solid var(--omt-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
}
/* WP管理バーがある場合のヘッダー位置調整 */
.admin-bar .omt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .omt-header { top: 46px; } }
.omt-header-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.omt-header-logo img {
  height: 22px; width: auto; display: block;
}
.omt-header-logo-sub {
  font-size: 11px; letter-spacing: 0.08em; color: var(--omt-subtext);
}
.omt-header-nav ul {
  list-style: none; display: flex; gap: 24px; margin: 0; padding: 0;
}
.omt-header-nav a {
  font-size: 12px; color: var(--omt-black); text-decoration: none;
  letter-spacing: 0.04em;
}
.omt-header-nav a:hover { color: var(--omt-accent); }
.omt-header-cta {
  background: var(--omt-accent); color: #fff !important;
  padding: 10px 20px; font-size: 11px; text-decoration: none;
  letter-spacing: 0.06em; white-space: nowrap;
}
.omt-header-cta:hover { opacity: 0.85; }
.omt-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; flex-shrink: 0; background: none; border: none;
  position: relative; z-index: 1100;
}
.omt-hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--omt-black);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.omt-hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--omt-black);
  transition: transform 0.3s, opacity 0.3s;
}

/* モバイルオーバーレイ */
.omt-mobile-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); z-index: 1008;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.omt-mobile-overlay.open { opacity: 1; visibility: visible; }

/* モバイルメニューパネル */
.omt-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--omt-white); z-index: 1009;
  padding: 80px 32px 40px; overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.omt-mobile-menu.open { right: 0; }
.omt-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.omt-mobile-menu li { border-bottom: 1px solid var(--omt-border); }
.omt-mobile-menu a {
  display: block; padding: 16px 0; font-size: 14px;
  color: var(--omt-black); text-decoration: none; letter-spacing: 0.04em;
}
.omt-mobile-menu-cta {
  display: block; background: var(--omt-accent); color: #fff !important;
  text-align: center; padding: 14px; font-size: 13px; text-decoration: none;
  letter-spacing: 0.06em; margin-top: 24px;
}

/* ハンバーガーアニメーション */
.omt-hamburger.open { z-index: 1100; }
.omt-hamburger span {
  transform-origin: center center;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}
.omt-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(135deg) !important;
}
.omt-hamburger.open span:nth-child(2) {
  transform: scale(0) !important;
  opacity: 0 !important;
}
.omt-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-135deg) !important;
}

/* SP版ヘッダー */
@media (max-width: 768px) {
  .omt-header { padding: 0 16px; height: 56px; }
  .omt-header-nav { display: none; }
  .omt-header-cta { display: none; }
  .omt-hamburger { display: flex; }
  .omt-header-logo img { height: 18px; }
  .omt-header-logo-sub { font-size: 9px; }
}

/* SWELLデフォルトフッターを非表示（全ページ） */
.l-footer { display: none !important; pointer-events: none !important; }
/* SWELLの固定ボタンがフッターリンクを阻害しないようにする */
.p-fixBtnWrap { pointer-events: none !important; }
.p-fixBtnWrap > * { pointer-events: auto !important; }

/* カスタムフッター */
.omt-footer {
  background: var(--omt-footer); padding: 48px 24px 24px;
  position: relative; z-index: 100; pointer-events: auto;
}
/* SWELLのフッター周辺要素がカスタムフッターを阻害しないようにする */
.l-footer,
#footer {
  display: none !important;
  pointer-events: none !important;
}
.omt-footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px; flex-wrap: wrap; gap: 24px;
}
.omt-footer-logo img { height: 20px; width: auto; margin-bottom: 4px; }
.omt-footer-logo-sub {
  font-size: 11px; color: rgba(255,255,255,0.5); display: block; margin-top: 4px;
}
.omt-footer-info {
  font-size: 12px; color: rgba(255,255,255,0.6); line-height: 2; margin-top: 12px;
}
.omt-footer-tags {
  margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap;
}
.omt-footer-tag {
  font-size: 10px; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1); padding: 3px 8px; border-radius: 2px;
}
.omt-footer-links {
  display: flex; flex-direction: column; gap: 8px;
}
.omt-footer-links a {
  font-size: 11px; color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important; letter-spacing: 0.04em;
}
.omt-footer-links a:hover { color: rgba(255,255,255,0.8) !important; }
.omt-footer-copy {
  max-width: 1080px; margin: 0 auto;
  font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.06em;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  font-family: var(--omt-font-en);
}

@media (max-width: 768px) {
  .omt-footer-inner { flex-direction: column; gap: 20px; }
}

/* =============================
   FV（カスタムHTMLブロック用）
============================= */
.omt-fv {
  display: flex; min-height: 580px;
  background: var(--omt-white);
}
.omt-fv-content {
  flex: 0 0 45%; display: flex; align-items: center;
  padding: 60px 4% 60px 6%;
}
.omt-fv-inner { width: 100%; max-width: 480px; }
.omt-fv-tag {
  display: inline-block; border: 1px solid var(--omt-border);
  padding: 5px 14px; font-size: 11px; letter-spacing: 0.16em;
  color: var(--omt-subtext); margin-bottom: 28px;
}
.omt-fv-title {
  font-size: 46px; font-weight: 700; line-height: 1.45;
  letter-spacing: 0.04em; margin-bottom: 20px; color: var(--omt-black);
}
.omt-fv-title-location {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.omt-fv-sub {
  font-size: 15px; color: var(--omt-subtext); line-height: 1.9;
  margin-bottom: 36px; font-weight: 300;
}
.omt-fv-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.omt-fv-btn-sub {
  display: inline-block; border: 1px solid var(--omt-border); color: var(--omt-black);
  padding: 13px 28px; font-size: 13px; text-decoration: none;
  letter-spacing: 0.08em;
}
.omt-fv-image {
  flex: 1; overflow: hidden; min-height: 400px; position: relative;
}
.omt-fv-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease;
}
.omt-fv-slide.active { opacity: 1; }
.omt-fv-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.omt-fv-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.omt-fv-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.3s;
}
.omt-fv-dot.active { background: #fff; }
.omt-fv-btns-sp { display: none !important; }

/* Invisalign バッジ */
.omt-inv-badge {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  padding: 10px 16px; border-radius: 6px;
}
.omt-inv-badge-diamond {
  font-size: 20px; color: #a8d8ff;
  text-shadow: 0 0 8px rgba(168, 216, 255, 0.4);
  line-height: 1;
}
.omt-inv-badge-text { display: flex; flex-direction: column; }
.omt-inv-badge-label {
  font-family: var(--omt-font-en); font-size: 9px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5); font-weight: 400;
}
.omt-inv-badge-title {
  font-size: 10px; font-weight: 600; color: #fff;
  line-height: 1.5; letter-spacing: 0.06em;
}

/* ご来院数バッジ */
.omt-visit-badge {
  display: flex; flex-direction: column; align-items: center;
  border: 1.5px solid var(--omt-black); border-radius: 50%;
  width: 80px; height: 80px; justify-content: center;
}
.omt-visit-badge-label-top {
  font-size: 8px; color: var(--omt-subtext); letter-spacing: 0.06em; font-weight: 500;
}
.omt-visit-badge-num {
  font-family: var(--omt-font-en); font-size: 16px; font-weight: 800;
  color: var(--omt-black); line-height: 1.1; letter-spacing: -0.02em;
}
.omt-visit-badge-unit { font-size: 10px; font-weight: 600; }
.omt-visit-badge-label {
  font-size: 8px; color: var(--omt-subtext); letter-spacing: 0.04em;
  margin-top: 1px; font-weight: 500;
}

/* =============================
   クイックアクセス（カスタムHTMLブロック用）
============================= */
.omt-quick-access {
  background: var(--omt-white);
  border-top: 1px solid var(--omt-border);
  border-bottom: 1px solid var(--omt-border);
}
.omt-qa-inner {
  max-width: 1080px; margin: 0 auto; display: flex;
}
.omt-qa-item {
  flex: 1; padding: 24px 12px; text-align: center;
  text-decoration: none; color: var(--omt-black);
  border-right: 1px solid var(--omt-border);
  transition: background 0.15s;
}
.omt-qa-item:last-child { border-right: none; }
.omt-qa-item:hover { background: var(--omt-bg); }
.omt-qa-icon { font-size: 22px; margin-bottom: 6px; color: var(--omt-black); }
.omt-qa-icon .material-icons { font-size: 22px; }
.omt-qa-text { font-size: 11px; letter-spacing: 0.06em; color: var(--omt-black); }

/* =============================
   選ばれる理由（SWELLカラムブロック+カスタムCSS）
============================= */
.omt-reason-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--omt-border);
}
.omt-reason-card { background: var(--omt-white); overflow: hidden; }
.omt-reason-img {
  aspect-ratio: 16/10; overflow: hidden; background: var(--omt-bg);
  position: relative; width: 100%;
}
.omt-reason-img img {
  width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important;
  position: absolute; top: 0; left: 0;
  transition: transform 0.5s ease;
}
.omt-reason-card:hover .omt-reason-img img { transform: scale(1.04); }
.omt-reason-body { padding: 28px 28px 32px; }
.omt-reason-num {
  font-family: var(--omt-font-en);
  font-size: 32px; font-weight: 300; color: var(--omt-border);
  margin-bottom: 12px; line-height: 1;
}
.omt-reason-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.omt-reason-desc { font-size: 13px; color: var(--omt-subtext); line-height: 1.8; font-weight: 300; }
.omt-reason-accent { color: var(--omt-accent); font-weight: 700; }

/* =============================
   料金プラン（カスタムHTMLブロック用）
============================= */
.omt-fee-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--omt-border);
  margin-bottom: 40px; align-items: stretch;
}
.omt-fee-card {
  background: var(--omt-white); padding: 40px 32px; text-align: center;
  border-top: 3px solid var(--omt-accent); display: flex; flex-direction: column;
}
.omt-fee-plan-label {
  font-family: var(--omt-font-en);
  font-size: 11px; letter-spacing: 0.15em; color: var(--omt-subtext);
  text-transform: uppercase; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.omt-fee-plan-label.red { color: var(--omt-accent); }
.omt-fee-badge {
  display: inline-block; background: var(--omt-accent); color: #fff;
  font-size: 9px; padding: 2px 8px; letter-spacing: 0.06em;
  margin-left: 6px; vertical-align: middle; white-space: nowrap;
}
.omt-fee-price {
  font-family: var(--omt-font-en);
  font-size: 42px; font-weight: 600; color: var(--omt-black);
  line-height: 1; margin-bottom: 0;
}
.omt-fee-price-sub { font-size: 13px; font-family: var(--omt-font-jp); }
.omt-fee-divider { border: none; border-top: 1px solid var(--omt-border); margin: 12px 0; }
.omt-fee-detail { font-size: 12px; color: var(--omt-subtext); line-height: 1.8; margin-bottom: 16px; }
.omt-fee-target { font-size: 12px; font-weight: 700; color: var(--omt-black); margin-bottom: 4px; }
.omt-fee-note { font-size: 11px; color: var(--omt-subtext); text-align: center; margin-top: 16px; }
.omt-fee-cta { text-align: center; margin-top: 40px; }

/* =============================
   治療の流れ Step Rail（カスタムHTMLブロック用）
============================= */
.omt-flow-rail-wrap { position: relative; margin-bottom: 20px; }
.omt-flow-rail-line {
  position: absolute; top: 19px; left: 10%; right: 10%;
  height: 1px; background: var(--omt-border); z-index: 0;
}
.omt-flow-rail-dots {
  display: flex; justify-content: space-around; position: relative; z-index: 1;
}
.omt-flow-rail-dot { display: flex; flex-direction: column; align-items: center; flex: 1; cursor: pointer; }
.omt-flow-dot-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--omt-white); border: 1px solid var(--omt-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--omt-font-en); font-size: 12px; font-weight: 600;
  color: var(--omt-black); letter-spacing: 0.05em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  position: relative; z-index: 2;
}
.omt-flow-rail-dot:hover .omt-flow-dot-circle,
.omt-flow-rail-dot.active .omt-flow-dot-circle {
  background: var(--omt-black); color: var(--omt-white); border-color: var(--omt-black);
}
.omt-flow-cards { display: flex; gap: 12px; }
.omt-flow-card { flex: 1; background: var(--omt-bg); overflow: hidden; transition: box-shadow 0.2s; }
.omt-flow-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.omt-flow-card-img { aspect-ratio: 4/3; overflow: hidden; }
.omt-flow-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.omt-flow-card:hover .omt-flow-card-img img { transform: scale(1.04); }
.omt-flow-card-body { padding: 16px 16px 20px; }
.omt-flow-card-title { font-size: 12px; font-weight: 700; margin-bottom: 6px; line-height: 1.5; }
.omt-flow-card-desc { font-size: 11px; color: var(--omt-subtext); line-height: 1.7; font-weight: 300; }

/* =============================
   症例カルーセル（カスタムHTMLブロック用）
============================= */
.omt-ba-carousel-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px;
}
.omt-ba-carousel-track::-webkit-scrollbar { display: none; }
.omt-ba-carousel-card {
  flex: 0 0 calc(50% - 36px); scroll-snap-align: start;
  background: var(--omt-bg); padding: 32px 24px;
}
.omt-ba-carousel-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 24px;
}
.omt-ba-carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--omt-border); cursor: pointer; transition: background 0.2s;
}
.omt-ba-carousel-dot.active { background: var(--omt-black); }

/* =============================
   系列クリニック（カスタムHTMLブロック用）
============================= */
.omt-clinic-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.omt-clinic-card {
  background: var(--omt-white); text-decoration: none;
  transition: box-shadow 0.2s; display: block;
  border: 1px solid var(--omt-border);
}
.omt-clinic-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.omt-clinic-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: #e0e0e2;
}
.omt-clinic-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.omt-clinic-card:hover .omt-clinic-img img { transform: scale(1.03); }
.omt-clinic-region-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.92); color: var(--omt-black);
  font-size: 10px; font-weight: 700; padding: 3px 10px;
}
.omt-clinic-access-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: var(--omt-black); color: var(--omt-white);
  font-size: 10px; padding: 4px 10px;
}
.omt-clinic-body { padding: 16px 16px 20px; }
.omt-clinic-short-name { font-size: 18px; font-weight: 700; color: var(--omt-black); margin-bottom: 2px; }
.omt-clinic-full-name { font-size: 11px; color: var(--omt-subtext); margin-bottom: 8px; }
.omt-clinic-address { font-size: 11px; color: var(--omt-accent); font-weight: 500; }

/* =============================
   固定CTA（SP専用）
============================= */
.omt-fixed-cta { display: none; }

/* =============================
   SP対応
============================= */
@media (max-width: 768px) {
  br.sp-only { display: block; }
  .pc-only { display: none !important; }

  /* FV */
  .omt-fv {
    flex-direction: column; min-height: 66vh;
    position: relative; margin-top: 0;
  }
  .omt-fv-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; min-height: auto;
  }
  .omt-fv-image::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
  }
  .omt-fv-content {
    position: relative; z-index: 2;
    padding: 72px 20px 24px;
    display: flex; flex-direction: column; justify-content: flex-end; flex: 1;
  }
  .omt-fv-inner { max-width: 100%; background: none; padding: 0; border: none; align-self: flex-start; }
  .omt-fv-tag { display: block !important; color: rgba(255,255,255,0.9) !important; font-size: 10px !important; border-color: rgba(255,255,255,0.25) !important; margin-bottom: 12px !important; padding: 4px 10px !important; }
  .omt-fv-title { font-size: 26px; color: #fff; margin-bottom: 12px; }
  .omt-fv-sub { font-size: 12px; color: rgba(255,255,255,0.9); margin-bottom: 12px; }
  .omt-fv-sub img { filter: brightness(0) invert(1); }
  .omt-fv-sub span { color: rgba(255,255,255,0.9) !important; }
  .omt-fv-btns-sp { display: none !important; }
  .omt-fv-btns { display: none !important; }
  .omt-fv-dots { z-index: 3; }
  .omt-inv-badge { padding: 7px 10px; border-radius: 5px; }
  .omt-inv-badge-title { font-size: 9px; }
  .omt-inv-badge-diamond { font-size: 16px; }
  .omt-visit-badge { border-color: rgba(255,255,255,0.6); width: 68px; height: 68px; }
  .omt-visit-badge-label-top, .omt-visit-badge-label { color: rgba(255,255,255,0.7); font-size: 7px; }
  .omt-visit-badge-num { color: #fff; font-size: 14px; }

  /* クイックアクセス */
  .omt-qa-inner { flex-wrap: wrap; }
  .omt-qa-item { flex: 0 0 33.33%; border-bottom: 1px solid var(--omt-border); padding: 20px 8px; }
  .omt-qa-item:nth-child(3) { border-right: none; }

  /* セクション共通 */
  .omt-section-wrap { padding: 56px 20px; }
  .omt-section-head { margin-bottom: 36px; }

  /* 選ばれる理由 */
  .omt-reason-grid { grid-template-columns: 1fr !important; display: grid !important; }
  .omt-reason-card { width: 100% !important; display: block !important; overflow: hidden !important; }
  .omt-reason-img { aspect-ratio: 16/10 !important; width: 100% !important; }
  .omt-reason-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .omt-reason-body { padding: 20px; }

  /* 理事長紹介 SP */
  #doctor .omt-section-wrap > div:last-child {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  #doctor .omt-section-wrap > div:last-child > div:first-child {
    width: 180px !important;
    margin: 0 auto !important;
  }
  #doctor .omt-section-wrap > div:last-child > div:last-child {
    text-align: center !important;
  }

  /* 料金 */
  .omt-fee-grid { grid-template-columns: 1fr !important; }
  .omt-fee-card { padding: 28px 20px; align-items: center; }
  .omt-fee-card > * { text-align: center; }

  /* 治療の流れ */
  .omt-flow-rail-line { left: 5%; right: 5%; top: 15px; }
  .omt-flow-dot-circle { width: 32px; height: 32px; font-size: 10px; }
  .omt-flow-cards { gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .omt-flow-card { flex: 0 0 60%; scroll-snap-align: start; }

  /* 症例 */
  .omt-ba-carousel-card { flex: 0 0 80%; }


  /* アクセス */
  #access .omt-section-wrap > div:last-child {
    flex-direction: column !important;
  }
  #access .omt-section-wrap > div:last-child > div:first-child {
    min-height: 260px !important; width: 100% !important;
  }
  #access .omt-section-wrap > div:last-child > div:first-child iframe {
    height: 260px !important;
  }
  #access .omt-section-wrap > div:last-child > div:last-child {
    width: 100% !important; padding: 28px 20px !important;
  }

  /* 系列クリニック */
  .omt-clinic-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* 固定CTA */
  .omt-fixed-cta {
    display: flex;
    position: fixed; bottom: 16px; left: 16px; right: 16px;
    z-index: 999;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 12px 16px;
    flex-direction: row; align-items: center; gap: 8px;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 1; transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .omt-fixed-cta-btns { display: flex !important; flex: 1; gap: 8px; width: 100%; }
  .omt-fixed-cta-btn-primary {
    flex: 1; text-align: center; padding: 12px 8px; font-size: 11px;
    background: var(--omt-accent) !important; color: #fff !important; text-decoration: none !important;
    letter-spacing: 0.04em; white-space: nowrap;
    display: flex; align-items: center; justify-content: center;
    border: none !important; border-radius: 0 !important;
  }
  .omt-fixed-cta-btn-secondary {
    flex: 1; text-align: center; padding: 11px 8px; font-size: 11px;
    border: 1px solid rgba(255,255,255,0.3) !important; color: #fff !important; text-decoration: none !important;
    letter-spacing: 0.04em; white-space: nowrap; background: transparent !important;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0 !important;
  }
}

/* =============================================
   料金ページ専用スタイル
   ※ .page-slug-price は functions.php の body_class フィルタで付与
============================================= */

/* 料金ページ全幅対応 */
.page-slug-price .l-mainContent__inner,
.page-slug-price .l-content,
.page-slug-price .l-mainContent,
.page-slug-price .post_content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-slug-price .l-mainContent__inner .post_content > * {
  max-width: 100% !important;
}
/* SWELLデフォルトのページタイトル・パンくず・アイキャッチ・ヘッダー画像を非表示 */
.page-slug-price .c-pageTitle,
.page-slug-price .p-breadcrumb,
.page-slug-price .p-articleThumb,
.page-slug-price .l-articleHeader,
.page-slug-price .l-article__header,
.page-slug-price .c-postThumb,
.page-slug-price .c-mvSingle,
.page-slug-price .p-articleMetas,
.page-slug-price .post_content > .wp-block-image:first-child,
.page-slug-price .l-mainContent__inner > .c-postThumb,
.page-slug-price .p-articleHeader,
.page-slug-price .l-mainContent__inner > :first-child:not(.post_content),
.page-slug-price .l-topTitleArea,
.page-slug-price #top_title_area {
  display: none !important;
}

/* SWELLの固定ボタン・メニューオーバーレイを非表示（フッターリンク阻害防止） */
.page-slug-price .p-fixBtnWrap,
.page-slug-price #fix_bottom_menu,
.page-slug-price .p-spMenu__overlay,
.page-slug-price #pagetop,
.page-slug-price #fix_tocbtn {
  display: none !important;
}

/* SWELLデフォルト干渉リセット（料金ページ） */
.page-slug-price .post_content h2,
.page-slug-price .post_content h2::before,
.page-slug-price .post_content h2::after {
  background: none !important;
  background-image: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  content: none !important;
}
.page-slug-price .post_content h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: var(--omt-black) !important;
  line-height: 1.4 !important;
  text-align: center !important;
  position: relative !important;
}
.page-slug-price .post_content h3,
.page-slug-price .post_content h3::before,
.page-slug-price .post_content h3::after {
  background: none !important;
  background-image: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  content: none !important;
}
.page-slug-price .post_content section p,
.page-slug-price .post_content section ul,
.page-slug-price .post_content section li {
  margin-bottom: 0;
}
.page-slug-price .post_content section { margin-bottom: 0 !important; }
.page-slug-price .post_content .wp-block-html { margin-bottom: 0 !important; margin-top: 0 !important; }
.page-slug-price .post_content > .wp-block-html + .wp-block-html { margin-top: 0 !important; }
.page-slug-price .l-mainContent { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.page-slug-price .l-content { padding-bottom: 0 !important; }
.page-slug-price .post_content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.page-slug-price .post_content > :last-child { margin-bottom: 0 !important; }
.page-slug-price .post_content .is-layout-flex { gap: 0 !important; }
.page-slug-price .post_content .is-layout-grid { gap: 0 !important; }
.page-slug-price .post_content hr.omt-fee-divider {
  border-top: 1px solid var(--omt-border) !important;
  margin: 12px 0 !important;
  opacity: 1 !important;
}

/* ページヒーロー */
.omt-page-hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--omt-border);
}
.omt-page-hero-img {
  width: 100%; height: 280px; object-fit: cover; display: block;
  filter: brightness(0.4);
}
.omt-page-hero-content {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 1;
}
.omt-page-hero .omt-section-en { color: rgba(255,255,255,0.7); }
.omt-page-hero h1 {
  font-size: 28px !important; font-weight: 700 !important;
  color: #fff !important; letter-spacing: 0.04em !important;
  margin-bottom: 12px !important;
}
.omt-page-hero-sub {
  font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.8;
  font-weight: 300;
}

/* 料金の特長 */
.omt-price-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--omt-border);
}
.omt-price-feature {
  background: var(--omt-white); padding: 40px 28px; text-align: center;
}
.omt-price-feature-icon {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--omt-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 24px; color: var(--omt-black);
}
.omt-price-feature-title {
  font-size: 14px; font-weight: 700; margin-bottom: 8px;
}
.omt-price-feature-desc {
  font-size: 12px; color: var(--omt-subtext); line-height: 1.8; font-weight: 300;
}

/* 料金カード拡張（月額・含まれるもの） */
.omt-fee-monthly {
  font-size: 12px; color: var(--omt-subtext); margin-bottom: 20px; margin-top: 6px;
}
.omt-fee-plan-name {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
}
.omt-fee-plan-name.accent { color: var(--omt-accent); }
.omt-fee-includes {
  text-align: left; margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--omt-border);
}
.omt-fee-includes-title {
  font-size: 11px; font-weight: 700; color: var(--omt-black);
  margin-bottom: 8px; letter-spacing: 0.04em;
}
.omt-fee-includes ul { list-style: none; padding: 0; }
.omt-fee-includes li {
  font-size: 11px; color: var(--omt-subtext); line-height: 1.8;
  padding-left: 16px; position: relative;
}
.omt-fee-includes li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--omt-accent); font-weight: 700; font-size: 11px;
}

/* 料金に含まれるもの */
.omt-included-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--omt-border);
}
.omt-included-item {
  background: var(--omt-white); padding: 32px 20px; text-align: center;
}
.omt-included-icon {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--omt-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 22px; color: var(--omt-black);
}
.omt-included-name {
  font-size: 13px; font-weight: 500; margin-bottom: 4px;
}
.omt-included-note {
  font-size: 11px; color: var(--omt-subtext); line-height: 1.6;
}

/* お支払い方法 */
.omt-payment-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.omt-payment-card {
  background: var(--omt-white); padding: 32px 24px; text-align: center;
  border: 1px solid var(--omt-border);
}
.omt-payment-icon {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--omt-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 22px; color: var(--omt-black);
}
.omt-payment-title {
  font-size: 14px; font-weight: 700; margin-bottom: 8px;
}
.omt-payment-desc {
  font-size: 12px; color: var(--omt-subtext); line-height: 1.8; font-weight: 300;
}

/* 料金FAQ */
.omt-faq-list { border-top: 1px solid var(--omt-border); }
.omt-faq-item { border-bottom: 1px solid var(--omt-border); }
.omt-faq-q {
  padding: 22px 0; display: flex; align-items: flex-start; gap: 16px;
  cursor: pointer;
}
.omt-faq-q-mark {
  font-family: var(--omt-font-en);
  font-size: 16px; font-weight: 600; color: var(--omt-accent);
  flex-shrink: 0; line-height: 1.5; width: 16px;
}
.omt-faq-q-text { font-size: 14px; font-weight: 500; line-height: 1.6; flex: 1; }
.omt-faq-toggle {
  font-size: 18px; color: var(--omt-subtext); flex-shrink: 0;
  transition: transform 0.3s;
}
.omt-faq-item.open .omt-faq-toggle { transform: rotate(180deg); }
.omt-faq-a {
  padding: 0 0 22px 32px;
  font-size: 13px; color: var(--omt-subtext); line-height: 1.9; font-weight: 300;
  display: none;
}
.omt-faq-item.open .omt-faq-a { display: block; }

/* CTAセクション */
.omt-cta-section { text-align: center; }
.omt-cta-section h2 { margin-bottom: 16px !important; }
.omt-cta-sub {
  font-size: 13px; color: var(--omt-subtext); margin-bottom: 48px;
  line-height: 1.8; font-weight: 300;
}
.omt-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 料金ページ SP対応 */
@media (max-width: 768px) {
  .omt-page-hero-img { height: 200px; }
  .omt-page-hero h1 { font-size: 22px !important; }

  .omt-price-features { grid-template-columns: 1fr; }
  .omt-price-feature { padding: 28px 20px; }

  .omt-fee-card { align-items: center; }
  .omt-fee-card > * { text-align: center; }
  .omt-fee-includes { text-align: left; }

  .omt-included-grid { grid-template-columns: 1fr; }

  .omt-payment-grid { grid-template-columns: 1fr; gap: 12px; }

  .omt-cta-btns { flex-direction: column; align-items: center; }
  .omt-cta-btns .omt-btn-red,
  .omt-cta-btns .omt-btn-outline { width: 100%; max-width: 320px; text-align: center; }
}

/* === OMT-BLOG-HEADER-A START (自動管理・手で編集しない) === */
/* 投稿の多くがアイキャッチ未設定でSWELLがグレーのno-imageを出すため、
   画像に依存しない記事ヘッダーに置き換える。single投稿にだけ効かせる。 */
.single-post #top_title_area.l-topTitleArea {
  background: var(--omt-white) !important;
  min-height: 0 !important; padding: 14px 0 20px !important; margin: 0 !important;
  border-bottom: 1px solid var(--omt-border);
  display: block !important; color: var(--omt-black) !important;
}
.single-post #top_title_area .l-topTitleArea__img,
.single-post #top_title_area > noscript,
.single-post #top_title_area.c-filterLayer::before,
.single-post #top_title_area.c-filterLayer::after { display: none !important; content: none !important; }
.single-post #top_title_area .l-topTitleArea__body {
  position: static !important; padding: 0 20px !important;
  text-align: left !important; color: var(--omt-black) !important;
}
/* SWELL既定の .p-articleHead は flex。::after の罫線が横に並ぶので block に戻す */
.single-post #top_title_area .p-articleHead { display: block !important; text-align: left !important; }
.single-post #top_title_area .c-postTitle__ttl {
  font-family: var(--omt-font-jp); font-size: 20px; font-weight: 700;
  line-height: 1.48; letter-spacing: 0.005em;
  color: var(--omt-black) !important; text-align: left; margin: 0; text-shadow: none !important;
}
/* SWELLの縦積み日付は下のメタ行と重複するので消す */
.single-post #top_title_area .c-postTitle__date { display: none !important; }
/* タイトル下の赤い短い罫線 */
.single-post #top_title_area .p-articleHead::after {
  content: ''; display: block; width: 34px; height: 2px;
  background: var(--omt-accent); margin: 16px 0 12px;
}
/* カテゴリを小ラベルに。JSが付ける .is-main（＝「ブログ」以外の代表カテゴリ）だけアクセント色 */
.single-post #top_title_area .p-articleMetas.-top { margin: 0 !important; }
.single-post #top_title_area .c-categoryList::before { display: none !important; content: none !important; }
.single-post #top_title_area .c-categoryList {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px !important;
}
.single-post #top_title_area .c-categoryList__link {
  font-size: 9.5px; letter-spacing: 0.06em; line-height: 1.6; padding: 3px 8px;
  border: 1px solid var(--omt-border); background: var(--omt-bg);
  color: #555 !important; border-radius: 0; text-decoration: none;
}
.single-post #top_title_area .c-categoryList__link.is-main {
  background: var(--omt-accent); border-color: var(--omt-accent); color: #fff !important;
}
/* 公開日・更新日・読了目安 */
.single-post #top_title_area .p-articleMetas__times,
.single-post #top_title_area .c-postTimes {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 10.5px; color: var(--omt-subtext) !important; letter-spacing: 0.04em;
}
.single-post #top_title_area .c-postTimes__posted,
.single-post #top_title_area .c-postTimes__modified { color: var(--omt-subtext) !important; }
.single-post .omt-readtime { font-size: 10.5px; color: var(--omt-subtext); letter-spacing: 0.04em; }
/* JSでヘッダー内に移したパンくず */
.single-post #top_title_area .p-breadcrumb {
  background: transparent !important; padding: 0 !important; margin: 0 0 14px !important; border: none !important;
}
.single-post #top_title_area .p-breadcrumb__list {
  padding: 0 !important; margin: 0 !important; max-width: none !important;
  font-size: 10px; letter-spacing: 0.02em;
}
.single-post #top_title_area .p-breadcrumb__text,
.single-post #top_title_area .p-breadcrumb__item { color: var(--omt-subtext) !important; font-size: 10px; }
.single-post .l-mainContent { padding-top: 0 !important; }
/* 追従CTAが1ボタンのとき（ホワイトニング記事）は横幅いっぱいに */
@media (max-width: 768px) {
  .omt-fixed-cta.is-single .omt-fixed-cta-btn-primary { flex: 1 1 100%; font-size: 11.5px; }
}
@media (min-width: 769px) {
  .single-post #top_title_area.l-topTitleArea { padding: 22px 0 28px !important; }
  /* 本文カラム（900px）と左端を揃える */
  .single-post #top_title_area .l-topTitleArea__body {
    max-width: 900px !important; margin: 0 auto !important; padding: 0 16px !important;
  }
  .single-post #top_title_area .c-postTitle__ttl { font-size: 26px; line-height: 1.5; }
}
/* === OMT-BLOG-HEADER-A END === */

/* === OMT-FIXED-BAR-PC START (自動管理・手で編集しない) === */
/* PC用の追従バー。SP版（.omt-fixed-cta）と同じ変数から出力しているので、
   行き先の分岐はPHP側1箇所で済む。プラグイン Blog Floating Button の置き換え。 */
.omt-fixed-bar { display: none; }
/* プラグインが復活しても二重に出ないよう保険で隠す（プラグイン停止後は不要） */
#bfb_content_pc, .bfb_view_pc { display: none !important; }
@media (min-width: 769px) {
  .omt-fixed-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.10);
    transform: translateY(100%); opacity: 0; pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
  }
  .omt-fixed-bar.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .omt-fixed-bar.is-closed { display: none; }
  .omt-fixed-bar-inner {
    max-width: 1100px; margin: 0 auto; padding: 12px 56px 12px 24px;
    display: flex; align-items: center; gap: 24px; position: relative;
  }
  .omt-fixed-bar-text { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
  .omt-fixed-bar-clinic {
    font-size: 13px; font-weight: 500; color: #fff; letter-spacing: 0.04em; line-height: 1.4;
  }
  .omt-fixed-bar-sub { font-size: 11px; color: rgba(255,255,255,0.62); letter-spacing: 0.04em; }
  .omt-fixed-bar-btns { display: flex; gap: 10px; flex: 0 0 auto; }
  .omt-fixed-bar-btn-primary,
  .omt-fixed-bar-btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; font-size: 12.5px; letter-spacing: 0.04em;
    text-decoration: none !important; border-radius: 0 !important; white-space: nowrap;
    transition: opacity .2s ease;
  }
  .omt-fixed-bar-btn-primary {
    background: var(--omt-accent) !important; color: #fff !important; border: none !important;
  }
  .omt-fixed-bar-btn-secondary {
    background: transparent !important; color: #fff !important;
    border: 1px solid rgba(255,255,255,0.32) !important;
  }
  .omt-fixed-bar-btn-primary:hover,
  .omt-fixed-bar-btn-secondary:hover { opacity: 0.82; }
  .omt-fixed-bar-close {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; padding: 0; line-height: 1;
    background: transparent; border: none; cursor: pointer;
    color: rgba(255,255,255,0.5); font-size: 17px;
  }
  .omt-fixed-bar-close:hover { color: #fff; }
  /* SWELLのページトップボタンがバーに隠れないよう持ち上げる */
  body.omt-bar-on #pagetop, body.omt-bar-on .p-fixBtnWrap { bottom: 84px !important; }
}
/* === OMT-FIXED-BAR-PC END === */

/* === OMT-FAQ-CSS START (自動管理・手で編集しない) === */
/* FAQの質問行はクリックできることを見た目で示す。JSが動かなくても崩れないようCSS側に置く */
.omt-faq-q { cursor: pointer; }
.omt-faq-q:focus-visible { outline: 2px solid var(--omt-accent); outline-offset: 2px; }

/* ログイン中だけ、固定ヘッダーを管理バーのぶん下げる（未ログインには一切影響しない）。
   ずらす量は JS が測って --omt-adminbar に入れる。JSが動かなくても 32px で最低限は逃がす。 */
html.omt-has-adminbar .omt-header,
html.omt-has-adminbar .omt-mobile-menu,
html.omt-has-adminbar .omt-mobile-overlay,
body.admin-bar .omt-header,
body.admin-bar .omt-mobile-menu,
body.admin-bar .omt-mobile-overlay { top: var(--omt-adminbar, 32px) !important; }
html.omt-has-adminbar .omt-mobile-menu,
html.omt-has-adminbar .omt-mobile-overlay,
body.admin-bar .omt-mobile-menu,
body.admin-bar .omt-mobile-overlay { height: calc(100% - var(--omt-adminbar, 32px)) !important; }
/* === OMT-FAQ-CSS END === */

/* === OMT-ACCESS-CSS START (自動管理・手で編集しない) === */
/* アクセスページ。情報カード＋地図＋診療時間＋駐車場＋CTA */
/* 独自のページヒーローを置くので、SWELL既定のタイトル・アイキャッチは隠す
   （そのままだと画像とタイトルが二重に出る）。
   ★body_class に page-slug-access が無いため（付いているのは price/mouthpiece/case だけ）、
     ページ側のマークアップ .omt-access-page を起点にする。JSでbodyに付与する。 */
body.omt-access-page .l-topTitleArea,
body.omt-access-page #top_title_area,
body.omt-access-page .c-pageTitle,
body.omt-access-page .p-articleThumb { display: none !important; }
body.omt-access-page .l-mainContent { padding-top: 0 !important; }
/* ヒーローを横幅いっぱいにする（料金ページと同じ型）。
   コンテナの max-width と左右paddingを解除しないと、写真が中央寄せの狭い幅になる */
body.omt-access-page .l-mainContent__inner,
body.omt-access-page .l-content,
body.omt-access-page .l-mainContent,
body.omt-access-page .post_content {
  max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important;
}
body.omt-access-page .l-mainContent__inner .post_content > * { max-width: 100% !important; }
/* 本文側は読みやすい幅を保つ（全幅にするのはヒーローだけ） */
/* 全幅化の指定（.post_content > * に max-width:100% !important）が本文にも当たる。
   ★両方 !important なので詳細度で決まる★ 全幅側は 0-3-1 なので、
   本文側も同じ経路で書いて詳細度で勝たせる（.omt-access だけだと 0-1-0 で負ける） */
body.omt-access-page .l-mainContent__inner .post_content > .omt-access,
.omt-access { max-width: 720px !important; margin: 0 auto; padding: 32px 20px 8px; }
/* ★院によってSWELLのカスタマイザーでh2に背景色＋白文字が設定されている（広島がそれ）。
   見出しの見た目は12院で揃えたいので、コンポーネント側で必ず打ち消す。 */
body.omt-access-page .omt-access h2,
body.omt-access-page .omt-access h3 {
  background: none !important; background-color: transparent !important;
  color: var(--omt-black, #111) !important;
}
/* 本文先頭に空の<p>が入る院がある（wpautop由来）。余白だけ生むので消す */
body.omt-access-page .post_content > p:empty { display: none !important; }
.omt-access-card { border: 1px solid var(--omt-border); margin-bottom: 18px; }
.omt-access-card-h {
  background: var(--omt-bg); padding: 13px 15px; font-size: 14px; font-weight: 500;
  border-bottom: 1px solid var(--omt-border);
}
.omt-access-row { display: flex; margin: 0; border-bottom: 1px solid var(--omt-border); font-size: 13.5px; }
.omt-access-row:last-child { border-bottom: none; }
.omt-access-row dt {
  flex: 0 0 96px; background: #FCFCFC; padding: 12px 13px; margin: 0;
  color: #666; font-size: 12px; border-right: 1px solid var(--omt-border);
}
.omt-access-row dd { flex: 1; padding: 12px 13px; margin: 0; line-height: 1.85; }
.omt-access-map { border: 1px solid var(--omt-border); line-height: 0; margin-bottom: 8px; }
.omt-access-map iframe { display: block; width: 100%; }
.omt-access-block { margin-top: 30px; }
.omt-access-h {
  font-size: 15px !important; font-weight: 700 !important; margin: 0 0 12px !important;
  padding-bottom: 9px; border-bottom: 1px solid var(--omt-border);
}
.omt-access-h::before, .omt-access-h::after { content: none !important; }
.omt-access-hours { border: 1px solid var(--omt-border); }
.omt-access-list { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.95; }
.omt-access-note { font-size: 11.5px; color: var(--omt-subtext); margin: 9px 0 0; line-height: 1.8; }
.omt-access-cta {
  margin: 34px 0 10px; border: 1px solid var(--omt-border); background: var(--omt-bg);
  padding: 26px 20px; text-align: center;
}
.omt-access-cta h2 {
  font-size: 15px !important; font-weight: 700 !important; margin: 0 0 8px !important;
  border: none !important; padding: 0 !important;
}
.omt-access-cta h2::before, .omt-access-cta h2::after { content: none !important; }
.omt-access-cta p { font-size: 12.5px; color: #555; margin: 0 0 16px; line-height: 1.85; }
.omt-access-cta-btn {
  display: block; background: var(--omt-accent); color: #fff !important; text-decoration: none !important;
  padding: 15px; font-size: 13.5px; letter-spacing: 0.04em;
}
.omt-access-cta-note { font-size: 10.5px !important; color: var(--omt-subtext) !important; margin: 10px 0 0 !important; }
@media (max-width: 768px) {
  .omt-access { padding: 22px 16px 8px; }
  .omt-access-row { flex-direction: column; }
  .omt-access-row dt { flex: none; border-right: none; border-bottom: 1px solid var(--omt-border); }
}

/* ★院によって .post_content に上マージンが設定されている（広島は62px）。
   独自ヒーローを先頭に置くページでは、パンくずとの間に説明のつかない余白になるので0にする。 */
body.omt-faqpage-page .l-mainContent__inner .post_content,
body.omt-access-page .l-mainContent__inner .post_content,
body.omt-column-page .l-mainContent__inner .post_content { margin-top: 0 !important; }
/* === OMT-ACCESS-CSS END === */

/* === OMT-FAQ-PAGE-CSS START (自動管理・手で編集しない) === */
/* よくある質問ページ。ヒーローは全幅、本文は読みやすい幅
   ★bodyに付くクラスは data-omt-page="faqpage" → "omt-faq-page"。
     コンテナのクラス名（.omt-faq-page）と同じ綴りなので、body 付きで書き分ける */
body.omt-faqpage-page .l-topTitleArea,
body.omt-faqpage-page #top_title_area,
body.omt-faqpage-page .c-pageTitle,
body.omt-faqpage-page .p-articleThumb { display: none !important; }
body.omt-faqpage-page .l-mainContent { padding-top: 0 !important; }
body.omt-faqpage-page .l-mainContent__inner,
body.omt-faqpage-page .l-content,
body.omt-faqpage-page .l-mainContent,
body.omt-faqpage-page .post_content {
  max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important;
}
body.omt-faqpage-page .l-mainContent__inner .post_content > * { max-width: 100% !important; }
/* 本文だけ幅を戻す（全幅指定と両方 !important なので詳細度を合わせる） */
body.omt-faqpage-page .l-mainContent__inner .post_content > .omt-faq-page,
.omt-faq-page { max-width: 760px !important; margin: 0 auto; padding: 8px 20px 8px; }

.omt-faq-nav {
  display: flex; gap: 7px; overflow-x: auto; padding: 18px 0 16px;
  border-bottom: 1px solid var(--omt-border); margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.omt-faq-nav-item {
  flex: 0 0 auto; font-size: 11.5px; padding: 8px 13px; border: 1px solid var(--omt-border);
  background: #fff; color: #333 !important; text-decoration: none !important; letter-spacing: .03em;
}
.omt-faq-nav-item:hover { background: var(--omt-bg); }
/* 見出しブロックの下に余白を取る。★リスト側に border-top があり、余白が無いと
   見出しの真下に線が張り付いて詰まって見える（2026-08-14 odaira指摘） */
.omt-faq-cat { padding: 40px 0 0; margin-bottom: 18px; scroll-margin-top: 80px; }
.omt-faq-cat-en {
  font-family: var(--omt-font-en); font-size: 10px; letter-spacing: .18em;
  color: var(--omt-subtext); margin: 0 0 4px;
}
.omt-faq-cat-ttl {
  font-size: 16px !important; font-weight: 700 !important; margin: 0 !important;
  border: none !important; padding: 0 !important;
  /* ★院によってSWELLのカスタマイザーでh2に背景色＋白文字が設定されている（広島がそれ）。
     見出しの見た目は12院で揃えたいので、コンポーネント側で必ず打ち消す。 */
  background: none !important; background-color: transparent !important;
  color: var(--omt-black, #111) !important;
}
/* 本文先頭に空の<p>が入る院がある（wpautop由来）。余白だけ生むので消す */
body.omt-faqpage-page .post_content > p:empty { display: none !important; }
/* 見出しの横線は出さない（詰まって見えるため。2026-08-14 odaira指摘） */
.omt-faq-cat-ttl::before, .omt-faq-cat-ttl::after { content: none !important; }
.omt-faq-page .omt-faq-list { padding-top: 4px; }
.omt-faq-page .omt-faq-note { font-size: 11px; color: var(--omt-subtext); margin: 8px 0 0; }
.omt-faq-cta {
  margin: 40px 0 16px; border: 1px solid var(--omt-border); background: var(--omt-bg);
  padding: 26px 20px; text-align: center;
}
.omt-faq-cta h2 {
  font-size: 15px !important; font-weight: 700 !important; margin: 0 0 8px !important;
  border: none !important; padding: 0 !important;
}
.omt-faq-cta h2::before, .omt-faq-cta h2::after { content: none !important; }
.omt-faq-cta p { font-size: 12.5px; color: #555; margin: 0 0 16px; line-height: 1.85; }
.omt-faq-cta-btn {
  display: block; background: var(--omt-accent); color: #fff !important;
  text-decoration: none !important; padding: 15px; font-size: 13.5px; letter-spacing: .04em;
}
.omt-faq-cta-note { font-size: 10.5px !important; color: var(--omt-subtext) !important; margin: 10px 0 0 !important; }
@media (max-width: 768px) {
  .omt-faq-page { padding: 4px 16px 8px; }
  .omt-faq-nav { padding: 14px 0 12px; }
}

/* ★院によって .post_content に上マージンが設定されている（広島は62px）。
   独自ヒーローを先頭に置くページでは、パンくずとの間に説明のつかない余白になるので0にする。 */
body.omt-faqpage-page .l-mainContent__inner .post_content,
body.omt-access-page .l-mainContent__inner .post_content,
body.omt-column-page .l-mainContent__inner .post_content { margin-top: 0 !important; }
/* === OMT-FAQ-PAGE-CSS END === */

/* === OMT-COLUMN-CSS START (自動管理・手で編集しない) === */
/* コラム一覧（投稿アーカイブ）。アイキャッチ未設定が9割なのでサムネイルは出さない */
.omt-column-page .p-postList__thumb,
.omt-column-page .c-postThumb { display: none !important; }
.omt-column-page .p-postList { display: block !important; margin: 0 !important; }
.omt-column-page .p-postList__item {
  width: 100% !important; margin: 0 !important; padding: 0 !important; border: none !important;
  border-bottom: 1px solid var(--omt-border) !important; background: none !important;
}
.omt-column-page .p-postList__link {
  display: block !important; padding: 18px 0 !important; box-shadow: none !important;
}
.omt-column-page .p-postList__body { padding: 0 !important; }
.omt-column-page .p-postList__title {
  font-size: 15px !important; font-weight: 500 !important; line-height: 1.65 !important;
  margin: 0 0 7px !important; color: var(--omt-black) !important;
}
.omt-column-page .p-postList__excerpt {
  font-size: 12.5px !important; color: #666 !important; line-height: 1.85 !important;
  margin: 7px 0 0 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* メタ（カテゴリ・日付）を1行に */
.omt-column-page .p-postList__meta { display: flex !important; align-items: center; gap: 9px; margin: 0 0 8px !important; }
.omt-column-page .p-postList__cat {
  font-size: 9.5px !important; letter-spacing: .06em; padding: 3px 8px !important;
  background: var(--omt-accent) !important; color: #fff !important; border-radius: 0 !important;
}
.omt-column-page .p-postList__cat::before { content: none !important; }
.omt-column-page .p-postList__times,
.omt-column-page .c-postTimes {
  font-family: var(--omt-font-en); font-size: 10.5px !important; color: var(--omt-subtext) !important;
  letter-spacing: .04em;
}
.omt-column-page .omt-readtime-list {
  font-family: var(--omt-font-en); font-size: 10.5px; color: var(--omt-subtext);
  display: block; margin-top: 7px; letter-spacing: .04em;
}
/* カテゴリ絞り込み（JSで挿入） */
.omt-column-nav {
  display: flex; gap: 7px; overflow-x: auto; padding: 4px 0 16px; margin-bottom: 6px;
  border-bottom: 1px solid var(--omt-border); -webkit-overflow-scrolling: touch;
}
.omt-column-nav a {
  flex: 0 0 auto; font-size: 11.5px; padding: 8px 13px; border: 1px solid var(--omt-border);
  background: #fff; color: #333 !important; text-decoration: none !important; letter-spacing: .03em;
}
.omt-column-nav a.is-current { background: var(--omt-black); color: #fff !important; border-color: var(--omt-black); }
.omt-column-nav a .n { color: #aaa; margin-left: 5px; font-size: 10px; }
.omt-column-nav a.is-current .n { color: rgba(255,255,255,.6); }
/* ページャーを白黒に */
.omt-column-page .c-pagination a,
.omt-column-page .c-pagination span {
  border-radius: 0 !important; border: 1px solid var(--omt-border) !important;
  background: #fff !important; color: #333 !important; font-family: var(--omt-font-en);
}
.omt-column-page .c-pagination .current {
  background: var(--omt-black) !important; color: #fff !important; border-color: var(--omt-black) !important;
}
/* 記事が無いときの案内 */
.omt-column-empty {
  border: 1px solid var(--omt-border); background: var(--omt-bg);
  padding: 30px 20px; text-align: center; font-size: 13px; color: #555; line-height: 1.9;
}
@media (min-width: 769px) {
  .omt-column-page .p-postList__title { font-size: 16.5px !important; }
}
/* === OMT-COLUMN-CSS END === */

/* === OMT-BREADCRUMB-CSS START (自動管理・手で編集しない) === */
/* パンくずを12院で統一して出す。2026-08-25 odaira依頼。
   新デザイン化のときにページタイトルエリアごと消していたのを、パンくずだけ戻す。

   ★詳細度の注意（ここで一度ハマった）★
     この12院は body_class が <body> ではなく中の <div> に出力される。
     なので `body.page …` の類は当たらない。消しているのは
       .page-slug-price .p-breadcrumb / .page-slug-mouthpiece .p-breadcrumb / .page-slug-case .p-breadcrumb
     の3つ（いずれもクラス2つ＝詳細度 0,2,0）なので、
     **同じ詳細度以上のセレクタを、このブロック（ファイル末尾＝後ろ）に書いて勝たせる。**
   ★本文のカスタムHTML内 <style>（後発4院）はCSSより後に読まれるが、
     あちらは `.p-breadcrumb{display:none!important}`（0,1,0）なので下の指定で勝てる。 */
.page-slug-price .p-breadcrumb,
.page-slug-mouthpiece .p-breadcrumb,
.page-slug-case .p-breadcrumb,
.wp-singular .p-breadcrumb,
body .p-breadcrumb {
  display: block !important;
  background: var(--omt-white) !important;
  border-bottom: 1px solid var(--omt-border) !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* トップページには出さない */
body.home .p-breadcrumb { display: none !important; }

body .p-breadcrumb__list {
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 13px 24px !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 !important;
  list-style: none !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}
body .p-breadcrumb__item {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  color: var(--omt-subtext) !important;
  max-width: 100%;
}
/* 区切り。SWELL既定のアイコンは使わず「›」に揃える */
body .p-breadcrumb__item + .p-breadcrumb__item::before {
  content: "›";
  margin: 0 10px;
  color: #C8C8C8;
  font-size: 12px;
  line-height: 1;
}
body .p-breadcrumb__item::after { content: none !important; }
body .p-breadcrumb__text {
  font-size: 12px !important;
  color: var(--omt-subtext) !important;
  text-decoration: none !important;
  letter-spacing: .02em;
}
body a.p-breadcrumb__text:hover { color: var(--omt-accent) !important; text-decoration: underline !important; }
/* 最後（現在地）は黒にして現在地だと分かるようにする */
body .p-breadcrumb__item:last-child .p-breadcrumb__text { color: var(--omt-black) !important; }
/* ホームアイコンはSWELLのアイコンフォント。サイズだけ揃える */
body .p-breadcrumb__text .__home::before { font-size: 12px !important; }

/* 長いタイトルでも1行に収める（下層ページ・症例の孫ページ）。
   ★flexアイテムは min-width:auto が既定で、これが無いと縮まず折り返してしまう */
body .p-breadcrumb__item:last-child {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; flex: 0 1 auto;
}
body .p-breadcrumb__item:not(:last-child) { flex: 0 0 auto; }

/* ★後発4院（大宮・横浜・札幌・広島）が本文に持っている自前パンくずは隠して1本化する */
body .omt-breadcrumb { display: none !important; }

/* JSでヒーロー直下へ移した状態 */
body .p-breadcrumb.omt-bc-moved { border-top: none !important; }

@media (max-width: 768px) {
  /* SPは1行に固定して、入りきらない現在地だけ「…」で省略する */
  body .p-breadcrumb__list { padding: 11px 16px !important; font-size: 11px !important; flex-wrap: nowrap; }
  body .p-breadcrumb__item,
  body .p-breadcrumb__text { font-size: 11px !important; }
  body .p-breadcrumb__item + .p-breadcrumb__item::before { margin: 0 7px; }
}
/* === OMT-BREADCRUMB-CSS END === */

/* === OMT-SELFCHECK-CSS START (自動管理・手で編集しない) === */
/* =========================================================================
   OMT サブサイト用 セルフチェック ウィジェット（札幌版）
   - クラスは omt-sc- prefix。SWELLのCSSと衝突しない
   - CSS変数もウィジェット内スコープ（:root を汚さない）
   - リンクは自院サイト内で完結。予約だけ本体の予約システムへ送る
   ========================================================================= */
.omt-sc{
  /* --- カラー --- */
  --sc-accent   : #f64850;
  --sc-accent-d : #c8333a;
  --sc-accent-bg: #fff5f5;
  --sc-ink      : #16181d;
  --sc-ink-mid  : #40444c;
  --sc-ink-soft : #5f636b;
  --sc-line     : #e8e8ec;
  --sc-line-soft: #f0f0f3;
  --sc-surface  : #ffffff;
  --sc-tint     : #fafafb;

  box-sizing:border-box;
  font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--sc-ink);
  max-width:600px;
  margin:32px auto;
  min-height:400px;                 /* CLS対策：描画前から高さを確保 */
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-align:left;
}
.omt-sc *,.omt-sc *::before,.omt-sc *::after{ box-sizing:border-box; }

/* ---------------------------------------------------------------
   記事側テーマ（SWELL）のCSSがウィジェット内に染み出すのを止める。
   SWELLは .post_content の h2/h3 に飾り罫や背景を、li に独自マーカーを付ける。
   :where() は詳細度0なので、下のコンポーネント指定が確実に勝つ。
   --------------------------------------------------------------- */
.omt-sc .omt-sc__card :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, nav, figure, blockquote, button, a){
  margin:0; padding:0; border:0; outline:0;
  background:none; box-shadow:none;
  font-family:inherit; font-size:inherit; font-weight:inherit; color:inherit;
  text-indent:0; text-transform:none; letter-spacing:normal;
  counter-reset:none; counter-increment:none;
}
.omt-sc .omt-sc__card :where(h1,h2,h3,h4,h5,h6,li,p)::before,
.omt-sc .omt-sc__card :where(h1, h2, h3, h4, h5, h6, li, p)::after{
  content:none; display:none;
}
.omt-sc a{ text-decoration:none; }
.omt-sc li{ list-style:none; }

.omt-sc .omt-sc__card {
  background:var(--sc-surface);
  border:1px solid var(--sc-line);
  border-radius:20px;
  box-shadow:0 1px 2px rgba(22,24,29,.04), 0 12px 32px -24px rgba(22,24,29,.5);
  padding:30px 26px 24px;
  overflow:hidden;
}

/* 画面切り替えのフェード */
@keyframes omtScIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
.omt-sc .omt-sc__screen{ animation:omtScIn .26s cubic-bezier(.2,.7,.3,1) both; }

/* ---------- イントロ ---------- */
.omt-sc .omt-sc__rule {
  width:34px;height:3px;border-radius:2px;
  background:var(--sc-accent);
  margin:0 0 16px;
}
.omt-sc .omt-sc__title {
  font-size:21px;font-weight:700;line-height:1.45;
  letter-spacing:.01em;margin:0 0 12px;
}
.omt-sc .omt-sc__lead {
  font-size:14px;line-height:1.85;color:var(--sc-ink-soft);
  margin:0 0 22px;
}
.omt-sc .omt-sc__lead strong{ color:var(--sc-ink-mid);font-weight:700; }

.omt-sc .omt-sc__meta {
  display:flex;justify-content:center;align-items:center;gap:8px;
  margin:14px 0 0;
}
.omt-sc .omt-sc__chip {
  font-size:11.5px;font-weight:700;color:var(--sc-ink-soft);
  background:var(--sc-tint);border:1px solid var(--sc-line);
  border-radius:999px;padding:3px 11px;line-height:1.6;
}

/* ---------- ボタン ---------- */
.omt-sc .omt-sc__btn {
  display:block;width:100%;
  background:var(--sc-accent);color:#fff;
  border:none;border-radius:999px;
  padding:16px 18px;
  font-size:16px;font-weight:700;line-height:1.4;
  font-family:inherit;text-align:center;cursor:pointer;
  box-shadow:0 6px 18px -10px rgba(246,72,80,.9);
  transition:background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.omt-sc .omt-sc__btn:hover{ background:var(--sc-accent-d);color:#fff; }
.omt-sc .omt-sc__btn:active{ transform:translateY(1px);box-shadow:0 3px 10px -8px rgba(246,72,80,.9); }

.omt-sc .omt-sc__btn:focus-visible,
.omt-sc .omt-sc__opt:focus-visible,
.omt-sc .omt-sc__back:focus-visible,
.omt-sc .omt-sc__restart:focus-visible,
.omt-sc .omt-sc__link:focus-visible {
  outline:3px solid var(--sc-accent-d);outline-offset:2px;
}

/* ---------- 進捗 ---------- */
.omt-sc .omt-sc__prog {
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;margin:0 0 20px;
}
.omt-sc .omt-sc__steps{ display:flex;gap:5px;flex:1; }
.omt-sc .omt-sc__step {
  flex:1;height:4px;border-radius:2px;background:var(--sc-line);
  transition:background .3s ease;
}
.omt-sc .omt-sc__step.is-done{ background:var(--sc-accent); }
.omt-sc .omt-sc__step.is-now{ background:var(--sc-accent);opacity:.45; }
.omt-sc .omt-sc__prog-label {
  font-size:11.5px;font-weight:700;color:var(--sc-ink-soft);
  flex-shrink:0;letter-spacing:.04em;font-variant-numeric:tabular-nums;
}

/* ---------- 質問 ---------- */
.omt-sc .omt-sc__q {
  font-size:18px;font-weight:700;line-height:1.55;
  margin:0 0 16px;letter-spacing:.01em;
}
.omt-sc .omt-sc__opts{ display:flex;flex-direction:column;gap:8px; }
.omt-sc .omt-sc__opt {
  display:flex;align-items:center;gap:11px;width:100%;
  background:var(--sc-surface);
  border:1.5px solid var(--sc-line);
  border-radius:13px;padding:15px 14px;
  font-size:15px;font-weight:600;line-height:1.5;
  color:var(--sc-ink);text-align:left;font-family:inherit;cursor:pointer;
  transition:border-color .15s ease, background .15s ease, transform .1s ease;
}
.omt-sc .omt-sc__opt:hover{ border-color:var(--sc-accent);background:var(--sc-accent-bg); }
.omt-sc .omt-sc__opt:active{ transform:scale(.99); }
.omt-sc .omt-sc__opt-num {
  flex-shrink:0;width:24px;height:24px;border-radius:50%;
  background:var(--sc-tint);border:1px solid var(--sc-line);
  color:var(--sc-ink-soft);font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.omt-sc .omt-sc__opt:hover .omt-sc__opt-num {
  background:var(--sc-accent);border-color:var(--sc-accent);color:#fff;
}
.omt-sc .omt-sc__opt-txt{ flex:1;min-width:0; }
.omt-sc .omt-sc__opt-arw{ flex-shrink:0;color:var(--sc-line);font-size:13px;transition:color .15s ease; }
.omt-sc .omt-sc__opt:hover .omt-sc__opt-arw{ color:var(--sc-accent); }

.omt-sc .omt-sc__back, .omt-sc .omt-sc__restart {
  background:none;border:none;font-family:inherit;cursor:pointer;
  color:var(--sc-ink-soft);font-size:13px;font-weight:600;
  padding:8px 2px;
}
.omt-sc .omt-sc__back:hover, .omt-sc .omt-sc__restart:hover{ color:var(--sc-ink); }
.omt-sc .omt-sc__back{ margin-top:16px; }
.omt-sc .omt-sc__restart{ text-decoration:underline;text-underline-offset:2px; }
.omt-sc .omt-sc__restart-row{ text-align:center;margin-top:14px; }

/* ---------- 結果 ---------- */
.omt-sc .omt-sc__eyebrow {
  display:flex;align-items:center;gap:7px;
  font-size:11.5px;font-weight:700;letter-spacing:.05em;
  color:var(--sc-accent-d);margin:0 0 10px;
}
.omt-sc .omt-sc__eyebrow::before {
  content:"";display:block;flex-shrink:0;
  width:14px;height:2px;border-radius:1px;background:var(--sc-accent);
}
.omt-sc .omt-sc__concl {
  background:var(--sc-accent-bg);
  border:1px solid #fadcdd;
  border-radius:14px;
  padding:18px 18px 17px;
  margin:0 0 14px;
}
.omt-sc .omt-sc__concl-h{ font-size:17.5px;font-weight:700;line-height:1.55;margin:0; }
.omt-sc .omt-sc__concl-b{ font-size:14px;line-height:1.85;color:var(--sc-ink-mid);margin:10px 0 0; }

.omt-sc .omt-sc__answers {
  background:var(--sc-tint);border:1px solid var(--sc-line-soft);
  border-radius:12px;padding:12px 14px;margin:0 0 18px;
}
.omt-sc .omt-sc__answers dl{ display:grid;grid-template-columns:auto 1fr;gap:7px 14px;align-items:baseline; }
.omt-sc .omt-sc__answers dt {
  font-size:11.5px;font-weight:700;color:var(--sc-ink-soft);
  white-space:nowrap;letter-spacing:.02em;
}
.omt-sc .omt-sc__answers dd{ font-size:13.5px;font-weight:600;line-height:1.55;color:var(--sc-ink); }

.omt-sc .omt-sc__facts{ margin:0 0 24px; }
.omt-sc .omt-sc__facts li {
  display:flex;gap:11px;align-items:flex-start;
  padding:13px 0;border-top:1px solid var(--sc-line-soft);
}
.omt-sc .omt-sc__facts li:first-child{ border-top:none;padding-top:0; }
.omt-sc .omt-sc__facts li:last-child{ padding-bottom:0; }
.omt-sc .omt-sc__dot {
  flex-shrink:0;width:6px;height:6px;border-radius:50%;
  background:var(--sc-accent);margin-top:9px;
}
.omt-sc .omt-sc__fact-b{ flex:1;min-width:0; }
.omt-sc .omt-sc__fact-t{ font-size:14.5px;font-weight:700;line-height:1.65;margin:0; }
.omt-sc .omt-sc__note {
  display:block;font-size:12px;font-weight:400;line-height:1.7;
  color:var(--sc-ink-soft);margin:5px 0 0;
  white-space:pre-line;   /* 注記を複数行渡すため */
}

.omt-sc .omt-sc__links {
  border:1px solid var(--sc-line);border-radius:12px;
  padding:6px 15px 8px;margin:18px 0 0;
}
.omt-sc .omt-sc__links-h {
  font-size:11.5px;font-weight:700;color:var(--sc-ink-soft);
  letter-spacing:.03em;margin:0;padding:10px 0 6px;
}
.omt-sc .omt-sc__link {
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:13.5px;font-weight:700;color:var(--sc-accent-d);
  padding:9px 0;line-height:1.55;
  border-top:1px solid var(--sc-line-soft);
}
.omt-sc .omt-sc__link:hover{ color:var(--sc-accent); }
.omt-sc .omt-sc__link span:last-child{ flex-shrink:0;font-size:12px; }

/* 注意事項（医療広告の要件を担保している部分。読める大きさを保つ） */
.omt-sc .omt-sc__disc {
  background:var(--sc-tint);
  border:1px solid var(--sc-line-soft);
  border-radius:12px;
  padding:15px 16px;
  margin:18px 0 0;
  font-size:12px;line-height:1.85;color:var(--sc-ink-soft);
}
.omt-sc .omt-sc__disc p{ margin:0 0 9px; }
.omt-sc .omt-sc__disc p:last-child{ margin-bottom:0; }
.omt-sc .omt-sc__disc strong{ color:var(--sc-ink-mid);font-weight:700; }
.omt-sc .omt-sc__disc a{ color:var(--sc-accent-d);text-decoration:underline;text-underline-offset:2px; }
.omt-sc .omt-sc__disc-h {
  font-size:11.5px;font-weight:700;color:var(--sc-ink-mid);
  letter-spacing:.03em;margin:0 0 5px;
}
.omt-sc .omt-sc__disc ul{ margin:0 0 9px; }
.omt-sc .omt-sc__disc li {
  position:relative;padding-left:12px;margin-bottom:3px;
}
.omt-sc .omt-sc__disc li::before {
  content:"";display:block;position:absolute;left:2px;top:.72em;
  width:4px;height:1px;background:var(--sc-ink-soft);
}

@media (max-width:430px){
  .omt-sc{ margin:26px auto; }
  .omt-sc .omt-sc__card{ padding:24px 18px 20px;border-radius:16px; }
  .omt-sc .omt-sc__title{ font-size:19px; }
  .omt-sc .omt-sc__q{ font-size:16.5px; }
  .omt-sc .omt-sc__concl-h{ font-size:16px; }
  .omt-sc .omt-sc__opt{ font-size:14.5px;padding:14px 13px; }
}
@media (prefers-reduced-motion:reduce){
  .omt-sc .omt-sc__screen{ animation:none; }
  .omt-sc .omt-sc__step, .omt-sc .omt-sc__btn, .omt-sc .omt-sc__opt{ transition:none; }
}
/* === OMT-SELFCHECK-CSS END === */

/* === OMT-GUIDE-CSS START (自動管理・手で編集しない) === */
/* ★ここから下が本番の style.css へ配る中身（deploy_guide.py が抜き出す）
   新規に足すCSSはこれだけ。ほかはすべて既存の omt-* コンポーネントを再利用している。
   ★マーカーは必ず「独立した1つのコメント」にしておく。
     コメントの途中に埋めると、抜き出したときにコメントの閉じ側だけが残り、
     CSSブロック全体がパースエラーになる（2026-08-25 実際にやらかした）。 */

/* ページタイトルエリア・アイキャッチを消す（price / mouthpiece / case と同じ扱い） */
.page-slug-guide .l-topTitleArea,
.page-slug-guide #top_title_area,
.page-slug-guide .c-pageTitle,
.page-slug-guide .p-articleThumb,
.page-slug-guide .c-postThumb,
.page-slug-guide .p-articleHeader,
.page-slug-guide .p-articleMetas { display: none !important; }
.page-slug-guide #content,
.page-slug-guide #main_content,
.page-slug-guide .l-mainContent__inner,
.page-slug-guide .post_content { padding-top: 0 !important; margin-top: 0 !important; }

/* 全幅にする。★ここを .post_content だけにすると、セクションの背景色が
   左右に余白を残したまま出てしまう（mouthpiece / case と同じ4つを指定する必要がある） */
.page-slug-guide .l-mainContent__inner,
.page-slug-guide .l-content,
.page-slug-guide .l-mainContent,
.page-slug-guide .post_content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-slug-guide .l-mainContent__inner .post_content > * { max-width: 100% !important; }
.page-slug-guide .l-mainContent,
.page-slug-guide .l-content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.page-slug-guide .post_content > .wp-block-html { margin: 0 !important; }

/* SWELLの見出し装飾・余白を打ち消す（price / mouthpiece / case と同じ扱い）。
   ★これを入れないと本番だけ h2 に上104px・下52pxの余白が乗って、
     セクション見出しが間延びする（モックでは body 直下なので起きない）。 */
.page-slug-guide .post_content h2,
.page-slug-guide .post_content h3,
.page-slug-guide .post_content h4 {
  margin: 0 !important; padding: 0 !important;
  background: none !important; background-image: none !important; border: none !important;
}
.page-slug-guide .post_content h2::before,
.page-slug-guide .post_content h2::after,
.page-slug-guide .post_content h3::before,
.page-slug-guide .post_content h3::after,
.page-slug-guide .post_content h4::before,
.page-slug-guide .post_content h4::after {
  content: none !important; background: none !important; border: none !important;
}
/* 打ち消したうえで、必要な余白だけ戻す */
.page-slug-guide .omt-guide-lead h2 { margin: 0 0 22px !important; }
.page-slug-guide .post_content p { margin-top: 0; }

/* 冒頭リード：写真＋テキストの2カラム */
.omt-guide-lead { display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center; }
.omt-guide-lead-img { aspect-ratio:4/3; overflow:hidden; }
.omt-guide-lead-img img { width:100%; height:100%; object-fit:cover; display:block; }
.omt-guide-lead h2 { font-size:26px; font-weight:700; line-height:1.55; letter-spacing:.03em; margin:0 0 22px; }
.omt-guide-lead p { font-size:13.5px; line-height:2.05; color:#555; font-weight:300; margin:0 0 16px; }
.omt-guide-lead p:last-child { margin-bottom:0; }

/* 3つの数値バッジ */
.omt-guide-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--omt-border); margin-top:64px; }
.omt-guide-fact { background:var(--omt-white); padding:34px 24px; text-align:center; }
.omt-guide-fact-en { font-family:var(--omt-font-en); font-size:10px; letter-spacing:.2em; color:var(--omt-subtext); text-transform:uppercase; }
.omt-guide-fact-num { font-family:var(--omt-font-en); font-size:40px; font-weight:600; line-height:1.1; margin:10px 0 4px; }
.omt-guide-fact-num em { font-style:normal; color:var(--omt-accent); }
.omt-guide-fact-num small { font-family:var(--omt-font-jp); font-size:14px; font-weight:500; margin-left:2px; }
.omt-guide-fact-label { font-size:12px; color:var(--omt-subtext); font-weight:300; line-height:1.8; }

/* お約束（3項目・赤の縦線） */
.omt-guide-promise { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.omt-guide-promise-item { background:var(--omt-bg); border-left:3px solid var(--omt-accent); padding:30px 28px 32px; }
.omt-guide-promise-num { font-family:var(--omt-font-en); font-size:12px; letter-spacing:.18em; color:var(--omt-accent); font-weight:600; }
.omt-guide-promise-title { font-size:15px; font-weight:700; margin:10px 0 12px; line-height:1.6; }
.omt-guide-promise-desc { font-size:12.5px; color:#666; line-height:1.95; font-weight:300; }

/* 理事長挨拶
   ★★セクションの id に `doctor` を使わないこと（2026-08-25 実際にハマった）。
     トップページ用に `#doctor .omt-section-wrap > div:last-child > div:first-child { width:180px !important }`
     という**IDセレクタ＋!important** のCSSが既にあり、同じidを付けると下層ページでもそれを拾う。
     クラス1つ（詳細度0,1,0）では !important 同士でも勝てないので、id を `message` にしてある。
   ★.omt-guide-doctor-img に width:100% を入れておく（幅指定が無いと aspect-ratio と
     中のimg(height:100%) が循環して潰れる）。 */
.omt-guide-doctor { display:grid; grid-template-columns:300px 1fr; gap:56px; align-items:center; }
.omt-guide-doctor-img { width:100%; aspect-ratio:3/4; overflow:hidden; }
.omt-guide-doctor-img img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.omt-guide-doctor-body p { font-size:13.5px; line-height:2.1; color:#555; font-weight:300; margin:0 0 18px; }
.omt-guide-doctor-sign { margin-top:28px; padding-top:20px; border-top:1px solid var(--omt-border); }
.omt-guide-doctor-sign-role { font-size:11px; letter-spacing:.1em; color:var(--omt-subtext); }
.omt-guide-doctor-sign-name { font-size:17px; font-weight:700; margin-top:5px; letter-spacing:.05em; }

/* メニューのカード */
.omt-guide-menu { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--omt-border); }
.omt-guide-menu-2 { grid-template-columns:repeat(2,1fr); max-width:860px; margin:0 auto; border:1px solid var(--omt-border); }
.omt-guide-menu-card { background:var(--omt-white); display:flex; flex-direction:column; text-decoration:none; color:inherit; transition:box-shadow .2s; }
.omt-guide-menu-card:hover { box-shadow:0 6px 24px rgba(0,0,0,.07); }
.omt-guide-menu-img { aspect-ratio:16/10; overflow:hidden; background:var(--omt-bg); }
.omt-guide-menu-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.omt-guide-menu-card:hover .omt-guide-menu-img img { transform:scale(1.04); }
.omt-guide-menu-body { padding:26px 26px 30px; flex:1; display:flex; flex-direction:column; }
.omt-guide-menu-en { font-family:var(--omt-font-en); font-size:10px; letter-spacing:.2em; color:var(--omt-subtext); text-transform:uppercase; }
.omt-guide-menu-title { font-size:16px; font-weight:700; margin:8px 0 10px; }
.omt-guide-menu-desc { font-size:12.5px; color:var(--omt-subtext); line-height:1.9; font-weight:300; flex:1; }
.omt-guide-menu-more { margin-top:18px; font-size:11px; letter-spacing:.12em; display:inline-flex; align-items:center; gap:6px; }
.omt-guide-menu-more .material-icons { font-size:15px; color:var(--omt-accent); }

/* 予約3STEP */
.omt-guide-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.omt-guide-step { background:var(--omt-white); border:1px solid var(--omt-border); padding:30px 26px 32px; position:relative; }
.omt-guide-step-num { font-family:var(--omt-font-en); font-size:11px; letter-spacing:.2em; color:var(--omt-white); background:var(--omt-black); display:inline-block; padding:5px 14px; }
.omt-guide-step-title { font-size:15px; font-weight:700; margin:16px 0 10px; line-height:1.6; }
.omt-guide-step-desc { font-size:12.5px; color:#666; line-height:1.95; font-weight:300; }

/* 医院情報 */
.omt-guide-info { display:grid; grid-template-columns:1fr 1fr; gap:0; background:var(--omt-white); border:1px solid var(--omt-border); }
.omt-guide-info-map iframe { width:100%; height:100%; min-height:360px; border:0; display:block; }
.omt-guide-info-body { padding:40px 44px; }
.omt-guide-info-name { font-size:18px; font-weight:700; letter-spacing:.04em; }
.omt-guide-info-row { display:flex; gap:16px; padding:15px 0; border-bottom:1px dashed var(--omt-border); font-size:13px; }
.omt-guide-info-row:last-of-type { border-bottom:none; }
.omt-guide-info-label { flex:0 0 86px; color:var(--omt-subtext); font-size:11.5px; letter-spacing:.08em; padding-top:2px; }
.omt-guide-info-value { flex:1; line-height:1.9; font-weight:300; }
.omt-guide-info-value a { color:var(--omt-accent); text-decoration:none; }
.omt-guide-info-tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:22px; }
.omt-guide-info-tags span { font-size:10.5px; border:1px solid var(--omt-border); padding:5px 10px; color:var(--omt-subtext); }

/* SP */
@media (max-width:900px) {
  .omt-guide-lead { grid-template-columns:1fr; gap:26px; }
  .omt-guide-lead h2 { font-size:20px; }
  .omt-guide-facts { grid-template-columns:1fr; margin-top:36px; }
  .omt-guide-fact { padding:24px 20px; }
  .omt-guide-promise { grid-template-columns:1fr; gap:12px; }
  /* 縦長の人物写真なので、SPでも比率は変えずに幅だけ抑えて中央に置く。
     ★4/3に変えると上下が切れる。
     ★幅は grid の justify-items で中央に寄せ、`.page-slug-guide` を付けて明示的に指定する。
       クラス1つだけの `margin:0 auto` / `width:100%` はSWELL側に負ける（2026-08-25 実測） */
  /* 縦長の人物写真なので、SPでも比率(3/4)は変えずに幅だけ抑えて中央に置く。
     4/3に変えると上下が切れる */
  .omt-guide-doctor { grid-template-columns:1fr; gap:26px; }
  .omt-guide-doctor-img { max-width:240px; margin:0 auto; }
  .omt-guide-menu, .omt-guide-menu-2 { grid-template-columns:1fr; }
  .omt-guide-steps { grid-template-columns:1fr; gap:12px; }
  .omt-guide-info { grid-template-columns:1fr; }
  .omt-guide-info-body { padding:28px 22px; }
  .omt-guide-info-map iframe { min-height:240px; }

  /* 既存ページ共通の小さな崩れ：ヒーロー内のテキストに左右余白が無く、SPで端まで届く。
     この1行は /guide/ に限らず全ページに効くので、実装時に入れるかは別途判断する */
  .omt-page-hero-content { padding:0 24px; text-align:center; }
}
/* === OMT-GUIDE-CSS END === */

/* === OMT-WHITENING-CSS START (自動管理・手で編集しない) === */
/* ★ここから下が本番の style.css へ配る中身（deploy_whitening.py が抜き出す）
   マーカーは必ず独立した1つのコメントにしておく。 */

/* ページタイトルエリアを消す＋全幅（guide / price / mouthpiece と同じ扱い） */
.page-slug-whitening .l-topTitleArea,
.page-slug-whitening #top_title_area,
.page-slug-whitening .c-pageTitle,
.page-slug-whitening .p-articleThumb,
.page-slug-whitening .c-postThumb,
.page-slug-whitening .p-articleHeader,
.page-slug-whitening .p-articleMetas { display: none !important; }
.page-slug-whitening #content,
.page-slug-whitening #main_content,
.page-slug-whitening .l-mainContent__inner,
.page-slug-whitening .post_content { padding-top: 0 !important; margin-top: 0 !important; }
.page-slug-whitening .l-mainContent__inner,
.page-slug-whitening .l-content,
.page-slug-whitening .l-mainContent,
.page-slug-whitening .post_content {
  max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important;
}
.page-slug-whitening .l-mainContent__inner .post_content > * { max-width: 100% !important; }
.page-slug-whitening .l-mainContent,
.page-slug-whitening .l-content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.page-slug-whitening .post_content > .wp-block-html { margin: 0 !important; }
.page-slug-whitening .post_content h2,
.page-slug-whitening .post_content h3,
.page-slug-whitening .post_content h4 {
  margin: 0 !important; padding: 0 !important;
  background: none !important; background-image: none !important; border: none !important;
}
.page-slug-whitening .post_content h2::before,
.page-slug-whitening .post_content h2::after,
.page-slug-whitening .post_content h3::before,
.page-slug-whitening .post_content h3::after,
.page-slug-whitening .post_content h4::before,
.page-slug-whitening .post_content h4::after { content: none !important; background: none !important; border: none !important; }

/* 冒頭リード：写真＋テキストの2カラム
   ★インラインstyleで組まないこと。インラインはメディアクエリに勝つのでSPで潰れる。 */
.omt-wh-lead { display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center; }
.omt-wh-lead-img { width:100%; aspect-ratio:4/3; overflow:hidden; }
.omt-wh-lead-img img { width:100%; height:100%; object-fit:cover; display:block; }
.omt-wh-lead h2 { font-size:26px; font-weight:700; line-height:1.55; letter-spacing:.03em; margin:0 0 22px !important; }
.omt-wh-lead p { font-size:13.5px; line-height:2.05; color:#555; font-weight:300; margin:0 0 16px; }
.omt-wh-lead p:last-child { margin-bottom:0; }

/* 特徴3つ */
.omt-wh-points { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.omt-wh-point { background:var(--omt-white); border:1px solid var(--omt-border); display:flex; flex-direction:column; }
.omt-wh-point-head { display:flex; align-items:center; gap:12px; padding:22px 24px 16px; border-bottom:1px solid var(--omt-border); }
.omt-wh-point-no { font-family:var(--omt-font-en); font-size:10px; letter-spacing:.16em; background:var(--omt-black); color:#fff; padding:5px 10px; flex-shrink:0; }
.omt-wh-point-ttl { font-size:15px; font-weight:700; line-height:1.5; }
.omt-wh-point-body { padding:20px 24px 24px; flex:1; }
.omt-wh-point-body ul { list-style:none; padding:0; margin:0; }
.omt-wh-point-body li { font-size:12.5px; color:#555; line-height:1.9; padding-left:20px; position:relative; font-weight:300; }
.omt-wh-point-body li::before { content:"check"; font-family:"Material Icons"; font-size:13px; color:var(--omt-accent); position:absolute; left:0; top:4px; }
.omt-wh-point-img { aspect-ratio:16/10; overflow:hidden; background:var(--omt-bg); }
.omt-wh-point-img img { width:100%; height:100%; object-fit:cover; display:block; }

/* 料金プラン */
.omt-wh-plans { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:900px; margin:0 auto; }
.omt-wh-plan { border:1px solid var(--omt-border); background:var(--omt-white); padding:32px 30px 28px; }
.omt-wh-plan.is-boost { border-color:var(--omt-black); }
.omt-wh-plan-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:14px; border-bottom:1px dashed var(--omt-border); }
.omt-wh-plan-name { font-size:20px; font-weight:700; letter-spacing:.02em; }
.omt-wh-plan-name small { font-size:13px; font-weight:500; margin-left:2px; }
.omt-wh-plan-badge { font-size:10.5px; background:var(--omt-accent); color:#fff; padding:5px 10px; white-space:nowrap; }
.omt-wh-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 0; border-bottom:1px dashed var(--omt-border); }
.omt-wh-row:last-of-type { border-bottom:none; }
.omt-wh-row-l { flex:1; min-width:0; }
.omt-wh-set { display:inline-block; border:1px solid var(--omt-black); font-size:12px; padding:5px 12px; margin-bottom:8px; }
.omt-wh-set em { font-style:normal; color:var(--omt-accent); font-weight:700; }
.omt-wh-row-note { font-size:11.5px; color:var(--omt-subtext); line-height:1.75; font-weight:300; }
.omt-wh-price { font-family:var(--omt-font-en); font-size:34px; font-weight:600; line-height:1; white-space:nowrap; }
.omt-wh-price small { font-family:var(--omt-font-jp); font-size:13px; font-weight:500; margin-left:3px; }
.omt-wh-price sup { font-family:var(--omt-font-jp); font-size:10px; color:var(--omt-subtext); margin-left:2px; vertical-align:-2px; }
.omt-wh-plan-spec { background:var(--omt-bg); font-size:11.5px; color:#555; padding:10px 14px; margin-top:16px; text-align:center; font-weight:300; }

/* いただかない費用 */
.omt-wh-included { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--omt-border); border:1px solid var(--omt-border); max-width:840px; margin:0 auto; }
.omt-wh-included div { background:var(--omt-white); padding:26px 18px; text-align:center; }
.omt-wh-included .material-icons { font-size:26px; color:var(--omt-accent); }
.omt-wh-included span { display:block; font-size:12.5px; font-weight:500; margin-top:10px; }

/* 症例
   ★医療広告ガイドラインの限定解除要件：術前術後の写真には
     「治療内容」「費用」「主なリスク・副作用」を必ずセットで載せる。ここの注記は削らない。 */
.omt-wh-cases { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.omt-wh-case { border:1px solid var(--omt-border); background:var(--omt-white); display:flex; flex-direction:column; }
.omt-wh-case-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:14px 18px; border-bottom:1px solid var(--omt-border); }
.omt-wh-case-plan { font-size:12px; font-weight:700; letter-spacing:.04em; }
.omt-wh-case-who { font-size:11.5px; color:var(--omt-subtext); }
.omt-wh-case-imgs { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--omt-border); }
.omt-wh-case-imgs img { width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:16/9; }
.omt-wh-case-body { padding:16px 18px 18px; flex:1; }
.omt-wh-case-row { font-size:11.5px; line-height:1.85; color:#555; font-weight:300; margin-bottom:8px; }
.omt-wh-case-row b { color:var(--omt-black); font-weight:700; display:block; font-size:10.5px; letter-spacing:.06em; margin-bottom:2px; }
.omt-wh-case-total { font-family:var(--omt-font-en); font-size:20px; font-weight:600; color:var(--omt-black); }
.omt-wh-case-total small { font-family:var(--omt-font-jp); font-size:11px; font-weight:400; margin-left:3px; color:var(--omt-subtext); }
.omt-wh-case-note { font-size:10.5px; line-height:1.8; color:var(--omt-subtext); font-weight:300; border-top:1px dashed var(--omt-border); margin-top:12px; padding-top:10px; }

/* ページ末尾の注意書き（本体サイトと同じく小さく最後に置く） */
.omt-wh-disc { background:var(--omt-bg); border-top:1px solid var(--omt-border); }
.omt-wh-disc-inner { max-width:1080px; margin:0 auto; padding:36px 24px 44px; }
.omt-wh-disc h3 { font-size:12px !important; font-weight:700 !important; letter-spacing:.06em; margin-bottom:12px !important; color:var(--omt-black); }
.omt-wh-disc ul { margin:0; padding-left:16px; }
.omt-wh-disc li { font-size:11px; line-height:1.9; color:var(--omt-subtext); font-weight:300; margin-bottom:3px; }

@media (max-width:900px) {
  .omt-wh-lead { grid-template-columns:1fr; gap:26px; }
  .omt-wh-lead h2 { font-size:20px; }
  .omt-wh-points { grid-template-columns:1fr; gap:12px; }
  .omt-wh-plans { grid-template-columns:1fr; }
  .omt-wh-plan { padding:26px 22px 24px; }
  .omt-wh-price { font-size:28px; }
  .omt-wh-included { grid-template-columns:1fr; }
  .omt-wh-cases { grid-template-columns:1fr; gap:12px; }
  .omt-wh-disc-inner { padding:28px 18px 36px; }
  .omt-page-hero-content { padding:0 24px; text-align:center; }
}
/* === OMT-WHITENING-CSS END === */
