
/* ==========================================
   VETERINARY SERVICES PAGE
   診療案内
   PC基準：1440px
========================================== */

.services-page {
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
}

.services-page *,
.services-page *::before,
.services-page *::after {
  box-sizing: border-box;
}

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

.services-hero {
  position: relative;
  width: 100%;
  height: 880px;

  background-image: url("images/services-dog.jpg");
  background-size: cover;
  background-position: center center;

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

/* 写真に重ねる半透明の色 */

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(231, 227, 208, 0.35);
}

/* メインタイトル */

.services-hero-title {
  position: relative;
  z-index: 1;

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

.services-hero-title h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.services-hero-title p {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
}

/* ==========================================
   ② 診療内容について
========================================== */

.services-intro {
  width: 100%;
  padding: 120px 40px 125px;
  background-color: #ffffff;
}

/* 見出し */

.services-section-title {
  margin-bottom: 95px;

  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #91a398;
}

/* ==========================================
   ③ 診療対象動物の緑色ボックス
========================================== */

.services-animals-box {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;

  padding: 70px 50px 65px;

  background-color: #91a398;
  border-radius: 35px;

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

/* 診療対象動物 */

.services-animals-box h3 {
  margin-bottom: 60px;

  font-family: "Noto Serif JP", serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 犬と猫を横並びにする */

.services-animal-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 140px;
}

.services-animal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* イラストの白い丸 */

.services-animal-icon {
  width: 220px;
  height: 220px;

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

  border-radius: 50%;
  background-color: #ffffff;

  overflow: hidden;
}

/* 犬・猫の画像 */

.services-animal-icon img {
  display: block;
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* 犬・猫の文字 */

.services-animal p {
  margin-top: 12px;

  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 400;
  color: #ffffff;
}

/* ==========================================
   ④ ページ作成中のお知らせ
========================================== */

.services-coming-soon {
  width: 100%;
  padding: 100px 40px 145px;
  background-color: #ffffff;
}

.services-coming-soon-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 上下の点線 */

.services-dotted-line {
  width: 100%;
  height: 2px;

  background-image: repeating-linear-gradient(
    to right,
    #555555 0px,
    #555555 7px,
    transparent 7px,
    transparent 15px
  );
}

/* ページ作成中の文字 */

.services-coming-soon-text {
  min-height: 340px;

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

  text-align: center;
}

.services-coming-soon-text p {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #777777;
}

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

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

  .services-hero {
    height: 650px;
  }

  .services-intro {
    padding: 100px 35px;
  }

  .services-animals-box {
    max-width: 850px;
    padding: 60px 35px;
  }

  .services-animal-list {
    gap: 100px;
  }

  .services-animal-icon {
    width: 180px;
    height: 180px;
  }

  .services-coming-soon {
    padding: 90px 35px 120px;
  }

  .services-coming-soon-text {
    min-height: 280px;
  }

}

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

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

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

  .services-hero {
    height: 400px;
    background-position: center;
  }

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

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

  /* 診療内容について */

  .services-intro {
    padding: 80px 20px 70px;
  }

  .services-section-title {
    margin-bottom: 55px;
    font-size: 25px;
  }

  /* 緑色のボックス */

  .services-animals-box {
    padding: 40px 20px 45px;
    border-radius: 20px;
  }

  .services-animals-box h3 {
    margin-bottom: 35px;
    font-size: 24px;
  }

  /* 犬と猫 */

  .services-animal-list {
    gap: 35px;
  }

  .services-animal-icon {
    width: 120px;
    height: 120px;
  }

  .services-animal p {
    margin-top: 8px;
    font-size: 20px;
  }

  /* ページ作成中 */

  .services-coming-soon {
    padding: 70px 25px 90px;
  }

  .services-dotted-line {
    height: 1px;

    background-image: repeating-linear-gradient(
      to right,
      #555555 0px,
      #555555 5px,
      transparent 5px,
      transparent 11px
    );
  }

  .services-coming-soon-text {
    min-height: 220px;
  }

  .services-coming-soon-text p {
    font-size: 14px;
    line-height: 2;
  }

}

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

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

  .services-hero-title h1 {
    font-size: 25px;
  }

  .services-animal-list {
    gap: 20px;
  }

  .services-animal-icon {
    width: 100px;
    height: 100px;
  }

  .services-animal p {
    font-size: 18px;
  }

}
