.fc-footer {
  --fcf-slate: var(--slate, #27323a);
  --fcf-ivory: var(--cream, #f5ecd8);
  --fcf-paper: var(--paper, #fff9ed);
  --fcf-green: var(--green, #14362e);
  --fcf-copper: var(--copper, #b66d3b);
  --fcf-line: rgba(var(--slate-rgb, 39, 50, 58), 0.14);
  --fcf-muted: rgba(var(--slate-rgb, 39, 50, 58), 0.62);
  --fcf-row-gap: 8px;
  border-top: 0;
  border-block-start: 0;
  color: var(--fcf-slate);
  font-family: "PingFang TC", "Noto Sans TC", "Hiragino Sans", "Microsoft JhengHei", system-ui, sans-serif;
  letter-spacing: 0;
}

.fc-footer,
.fc-footer * {
  box-sizing: border-box;
}

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

.fc-footer__inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.fc-footer__main,
.fc-footer__side,
.fc-footer__brandline,
.fc-footer__links {
  min-width: 0;
}

.fc-footer__brandline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fcf-row-gap);
  color: var(--fcf-slate);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.fc-footer__brand,
.fc-footer__product {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.fc-footer__brand {
  gap: 10px;
  color: inherit;
  white-space: nowrap;
}

.fc-footer__mark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--fcf-ivory), var(--fcf-copper));
  box-shadow:
    inset 0 0 0 1px rgba(var(--cream-rgb, 245, 236, 216), 0.5),
    0 0 0 1px rgba(var(--green-rgb, 20, 54, 46), 0.1);
}

.fc-footer__divider {
  display: none;
}

.fc-footer__product {
  color: rgba(var(--slate-rgb, 39, 50, 58), 0.78);
  font-weight: 420;
}

.fc-footer__note,
.fc-footer__legal {
  margin: 0;
  color: var(--fcf-muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 420;
}

.fc-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: rgba(var(--slate-rgb, 39, 50, 58), 0.68);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 420;
}

.fc-footer__link:hover {
  color: var(--fcf-green);
}

.fc-footer--quiet {
  padding: 28px 0 38px;
}

.fc-footer--quiet .fc-footer__inner,
.fc-footer--quiet .fc-footer__main,
.fc-footer--quiet .fc-footer__side {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.fc-footer--quiet .fc-footer__brandline,
.fc-footer--quiet .fc-footer__links {
  justify-content: center;
}

.fc-footer--ledger {
  padding: 34px 0 42px;
  background:
    linear-gradient(90deg, rgba(var(--green-rgb, 20, 54, 46), 0.026) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(var(--green-rgb, 20, 54, 46), 0.02) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--fcf-paper);
}

.fc-footer--ledger .fc-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.fc-footer--ledger .fc-footer__main,
.fc-footer--ledger .fc-footer__side {
  display: grid;
  gap: var(--fcf-row-gap);
}

.fc-footer--ledger .fc-footer__side {
  justify-items: end;
  text-align: right;
}

.fc-footer--band {
  padding: 38px 0 44px;
  color: var(--fcf-ivory);
  background: var(--fcf-green);
}

.fc-footer--band .fc-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.fc-footer--band .fc-footer__main,
.fc-footer--band .fc-footer__side {
  display: grid;
  gap: var(--fcf-row-gap);
}

.fc-footer--band .fc-footer__brandline {
  color: var(--fcf-ivory);
}

.fc-footer--band .fc-footer__product,
.fc-footer--band .fc-footer__note,
.fc-footer--band .fc-footer__legal,
.fc-footer--band .fc-footer__links {
  color: rgba(var(--cream-rgb, 245, 236, 216), 0.72);
}

.fc-footer--band .fc-footer__divider {
  color: rgba(var(--cream-rgb, 245, 236, 216), 0.42);
}

.fc-footer--band .fc-footer__mark {
  box-shadow:
    inset 0 0 0 1px rgba(var(--cream-rgb, 245, 236, 216), 0.5),
    0 0 0 1px rgba(var(--cream-rgb, 245, 236, 216), 0.12);
}

.fc-footer--band .fc-footer__link:hover {
  color: var(--fcf-ivory);
}

.fc-footer--band .fc-footer__side {
  justify-items: end;
  text-align: right;
}

@media (max-width: 720px) {
  .fc-footer__inner {
    width: min(1160px, calc(100% - 24px));
  }

  .fc-footer--ledger .fc-footer__inner,
  .fc-footer--band .fc-footer__inner {
    grid-template-columns: 1fr;
  }

  .fc-footer--ledger .fc-footer__side,
  .fc-footer--band .fc-footer__side {
    justify-items: start;
    text-align: left;
  }

  .fc-footer__brandline {
    align-items: flex-start;
    font-size: 15px;
  }

  .fc-footer--quiet .fc-footer__brandline,
  .fc-footer--quiet .fc-footer__links {
    justify-content: center;
  }

  .fc-footer--quiet .fc-footer__product {
    padding-left: 0;
    align-self: center;
  }
}
