
/* ==========================================
   FIRST VISIT PAGE
   はじめて来院される方へ
   PC基準：1440px
========================================== */

.first-visit-page {
  width: 100%;
  overflow: hidden;
}

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

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

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

  background-image: url("images/first-visit-cat.jpg");
  background-size: cover;
  background-position: center;

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

.visit-hero-overlay {
  position: absolute;
  inset: 0;

  background: rgba(245, 243, 237, 0.43);
}

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

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

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

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

/* ==========================================
   ② ご来院前のご案内
========================================== */

.visit-guide-section {
  width: 100%;
  padding: 65px 30px 125px;
  background-color: #ffffff;
}

/* 予約不要のお知らせ */

.visit-notice {
  width: 740px;
  max-width: 100%;
  min-height: 165px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;

  padding: 25px 35px;

  background-color: #96a79c;
  border-radius: 30px;

  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.14);
}

.visit-warning-icon {
  font-size: 60px;
  line-height: 1;
  flex-shrink: 0;
}

.visit-notice-text {
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", serif;
}

.visit-notice-text h2 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.6;
}

.visit-notice-text p {
  font-size: 17px;
  line-height: 1.6;
}

/* ご来院前に確認ください */

.visit-section-title {
  margin: 100px 0 75px;

  text-align: center;
  color: #91a398;

  font-family: "Zen Kaku Gothic New", serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ==========================================
   ③ 犬・猫の案内カード
========================================== */

.visit-pet-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 65px;
}

.visit-pet-card {
  width: 470px;
  height: 240px;

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

  background-color: #d2dcd6;
  border-radius: 15px;

  text-decoration: none;
  color: #202020;

  transition: opacity 0.2s ease,
              transform 0.2s ease;
}

.visit-pet-card:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

/* イラストの丸い背景 */

.visit-pet-icon {
  width: 125px;
  height: 125px;

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

  border-radius: 50%;
  background-color: #f7f2f4;
}

.visit-pet-icon svg {
  width: 95px;
  height: 95px;
}

/* カード下部の文字と矢印 */

.visit-pet-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin-top: 15px;

  font-family: "Zen Kaku Gothic New", serif;
  font-size: 17px;
  white-space: nowrap;
}

.visit-arrow {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 32px;
  height: 32px;

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

  color: #ffffff;
  font-family: sans-serif;
  font-size: 22px;
}

/* ==========================================
   ④ 初診の流れ
========================================== */

.visit-flow-section {
  width: calc(100% - 120px);
  max-width: 1320px;

  margin: 0 auto 110px;
  padding: 80px 55px 105px;

  border: 1px solid #6e8174;
  border-radius: 35px;

  background: linear-gradient(
    90deg,
    #a0b0a5 0%,
    #8da094 100%
  );
}

.visit-flow-inner {
  max-width: 950px;
  margin: 0 auto;
}

.visit-flow-title {
  margin-bottom: 85px;

  text-align: center;
  color: #ffffff;

  font-family: "Zen Kaku Gothic New", serif;
  font-size: 40px;
  font-weight: 400;
}

/* ==========================================
   ⑤ 受付・診察・お会計
========================================== */

.visit-steps {
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.visit-step {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 45px;
}

.visit-step-number {
  width: 110px;
  height: 110px;

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

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

  color: #34463c;

  font-family: "Cormorant Garamond", serif;
  font-size: 39px;
  font-weight: 400;
}

.visit-step-content {
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", serif;
}

.visit-step-content h3 {
  margin-bottom: 5px;

  font-size: 38px;
  font-weight: 400;
  line-height: 1.4;
}

.visit-step-content p {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.visit-step-content .visit-step-note {
  margin-top: 22px;
  font-size: 16px;
}

/* ==========================================
   ⑥ 診察券について
========================================== */

.visit-ticket-box {
  width: 850px;
  max-width: 100%;

  margin: 95px auto 0;
  padding: 17px;

  background-color: #f5f2ec;
  border-radius: 38px;
}

.visit-ticket-inner {
  min-height: 300px;

  padding: 45px 45px;

  border: 2px solid #91a398;
  border-radius: 28px;
}

.visit-ticket-inner h3 {
  margin-bottom: 35px;

  text-align: center;
  color: #91a398;

  font-family: "Zen Kaku Gothic New", serif;
  font-size: 30px;
  font-weight: 400;
}

.visit-ticket-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visit-ticket-inner li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 17px;

  font-family: "Zen Kaku Gothic New", serif;
  font-size: 16px;
  line-height: 1.8;
  color: #777777;
}

.visit-ticket-inner li::before {
  content: "";
  position: absolute;

  left: 0;
  top: 0.65em;

  width: 13px;
  height: 13px;

  background-color: #91a398;
  border-radius: 50%;
}

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

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

  .visit-hero {
    height: 650px;
  }

  .visit-pet-links {
    gap: 35px;
  }

  .visit-pet-card {
    width: 40%;
    height: 210px;
  }

  .visit-flow-section {
    width: calc(100% - 60px);
    padding: 70px 40px 90px;
  }

  .visit-step {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 35px;
  }

  .visit-step-number {
    width: 90px;
    height: 90px;
    font-size: 33px;
  }

}

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

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

  /* メイン写真 */

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

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

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

  /* ご案内 */

  .visit-guide-section {
    padding: 40px 20px 75px;
  }

  .visit-notice {
    width: 100%;
    min-height: 100px;

    gap: 12px;
    padding: 18px 15px;

    border-radius: 17px;
  }

  .visit-warning-icon {
    font-size: 32px;
  }

  .visit-notice-text h2 {
    font-size: 14px;
  }

  .visit-notice-text p {
    font-size: 10px;
  }

  .visit-section-title {
    margin: 70px 0 45px;
    font-size: 22px;
  }

  /* 犬・猫のカード */

  .visit-pet-links {
    gap: 15px;
  }

  .visit-pet-card {
    width: calc(50% - 8px);
    height: 155px;
    border-radius: 12px;
  }

  .visit-pet-icon {
    width: 80px;
    height: 80px;
  }

  .visit-pet-icon svg {
    width: 65px;
    height: 65px;
  }

  .visit-pet-caption {
    gap: 5px;
    margin-top: 10px;
    font-size: 10px;
  }

  .visit-arrow {
    width: 20px;
    height: 20px;
    font-size: 13px;
  }

  /* 初診の流れ */

  .visit-flow-section {
    width: calc(100% - 30px);

    margin-bottom: 70px;
    padding: 50px 20px 65px;

    border-radius: 22px;
  }

  .visit-flow-title {
    margin-bottom: 55px;
    font-size: 27px;
  }

  .visit-steps {
    gap: 50px;
  }

  .visit-step {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 20px;
  }

  .visit-step-number {
    width: 55px;
    height: 55px;
    font-size: 23px;
  }

  .visit-step-content h3 {
    font-size: 24px;
  }

  .visit-step-content p {
    font-size: 11px;
    line-height: 1.8;
  }

  .visit-step-content .visit-step-note {
    margin-top: 15px;
    font-size: 10px;
  }

  /* 診察券について */

  .visit-ticket-box {
    margin-top: 60px;
    padding: 8px;
    border-radius: 20px;
  }

  .visit-ticket-inner {
    min-height: 0;
    padding: 30px 15px;
    border-radius: 15px;
  }

  .visit-ticket-inner h3 {
    margin-bottom: 25px;
    font-size: 21px;
  }

  .visit-ticket-inner li {
    padding-left: 18px;
    margin-bottom: 13px;

    font-size: 10px;
    line-height: 1.8;
  }

  .visit-ticket-inner li::before {
    width: 8px;
    height: 8px;
  }

}

/* 小さいスマホの調整 */

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

  .visit-pet-caption {
    font-size: 8px;
  }

  .visit-flow-section {
    padding-left: 13px;
    padding-right: 13px;
  }

  .visit-step {
    gap: 12px;
  }

}


/* 犬のイラスト画像 */
.visit-pet-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

/* 猫のイラスト画像 */
.visit-pet-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}