﻿@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap");

:root {
  --fi-bg: #f2e9e2;
  --fi-text: #474747;
  --fi-gold: #e6a921;
  --fi-gold-line: #e6a921;
  --fi-muted: #8f857d;
  --fi-panel: #d2c2b5;
  --fi-cta-orange: #e38040;
  --fi-cta-yellow: #e6a921;
  --fi-divider: #6c6c6c;
  --fi-faq-head: #e6a921;
  --fi-faq-line: #e6a921;

  --fi-fs-base: 16px;
  --fi-fs-small: 14px;
  --fi-fs-subtitle: 18px;
  --fi-fs-title: 32px;
}

.first-anchor-nav,
.fi-anchor-nav {
  border-bottom: 2px solid var(--fi-divider);
  display: grid;
}

.first-anchor-nav a,
.fi-anchor-nav a {
  min-height: 80px;
  color: var(--fi-muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

.first-anchor-nav a.is-current,
.fi-anchor-nav a.is-current {
  color: var(--fi-text);
}

.first-anchor-nav i,
.fi-anchor-nav i {
  width: 14px;
  height: 14px;
  border-right: 3px solid currentcolor;
  border-bottom: 3px solid currentcolor;
  transform: rotate(45deg);
}

.fee-insurance-page,
.about-page,
.medical-page,
.faq-page,
.first-page,
.top-page {
  --fi-bg: #f2e9e2;
  --fi-text: #474747;
  --fi-gold: #e6a921;
  --fi-gold-line: #e6a921;
  --fi-muted: #8f857d;
  --fi-panel: #d2c2b5;
  --fi-cta-orange: #e38040;
  --fi-cta-yellow: #e6a921;
  --fi-divider: #6c6c6c;
  --fi-faq-head: #e6a921;
  --fi-faq-line: #e6a921;

  --fi-fs-base: 16px;
  --fi-fs-small: 14pt;
  --fi-fs-subtitle: 18pt;
  --fi-fs-title: 32pt;

  background: var(--fi-bg);
  color: var(--fi-text);
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: var(--fi-fs-base);
  line-height: 1.7;
  padding-bottom: 84px;
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.fee-insurance-page p,
.about-page p,
.medical-page p,
.faq-page p,
.first-page p,
.top-page p,
.news-page p,
.fee-insurance-page li,
.about-page li,
.medical-page li,
.faq-page li,
.first-page li,
.top-page li,
.news-page li,
.fee-insurance-page dd,
.about-page dd,
.medical-page dd,
.faq-page dd,
.first-page dd,
.top-page dd,
.news-page dd {
  letter-spacing: 0.1rem;
}

.fee-insurance-page *,
.about-page *,
.medical-page *,
.faq-page *,
.first-page *,
.top-page *,
.news-page * {
  box-sizing: border-box;
}

.clinic-sp-container,
.first-container,
.about-container,
.medical-container,
.faq-container,
.top-container,
.news-container {
  width: min(100% - 20px * 2, 760px);
  margin-inline: auto;
}

.clinic-address-sp-break {
  display: block;
}

.fi-hero,
.about-hero,
.medical-hero,
.faq-hero,
.first-hero,
.top-hero,
.news-hero {
  padding-top: 24px;
}

.fi-topbar,
.about-topbar,
.medical-topbar,
.faq-topbar,
.first-topbar,
.top-topbar,
.news-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.fi-logo-wrap,
.about-logo-wrap,
.medical-logo-wrap,
.faq-logo-wrap,
.first-logo-wrap,
.top-logo-wrap,
.news-logo-wrap {
  min-height: 56px;
  flex: 1 1 auto;
  min-width: 0;
}

.fi-logo-wrap .custom-logo-link,
.about-logo-wrap .custom-logo-link,
.medical-logo-wrap .custom-logo-link,
.faq-logo-wrap .custom-logo-link,
.first-logo-wrap .custom-logo-link,
.top-logo-wrap .custom-logo-link,
.news-logo-wrap .custom-logo-link,
.fi-logo-link,
.about-logo-link,
.medical-logo-link,
.faq-logo-link,
.first-logo-link,
.top-logo-link,
.news-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  text-decoration: none;
  color: var(--fi-text);
}

.fi-logo-wrap .custom-logo,
.about-logo-wrap .custom-logo,
.medical-logo-wrap .custom-logo,
.faq-logo-wrap .custom-logo,
.first-logo-wrap .custom-logo,
.top-logo-wrap .custom-logo,
.news-logo-wrap .custom-logo,
.fi-logo-image,
.about-logo-image,
.medical-logo-image,
.faq-logo-image,
.first-logo-image,
.top-logo-image,
.news-logo-image {
  width: clamp(190px, 56vw, 320px);
  height: auto;
}

.fi-logo-symbol,
.about-logo-symbol,
.medical-logo-symbol,
.faq-logo-symbol,
.first-logo-symbol,
.top-logo-symbol,
.news-logo-symbol {
  width: clamp(34px, 10vw, 46px);
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.fi-logo-name,
.about-logo-name,
.medical-logo-name,
.faq-logo-name,
.first-logo-name,
.top-logo-name,
.news-logo-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.fi-logo-fallback,
.about-logo-fallback,
.medical-logo-fallback,
.faq-logo-fallback,
.first-logo-fallback,
.top-logo-fallback,
.news-logo-fallback {
  color: var(--fi-text);
  text-decoration: none;
  display: block;
}

.fi-logo-fallback__jp,
.about-logo-fallback__jp,
.medical-logo-fallback__jp,
.faq-logo-fallback__jp,
.first-logo-fallback__jp,
.top-logo-fallback__jp,
.news-logo-fallback__jp {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.fi-logo-fallback__en,
.about-logo-fallback__en,
.medical-logo-fallback__en,
.faq-logo-fallback__en,
.first-logo-fallback__en,
.top-logo-fallback__en,
.news-logo-fallback__en {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.fi-menu-button,
.about-menu-button,
.medical-menu-button,
.faq-menu-button,
.first-menu-button,
.top-menu-button,
.news-menu-button {
  border: 0;
  background: transparent;
  color: var(--fi-gold-line);
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fi-menu-button span,
.about-menu-button span,
.medical-menu-button span,
.faq-menu-button span,
.first-menu-button span,
.top-menu-button span,
.news-menu-button span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 100px;
  background: var(--fi-gold);
}

.top-menu-button,
.fi-menu-button,
.about-menu-button,
.medical-menu-button,
.faq-menu-button,
.first-menu-button,
.news-menu-button {
  gap: 0;
  justify-items: center;
}
.clinic-sp-menu__close {
  justify-items: center;
}

.top-menu-button span + span,
.fi-menu-button span + span,
.about-menu-button span + span,
.medical-menu-button span + span,
.faq-menu-button span + span,
.first-menu-button span + span,
.news-menu-button span + span {
  margin-top: 8px;
}

.top-menu-button span,
.fi-menu-button span,
.about-menu-button span,
.medical-menu-button span,
.faq-menu-button span,
.first-menu-button span,
.news-menu-button span,
.clinic-sp-menu__close span {
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.top-menu-button[aria-expanded="true"] span:nth-of-type(1),
.fi-menu-button[aria-expanded="true"] span:nth-of-type(1),
.about-menu-button[aria-expanded="true"] span:nth-of-type(1),
.medical-menu-button[aria-expanded="true"] span:nth-of-type(1),
.faq-menu-button[aria-expanded="true"] span:nth-of-type(1),
.first-menu-button[aria-expanded="true"] span:nth-of-type(1),
.news-menu-button[aria-expanded="true"] span:nth-of-type(1) {
  transform: translateY(11px) rotate(45deg);
}

.top-menu-button[aria-expanded="true"] span:nth-of-type(2),
.fi-menu-button[aria-expanded="true"] span:nth-of-type(2),
.about-menu-button[aria-expanded="true"] span:nth-of-type(2),
.medical-menu-button[aria-expanded="true"] span:nth-of-type(2),
.faq-menu-button[aria-expanded="true"] span:nth-of-type(2),
.first-menu-button[aria-expanded="true"] span:nth-of-type(2),
.news-menu-button[aria-expanded="true"] span:nth-of-type(2) {
  opacity: 0;
}

.top-menu-button[aria-expanded="true"] span:nth-of-type(3),
.fi-menu-button[aria-expanded="true"] span:nth-of-type(3),
.about-menu-button[aria-expanded="true"] span:nth-of-type(3),
.medical-menu-button[aria-expanded="true"] span:nth-of-type(3),
.faq-menu-button[aria-expanded="true"] span:nth-of-type(3),
.first-menu-button[aria-expanded="true"] span:nth-of-type(3),
.news-menu-button[aria-expanded="true"] span:nth-of-type(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.fi-menu-button strong,
.about-menu-button strong,
.medical-menu-button strong,
.faq-menu-button strong,
.first-menu-button strong,
.top-menu-button strong,
.news-menu-button strong {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.clinic-sp-breadcrumb {
  margin-top: 40px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #82654D;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.clinic-sp-breadcrumb .p-breadcrumb {
  width: 100%;
  margin: 0;
}

.clinic-sp-breadcrumb .p-breadcrumb__list,
.clinic-sp-breadcrumb ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.clinic-sp-breadcrumb ul li,
.clinic-sp-breadcrumb .p-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.clinic-sp-breadcrumb ul li + li::before,
.clinic-sp-breadcrumb .p-breadcrumb__item + .p-breadcrumb__item::before {
  content: ">";
  margin-right: 10px;
}

.clinic-sp-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.clinic-sp-breadcrumb .p-breadcrumb__text {
  color: inherit;
  text-decoration: none;
}

.clinic-sp-page-title {
  margin: 30px 0 0;
  font-size: var(--fi-fs-title);
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.clinic-sp-page-subtitle {
  margin: 8px 0 0;
  color: var(--fi-gold-line);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.child-section-title {
  margin: 0;
  text-align: center;
  font-size: var(--fi-fs-title);
  line-height: 1.25;
  font-weight: 500;
}

.child-section-subtitle {
  margin: 8px 0 0;
  text-align: center;
  color: var(--fi-gold-line);
  font-size: var(--fi-fs-base);
  letter-spacing: 0.08em;
}

.clinic-symptoms-section {
  background: rgba(230, 169, 33, 0.2);
  border-radius: 30px;
}

.clinic-symptoms-section .child-section-title {
  margin: 0;
  color: #474747;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: 3.2px;
}

.clinic-symptoms-section .child-section-subtitle {
  margin: 0;
  color: #e6a921;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.medical-symptom-grid {
  width: 100%;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 19px;
}

.medical-symptom-card {
  min-width: 0;
  min-height: 200px;
  border: 1px solid #e6a921;
  border-radius: 8px;
  background: #e6a921;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.medical-symptom-card__image {
  width: 100%;
  height: 160px;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.medical-symptom-card__image > span {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  color: #9c8878;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 27.2px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.medical-symptom-card__thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.medical-symptom-card__label {
  min-height: 40px;
  margin: 0;
  padding: 4px 8px;
  background: #e6a921;
  color: #474747;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0.8px;
  overflow-wrap: anywhere;
}

.medical-symptom-card--compact-label .medical-symptom-card__label {
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 0.6px;
}

.medical-symptom-card__label span {
  min-width: 0;
  display: block;
}

.medical-empty {
  margin: 72px 0 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .clinic-symptoms-section > .medical-container,
  .clinic-symptoms-section > .top-container {
    width: min(calc(100% - 20px), 640px);
  }
}

.clinic-hours-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
}

.clinic-hours-table tr {
  border-bottom: 1px solid var(--fi-faq-line);
}

.clinic-hours-table tbody tr:last-child {
  border-bottom: 0;
}

.clinic-hours-table th {
  border-right: 1px solid var(--fi-faq-line);
}

.clinic-hours-table th,
.clinic-hours-table td {
  text-align: center;
  vertical-align: middle;
  padding: 12px 4px;
  background-color: #ebebeb;
}

.clinic-hours-table thead th {
  background: var(--fi-gold);
  color: #fff;
  font-weight: 500;
}

.clinic-hours-table thead th:first-child {
  width: 102px;
}

.clinic-hours-table tbody th {
  background: #ebebeb;
  font-weight: 500;
}

.clinic-hours-symbol {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  color: var(--fi-cta-orange);
}

.clinic-hours-symbol--dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: currentcolor;
}

.clinic-hours-symbol--star::before {
  content: "\2605";
  font-size: 15px;
  line-height: 1;
}

.clinic-hours-symbol--square::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentcolor;
}

.clinic-hours-symbol--slash::before {
  content: "／";
  font-size: 19px;
  line-height: 1;
}

.clinic-hours-legend {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.clinic-hours-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.clinic-hours-closed-note {
  margin: 8px 0 0;
  color: #82654d;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0;
}

.clinic-sp-arrow-button {
  position: relative;
}

.clinic-reservation-button {
  width: min(100%, 214px);
  min-height: 48px;
  padding: 8px 50px;
  border-radius: 10px;
  background: var(--fi-gold, #e6a921);
  color: var(--fi-text, #474747);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: none;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-align: center;
  white-space: nowrap;
  --fi-button-arrow-right: 18px;
  --fi-button-arrow-size: 8px;
}

.clinic-reservation-button:visited {
  color: var(--fi-text, #474747);
}

.clinic-sp-arrow-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--fi-button-arrow-right, 15px);
  width: var(--fi-button-arrow-size, 10px);
  height: var(--fi-button-arrow-size, 10px);
  border-right: var(--fi-button-arrow-stroke, 2px) solid currentcolor;
  border-bottom: var(--fi-button-arrow-stroke, 2px) solid currentcolor;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
}

.fi-bottom-cta,
.about-bottom-cta,
.medical-bottom-cta,
.faq-bottom-cta,
.first-bottom-cta,
.top-bottom-cta,
.news-bottom-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 100;
}

.fi-bottom-cta a,
.about-bottom-cta a,
.medical-bottom-cta a,
.faq-bottom-cta a,
.first-bottom-cta a,
.top-bottom-cta a,
.news-bottom-cta a {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #fff;
  font-size: var(--fi-fs-base);
  letter-spacing: 0.04em;
  background: var(--fi-cta-orange);
  border-radius: 8px 8px 0 0;
}

.clinic-footer-fixed-cta__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.clinic-footer-fixed-cta__icon.icon-injection {
  width: 18px;
  height: 24px;
}

.clinic-footer-fixed-cta__label {
  display: block;
  line-height: 1.25;
}

.fi-bottom-cta a:nth-child(2),
.about-bottom-cta a:nth-child(2),
.medical-bottom-cta a:nth-child(2),
.faq-bottom-cta a:nth-child(2),
.first-bottom-cta a:nth-child(2),
.top-bottom-cta a:nth-child(2),
.news-bottom-cta a:nth-child(2) {
  background: var(--fi-cta-yellow);
}

@media (min-width: 768px) {
  .clinic-address-sp-break {
    display: none;
  }

  .fee-insurance-page,
  .about-page,
  .medical-page,
  .faq-page,
  .first-page,
  .top-page {
    --fi-fs-base: 16px;
    --fi-fs-subtitle: 32pt;
    --fi-fs-title: 48pt;
  }

  .clinic-sp-container,
  .first-container,
  .about-container,
  .medical-container,
  .faq-container,
  .top-container,
  .news-container {
    width: min(100% - 48px, 860px);
  }

  .medical-symptom-grid {
    gap: 26px 18px;
  }

  .medical-symptom-card {
    min-height: 430px;
  }

  .medical-symptom-card__image {
    height: 390px;
  }

  .fi-bottom-cta a,
  .about-bottom-cta a,
  .medical-bottom-cta a,
  .faq-bottom-cta a,
  .first-bottom-cta a,
  .top-bottom-cta a,
  .news-bottom-cta a {
    min-height: 74px;
  }
}

@media (min-width: 768px) {
  .clinic-symptoms-section .child-section-title {
    color: #474747;
    font-size: 48px;
    line-height: 64px;
    font-weight: 500;
    letter-spacing: 2.4px;
  }

  .clinic-symptoms-section .child-section-subtitle {
    margin-top: 0;
    color: #e6a921;
    font-size: 24px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1.2px;
  }

  .medical-symptom-grid {
    width: 100%;
    margin: 40px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
  }

  .medical-symptom-card {
    flex: 0 0 252px;
    width: 252px;
    height: 300px;
    min-height: 0;
    border: 1.5px solid #e6a921;
    border-radius: 12px;
    background: #e6a921;
    overflow: hidden;
  }

  .medical-symptom-card__image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9d9d9;
  }

  .medical-symptom-card__image > span {
    width: 100%;
    height: 100%;
    padding: 0 14px;
    color: #9c8878;
    font-size: 24px;
    line-height: 40.8px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .medical-symptom-card__label,
  .medical-symptom-card--compact-label .medical-symptom-card__label {
    min-height: 60px;
    padding: 0 12px;
    background: #e6a921;
    color: #474747;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
    overflow-wrap: anywhere;
  }

  .clinic-hours-table {
    width: calc(100% - 30px);
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 3px;
    background: #fafafa;
    color: #82654d;
    font-size: 24px;
    line-height: 48px;
    font-weight: 500;
    letter-spacing: 1.2px;
  }

  .clinic-hours-table tr {
    border-bottom: 0;
  }

  .clinic-hours-table thead th:first-child {
    width: 150px;
  }

  .clinic-hours-table th,
  .clinic-hours-table td {
    height: 96px;
    padding: 0;
    border-top: 1.5px solid #c48a4a;
    background: #fafafa;
    text-align: center;
    vertical-align: middle;
  }

  .clinic-hours-table thead th {
    border-top: 0;
    background: #e6a921;
    color: #fafafa;
  }

  .clinic-hours-table th:first-child {
    border-right: 1.5px solid #c48a4a;
  }

  .clinic-hours-table tbody th {
    background: #fafafa;
    color: #82654d;
    font-weight: 500;
    white-space: nowrap;
  }

  .clinic-hours-symbol {
    width: 24px;
    height: 24px;
    color: #e38040;
  }

  .clinic-hours-symbol--dot::before {
    width: 18px;
    height: 18px;
  }

  .clinic-hours-symbol--star::before {
    font-size: 21px;
  }

  .clinic-hours-symbol--square::before {
    width: 21px;
    height: 18px;
    background: currentcolor;
    border-radius: 0;
  }

  .clinic-hours-symbol--slash {
    color: #929292;
  }

  .clinic-hours-symbol--slash::before {
    font-size: 24px;
  }

  .clinic-hours-legend {
    height: 87px;
    margin: -4.5px 0 0;
    padding: 30px 39px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
  }

  .clinic-hours-legend li {
    gap: 9px;
    color: #82654d;
    font-size: 18px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .clinic-hours-closed-note {
    margin: 8px 0 0;
    color: #82654d;
    font-size: 18px;
    line-height: 32px;
    font-weight: 500;
    text-align: center;
  }
}
/* Clinic SP hamburger menu */
html.is-clinic-menu-open,
body.is-clinic-menu-open {
  overflow: hidden;
}

.clinic-sp-menu[hidden] {
  display: none !important;
}

.clinic-sp-menu {
  position: fixed;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-height: 100dvh;
  background: #fff2e9;
  color: #474747;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.clinic-sp-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.clinic-sp-menu__panel {
  min-height: 100dvh;
  background: #fff2e9;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;
}

.clinic-sp-menu__header {
  min-height: 62px;
  padding: 13px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.clinic-sp-menu__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  color: #474747;
  text-decoration: none;
}

.clinic-sp-menu__logo-symbol {
  width: clamp(34px, 10vw, 46px);
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.clinic-sp-menu__logo-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.clinic-sp-menu__close {
  width: 36px;
  height: 36px;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #e6a921;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex: 0 0 auto;
  justify-content: center;
}

.clinic-sp-menu__close span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: currentcolor;
  transform-origin: center;
}

.clinic-sp-menu__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.clinic-sp-menu__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.clinic-sp-menu__submenu-toggle {
  appearance: none;
  -webkit-appearance: none;
  justify-content: flex-start;
  text-align: left;
}

.clinic-sp-menu__submenu-toggle::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

.clinic-sp-menu__submenu-toggle > span:first-child {
  margin-right: auto;
}

/* Shared clinic-hours component (top page / about page) */
@media (max-width: 767px) {
  .clinic-hours-component .clinic-hours-table-wrap {
    width: 100%;
    max-width: none;
    margin: 5px auto 0;
  }

  .clinic-hours-component .clinic-hours-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background: #fafafa;
    color: #82654d;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0.8px;
  }

  .clinic-hours-component .clinic-hours-table tr {
    border-bottom: 0;
  }

  .clinic-hours-component .clinic-hours-table th,
  .clinic-hours-component .clinic-hours-table td {
    height: 64px;
    padding: 0;
    border-top: 1px solid #c48a4a;
    background: #fafafa;
  }

  .clinic-hours-component .clinic-hours-table thead th {
    border-top: 0;
    background: #e6a921;
    color: #fafafa;
  }

  .clinic-hours-component .clinic-hours-table thead th:first-child {
    width: 100px;
  }

  .clinic-hours-component .clinic-hours-table th:first-child {
    border-right: 1px solid #c48a4a;
  }

  .clinic-hours-component .clinic-hours-table tbody th {
    background: #fafafa;
    color: #82654d;
    font-weight: 500;
    white-space: nowrap;
  }

  .clinic-hours-component .clinic-hours-symbol {
    width: 16px;
    height: 16px;
    color: #e38040;
  }

  .clinic-hours-component .clinic-hours-symbol--dot::before {
    width: 12px;
    height: 12px;
  }

  .clinic-hours-component .clinic-hours-symbol--star::before {
    font-size: 14px;
  }

  .clinic-hours-component .clinic-hours-symbol--square::before {
    width: 14px;
    height: 12px;
    border-radius: 0;
  }

  .clinic-hours-component .clinic-hours-symbol--slash {
    color: #929292;
  }

  .clinic-hours-component .clinic-hours-symbol--slash::before {
    font-size: 16px;
  }

  .clinic-hours-component .clinic-hours-legend {
    width: 100%;
    max-width: none;
    height: 58px;
    margin: -3px 0 0;
    padding: 20px 16px 0;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
  }

  .clinic-hours-component .clinic-hours-legend li {
    gap: 6px;
    color: #82654d;
    font-size: 12px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .clinic-hours-component .clinic-hours-note {
    width: 100%;
    margin: 5px auto 0;
    padding-left: 16px;
    color: #393939;
    font-size: 12px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: left;
  }

  .clinic-hours-component .clinic-hours-note p {
    margin: 0;
  }
}

@media (min-width: 768px) {
  .clinic-hours-component .clinic-hours-table-wrap {
    width: 562.5px;
    max-width: calc(100% - 40px);
    margin: 40px auto 0;
  }

  .clinic-hours-component .clinic-hours-table {
    border-radius: 12px 12px 0 0;
  }

  .clinic-hours-component .clinic-hours-note {
    width: 532.5px;
    max-width: calc(100% - 40px);
    margin: 8px auto 0;
    padding-left: 24px;
    color: #393939;
    font-size: 18px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: left;
  }

  .clinic-hours-component .clinic-hours-note p {
    margin: 0;
  }
}

.clinic-sp-menu__submenu-toggle {
  appearance: none;
  -webkit-appearance: none;
  justify-content: flex-start;
  text-align: left;
}

.clinic-sp-menu__submenu-toggle::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

.clinic-sp-menu__submenu-toggle > span:first-child {
  margin-right: auto;
}

/* Figma-aligned opened hamburger menu */
.clinic-sp-menu {
  background: #fff2ea;
  color: #474747;
}

.clinic-sp-menu__panel {
  min-height: 100dvh;
  background: #fff2ea;
  padding-bottom: 20px;
}

.clinic-sp-menu__header {
  min-height: 62px;
  padding: 21px 10px 0;
  align-items: center;
}

.clinic-sp-menu__logo {
  gap: 10px;
}

.clinic-sp-menu__logo-image {
  display: block;
  width: 186px;
  height: auto;
}

.clinic-sp-menu__close {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  margin: -3.5px 0 0;
  color: #e6a921;
}

.clinic-sp-menu__close::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 3px solid currentcolor;
  border-radius: 999px;
}

.clinic-sp-menu__close span,
.clinic-sp-menu__close span:first-child,
.clinic-sp-menu__close span:last-child {
  width: 12px;
  height: 3px;
  z-index: 1;
}

.clinic-sp-menu__nav {
  margin-top: 10px;
  border-top: 1px solid rgba(196, 138, 74, 0.5);
}

.clinic-sp-menu__item {
  border-bottom: 0;
}

.clinic-sp-menu__item .clinic-sp-menu__link {
  border-bottom: 1px solid rgba(196, 138, 74, 0.5);
}

.clinic-sp-menu__link {
  width: 100%;
  min-height: 48px;
  padding: 8px 52px 8px 20px;
  border-bottom: 1px solid rgba(196, 138, 74, 0.5);
  background: transparent;
  color: #474747;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.clinic-sp-menu__link::after {
  right: 23px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #e6a921;
  border-right: 2px solid #e6a921;
}

.clinic-sp-menu__submenu-toggle {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  justify-content: flex-start;
  text-align: left;
}

.clinic-sp-menu__submenu-toggle::after {
  content: none;
  display: none;
  border: 0;
}

.clinic-sp-menu__submenu-toggle > span:first-child {
  margin-right: auto;
}

.clinic-sp-menu__submenu-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 16px;
  color: #e6a921;
  font-size: 16px;
  line-height: 27.2px;
  font-weight: 700;
  text-align: center;
  transform: translateY(-50%);
}

.clinic-sp-menu__submenu-icon::before {
  content: "＋";
}

.clinic-sp-menu__submenu-toggle[aria-expanded="true"] .clinic-sp-menu__submenu-icon::before {
  content: "－";
}

.clinic-sp-menu__submenu[hidden] {
  display: none !important;
}

.clinic-sp-menu__submenu {
  padding: 0;
  border-bottom: 1px solid rgba(196, 138, 74, 0.5);
}

.clinic-sp-menu__submenu-link {
  min-height: 32px;
  padding: 4px 52px 4px 20px;
  color: #474747;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.clinic-sp-menu__submenu-link::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 999px;
  background: #e6a921;
  flex: 0 0 auto;
}

.clinic-sp-menu__submenu-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 23px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #e6a921;
  border-right: 2px solid #e6a921;
  transform: translateY(-50%) rotate(45deg);
}

.clinic-sp-menu__reservation {
  margin-top: 32px;
  padding-inline: 20px;
  text-align: center;
}

.clinic-sp-menu__reservation a {
  margin-inline: auto;
}

.clinic-sp-menu__reservation-logo {
  width: min(100%, 302px);
  margin-top: 24px;
}

.clinic-sp-menu__contact {
  margin-top: -4px;
}

.clinic-sp-menu__clinic-name {
  margin: 0;
  color: #82654d;
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.clinic-sp-menu__tel {
  margin-top: 16px;
  gap: 6px;
  color: #474747;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: 1.6px;
}

.clinic-sp-menu__tel::before {
  width: 24px;
  height: 24px;
}

.clinic-sp-menu__nav {
  margin-top: 9px;
  border-top: 1px solid rgba(227, 128, 64, 0.2);
}

.clinic-sp-menu__link {
  min-height: 60px;
  padding: 0 52px 0 20px;
  border-bottom: 1px solid rgba(227, 128, 64, 0.2);
  color: #474747;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  font-size: var(--fi-fs-base, 16px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.clinic-sp-menu__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 9px;
  height: 9px;
  border-top: 3px solid #e6a921;
  border-right: 3px solid #e6a921;
  transform: translateY(-50%) rotate(45deg);
}

.clinic-sp-menu__reservation {
  margin-top: 32px;
  text-align: center;
}

.clinic-sp-menu__reservation a {
  margin-inline: auto;
}

.clinic-sp-menu__reservation-logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 24px auto 0;
}

.clinic-sp-menu__contact {
  text-align: center;
  color: #474747;
}

.clinic-sp-menu__clinic-name {
  margin: 0;
  color: #82654d;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.clinic-sp-menu__tel {
  margin-top: 17px;
  color: #474747;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.clinic-sp-menu__tel::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  flex: 0 0 auto;
  background: currentcolor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M6.62%2010.79c1.44%202.83%203.76%205.14%206.59%206.59l2.2-2.2c.27-.27.67-.36%201.02-.24%201.12.37%202.33.57%203.57.57.55%200%201%20.45%201%201V20c0%20.55-.45%201-1%201C10.61%2021%203%2013.39%203%204c0-.55.45-1%201-1h3.5c.55%200%201%20.45%201%201%200%201.24.2%202.45.57%203.57.11.35.03.74-.25%201.02l-2.2%202.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M6.62%2010.79c1.44%202.83%203.76%205.14%206.59%206.59l2.2-2.2c.27-.27.67-.36%201.02-.24%201.12.37%202.33.57%203.57.57.55%200%201%20.45%201%201V20c0%20.55-.45%201-1%201C10.61%2021%203%2013.39%203%204c0-.55.45-1%201-1h3.5c.55%200%201%20.45%201%201%200%201.24.2%202.45.57%203.57.11.35.03.74-.25%201.02l-2.2%202.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.clinic-sp-menu__close {
  width: 28px;
  height: 28px;
  min-width: 28px;
  box-sizing: border-box;
  margin-top: 0;
  display: block;
  border: 3px solid currentcolor;
  border-radius: 999px;
  background: transparent;
  color: #e6a921;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex: 0 0 auto;
}

.clinic-sp-menu__close::before {
  content: none;
}

.clinic-sp-menu__close span,
.clinic-sp-menu__close span:first-child,
.clinic-sp-menu__close span:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: currentcolor;
  margin: 0;
}

.clinic-sp-menu__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.clinic-sp-menu__close span:nth-child(2) {
  display: none;
}

.clinic-sp-menu__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.clinic-sp-menu__submenu-toggle {
  appearance: none;
  -webkit-appearance: none;
  justify-content: flex-start;
  text-align: left;
}

.clinic-sp-menu__submenu-toggle::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

.clinic-sp-menu__submenu-toggle > span:first-child {
  margin-right: auto;
}
