/* 新版 Footer 样式 */
.new-footer {
  background-color: #03205a;
  color: #ffffff;
  padding: 40px 0 20px 0;
  width: 100%;
}

.new-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.new-footer-left {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.new-footer-logo {
  height: 36px;
  width: auto;
  margin: 0 0 10px 0;
}

.new-footer-slogan {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.new-footer-sns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.new-footer-sns a {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s;
}

.new-footer-sns a:hover {
  opacity: 0.8;
}

.new-footer-sns img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: block;
}

.new-footer-nav {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.new-footer-col {
  display: flex;
  flex-direction: column;
}

.new-footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.footer-acc-check {
  display: none;
}

.footer-acc-icon {
  display: none;
}

.footer-acc-label {
  cursor: default;
}

.new-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.new-footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.new-footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-support-primary a {
  color: #ffffff;
  font-weight: 600;
}

.new-footer-right {
  flex: 0 0 350px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.new-footer-payments-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.new-footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.new-footer-payments-row {
  display: contents;
}

.new-footer-payments img {
  height: 40px;
  width: auto;
  border-radius: 4px;
  display: block;
}

.new-footer-certs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.new-footer-certs img {
  height: 48px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.new-footer-certs img:hover {
  opacity: 1;
}

.new-footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
}

.new-footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 768px) {

  .new-footer-sns img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: block;
  }
  .new-footer {
    padding: 30px 15px 20px;
  }
  .new-footer-container {
    flex-direction: column;
    gap: 30px;
  }
  .new-footer-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .new-footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-acc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
  }
  .new-footer-col h4 {
    margin: 0;
  }
  .footer-acc-icon {
    display: block;
    position: relative;
    width: 14px;
    height: 14px;
  }
  .footer-acc-icon::before,
  .footer-acc-icon::after {
    content: "";
    position: absolute;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
  }
  .footer-acc-icon::before {
    width: 14px;
    height: 2px;
  }
  .footer-acc-icon::after {
    width: 2px;
    height: 14px;
  }
  .footer-acc-check:checked ~ .footer-acc-label .footer-acc-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .footer-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    margin: 0;
  }
  .footer-acc-check:checked ~ .footer-acc-content {
    max-height: 300px;
    padding-bottom: 16px;
  }
  .new-footer-col .footer-acc-content {
    gap: 0;
  }
  .new-footer-col .footer-acc-content li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .new-footer-col .footer-acc-content li a::after {
    content: "›";
    flex: 0 0 auto;
    margin-left: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 20px;
    line-height: 1;
  }
  .footer-support-primary {
    margin-bottom: 4px;
  }
  .footer-support-primary a {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .new-footer-col .footer-acc-content li a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
  }
  .new-footer-right {
    flex: 1;
    border-left: none;
    border-top: none;
    padding-left: 0;
    padding-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .new-footer-left {
    width: 100%;
    flex: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: left;
  }
  .new-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .new-footer-sns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 280px;
    margin-top: 10px;
  }
  .new-footer-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .new-footer-payments-row {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  .new-footer-payments img {
    height: 40px;
  }
  .new-footer-certs {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0 auto;
  }
  .new-footer-certs img {
    height: 56px;
  }
}
