@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; }
}
