/* アクセス見出しと医院名の間隔調整：スマートフォンのみ */
@media screen and (max-width: 620px) {
  #access > h2 {
    margin-bottom: 6px;
  }

  #access > .access-grid {
    margin-top: 0;
  }

  #access > .access-grid > div:first-child > h3 {
    margin-top: 0;
  }
}


/* HTML内から移動：ヘルペス注意事項ボックス */
.herpes-alert {
    margin: 18px 0 8px;
    padding: 18px 20px;
    border: 2px solid #b94b55;
    border-left: 6px solid #b94b55;
    border-radius: 8px;
    background: #fff8f7;
    color: #292929;
    line-height: 1.85;
  }
  .herpes-alert h4 {
    margin: 0 0 10px;
    color: #9f303b;
    font-size: 18px;
    font-weight: 700;
  }
  .herpes-alert p { margin: 8px 0; }
  .herpes-alert ul { margin: 8px 0; padding-left: 1.5em; }
  .herpes-alert li { margin: 6px 0; }
  .herpes-alert strong { color: #9f303b; }
  .herpes-alert .herpes-alert-note {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e7c5c7;
    font-size: 14px;
  }
  @media (max-width: 600px) {
    .herpes-alert { padding: 14px; }
    .herpes-alert h4 { font-size: 17px; }
  }

/* HTML内から移動：施術の流れ・写真レイアウト */
/* 施術の流れ：参考画像に合わせたテキスト＋写真の2カラム */
  .flow-photo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 34px;
    align-items: center;
    max-width: 1080px;
    margin: 30px auto 0;
  }
  .flow-photo-layout .flow-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
  }
  .flow-photo-layout .flow-list > div {
    min-width: 0;
  }
  .flow-treatment-photo {
    margin: 0;
    width: 100%;
  }
  .flow-treatment-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
  }
  .flow-treatment-photo figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    opacity: .82;
  }
  @media (max-width: 760px) {
    .flow-photo-layout {
      grid-template-columns: 1fr;
      gap: 24px;
      margin-top: 22px;
    }
    .flow-treatment-photo {
      max-width: 520px;
      margin: 0 auto;
    }
    .flow-treatment-photo img {
      max-height: none;
      border-radius: 14px;
    }
  }


/* TOPページと同じフッターリンク設定 */
.director-greeting-link-wrap {
  display: block;
  text-align: center;
  margin: 0 auto 17px;
  padding: 0 15px;
  box-sizing: border-box;
}

.site-footer .footer-whitening-text-link {
  display: inline-block;
  margin: 0 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #d8b96f !important;
  font-size: 14px !important;
  line-height: 1.8;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  box-shadow: none;
  white-space: nowrap;
}

.site-footer .footer-whitening-text-link:hover {
  color: #f0d99f !important;
}

@media (max-width: 520px) {
  .site-footer .footer-whitening-text-link {
    margin: 10px 0 0;
  }

  .site-footer .footer-greeting-text-link {
    margin-right: 18px;
  }
}
