/* Tetoma 统一页脚样式，移植自 www.tetoma.co.jp all.css (1326-1423 + media) */
.footer-main { margin-bottom: 0; }

.footer-main .footer-top {
  background: linear-gradient(to right, #73ba9d 0%, #15b0bd 40%, #b7c18e 85%, #cbc383 100%);
  padding: 60px 20px;
  position: relative;
}
.footer-main .footer-top-content {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr auto; align-items: center; gap: 0;
}
.footer-main .footer-logo { display: flex; justify-content: center; margin-left: 9rem; }
.footer-main .footer-logo img { max-width: 200px; height: auto; display: block; }

.footer-main .footer-links { display: flex; flex-direction: column; gap: 15px; align-items: flex-end; }
.footer-main .footer-link {
  font-size: 18px; color: white; text-decoration: none;
  transition: opacity 0.3s ease; font-weight: 500; letter-spacing: 2px;
}
.footer-main .footer-link:hover { opacity: 0.8; }

.footer-main .footer-bottom { background-color: #9bebf2; padding: 60px 20px; }
.footer-main .footer-bottom-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-main .footer-bottom-title { margin: 0 0 50px 0; transform: skew(-10deg); display: inline-block; }
.footer-main .footer-bottom-title img { width: 60%; }

.footer-main .footer-services {
  display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap;
}
.footer-main .service-logo { display: flex; align-items: center; justify-content: center; min-height: 80px; }
.footer-main .service-logo img { max-width: 200px; height: auto; display: block; }
.footer-main .footer-bottom-dosuku {
  background-color: #ffffff; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 24px 32px; padding: 22px 40px;
}
.footer-main .dosuku-badges {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 10px;
}
.footer-main .dosuku-badge { height: 74px; width: auto; display: block; object-fit: contain; }
.footer-main .dosuku-badge-wide { height: 60px; }
.footer-main .dosuku-link {
  display: inline-flex; align-items: center; background-color: #35b8c2; color: #ffffff;
  font-size: 17px; font-weight: 600; letter-spacing: 1px; text-decoration: none;
  padding: 16px 30px; border-radius: 999px; white-space: nowrap;
  box-shadow: 2px 6px 0 0 #9bebf2; transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.footer-main .dosuku-link:hover { opacity: 0.92; box-shadow: 0 8px 0 0 #9bebf2; }

.footer-main .footer-copyright {
  background-color: #ffffff; text-align: center; color: #999;
  font-size: 13px; font-weight: 400; letter-spacing: 1px; padding: 16px 20px 22px;
}

/* ===== 响应式 ===== */
@media (max-width: 1366px) {
  .footer-main .footer-logo { margin-left: 4rem; }
}
@media (min-width: 900px) and (max-width: 1366px) and (orientation: landscape) {
  .footer-main .footer-top-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-main .footer-logo { margin-left: 0; }
  .footer-main .footer-links { align-items: center; }
}
@media (min-width: 668px) and (max-width: 1024px) and (orientation: portrait) {
  .footer-main .footer-top-content { grid-template-columns: 1fr; gap: 36px; }
  .footer-main .footer-logo { margin-left: 0; }
  .footer-main .footer-links { align-items: center; }
  .footer-main .footer-bottom-title img { width: 75%; }
}
@media (max-width: 667px) and (orientation: portrait) {
  .footer-main .footer-top-content { grid-template-columns: 1fr; gap: 28px; }
  .footer-main .footer-logo { margin-left: 0; }
  .footer-main .footer-logo img { max-width: 130px; }
  .footer-main .footer-links { align-items: center; }
  .footer-main .footer-bottom-title img { width: 95%; }
  .footer-main .footer-services { flex-direction: column; gap: 24px; }
  .footer-main .footer-bottom-dosuku { flex-direction: column; gap: 18px; padding: 20px 16px; }
  .footer-main .dosuku-badges { gap: 12px 14px; }
  .footer-main .dosuku-badge { height: 46px; }
  .footer-main .dosuku-badge-wide { height: 38px; }
  .footer-main .dosuku-link {
    margin-left: 0; width: 100%; justify-content: center; text-align: center;
    white-space: normal; font-size: 15px; padding: 14px 20px; line-height: 1.5;
  }
  .footer-main .footer-copyright { font-size: 12px; letter-spacing: .5px; padding: 14px 12px 18px; }
}
