/* Shared footer, scoped so the contact form and detail pages use the same layout. */
.site-footer,
.site-footer * { box-sizing: border-box; }
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #b3b3b3;
  color: #fff;
  font-family: serif;
  font-size: 16px;
  line-height: 1.7;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer p { margin: 0 0 16px; color: #fff; }
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}
.site-footer .leadTo_contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5%;
  text-align: center;
}
.site-footer .footer_contact_title {
  margin-bottom: 32px;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .1em;
}
.site-footer .footer_contact_message {
  margin: 0 0 28px;
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: .1em;
  text-align: center;
}
.site-footer .footer_contact_link {
  min-width: 240px;
  max-width: 100%;
  padding: 12px 24px;
  border: 3px solid #fff;
  border-radius: 30px;
  font-size: 1rem;
  letter-spacing: .08em;
}
.site-footer .footer_contact_link:hover { color: #040f28; background: #fff; }
.site-footer .footerList {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3%;
  width: 100%;
  height: auto;
  min-height: 300px;
  padding: 3%;
  background: #040f28c4;
}
.site-footer .footerList > * { min-width: 0; max-width: 100%; }
.site-footer .footer_info_logo { flex: 0 1 17%; }
.site-footer .footer_info { flex: 1 1 60%; }
.site-footer .footer_info > ul { display: flex; justify-content: space-around; gap: 24px; }
.site-footer .footer_info ul li a {
  display: block;
  width: auto;
  color: #fff;
  font-size: .9em;
}
.site-footer .info_index {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 3%;
  font-weight: bold;
  letter-spacing: .15em;
}
.site-footer .footer_about_column { display: flex; flex-direction: column; gap: 30px; }
.site-footer .footer_service_column { flex: 0 1 auto; width: auto; min-width: 0; }
.site-footer .footer_service_column .footer_about_list a { white-space: normal; }
.site-footer .footer_about_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-size: .8em;
}
.site-footer .footer_info .index_others { display: block; height: auto; }
.site-footer .footer_bottom { flex: 0 1 20%; overflow-wrap: anywhere; }
.site-footer .footer_contact_icon { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 16px; }
.site-footer .footer_contact_icon li { flex: 0 0 36px; width: 36px; height: 36px; margin: 0; }
.site-footer .footer_contact_icon img { height: 36px; aspect-ratio: 1; }
.site-footer .footer_page_top { display: inline-block; margin-bottom: 16px; }
.site-footer small { position: static; display: block; width: auto; margin: 0; color: #fff; }
@media screen and (max-width: 960px) {
  .site-footer .leadTo_contact { padding: 48px 20px; }
  .site-footer .footerList { flex-direction: column; gap: 32px; padding: clamp(16px, 4vw, 32px); }
  .site-footer .footerList > * { flex: 0 1 auto; width: 100%; }
  .site-footer .footer_info_logo { width: min(200px, 100%); }
  .site-footer .footer_info > ul { flex-direction: column; gap: 24px; }
}
