@charset "UTF-8";
/* ======================================================
施設紹介（about/facilities）
ブレイクポイント: 1001px
====================================================== */


/* ======================================================
pc
====================================================== */
@media (min-width: 1001px) {

  #comedical .lead2 {
    margin-bottom: 40px;
  }

  /* カード
  ---------------------------------------------------------------------- */
  .facCard {
    border: 1px solid #595656;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 40px;
  }
  .facCard:last-child {
    margin-bottom: 0;
  }
  .facCard__ttl {
    background-color: #ffe2e4;
    border-bottom: 1px solid #595656;
    color: var(--primary-color);
    font-size: 2.4rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.4;
    padding: 0.6em 1em;
  }
  .facCard__body {
    display: flex;
    gap: 20px;
    padding: 40px;
  }
  .facCard__photo {
    width: 34.85839%;
    flex-shrink: 0;
  }
  .facCard__photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .facCard__text {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    width: calc(100% - (32% - 20px));
    text-box-trim: both;
    text-box-edge: cap alphabetic;
  }
  .facCard__lead {
    color: var(--secondary-color);
    font-size: 2rem;
    line-height: 1.4;
    letter-spacing: normal;
    margin-bottom: 10px;
    letter-spacing: -0.006em;
  }
  .facCard__text p:not(.facCard__lead) {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
  }
  /* ボタン（トップページ「地域医療連携室」と同じ .cbtn の動き。長さは固定）
  ---------------------------------------------------------------------- */
  .facCard__text .cbtn {
    margin-top: auto;
    width: 360px;
    min-width: 0;
    max-width: 100%;
    height: 44px;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

}
/* ======================================================
/pc
====================================================== */


/* ======================================================
sp
====================================================== */
@media (max-width: 1000px) {

  #comedical .lead2 {
    margin-bottom: 6vw;
  }

  /* カード
  ---------------------------------------------------------------------- */
  .facCard {
    border: 1px solid #595656;
    border-radius: 3vw;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 8vw;
  }
  .facCard:last-child {
    margin-bottom: 0;
  }
  .facCard__ttl {
    background-color: #ffe2e4;
    border-bottom: 1px solid #595656;
    color: var(--primary-color);
    font-size: 4.8vw;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    padding: 2.66667vw 0;
  }
  .facCard__body {
    display: block;
    padding: 4vw;
  }
  .facCard__photo {
    width: 100%;
    margin-bottom: 4vw;
  }
  .facCard__photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .facCard__text {
    width: 100%;
  }
  .facCard__lead {
    color: var(--secondary-color);
    font-size: 4.26667vw;
    line-height: 1.4375;
    letter-spacing: normal;
    text-align: center;
    margin-bottom: 4vw;
  }
  .facCard__text p:not(.facCard__lead) {
    font-size: 3.46667vw;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }
  /* ボタン（トップページ「地域医療連携室」と同じ .cbtn の動き）
  ---------------------------------------------------------------------- */
  .facCard__text .cbtn {
    margin: 5.33334vw auto 0;
    width: 74.66667vw;
    min-width: 0;
    height: 8vw;
    font-size: 3.73334vw;
    font-weight: 500;
  }

}
/* ======================================================
/sp
====================================================== */

/* 外来・手術室案内 */
@media (min-width: 1001px) {
  #outpatient_ope .kangoPicRow {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px 0;
  }
  #outpatient_ope .kangoPicRow > .item {
    width: 48%;
  }
  #outpatient_ope .kangoPicRow .thumb {
    margin-bottom: 18px;
  }
  #outpatient_ope .kangoPicRow .thumb img {
    width: 100%;
    border-radius: 20px;
  }
  #outpatient_ope .kangoPicRow .item p + p {
    margin-top: 0.8em;
  }
}
@media (max-width: 1000px) {
  #outpatient_ope .kangoPicRow {
    display: flex;
    flex-direction: column;
    gap: 8vw;
  }
  #outpatient_ope .kangoPicRow > .item {
    width: 100%;
  }
  #outpatient_ope .kangoPicRow .thumb {
    margin-bottom: 5.33334vw;
  }
  #outpatient_ope .kangoPicRow .thumb img {
    width: 100%;
    border-radius: 5.33334vw;
  }
  #outpatient_ope .kangoPicRow .item p + p {
    margin-top: 0.8em;
  }
}
