.site-footer {
  background: #4A9B7F;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-access {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 58px;
  background: #fff;
  color: #262626;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.footer-logo {
  width: 203px;
  display: block;
  margin-bottom: 42px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer .shared-schedule {
  width: 100%;
  margin: 0 0 54px;
  border-collapse: collapse;
}

.site-footer .shared-schedule th,
.site-footer .shared-schedule td {
  min-width: 54px;
  padding: 8px 6px;
  text-align: center;
  font-size: 20px;
  line-height: 1.25;
  font-weight: normal;
}

.site-footer .shared-schedule th {
  background: #fff;
}

.site-footer .shared-schedule :where(th, td) {
  border: 0;
}

.site-footer .shared-schedule thead th {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(38,38,38,.18);
  font-weight: normal;
}

.site-footer .shared-schedule th:first-child {
  min-width: 155px;
  border-right: 1px solid rgba(38,38,38,.18);
  text-align: center;
  white-space: nowrap;
  font-weight: normal;
}

.site-footer .shared-schedule tbody th {
  font-family: "Noto Sans JP", sans-serif;
}

.site-footer .shared-schedule td {
  color: #BAA267;
}

.site-footer .shared-schedule td:nth-child(4),
.site-footer .shared-schedule td:nth-child(8) {
  color: #262626;
}

.site-footer .shared-schedule tbody tr:nth-child(2) td:nth-child(5),
.site-footer .shared-schedule tbody tr:nth-child(2) td:nth-child(7) {
  color: #262626;
}

.site-footer .shared-schedule tbody tr:nth-child(2) td:nth-child(7) {
  font-size: clamp(12px, .82vw, 16px);
  line-height: 1.45;
}

.footer-info-list {
  margin: 0;
}

.footer-info-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  margin: 12px 0;
}

.footer-info-list dt {
  color: #A97723;
}

.footer-info-list dd {
  margin: 0;
  line-height: 1.75;
}

.footer-map {
  padding-top: 10px;
}

.footer-map .map-embed {
  width: 100%;
  aspect-ratio: 400 / 236;
  overflow: hidden;
  background: #d9d9d9;
}

.footer-map .map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-access-title {
  margin: 62px 0 22px;
  color: #BAA267;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  letter-spacing: .18em;
}

.footer-map .access-buttons {
  display: grid;
  gap: 22px;
  justify-content: start;
}

.footer-map .access-buttons a {
  min-width: 200px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #4A9B7F;
  background: #fff;
  color: #4A9B7F;
  font-family: "Zen Old Mincho", serif;
  line-height: 1.45;
  text-align: center;
}

.footer-map .access-buttons a:hover {
  background: #4A9B7F;
  color: #fff;
}

.footer-inner {
  width: min(1660px, calc(100% - 96px));
  min-height: 460px;
  margin: 0 auto;
  padding: 58px 0 52px;
  display: grid;
  grid-template-columns: 100px 260px 1px minmax(0, 1fr);
  column-gap: clamp(32px, 3.9vw, 64px);
  align-items: start;
}

.footer-nav {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 12px 104px;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  line-height: 1.25;
}

.footer-nav a:nth-child(-n + 8) {
  grid-column: 1;
}

.footer-nav a:nth-child(n + 9) {
  grid-column: 2;
}

.footer-nav a:nth-child(9) {
  grid-row: 1;
}

.footer-nav a:nth-child(10) {
  grid-row: 2;
}

.footer-nav a:nth-child(11) {
  grid-row: 3;
}

.footer-inner::before {
  content: "";
  width: 1px;
  height: 262px;
  background: rgba(255,255,255,.72);
  grid-column: 3;
  grid-row: 1;
}

.footer-treatments {
  grid-column: 4;
  font-family: "Zen Old Mincho", serif;
}

.footer-treatments p {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: normal;
}

.footer-treatments div {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 11px 13px;
  font-size: clamp(14px, .98vw, 16px);
  line-height: 1.4;
}

.footer-nav a:hover,
.footer-treatments a:hover {
  color: #BAA267;
}

.copyright {
  grid-column: 4;
  margin: 0;
  padding-top: 0;
  text-align: right;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  font-weight: normal;
}

.sp-fixed-actions {
  display: none;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .footer-treatments div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 991px) {
  .footer-access,
  .footer-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .footer-access {
    gap: 34px;
    padding: 56px 0;
  }

  .footer-inner {
    gap: 28px;
    min-height: 0;
  }

  .footer-nav {
    gap: 12px 48px;
    font-size: 16px;
  }

  .footer-inner::before {
    display: none;
  }

  .footer-treatments,
  .copyright {
    grid-column: auto;
  }

  .footer-treatments div {
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 15px;
  }

  .copyright {
    margin-top: 24px;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .footer-access {
    width: 100%;
    padding: 48px 20px 52px;
    box-shadow: none;
    clip-path: none;
  }

  .footer-info-column,
  .footer-map {
    display: contents;
  }

  .footer-info {
    order: 1;
  }

  .footer-map .map-embed {
    order: 2;
    margin-top: 10px;
  }

  .footer-location {
    order: 3;
    margin-top: 0px;
  }

  .footer-location .footer-info-list div:first-of-type {
    margin-top: 0;
  }

  .footer-access-title {
    order: 4;
  }

  .footer-map .access-buttons {
    order: 5;
    margin-top: -16px;
  }

  .footer-logo {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-inner {
    width: calc(100% - 40px);
    padding: 44px 0 50px;
    gap: 0;
  }

  .footer-info-list div {
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 37px 0 0;
  }

  .site-footer .shared-schedule {
    margin-bottom: 10px;
  }

  .site-footer .shared-schedule th,
  .site-footer .shared-schedule td {
    box-sizing: border-box;
    min-width: 0;
    padding: 6px 2px;
    font-size: 11px;
    line-height: 1.25;
    word-break: keep-all;
  }

  .site-footer .shared-schedule th:first-child {
    width: 82px;
    min-width: 82px;
  }

  .site-footer .shared-schedule {
    width: max(100%, 390px);
    max-width: none;
    table-layout: fixed;
  }

  .site-footer .shared-schedule tbody th {
    font-size: 11px;
    white-space: nowrap;
  }

  .site-footer .shared-schedule tbody tr:nth-child(2) td:nth-child(7) {
    font-size: 10px;
    line-height: 1.35;
  }

  .site-footer .shared-schedule thead th:first-child,
  .site-footer .shared-schedule thead th:last-child {
    font-size: 10px;
  }

  .footer-info {
    max-width: 100%;
    overflow-x: visible;
  }

  .schedule-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer-info-list,
  .footer-logo {
    min-width: 0;
  }

  .footer-map {
    max-width: 100%;
    overflow: hidden;
  }

  .footer-map .access-buttons a {
    min-width: 0;
  }

  .footer-nav {
    width: 100%;
    grid-template-columns: max-content max-content;
    gap: 16px 54px;
    justify-content: start;
    font-size: 17px;
    line-height: 1.35;
  }

  .footer-nav a:nth-child(-n + 8) {
    grid-column: 1;
  }

  .footer-nav a:nth-child(n + 9) {
    grid-column: 2;
  }

  .footer-nav a:nth-child(9) {
    grid-row: 1;
  }

  .footer-nav a:nth-child(10) {
    grid-row: 2;
  }

  .footer-nav a:nth-child(11) {
    grid-row: 3;
  }

  .footer-treatments {
    margin-top: 34px;
  }

  .footer-treatments p {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .footer-treatments div {
    grid-template-columns: max-content max-content;
    gap: 14px 30px;
    font-size: 16px;
    line-height: 1.5;
  }

  .footer-treatments div a:nth-child(-n + 2),
  .footer-treatments div a:nth-child(5),
  .footer-treatments div a:nth-child(n + 6) {
    grid-column: 1 / -1;
  }

  .copyright {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    margin-top: 42px;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
    padding: 20px 0 0;
  }

  .footer-map .access-buttons {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 12px;
    justify-content: stretch;
  }

  .footer-map .access-buttons a {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 8px 6px;
    font-size: clamp(13px, 3.8vw, 16px);
    overflow-wrap: anywhere;
  }

  .footer-access-title {
    width: 100%;
    max-width: 100%;
    margin: 4px 0 0px;
    text-align: center;
    font-size: 20px;
  }

  body {
    padding-bottom: 49px;
  }

  .sp-fixed-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 49px;
    background: #fff;
    box-shadow: none;
  }

  .sp-fixed-actions a {
    --sp-fixed-icon-size: 14px;
    --sp-fixed-icon: url("../images/figma-cataract/icon-web-reservation.svg");
    min-width: 0;
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #A97723;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #BAA267;
    border-right-width: 0;
  }

  .sp-fixed-actions a::before {
    content: "";
    width: var(--sp-fixed-icon-size);
    height: var(--sp-fixed-icon-size);
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: var(--sp-fixed-icon) center / contain no-repeat;
    mask: var(--sp-fixed-icon) center / contain no-repeat;
  }

  .sp-fixed-actions a:last-child {
    border-right-width: 1px;
  }

  .sp-fixed-actions .sp-fixed-action-tel {
    --sp-fixed-icon: url("../images/header-icon-tel.svg");
    background: #BAA267;
    color: #fff;
  }

  .sp-fixed-actions .sp-fixed-action-reserve {
    background: #fff;
    color: #BAA267;
  }

  .sp-fixed-actions .sp-fixed-action-line {
    --sp-fixed-icon: url("../images/figma-cataract/icon-line-reservation.svg");
    --sp-fixed-icon-size: 15px;
    background: #4A9B7F;
    border-color: #4A9B7F;
    color: #fff;
  }

  .sp-fixed-actions a:hover {
    opacity: .86;
  }
}
