/* ==================================================
   予約ページ 共通
================================================== */
.reservation-page {
  color: #1f3656;
  font-size: 18px;
}

.reservation-page p {
  margin: 0;
}

.reservation-inner {
  width: 1280px;
  max-width: 90%;
}

.reservation-narrow {
  width: 900px;
  max-width: 90%;
  margin: 0 auto;
}


/* ==================================================
   はじめに
================================================== */
.reservation-intro {
  padding: 120px 0 90px;
}

.reservation-intro h2 {
  margin: 0 0 52px;
  color: #4f8fd4;
  font-size: 26px;
  line-height: 1.7;
  text-align: center;
}

.reservation-intro p {
  line-height: 1.9;
}


/* ==================================================
   メインコンテンツ
================================================== */
.reservation-content {
  padding: 0 0 120px;
}


/* ==================================================
   見出し
================================================== */
.reservation-heading {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 20px;
  color: #0c3d7d;
  font-size: 36px;
  line-height: 1.5;
}

.reservation-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 252px;
  height: 2px;
  background: #c6a86a;
}


/* ==================================================
   診療時間
================================================== */
.reservation-hours {
  padding: 70px 76px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 5px 18px rgba(31, 54, 86, .04);
}

.reservation-hours__layout {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 56px;
  align-items: center;
  margin-top: 50px;
}

.reservation-hours__notes {
  font-size: 16px;
  line-height: 1.8;
}

.reservation-hours__notes p:first-child {
  margin-bottom: 8px;
  font-weight: 700;
}


/* ==================================================
   予約方法
================================================== */
.reservation-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 48px;
}

.reservation-method {
  padding: 66px 56px;
  border-radius: 24px;
}

.reservation-method--web {
  background: #edf6ff;
}

.reservation-method--phone {
  background: #fffaf1;
}

.reservation-method h3 {
  margin: 44px 0 22px;
  color: #2e5ea7;
  font-size: 22px;
  line-height: 1.7;
}

.reservation-method p {
  font-size: 16px;
  line-height: 1.85;
}


/* ==================================================
   Web予約
================================================== */
.reservation-methods__web-wrap {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.reservation-web-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 360px;
  max-width: 100%;
  min-height: 88px;
  margin: 50px auto 0;
  padding: 12px 28px;
  color: #fff;
  background: #f6a530;
  border-radius: 22px;
}

.reservation-web-button img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.reservation-web-button span,
.reservation-phone-button span {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reservation-web-button strong {
  font-size: 27px;
  line-height: 1.2;
}

.reservation-web-button small,
.reservation-phone-button small {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
}


/* ==================================================
   Web予約 注意事項
================================================== */
.reservation-notice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 14px;
  padding: 34px 38px;
  background: #e1ebf4;
  border-radius: 22px;
}

.reservation-notice > div {
  display: contents;
}

.reservation-notice > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #c6a86a;
  border-radius: 50%;
  font-weight: 700;
}

.reservation-notice h3 {
  align-self: center;
  margin: 0;
  color: #2e5ea7;
  font-size: 19px;
}

.reservation-notice p {
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 1.75;
}


/* ==================================================
   電話予約
================================================== */
.reservation-method--phone ul {
  margin: 46px 0 0;
  padding: 28px 34px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #eadfc7;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(31, 54, 86, .06);
}

.reservation-method--phone li {
  position: relative;
  padding-left: 28px;
  color: #2e5ea7;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.reservation-method--phone li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #4f8fd4;
}

.reservation-phone-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 390px;
  max-width: 100%;
  min-height: 86px;
  margin: 52px auto 0;
  padding: 12px 22px;
  color: #4f8fd4;
  background: #fff;
  border: 2px solid #4f8fd4;
  border-radius: 22px;
}

.reservation-phone-button img {
  width: 34px;
  height: 48px;
  object-fit: contain;
}

.reservation-phone-button strong {
  font-size: 28px;
  line-height: 1.2;
}


/* ==================================================
   金曜午後の予約
================================================== */
.reservation-friday {
  margin-top: 120px;
}

.reservation-friday h3 {
  margin: 48px 0 20px;
  color: #2e5ea7;
  font-size: 22px;
}

.reservation-friday p {
  line-height: 1.8;
}


/* ==================================================
   Tablet
   768px - 1024px
================================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {

  .reservation-page {
    font-size: 17px;
  }

  .reservation-intro {
    padding: 80px 0;
  }

  .reservation-content {
    padding-bottom: 80px;
  }

  .reservation-hours {
    padding: 54px 40px;
  }

  .reservation-hours__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reservation-methods {
    grid-template-columns: 1fr;
  }

  .reservation-methods__web-wrap {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
  }

  .reservation-method,
  .reservation-notice {
    padding: 48px 40px;
  }

  .reservation-friday {
    margin-top: 80px;
  }

}


/* ==================================================
   Smartphone
   767px以下
================================================== */
@media screen and (max-width: 767px) {

  .reservation-page {
    font-size: 16px;
  }

  .reservation-inner,
  .reservation-narrow {
    width: 100%;
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
  }


  /* ------------------------------
     はじめに
  ------------------------------ */
  .reservation-intro {
    padding: 80px 0;
  }

  .reservation-intro h2 {
    margin-bottom: 36px;
    font-size: 22px;
    text-align: left;
  }


  /* ------------------------------
     メインコンテンツ
  ------------------------------ */
  .reservation-content {
    padding-bottom: 80px;
  }


  /* ------------------------------
     見出し
  ------------------------------ */
  .reservation-heading {
    padding-bottom: 16px;
    font-size: 28px;
  }

  .reservation-heading::after {
    width: 160px;
  }


  /* ------------------------------
     診療時間
  ------------------------------ */
  .reservation-hours {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .reservation-hours__layout {
    display: block;
    margin-top: 36px;
  }

  .reservation-hours__notes {
    margin-top: 26px;
    font-size: 14px;
  }


  /* ------------------------------
     予約方法
  ------------------------------ */
  .reservation-methods {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .reservation-methods__web-wrap {
    gap: 20px;
  }

  .reservation-method {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .reservation-method h3 {
    margin: 34px 0 18px;
    font-size: 19px;
  }

  .reservation-method p {
    font-size: 16px;
  }


  /* ------------------------------
     Web予約
  ------------------------------ */
  .reservation-web-button {
    width: 300px;
    min-height: 72px;
    margin-top: 36px;
  }

  .reservation-web-button strong {
    font-size: 23px;
  }


  /* ------------------------------
     注意事項
  ------------------------------ */
  .reservation-notice {
    gap: 16px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .reservation-notice h3 {
    font-size: 18px;
  }

  .reservation-notice p {
    font-size: 15px;
  }


  /* ------------------------------
     電話予約
  ------------------------------ */
  .reservation-method--phone ul {
    margin-top: 34px;
    padding: 24px 20px;
  }

  .reservation-phone-button {
    width: 310px;
    min-height: 76px;
    margin-top: 38px;
  }

  .reservation-phone-button strong {
    font-size: 22px;
  }

  .reservation-phone-button small {
    font-size: 11px;
  }


  /* ------------------------------
     金曜午後の予約
  ------------------------------ */
  .reservation-friday {
    margin-top: 80px;
  }

  .reservation-friday h3 {
    margin-top: 36px;
    font-size: 19px;
  }

}


/* ==================================================
   Small Smartphone
   374px以下
================================================== */
@media screen and (max-width: 374px) {

  .reservation-inner,
  .reservation-narrow {
    padding-right: 16px;
    padding-left: 16px;
  }

  .reservation-web-button,
  .reservation-phone-button {
    width: 100%;
  }

  .reservation-phone-button strong {
    font-size: 20px;
  }

}
