@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500&family=Zen+Old+Mincho:wght@400&display=swap");

:root {
  --footer-blue: #216bda;
  --link-blue: #216bda;
  --footer-dark-blue: #13458d;
  --footer-text: #212121;
  --footer-white: #f7f7f7;
  --footer-border: #d9d9d9;
}

.site-footer {
  color: var(--footer-text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.site-footer .container {
  max-width: 1024px;
}

.site-footer p {
  margin: 0;
}

/* スマホ用固定フッター */
.site-mobile-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-height: 3.75rem;
  padding: 0.375rem 0.625rem;
  background-color: #bed6fb;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 90rem 45.875rem;
  background-blend-mode: multiply;
}

.site-mobile-footer__telephone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: center;
  /* width: 10.5rem; */
  max-width: 100%;
  color: #13458d;
  font-family: "Noto Sans JP", sans-serif;
  text-align: right;
}

.site-mobile-footer__reception-hours {
  width: 100%;
  font-size: 0.5625rem;
  font-weight: 300;
  line-height: 1.3;
  text-align: right;
}

.site-mobile-footer__phone-number {
  width: 100%;
  margin-top: 0.125rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: right;
}

.site-mobile-footer__phone-number a {
  color: inherit;
  text-decoration: none;
}

.site-mobile-footer__contact {
  display: grid;
  justify-self: center;
  width: 100%;
  max-width: 11.5rem;
  min-height: 3rem;
  margin-left: 0;
  padding: 0.25rem 0.75rem;
  place-items: center;
  border-radius: 0.25rem;
  background-color: var(--footer-blue);
  color: var(--footer-white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-mobile-footer__contact p {
  margin: 0;
}

.site-mobile-footer__contact:hover,
.site-mobile-footer__contact:focus-visible {
  color: var(--footer-white);
  opacity: 0.75;
  text-decoration: none;
}

.back-to-top-wrapper {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9;
}

.back-to-top {
  display: none;
  width: 3rem;
  height: 3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  visibility: hidden;
}

.back-to-top img {
  display: block;
  width: 100%;
  height: 100%;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  opacity: .75;
}

.site-footer__navigation-area {
  padding: 5rem 0;
  background-color: #fff;
}

.site-footer__navigation-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 22rem;
  margin: 0 auto;
}

.site-footer__navigation-link {
  position: relative;
  padding: 1rem;
  color: var(--footer-text);
  font-size: .875rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.site-footer__navigation-link:hover,
.site-footer__navigation-link:focus-visible,
.site-footer__address a:hover,
.site-footer__address a:focus-visible {
  color: inherit;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: .25rem;
}

.site-footer__navigation-link + .site-footer__navigation-link::before {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1rem;
  background-color: var(--footer-text);
  content: "";
  transform: translateY(-50%);
}

.site-footer__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.site-footer__button {
  display: grid;
  box-sizing: border-box;
  width: 11.5rem;
  height: 3rem;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.site-footer__button p {
  margin: 0;
}

.site-footer__button--contact {
  background-color: var(--footer-blue);
  color: var(--footer-white);
}

.site-footer__button--contact:hover,
.site-footer__button--contact:focus-visible {
  color: var(--footer-white);
  text-decoration: none;
}

.site-footer__button--student {
  background-color: var(--footer-white);
  border-color: var(--footer-border);
  color: var(--footer-text);
  font-size: .875rem;
}

.site-footer__button--student:hover,
.site-footer__button--student:focus-visible {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer__button:hover,
.site-footer__button:focus-visible {
  box-shadow: none;
  opacity: .75;
}

.site-footer__information-area {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  background-color: var(--footer-white);
  border-top: 1px solid var(--footer-white);
}

.effect-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}

.effect-noise img {
  display: block;
  width: 100%;
  min-width: 1440px;
  height: 100%;
  object-fit: cover;
}

.site-footer__information-area .container {
  position: relative;
  z-index: 1;
}

/* .site-footer__information-row {
  align-items: center;
} */

.site-footer__information {
  padding: 1.5rem 0;
}

.site-footer__catchcopy {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--footer-dark-blue);
  font-family: "Zen Old Mincho", serif;
}

.site-footer__catchcopy div:first-child {
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--footer-dark-blue);
  font-family: "Noto Sans JP", sans-serif;
  font-size: .875rem;
  font-weight: 500;
}

.site-footer__catchcopy div + div {
  margin-top: .5rem;
  font-size: 1.25rem;
}

.site-footer__logo {
  display: block;
  width: 8rem;
  height: auto;
  margin-bottom: 1.5rem;
}

.site-footer__address {
  font-family: "Zen Old Mincho", serif;
  font-size: .875rem;
  line-height: 1.65;
}

.site-footer__address a {
  color: inherit;
  text-decoration: none;
}

.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 23rem;
  border: 0;
}

.site-footer__copyright {
  padding: 1rem 50px 1rem 0;
  border-top: 1px solid var(--footer-border);
  background-color: var(--footer-white);
  font-family: "Zen Old Mincho", serif;
  font-size: .875rem;
  text-align: right;
}

@media (min-width: 768px) {
  .site-mobile-footer {
    display: none;
  }

  .back-to-top-wrapper {
    right: 3rem;
    bottom: 3rem;
  }

  .back-to-top {
    display: block;
    width: 4rem;
    height: 4rem;
  }

  .site-footer__navigation-links {
    display: flex;
    justify-content: center;
    max-width: none;
  }

  .site-footer__navigation-link {
    padding: 0 1rem;
  }

  .site-footer__navigation-link + .site-footer__navigation-link::before {
    display: block;
  }
}
