@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.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
*/

/* ==================================================================================================================================
  *全体
================================================================================================================================== */
body {
  background: #fff;
  letter-spacing: .1em;
}

#body_wrap.top .post_content {
  margin: 0 !important;
  padding: 0 !important;
}

.top #content {
  padding-top: 0 !important;
}

.post_content .is-style-section_ttl {
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  letter-spacing: var(--swl-letter_spacing, .2px);
  padding: 0;
  position: relative;
  font-size: 160%;
  text-align: center;
}

/* セクション用見出し：英語タイトル（日本語の上に表示） */
.post_content *.is-style-section_ttl>small.mininote {
  display: block;
  text-align: center;
  color: var(--color_main);
  margin-bottom: 5px;
  font-size: 24px;
  font-weight: 400;
}

.post_content .wp-block-group__inner-container>h2 {
  margin-top: 4em !important;
}

/* 見出し3（カスタマイザー「2色の下線（メイン・グレー）」等）：下方向の余白のみ広げる */
.post_content h3:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title),
.lp-content__postContent.post_content h3:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title) {
  padding: 0 0.5em 1em;
}

/* スペーサー */
.wp-block-spacer {
  clear: both;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==================================================================================================================================
  *グロナビのカスタマイズ
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
nav {
  display: block;
  width: fit-content;
  margin: auto;
  padding: 18px 0;
}

/* 親リストのスタイル調整 */
.global-nav {
  list-style: none;
  display: flex;
  gap: 0 32px;
  position: relative;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 80%;
  margin-left: auto;
  padding-right: 48px;
}

/* サブメニューはデフォルト非表示 */
.global-nav .sub-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  z-index: 999;
  min-width: 330px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

/* 親メニューに相対位置を与える */
.global-nav .menu-item {
  position: relative;
  padding: 10px 0;
}

.global-nav li a {
  position: relative;
  display: block;
  color: var(--color_header_text);
  text-align: center;
  letter-spacing: 1px;
  z-index: 2;
  transition: 0.15s ease-out;
  line-height: 1.5;
  padding: 0;
}

.global-nav>li>a::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  margin: auto;
  background-color: var(--color_main);
  transition: 0.2s ease-in-out;
  transform: scaleX(0);
  content: "";
  z-index: 1;
}

.global-nav>.menu-item>a:hover::before,
.global-nav>.menu-item>a:focus-visible::before {
  transform: scaleX(1);
}

/* サブメニューのアイテム */
/* 親に hover したら子を表示 */
.global-nav .menu-item:hover>.sub-menu,
.global-nav .menu-item:focus-within>.sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.global-nav .sub-menu .menu-item {
  padding: 0;
}

.global-nav .sub-menu .menu-item:not(:last-of-type) {
  border-bottom: 1px solid var(--color_border);
}

.global-nav .sub-menu .menu-item a {
  padding: 21px 15px 22px;
  font-size: 90%;
  transition: 0.2s ease-in-out;
}

.global-nav .sub-menu .menu-item a:hover {
  background: var(--color_bg);
  color: var(--color_main);
}


/* スクロール時 追従ナビ */
.l-fixHeader__inner {
  align-items: center;
  max-width: unset;
  padding: 10px var(--swl-pad_container, 0);
}

.l-fixHeader__logo {
  padding: 10px 0;
}

.l-fixHeader .c-headLogo {
  top: 0;
}

.l-fixHeader.-parallel .l-fixHeader__gnav {
  height: fit-content;
  margin-top: auto;
  margin-bottom: auto;
}

.l-fixHeader .global-nav {
  max-width: 100%;
  padding-right: 0;
}

/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {

  /*--------------------ハンバーガーメニュー--------------------*/
  .c-iconBtn {
    background: var(--color_main);
    color: #fff;
  }

  .-menuBtn.c-plainBtn {
    background: var(--color_sub);
  }

  .p-spMenu__closeBtn .-menuBtn.c-plainBtn {
    background: transparent;
    color: var(--color_tezt);
  }

  /* SPメニューの固定ページリスト */
  .p-spMenu__inner::before {
    background: #fff;
    opacity: 0.9;
  }

  .p-spMenu__nav .page-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .p-spMenu__nav .page-menu li {
    display: block;
    margin: 0 auto;
  }

  .p-spMenu__nav .page-menu li a {
    display: block;
    padding: 16px 10px;
    text-decoration: none;
  }

  /* 子メニューはデフォルト非表示（スマホ） */
  .p-spMenu__nav .page-menu ul ul {
    display: none;
    padding-left: 1em;
    /* インデント */
  }

  /* 開いている場合 */
  .p-spMenu__nav .page-menu ul ul.is-opened {
    display: block;
  }

  /* 子ページリンクのスタイル（スマホ） */
  .p-spMenu__nav .page-menu ul ul a {
    font-size: 90%;
    padding: 16px 0 16px 1.5em;
  }

  .p-spMenu__nav .page-menu ul ul li {
    width: 100%;
  }

  .p-spMenu__inner i.c-iconList__icon:before {
    color: var(--color_main);
    font-size: 200%;
  }

  .p-spMenu__sns.c-snsLinks {
    margin-top: 16px;
  }

  /*--------------------診療時間表（スマホ）--------------------*/
  .tb02 th {
    vertical-align: middle;
    min-width: unset;
    font-size: calc(11px + 3 * (100vw - 320px)/320);
  }

  .tb02 th,
  .tb02 td {
    padding: 3px 0 3px 0;
  }

  .tb02 tr:first-child th,
  .tb02 tr:first-child td {
    padding: 0 0 2px 0;
  }

  .tb02_tit {
    margin-bottom: 18px;
  }

  .side_area {
    display: block;
    margin: auto;
    padding: 30px 20px 20px;
    clear: both;
  }
}


/* ==================================================================================================================================
  *ヘッダー(基本情報）
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.head_info_wrap {
  position: absolute;
  top: 20px;
  right: var(--swl-pad_container, 0);
}

.head_info_wrap:after {
  display: block;
  content: "";
  clear: both;
}

.c-headLogo {
  position: relative;
  top: 32px;
  width: fit-content;
}

.head_info_add {
  margin-bottom: 18px;
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
}

.l-header__bar .c-catchphrase {
  padding: 8px 0;
}

.-parallel-bottom .l-header__inner {
  padding-top: 0;
}

.-parallel-bottom .l-header__logo {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  padding: 0 var(--swl-pad_container, 0);
}

.c-iconList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.l-header__bar .c-iconList .c-iconList__link {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.l-header__barInner {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  max-width: unset;
  padding: 0 var(--swl-pad_container, 0);
}

.head_info_tel {
  display: inline-block;
  letter-spacing: .1em;
  font-size: 24px;
}

.head_info_tel:not(:last-of-type) {
  margin-right: 16px;
}

.head_info_tel .tel_icon {
  position: relative;
  margin-right: 6px;
  font-size: 18px;
  color: var(--color_main);
}

.head_info_tel .tel_icon i {
  color: var(--color_sub);
  transform: rotateY(180deg);
}

.head_info_tel .tel_title {
  margin-right: 2px;
  font-size: 60%;
}

/*----------予約・問診ボタン----------*/
.head_btn_area {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 101;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.head_btn_area li {
  width: fit-content;
  min-width: 200px;
}

.head_btn_area li:last-child {
  margin-right: 0;
}

.head_btn_area li a {
  display: block;
  background-color: var(--color_main);
  border: 1px solid var(--color_main);
  color: #fff;
  text-align: center;
  padding: 24px 10px;
  line-height: 1;
  transition: 0.2s ease-in-out;
  font-weight: 400;
}

.head_btn_area li:nth-of-type(2n) a {
  background-color: var(--color_sub);
  border: 1px solid var(--color_sub);
}

.head_btn_area li a:hover {
  background: #fff;
  color: var(--color_main);
}

.head_btn_area li:nth-of-type(2n) a:hover {
  background: #fff;
  color: var(--color_sub);
}

.head_btn_area li a i {
  margin-right: 8px;
}

.sp_header {
  display: none;
}

.fixed_web_yoyaku_btn {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.fixed_web_yoyaku_btn a {
  display: flex;
  background: var(--color_main);
  writing-mode: vertical-rl;
  color: #fff;
  width: 100%;
  padding: 15px 10px;
  letter-spacing: 4px;
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.fixed_web_yoyaku_btn a:hover {
  background: var(--color_sub);
}

.fixed_web_yoyaku_btn a i {
  margin-bottom: 5px;
}

.fixed_web_yoyaku_btn a:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
  .head_info_tel {
    font-size: 20px;
  }

  .head_info_tel:not(:last-of-type) {
    margin-right: 10px;
  }
}

/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {
  .head_info_tel {
    display: none;
  }

  .-parallel-bottom .l-header__logo {
    margin: 0 auto;
    height: var(--logo_size_sp);
  }

  .c-headLogo {
    position: static;
  }

  .-img .c-headLogo__link {
    padding: 8px 10px;
  }

  .head_btn_area, .head_info_wrap {
    display: none;
  }
}

/* ==================================================================================================================================
  *スマホ下部固定ナビ
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {
  #fix_bottom_menu .menu_list {
    padding: 0;
  }

  #fix_bottom_menu .menu-item {
    display: flex;
    height: 100%;
  }

  #fix_bottom_menu .menu-item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    width: 100%;
    background: var(--color_main);
    color: #fff;
  }

  #fix_bottom_menu .menu-item:nth-of-type(even) a {
    background: var(--color_sub);
  }

  #fix_bottom_menu .menu-item i {
    font-size: 14px !important;
  }
}

/* ==================================================================================================================================
  *親子ページナビ(全ページ）
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.parent-page-link {
  background: #dedede;
  /* display: inline-block; */
  display: none;
  text-align: left;
  width: fit-content;
  height: 60px;
  line-height: 38px;
  position: relative;
  padding: 10px 25px 10px 35px;
  box-sizing: border-box;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.parent-page-link a {
  font-size: 90%;
  color: #777;
}

.parent-page-link:before {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
  top: 0;
  left: 0;
  border-width: 30px 20px 30px 0px;
  border-color: transparent #dedede transparent transparent;
  border-style: solid;
  background: white;
}

.parent-page-link:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
  top: 0;
  right: 0;
  border-width: 30px 20px 30px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.parent-page-link a span {
  font-size: 130%;
  font-weight: 700;
}

.parent-page-link a:hover {
  color: var(--color_deep02) !important;
  transition: all .5s ease-in-out;
}

/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {
  .child-page-links {
    gap: 12px;
  }
}

/* ==================================================================================================================================
  *メインビジュアル
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.p-mainVisual__inner {
  height: calc(100vh - 195px);
  min-height: 550px;
}

/*---------- ヘッダー背景透過時 ----------*/
body:has(.l-header.-transparent) .p-mainVisual__inner {
  height: 100vh;
  min-height: 700px;
}

/*---------- キャッチコピー ----------*/
.p-mainVisual__slideTitle {
  letter-spacing: .1em;
}

/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {
  .p-mainVisual__inner {
    height: 500px;
    min-height: unset;
  }
}

/* ==================================================================================================================================
  *MV下ピックアップバナー
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.p-pickupBanners {
  position: relative;
  margin: 0;
  padding: 6em 0;
  width: 100%;
}

.c-bannerLink {
  transition: opacity 0.2s ease-in-out;
}

.c-bannerLink:hover {
  opacity: .8;
}

.-cap-ctr_button .c-bannerLink__label {
  background: transparent;
  border-radius: 0;
  color: #fff;
  padding: 12px 16px 11px;
  left: 0;
  width: fit-content;
  min-width: 70%;
  font-size: 110%;
  text-align: left;
}

.-cap-ctr_button .c-bannerLink__label::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color_main);
  opacity: .9;
}

/* ピックアップバナー：タイトル背景画像を .c-bannerLink::before に表示（子テーマ PHP が --tpal-pickup-before-bg を付与） */
.c-bannerLink.-tpal-pickup-ttlbg {
  /* 親の ::before が背景画像を持つので inherit による単色被せを無効化 */
  background-color: transparent;
}

.c-bannerLink.-tpal-pickup-ttlbg::before {
  background-color: transparent;
  background-image: var(--tpal-pickup-before-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 見た目は ::before の写真を優先。img はレイアウトの高さ確保のためフローに残す（absolute だと figure が潰れる） */
.c-bannerLink.-tpal-pickup-ttlbg .c-bannerLink__figure img {
  opacity: 0;
  pointer-events: none;
}

/* ==================================================================================================================================
  *アンカーリンク(全ページ）
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.ank_single {
  position: relative;
  margin: 0 0 40px;
}

.anklink {
  display: flex;
	justify-content: start;
  flex-wrap: wrap;
  gap: 12px;
}

.anklink li {
  width: calc((100% / 3) - (24px / 3));
  display: flex;
  align-items: center;
  align-content: flex-start;
  justify-content: space-between;
  position: relative;
}

.anklink li a {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--color_main);
  font-weight: bold;
  color: var(--color_main);
  text-align: center;
  vertical-align: middle;
  transition: 0.1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.anklink li a:hover {
  background-color: var(--color_main);
  color: #fff;
}

.anklink li i {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  margin: auto;
}

/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {
  .anklink li{
	width: 48%;
  }
}

/* ==================================================================================================================================
  *目次
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.l-mainContent__inner>.post_content:has(.p-toc) {
  margin-top: 3em !important;
}

#main_content .p-toc {
  width: 100%;
  max-width: unset;
  margin-top: 0 !important;
}

/* ==================================================================================================================================
  *固定ページの親ページで子ページ一覧表示
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
body:has(.child-page-area__outer) .l-content {
  padding-top: 1em !important;
}

.child-page-area__outer {
  width: 100%;
  padding-top: 4em;
  box-sizing: border-box;
}

.child-page-area {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--article_size);
  margin-inline: auto;
  padding: 16px 24px 24px;
  background: #f6f6f6;
  border: 1px solid #ddd;
}

.child-page-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--color_deep03);
  font-size: 110%;
}

.child-page-links li::after {
  display: block;
  clear: both;
  content: "";
}

.child-page-links li {
  position: relative;
  border: 1px solid var(--color_main);
  list-style-type: none;
  display: inline-block;
}

.child-page-links li a {
  display: inline-block;
  padding: 6px 20px 7px;
  font-size: 90%;
  color: var(--color_main);
}

.child-page-links li:hover {
  background-color: #fff;
  transition: 0.7s;
}

.child-page-links li p:last-of-type {
  margin-bottom: 0 !important;
}

.child-page-area span.related {
  font-size: 80%;
  color: var(--color_text);
  display: block;
  width: 100%;
  border-bottom: 1px #ddd solid;
  line-height: 2.8em;
}

.child-page-area span.related::before {
  margin-right: 4px;
}

.tb02 tr:first-of-type {
  background: none;
}

footer .tb02 tr:first-of-type {
  background: none;
}

.tb02 tr:first-of-type :is(th, td) {
  border-bottom: none;
}

/*診療時間*/
.sche_wrap .tb02_tit {
  border-bottom: none;
  font-size: 18px;
  text-align: center;
  width: 100%;
  padding: 8px;
  background: var(--color_main);
  margin-bottom: 16px;
  color: #fff;
}

.sche_wrap .tb02 {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 12px;
  line-height: 1.5em;
}

.sche_wrap .tb02 tr:first-of-type {
  background: var(--color_bg);
}

.sche_wrap .tb02 th,
.sche_wrap .tb02 td, .tb02 tr:first-of-type :is(th, td) {
  border: none;
  border-bottom: 1px solid var(--color_border);
}

.sche_wrap .tb02 th {
  font-weight: 400;
  width: 30%;
  padding: 16px 10px;
  text-align: center;
}

.sche_wrap .tb02 td {
  text-align: center;
  max-width: 10%;
  min-width: 8.75%;
  padding: 5px 0;
  vertical-align: middle;
}

.sche_wrap .kyushinbi {
  color: var(--color_main);
  font-weight: 600;
}

.sche_wrap .color_main {
  color: var(--color_main);
}

.sche_wrap .color_sub {
  color: var(--color_sub);
}

/* ----------------------------------------------------------------------
  ▼ sp
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
	.sche_wrap .tb02_tit {
		font-size:85%;
	}
}
/* 施設紹介パーツ */
.facilities_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.facilities_item {
  width: calc((100% / 2) - (20px / 2));
  overflow: hidden;
  background: var(--color_bg);
}

.facilities_item_img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color_bg);
}


.facilities_item_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.facilities_item dd {
  padding: 24px;
}

.post_content .facilities_item dd h3 {
  display: table;
  font-size: 20px;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* ----------------------------------------------------------------------
  ▼ sp
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .facilities_item {
    width: 100%;
  }
}

/* ==================================================================================================================================
  *2列表
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.column2_table table {
  width: 100%;
  margin-bottom: 30px;
}

.column2_table table th {
  text-align: center;
  background-color: var(--color_bg);
  width: 30%;
}

.column2_table table th,
.column2_table table td {
  padding: 15px;
  border: 1px solid var(--color_border);
  vertical-align: middle;
}
/* ----------------------------------------------------------------------
  ▼ sp
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
.column2_table table th {
		font-size:85%;
	}
}


/* ==================================================================================================================================
  *FAQ
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.faq_wrap .swell-block-accordion__title .swell-block-accordion__label:before {
  top: 0;
  left: 0;
  margin-right: 7px;
  line-height: 1;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 28px;
  color: var(--color_deep02);
  content: "Q.";
}

.faq_wrap .swell-block-accordion__body span.q_body:before {
  top: 0;
  left: 0;
  margin-right: 7px;
  line-height: 1;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 28px;
  color: var(--color_deep01);
  content: "A.";
}

/* アコーディオン（loos/accordion）ブロックスタイル「FAQ」：擬似要素で Q / A（.faq_wrap と同系のタイポ） */
.swell-block-accordion.is-style-faq .swell-block-accordion__label {
  display: flex;
  align-items: flex-start;
  gap: 0.35em;
}

.swell-block-accordion.is-style-faq .swell-block-accordion__label::before {
  content: "Q.";
  flex-shrink: 0;
  line-height: 1;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 28px;
  color: var(--color_deep02);
}

/* 本文エリアの先頭ブロックに A.（ネイティブでは span.q_body が無いため先頭子要素に付与） */
.swell-block-accordion.is-style-faq .swell-block-accordion__body> :first-child {
  display: flex;
  align-items: flex-start;
  gap: 0.35em;
}

.swell-block-accordion.is-style-faq .swell-block-accordion__body> :first-child::before {
  content: "A.";
  flex-shrink: 0;
  line-height: 1;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 28px;
  color: var(--color_deep01);
}

/* ==================================================================================================================================
  *透かし付きリッチカラム
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.rich-column-block {
  position: relative;
  /* 疑似要素の基準 */
  padding: 0px;
  /* 枠内の余白（お好みで調整） */
  overflow: hidden;
  /* ロゴがはみ出ないようにする */
  isolation: isolate;
}

.rich-column-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
  /* 透かしの濃さ */
}

/* ------------------------------------------------
パターンA：色を指定した場合（インクとスタンプ）
------------------------------------------------ */
.rich-column-block.has-custom-color::before {
  background-color: var(--wm-color);

  -webkit-mask-image: var(--wm-url);
  mask-image: var(--wm-url);

  -webkit-mask-position: var(--wm-x) var(--wm-y);
  mask-position: var(--wm-x) var(--wm-y);

  -webkit-mask-size: clamp(100px, 35%, 500px) auto;
  mask-size: clamp(100px, 35%, 500px) auto;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ------------------------------------------------
パターンB：色をクリア（空）にした場合（元の画像そのまま）
------------------------------------------------ */
.rich-column-block.is-original-color::before {
  background-image: var(--wm-url);
  background-position: var(--wm-x) var(--wm-y);
  background-size: clamp(100px, 35%, 500px) auto;
  background-repeat: no-repeat;
}

/* 中身のコンテンツ */
.rich-column-content {
  position: relative;
  z-index: 1;
}

/*--------------------リスト--------------------*/
.post_content .wp-block-list li {
	margin: 15px 25px;
}


/*--------------------ボタン--------------------*/
.side_area .btn01 a {
  max-width: 100%;
  color: #fff;
}

.side_bannar ul li {
  margin-bottom: 10px;
  text-align: center;
}

.side_bannar ul li a:hover {
  opacity: .8;
}

.side_area {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
}

.side_area li a {
  color: #333;
}

.side_area li a:hover {
  color: var(--color_main) !important;
}

.btn01 a {
  display: inline-block;
  padding: 8px 30px 8px 15px;
  margin: 10px 0;
  background-color: var(--color_main);
  color: #fff;
  border: 1px solid var(--color_main);
  transition: .2s ease-in-out;
  position: relative;
  border-radius: 4px;
}

.btn01 a:hover {
  border-color: var(--color_sub);
  background-color: var(--color_sub);
  color: var(--color_main);
  opacity: 0.8;
}

.btn01 a:before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  font-weight: 900;
  color: #fff;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
  display: block;
  height: 30px;
  transition: .2s ease-in-out;
}

.btn01 a:hover::before {
  color: var(--color_main);
}

.btn01 a i {
  margin: 0 0 0 10px;
}

.bannar_area ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding-inline-start: 0px;
}

.bannar_area li {
  margin: 0;
  padding: 0;
}

.bannar_area li img {
  max-width: 300px;
  max-height: 60px;
  width: 100%;
}

.bannar_area li.swell-block-button a {
  max-height: 60px;
  font-size: 80%;
}

.bannar_area li a img:hover {
  opacity: .7;
}

.bannar_area li::marker {
  display: none;
}

a.swell-block-button__link:before {
  margin-right: 0.5em;
}

.p-fixBtnWrap {
  bottom: 90px;
  right: 10px;
}

/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {
  .bannar_area ul {
    gap: 12px;
  }
}

/* ==================================================================================================================================
  *ブロック
================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* footerパーツ */
.w-footer__box {
  padding-top: 6em;
  padding-bottom: 6em;
}

footer .wp-block-group.is-stack {
  left: 0;
  width: 100% !important;
  margin-bottom: 0;
}

.post_content:has(.footer_basic) {
  width: 100%;
}

.post_content .footer_info {
  gap: 50px;
}

.footer_subject {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  margin-bottom: 32px !important;
  padding: 20px;
}

.footer_subject::before {
  flex-shrink: 0;
  display: inline-block;
  content: "診療科目";
  padding: 8px 17px;
  background: var(--color_main);
  color: #fff;
}

.footer_address {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px !important;
}

.footer_address_title,
.footer_tel .tel_title {
  flex-shrink: 0;
  min-width: 105px;
  padding: 8px 17px;
  border: var(--color_main) 1px solid;
  color: var(--color_main) !important;
  text-align: center;
}

.footer_address_location {
  display: flex;
  flex-direction: column;
}

.footer_post {
  position: relative;
}

.footer_post::before {
  display: inline-block;
  content: "〒";
}

.footer_tel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer_tel:not(:last-child) {
  margin-bottom: 20px !important;
}

.footer_tel .tel_number {
  line-height: 1;
  letter-spacing: .15em;
  font-size: 140%;
}

.footer_access_info {
  margin-top: 32px;
}

/* footer　最下部ウィジェット（メニュー） */
.l-footer__widgetArea.-footerBottom {
  background: var(--color_text);
}

.l-footer__widgetArea.-footerBottom>* {
  color: #fff !important;
}

.l-footer__widgetArea.-footerBottom .c-widget__title.-footer {
  margin-bottom: .75em;
}

.l-footer__widgetArea.-footerBottom .c-submenuToggleBtn:before {
  color: #fff;
}

.l-footer__widgetArea.-footerBottom .c-listMenu a {
  padding: 1em .5em;
  position: relative;
}

.l-footer__widgetArea.-footerBottom .children .page_item a {
  position: relative;
  padding-left: 1.5em;
}

.l-footer__foot {
  padding-bottom: 80px;
  background: var(--color_text);
  color: #fff;
}

/* ----------------------------------------------------------------------
  ▼ sp
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .p-pickupBanners__item {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1.2;
  }

  .c-bannerLink.-tpal-pickup-ttlbg {
    height: 100%;
  }
}

/* ==================================================================================================================================

  *MPクラウド - お知らせ（タイトルのみ）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#mp-contents {
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
  background: #fff;
  padding: 40px;
}

#mp-contents .news_list {
  padding: 0 !important;
}

#mp-contents .news_item {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color_border);
  list-style: none;
}

#mp-contents .news_item a {
  display: flex;
  align-items: center;
  padding: 25px 5px 25px 10px;
  border-top: solid 1px var(--color_border);
  color: var(--color_text);
}

#mp-contents .news_item a:hover {
  color: var(--color_main);
}

#mp-contents .news_item:last-of-type a {
  border-bottom: solid 1px var(--color_border);
}

#mp-contents .news_info {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

#mp-contents .news_info .date {
  display: inline-block;
  flex-shrink: 0;
  font-size: 90%;
  line-height: 1;
}

#mp-contents .news_info .cate {
  display: inline-block;
  flex-shrink: 0;
  min-width: 80px;
  padding: 7px 10px;
  font-style: normal;
  font-size: 60%;
  line-height: 1;
  text-align: center;
}

#mp-contents .news_title {
  letter-spacing: .1em;
  margin: 0;
  padding: 0;
  background: none;
  border-bottom: none;
  color: var(--color_text);
  font-size: 100%;
  transition: color 0.2s ease-in-out;
}

#mp-contents .news_item:hover h3 {
  color: var(--color_main);
}

#mp-contents .news_title::before,
#mp-contents .news_title::after {
  content: none;
}

#mp-contents .news_title span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#mp-contents .news_text {
  margin-top: 18px;
  padding: 24px;
  background: var(--color_bg);
  letter-spacing: .1em;
  line-height: 2;
  font-size: 90%;
}

/* アコーディオン：swell-block-accordion__item と同じ動き（height + padding + opacity で展開） */
#mp-contents .news_accordion_item .news_text {
  height: auto;
  overflow: hidden;
  opacity: 1;
  transition: padding 0.25s ease, height 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

#mp-contents .news_accordion_item:not(.is-open) .news_text {
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  opacity: 0;
  visibility: hidden;
}

#mp-contents .news_accordion_item.is-open .news_text {
  visibility: visible;
}

#mp-contents .news_accordion_item {
  cursor: pointer;
}

/* + − は h2/h3（.news_title）基準で表示 */
#mp-contents .news_accordion_item .news_title {
  position: relative;
  padding-right: 18px;
}

#mp-contents .news_accordion_item .news_title::before {
  content: "";
  position: absolute;
  left: auto;
  right: 8px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: var(--color_text);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#mp-contents .news_accordion_item .news_title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 1px;
  background: var(--color_text);
  transition: transform 0.2s ease;
}

/* 展開前（閉じているとき）は + を表示 */
#mp-contents .news_accordion_item:not(.is-open) .news_title::before {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}

/* 展開後は −（縦線を隠す） */
#mp-contents .news_accordion_item.is-open .news_title::before {
  opacity: 0;
  transform: translateY(-50%) scaleY(0);
}

#mp-contents .news_accordion_item.is-open .news_title::after {
  transform: translateY(-50%);
}

/* ----- お知らせがない時 ------ */
#mp-contents .news_empty {
  text-align: center;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #mp-contents {
    padding: 24px;
  }

  #mp-contents .news_text {
    padding: 16px;
  }
}

/* ==================================================================================================================================

  *MPクラウド - スケジュール

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.sec_mpcloud {
  padding: 0 !important;
}

#mpcloud_schedule {
  position: fixed;
  bottom: 15px;
  left: 22px;
  z-index: 999999999;
  width: 220px;
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
}

#mpcloud_schedule section {
  box-shadow: 0 8px 22px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.shcedule_box {
  box-shadow: 0 8px 22px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.shcedule_title {
  padding: 24px 0 18px;
  border-bottom: 2px solid var(--color_border);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.shcedule_title i {
  position: relative;
  top: -2px;
  right: -25px;
  font-style: normal;
  font-size: 12px;
  cursor: pointer;
}

.schedule_time {
  margin: 8px 0 0 0;
}

.schedule_time dt {
  font-weight: bold;
}

.shcedule_box dt {
  background: var(--color_border);
  text-align: center;
}

.shcedule_box dt:not(:first-child) {
  margin-top: 10px;
}

.shcedule_box dd {
  height: auto;
  text-align: center;
  vertical-align: top;
}

.shcedule_today {
  padding: 16px 16px 24px;
}

.schedule_comment {
  max-height: 200px;
  padding: 8px 12px;
  border-top: 1px solid var(--color_border);
  font-size: 14px;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #mpcloud_schedule {
    bottom: 60px;
  }
}

/* ==================================================================================================================================
  *固定ボタン（SNS情報）
================================================================================================================================== */
.tpal-hero-fixed-btn {
  --tpal-fixed-main: var(--color_main);
  --tpal-fixed-sub: var(--color_htag, var(--color_main));
}

.tpal-hero-fixed-btn .fixed_btn_service {
  position: fixed;
  right: 110px;
  bottom: 20px;
  z-index: 11;
  display: flex;
  box-shadow: rgba(149, 157, 165, 0.4) 0px 8px 24px;
}

.tpal-hero-fixed-btn .fixed_btn_service a {
  position: relative;
  z-index: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  height: 80px;
  padding: 0 40px;
  background: #fff;
  font-size: 18px;
  color: var(--tpal-fixed-main);
  font-family: inherit;
  font-weight: 400;
  font-style: normal;
}

.tpal-hero-fixed-btn .fixed_btn_service a:hover {
  background: var(--tpal-fixed-main);
  color: #fff;
}

.tpal-hero-fixed-btn .fixed_btn_service a:nth-child(2n) {
  color: var(--tpal-fixed-sub);
}

.tpal-hero-fixed-btn .fixed_btn_service a:nth-child(2n):hover {
  background: var(--tpal-fixed-sub);
  color: #fff;
}

.tpal-hero-fixed-btn .fixed_btn_service a.fixed_line {
  color: rgb(105 204 145);
}

.tpal-hero-fixed-btn .fixed_btn_service a.fixed_line:hover {
  background: rgb(105 204 145);
  color: #fff;
}

.tpal-hero-fixed-btn .fixed_btn_service a:not(:first-of-type)::before {
  position: absolute;
  content: '';
  width: 1px;
  height: calc(100% - 20px);
  border-left: 1px solid #e0e0e0;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.tpal-hero-fixed-btn .fixed_btn_service a i {
  position: relative;
  width: 40px;
  height: 40px;
  padding-left: 2px;
  background: #f9f5ea;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--tpal-fixed-main);
}

.tpal-hero-fixed-btn .fixed_btn_service a:nth-child(2n) i {
  background: #ededed;
  color: var(--tpal-fixed-sub);
}

.tpal-hero-fixed-btn .fixed_btn_service a.fixed_line i {
  background: rgb(236 250 242);
  color: rgb(105 204 145);
}

.tpal-hero-fixed-btn .fixed_btn_sns {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 100;
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(-50%);
}

.tpal-hero-fixed-btn .fixed_btn_sns a {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 0 0 0 3px;
  background: var(--tpal-fixed-main);
  color: #ffffff;
  font-size: 26px;
  transition: opacity 0.2s, width 0.2s;
}

.tpal-hero-fixed-btn .fixed_btn_sns a.line {
  background: rgba(6, 199, 85, 0.9);
}

.tpal-hero-fixed-btn .fixed_btn_sns a.facebook {
  background: rgba(24, 119, 242, 0.8);
}

.tpal-hero-fixed-btn .fixed_btn_sns a.instagram {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.8), rgba(253, 29, 29, 0.8), rgba(252, 176, 69, 0.8));
}

.tpal-hero-fixed-btn .fixed_btn_sns a.youtube {
  background: rgba(255, 0, 0, 0.8);
}

.tpal-hero-fixed-btn .fixed_btn_sns a.x-twitter {
  background: rgba(0, 0, 0, 0.8);
}

.tpal-hero-fixed-btn .fixed_btn_sns a.tiktok {
  background: rgba(0, 0, 0, 0.8);
}

.tpal-hero-fixed-btn .fixed_btn_sns a:hover {
  width: 100px;
}

/* X ロゴは Font Awesome 非依存（インライン SVG）。他 SNS と同じ 1em 相当で揃える */
.tpal-hero-fixed-btn .fixed_btn_sns a .tpal-sns-x-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.tpal-hero-fixed-btn .fixed_btn_sns a .tpal-sns-x-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* ----------------------------------------------------------------------
  ▼ tablet
---------------------------------------------------------------------- */
@media screen and (max-width: 960px) {

  .tpal-hero-fixed-btn .fixed_btn_service,
  .tpal-hero-fixed-btn .fixed_btn_sns {
    display: none;
  }
}

/*==================================================================================================================================
  医師紹介ブロック
==================================================================================================================================*/
.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 50px;
}

.greeting_box:not(:last-child) {
  margin-bottom: 70px;
}

.greeting_left {
  width: 100%;
}

.greeting_text>*:not(:last-child),
.greeting_text>.wp-block-group__inner-container>*:not(:last-child) {
  margin-bottom: 2em;
}

.greeting_right {
  flex-shrink: 0;
  text-align: center;
}

.greeting_img img,
.greeting_img .greeting_img__el {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.greeting_profile {
  padding: 20px;
  background: var(--color_main);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}

.greeting_profile .position {
  font-size: 130%;
}

.greeting_profile .name {
  font-size: 150%;
}

.greeting_btn {
  margin-top: 50px;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 40px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 40px;
  }
}

/*==================================================================================================================================
  当院の特徴リスト
==================================================================================================================================*/
.feature {
  background: var(--color_bg);
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 30px;
}

.feature_item {
  display: flex;
  align-items: center;
  gap: 40px;
  height: auto;
  width: 100%;
  padding: 40px;
  background: #fff;
}

.feature_list>.feature_item:first-child {
  margin-top: 0;
}

.feature_img {
  position: relative;
  width: 500px;
  height: auto;
  aspect-ratio: 16 / 12;
  flex-shrink: 0;
  overflow: hidden;
}


.feature_img img,
.feature_img .feature_img__el {
  width: 100%;
  height: 100% !important;
  vertical-align: top;
  object-fit: cover;
}

.feature_inner {
  position: relative;
  display: flex;
  flex-flow: column;
  width: 100%;
  height: auto;
}

.feature_inner>*:not(:last-child) {
  margin-bottom: 30px;
}

.feature_num {
  margin: 0 0 5px !important;
  font-size: 120%;
}

.feature_num span {
  margin-left: 4px;
  color: var(--color_main);
  font-size: 130%;
}

.feature_inner h3{
  margin: 0 0 1em!important;
  padding-left: 0!important;
  padding-right: 0!important;
}

.feature_item .btn01 {
  margin-top: auto;
  text-align: center;
}

.feature_item .btn01>* {
  padding: 10px 40px 10px 30px;
  font-size: 95%;
}

.btnflex_feature {
  display: flex;
  align-items: center;
  flex-flow: wrap;
  gap: 5px;
  margin-top: auto;
}

@media screen and (max-width: 960px) {
  .feature {
    padding-bottom: 0;
  }

  .feature_list {
    gap: 40px;
  }

  .feature_item {
    flex-flow: column;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 24px;
  }

  .feature_img {
    width: 100%;
    margin: 0;
  }

  .feature_inner {
    width: 100%;
  }

  .feature_num{
    font-size: 110%;
  }

  .feature_inner h3{
    font-size: 130%;
  }
}