/*
@include max-pc() {

}
@include mobile-tablet() {

}
@include sp-tablet() {

}
*/
:root {
  --font-eu: "Be Vietnam Pro", sans-serif;
  --font-title: "Montserrat", sans-serif;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-numbers: "Jost", sans-serif;
  --font-color-base: #333333;
  --font-color-deep-blue: #0D2F62;
  --font-color-black: #000000;
  --font-color-soft-blue: #C8D5DF;
  --font-color-gray: #878C9E;
  --font-color-dark: #27272A;
  --font-color-white: #fff;
  --font-color-footer: #6C6F71;
  --font-color-accent-blue: #2F8ACB;
  --font-color-accent-red: #CB2F2F;
  --bg-base: #F0F2F4;
  --bg-main: #A9BCD5;
  --bg-accent-light: #DCEBF7;
  --bg-accent: #227BB6;
  --bg-gray: #878C9E;
  --bg-gray-blue: #D6DAE5;
  --bg-gray-dark: #888D9F;
  --bg-gray-blue-dark: #8A90A2;
  --bg-white: #fff;
  --bg-black: #27272A;
  --bg-sub-purple: #ABAFBB;
  --bg-sub-blue: #AABDD6;
  --bg-deep-blue: #0D2F62;
  --bg-light-blue: #B4C7DE;
  --bg-gray-blue-deep: #8B91A3;
  --border-sub-blue: #AABDD6;
  --border-sub-purple: #ABAFBB;
  --border-white: #fff;
  --border-black: #000;
  --border-soft-blue: #C8D5DF;
  --border-gray: #878C9E;
  --border-light-blue: #B2C5DB;
  --border-gray-blue-dark: #8A90A2;
  --border-accent-blue: #227BB6;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F0F2F4;
}

.footer {
  background-image: linear-gradient(to top right, var(--bg-gray) 0%, var(--bg-light-blue) 100%);
  margin-top: 7.5rem;
  padding: 7.5rem 1rem 1.25rem;
}
@media (max-width: 768px) {
  .footer {
    margin-top: 6.25rem;
    padding: 7.5rem 0 1.5rem;
  }
}
.footer__container {
  --max-width: 1200px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 1240px) {
  .footer__container {
    --max-width: 960px;
  }
}
@media (max-width: 1024px) {
  .footer__container {
    --max-width: 780px;
  }
}
@media (max-width: 768px) {
  .footer__container {
    --max-width: 84%;
  }
}
.footer__container-contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 64.5rem;
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .footer__container-contact {
    max-width: 55.5rem;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  .footer__container-contact {
    max-width: 45rem;
  }
}
@media (max-width: 768px) {
  .footer__container-contact {
    display: block;
    max-width: 84%;
  }
}
.footer__title {
  color: var(--font-color-white);
}
@media (max-width: 768px) {
  .footer__title {
    margin-bottom: 3rem;
  }
}
.footer__title-ja {
  font-size: 1rem;
  font-weight: 300;
  font-family: var(--font-title);
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .footer__title-ja {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  .footer__title-ja {
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .footer__title-ja {
    font-size: 1rem;
    margin-bottom: 0;
  }
}
.footer__title-en {
  font-size: 5rem;
  font-weight: 500;
  font-family: var(--font-title);
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .footer__title-en {
    font-size: 4rem;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  .footer__title-en {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .footer__title-en {
    font-size: clamp(2.5rem, 10vw, 6rem);
  }
}
.footer__text {
  border-left: 1px solid var(--border-white);
  padding-left: 6rem;
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .footer__text {
    padding-left: 5rem;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  .footer__text {
    padding-left: 4.5rem;
  }
}
@media (max-width: 768px) {
  .footer__text {
    padding-left: 0.875rem;
  }
}
.footer__description {
  width: 20rem;
  color: var(--font-color-white);
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-ja);
}
@media (max-width: 768px) {
  .footer__description {
    width: 100%;
  }
}
.footer__button {
  margin-top: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
  background-color: var(--bg-white);
  border: none;
  height: 3.25rem;
  width: 18rem;
  text-decoration: none;
  text-align: center;
  border-radius: 1.625rem;
  overflow: hidden;
  transition: color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .footer__button {
    margin: 4rem 0 0 auto;
  }
}
@media (max-width: 768px) {
  .footer__button {
    width: 13.75rem;
  }
}
.footer__button::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--bg-gray);
  transition: transform 0.5s ease;
}
.footer__button:hover::before {
  transform: translateX(100%);
}
.footer__button:hover .footer__button-text {
  color: var(--font-color-white);
}
.footer__button-text {
  color: var(--font-color-dark);
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-ja);
  text-indent: -1rem;
  z-index: 1;
}
.footer__button-icon {
  width: 36px;
  right: 8px;
  z-index: 3;
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__button-icon-arrow span {
  display: block;
  height: 1px;
  background-color: var(--bg-white);
  z-index: 5;
  position: relative;
}
.footer__button-icon-arrow span:nth-child(1) {
  width: 6px;
  transform: rotate(-45deg) translate(0, 2.5px);
  border-radius: 1px;
  position: absolute;
  margin-left: 5.8px;
}
.footer__button-icon-arrow span:nth-child(2) {
  width: 6px;
  transform: rotate(45deg) translate(0, -2.5px);
  border-radius: 1px;
  position: absolute;
  margin-left: 5.8px;
}
.footer__button-icon-arrow span:nth-child(3) {
  width: 12px;
}
.footer__button:hover .footer__button-icon {
  background-color: var(--bg-white);
}
.footer__button:hover .footer__button-icon span {
  background-color: var(--bg-gray);
}
.footer__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5.5rem;
  border-top: 1px solid var(--border-white);
  padding-top: 1rem;
}
@media (max-width: 768px) {
  .footer__nav {
    align-items: stretch;
  }
}
.footer__menu-item {
  display: inline-block;
  margin: 0 1.125rem;
  position: relative;
}
.footer__menu-item::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--border-white);
  opacity: 0;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .footer__menu-item::after {
    content: none;
  }
}
.footer__menu-item:hover::after {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .footer__menu-item {
    display: block;
    margin: 0.6875rem 0;
  }
}
.footer__menu-item a {
  color: var(--font-color-white);
  font-size: 1rem;
  font-weight: 300;
  font-family: var(--font-eu);
  text-decoration: none;
}
.footer__menu-item:first-child {
  margin-left: 0;
}
@media (max-width: 768px) {
  .footer__menu-item:first-child {
    margin-top: 0;
  }
}
.footer__menu-item:last-child {
  margin-right: 0;
}
@media (max-width: 768px) {
  .footer__menu-item:last-child {
    margin-bottom: 0;
  }
}
.footer__utils {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer__to-top {
  position: relative;
  width: 2.938rem;
  height: 2.938rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--bg-white);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .footer__to-top {
    margin: 0 0 0 auto;
    align-self: flex-start;
  }
}
.footer__to-top:hover {
  background-color: var(--bg-gray-dark);
}
.footer__to-top:hover .footer__arrow span {
  background-color: var(--bg-white);
}
.footer__arrow span {
  background-color: var(--bg-gray-dark);
  position: absolute;
  width: 7px;
  height: 1px;
  border-radius: 1px;
  transition: background-color 0.3s ease;
}
.footer__arrow span:nth-child(1) {
  transform: rotate(45deg) translate(-1px, 1px);
}
.footer__arrow span:nth-child(2) {
  transform: rotate(-45deg) translate(-4px, -4px);
}
@media (max-width: 768px) {
  .footer__policy {
    align-self: flex-end;
  }
}
.footer__policy--sp {
  display: none;
}
@media (max-width: 768px) {
  .footer__policy--sp {
    display: block;
    margin: auto 0 0 0;
  }
}
.footer__policy--sp .footer__policy-link {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .footer__policy--pc {
    display: none;
  }
}
.footer__policy--pc .footer__policy-link {
  font-weight: 300;
}
.footer__policy-link {
  color: var(--font-color-white);
  font-size: 1rem;
  font-family: var(--font-eu);
  text-decoration: none;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .footer__bottom {
    display: block;
  }
}
.footer__copyright {
  color: var(--font-color-footer);
  font-size: 1rem;
  font-weight: 300;
  font-family: var(--font-eu);
}
@media (max-width: 768px) {
  .footer__copyright {
    text-align: center;
  }
}