@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
*/

/* ロゴ画像を下に飛び出させて重ねる */
.l-header__logo {
  position: relative;
  width: 195px;
}
.page-id-9 .l-header__logo {
  width: 225px; /* トップのみ */
}
.c-headLogo {
  position: relative;
  top: -26%;
  left: 0;
  z-index: 9999;
  width: 100%;
  margin: 0 !important;
}
.c-headLogo__img {
  max-height: none !important;
  height: auto !important;
  width: 100%;
}
#fix_header .c-headLogo__img {
  width: 75%;
}

/* ===================================================
   見出し2：2色下線のセクションタイトル
=================================================== */
.page-id-9 .sec-title-wrap {
  text-align: center;
  margin: 40px 0;
}
.page-id-9 .sec-title {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
  margin: 0 !important;
  background-color: transparent !important;
  background-image: linear-gradient(to right, #FBC45F 20px, #4BB585 20px);
  background-position: bottom center;
  background-size: 65% 1.5px;
  background-repeat: no-repeat;
  padding: .75em 1px;
}
.page-id-9 .post_content h2.sec-title::before,
.page-id-9 .post_content h2.sec-title::after {
  content: none !important;
  display: none !important;
}
.page-id-9 .sec-title .m-green {
  color: #4BB585;
}
.page-id-9 .sec-title .m-gray {
  color: #444444;
}
.page-id-9 .post_content h2 {
  border-top: none;
  border-bottom: none;
}

/* ===================================================
   メインビジュアル直下：新着情報バー
=================================================== */
.mv-news-bar {
  background-color: #044C4B;
  width: 100%;
  padding: 20px 0;
}
.mv-news-bar__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.mv-news-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mv-news-bar__icon-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #F1B728;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 1em;
}
.mv-news-bar__label {
  background-color: #FCAF2B;
  color: #fff;
  padding: 4px 14px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.mv-news-bar__right {
  flex-grow: 1;
  min-width: 0;
}
/* SWELL標準のリストの余白や線を強制リセット */
.mv-news-bar__right .p-postList {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.mv-news-bar__right .p-postList__item {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.mv-news-bar__right .p-postList__link {
  display: flex !important;
  align-items: center;
  padding: 0 25px 0 0 !important; /* 右側に矢印用の余白を確保 */
  background: none !important;
  color: #fff !important;
  text-decoration: none !important;
  position: relative; /* 矢印の基準点にする */
}
.mv-news-bar__right .p-postList__text {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* 長文時に自動で「…」にする */
}
.mv-news-bar__right .p-postList__title {
  font-size: 14px !important;
  font-weight: normal !important;
  color: #fff !important;
  text-decoration: underline !important; /* 常時下線を表示 */
  text-underline-offset: 4px;
}
.mv-news-bar__right .p-postList__link::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg); /* 45度傾けて「＞」にする */
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: right 0.2s ease;
}
.mv-news-bar__right .p-postList__link:hover {
  opacity: 0.85;
}
.mv-news-bar__right .p-postList__link:hover::after {
  right: 0px; /* ホバー時に矢印がピコッと右に動く演出 */
}
.mv-news-bar__right .p-postList.-type-simple {
  border-top: none;
}
.mv-news-bar__right .-type-simple .p-postList__link {
  border-bottom: none;
}

.top-message {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 2px;
}

#gaiyou .is-style-btn_normal a {
  font-weight: 500;
}
#gaiyou [class*=is-style-btn_] a {
  padding: .25em 1.5em;
}

.ushio-link img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 1em;
}

#hinoki .swl-inline-icon {
  font-size: 1.15em;
}

.bg-01 {
  background: #FFE8BF;
  padding: 1.5em 2em;
  border-radius: 18px;
}
.ttl-01 {
  background: #FCAF2B;
  padding: .25em 2em;
  border-radius: 18px;
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: .1em;
  text-align: center;
}
.txt-01 {
  border-bottom: 2px dotted #FCAF2B;
  text-align: center;
  padding-bottom: .5em;
}
.bg-02 {
  padding: 1em;
  display: flex;
  justify-content: center;
}
.ttl-02 {
  background: #FCAF2B;
  padding: .25em 1em;
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: .1em;
  text-align: center;
}
.ttl-03 {
  background-color: #fff;
  border-radius: 12px;
  padding: .25em 1.5em;
  border: 1px solid #FCAF2B;
  color: #FCAF2B;
}

.bg-soudan {
  background: #044C4B;
}

.link-soudan {
  background: #fff;
  padding: .5em 2em;
  border-radius: 8px;  
}

.soudan-btn-1,
.soudan-btn-2 {
  display: flex;
  align-items: center;
  letter-spacing: 0.1em;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  padding: .25em;
  transition: all 0.3s ease; /* ホバー時のアニメーション準備 */
}
.soudan-btn-2:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.soudan-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0; /* 画像が潰れるのを防ぐ */
}
.ic-tel {
  background-image: url('images/ic-tel.png');
}
.ic-mail {
  background-image: url('images/ic-mail.png');
}
.soudan-tel,
.soudan-mail,
.soudan-fax {
  font-size: 1em;
  font-family: "Helvetica Neue", Arial, sans-serif; /* 数字をすっきり見せる指定 */
}
.soudan-tel a,
.soudan-mail a,
.soudan-fax {
  color: #044C4B;
  display: inline-block;
  vertical-align: middle;
}
.soudan-time {
  color: #fff;
  line-height: 1.2;
  letter-spacing: .5px;

}
.soudan-msg-1 {
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: .1em;
  border-bottom: 1px solid;
  text-align: center;
  padding-bottom: .5em;
}
.soudan-msg-2 {
  color: #fff;
}

.bg-news {
  background: #fff;
  border-radius: 8px;
  padding: 2em;
}

.f-name {
  font-size: 1.5em;
  font-weight: 600;
  margin: 0 1em 0 .5em;
}

/* 中央に配置 */
.jc-center {
  display: flex;
  justify-content: center;
}

#custom_html-5 .swell-block-linkList.is-style-default.-flex {
  --the-gap: .5em 3em;
}

.page-id-21 .swl-inline-icon:after {
  background: #ff0000;
}

/* 関連施設 */
.page-id-9 .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;
}

/* テーブル キャプション */
.wp-block-table figcaption {
  text-align: left;
}

.w-beforeFooter {
  margin-top: 0;
}

/* ------------------------------------- */
/* 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 {
  background-color: #FCAF2B;
  color: #fff;
  padding: .5em 3em;
  text-decoration: none;
  line-height: 1.4;
  letter-spacing: .1em;
  transition: all 0.3s ease; /* ホバー時のアニメーション準備 */
}
.header-custom-nav .header-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.header-custom-nav .header-zip {
  font-size: 14px;
}
.header-custom-nav .zip {
  margin-right: 4px;  
}
.header-custom-nav .icon-mail {
  margin-right: 4px;
  font-size: 15px;
}

/* グローバルメニューに間をつくる */
.-series-right .c-gnavWrap {
  margin-top: 2.5em;
}

/* ===================================================
   グローバルナビ（点線）＆ ヘッダー内部ウィジェットの調整
=================================================== */
#gnav,
.l-fixHeader__gnav {
  margin-left: auto;
}
.w-header.pc_ {
  margin-left: 20px;
  display: flex;
  align-items: center;
}
.header-hospital-link img {
  height: 28px;
  width: auto;
  display: block;
  margin-top: 48px;
  flex-shrink: 0; /* 画像が潰れるのを防ぐ */
}
#gnav .c-gnav>li,
.l-fixHeader .c-gnav>li {
  position: relative;
}
#gnav .c-gnav>li::before,
.l-fixHeader .c-gnav>li::before {
  content: "";
  position: absolute;
  left: 0;
  height: 60%;
  top: 20%;
  border-left: 1px dotted #FCAF2B;
}
#gnav .c-gnav>li:last-child::after,
.l-fixHeader .c-gnav>li:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  height: 60%;
  top: 20%;
  border-right: 1px dotted #FCAF2B;
}
.header-hospital-link,
.ushio-link {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.header-hospital-link:hover,
.ushio-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.bg-01 {
  height: 392px;
}

#custom_html-5 .pc-py-20 {
  padding-bottom: 1em !important;
  padding-top: 1em !important;
}

/* ===================================================
   無限ループスライダー
=================================================== */
.swell-block-columns.loop-slider {
  overflow: hidden;
  width: 100%;
}
/* 動かす中身（強制的に横一列に並べてアニメーション） */
.swell-block-columns.loop-slider > .swell-block-columns__inner {
  display: flex !important;
  /*flex-wrap: nowrap !important; /* スマホ等で折り返されるのを防ぐ */
  width: max-content;
  animation: loop-animation 30s linear infinite;/* 30秒で1周 */
}
/* 各カラムが潰れないように固定 */
.swell-block-columns.loop-slider .swell-block-column {
  flex-shrink: 0;
  width: 240px !important;
}
/* マウスホバー時に動きを一時停止する */
.swell-block-columns.loop-slider:hover > .swell-block-columns__inner {
  animation-play-state: paused;
}
/* ループアニメーションの定義 */
@keyframes loop-animation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* 半分まで進んだら最初に戻る */
  }
}

/* ------------------------------------- */
/* ノートPC以下 */
/* ------------------------------------- */
@media (max-width: 1024px) {
  br.pc_only {
    display: none;
  }

  .top-message {
    font-size: 1em;
  }
  .soudan-msg-1 {
    font-size: 1em;
  }
  .soudan-msg-2 {
    font-size: .9em;
  }
  #soudan .pad-tab {
    padding: 1rem 1rem;
  }

}

/* 1025px以上 */
@media (min-width: 1025px) {

  
}



} /* PC画面 ここまで */


/* ------------------------------------- */
/* ノートPC向け */
/* 1024px以下、タブレット・スマホにも反映
/* ------------------------------------- */
@media (max-width: 1024px) {


} /* ノートPC向け ここまで*/


/* ------------------------------------- */
/* PCとタブレット */
/* ------------------------------------- */
@media (min-width: 600px) {

/* spのみ改行 */
br.sp_only {
  display: none;
}


} /* PCとタブレット ここまで */


/* ------------------------------------- */
/* タブレットのみ */
/* ------------------------------------- */
@media (max-width: 959px) and (min-width: 600px) {

.bg-01 {
  padding: 2em 1em;
  height: 408px;
}

.c-headLogo__img {
  width: 75%;
}


} /* タブレットのみ ここまで */


/* ------------------------------------- */
/* タブレットとSP */
/* ------------------------------------- */
@media (max-width: 959px) {

.header-custom-nav {
  display: none !important;
}

.-img .c-headLogo__link {
  padding-top: 0;
}

.header-tel {
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
  justify-content: center;
  background: #055F5E0D;
  padding: 8px;
}
.tel-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background-image: url('images/ic-phone.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.tel-num {
  font-size: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif; /* 数字をすっきり見せる指定 */
}
.header-btn {
  background-color: #FCAF2B;
  color: #fff !important;
  padding: 8px;
  text-decoration: none;
  letter-spacing: .1em;
  display: flex;
  justify-content: center;
  font-size: 1.2em;
}
.icon-mail {
  font-size: 1.2em;
  padding-right: 4px;
  line-height: 1.7;
}


} /* タブレットとSP ここまで*/


/* ------------------------------------- */
/* SPのみ */
/* ------------------------------------- */
@media (max-width: 599px) {

/* タブレットのみ改行 */
br.tab_only {
  display: none;
}

.c-headLogo__img {
  width: 55%;
}

.mv-news-bar__inner {
  display: block;
  padding: 0 20px;
}

.soudan-msg-1 {
  font-size: 1em;
}
.soudan-msg-2 {
  font-size: .9em;
}

.bg-news {
  padding: 2em 1em;

}


} /* SPのみ ここまで*/
