/* 共通フッタ（グリーン → ベージュのグラデーション） */
.salon-footer {
  --sf-green: #cfe0d4;
  --sf-beige: #ebe4da;
  --sf-text: #234e3a;
  --sf-muted: #5f6f62;
  --sf-closed: #e08a32;
  --sf-holiday: #f0b8c4;
  --sf-today: #3db7d4;
  --sf-cal-bg: #fbfaf7;
  --sf-cal-line: #d4cfc6;
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 2.4rem 1.15rem 1.15rem;
  background-color: var(--sf-green);
  background-image: linear-gradient(
    90deg,
    #c9ddcf 0%,
    #e4ede6 22%,
    #ebe4da 50%,
    #e4ede6 78%,
    #c9ddcf 100%
  );
  background-size: 280% 100%;
  background-position: 0% 50%;
  animation: salon-footer-grad 36s ease-in-out infinite alternate;
  color: var(--sf-text);
  border-top: 1px solid rgba(35, 78, 58, 0.12);
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.65;
}

body.brand-tone--indiba .salon-footer,
body.brand-tone--yomogi .salon-footer {
  background-color: var(--sf-green);
  color: var(--sf-text);
}

@keyframes salon-footer-grad {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .salon-footer {
    animation: none;
    background-position: 40% 50%;
  }
}

.salon-footer a {
  color: var(--sf-text);
  text-decoration: none;
}

.salon-footer a:hover {
  color: #1e3326;
  text-decoration: underline;
}

.salon-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 2rem 1.75rem;
  align-items: start;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.salon-footer__heading {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #3d5c48;
}

.salon-footer-cal {
  color: #222;
}

.salon-footer-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.salon-footer-cal__month {
  margin: 0;
  color: var(--sf-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.salon-footer-cal__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #6a7a6c;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.salon-footer-cal__nav:hover {
  color: var(--sf-text);
}

.salon-footer-cal__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--sf-cal-bg);
  font-size: 0.7rem;
}

.salon-footer-cal__table th,
.salon-footer-cal__table td {
  width: 14.28%;
  border: 1px solid var(--sf-cal-line);
  text-align: center;
  vertical-align: middle;
}

.salon-footer-cal__table th {
  padding: 0.28rem 0;
  background: #ececec;
  color: #444;
  font-weight: 700;
}

.salon-footer-cal__table th.is-sun {
  color: #c43c3c;
}

.salon-footer-cal__table th.is-sat {
  color: #2a5f9e;
}

.salon-footer-cal__day {
  height: 1.85rem;
  padding: 0;
  background: #fff;
  color: #222;
}

.salon-footer-cal__day span,
.salon-footer-cal__day a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 1.85rem;
  color: inherit;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.salon-footer-cal__day.is-adjacent {
  color: #bbb;
  background: #f3f3f3;
}

.salon-footer-cal__day.is-closed {
  background: var(--sf-closed);
  color: #fff;
  font-weight: 700;
}

.salon-footer-cal__day.is-holiday {
  background: var(--sf-holiday);
  color: #5a3038;
  font-weight: 700;
}

.salon-footer-cal__day.is-closed.is-holiday {
  background: var(--sf-holiday);
  color: #5a3038;
}

.salon-footer-cal__day.is-today span,
.salon-footer-cal__day.is-today a {
  box-shadow: inset 0 0 0 2px var(--sf-today);
  font-weight: 800;
}

.salon-footer-cal__day.has-event a::after,
.salon-footer-cal__day.has-event span::after {
  content: "";
  position: absolute;
  bottom: 0.18rem;
  left: 50%;
  width: 0.28rem;
  height: 0.28rem;
  margin-left: -0.14rem;
  border-radius: 50%;
  background: #2f6b4f;
}

.salon-footer-cal__day.is-closed.has-event a::after,
.salon-footer-cal__day.is-closed.has-event span::after {
  background: #fff;
}

.salon-footer-cal__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0.55rem 0 0;
  color: var(--sf-muted);
  font-size: 0.72rem;
}

.salon-footer-cal__legend .swatch {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.28rem;
  vertical-align: -0.08rem;
  border: 1px solid rgba(35, 78, 58, 0.18);
}

.salon-footer-cal__legend .swatch--closed {
  background: var(--sf-closed);
}

.salon-footer-cal__legend .swatch--holiday {
  background: var(--sf-holiday);
}

.salon-footer__shop {
  margin: 0 0 0.12rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sf-text);
}

.salon-footer__shop-sub {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sf-muted);
}

.salon-footer__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #2c3a30;
  font-size: 0.84rem;
}

.salon-footer__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.28rem;
}

.salon-footer__meta .sf-ico {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  margin-top: 0.22rem;
  fill: none;
  stroke: #5a6e5e;
  stroke-width: 1.7;
}

.salon-footer__reservia {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.7rem 0 1rem;
  color: var(--sf-text);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.salon-footer__reservia .sf-ico {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0;
}

.salon-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 0.35rem;
}

.salon-footer__logo {
  display: block;
  height: 2.4rem;
  width: auto;
  max-width: 10.5rem;
}

.salon-footer__sns {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.salon-footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid color-mix(in srgb, var(--sf-text) 35%, transparent);
  border-radius: 50%;
  color: var(--sf-text);
  text-decoration: none;
}

.salon-footer__sns a:hover {
  border-color: var(--sf-text);
  text-decoration: none;
  background: rgba(35, 78, 58, 0.08);
}

.salon-footer__sns svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
}

.salon-footer__map-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4efe8;
  border: 1px solid rgba(35, 78, 58, 0.14);
}

.salon-footer__map-frame iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.salon-footer__copy {
  width: min(1100px, 100%);
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(35, 78, 58, 0.16);
  color: var(--sf-muted);
  font-size: 0.75rem;
  text-align: center;
}

.salon-footer__copy a {
  color: var(--sf-text);
}

@media (max-width: 900px) {
  .salon-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .salon-footer__map-frame iframe {
    height: 240px;
  }
}
