@charset "UTF-8";

/* ==================================================
   医師紹介ページ
   千葉サイト型レイアウト × 津田沼ブルー
================================================== */


/* =========================
   医師ごとのブロック
========================= */

#staff_page .section_s.staff-doctor {
  width: 100%;
  margin: 0 0 90px !important;
  padding: 0 0 70px !important;
  border-bottom: 1px solid rgba(40, 105, 170, 0.22);
}

#staff_page .section_s.staff-doctor:last-child {
  margin-bottom: 0 !important;
}


/* =========================
   医師名
========================= */

#staff_page .staff-doctor-name {
  display: block !important;
  width: 100% !important;

  margin: 0 0 38px !important;
  padding: 0 0 15px !important;

  color: #5c2f0d !important;
  font-size: 1.7em !important;
  font-weight: 700 !important;

  border: none !important;
  border-bottom: 3px solid #2869aa !important;
}

#staff_page .staff-doctor-name::before,
#staff_page .staff-doctor-name::after {
  display: none !important;
}

#staff_page .staff-position {
  display: inline-block;
  margin-right: 15px;

  font-size: 0.72em;
  font-weight: 500;
}


/* ==================================================
   ① メイン写真 ＋ ごあいさつ
================================================== */

#staff_page .doctor-intro {
  display: grid;
  grid-template-columns: 29% minmax(0, 1fr);
  gap: 48px;

  width: 100%;
  margin: 0 0 42px;
  align-items: start;
}


/* メイン写真 */

#staff_page .doctor-main-photo {
  width: 100%;
  margin: 0;
  padding: 0;
}

#staff_page .doctor-main-photo img {
  display: block;
  width: 100%;
  height: auto;

  border-radius: 12px;
}


/* ごあいさつ */

#staff_page .doctor-message {
  width: 100%;
  min-width: 0;
}

#staff_page .doctor-subtitle {
  position: relative;

  margin: 0 0 24px !important;
  padding: 3px 0 13px 20px !important;

  color: #2869aa !important;

  font-size: 1.35em !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  border: none !important;
  border-bottom: 1px solid rgba(40, 105, 170, 0.25) !important;
}

#staff_page .doctor-subtitle::before {
  content: "";

  position: absolute;
  top: 2px;
  left: 0;

  width: 5px;
  height: 1.35em;

  background: #2869aa;
  border-radius: 3px;
}

#staff_page .doctor-message p {
  margin: 0 !important;

  color: #5c2f0d;

  font-size: 0.95em;
  line-height: 2.1;
}


/* ==================================================
   ② 診療風景 2枚
================================================== */

#staff_page .doctor-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;

  width: 100%;
  margin: 0 0 45px;
}

#staff_page .doctor-scenes figure {
  width: 100%;
  margin: 0;
  padding: 0;
}

#staff_page .doctor-scenes img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 12px;
}


/* ==================================================
   ③ 経歴 ＋ 資格
================================================== */

#staff_page .doctor-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
  gap: 28px;

  width: 100%;
  margin: 0 0 28px;

  align-items: stretch;
}


/* =========================
   情報カード
========================= */

#staff_page .doctor-info-card {
  box-sizing: border-box;

  width: 100%;
  padding: 30px 32px;

  background: #fff;

  border: 1px solid rgba(92, 47, 13, 0.15);
  border-radius: 4px;

  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.035);
}


/* カードタイトル */

#staff_page .doctor-card-title {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 0 0 25px !important;
  padding: 0 0 16px !important;

  color: #2869aa !important;

  font-size: 1.3em !important;
  font-weight: 700 !important;

  border: none !important;
  border-bottom: 2px solid rgba(253, 147, 13, 0.28) !important;
}

#staff_page .doctor-card-title::before,
#staff_page .doctor-card-title::after {
  display: none !important;
}

#staff_page .doctor-card-title i {
  width: 25px;

  color: #c88a22;

  text-align: center;
}


/* ==================================================
   経歴
================================================== */

#staff_page .doctor-history {
  width: 100%;
}

#staff_page .doctor-history p {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 15px;

  margin: 0 !important;
  padding: 12px 0 !important;

  color: #333;

  font-size: 0.95em;
  line-height: 1.7;

  border-bottom: 1px dotted #ddd;
}

#staff_page .doctor-history p:last-child {
  border-bottom: none;
}

#staff_page .doctor-history p span {
  color: #5c2f0d;
  font-weight: 700;
}


/* ==================================================
   資格・所属学会
================================================== */

#staff_page .doctor-list {
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

#staff_page .doctor-list li {
  position: relative;

  margin: 0 !important;
  padding: 12px 0 12px 24px !important;

  color: #222;

  font-size: 0.95em;
  line-height: 1.7;

  border-bottom: 1px dotted #ddd;
}

#staff_page .doctor-list li:last-child {
  border-bottom: none;
}

#staff_page .doctor-list li::before {
  content: "";

  position: absolute;
  top: 1.45em;
  left: 4px;

  width: 6px;
  height: 6px;

  background: #c88a22;
  border-radius: 50%;
}


/* ==================================================
   ④ 所属学会 横長カード
================================================== */

#staff_page .doctor-affiliation {
  width: 100%;
  margin: 0 0 32px;
}


/* ==================================================
   ⑤ 業績紹介
================================================== */

#staff_page .staff__perf {
  box-sizing: border-box;

  width: 100% !important;
  max-width: none !important;

  margin: 32px 0 0 !important;
}

#staff_page .staff__perf .faq__q {
  box-sizing: border-box;

  width: 100% !important;

  color: #5c2f0d;
}


/* ==================================================
   タブレット
================================================== */

@media screen and (max-width: 1024px) {

  #staff_page .doctor-intro {
    grid-template-columns: 32% minmax(0, 1fr);
    gap: 35px;
  }

  #staff_page .doctor-info-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
  }

  #staff_page .doctor-info-card {
    padding: 25px;
  }

}


/* ==================================================
   スマートフォン
================================================== */

@media screen and (max-width: 767px) {

  #staff_page .section_s.staff-doctor {
    margin-bottom: 55px !important;
    padding-bottom: 45px !important;
  }


  /* 医師名 */

  #staff_page .staff-doctor-name {
    margin-bottom: 25px !important;
    padding-bottom: 12px !important;

    font-size: 1.4em !important;
  }

  #staff_page .staff-position {
    margin-right: 8px;
  }


  /* 写真＋挨拶 */

  #staff_page .doctor-intro {
    display: block;

    margin-bottom: 30px;
  }

  #staff_page .doctor-main-photo {
    width: 78%;
    max-width: 330px;

    margin: 0 auto 28px;
  }

  #staff_page .doctor-main-photo img {
    border-radius: 10px;
  }

  #staff_page .doctor-subtitle {
    margin-bottom: 18px !important;

    font-size: 1.2em !important;
  }

  #staff_page .doctor-message p {
    font-size: 1em;
    line-height: 1.9;
  }


  /* 診療風景 */

  #staff_page .doctor-scenes {
    display: block;

    margin-bottom: 30px;
  }

  #staff_page .doctor-scenes figure {
    margin: 0 0 15px;
  }

  #staff_page .doctor-scenes figure:last-child {
    margin-bottom: 0;
  }

  #staff_page .doctor-scenes img {
    width: 100%;
    border-radius: 9px;
  }


  /* 経歴・資格を縦並び */

  #staff_page .doctor-info-grid {
    display: block;

    margin-bottom: 18px;
  }

  #staff_page .doctor-info-grid .doctor-info-card {
    margin-bottom: 18px;
  }


  /* カード */

  #staff_page .doctor-info-card {
    padding: 22px 18px;

    border-radius: 5px;
  }

  #staff_page .doctor-card-title {
    margin-bottom: 17px !important;
    padding-bottom: 12px !important;

    font-size: 1.18em !important;
  }


  /* 経歴 */

  #staff_page .doctor-history p {
    display: block;

    padding: 10px 0 !important;

    font-size: 0.95em;
  }

  #staff_page .doctor-history p span {
    display: block;

    margin-bottom: 3px;
  }


  /* 資格・所属 */

  #staff_page .doctor-list li {
    padding: 10px 0 10px 20px !important;

    font-size: 0.95em;
  }


  /* 所属学会 */

  #staff_page .doctor-affiliation {
    margin-bottom: 22px;
  }


  /* 業績 */

  #staff_page .staff__perf {
    margin-top: 22px !important;
  }

}

/* ==================================================
   SP 診療風景写真 強制修正
================================================== */

@media screen and (max-width: 767px) {

  #staff_page .doctor-scenes {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 28px 0 32px !important;
    padding: 0 !important;
  }

  #staff_page .doctor-scenes figure {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  #staff_page .doctor-scenes figure img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 10px !important;
  }

}

/* 旧HTMLの診療風景にも対応 */
@media screen and (max-width: 767px) {

  #staff_page .offers {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 28px 0 32px !important;
    padding: 0 !important;
  }

  #staff_page .offers .offer {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  #staff_page .offers .offer img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;

    margin: 0 !important;
  }

}

/* =========================================================
   PC グローバルナビ
   「その他」ドロップダウン 完成版
========================================================= */
@media screen and (min-width: 768px) {

  /* -------------------------
       ナビ全体
    ------------------------- */
  #global_navi,
  #global_navi_in,
  #global_navi #menu-main-menu {
    overflow: visible !important;
  }

  #global_navi {
    position: relative;
    z-index: 1000;
    background: #2869aa;
  }

  #global_navi #menu-main-menu {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #global_navi #menu-main-menu>li {
    position: relative !important;
    float: none !important;

    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* 通常メニュー */
  #global_navi #menu-main-menu>li>a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 90px !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 0 14px !important;

    color: #fff !important;
    background: #2869aa !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: nowrap !important;

    text-decoration: none !important;
    text-shadow: none !important;

    border-right: 1px solid rgba(255, 255, 255, .45) !important;
  }

  #global_navi #menu-main-menu>li>a:hover {
    background: #1f5d98 !important;
  }


  /* -------------------------
       その他
    ------------------------- */
  #global_navi #menu-main-menu>li.menu-other {
    flex: 0 0 215px !important;
    width: 215px !important;
    overflow: visible !important;
  }

  #global_navi #menu-main-menu>li.menu-other>a {
    position: relative !important;
    padding-right: 34px !important;
  }

  #global_navi .menu-other-trigger i {
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;

    margin: 0 !important;

    font-size: 11px !important;
    color: #fff !important;

    transform: translateY(-50%) !important;
    transition: transform .2s ease !important;
  }

  #global_navi .menu-other:hover .menu-other-trigger i {
    transform: translateY(-50%) rotate(180deg) !important;
  }


  /* -------------------------
       その他：サブメニュー
    ------------------------- */
  #global_navi #menu-main-menu>li.menu-other>ul.menu-sub {
    position: absolute !important;

    top: 100% !important;
    right: 0 !important;
    left: auto !important;

    display: block !important;

    width: 300px !important;
    min-width: 300px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 5px 0 !important;

    background: #fff !important;

    border: none !important;
    border-top: 4px solid #ffae0e !important;
    border-radius: 0 0 8px 8px !important;

    box-shadow: 0 10px 28px rgba(0, 0, 0, .18) !important;

    list-style: none !important;

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

    z-index: 999999 !important;

    transition:
      opacity .18s ease,
      visibility .18s ease !important;
  }


  /* マウスを乗せたら表示 */
  #global_navi #menu-main-menu>li.menu-other:hover>ul.menu-sub {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }


  /* サブメニュー1項目 */
  #global_navi #menu-main-menu>li.menu-other>ul.menu-sub>li {
    position: relative !important;

    display: block !important;
    float: none !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: none !important;
    border-bottom: 1px solid #e5edf5 !important;
  }

  #global_navi #menu-main-menu>li.menu-other>ul.menu-sub>li:last-child {
    border-bottom: none !important;
  }


  /* サブメニュー文字 */
  #global_navi #menu-main-menu>li.menu-other>ul.menu-sub>li>a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: auto !important;
    min-height: 52px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 12px 42px 12px 20px !important;

    color: #2869aa !important;
    background: #fff !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-align: left !important;
    white-space: nowrap !important;

    text-decoration: none !important;
    text-shadow: none !important;

    border: none !important;

    transition:
      background-color .2s ease,
      color .2s ease,
      padding-left .2s ease !important;
  }


  /* 右側矢印 */
  #global_navi #menu-main-menu>li.menu-other>ul.menu-sub>li>a::after {
    content: "\f054" !important;

    position: absolute !important;
    top: 50% !important;
    right: 18px !important;

    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;

    color: #2869aa !important;
    font-size: 9px !important;

    transform: translateY(-50%) !important;
  }


  /* hover */
  #global_navi #menu-main-menu>li.menu-other>ul.menu-sub>li>a:hover {
    color: #fff !important;
    background: #2869aa !important;

    padding-left: 25px !important;
  }

  #global_navi #menu-main-menu>li.menu-other>ul.menu-sub>li>a:hover::after {
    color: #ffae0e !important;
  }


  /* 現在ページのオレンジライン */
  #global_navi #menu-main-menu>li.current>a,
  #global_navi #menu-main-menu>li.current-menu-item>a {
    border-bottom: 5px solid #ffae0e !important;
  }

}

/* =========================================================
   PCグロナビ 高さ修正
========================================================= */
@media screen and (min-width: 768px) {

  #global_navi #menu-main-menu>li>a {
    height: 60px !important;
    min-height: 60px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #global_navi #menu-main-menu {
    height: 60px !important;
  }

  #global_navi #menu-main-menu>li {
    height: 60px !important;
  }

  #global_navi,
  #global_navi_in {
    min-height: 60px !important;
    height: 60px !important;
  }

}

#global_navi #menu-main-menu>li.menu-other {
  position: relative !important;
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
}

/* ========================================
   PCグローバルナビ「その他」プルダウン修正
======================================== */

@media screen and (min-width: 768px) {

  #global_navi {
    overflow: visible !important;
  }

  #global_navi_in {
    overflow: visible !important;
  }

  #global_navi .pc-main-menu {
    overflow: visible !important;
  }

  #global_navi .menu-other {
    position: relative !important;
  }

  /* 通常時は完全に隠す */
  #global_navi .menu-other .menu-sub {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;

    width: 250px !important;
    min-width: 250px !important;

    margin: 0 !important;
    padding: 8px 0 !important;

    background: #fff !important;
    z-index: 9999 !important;

    list-style: none !important;
  }

  /* その他にマウスを乗せた時だけ表示 */
  #global_navi .menu-other:hover .menu-sub {
    display: block !important;
  }

  /* 子メニュー */
  #global_navi .menu-other .menu-sub li {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  #global_navi .menu-other .menu-sub li a {
    display: block !important;
    width: 100% !important;
    height: auto !important;

    padding: 13px 18px !important;

    color: #2869aa !important;
    background: #fff !important;

    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    white-space: nowrap !important;

    border-bottom: 1px solid #e5e5e5 !important;
    box-sizing: border-box !important;
  }

  #global_navi .menu-other .menu-sub li a:hover {
    background: #f3f8fc !important;
  }
}

/* ========================================
   SP MENU SNS・関連サイト
======================================== */

@media screen and (max-width: 767px) {

  .sp-menu-extra {
    padding: 22px 16px 28px;
    background: #f4f8fb;
  }

  .sp-menu-extra-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    color: #2869aa;
    font-size: 14px;
    font-weight: 700;
  }

  .sp-menu-extra-title i {
    font-size: 17px;
  }

  .sp-menu-related-title {
    margin-top: 22px;
  }

  .sp-menu-extra-links {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9e5ee;
    border-radius: 8px;
  }

  .sp-menu-extra-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 15px;
    box-sizing: border-box;
    color: #2869aa;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    border-bottom: 1px solid #e5edf3;
  }

  .sp-menu-extra-links a:last-child {
    border-bottom: none;
  }

  .sp-menu-extra-links a span {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .sp-menu-extra-links a .fa-instagram {
    font-size: 19px;
  }

  .sp-menu-extra-links a>i {
    font-size: 11px;
    color: #2869aa;
  }
}

/* =========================================
   SPメニュー
========================================= */
@media screen and (max-width: 767px) {

  /* その他 */
  .sp-menu-other {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .sp-menu-other-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 15px;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    background: #f39a00;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
  }

  .sp-menu-other-trigger i {
    font-size: 14px;
    transition: transform .3s ease;
  }

  /* その他の中身 */
  .sp-menu-sub {
    display: none;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    background: #fff;
  }

  .sp-menu-other.is-open .sp-menu-sub {
    display: block;
  }

  .sp-menu-sub li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e5e5e5;
  }

  .sp-menu-sub li a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 18px !important;
    box-sizing: border-box;
    background: #fff !important;
    color: #2869aa !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }


  /* =========================================
       SNS・関連サイト
    ========================================= */
  .sp-menu-extra {
    width: 100%;
    margin: 0;
    padding: 18px 15px 22px;
    box-sizing: border-box;
    background: #f7f9fc;
  }

  .sp-menu-extra-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #2869aa;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
  }

  .sp-menu-extra-title i {
    width: 20px;
    text-align: center;
    font-size: 17px;
  }

  .sp-menu-related-title {
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid #d9e2ec;
  }

  .sp-menu-extra-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .sp-menu-extra-links a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px !important;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #d8e3ed;
    border-radius: 6px;
    color: #2869aa !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
  }

  .sp-menu-extra-links a span {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .sp-menu-extra-links a>i {
    flex-shrink: 0;
    margin-left: 10px;
    font-size: 11px;
  }

  .sp-menu-extra-links .fa-instagram {
    font-size: 18px;
  }

}

/* ========================================
   SPメニュー 関連サイト開閉
======================================== */

@media screen and (max-width: 767px) {

  .sp-related-accordion {
    width: 100%;
  }

  .sp-related-accordion .sp-menu-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 18px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .45);
    background: #f39a00;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .sp-related-accordion .sp-menu-accordion-btn>span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .sp-related-accordion .sp-menu-toggle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }

  .sp-related-accordion .sp-menu-accordion-content {
    display: none;
    width: 100%;
    background: #fff;
  }

  .sp-related-accordion .sp-menu-accordion-content.is-open {
    display: block;
  }

  .sp-related-accordion .sp-menu-accordion-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px 14px 28px;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    color: #2869aa;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
  }

  .sp-related-accordion .sp-menu-accordion-content a i {
    margin-left: 10px;
    color: #f39a00;
    font-size: 12px;
    flex-shrink: 0;
  }
}

/* ========================================
   SPメニュー
   その他・関連サイト サイズ統一
======================================== */
@media screen and (max-width: 767px) {

  /* その他・関連サイト共通 */
  .sp-menu-other-trigger,
  .sp-related-accordion .sp-menu-accordion-btn {
    min-height: 48px !important;
    padding: 0 15px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }

  /* その他の＋ */
  .sp-menu-other-trigger>i.fa-plus {
    font-size: 16px !important;
    width: 18px !important;
    text-align: center !important;
  }

  /* 関連サイトの＋ */
  .sp-related-accordion .sp-menu-toggle {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    width: 18px !important;
    text-align: center !important;
  }

  /* 関連サイトのリンクアイコン */
  .sp-related-accordion .sp-menu-accordion-btn>span:first-child i {
    font-size: 14px !important;
    width: 16px !important;
    text-align: center !important;
  }
}



/* ========================================
   SPヘッダーを必ず最前面に表示
======================================== */
@media screen and (max-width: 767px) {

  .sp {
    display: block !important;
  }

  .sp-header {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 9999999 !important;
    width: 100% !important;
    background: #fff !important;
  }

  .sp-header-in {
    display: flex !important;
    position: relative !important;
    z-index: 10000 !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff !important;
  }

  .sp-logo,
  .sp-botan {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .sp-logo img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ========================================
   SPメインメニュー 津田沼ブルー統一
======================================== */
@media screen and (max-width: 767px) {

  #menu-main-menu-sp>li:not(.sp-menu-other)>a {
    background: #2869aa !important;
    color: #fff !important;
  }

  #menu-main-menu-sp>li:not(.sp-menu-other)>a:hover {
    background: #1f5d98 !important;
    color: #fff !important;
  }

}

/* ==================================================
   設備紹介
   PC：3列
   SP：横スワイプ
================================================== */

/* PC */
@media screen and (min-width: 768px) {

  #symptoms_page .facility-slider {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px 20px !important;

    width: 100% !important;
    margin: 30px 0 0 !important;
    padding: 0 !important;

    overflow: visible !important;
  }

  #symptoms_page .facility-slider>.offer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #symptoms_page .facility-slider>.offer img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}


/* SP */
@media screen and (max-width: 767px) {

  #symptoms_page .facility-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 15px 15px 0 !important;

    gap: 14px !important;

    overflow-x: scroll !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    cursor: grab;
  }

  #symptoms_page .facility-slider::-webkit-scrollbar {
    display: none;
  }

  #symptoms_page .facility-slider>.offer {
    display: block !important;

    flex: 0 0 88% !important;

    width: 88% !important;
    min-width: 88% !important;
    max-width: 88% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
    border-radius: 12px !important;

    overflow: hidden !important;

    scroll-snap-align: start;

    box-sizing: border-box !important;
  }

  #symptoms_page .facility-slider>.offer img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: 220px !important;

    margin: 0 !important;

    object-fit: cover !important;

    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
  }

  #symptoms_page .facility-slider>.offer p {
    margin: 0 !important;
    padding: 12px 8px !important;

    text-align: center !important;

    font-size: 15px !important;
    font-weight: 700 !important;
  }
}


/* スワイプ案内 */
.facility-swipe-guide {
  display: none;
}

@media screen and (max-width: 767px) {

  #symptoms_page .facility-swipe-guide {
    display: block !important;
    margin: -20px 0 12px !important;

    text-align: center !important;

    color: #2869aa !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  #symptoms_page .facility-swipe-guide i {
    margin-right: 6px !important;
    color: #fd930d !important;
  }
}

/* 設備紹介：SPスワイプ案内を確実に表示 */
@media screen and (max-width: 767px) {
  #symptoms_page p.facility-swipe-guide {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 12px 0 14px !important;
    padding: 0 !important;
    text-align: center !important;
    color: #2869aa !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
  }

  #symptoms_page p.facility-swipe-guide i {
    display: inline-block !important;
    margin-right: 6px !important;
    color: #fd930d !important;
  }
}

/* ==================================================
   設備紹介 SP版
   縦1列表示
================================================== */

@media screen and (max-width: 767px) {

  #symptoms_page .facility-slider {
    display: block !important;
    width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #symptoms_page .facility-slider>.offer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  }

  #symptoms_page .facility-slider>.offer img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;

    /* スマホ長押し等を邪魔しない */
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-drag: auto !important;
  }

  #symptoms_page .facility-slider>.offer p {
    margin: 0 !important;
    padding: 13px 10px 15px !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  /* スワイプ案内は不要 */
  #symptoms_page .facility-swipe-guide {
    display: none !important;
  }
}

/* 設備紹介動画：SPのみ大きく表示 */
@media screen and (max-width: 767px) {
  #symptoms_page .mv-img2 video {
    display: block !important;
    width: 90% !important;
    max-width: 90% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}

/* ==================================================
   PC フッターナビ
================================================== */

@media screen and (min-width: 768px) {

  #footer .f_nav {
    margin-top: 45px;
    padding: 28px 20px 24px;
    background: #f7fbff;
    border-top: 3px solid #2869aa;
    border-radius: 12px 12px 0 0;
  }

  #footer .footer-main-menu,
  #footer .footer-sub-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #footer .footer-main-menu li,
  #footer .footer-sub-menu li {
    margin: 0;
    padding: 0;
    border-right: 1px solid #c8d8e8;
  }

  #footer .footer-main-menu li:last-child,
  #footer .footer-sub-menu li:last-child {
    border-right: none;
  }

  #footer .footer-main-menu a {
    display: block;
    padding: 8px 22px;
    color: #2869aa;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  #footer .footer-sub-menu {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #dce6ef;
  }

  #footer .footer-sub-menu a {
    display: block;
    padding: 5px 18px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
  }

  #footer .footer-main-menu a:hover,
  #footer .footer-sub-menu a:hover {
    color: #fd930d;
  }
}

/* PCフッターナビ上の余白を調整 */
@media screen and (min-width: 768px) {

  #footer .f_nav {
    margin-top: 20px !important;
  }

}

/* ==================================================
   お問い合わせ下部ボタン
================================================== */
#top_contact .contact-btn-wrap {
  display: flex;
  gap: 16px;
}

#top_contact .contact-btn-wrap .btn_info {
  flex: 1;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

/* ==================================================
   お問い合わせボタン PC
   コンパクト版
================================================== */
@media screen and (min-width: 768px) {

  #top_contact .contact-btn-wrap {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    max-width: none !important;
    margin: 22px auto 0 !important;
  }

  #top_contact .contact-btn-wrap .btn_info {
    flex: none !important;
    width: 280px !important;
    min-height: 0 !important;
    height: 52px !important;
    padding: 0 20px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
  }

  #top_contact .contact-btn-wrap .btn_info i {
    font-size: 16px !important;
  }

  /* 医師紹介 */
  #top_contact .contact-btn-wrap .btn_access {
    background: #2869aa !important;
    border: 2px solid #2869aa !important;
    color: #fff !important;
  }

  /* よくあるご質問 */
  #top_contact .contact-btn-wrap .btn_price {
    background: #faab01 !important;
    border: 2px solid #faab01 !important;
    color: #ffffff !important;
  }

  #top_contact .contact-btn-wrap .btn_info:hover {
    background: #fd930d !important;
    border-color: #fd930d !important;
    color: #fff !important;
  }
}
/* SP: 閉じたメニューの操作遮断と追従ボタンを修正 */
@media screen and (max-width: 767px) {
  .sp-header .sp-menu { visibility: hidden; pointer-events: none; }
  input#sp-menu:checked + .sp-header .sp-menu { visibility: visible; pointer-events: auto; }
  #mv .mv-img { height: auto; }
  #mv .mv-img video { display: block; width: 100%; height: auto; }
  .fixed_btn { left: 0; right: 0; margin: 0; padding: 0; gap: 0; z-index: 1000; }
  .fixed_btn > .fixed_btn-item { flex: 1 1 0; min-width: 0; }
  .fixed_btn > .fixed_btn-item > a {
    display: flex !important; box-sizing: border-box; align-items: center;
    justify-content: center; padding: 0; text-align: center; writing-mode: horizontal-tb;
  }
  html body { padding-bottom: calc(max(30px, 4rem) + env(safe-area-inset-bottom, 0px)); }
  .fixed_btn { padding-bottom: env(safe-area-inset-bottom, 0px); box-sizing: content-box; }
}
