
/* ==========================================
   ABOUT US PAGE
   当院について
   PC基準：1440px
========================================== */


/* ==========================================
   ① メインビジュアル
========================================== */

.about-hero {
  width: 100%;
  height: 880px;

  position: relative;

  background-image: url("images/meisleep.png");
  background-size: cover;
  background-position: center center;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 写真の上に重ねる半透明の色 */
.about-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(125, 151, 139, 0.30),
    rgba(245, 240, 232, 0.32)
  );
}

/* 写真の中央のタイトル */
.about-hero-title {
  position: relative;
  z-index: 1;

  text-align: center;
  color: #ffffff;
}

/* 当院について */
.about-hero-title h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* About Us */
.about-hero-title p {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}


/* ==========================================
   ② 共通の見出し
========================================== */

.about-section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 600;

  color: #91a398;

  text-align: center;
  letter-spacing: 0.08em;
}


/* ==========================================
   ③ ご挨拶
========================================== */

.greeting-section {
  width: 100%;
  background-color: #ffffff;

  padding: 130px 40px 145px;
}

.greeting-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ご挨拶の本文 */
.greeting-text {
  margin-top: 80px;
  text-align: center;
}

.greeting-text p {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 400;

  color: #888888;

  line-height: 2.3;
  letter-spacing: 0.05em;

  margin-bottom: 55px;
}

.greeting-text p:last-child {
  margin-bottom: 0;
}


/* ==========================================
   ④ 獣医師紹介
========================================== */

.doctors-section {
  width: 100%;

  background-color: #f3f1ec;

  padding: 90px 40px 120px;
}

.doctors-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* 獣医師紹介の見出し */
.doctors-section .about-section-title {
  margin-bottom: 60px;
}


/* ==========================================
   ⑤ 獣医師プロフィールカード
========================================== */

.doctor-card {
  width: 100%;

  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 70px;

  padding: 45px 55px;

  margin-bottom: 65px;

  background-color: #ffffff;
  border-radius: 30px;
}

.doctor-card:last-child {
  margin-bottom: 0;
}

/* ==========================================
   写真
========================================== */

.doctor-photo {
  width: 330px;
  height: 350px;

  background-color: #d9d9d9;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* ==========================================
   プロフィールの右側
========================================== */

.doctor-content {
  min-width: 0;
  padding-top: 5px;
}

/* 院長という文字 */
.doctor-position {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;

  margin-bottom: 15px;
}

/* 名前 */
.doctor-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px;

  margin-bottom: 65px;
}

/* 日本語の名前 */
.doctor-name h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.12em;

  color: #263a30;
}

/* 英語の名前 */
.doctor-name span {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #777777;
}


/* ==========================================
   略歴・所属
========================================== */

.doctor-detail {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;

  margin-bottom: 55px;
}

.doctor-detail:last-child {
  margin-bottom: 0;
}

/* 略歴・所属の見出し */
.doctor-detail h4 {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  color: #444444;
}

/* 詳細文章 */
.doctor-detail-text p {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 400;

  color: #444444;

  line-height: 2;
  margin-bottom: 5px;
}


/* ==========================================
   ⑥ タブレット対応
========================================== */

@media screen and (max-width: 1100px) {

  .about-hero {
    height: 650px;
  }

  .greeting-section {
    padding: 100px 35px;
  }

  .greeting-text p {
    font-size: 15px;
  }

  .doctor-card {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 35px;
    padding: 35px;
  }

  .doctor-photo {
    width: 250px;
    height: 300px;
  }

  .doctor-name {
    margin-bottom: 40px;
  }

  .doctor-detail {
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 35px;
  }

  .doctor-detail-text p {
    font-size: 14px;
  }

}


/* ==========================================
   ⑦ スマートフォン対応
========================================== */

@media screen and (max-width: 768px) {

  /* メイン写真 */
  .about-hero {
    height: 400px;
    background-position: center;
  }

  .about-hero-title h1 {
    font-size: 28px;
  }

  .about-hero-title p {
    font-size: 21px;
  }

  /* 共通見出し */
  .about-section-title {
    font-size: 25px;
  }

  /* ご挨拶 */
  .greeting-section {
    padding: 75px 22px 90px;
  }

  .greeting-text {
    margin-top: 45px;
  }

  .greeting-text p {
    font-size: 12px;
    line-height: 2.2;
    letter-spacing: 0.02em;
    margin-bottom: 35px;
  }

  /* スマホでは自然に折り返す */
  .greeting-text br {
    display: none;
  }

  /* 獣医師紹介 */
  .doctors-section {
    padding: 70px 18px 90px;
  }

  .doctors-section .about-section-title {
    margin-bottom: 40px;
  }

  /* プロフィールカード */
  .doctor-card {
    display: flex;
    flex-direction: column;
    gap: 30px;

    padding: 25px 20px;
    margin-bottom: 30px;

    border-radius: 20px;
  }

  /* 写真 */
  .doctor-photo {
    width: 180px;
    height: 200px;
  }

  /* 名前 */
  .doctor-position {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .doctor-name {
    gap: 10px;
    margin-bottom: 35px;
  }

  .doctor-name h3 {
    font-size: 23px;
  }

  .doctor-name span {
    font-size: 17px;
  }

  /* 略歴・所属 */
  .doctor-detail {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 30px;
  }

  .doctor-detail h4 {
    font-size: 13px;
  }

  .doctor-detail-text p {
    font-size: 11px;
    line-height: 2;
    overflow-wrap: anywhere;
  }

}
