@charset "UTF-8";

/* ==========================================================================
   SUNSINS Clean Categorized Footer
   ========================================================================== */

.ss-site-footer {
  background-color: #faf9f7;
  border-top: 1px solid #ede8df;
  padding: clamp(36px, 5vw, 56px) 0 24px;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: #2b2f38;
}

.ss-site-footer *,
.ss-site-footer *::before,
.ss-site-footer *::after {
  box-sizing: border-box;
}

.ss-footer-container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}

.ss-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 18px;
  margin-bottom: clamp(32px, 4vw, 44px);
}

@media (min-width: 782px) {
  .ss-footer-grid {
    grid-template-columns: 1.15fr 1.05fr 1fr 1fr;
    gap: 36px;
  }
}

.ss-footer-col {
  min-width: 0;
}

.ss-footer-col-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 14px;
  padding-bottom: 7px;
  border-bottom: 2px solid #e2dad0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #1f2329;
}

.ss-footer-col-title span {
  font-size: 11.5px;
  font-weight: 600;
  color: #6b7280;
}

.ss-footer-subgroup {
  margin-bottom: 14px;
}

.ss-footer-subgroup:last-child {
  margin-bottom: 0;
}

.ss-footer-group-name {
  display: block;
  margin-bottom: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #d97886;
}

.ss-footer-group-name a {
  color: inherit;
  text-decoration: none;
}

.ss-footer-group-name a:hover,
.ss-footer-group-name a:focus-visible {
  text-decoration: underline;
}

.ss-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ss-footer-links li {
  margin: 0 0 6px;
  padding: 0;
}

.ss-links-flat li {
  margin-bottom: 9px;
}

.ss-footer-links a {
  display: inline-block;
  color: #555e6d;
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ss-footer-links a:hover,
.ss-footer-links a:focus-visible {
  color: #d97886;
  transform: translateX(2px);
}

.ss-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #ede8df;
  text-align: center;
}

.ss-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.ss-legal-nav a {
  color: #717b8c;
  font-size: 11.5px;
  line-height: 1.5;
  text-decoration: none;
}

.ss-legal-nav a:hover,
.ss-legal-nav a:focus-visible {
  color: #1f2329;
  text-decoration: underline;
}

.ss-copyright {
  margin: 0;
  color: #8c96a5;
  font-size: 11px;
  line-height: 1.5;
}

@media (min-width: 782px) {
  .ss-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .ss-legal-nav {
    justify-content: flex-start;
  }

  .ss-copyright {
    text-align: right;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .ss-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ss-footer-col-title {
    font-size: 15px;
  }

  .ss-footer-links a {
    font-size: 12.5px;
  }
}
