/* 頁尾：大黃圓底，照設計稿圓心置中、左右超出畫面 */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.footer::before {
  content: '';
  position: absolute;
  top: min(0.833vw, 16px);
  left: -7.19%;
  width: 114.43%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-yellow);
}

.footer .footer_inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
  padding: min(11.406vw, 219px) 18.75% 30px;
  color: var(--color-text);
  font-family: var(--font-family-tc);
}

.footer .footer_group + .footer_group {
  margin-top: 24px;
}

.footer .footer_title {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
}

.footer .footer_logo {
  width: 221px;
  margin-top: 10px;
}

.footer .footer_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  max-width: 1060px;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  /* 手機：照手機設計稿置中排列，協辦單位一行一個 */
  .footer::before {
    top: 0;
    left: -100%;
    width: 300%;
  }

  .footer .footer_inner {
    padding: 15.625vw 24px 12vw;
    text-align: center;
  }

  .footer .footer_group + .footer_group {
    margin-top: 7vw;
  }

  .footer .footer_title {
    font-size: 1rem;
  }

  .footer .footer_logo {
    width: 28.255vw;
    min-width: 150px;
    margin: 8px auto 0;
  }

  .footer .footer_list {
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    font-size: 0.8125rem;
  }
}
