@charset "UTF-8";
/*
 * 23-about.css … 当院について
 * css/ のファイルは番号の順に全ページで読み込む（functions.php）。後のファイルが優先されるので、番号（順番）を変えないこと
 */

/* -------------------------------------------------- */
/* 当院について */
/* -------------------------------------------------- */
body.facility section.content table tr th {
  white-space: nowrap;
}
body.facility section.content table tr td {
  text-align: left;
  padding-left: 1.5em;
  padding-right: 1.5em;
}
body.facility section.content table tr td h4 {
  margin: 0;
}
@media screen and (max-width: 800px) {
  body.facility section.content table tr th {
    display: block;
  }
  body.facility section.content table tr td {
    font-size: 14px;
    display: block;
    padding-left: 1em;
    padding-right: 1em;
  }
  body.facility section.content table tr td h4 {
    font-size: 16px;
  }
  body.facility section.content table tr td ul {
    margin-top: 1em;
  }
}

body.about .key {
  background: url(../img/bg/disease@2x.jpg) no-repeat bottom center/cover;
}
/* background: url(../img/about/facility_03@2x.jpg) no-repeat bottom center / cover; */
/* 各部署のアイコン付きボタン */
body.about section.content .buttons {
  margin: 3em auto;
}
body.about section.content .buttons ul li {
  margin-bottom: 1.5em;
  border-radius: 6px;
}
body.about section.content .buttons ul li a {
  border-radius: 6px;
  padding: 2.8em 0 0.7em;
  color: var(--cl-main);
}
body.about section.content .buttons ul li a::after {
  top: 8%;
  font-size: 1.4em;
}
body.about section.content .buttons.three ul li {
  width: 31%;
}
@media screen and (max-width: 800px) {
  body.about section.content .buttons.three ul li {
    width: 48%;
    margin-bottom: 1em;
  }
}
body.about section.content .row.images {
  margin: 3em auto;
  text-align: center;
}
body.about section.content .row.images img {
  width: 100%;
  margin-bottom: 15px;
}
body.about section.content .row.images 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.greet section.content .person-figure {
  text-align: center;
  margin: 3.5em auto;
}
body.greet section.content .person-figure img {
  width: 170px;
  margin-bottom: 15px;
}
/* 役職名 */
body.greet section.content .person-figure figcaption p {
  font-size: 14px;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}
/* 人の名前 */
body.greet section.content .person-figure figcaption h4 {
  font-size: 20px;
  color: var(--cl-main);
  margin: 0;
  background-color: transparent;
  padding: 0;
}

/* -------------------------------------------------- */
/* 医師紹介 */
/* -------------------------------------------------- */
.doctors {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.doctors figure {
  width: 47%;
  color: #666;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4em;
  align-items: center;
}
.doctors figure img {
  border-radius: 100%;
  width: 154px;
  height: 154px;
  border: 5px solid var(--cl-bg);
}
.doctors figure figcaption {
  width: 62%;
}
.doctors figure figcaption p.position {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.doctors figure figcaption h3 {
  margin: 0.5em 0;
}
.doctors figure figcaption h3:before {
  display: none;
}
.doctors figure figcaption h3 {
  display: flex;
  align-items: center;
}
.doctors figure figcaption h3:after {
  border-top: 6px solid;
  border-color: var(--cl-bg);
  margin-left: 1em;
  flex-grow: 1;
  content: "";
  display: inline; /* for IE */
}
.doctors figure figcaption p.qualification {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
@media screen and (max-width: 800px) {
  .doctors figure {
    width: 100%;
    display: block;
    margin-bottom: 5em;
    text-align: center;
  }
  .doctors figure img {
    width: 50%;
    height: auto;
  }
  .doctors figure figcaption {
    width: 100%;
    margin-top: 1em;
  }
  .doctors figure figcaption h3 {
    display: block;
    font-size: 5vw;
    text-align: center;
  }
  .doctors figure figcaption h3:after {
    display: none;
  }
  .doctors figure figcaption p.qualification,
  .doctors figure figcaption p.position {
    text-align: center;
  }
}

/* -------------------------------------------------- */
/* 診療実績 */
/* -------------------------------------------------- */
body.achievement .key {
  background: url(../img/back_page.jpg) no-repeat bottom center/cover;
}
body.achievement section.content .tab_content {
  display: none;
}
body.achievement section.content .row {
  align-items: stretch;
}
body.achievement section.content .row .ra_03 {
  width: 38%;
}
body.achievement section.content .row .ra_04 {
  width: 59%;
}
@media screen and (max-width: 800px) {
  body.achievement section.content .row .ra_03,
  body.achievement section.content .row .ra_04 {
    width: 100%;
  }
}
body.achievement section.content .wrap-in p.tac img {
  max-width: 100%;
  margin: 0 auto 2em;
}
body.achievement section.content aside {
  width: 190px;
  order: 2;
  margin-top: 70px;
}
body.achievement section.content aside ul {
  background: var(--cl-bg);
  border-radius: 10px;
  padding: 1.2em 0 0.5em;
  border: 3px solid #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 100px;
}
body.achievement section.content aside ul li {
  font-size: 18px;
  margin-bottom: 0.7em;
  font-weight: 600;
  position: relative;
  text-align: center;
  margin-left: 0;
}
body.achievement section.content aside ul li a {
  color: #666;
}
body.achievement section.content aside ul li:before {
  display: none;
}
body.achievement section.content aside ul li.active a {
  color: var(--cl-main);
}
body.achievement section.content aside ul li.active:before {
  content: "\f30b";
  color: var(--cl-main);
  font-size: 1em;
  font-family: "Font Awesome 6 Pro";
  font-weight: 500;
  z-index: 1;
  position: absolute;
  top: 0%;
  left: 12%;
  display: inline-block;
}
body.achievement section.content main {
  order: 1;
  width: calc(100% - 250px);
}
body.achievement section.content main p.desc {
  font-size: 16px;
  margin-bottom: 0;
  text-align: center;
  color: var(--cl-sub);
}
body.achievement section.content main h2 {
  margin-top: 2em;
}
body.achievement section.content main h3.no-ls {
  letter-spacing: 0;
}
body.achievement section.content main dl {
  background: #fff;
  border: 3px solid var(--cl-bg);
}
body.achievement section.content main dl dt {
  font-weight: 200;
  color: #666;
  width: 35%;
}
body.achievement section.content main dl dd {
  font-weight: 600;
  color: var(--cl-sub);
  width: 61%;
}
body.achievement section.content main .wrap-in {
  margin: 0;
}
@media screen and (max-width: 800px) {
  body.achievement section.content .row {
    display: flex;
    flex-wrap: wrap;
  }
  body.achievement section.content aside {
    width: 100%;
    order: 3;
    margin-top: 1em;
    margin-bottom: 4em;
  }
  body.achievement section.content aside ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  body.achievement section.content aside li {
    width: 47%;
  }
  body.achievement section.content aside li.active:before {
    left: 0%;
  }
  body.achievement section.content main {
    width: 100%;
    order: 2;
  }
  body.achievement section.content main dl {
    display: flex;
  }
  body.achievement section.content main dl dt {
    width: 54%;
    font-weight: 200;
    color: #666;
    font-size: 15px;
    margin-bottom: 0.5em;
  }
  body.achievement section.content main dl dd {
    font-size: 15px;
    margin-bottom: 0.5em;
    width: 43%;
  }
}

/* -------------------------------------------------- */
/* アクセスマップ */
/* -------------------------------------------------- */
body.access .key {
  overflow: hidden;
  background-image: none;
}
body.access .key h1 {
  display: none;
}
body.access .key iframe {
  height: 100vh;
  width: 100%;
  margin-top: -170px;
  margin-bottom: -200px;
}
/* 波型の背景画像にdrop-shadowをつける */
body.access .key .wave {
  filter: drop-shadow(0px 0px 3px rgb(194, 194, 194));
}
body.access h2 {
  margin-top: 2em;
}
body.access .wrap-in p.address i {
  color: var(--cl-main);
  width: 1.2em;
  display: inline-block;
  text-align: center;
}
body.access .wrap-in p.tac img {
  max-width: 100%;
  margin: 0 auto;
  width: 60%;
  border-radius: 10px;
}
body.access p.google_map {
  text-align: right;
  margin-top: -4.5vw;
}
body.access p.google_map a {
  display: inline-block;
  background-color: var(--cl-bg);
  padding: 0.5em 1em;
  border-radius: 10px;
  margin: 0 0 1em auto;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
}
body.access p.google_map a:before {
  content: "\f279";
  color: var(--cl-main);
  font-size: 1em;
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
  margin-right: 0.5em;
}
@media screen and (max-width: 800px) {
  body.access p.google_map {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1em;
  }
  body.access p.google_map a {
    box-shadow: none;
  }
}

/* -------------------------------------------------- */
/* ヤマナ会グループ */
/* -------------------------------------------------- */
.groups figure {
  width: 80%;
  color: #666;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4em;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.groups figure a:hover img {
  border-color: #ccc;
}
.groups figure img {
  border-radius: 14px;
  width: 200px;
  height: auto;
  border: 5px solid var(--cl-bg);
}
.groups figure figcaption {
  width: 70%;
}
.groups figure figcaption p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.groups figure figcaption p a:hover {
  color: #000;
}
.groups figure figcaption h3 {
  margin: 0em 0 0.6em;
  letter-spacing: 0;
  font-weight: 600;
}
.groups figure figcaption h3:before {
  display: none;
}
.groups figure figcaption h3 {
  display: flex;
  align-items: center;
}
.groups figure figcaption h3:after {
  border-top: 6px solid;
  border-color: var(--cl-bg);
  margin-left: 1em;
  flex-grow: 1;
  content: "";
  display: inline; /* for IE */
}
.groups figure figcaption p.qualification {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
@media screen and (max-width: 800px) {
  .groups {
    text-align: center;
  }
  .groups figure {
    width: 100%;
    display: block;
    margin-bottom: 5em;
  }
  .groups figure img {
    width: 80%;
    height: auto;
  }
  .groups figure figcaption {
    width: 100%;
    margin-top: 1em;
  }
  .groups figure figcaption h3 {
    display: block;
    font-size: 4.5vw;
    text-align: center;
  }
  .groups figure figcaption h3:after {
    display: none;
  }
  .groups figure figcaption p {
    font-size: 3.5vw;
  }
}
