/* ========================================================================
   Home CTA Banners + Site Footer (refreshed design)
   ======================================================================== */

/* ---------- CTA Banner Area ---------- */
.home-cta-banners {
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 28%, #ffffff 100%);
  padding: 56px 20px 64px;
  border-top: none;
}

.home-cta-banners::before {
  content: none;
  display: none;
}

.home-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 30, 63, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 30, 63, 0.22);
}

.cta-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.cta-card:hover .cta-card__bg {
  transform: scale(1.04);
}

.cta-card__overlay,
.cta-card__overlay--dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 18, 40, 0.72) 0%,
    rgba(8, 18, 40, 0.55) 48%,
    rgba(8, 18, 40, 0.78) 100%
  );
  z-index: 1;
}

.cta-card__calendar {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  opacity: 0.92;
  pointer-events: none;
}

.mini-cal {
  width: 118px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 8px 8px 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.mini-cal__head {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0B1E3F;
  text-align: center;
  margin-bottom: 6px;
}

.mini-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.mini-cal__grid span {
  display: block;
  aspect-ratio: 1;
  border-radius: 3px;
  background: #d9e3f0;
}

.mini-cal__grid span.on {
  background: #ff6600;
}

.cta-card__body {
  position: relative;
  z-index: 3;
  padding: 28px 24px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cta-card__title--dark {
  color: #0b1e3f;
  text-shadow: none;
}

.cta-card__en {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
}

.cta-card__en--dark {
  color: #4a5a78;
}

.cta-card__desc {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 92%;
}

.cta-card__desc--dark {
  color: #2d3a52;
}

.cta-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-width: 168px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0B1E3F !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.cta-card__btn:hover {
  transform: translateY(-2px);
  background: #f4f7fc;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  color: #0B1E3F !important;
}

/* ---------- Site Footer ---------- */
.site-footer {
  background: #0b1e3f;
  color: #ffffff;
  padding: 56px 20px 0;
  margin-top: 0;
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px 48px;
  padding-bottom: 40px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: #ffffff !important;
  margin-bottom: 14px;
}

.site-footer__nap {
  margin: 0 0 16px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.site-footer__nap a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.site-footer__nap a:hover {
  text-decoration: underline !important;
}

.site-footer__logo img {
  width: 72px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.site-footer__logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__logo-text strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
  writing-mode: horizontal-tb;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.site-footer__logo-text em {
  font-style: normal;
  font-size: 11px;
  color: #a0aec0;
  letter-spacing: 0.03em;
}

.site-footer__sns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer__sns a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.site-footer__sns .sns-x,
.site-footer__sns .sns-threads {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.site-footer__sns .sns-threads svg {
  display: block;
}

.site-footer__contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 22px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0b1e3f !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  color: #0b1e3f !important;
}

.site-footer__heading {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin: 0 0 10px;
}

.site-footer__links a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s ease;
  display: inline-block;
  min-height: 28px;
}

.site-footer__links a:hover {
  color: #ffffff !important;
}

.site-footer__links--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}

.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 12px 22px;
  text-align: center;
}

.site-footer__copy p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff !important;
  letter-spacing: 0.03em;
}

.site-footer__copy p.site-footer__tagline {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72) !important;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* Hide legacy bottom chrome if still present */
.bottom-wrapper {
  display: none !important;
}

#snsicon {
  display: none !important;
}

#topbt {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .home-cta-inner {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .cta-card {
    min-height: 300px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .home-cta-banners {
    padding: 32px 16px 40px;
  }

  .home-cta-inner {
    gap: 18px;
  }

  .cta-card {
    min-height: 280px;
    border-radius: 16px;
  }

  .cta-card__title {
    font-size: 24px;
  }

  .cta-card__calendar {
    right: 12px;
    top: 12px;
  }

  .mini-cal {
    width: 96px;
  }

  .site-footer {
    padding: 40px 16px 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__links--2col {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__links a {
    min-height: 36px;
    padding: 4px 0;
  }

  .site-footer__sns a {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .site-footer__links--2col {
    grid-template-columns: 1fr;
  }

  .site-footer__logo {
    align-items: flex-start;
  }

  .site-footer__logo img {
    width: 52px;
  }

  .site-footer__logo-text strong {
    font-size: 14px;
    max-width: 12em;
  }

  .cta-card__title {
    font-size: 22px;
  }

  .cta-card__desc {
    font-size: 13px;
    line-height: 1.7;
  }
}
