@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
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
.p-mainVisual__slideTitle {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 2px;
}
.p-mainVisual__textLayer {
  text-shadow:2px 2px 1px rgba(0, 0, 0, 0.6 ) !important;
  left: 100%;
}

/* =========================================
   メインビジュアルのスライドをズームアウトさせる
========================================= */
:root {
  --mv_slide_animation: mv_zoomOut !important;
}
@keyframes mv_zoomOut {
  0% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15); /* 最初の大きさ115% */
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1); /* 100%に戻る */
  }
}

/* --- メインビジュアルの背景を徹底的に「白」にする --- */
#main_visual,
.p-mainVisual,
.p-mainVisual__inner,
.p-mainVisual__inner .swiper-wrapper {
  background-color: #ffffff !important;
}
/* スライド単体の背景色を透明にして、後ろの白を透けさせる */
.p-mainVisual__slide {
  background-color: transparent !important;
}
/* --- ホワイトアウトのフェードタイミング調整 --- */
/* 消えていく前の画像：素早く透明になって白背景を見せる */
.p-mainVisual .swiper-slide:not(.swiper-slide-active) {
  transition-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1) !important;
}
/* 現れる次の画像：白背景からゆっくりと浮かび上がらせる */
.p-mainVisual .swiper-slide-active {
    transition-timing-function: cubic-bezier(0.9, 0.1, 1, 0.2) !important;
}

/* =========================================
   メインビジュアル下の重要なお知らせボックス
========================================= */
.page-id-7 .custom-important-notice {
  display: flex;
  width: 100%;
  margin: 0 auto;
  margin-top: -30px !important; 
  position: relative;
  z-index: 10;
  background-color: #f4f5f7;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
/* --- 左側（オレンジ部分） --- */
.custom-important-notice .notice-left {
  background-color: #FCAF2B;
  color: #333;
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.custom-important-notice .notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #fff;
  color: #322C6C;
  border: 2px solid #6bb8f5;
  box-shadow: 0 0 0 2px #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1;
}
.custom-important-notice .notice-text {
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #322C6C;
}
/* --- 右側（リスト部分） --- */
/* --- お知らせが1件でも上下中央に配置するための調整 --- */
/* 外側のラッパーとリスト本体の余白を完全にリセットする */
.notice-right .p-postListWrap,
.notice-right .p-postList {
  width: 100% !important;
  margin: 0 !important;  /* SWELLが自動でつける下余白を消去 */
  padding: 0 !important;
}
.notice-right {
  display: flex !important;
  align-items: center !important; /* これで子要素が上下中央にきます */
}
.custom-important-notice .notice-right {
  flex-grow: 1;
  padding: 10px 30px;
}
.notice-right .p-postList__item {

}
.notice-right .p-postList__item:last-child {
  border-bottom: none !important;
}
.notice-right .p-postList__link {
  position: relative !important;
  padding: 12px 0 !important;
  display: block !important;
}
.notice-right .p-postList__body {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}
/*.notice-right .p-postList__meta {
    margin: 0 18px 0 0 !important;
}*/
.notice-right .c-postTimes__posted {
  font-size: 14px;
}
.notice-right .p-postList__title {
  flex-grow: 1;
  font-weight: normal;
  color: #2b4281;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 長い場合に...にする */
  text-decoration: underline;
}
/* 右端に矢印「＞」を追加 */
.notice-right .p-postList__link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #2b4281;
  border-right: 2px solid #2b4281;
  transform: translateY(-50%) rotate(45deg);
}
/* 線を消す */
#custom_html-2 .p-postList.-type-simple {
  border-top: none;
}
#custom_html-2 .-type-simple .p-postList__link {
  border-bottom: none;
}

/* 時計アイコンを消す */
/*.page-id-7 .c-postTimes__posted:before {
  display: none;
}*/

/* 重要なお知らせ、下の余白を詰める */
.page-id-7 .l-mainContent__inner>.post_content {
  margin: 0em 0;
}
.w-frontTop {
  margin-bottom: 1em;
}

/* 画面中央に表示 */
.center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 3vh;
}

/* フッター 電話番号 */
.page-id-7 a[href*="tel:"] {
  color: #333;
}
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: sans-serif;
}
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.contact-item .ic-phone {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 2px;
  background-image: url(images/ic-phone.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.number-text {
  font-size: 1.2rem;
  /*font-weight: 500;*/
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: "Helvetica Neue", Arial, sans-serif; /* 数字をすっきり見せる指定 */
}
.fax-label {
  font-size: .9rem;
  margin-right: 2px;
}

.swell-block-linkList__item {
  padding-right: 1em;
}

/* トップページ 見出し2 */
.c-custom-h2 {
  display: flex;
  flex-direction: column;
  align-items: center;

  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.c-custom-h2-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin-bottom: 0 !important;
  margin-left: 1.5rem !important;

  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.page-id-7 .post_content h2::before {
  border-top: none;
  border-bottom: none;
}
.c-custom-h2__icon {
  display: block;
  width: 50px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  margin-bottom: 10px;
}
.ic-news {
  background-image: url('images/ic-news.png');
}
.ic-medical {
  background-image: url('images/ic-medical.png');
}
.ic-closed {
  background-image: url('images/ic-closed.png');
}
.ic-ushio {
  background-image: url('images/ic-ushio.png');
}
.ic-pickup {
  background-image: url('images/ic-pickup.png');
}
.ic-related {
  background-image: url('images/ic-related.png');
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
.c-custom-h2__main {
  font-size: 1.2em;
  color: #333;
  line-height: 1.4;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.c-custom-h2__sub {
  font-size: 0.55em;
  color: #6a96d1;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

.medical-am, .medical-pm {
  background: #E0E8FB;
  padding: 2px 2em;
  max-width: 118px;
  color: #4d8aff;
  letter-spacing: 2px;
  text-align: center;
}

/* ビジュアル編集対応：医療案内バー */
.c-visual-medical-bar {
  display: flex !important;
  align-items: center;
  background-color: #7FA5EE;
  color: #ffffff;
  padding: 10px 30px;
  border-radius: 0 50px 50px 0;
  margin-bottom: 1.5em;
  margin-left: -48px;
  width: fit-content; /* 幅を中身に合わせる */
}
.c-visual-medical-bar::before {
  content: "";
  display: block !important;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-right: 12px;
  background-image: url('images/ic-medical-ttl.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.c-visual-medical-bar p {
  margin: 0;
  padding: 0;
  font-weight: 500;
  /*white-space: nowrap;*/
  color: #ffffff;
  letter-spacing: .1em;
}
.bg-medical {
  background: #fff;
  padding: 3em;
  border-radius: 12px;
}

/* 中央に配置 */
.jc-center {
  display: flex;
  justify-content: center;
}

/* 診療案内 メニューリンク */
.link-card {
  display: block;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  text-decoration: none !important;
  color: #333 !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 240px;
  font-family: "Noto Serif JP", serif;
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.link-card__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 13px;
}
.link-card__icon {
  flex-shrink: 0;
  width: auto;
  height: 34px;
  margin-right: 10px;
  margin-bottom: 6px;
}
.link-card__icon img {
  width: 100%;
  height: auto;
}
.link-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.link-card__text .main-text {
  font-size: 16px;
  letter-spacing: .1rem;
}
.link-card__text .sub-text {
  font-size: 14px;
}
/* 右下の矢印ボタンパーツ */
.link-card__arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-top-left-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow_color_01 {
  background-color: #FEE7C5;
}
.arrow_color_02 {
  background-color: #D8E4FA;
}
.arrow_color_03 {
  background-color: #EDE1D3;
}
.arrow_color_04 {
  background-color: #FAB9BD;
}
.arrow_color_05 {
  background-color: #F9E4E3;
}
.arrow_color_06 {
  background-color: #E8E8E8;
}
.arrow_color_07 {
  background-color: #DDEDC6;
}
.arrow_color_08 {
  background-color: #CAECED;
}
.arrow_color_09 {
  background-color: #D1C1DE;
}
.arrow_color_10 {
  background-color: #B9DAE3;
}
.chevron::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #555;
  border-right: 2px solid #555;
  transform: rotate(45deg);
}

/* 受付時間 */
.diamond-title {
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 6px;
  border-bottom: 1px solid #cdcdcd;
  font-size: 1.1rem;
  font-family: "Noto Serif JP", serif;
}
.diamond-title::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #7BA3E8;
  transform: rotate(45deg);
  margin-right: 12px;
  flex-shrink: 0;
}

.am-label {
  background: #fff;
  padding: 2px 1.5em;
  border-radius: 24px;
  margin-right: 1rem;
  letter-spacing: 2px;
  color: #7FA5EE;
  font-weight: 600;
}
.pm-label {
  background: #7FA5EE;
  padding: 2px 1.5em;
  border-radius: 24px;
  margin-right: 1rem;
  letter-spacing: 2px;
  color: #fff;
  font-weight: 600;
}
.time-slot {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.fs-1 {
  font-size: 1rem;
}
.mb-05 {
  margin-bottom: .25em;
}
.ml-saturday {
  margin-left: 1.2em;
}

/* ピックアップ */
.photo-link-card {
  display: block;
  background-color: #fff;
  border-radius: 12px;
  text-decoration: none !important;
  color: #333 !important;
  overflow: hidden;
  max-width: 400px;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.12);
}
.photo-link-card__text {
  padding: 20px 20px;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  font-family: "Noto Serif JP", serif;
}
.photo-link-card__img img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* 関連施設 */
.page-id-7 .side-photo-card {
  display: flex;
  background-color: #fff;
  border-radius: 15px;
  text-decoration: none !important;
  color: #333 !important;
  overflow: hidden;
  max-width: 600px;
  margin-bottom: 20px !important;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.07);
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.side-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.1);
}
.side-photo-card__text {
  flex: 1; /* 残りの幅をすべて使う */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}
/* 右側の画像エリア */
.side-photo-card__img {
  flex: 1; /* テキストエリアと同じ比率（1:1）にする場合 */
  height: auto;
}
.side-photo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* エリアいっぱいに画像をフィットさせる */
  display: block;
}

.l-content {
  margin-bottom: 0;
}

.recruit-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 24px;
  background-color: #E0E8FB;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.3s ease;
}
.recruit-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.recruit-link a {
  color: #333;
}

#footer [class*=is-style-btn_] {
  margin: 0 auto .75em;
}
#footer [class*=is-style-btn_].-size-l {
  --the-padding: .25em;
}

#footer .swell-block-columns__inner {
  justify-content: center;
}

#access.is-style-btn_line a:hover {
  background-color: #e0e8fb;
  border-color: #332f6a;
  color: #332f6a !important;
}

#f-address {
  margin-bottom: .25em !important;
}

/* うしお通信 */
#ushio .swell-block-columns .wp-block-group {
  background-color: #ffffffd1;
  padding: 2em 1em;
  border-radius: 24px;

}

/* ヘッダーロゴ */
.c-headLogo__img {
  max-height: 40px !important;
}

.is-style-more_btn a {
  box-shadow: 0 0 0 1px #332f6a;
}

/* ページ内埋め込みPDF */
.pdf-responsive-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 98%;
  overflow: hidden;
  margin-bottom: -20%;
  /*border: 1px solid #ccc;*/
}
.pdf-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 76%;
  border: none;
}

/* 見出し2 背景と文字を反転 */
.page-id-279 .post_content h2,
.page-id-762 .post_content h2,
.page-id-764 .post_content h2 {
  background: none;
  color: #332f6a;
}

.page-id-764 .is-style-more_btn a {
  color: #332f6a;
  font-weight: 600;
  letter-spacing: 1px;
}
.page-id-764 .is-style-more_btn a:hover {
  color: #fff;
}

/* 看護部 */
.page-id-555 .post_content h2 {
  background: #fffbfd;
  color: #332f6a;
}
.page-id-555 .post_content h2::before {
  border-top: solid 2px #EC3480;
  border-bottom: solid 2px #EC3480;
}
.page-id-555 .post_content h3::before {
  background: repeating-linear-gradient(90deg, #EC3480 0%, #EC3480 29.3%, rgba(150, 150, 150, .2) 29.3%, rgba(150, 150, 150, .2) 100%);
}
.page-id-555 .is-style-num_circle li:before {
  background-color: #EC3480;
  box-shadow: 0 0 0 1px #EC3480;
}
.page-id-555 .is-style-border>.swell-block-dl__dt {
  border-left: 1px solid #EC3480;
}
.page-id-555 .-index-off .p-toc {
  display: block;
}
.page-id-555 .post_content .is-style-section_ttl {
  background: none;
}
.page-id-555 .post_content h2.is-style-section_ttl::after {
  background: #EC3480;
}

/* テーブルの一番右端の列だけを強制的に右寄せにする */
.align-right table tr td:last-child,
.align-right table tr th:last-child {
  text-align: right !important;
}

.bg-sig {
  background-color: #403B850a;
}

.swl-inline-icon:after {
  background: #403B85;
}

/* 検索窓 */
.header-custom-item {
  display: flex;
  flex-direction: column; /* 上に画像、下に文字 */
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  position: relative;
  /* ボタンのデフォルトスタイルを打ち消す設定 */
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.header-custom-item:hover {
  opacity: 0.7;
}
.header-custom-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-bottom: 6px;
}
.header-custom-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}


/* ------------------------------------- */
/* PCのみ */
/* ------------------------------------- */
@media (min-width: 960px) {

/* 番号発信しない */
a[href*="tel:"] {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

/* タブレットのみ改行 */
br.tab_only {
  display: none;
}

/* ヘッダー電話番号 */
.l-header__inner {
  position: relative !important;
}
.header-custom-nav {
  position: absolute;
  top: 4px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 100;
}
.header-custom-nav .header-tel {
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
}
.header-custom-nav .tel-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  background-image: url('images/ic-phone.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.header-custom-nav .tel-num {
  font-size: 22px;
  font-family: "Helvetica Neue", Arial, sans-serif; /* 数字をすっきり見せる指定 */
}
.header-custom-nav .header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 24px 2px;
  background-color: #d4e2fa;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease; /* ホバー時のアニメーション準備 */
  line-height: 1.4;
}
.header-custom-nav .header-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* グローバルメニューの表示位置 */
.-series-right .c-gnavWrap {
  margin-top: 2.5em;
}

/* 投稿タイトルの右側アイコン */
#news .p-postList__link::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid #c7c7c7;
  border-right: 1px solid #c7c7c7;
  transform: translateY(-50%) rotate(45deg);
}


/* ------------------------------------- */
/* ノートPC以下 */
/* ------------------------------------- */
@media (max-width: 1024px) {


}

/* 1025px以上 */
@media (min-width: 1025px) {
  br.pc_only {
    display: none;
  }

  .p-mainVisual__slideTitle {
    font-size: 36px;
    font-weight: 600;
  }

  
}


/* ===================================================
   文字サイズ変更ボタン と 全体のサイズ制御
=================================================== */
html.is-font-small,
html.is-font-small body,
html.is-font-small p:not(.copyright):not(#f-address),
html.is-font-small li,
html.is-font-small dt,
html.is-font-small th,
html.is-font-small td,
html.is-font-small .post_content p:not(#f-address),
html.is-font-small .p-entry__content p {
  font-size: 14px !important;
}
html.is-font-small .post_content h2 {
  font-size: 1.2em !important;
}
html.is-font-small .page-id-7 h2.p-postList__title {
  font-size: 1rem !important; /* トップページ投稿 */
}
html.is-font-small .post_content h3 {
  font-size: 1.1em !important;
}
html.is-font-small .post_content h4 {
  font-size: 1em !important;
}

html.is-font-medium,
html.is-font-medium body {
  font-size: 100% !important;
}

html.is-font-large,
html.is-font-large body,
html.is-font-large p:not(.copyright):not(#f-address),
html.is-font-large li,
html.is-font-large dt,
html.is-font-large th,
html.is-font-large td,
html.is-font-large .post_content p:not(#f-address),
html.is-font-large .p-entry__content p,
html.is-font-large .swell-block-button,
html.is-font-large .smf-item__label {
  font-size: 19px !important;
}
html.is-font-large time,
html.is-font-large figcaption,
html.is-font-large .wp-block-button {
  font-size: 17px !important;
}
html.is-font-large .c-gnav>.menu-item>a .ttl {
  font-size: 16px !important;
}
html.is-font-large .post_content h2 {
  font-size: 1.6em !important;
}
html.is-font-large .page-id-7 h2.p-postList__title {
  font-size: 1rem !important; /* トップページ投稿 */
}
html.is-font-large .post_content h3 {
  font-size: 1.4em !important;
}
html.is-font-large .post_content h4 {
  font-size: 1.2em !important;
}
html.is-font-large #f-address {
  font-size: 18px;
}
html.is-font-large .number-text {
  font-size: 19px;
}

.font-size-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
}
.switcher-label {
  font-weight: bold;
  margin-right: 4px;
}
.font-size-btn {
  background-color: #fff;
  border: 1px solid #c1c1c1;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
  box-shadow: none;
}
.font-size-btn:hover {
  background-color: #f4f4f4;
  opacity: 0.9;
}
.font-size-btn.is-active {
  background-color: #ffb03a;
  color: #fff;
  border-color: #ffb03a;
}


} /* PC画面 ここまで */


/* ------------------------------------- */
/* ノートPC向け */
/* 1024px以下、タブレット・スマホにも反映
/* ------------------------------------- */
@media (max-width: 1024px) {


} /* ノートPC向け ここまで*/


/* ------------------------------------- */
/* PCとタブレット */
/* ------------------------------------- */
@media (min-width: 600px) {

/* spのみ改行 */
br.sp_only {
  display: none;
}

/* 投稿日付 */
.p-postList__meta {
  font-size: 14px;
}

.c-balloon__icon {
  width: 180px;
}
.c-balloon .c-balloon__iconImg {
  height: 180px;
  width: 180px;
}


} /* PCとタブレット ここまで */


/* ------------------------------------- */
/* タブレットのみ */
/* ------------------------------------- */
@media (max-width: 959px) and (min-width: 600px) {

  #f-address {
    margin-top: 1em !important;
  }


} /* タブレットのみ ここまで */


/* ------------------------------------- */
/* タブレットとSP */
/* ------------------------------------- */
@media (max-width: 959px) {

  .header-custom-nav {
    display: none !important;
  }

/* 重要なお知らせ */
.page-id-7 .custom-important-notice {
  flex-direction: column;
}
.custom-important-notice .notice-left {
  width: 100%;
  padding: 15px;
  flex-direction: row; /* アイコンと文字は横並びがスッキリ */
  justify-content: center;
}
.custom-important-notice .notice-icon {
  margin-bottom: 0;
  margin-right: 10px;
}
.notice-right {
  padding: 10px 10px !important;
}
.notice-right .p-postList__body {
  flex-direction: column; /* 縦並びに変更 */
  align-items: flex-start !important; /* 左寄せ */
}
.notice-right .p-postList__meta {
  margin: 0 0 4px 0 !important;
}
.notice-right .c-postTimes__posted {
  font-size: 12px;
}
.notice-right .p-postList__title {
  font-size: 14px;
  line-height: 1.5;
  white-space: normal !important; /* 2段になるので折り返しを許可 */
  display: -webkit-box !important;
  -webkit-line-clamp: 2; /* 長すぎる場合は2行で省略（任意） */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice-right .p-postList__link::after {
  display: none;
}

/* 診療案内 メニューリンク */
.link-card {
  max-height: 100px;
}
.link-card__inner {
  flex-direction: column; /* 縦並びに変更 */
  text-align: center;
  padding: 18px 18px;
}
.link-card__icon {
  margin-right: 0;
  margin-bottom: 8px;
}
.link-card__icon img {
  width: 90%;
}
.link-card__text {
  align-items: center;
}
.link-card__text .main-text {
  font-size: .9rem;
}
.link-card__text .sub-text {
  font-size: .8rem;
}

#before_footer_widget {
  margin-bottom: 1em;
}

#footer .wp-block-image img {
  max-width: 240px;
}

.post_content h2 {
  margin-bottom: 1em;
}
.c-custom-h2__icon {
  width: 40px;
  height: 30px;
}
.c-custom-h2__main {
  font-size: .95em;
}

.c-custom-h2-left {
  width: auto !important;
  margin-left: 0 !important;
}

/* ハンバーガーメニュー内 */
.sp-top-parts {
  margin-bottom: 2em;
}
#custom_html-4 [class*=is-style-btn_] a,
#sp_menu [class*=is-style-btn_] a {
  background: #D8E4FA;
  padding: .75em 1.5em;
}
#custom_html-4 .is-style-btn_normal a,
#sp_menu .is-style-btn_normal a {
  color: #333;
}
#custom_html-4 .is-style-btn_normal a,
#sp_menu .is-style-btn_normal a{
  box-shadow: none;
}

#custom_html-4 .contact-item,
#sp_menu .contact-item {
  background: #f3f3f3;
  padding: .5em 2.5em;
  border-radius: 40px;
}
#custom_html-4 .ic-phone,
#sp_menu .ic-phone {
  width: 28px;
  height: 28px;
}
#custom_html-4 .number-text,
#sp_menu .number-text {
  font-size: 1.5rem;
  line-height: 1.4;
}

.side-photo-card__text {
  padding: 12px 10px;
  font-size: 1rem;
  font-weight: 500;
}

#custom_html-3 .wp-block-image {
  padding-top: 1em;
}

.contact-container {
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

/* 親メニュー背景をグレーに */
.p-spMenu__nav .menu-item-229 > a,
.p-spMenu__nav .menu-item-230 > a,
.p-spMenu__nav .menu-item-231 > a,
.p-spMenu__nav .menu-item-232 > a,
.p-spMenu__nav .menu-item-233 > a,
.p-spMenu__nav .menu-item-234 > a {
  background: #f7f7f7;
}


} /* タブレットとSP ここまで*/


/* ------------------------------------- */
/* SPのみ */
/* ------------------------------------- */
@media (max-width: 599px) {

/* タブレットのみ改行 */
br.tab_only {
  display: none;
}

.c-visual-medical-bar {
  padding: 10px 20px;
  margin-left: -22px;
}
.c-visual-medical-bar p {
  letter-spacing: 0;
}
.bg-medical {
  padding: 1.5em;
}
.page-id-7 table {
  font-size: 14px;
}


} /* SPのみ ここまで*/
