@charset "UTF-8";
/*
 * 24-section.css … 診療科・部署紹介
 * css/ のファイルは番号の順に全ページで読み込む（functions.php）。後のファイルが優先されるので、番号（順番）を変えないこと
 */

/* -------------------------------------------------- */
/* 診療科・部署紹介 */
/* -------------------------------------------------- */
/* background: url(../img/back_page.jpg) no-repeat bottom center / cover; */
/* 各部署のアイコン付きボタン */
body.section section.content .buttons,
body.section-child section.content .buttons {
  margin: 6em auto;
}
body.section section.content .buttons ul li,
body.section-child section.content .buttons ul li {
  margin-bottom: 1.5em;
  border-radius: 6px;
}
body.section section.content .buttons ul li a,
body.section-child section.content .buttons ul li a {
  border-radius: 6px;
  padding: 2.8em 0 0.7em;
}
body.section section.content .buttons ul li a::after,
body.section-child section.content .buttons ul li a::after {
  top: 8%;
  font-size: 1.5em;
}
/* 4 x 2 の並びに 7つなので一つ空白を追加して調整 */
body.section section.content .buttons ul::after,
body.section-child section.content .buttons ul::after {
  display: block;
  content: "";
  width: 22.2%;
}
/* 看護部の人名とイラスト */
body.section section.content .person-figure,
body.section-child section.content .person-figure {
  text-align: center;
  margin: 3.5em auto;
}
body.section section.content .person-figure img,
body.section-child section.content .person-figure img {
  width: 122px;
  margin-bottom: 15px;
}
/* 役職名 */
body.section section.content .person-figure figcaption p,
body.section-child section.content .person-figure figcaption p {
  font-size: 14px;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}
/* 人の名前 */
body.section section.content .person-figure figcaption h4,
body.section-child section.content .person-figure figcaption h4 {
  font-size: 20px;
  font-weight: 200;
  color: var(--cl-main);
  margin: 0;
  background-color: transparent;
  padding: 0;
}
/* 複数画像を並べて表示 */
body.section section.content .row.images,
body.section-child section.content .row.images {
  justify-content: center;
  margin: 2em auto;
}
body.section section.content .row.images figure,
body.section-child section.content .row.images figure {
  width: 30%;
  margin: 0 1em;
}
body.section section.content .row.images figure img,
body.section-child section.content .row.images figure img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid var(--cl-bg);
  /* 画像が悪いので少し明るめに */
}
body.section section.content .row.images figure img.filtered,
body.section-child section.content .row.images figure img.filtered {
  filter: brightness(120%);
}
body.section section.content .row.images figure a:hover img,
body.section-child section.content .row.images figure a:hover img {
  border-color: var(--cl-main);
}
body.section section.content .row.images figure figcaption,
body.section-child section.content .row.images figure figcaption {
  color: #666;
  font-size: 16px;
  text-align: center;
  margin: 7px auto 0;
  border-radius: 8px;
  background-color: var(--cl-bg);
  display: inline-block;
  color: var(--cl-main);
  padding: 0.1em 0.6em;
}
body.section section.content .row.images.one figure,
body.section-child section.content .row.images.one figure {
  width: 100%;
  margin: 0;
}
@media screen and (max-width: 800px) {
  body.section section.content .row.images.one figure,
  body.section-child section.content .row.images.one figure {
    width: auto;
    margin: 0 0 2em;
  }
}
@media screen and (max-width: 800px) {
  body.section section.content .row.images figure,
  body.section-child section.content .row.images figure {
    width: auto;
    margin: 0 0 2em;
  }
}

/* 診療科トップのみ上部マージン削除 */
body.section section.content .buttons {
  margin-top: 0;
}

/* ナビゲーション現在地設定 */
body.nurse .buttons ul li.i-nurse,
body.drug .buttons ul li.i-drug,
body.xray .buttons ul li.i-xray,
body.test .buttons ul li.i-test,
body.nutrition .buttons ul li.i-nutrition,
body.medical .buttons ul li.i-medical,
body.rehabilitation .buttons ul li.i-rehabilitation {
  background-color: var(--cl-bg);
}
body.nurse .buttons ul li.i-nurse a,
body.drug .buttons ul li.i-drug a,
body.xray .buttons ul li.i-xray a,
body.test .buttons ul li.i-test a,
body.nutrition .buttons ul li.i-nutrition a,
body.medical .buttons ul li.i-medical a,
body.rehabilitation .buttons ul li.i-rehabilitation a {
  pointer-events: none;
  color: #999;
  border-color: #ccc;
}
body.nurse .buttons ul li.i-nurse a::after,
body.drug .buttons ul li.i-drug a::after,
body.xray .buttons ul li.i-xray a::after,
body.test .buttons ul li.i-test a::after,
body.nutrition .buttons ul li.i-nutrition a::after,
body.medical .buttons ul li.i-medical a::after,
body.rehabilitation .buttons ul li.i-rehabilitation a::after {
  color: #999;
}
