.elementor-324 .elementor-element.elementor-element-21e6490{--display:flex;--min-height:0px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-324 .elementor-element.elementor-element-f1c81f9{width:initial;max-width:initial;}.elementor-324 .elementor-element.elementor-element-5631176{width:initial;max-width:initial;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-f1c81f9 *//* PC 基本スタイル：高さ84px ＋ 余白あり */
.sf-header-logo-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 84px;
  background: #ffffff;
  border-radius: 0 0 12px 0;
  z-index: 999;
  box-sizing: border-box;
  padding: 10px 20px;          /* ★ ロゴの上下左右の余白 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-header-logo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sf-header-logo-img {
  display: block;
  width: 100%;
  height: auto;                /* ★ 高さは自動 */
  max-height: 100%;           /* ★ 箱の高さ内に収める */
  object-fit: contain;        /* 比率維持で収まる */
}

/* スマホ：高さ60px＋少し詰めたpadding */
@media (max-width: 767px) {
  .sf-header-logo-box {
    height: 60px;             /* 上下幅60px */
    width: 210px;
    padding: 6px 14px;        /* ★ ちょっとコンパクトな余白 */
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5631176 *//* ============================
   左上ロゴ
   ============================ */
.sf-header-logo-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 84px;
  background: #ffffff;
  border-radius: 0 0 12px 0;
  z-index: 1001;
  box-sizing: border-box;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-header-logo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sf-header-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* ============================
   PC用：右側 白コンテナ
   ============================ */
.sf-header-right-box {
  position: fixed;
  top: 0;
  right: 0;
  background: #ffffff;
  border-radius: 0 0 0 12px;
  padding: 14px 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);

  font-family:
    "M PLUS Rounded 1c",
    "Hiragino Maru Gothic ProN",
    "Yu Gothic",
    "Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* グローバルメニュー（PC） */
.sf-global-nav-right ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
}

.sf-global-nav-right a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.sf-global-nav-right a:hover {
  opacity: 0.6;
}

/* 仕切り線 */
.sf-header-divider {
  width: 1px;
  height: 50px;
  background: #dddddd;
}

/* 電話ブロック */
.sf-tel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 電話アイコン */
.sf-tel-icon {
  background: #ecd7e7;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-tel-icon img {
  width: 16px;
  height: auto;
}

/* 電話テキスト */
.sf-tel-text {
  line-height: 1.2;
}

.sf-tel-number {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.sf-tel-info {
  font-size: 12px;
  color: #666;
}

/* 電話番号リンクの色を変えない（PC・SP共通） */
.sf-tel-wrap a {
  color: inherit;
  text-decoration: none;
}

.sf-tel-wrap a:hover,
.sf-tel-wrap a:focus {
  color: inherit;
  text-decoration: none;
}

/* オンライン予約ボタン */
.sf-online-btn {
  background: #6065af;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sf-online-btn span {
  font-size: 14px;
  font-weight: 600;
}

.sf-online-icon img {
  width: 28px;
  height: auto;
}

.sf-online-btn:hover {
  background: #ab619a;
  color: #fff;
}

.sf-online-btn:hover span {
  color: #fff;
}

/* ============================
   初期状態：SPメニュー系は非表示
   ============================ */
.sf-burger-btn,
.sf-sp-menu {
  display: none;
}

/* ============================
   768px以下：SP用レイアウト
   ============================ */
@media (max-width: 768px) {

  /* ロゴ小さめに */
  .sf-header-logo-box {
    height: 60px;
    width: 180px;
    padding: 6px 14px;
  }

  /* PC用ヘッダー非表示 */
  .sf-header-right-box {
    display: none;
  }

  /* ▼ バーガーボタン：右上0,0 固定 ▼ */
  .sf-burger-btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #6065af;
    border: none;
    border-radius: 0 0 0 12px;  /* 左下のみ角丸 */
    cursor: pointer;
    z-index: 1002;
    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  /* 3本線 */
  .sf-burger-btn span {
    display: block !important;   /* テーマ側のbutton spanを強制上書き */
    width: 28px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .sf-burger-btn:hover {
    opacity: 0.9;
  }

   /* ▼ SPメニュー（右スライド：ヘッダー60pxの下から / 中身スクロール可） ▼ */
  .sf-sp-menu {
    display: block;
    position: fixed;
    top: 0px;                        /* ヘッダー(ロゴ＆バーガー)の高さ分ずらす */
    right: 0;
    width: 100%;
    height: calc(100vh - 60px);       /* 残りの高さをメニューに */
    background: #ffffff;
    box-shadow: -3px 0 12px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1000;
    padding: 24px 24px 24px;

    font-family:
      "M PLUS Rounded 1c",
      "Hiragino Maru Gothic ProN",
      "Yu Gothic",
      "Noto Sans JP",
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;

    /* ★これが大事：メニューの中をスクロールできるようにする */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }


  /* メニュー開いた状態 */
  .sf-sp-menu.is-open {
    transform: translateX(0);
  }

  /* SPメニュー内のリスト共通 */
  .sf-sp-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .sf-sp-nav > li > a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
  }

  .sf-sp-nav > li > a:hover {
    color: #6065af;
  }

  /* SPメニュー内：上部の電話＆予約エリア
     電話ブロックの上に 80px 空ける */
  .sf-sp-contact {
    margin-top: 80px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .sf-sp-contact .sf-tel-wrap {
    align-items: flex-start;
  }

  .sf-sp-contact .sf-online-btn {
    width: 100%;
    justify-content: center;
  }

  /* 親ボタンのリセット＆見た目 */
  .sf-sp-parent {
    width: 100%;
    text-align: left;
    padding: 4px 24px 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
  }

  /* 右側の + マーク */
  .sf-sp-parent::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
  }

  /* 開いたときは − に変更 */
  .sf-has-children.is-open > .sf-sp-parent::after {
    content: "−";
  }

  /* 子メニューはデフォルト非表示 */
  .sf-submenu {
    display: none;
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 16px;
    border-left: 2px solid #f0f0f0;
    flex-direction: column;
    gap: 10px;
  }

  /* 親が is-open のときだけ表示 */
  .sf-has-children.is-open > .sf-submenu {
    display: flex;
  }

  .sf-submenu a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
  }

  .sf-submenu a:hover {
    color: #6065af;
  }

  /* 3本線 → × に変形 */
  .sf-burger-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .sf-burger-btn.is-active span:nth-child(2) {
    opacity: 0;
  }

  .sf-burger-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
@media (max-width: 768px) {

  /* ▼ スライドメニュー内の電話番号を少し小さく（or 大きく） */
  .sf-sp-menu .sf-tel-number {
    font-size: 36px;   /* 元24pxくらい → ここで調整 */
  }

  /* ▼ スライドメニュー内の補足テキスト（受付時間など） */
  .sf-sp-menu .sf-tel-info {
    font-size: 12px;   /* 小さくしたいなら 10〜11px、大きくしたいなら 12〜13px */
    line-height: 1.4;
  }

  /* ▼ スライドメニュー内のオンライン予約ボタン全体 */
  .sf-sp-menu .sf-online-btn {
    padding: 14px 18px;  /* ボタンの高さ・幅 */
    border-radius: 12px;
  }

  /* ▼ オンライン予約ボタン内の文字サイズ */
  .sf-sp-menu .sf-online-btn span {
    font-size: 18px;     /* ここで文字だけ調整 */
    font-weight: 600;
  }

  /* ▼ オンライン予約アイコンのサイズ */
  .sf-sp-menu .sf-online-icon img {
    width: 42px;         /* 大きくしたいなら 26〜28px に */
    height: auto;
  }
}
@media (max-width: 768px) {

  /* スライドメニュー内の電話コンテナだけ中央寄せ */
  .sf-sp-menu .sf-tel-wrap {
    justify-content: center;  /* 左右方向を中央に */
    
    text-align: center;       /* テキストも中央揃え */
    margin-left: auto;
    margin-right: auto;
  }

  .sf-sp-menu .sf-tel-text {
    text-align: center;       /* 念のためテキスト側も中央に */
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-22226d4 *//* ============================
   右サイドの縦バナー 2つ（PC 基本）
   ============================ */
.sf-side-banners {
  position: fixed;
  top: 40%;                 /* 縦位置はお好みで調整 */
  right: 0;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* スクロール中に隠す用 */
.sf-side-banners.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
}

/* 共通スタイル（縦長バナー） */
.sf-side-banner {
  width: 60px;
  height: 190px;
  border-radius: 20px 0 0 20px;
  color: #fff;
  text-decoration: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

/* アクセス・診療時間 色分け */
.sf-side-banner--access { background: #4fb2b3; }
.sf-side-banner--time   { background: #c897bd; }

/* アイコン */
.sf-side-icon img {
  width: 26px;
  height: auto;
  display: block;
}

/* テキスト：縦書き */
.sf-side-banner span {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
  padding-right: 6px;  /* 文字列をやや内側へ */
  font-family:
    "M PLUS Rounded 1c",
    "Hiragino Maru Gothic ProN",
    "Yu Gothic",
    "Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* ホバー */
.sf-side-banner:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ============================
   スマホも右側縦バナー（小さめ）
   ============================ */
@media (max-width: 768px) {

  .sf-side-banners {
    position: fixed;
    top: 20%;        /* スマホではやや上に */
    right: 0;
    left: auto;
    gap: 10px;
    z-index: 9;
  }

  .sf-side-banner {
    width: 38px;
    height: 120px;
    border-radius: 10px 0 0 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .sf-side-icon img {
    width: 18px;
    height: auto;
    margin: 0 auto;
  }

  .sf-side-banner span {
    font-size: 11px;
    line-height: 1.2;
    writing-mode: vertical-rl;
    text-align: center;
    padding-right: 12px;  /* スマホは少し多めに内側へ */
  }
}

/* ============================
   診療時間ポップアップ（右からスライド）
   ============================ */
.sf-time-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999996;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  display: flex;
  justify-content: flex-end;
  transition: opacity 0.25s ease;
}

.sf-time-panel__inner {
  width: min(520px, 100%);
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 16px rgba(0,0,0,0.25);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  padding: 40px 40px;
  box-sizing: border-box;
  position: relative;
}

/* 閉じるボタン */
.sf-time-panel__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #eee;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* 開いた状態 */
.sf-time-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sf-time-panel.is-open .sf-time-panel__inner {
  transform: translateX(0);
}

/* スマホでは全幅 */
@media (max-width: 768px) {
  .sf-time-panel {
    justify-content: center;
  }
  .sf-time-panel__inner {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================
   診療時間パネル内：電話＋オンライン予約
   ============================ */
.sf-time-contact {
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 12px 12px 16px;
  border-radius: 10px;
  background: #f8f8f8;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family:
    "M PLUS Rounded 1c",
    "Hiragino Maru Gothic ProN",
    "Yu Gothic",
    "Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* 電話部分 */
.sf-time-contact .sf-tel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sf-time-contact .sf-tel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1e5f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-time-contact .sf-tel-icon img {
  width: 18px;
  height: auto;
}

.sf-time-contact .sf-tel-text {
  text-align: left;
}

.sf-time-contact .sf-tel-number a {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.sf-time-contact .sf-tel-info {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* オンライン予約ボタン */
.sf-time-contact .sf-online-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px auto 0;
  padding: 10px 16px;
  background: #6065af;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  line-height: 1.3;

  width: 250px;
  max-width: 100%;
  box-sizing: border-box;
}

.sf-time-contact .sf-online-icon img {
  width: 46px;
  height: auto;
}

.sf-time-contact .sf-online-btn span {
  font-size: 18px;
  font-weight: 600;
}

.sf-time-contact .sf-online-btn:hover {
  background: #ab619a;
  color: #fff;
}

/* 診療時間本体との余白 */
.sf-time-panel-body {
  margin-top: 16px;
}

/* スマホ時の微調整 */
@media (max-width: 768px) {
  .sf-time-contact .sf-tel-number a {
    font-size: 28px;
  }
  .sf-time-contact .sf-online-btn {
    width: 100%;
  }
}/* End custom CSS */