@charset "utf-8";

/****************************************************************************
　共通設定
--------------------------------------------------------
   Last up date   : 2025.08.22
****************************************************************************/
body {
  background-color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  color:#333;
  overflow-x: hidden;
}

/* # =================================================================
   # 共通カラー
   # ================================================================= */
:root {
  --base1: #005fa8;
  --base2: #29ABE2;
  --base3: #999;
  --base4: #0071bc26;
  --pink1: #F19CA6;
  --rosered: #db535e;
  --black: #000;
  --lightgray:  #e6e6e6;
  --offwhite:  #f6f6f6;
  --white:  #ffffff;
  --lightblue: #0071bc26;
}

/* # =================================================================
   # 見出しフォントサイズ
   # ================================================================= */
:root {
  --fs-h1: clamp(1.5rem, 1.3rem + 1vw, 2rem);    /* 24px → 32px */
  --fs-h2: clamp(1.375rem, 1.2rem + 0.7vw, 1.625rem); /* 22px → 26px */
  --fs-h3: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);   /* 18px → 22px */
  --fs-h4: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);     /* 16px → 20px */
  --fs-h5: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);    /* 16px → 18px */
  --fs-h6: 1rem;                                      /* 16px固定 */
}
/* # =================================================================
   # 文章フォントサイズ　▶︎10/17 追加 ★★★★★★
   # ================================================================= */
:root {
  --fs-lead: clamp(1rem, 0.875rem + 2vw, 1.375rem); /* 16px → 22px */
  --fs-body: clamp(0.875rem, 0.75rem + 0.8vw, 1.125rem);  /* 14px → 18px */
  --fs-note: clamp(0.875rem, 0.85rem + 0.3vw, 1rem);  /* 14px → 16px */
  --fs-ruby: clamp(0.6875rem, 0.675rem + 0.25vw, 0.8125rem);  /* 11px → 13px */
}

/* # =================================================================
   # 調整用
   # ================================================================= */

.mt0{ margin-top:0px !important; }
.mt5{ margin-top:5px !important; }
.mt10{ margin-top:10px !important; }
.mt15{ margin-top:15px !important; }
.mt20{ margin-top:20px !important; }
.mt30{ margin-top:30px !important; }
.mt40{ margin-top:40px !important; }
.mt50{ margin-top:50px !important; }
.mt60{ margin-top:60px !important; }
.mt70{ margin-top:70px !important; }
.mt80{ margin-top:80px !important; }

.mb0{ margin-bottom:0px !important; }
.mb5{ margin-bottom:5px !important; }
.mb10{ margin-bottom:10px !important; }
.mb20{ margin-bottom:20px !important; }
.mb30{ margin-bottom:30px !important; }
.mb40{ margin-bottom:40px !important; }
.mb50{ margin-bottom:50px !important; }
.mb60{ margin-bottom:60px !important; }
.mb70{ margin-bottom:70px !important; }
.mb80{ margin-bottom:80px !important; }


.pt0{ padding-top:0px !important; }
.pt5{ padding-top:5px !important; }
.pt10{ padding-top:10px !important; }
.pt15{ padding-top:15px !important; }
.pt20{ padding-top:20px !important; }
.pt30{ padding-top:30px !important; }
.pt40{ padding-top:40px !important; }
.pt50{ padding-top:50px !important; }
.pt60{ padding-top:60px !important; }
.pt70{ padding-top:70px !important; }
.pt80{ padding-top:80px !important; }

.pb0{ padding-bottom:0px !important; }
.pb5{ padding-bottom:5px !important; }
.pb10{ padding-bottom:10px !important; }
.pb20{ padding-bottom:20px !important; }
.pb30{ padding-bottom:30px !important; }
.pb40{ padding-bottom:40px !important; }
.pb50{ padding-bottom:50px !important; }
.pb60{ padding-bottom:60px !important; }
.pb70{ padding-bottom:70px !important; }
.pb80{ padding-bottom:80px !important; }

/*  # =================================================================
    # コンテンツ内　▶︎10/17 調整項目あり　★★★★★★
    # ================================================================= */

#contents{
	width: calc(100% - 50px);
	position: static;
	margin-right: auto;
	margin-left: auto;
  position: relative;
  z-index: 2;
}


@media screen and (min-width: 768px) {
	#contents {
		width: calc(100% - 100px);
		max-width: 1440px;
	}
	
}

@media screen and (min-width: 1280px) {
	#contents {
		max-width: 1200px;
	}
}

#main {
    background-color: #FFF;
    padding: 80px 0;
}

@media screen and (max-width: 768px) {
	#main {
		padding: 60px 0 80px;
	}
	
}


/* h1ノーマル */
#contents .head01 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.6;
  padding: 0.5rem 1rem; 
  border-bottom: solid 1px var(--base1);
  margin-bottom: 20px;
  margin-top: 0px;
}

/* h1（装飾あり） */
#contents .head01_deco {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.6;
  padding: 0.5rem 1rem; 
  border-bottom: solid 1px var(--base1);
  margin-bottom: 20px;
}


/* h2ノーマル */
#contents .row.w10_7 h2 span {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* h2ノーマル */
#contents .head02 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 80px;
  margin-bottom: 35px;
  background-color: var(--lightblue);
  padding: 0.6rem 1.5rem; 
  border-radius: 6px;
  }


/* h2（装飾あり） */
#contents .head02_deco {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
  background-color: var(--lightblue);
  padding: 0.6rem 1rem; 
  border-radius: 6px;
  }

/* H3 */
#contents .head03,
#contents .row.w10_7 h3 span {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.6;
  padding: 0 0 4px 20px;
  position: relative;
  margin: 60px auto 20px;
}

#contents .head03::before,
#contents .row.w10_7 h3 span::before {
    content: "";
    height: 100%;
    width: 8px;
    background: var(--base2);
    border-radius: 3px;
    left: 0;
    top: 0;
    position: absolute;
}

/* H4 */
#contents .head04{
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.6;
  margin: 40px 0 15px;
  color: var(--base1);
  
}

/* H5 */
#contents .head05 {
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.5;
  margin: 40px 0 15px;
}

/* H6 */
#contents .head06 {
  font-size: var(--fs-h6);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

/* # =================================================================
# 共通本文スタイル（本文統一）　▶︎10/17 調整項目あり　★★★★★★
================================================================= */
#contents .main_txt,
#contents p,
#contents p span {
  font-size: var(--fs-body);       /* 本文フォントサイズ */
  line-height: 1.8;                /* 行間 */
  font-weight: 500;
  font-style: normal;
  color: #333;
  margin: 0;
  text-align: justify;
}
#contents .main_txt + section {
	margin-top: 1em;
}
#contents .main_txt + .main_txt {
	margin-top: 1em;
}

/*リード文 */
#contents p.lead,
#contents p.lead span {
  font-size: var(--fs-lead);       /* リード文サイズ */
  line-height: 1.8;                /* 行間 */
  font-weight: 500;
}

/* ol / ul 内の p や span */
#contents ol li p,
#contents ol li p span,
#contents ul li p,
#contents ul li p span {
  font-size: var(--fs-body);       /* リスト内本文サイズ */
  line-height: 1.8;
  font-weight: 500;
  font-style: normal;
  margin: 0;
}

/* li 内 span（MT出力でspanが入っても統一） */
#contents ol li span,
#contents ul li span {
  font-size: var(--fs-body);
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
  font-style: normal;
}

/* mt-be-columns 内の本文 */
#contents .mt-be-column p,
#contents .mt-be-column p span,
#contents .mt-be-column span,
#contents .row.w10_7 span {
  font-size: var(--fs-body);       /* mt-be-columns本文統一 */
  line-height: 1.8;
  font-weight: 500;
  font-style: normal;
  margin: 0;
  text-align: justify;
}

/* mt-be-columns 内の h2・h3（タイトル崩れ防止） */
#contents .mt-be-column h2:first-child,
#contents .mt-be-column h3:first-child,
#contents .mt-be-column h4:first-child {
  margin-top: 0;
}

/* 注釈 */
#contents p.note span {
  font-size: var(--fs-note);
  line-height: 1.6;
}


#contents a{
    color: var(--base1);
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: all 0.5s 0s ease;
}
#contents a:hover{
    text-decoration: none;
    opacity: 0.5;
}

#contents hr{
	color: #c5c5c5;
	margin: 80px 0;
}
@media (max-width: 768px) {
	#contents hr{
		margin: 50px 0;
	}
}

#contents .asset-image{
	margin: 30px auto;
}
#contents .mt-be-column .asset-image{
	margin: 0 auto;
}
#contents video{
	min-width: 50%;
    margin: 30px auto;
    display: block;
}


/* # =================================================================
# 文字装飾
# ================================================================= */
/* 強調（太文字） */
#contents span.em {
  font-style: normal;   /* イタリックが入る場合に無効化 */
  font-weight: bold;    /* 太字にする */
  color: inherit;       /* 親要素の色を継承 */
}

/* strong が入っていても太字に */
#contents strong {
  font-weight: 700;
}

/* 注意喚起 ▶︎10/2　調整*/
.alert{
  background-color: #fdeeed;
  padding: 1rem 1.5rem;
  border-radius: 6px;
}
#contents p.alert span {
  color: #ed1c24;
  font-size: var(--fs-body);
  font-weight: 700;
    line-height: 1.8;
}

/* 電話番号ブロック */
.tel_num{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(520px, 100%); 
  margin-bottom: 2em;
}
/* アイコン */
.tel_icon{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.tel_icon img{
  width: clamp(30px, 3.8vw, 46px);
  height: auto;
}
/* 電話番号本体 */
.tel_link{
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.5rem + 2vw, 3.125rem); /* 28px → 50px */
  line-height: 1.2;
  color: var(--base1);
  text-decoration: none;
  white-space: nowrap;
}

/* # =================================================================
# 番号付きリスト
# ================================================================= */

ol.num_list,
ol {
  list-style: none;               /* デフォルトの番号を消す */
  counter-reset: num;             /* カウンター初期化 */
  padding-left: 0;                /* 左余白をリセット（好みで調整） */
  font-size: var(--fs-body);
  margin: 1em 0;
}

/* 各リスト項目をFlexにして番号と本文を横並び */
ol.num_list li,
ol li {
  counter-increment: num;      /* 番号を1つ進める */
  display: flex;               /* 横並び */
  align-items: center;         /* 縦方向中央揃え */
  gap: 0.5em;                  /* 番号と本文の間隔 */
  margin-bottom: 0.5em;
  align-items: baseline;
}

/* 番号をFlexの最初の要素として表示 */
ol.num_list li::before,
ol li::before {
  content: counter(num) ".";       /* 番号 */
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: var(--fs-body);
  flex-shrink: 0;                  /* 番号を縮小させない */
  width: 1em;                      /* 番号用の固定幅（調整可） */
  text-align: right;               /* 番号を右寄せにして本文と揃える */
}

/* クラスなし ol を num_list と同じ見た目にする */
#contents ol:not(.num_list) {
  counter-reset: num;
  margin: 1em 0;
  padding-left: 0;
  list-style: none;
  font-size: var(--fs-body);
  line-height: 1.8;
}

/* li を Flex にして番号と本文を横並び */
#contents ol:not(.num_list) li {
  counter-increment: num;
  display: block;
  margin-bottom: 1em;
  position: relative;
  padding: 0 0 0 1.8em;

}

/* 番号（::before 擬似要素を使って表示） */
#contents ol:not(.num_list) li::before {
  content: counter(num) ".";
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: var(--fs-body);
  flex-shrink: 0;
  width: 1em;
  text-align: right;
  position: absolute;
  left: 0;
  top: 0;
}

/* li 内の span に本文スタイルを適用 */
#contents ol:not(.num_list) li span {
  font-size: var(--fs-body);
  line-height: 1.8;
  margin: 0;
}

/* -------------- スマホ対応 --------------------- */
@media (max-width: 768px) {
  /* クラスあり：やや上寄せ */
  ol.num_list li {
    align-items: flex-start;
  }
  ol.num_list li::before {
    position: relative;
    top: 0.4em; /* クラスあり用 */
  }

  /* クラスなし：少し下げる */
  #contents ol:not(.num_list) li {
    align-items: flex-start;
  }
  
  
}

/* # =================================================================
# リスト
# ================================================================= */


#contents ul.txtlist,
#contents ul.arrowList,
#contents .newsbox.detail .newslist ul{
  list-style: none;
  margin: 1em 0;                 /* 上下の余白 */
  font-size: var(--fs-body);     /* 本文フォントサイズ */
  list-style: none !important;
  padding: 0 !important;
}
#contents .newsbox .newslist ul{
    padding-left: 0;
}


#contents ul.txtlist li,
#contents ul.arrowList li,
#contents .newsbox.detail .newslist ul li{
  margin-bottom: 0.5em !important;
  padding-left: 1.5em;
  position: relative;
  line-height: 1.8;
}
#contents .newsbox.detail .newslist ul li{
  border: none;
}


#contents ul.txtlist li::before,
#contents ul.arrowList li::before,
#contents .newsbox.detail .newslist ul li::before{
    content: "";
    height: 16px;
    width: 16px;
    border: 5px solid var(--base2);
    border-radius: 20px;
    left: 0;
    top: 9px;
    position: absolute;
}

#contents ul.txtlist li p,
#contents ul.txtlist li span.
#contents ul.arrowList li p,
#contents ul.arrowList li span {
  margin: 0;                     /* 余白リセット */
  display: inline;               /* テキストをフロー通りに表示 */
}

/* クラスなし ul を txtlist と同じ見た目にする */
#contents ul:not(.txtlist),
.sidebox ul:not(.txtlist) {
  list-style: disc;
  padding-left: 1.2em;
  font-size: var(--fs-body);
  line-height: 1.8;
}

#contents ul:not(.txtlist) li,
.sidebox ul:not(.txtlist) li {
  margin-bottom: 0em;
}


/* li 内の span に本文スタイルを適用 */
#contents ul:not(.txtlist) li span,
.sidebox ul:not(.txtlist) li span {
  font-size: var(--fs-body);
  line-height: 1.8;
  margin: 0;
  display: inline;
}


/* -------------- スマホ対応 --------------------- */
@media (max-width: 768px) {
	#contents ul.txtlist li::before,
	#contents ul.arrowList li::before,
	#contents .newsbox.detail .newslist ul li::before{
	    height: 14px;
	    width: 14px;
	    border: 4px solid var(--base2);
	    top: 7px;
	}
}



#contents ul.list_col4{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: var(--lightgray);
    padding: 20px;
    margin: 20px 0;
    list-style: none !important;
}
#contents ul.list_col4 li{
	width: calc((100%/4) - 6px);
    background: var(--white);
    margin: 0 3px 5px;
    padding: 10px 15px;
}

@media (max-width: 1024px) {
	#contents ul.list_col4 li{
		width: calc((100%/3) - 6px);
	}
}
@media (max-width: 768px) {
	#contents ul.list_col4 li{
		width: 100%;
		margin: 0 0 5px;
	}
}




/* # =================================================================
# 開閉リスト 
# ================================================================= */
/* --- アコーディオン全体 -----------*/
.accordion__menu {
  width: 100%;                /* 横幅いっぱい */
  max-width: 1200px;          /* 最大幅を1200pxに制限 */
  margin: 0 auto;          /* 上下60px、左右中央寄せ */
  border-radius: 6px;         /* 角を丸める */
  overflow: hidden;           /* はみ出した部分を隠す */
}

/* ---- ボタン部分 ------------------*/
.accordion__button {
  font-size: var(--fs-body);
  padding: 1.2em;
  position: relative;
  cursor: pointer;
  padding-left: 2em;
  padding-right: 20%;
  border: 6px solid var(--lightblue);
  border-radius: 6px;
  line-height: 1.8;
}

/* ---- アコーディオン アイコン共通設定 --------------*/
.accordion__button::before,
.accordion__button::after {
  content: "";                     /* 疑似要素を表示 */
  width: 30px;                     /* 横幅 */
  height: 30px;                    /* 高さ */
  position: absolute;              /* ボタン内で絶対配置 */
  top: 50%;                        /* 縦中央 */
  margin-top: -15px;               /* 高さ分ずらして中央揃え */
  right: clamp(0.938rem, -2.951rem + 8.1vw, 3.125rem); /* 右端のレスポンシブ位置 */
  background-repeat: no-repeat;    /* 背景画像を繰り返さない */
  transition: opacity .5s ease;    /* フェード切替 */
}

/* ----  プラスアイコン（閉じているとき） ---------------------------*/
.accordion__button::before {
  background-image: url(../img/accordion-plus.svg);
  opacity: 1;      /* 初期表示 */
  z-index: 1;      /* 後ろに配置 → フェードで自然切替 */
}

/* ------ マイナスアイコン（開いているとき） --------------------------*/
.accordion__button::after {
  background-image: url(../img/accordion-minus.svg);
  opacity: 0;      /* 初期非表示 */
  z-index: 2;      /* 前面に配置 → フェードで自然切替 */
}

/* ------- アイコン開閉時フェード切替 -------------------------------*/
.accordion__menu.is-open .accordion__button::before {
  opacity: 0;      /* プラスをフェードアウト */
  z-index: 1;      /* 後ろに下げる */
}

.accordion__menu.is-open .accordion__button::after {
  opacity: 1;      /* マイナスをフェードイン */
  z-index: 2;      /* 前に出す */
}

/* -------  中身（非表示時） ---------------------*/
.accordion__body {
  max-height: 0;                     /* 高さ0で非表示 */
  opacity: 0;                        /* 透明 */
  overflow: hidden;                  /* はみ出し非表示 */
  background-color: var(--offwhite); /* 背景色 */
  padding: 0.8em 2em;                /* パディングを常に確保 → テキストと背景一体化 */
}

/* --- 中身（表示時） ---------------------------*/
.accordion__menu.is-open .accordion__body {
  max-height: 1000px;                /* 高さ十分に確保 */
  opacity: 1;                         /* 不透明 */
  padding: 1em 2em;
  margin-bottom:  1.5em;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  transition: all .5s ease-out;
}
.accordion__text{
  font-size: var(--fs-body);
  text-align: justify;
  padding: 1.3em;
  transition: all .5s ease-out;
  white-space: pre-line;
}

/* ---- 開閉時ボタン角丸調整 ------------------------*/
.accordion__menu.is-open .accordion__button {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: all .5s ease-out;
}

/* ----  視覚効果の環境設定に配慮 ------------------------*/
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
/* -------------- スマホ対応 --------------------- */
@media (max-width: 768px) {
.accordion__text{
  padding:0em;
}
}
/* # =================================================================
  # リンクボタン  　▶︎10/17 調整項目あり　★★★★★★
  # ================================================================= */

.btn.btn-internal {
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--white);
  padding:0.5em 1.5em;
  background-color: var(--base1);
  display: inline-block;  /* ボタンらしい見た目にするため */
  text-decoration: none; /* ← アンダーラインを消す */
}

.btn.btn-internal:hover{
  opacity: 0.8;
}

.btn-internal,
.btn-external{
  font-size: var(--fs-body);
  color: var(--base1); 
  text-decoration: underline;
  text-underline-offset: 6px;
  padding: 1em 0;
  
}
.btn-internal:hover,
.btn-external:hover {
  text-decoration: none;
  opacity: 0.8;
}

.btn-external img{
	width: 20px;
}





/* # =================================================================
# PDFリンク・WORDリンク・EXCELリンク・ZIPリンク 　▶︎10/17 調整項目あり　★★★★★★
# ================================================================= */

.file_up {
  display: flex;
  align-items: center;
  gap: 0.5em;
padding: 1em 0;
}

.icon-pdf, .icon-word, .icon-excel, .icon-zip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--base1); 
  text-decoration: underline;
  text-underline-offset: 6px;
}

.icon-pdf:hover ,
.icon-word:hover ,
.icon-excel:hover ,
.icon-zip:hover {
  text-decoration: none;
  opacity: 0.5;
}

.icon-pdf__badge,
.icon-word__badge,
.icon-excel__badge,
.icon-zip__badge {
  background-color: var(--base1);
  padding: 0.2em 0.5em;
  font-family: "Inter", sans-serif;
  font-weight:500;
  font-size: var(--fs-ruby);
  color: var(--white);
  border-radius: 4px;
  letter-spacing: -0.02em;
  text-decoration-skip-ink: auto;
  text-underline-offset: 6px;
}

.icon-pdf__icon img,
.icon-word__icon img,
.icon-excel__icon img,
.icon-zip__icon img {
  width: 1.3em;
  height: auto;
  display: block;
}

.btn_area{
  margin: 30px 0;
}
.btn_area + .btn_area{
  margin: -15px 0 30px;
}

#contents a.btn {
  display: inline-block;
  position: relative;
  padding: 15px 50px 18px 40px;
  line-height: 18px;
  text-decoration: none;
  height: inherit;
  color: var(--white) !important;
  text-decoration: none !important;
  text-align: center;
  font-size: var(--fs-body);
  transition: all 0.2s ease;
  background-color: var(--base1);
  border-radius: 30px;
}
@media (max-width: 1024px) {
  #contents a.btn {
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  #contents a.btn {
    display: block;
    padding: 15px 30px 18px 30px;
  }
}


#contents a.btn.btn-internal::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 18px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}


#contents a.btn.btn-external{
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--fs-body);
    color: var(--black) !important;
    background: var(--white);
    border: 2px solid var(--base1);
    text-decoration: underline;
    text-underline-offset: 6px;
    padding: 0.5em 2em 0.5em 3em;
    background: url(/img/icon-link.svg) no-repeat center left 18px;
    background-size: 21px;
}

#contents a.btn.btn-external:hover {
  text-decoration: none;
  opacity: 0.5;
}

#contents a.btn.btn-external__icon img{
  width: 1.3em;
  height: auto;
  display: block;
}

/* ========================================
左テキスト・右画像（7:3）
======================================== */
.column {
  width:100%;
  margin: 0 auto;
  display: flex;
  gap:2em;
  margin-bottom: 60px;
}
.mt-be-columns.column {
    font-size: medium;
    margin-bottom: 0;
}

.row.w10_7,
.mt-be-column.row.w10_7 {
  width: 65%;
}
.mt-be-column.row.w10_7 {
  padding: 0;
}

.row.w10_7 h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.6em;
}

.row.w10_7 p {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.8em;
  text-align: justify;
}

.row.w10_3,
.mt-be-column.row.w10_3 {
  width: 35%;
}
.mt-be-column.row.w10_3 {
  padding: 0;
}

.row.w10_3 img {
  width: 100%;
  height: auto;
  display: block;
}



/* -------- スマホ対応 ---------- */
@media (max-width: 768px) {
  .column {
    display: flex;
    flex-direction: column; /* 縦並び */
    gap: 20px;              /* テキストと画像の間隔 */
  }

  .row.w10_7,
  .row.w10_3,
  .mt-be-column.row.w10_7,
  .mt-be-column.row.w10_3 {
    width: 100%;     /* 両方とも全幅に */
  }

  .row.w10_3 {
    margin-top: 1.5em; /* テキストと画像の間に余白を追加 */
  }
  .mt-be-column.row.w10_3 {
    margin-top: 0;
  }
}
/* ========================================
左テキスト・右画像（5：5）
======================================== */
.mt-be-columns {
  width: 100%;
  max-width: 1585px;
  margin: 0 auto;
  display: flex;
  gap: 1em;
  margin-bottom: 60px;
  justify-content: space-between; /* 両端に配置して間を均等に */
}

.mt-be-column {
  width: 50%;
}

.mt-be-column p {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.8em;
  text-align: justify;
}

/* ========================================
  mt-be-columns 内の figcaption のみ
======================================== */
.mt-be-columns .mt-be-column figcaption {
  font-size: var(--fs-note);
  padding-top: 0.5em;
  font-weight: normal;
  text-align: left;
}

.mt-be-column img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------- スマホ対応 ---------- */
@media (max-width: 768px) {
  .mt-be-columns {
    flex-direction: column; /* 縦並びにする */
  }

  .mt-be-column {
    width: 100%;
    margin-top: 0;
  }

  .mt-be-columns .mt-be-column:first-child p {
    font-size: var(--fs-body);
    font-weight: 500;
    line-height: 1.8em;
    padding-top: 0em;

  }
}

/* ========================================
  左テキスト・右画像カルーセル（5：5）　
======================================== */
.mt-be-columns {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.mt-be-column h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.6em;
  margin-bottom: 0.8em;
}

/* Swiperコンテナ */
.swiper-container {
  position: relative;  /* ボタンの基準 */
  width: 100%;
  margin: 0 auto;
  overflow: hidden;    /* スライド外は隠す */
}

/* Swiperスライド */
.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  /* width: 100% !important; 1枚ずつ表示 */
  text-align: center;
}

/* 画像 */
.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;           /* 縦横比維持 */
}

/* 矢印ボタン */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;                /* 親コンテナの縦中央 */
  transform: translateY(-50%);  /* 自身の高さの半分だけ上にずらす */
  width: 36px;
  height: 36px;
  z-index: 10;
  cursor: pointer;
  margin-top: 0 !important;   /* デフォルトを完全に無効化 */
}

/* デフォルト矢印非表示 */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* カスタム矢印画像 */
.prev-right {
  left: -40px; /* 左外側 */
  background: url('../img/icon-arrow-left.svg') no-repeat center/contain;
}
.next-right {
  right: -40px; /* 右外側 */
  background: url('../img/icon-arrow-right.svg') no-repeat center/contain;
}

/* ページネーション（下中央） */
.pagination-right {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  text-align: center;
}

.pagination-right .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}
.pagination-right .swiper-pagination-bullet-active {
  background: #db535e;
}

/* -------- スマホ対応 ---------- */
@media (max-width: 768px) {
  .mt-be-columns {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .prev-right {
    left: 5px;
  }
  .next-right {
    right: 5px;
  }
  .pagination-right {
    bottom: -20px;
  }

}



/* ========================================
  強調:枠囲み 罫線あり・塗りは無し　
======================================== */

.border {
  width: 100%;
  max-width: 1585px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 2em;
  margin: 30px auto;
  border: 1px solid #c5c5c5;
}

.border-headline {
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--base1);
}

.border-body {
  font-size: var(--fs-body);
  line-height: 1.8em;
}
.border-headline + .border-body{
  margin-top: 1em;
}

.mt-be-column .border{
    width: 100%;
    max-width: 1585px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5em 2em;
    box-shadow: none;
    margin: 30px auto;
    border: 1px solid #c5c5c5;
}
.mt-be-column .border-body {
    margin-top: 0;
}

.border > .head04:first-of-type{
    margin-top: 0 !important;
}


/* -------- スマホ対応 ---------- */
@media (max-width: 768px) {
  .border {
    padding: 2em;
  }
}

/* ========================================
  強調:枠囲み 罫線無し・塗りあり
======================================== */
.border_fill {
  width: 100%;
  max-width: 1585px;
  background-color: var(--offwhite);
  border-radius: 10px;
  padding: 2em 3em;
  box-shadow: none;
  margin: 30px auto;
  border: 1px solid #c5c5c5;
}

.border_fill-headline {
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--base1);
}

.border_fill-body {
  font-size: var(--fs-body);
  line-height: 1.8em;
  margin-top: 0;
  gap: 1em;
}

.border_fill-headline + .border_fill-body {
  margin-top: 1em;
}

.border_fill-body .mt-be-column {	
	display:inline-block;
	width: 50%;
}

.border_fill-body > .head04:first-of-type{
    margin-top: 0 !important;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .border_fill {
    padding: 2em;
  }
}

/* ========================================
レイアウト内実寸表示（センター配置）
======================================== */
/* --  画像中央配置用 img_rounded ------------------------- */
.img_rounded {
  display: block;       /* ブロック要素にする */
  margin: 30px auto 0 !important; /* 横中央に配置 */
  width: auto;
  max-width: 100%;
  text-align: center !important;   /* キャプション中央揃え */
}

.img_rounded img {
    display: inline-block !important; /* blockを上書きして中央寄せ */
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.img_rounded figcaption {
  font-size: var(--fs-note) !important;
  padding-top: 0.5em !important;
  font-weight: normal !important;
  margin: 0 auto !important;          /* 画像下で中央に配置 */
  text-align: center !important;       /* 左揃え */
  margin: 0 !important;              /* 左端に配置 */
}

@media (max-width: 768px) {
  /* ===== .img_rounded：中央寄せからフル幅へ ===== */
  .img_rounded {
    width: 100% !important;        /* スマホでは全幅表示 */
    max-width: 100% !important;    /* 最大幅制限を解除 */
    margin: 0 0 25px 0 !important; /* 下に少し余白 */
    text-align: center !important; /* 中央揃え（caption用） */
  }

  .img_rounded img {
    width: auto !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;     /* 画像を中央寄せ */
  }

  .img_rounded figcaption {
    text-align: center !important; /* スマホでは中央揃えの方が自然 */
    font-size: var(--fs-note);
    padding-top: 0.4em;
  }

}

/* ========================================
  画像左右マージン無し配置 img_nopad
======================================== */
.img_nopad {
    text-align: left !important;       /* 画像左寄せ */
    margin: 0 !important;              /* 上下マージンも無し */
}

.img_nopad img {
    display: block !important;         /* レイアウト内幅いっぱい表示 */
    width: 100% !important;
    height: auto !important;
}

.img_nopad figcaption {
    display: block !important;
    width: fit-content !important;     /* 画像幅に合わせる */
    max-width: 100% !important;
    text-align: left !important;       /* 左揃え */
    font-size: var(--fs-note) !important;
    padding-top: 0.5em !important;
    font-weight: normal !important;
    margin: 0 !important;              /* 画像下で左にぴったり配置 */
}

/* -------- スマホ対応 ---------- */
@media (max-width: 768px) {
  .img_nopad {
    margin: 0 0 25px 0 !important; /* 下に少し余白 */
  }

  .img_nopad img {
    width: 100% !important;        /* そのまま全幅 */
    height: auto !important;
    display: block !important;
  }

  .img_nopad figcaption {
    font-size: var(--fs-note);
    padding-top: 0.4em;
    line-height: 1.6;
  }
}


/* =================================================
ページ内リンク
==================================================== */
/* ------ anchorBoxデザイン ---------- */

/* anchorBoxエリア */
#contents .anchorBox {
  text-align: left;
}

/* デフォルト：6列固定 */
#contents .anchorBox ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  list-style: none;
  margin: 0 0 2em;
  padding: 0;
  justify-content: start; /* 左寄せ */
}

#contents .anchorBox li {
  width: calc(calc(100% - 2.3rem) / 3);
  box-sizing: border-box;
  display: flex;
}

#contents .anchorBox li a {
  font-size: var(--fs-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  background-color: var(--base1);
  color: var(--white);
  padding: 0.3em 1.2em;
  border-radius: 5px;
  text-decoration: none;
  width: 100%;
  transition: background-color 0.3s ease;
  font-weight: 700;
  box-sizing: border-box;
}

#contents .anchorBox li a:hover {
  background-color: #005a94;
  opacity: 1;
}

#contents .anchorBox li a::after {
  content: "▼";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--rosered);
  font-size: 0.7rem;
  aspect-ratio: 1;
}

/* --- スマホ対応 --- */
/* --- 1200px以下：3列にする --- */
@media (max-width: 1200px) {
  #contents .anchorBox ul li {
    width: calc(calc(100% - 2rem) / 2);
  }
}

/* --- 768px以下：2列にする --- */
@media (max-width: 768px) {
  #contents .anchorBox ul li {
    width: calc(calc(100% - 2rem) / 2);
  }
}

/* --- 480px以下（スマホ）：1列にする --- */
@media (max-width: 480px) {
  #contents .anchorBox ul li {
    width: 100%;
  }
}





/* -------------------------------------------------
（個別リスト）デザイン
-------------------------------------------------- */

/* コンテナ枠（全体の余白設定） */
.anchor01-block {
  /* 上部余白を画面幅に応じて可変にする */
  padding-top: clamp(60px, 10vw, 120px);
}

/* 施設名の帯（クリニック名の背景帯部分） */
.partner-name {
  margin: 0 auto;                     /* 中央寄せ */
  background: var(--lightblue);       /* 帯の背景色（変数） */
  padding: 1em;                       /* 内側余白 */
  font-weight: 700;                   /* 太字 */
  font-size: var(--fs-lead);          /* 見出しサイズ */
}

/* 各情報行（診療科・住所などの1行ごと） */
.l3-partner__row {
  font-size: var(--fs-lead);          /* 行内の基本文字サイズ */
  display: flex;                      /* 横並びレイアウト */
  gap: 1rem;                          /* dtとddの間の余白 */
  padding: 1em;                       /* 行全体の内側余白 */
  border-bottom: 1px solid var(--base3); /* 下線（区切り） */
  align-items: center;                /* 垂直中央揃え */
}

/* 最初の行だけ上にも線を追加 */
.l3-partner__row:first-child {
  border-top: 1px solid var(--base3);
}

/* 項目タイトル(dt)・内容(dd)の初期化 */
.l3-partner__row dt,
.l3-partner__row dd {
  margin: 0;
}

/* 項目タイトル（dt）の幅設定 */
.l3-partner__row dt {
  flex: 0 0 8.5rem;                   /* 固定幅（8.5rem） */
  font-weight: 700;                   /* 太字 */
}

/* 内容部分（dd）のスタイル */
#contents .l3-partner .l3-partner__row dd { 
  flex: 1;                            /* 残り幅を自動で埋める */
  font-size: var(--fs-body);          /* 本文サイズ */
  padding-top: 0.2em;                 /* 上側の微調整余白 */
}

/* 項目タイトル（dt）のフォント設定 */
#contents .l3-partner .l3-partner__row dt {
  font-size: var(--fs-body);          /* 大きめ文字サイズ */
  font-weight: 700;                   /* 太字（再指定） */
}

/* ---スマホ対応---- */
@media (max-width: 768px) {
  .l3-partner__row {
    flex-direction: column;           /* 横並び → 縦並びに変更 */
    align-items: flex-start;          /* 左揃えに変更 */
    gap: 0.3em;                       /* 項目タイトルと内容の間隔を狭く */
    padding: 0.8em 1em;               /* コンパクトな余白に調整 */
  }

  .l3-partner__row dt {
    flex: none;                       /* 固定幅を解除（自然な幅に） */
  }

  .l3-partner__row dd {
    width: 100%;                      /* 内容を横幅いっぱいに */
  }
  .partner-name {
  padding: 0.8em;                       /* 内側余白 */
}
}

/* =================================================
フローチャート 　flow.html ▶︎10/17　調整
==================================================== */
.flow_item {
  position: relative;
  width: 100%;
  margin: 0 auto 120px;
  border: 1px solid #c5c5c5;
  border-radius: 10px;
  padding: 30px;
  box-sizing: border-box;
}
/* h2 */
.flow_item .h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
  background-color: var(--lightblue);
  padding: 0.6rem 1rem; 
  border-radius: 6px;
  }

.flow_item:after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -85px;
	content: "";
	width: 46px;
	height: 48px;
	margin: auto;
	background: url(../img/flow_arrow.png) center bottom no-repeat;
	background-size: 46px 48px;
}

.flow_item + .flow_item:last-of-type {
	margin-bottom: 50px;
	padding-bottom: 30px;
}

.flow_item + .flow_item:last-of-type:after{
	display: none;
}

.flow_item:last-of-type:after{
	display: none;
}

.flow_item .mt-be-column {
	width: 100%;
}
.flow_item .mt-be-column .mt-be-columns{
	margin: 0;
}
.flow_item .mt-be-column .mt-be-columns .border {
    margin: 0px auto;
}


@media (max-width: 768px) {
	.flow_item {
	  margin: 0 auto 120px;
	}
}

/* =================================================
外来担当医表 ▶︎10/17　調整
 ----- ソース・クラス名は完全オリジナル -----
==================================================== */


/* # =================================================================
   # 外来担当医表 　
   # ================================================================= */
/* 共通ボーダースタイル */
:root {
  --type1: 1px solid var(--base3);
  --type2: 2px solid var(--base3);
}

/* 外枠（角丸＋罫線） */
.l3-table-frame {
	width: 100%;
	border: var(--type2);
	border-radius: 8px;
	overflow: hidden; 
	position: relative;
}

/* テーブル本体 */
.l3-table-frame table {
	font-size: var(--fs-body);
	color: var(--black);
	background-color: var(--white);
	width: 100%;
	min-width: 900px;
	margin: 0;
    border-top: none;
    border-bottom: none;
}

/* セル共通 */
.l3-table-frame table th,
.l3-table-frame table td {
	padding: 1em;
	vertical-align: middle;
	line-height: 1.6;
	text-align: center;
	border-right: var(--type1);
	border-bottom: var(--type1);
}
.l3-table-frame table th {
  background-color: var(--offwhite);
}

/* セルの幅調整 */
.l3-table-frame table th.rTop { width: auto; }
.l3-table-frame table td { width: calc( 85% / 6 ) }

/* 線の重なり調整 */
.l3-table-frame table th:nth-child(7),
.l3-table-frame table td:nth-child(7) {
	border-right: none;
}
.l3-table-frame table tr.lastBlock th,
.l3-table-frame table tr.lastBlock td {
	border-bottom: none;
}

.l3-table-frame table tr:nth-child(2) td {
    padding-top: 1em;
}

/* ヘッダー行（曜日） */
.l3-schedule thead th {
  font-weight: 700;
  font-size: var(--fs-lead);
}

/* 左端（診区分 一診・二診など） */
.l3-schedule tbody th {
  font-weight: 700;
}
/* # =================================================================
   # スクロールヒント 
   # ================================================================= */
@media screen and (max-width: 768px) {
.l3-table-frame {
    overflow-x: scroll;
/*	-ms-overflow-style: none;
	scrollbar-width: none;*/
}
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.scroll-indicator {
	display: none;
}
@media screen and (max-width:768px) {
/* スクロールヒントのスタイル */
.hide-scrollbar {
  -ms-overflow-style: auto;
  scrollbar-width: auto;
}
.hide-scrollbar::-webkit-scrollbar {
  display: block;
}
.scroll-indicator {
	display: block;
    opacity: 0.9;

    /* absoluteを使用し、スクロールヒントを中央配置 */
    position: absolute;
    left: 50%;
    top: 50%;

    /* クリックを無効化
    スクロールヒントがクリックの邪魔になる可能性があるため */
    pointer-events: none; 

    /* transitionを指定し、ゆっくりと非表示にする */
    transition: opacity 0.3s ,visibility 0.3s;
}

/* スクロールされた後もスクロールヒントが残っていると邪魔なため、
ある程度スクロールされたら非表示にする */
.scroll-indicator.is-scroll {
    visibility: hidden;
    opacity: 0;
}


.scroll-indicator-inr {
    font-size: 12px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px 10px;
    border-radius: 5px;
    display: flex;
    font-weight: bold;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeBlink 3s infinite ease-in-out;
}

.scroll-indicator-inr img {
    width: 50px;
}

/* スクロールヒントの点滅アニメーション */
@keyframes fadeBlink {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}
}

/* =================================================
お知らせ一覧 　news.html 
==================================================== */
/* 全体レイアウト（上書き） */
.newsbox {
  display: flex;
  flex-wrap: nowrap;
  gap: 3em;
  width: 100%;
  margin: 0 auto 60px;
  padding: 0;
  box-sizing: border-box;
}
@media screen and (min-width: 1021px) {
  .newsbox.detail {
    width: 90%;
  }
}
.newsbox.detail .newslist {
  width: 100%;
}

.newsbox .newslist li {
    border: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
    box-sizing: border-box;
    line-height: 20px;
}
#contents .newsbox .newslist ul > li {
  margin-bottom: 0;
}

/* 左：newslist */
.newslist {
  order: 1;
  width: 75%;
  box-sizing: border-box;
}

.newslist h3.head03 + ul > li:first-child {
  margin-top: 1.5em; /* 数値は調整してください */
}


.newslist time {
  font-family: Inter, sans-serif;
  font-size: var(--fs-h6);
  font-weight: 500;
  color: #333;
  background-color: var(--lightgray);
  padding: 0.3em 0.8em;
  display: inline-block;
  border-radius: 3px;
}
.newslist .text {
  font-size: var(--fs-body);
  font-weight: 500;
  padding: 1em;
  display: inline-block;
}
#contents .news-date.date ~ div > p:first-of-type img {
  margin: 0 auto 30px;
}

/* 右：sidebox */
.sidebox {
  order: 2;
  width: 25%;
  box-sizing: border-box;
  border-left: 1px solid var(--lightgray);
  padding-left: 2em;
  padding-top: 4.5em;
}
.sidebox ul li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.sidebox .cate {
  font-size: var(--fs-h6);
  color: var(--base1);
  background-color: var(--lightblue);
  padding: 10px 20px;
  text-align: center;
  font-family: Inter, sans-serif;
}

.sidebox .arc,
.sidebox .widget-list-item {
  color: var(--base3);
  text-align: left;
  border-bottom: solid 1px var(--lightgray);
  transition: all 1s ease-in-out;
  font-family: Inter, sans-serif;
}
.sidebox .arc a,
.sidebox .widget-list-item a {
  padding: 10px 20px;
  display: block;
  text-decoration: none !important;
}
#contents .sidebox .arc,
#contents .sidebox .cate,
.sidebox .widget-list-item ul > li {
  margin-bottom: 0;
}

/* ホバー時：liに背景や角丸を適用 */
.sidebox .arc:hover,
.sidebox .widget-list-item:hover {
  background-color: var(--base4);
  border-radius: 3px;
}

/* 中のaの文字色を変える（hover時の親に反応） */
.sidebox .arc:hover a,
.sidebox .widget-list-item:hover  a {
  color: var(--white);
}

.newslist .pagination {
  display: flex;
  justify-content: center;  /* 中央揃え */
  align-items: center;
  gap: 0.8em;                /* 数字の間に余白 */
  margin-top: 2em;           /* 上にスペース */
  flex-wrap: wrap;           /* 長くなったとき折り返し */
  font-family: Inter, sans-serif;
}

/* ホバー効果 */
.newsbox .newslist a {
    display: block;
    padding-top: 25px ;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none !important;
}
.newsbox .newslist a:hover{
    background-color: #f7f7f7;
    transition: all 500ms 0s ease;
}

/* ▼ 共通スタイルとして必要な設定 ▼ */
.newslist ul li a {
  display: block;
  position: relative;
  padding: 1em;
  transition: background-color 1s ease;
  overflow: hidden;
}

/* ▼ 疑似要素：初期は透明 ▼ */
.newslist ul li a::before,
.newslist ul li a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 1s ease;
  z-index: 0;
}

/* ::before ＝ 背景色（hover時に変化） */
.newslist ul li a::before {
  background: rgba(0, 0, 0, 0);
}

/* ::after ＝ 白いオーバーレイ（hover時に表示） */
.newslist ul li a::after {
  background: rgba(255, 255, 255, 0);
}

/* hover時：背景色と白オーバーレイ */
.newslist ul li a:hover::before {
  background: var(--base4);
}
.newslist ul li a:hover::after {
  background: rgba(255, 255, 255, 0.1);
}


/* --------- ページネーション --------- */
/* 数字やリンクの共通スタイル */
.newslist .pagination .current_page,
.newslist .pagination .link_page {
  font-size: 16px;
  padding: 10px 12px;
  text-decoration: none;
  border: 1px solid var(--lightgray);
  border-radius: 4px;
  color: var(--base3);
}

/* 現在のページ（強調表示） */
.newslist .pagination .current_page {
  background-color: var(--lightgray);
  font-weight: bold;
}

/* 次へのリンク */
.newslist .pagination .link_next a {
  margin-left: 1em;
  text-decoration: none;
  color: var(--base3);
  font-size: 14px;
}

/* ホバー効果 */
.newslist .pagination .link_page:hover {
  background-color: var(--lightblue);
  color: var(--base1);
  transition: all 0.3s ease;
}



/* スマホ対応 */
@media screen and (max-width: 768px) {
  .newsbox {
    flex-wrap: wrap; /* 折り返しを許可 */
    width: 96%;
    gap: 0;
  }

  .newslist,
  .sidebox {
    width: 100%;       /* 両方100%幅に */
    padding-left: 0;   /* 余白リセット */
    border-left: none; /* サイドボーダーを消す */
  }

  #contents .newslist ul,
  #contents .sidebox ul{
      padding: 0;
  }
  #contents .newsbox ul li a {
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
  }
  #contents .newsbox ul li a span {
    display: block;
    padding: 10px 0 0;
  }

  .sidebox {
    order: 2;          /* .sideboxは下に */
    padding-top: 4em;  /* 上余白を小さく */
    border-left: none;
  }

  .newslist {
    order: 1;          /* .newslistは上に */
  }
  .newslist .pagination {
    gap: 0.1em;
  }
  .newsbox .newslist .pagination a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #contents .newslist h3.head03 {
    margin-top: 0;
  }

}

/* =================================================
お知らせ詳細 　news.html　2025/11/07 
==================================================== */
.newsbox.detail .news-date {
    margin-left: 0px;
    margin-bottom: 30px;
}
#contents .newsbox.detail .head02 {
	margin-bottom: 15px;
    background-color: transparent;
    padding: 0.6rem 1.5rem 0.6rem 0;
}
#contents .newsbox.detail .btn01 {
	text-align: right;
}

/* =================================================
一覧（共通ページあり：regional.html）
==================================================== */

/* ul初期化 */
#contents ul.indexList02,
#contents ul.indexList02 li {
  list-style: none; /* デフォルトの「・」を非表示 */
  margin: 0;
  padding: 0;
}

/* -------------------------------------------
   グリッド全体（PC：横幅いっぱい4列）
   ------------------------------------------- */
.indexList02 {
  display: flex;
  gap: 1.2em;            /* 各項目間の余白 */
  justify-content: stretch; /* 横幅を均等に広げる */
  margin: 2em 0 3em;     /* 上下余白 */
  padding: 0 2%;         /* 画面端に少し余白を残す */
  width: 100%;           /* 横幅いっぱい */
  box-sizing: border-box; /* パディング込みで幅計算 */
  background-color: transparent; /* 背景なし（親背景を活かす） */
  flex-wrap: wrap;
}

/* -------------------------------------------
   各リンクボタン
   ------------------------------------------- */
.indexList02 li a {
  width: 100%;
  display: flex;                    /* テキストとアイコンを横並び */
  align-items: center;              /* 垂直方向中央寄せ */
  justify-content: space-between;   /* 左右端に配置 */
  padding: 1em 1.2em;               /* 内側余白 */
  border: 1px solid var(--lightgray);
  border-radius: 6px;
  background-color: var(--white);
  text-decoration: none;
  color: var(--base-text, #333);
  font-size: var(--fs-note);
  box-sizing: border-box;
  transition: all 0.3s ease;
  line-height: 1.6;
  min-height: 50px; /* 押しやすい高さ */
  text-decoration: none !important;
  gap: 10px;
}

/* ホバー時（控えめで安心感） */
.indexList02 li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  opacity: 1 !important;
}

/* 疑似アイコン（右端の赤丸＋▶） */
.indexList02 li a::after {
  content: "▶";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--rosered);
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* li設定 */
.indexList02 li {
  width: calc(calc(100% - 4.3rem) / 4);
  margin: 0;
  padding: 0;
  display: flex;
}

/* ------- スマホ対応（768px以下）------ */
@media (max-width: 768px) {
  .indexList02 {
    grid-template-columns: repeat(2, 1fr); /* 2列レイアウト */
    gap: 0.8em;          /* 項目間をやや詰める */
    margin: 1.5em 0 2em; /* 上下余白を控えめに */
    padding: 0 1em;      /* 左右余白も調整 */
    display: block;
  }
  #contents ul.indexList02 li  {
    margin-bottom: 10px;
    width: 100%;
  }
  .indexList02 li a {
    padding: 0.7em 1em;  /* 余白を少し増やす（指タップ対応） */
    font-size: calc(var(--fs-note) * 1.05);
    line-height: 1.7;
  }

  .indexList02 li a::after {
    width: clamp(20px, 5vw, 24px);
    height: clamp(20px, 5vw, 24px);
    font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  }
}
/* -------------------------------------------
   各リンクボタン(ブロックエディタ）
   ------------------------------------------- */
.indexList02 a.btn-external {
  display: flex;                    /* テキストとアイコンを横並び */
  align-items: center;              /* 垂直方向中央寄せ */
  justify-content: space-between;   /* 左右端に配置 */
  padding: 1em 1.2em;               /* 内側余白 */
  border: 1px solid var(--lightgray);
  border-radius: 6px;
  background-color: var(--white);
  text-decoration: none;
  color: var(--base-text, #333);
  font-size: var(--fs-note);
  box-sizing: border-box;
  transition: all 0.3s ease;
  line-height: 1.6;
  min-height: 50px; /* 押しやすい高さ */
}

/* ホバー時（控えめで安心感） */
.indexList02 a.btn-external:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* ------- スマホ対応（768px以下）------ */
@media (max-width: 768px) {
  .indexList02 {
    grid-template-columns: repeat(2, 1fr); /* 2列レイアウト */
    gap: 0.8em;          /* 項目間をやや詰める */
    margin: 1.5em 0 2em; /* 上下余白を控えめに */
    padding: 0 1em;      /* 左右余白も調整 */
  }

  .indexList02 a.btn-external {
    padding: 0.7em 1em;  /* 余白を少し増やす（指タップ対応） */
    font-size: calc(var(--fs-note) * 1.05);
    line-height: 1.7;
  }

  .indexList02 a.btn-external::after {
    width: clamp(20px, 5vw, 24px);
    height: clamp(20px, 5vw, 24px);
    font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  }
}


/* ========================================
  ▶︎10/17 追加　担当医師の情報（画像あり）
======================================== */
.asset-2col-doctor-1 {
  margin: 0 auto; 
  display: flex;
  gap: 3em; 
  padding-bottom: 2em;
  margin-bottom: 60px;
}
.asset-2col-doctor-1-img  {
  width: 30%;
}
.asset-2col-doctor-1-img img  {
  width: 100%;
  display: block;
}
.asset-2col-doctor-1-text {
  width: 75%;
 }
.asset-2col-doctor-1__name{
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--base1);
  padding-bottom: 0.5em;
  line-height: 1.8em;
  border-bottom: solid 1px var(--lightgray);
}
.asset-2col-doctor-1__dept,
.asset-2col-doctor-1__university {
  font-size: var(--fs-body);
  font-weight: 500;
  padding: 0.5em;
    line-height: 1.8em;
  border-bottom: solid 1px var(--lightgray);
}
.asset-2col-doctor-1__titles{
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.8em;
  padding: 0.5em;
}
#contents .asset-2col-doctor-1__titles h5.head05{
    margin: 0.5em 0;
    color: var(--base3);
}


/* スマホ対応 */
@media (max-width: 768px) {
.asset-2col-doctor-1 {
  flex-direction: column; /* 縦並びにする */
  gap:2em; 
}
.asset-2col-doctor-1-img  {
  width: 100%;
  margin-top: 1em;
}
.asset-2col-doctor-1-text {
  width: 100%;
  padding: 0.2em;
}
.asset-2col-doctor-1__name{
  padding-bottom: 0.5em;
}
.asset-2col-doctor-1__dept,
.asset-2col-doctor-1__university {
  padding: 0.5em 0;
}
.asset-2col-doctor-1__titles{
  padding: 0.5em 0;
}
}

/* ========================================
  ▶︎10/17 追加　担当医師の情報（画像なし）
======================================== */
.asset-2col-doctor-2 {
  margin: 0 auto; 
  display: flex;
  gap: 3em; 
  padding-bottom: 2em;
  margin-bottom: 60px;
}
.asset-2col-doctor-2-namespace{
  width: 40%;
  margin-top: 1em;
  background-color: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--base1);
  position: relative; 
  padding: 10px;
  box-sizing: border-box;
  height: 14em;
}
.asset-2col-doctor-2-namespace::before{
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid #fff;    
  pointer-events: none;
}
.asset-2col-doctor-2-text {
  width: 65%;
 }
.asset-2col-doctor-2__name{
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--base1);
  line-height: 1.8em;
  border-bottom: solid 1px var(--lightgray);
}
.asset-2col-doctor-2__dept,
.asset-2col-doctor-2__university {
  font-size: var(--fs-body);
  font-weight: 500;
  padding: 1em;
  line-height: 1.8em;
  border-bottom: solid 1px var(--lightgray);
  }
.asset-2col-doctor-2__titles{
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.8em;
  padding: 1em;
}

/* スマホ対応 */
@media (max-width: 768px) {
.asset-2col-doctor-2 {
  flex-direction: column; /* 縦並びにする */
  gap: 1em; 
}
.asset-2col-doctor-2-namespace {
  width: 100%;
  height: 10em;
}
.asset-2col-doctor-2-text {
  width: 100%;
  padding: 0.2em;

 }
 .asset-2col-doctor-2__dept,
.asset-2col-doctor-2__university {
  padding: 1em 0;
  }

.asset-2col-doctor-2__titles{
  padding: 1em 0;
}
}



/* ========================================
  ▶非常勤担当医師の情報
======================================== */

.partTime ul li{
}



/* ========================================
▶︎10/17 追加　テーブル　2カラム 3x7
======================================== */
.table-3x7 table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--base3);
  border-bottom: 1px solid var(--base3);
  font-size: var(--fs-body);
}

.table-3x7 td {
  border-top: 1px solid var(--base3);
  border-bottom: 1px solid var(--base3);
  border-left: none;
  border-right: none;
  padding: 1.8em;
  padding-left: 5em;
  vertical-align: middle;
}

.table-3x7 .label {
  font-size: var(--fs-lead);
  background-color: var(--lightgray);
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}


/* スマホ対応 */
@media (max-width: 768px) {
  .table-3x7 table,
  .table-3x7 tbody,
  .table-3x7 tr,
  .table-3x7 td {
    display: block;
    width: 100%;
  }

  .table-3x7 table {
    border: none;
  }

  /* ラベルセル */
  .table-3x7 .label {
    background-color: var(--lightgray);
    font-weight: bold;
    padding: 0.8em 1em;
    text-align: left;
    white-space: normal;
    border-top: none; /* デフォルトでは線なし */
    border-bottom: none;
  }

  /* 最初のラベルだけ上線を表示 */
  .table-3x7 tr:first-child .label {
    border-top: 1px solid var(--base3);
  }

  /* 値セル */
  .table-3x7 td:not(.label) {
    background-color: var(--white);
    font-size: var(--fs-body);
    padding: 0.8em 1em 1.2em;
    border-bottom: 1px solid var(--base3);
  }

  /* 最後の項目にも下線をつける（明示） */
  .table-3x7 tr:last-child td:not(.label) {
    border-bottom: 1px solid var(--base3);
  }
}




/* ========================================
  ▶︎10/17 追加　テーブル
======================================== */
/* デフォルト：PCでは通常表示 */
.scrollable {
  position: relative; /* ヒント用 */
  overflow-x: visible; /* デフォルトはスクロールなし */
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--base3);
  border-bottom: 1px solid var(--base3);
  font-size: var(--fs-body);
  margin: 20px 0;
}

table td {
  border-top: 1px solid var(--base3);
  border-bottom: 1px solid var(--base3);
  border-left: none;
  border-right: none;
  padding: 1.2em;
  vertical-align: top;
  text-align: left;
line-height: 1.8em;
}

table th {
  background-color: var(--lightgray);
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border-top: none;
  padding: 10px;
  line-height: 1.4;
  border-bottom: 1px solid var(--base3);
}

/* === 左列すべての右側に縦罫線 === */

table th:not(:last-child),
table td:not(:last-child) {
  border-right: 1px solid var(--base3);
}

/* 1行目と2行目の間を少し広げる（任意） */
table tr:nth-child(2) td {
  padding-top: 1.5em;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .scrollable {
    overflow-x: auto;  /* 横スクロール有効 */
    -webkit-overflow-scrolling: touch; /* スムーズスクロール */
  }

  .scrollable table {
    min-width: 900px; /* 必要に応じてテーブル幅を固定 */
  }


}



/* ========================================
  ▶︎10/17 追加　テーブル　2カラム 5x5
======================================== */
/* デフォルト：PCでは通常表示 */
.table-5x5 {
  position: relative; /* ヒント用 */
  overflow-x: visible; /* デフォルトはスクロールなし */
}

.table-5x5 table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--base3);
  border-bottom: 1px solid var(--base3);
  font-size: var(--fs-body);
}

.table-5x5 td {
  border-top: 1px solid var(--base3);
  border-bottom: 1px solid var(--base3);
  border-left: none;
  border-right: none;
  padding: 1.2em;
  vertical-align: top;
  text-align: left;
line-height: 1.8em;
}

/* === 1行目（見出し風） === */
.table-5x5 tr:first-child td {
  font-size: var(--fs-lead);
  background-color: var(--lightgray);
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border-top: none;
}

/* === 左列すべての右側に縦罫線 === */
.table-5x5 td:first-child {
  border-right: 1px solid var(--base3);
}

/* 1行目と2行目の間を少し広げる（任意） */
.table-5x5 tr:nth-child(2) td {
  padding-top: 1.5em;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .table-5x5 {
    overflow-x: auto;  /* 横スクロール有効 */
    -webkit-overflow-scrolling: touch; /* スムーズスクロール */
  }

  .table-5x5 table {
    min-width: 900px; /* 必要に応じてテーブル幅を固定 */
  }


}


/* スマホ対応 */
@media screen and (max-width: 768px) {
	.table-layout-2col table,
	.table-layout-2col table tbody,
	.table-layout-2col table tr,
	.table-layout-2col table th,
	.table-layout-2col table td{
		display: block;
		width: 100%;
		height: auto !important;
	}
	.table-layout-2col table th:not(:last-child),
	.table-layout-2col table td:not(:last-child) {
	    border-right: none;
	}
	.table-layout-2col table th {
	    border-bottom: none;
	}
	.table-layout-2col table{
		border-right: 1px solid var(--base3);
	    border-left: 1px solid var(--base3);
	}

}

/* ========================================
  関連リンク
======================================== */

#contents .migratory_line{
	padding: 60px 0;
    position: relative;
}
#contents .migratory_line hr{
	position: absolute;
    width: 200vw;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -100vw;
}
#contents .migratory_line + .head03{
    margin-top: 0;
}
#contents .migratory_line .wrap{
	width: calc(100% - 50px);
	position: static;
	margin-right: auto;
	margin-left: auto;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
	#contents .migratory_line .wrap {
		width: calc(100% - 100px);
		max-width: 1440px;
	}
	
}
@media screen and (min-width: 1280px) {
	#contents .migratory_line .wrap {
		max-width: 1200px;
	}
}


/* ========================================
  ページ内リンク
======================================== */

#id0, #id1, #id2, #id3,
#id4, #id5, #id6, #id7,
#id8, #id9, #id10, #id11,
#id12, #id13, #id14, #id15,
#fcont{
	scroll-margin-top: 80px;
}
