@charset "utf-8";

/* footer */
.page__bottom {
  position: relative;
  z-index: 2;
}
.footer__deco1,
.footer__deco2 {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}
.footer__deco1 {
  top: 46%;
  left: 0;
  width: clamp(7.875rem, 1.458rem + 13.368vw, 17.500rem);
}
.footer__deco2 {
  top: 6%;
  right: 0;
  width: clamp(9.500rem, 1.667rem + 16.319vw, 21.250rem);
}

/* f-contact */
.f-contact {
  position: relative;
  margin-top: calc(clamp(2.500rem, 0.542rem + 4.080vw, 5.438rem) * -1);
  padding-bottom: clamp(2.500rem, 0.375rem + 4.427vw, 5.688rem);
}
.f-contact::before {
  content: "";
  position: absolute;
  top: clamp(2.500rem, 0.542rem + 4.080vw, 5.438rem);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: linear-gradient(to right, #b2b2b2 0%, #f7f7f7 49.8%, #afafaf 100%);
}
.f-contact__inner {
  position: relative;
  z-index: 2;
}
.f-contact__container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-right: clamp(1.250rem, -11.750rem + 27.083vw, 20.750rem);
  padding-left: clamp(1.250rem, -9.917rem + 23.264vw, 18.000rem);
}
.f-contact__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.f-contact .title1__main {
  height: clamp(3.562rem, 0.188rem + 7.031vw, 8.625rem);
  margin-top: clamp(0.312rem, 0.062rem + 0.521vw, 0.688rem);
  padding-right: clamp(2.062rem, 1.479rem + 1.215vw, 2.938rem);
  padding-left: clamp(2.062rem, 1.479rem + 1.215vw, 2.938rem);
  font-size: clamp(2.375rem, -0.042rem + 5.035vw, 6.000rem);
}
.f-contact .title1__main span {
  background-color: transparent !important;
  font-size: inherit !important;
}
.f-contact__text {
  margin-top: clamp(2.500rem, 1.667rem + 1.736vw, 3.750rem);
  margin-left: clamp(0.000rem, -1.750rem + 3.646vw, 2.625rem);
  font-size: clamp(1.000rem, 0.667rem + 0.694vw, 1.500rem);
  font-weight: 500;
  line-height: clamp(1.875rem, 1.458rem + 0.868vw, 2.500rem);
  color: #000;
}
.f-contact__text br:nth-of-type(2) {
  display: none;
}
.f-contact__right {
  flex-shrink: 1;
  width: clamp(19.375rem, 11.583rem + 16.233vw, 31.062rem);
  max-width: 100%;
}
.f-contact__right > a {
  display: block;
}
.f-contact__btn {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: clamp(4.062rem, 1.271rem + 5.816vw, 8.250rem);
  background-color: #fff;
}
.f-contact-btn__left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  column-gap: clamp(0.938rem, 0.604rem + 0.694vw, 1.438rem);
  padding-left: clamp(1.375rem, 0.792rem + 1.215vw, 2.250rem);
}
.f-contact-btn__icon {
  flex-shrink: 0;
  width: clamp(3.062rem, 1.812rem + 2.604vw, 4.938rem);
  height: auto;
}
.f-contact-btn__text {
  font-size: clamp(1.125rem, 0.625rem + 1.042vw, 1.875rem);
  font-weight: 600;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}
.f-contact-btn__right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  width: clamp(4.312rem, 2.604rem + 3.559vw, 6.875rem);
  background-color: #002c6a;
}
.f-contact-btn__arrow {
  width: clamp(1.125rem, 0.708rem + 0.868vw, 1.750rem);
  height: auto;
}
.f-contact__right > a:hover .f-contact-btn__arrow,
.f-contact__btn:hover .f-contact-btn__arrow {
  animation: arrow-flow 0.6s ease;
}

/* footer */
.footer {
  position: relative;
  background-color: transparent;
}
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #003f98;
}
.footer__inner {
  position: relative;
  z-index: 2;
}
.footer__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: clamp(2.062rem, -1.104rem + 6.597vw, 6.812rem);
  padding-right: clamp(1.000rem, -8.871rem + 20.573vw, 15.812rem);
  padding-left: clamp(1.250rem, -9.917rem + 23.264vw, 18.000rem);
}
.footer__left > a {
  display: block;
  width: clamp(12.500rem, 5.129rem + 15.365vw, 23.562rem);
  padding: 9px 23px;
  background-color: #fff;
}
.footer__logo {
  width: 100%;
  height: auto;
}
.footer__access {
  margin-top: clamp(1.562rem, 1.354rem + 0.434vw, 1.875rem);
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 500;
  line-height: clamp(1.500rem, 1.333rem + 0.347vw, 1.750rem);
  color: #fff;
}
.footer__right {
  display: flex;
  gap: clamp(0.750rem, -2.583rem + 6.944vw, 5.750rem);
  margin-top: clamp(1.250rem, 0.250rem + 2.083vw, 2.750rem);
}
.footer__box {
  display: flex;
  gap: clamp(0.750rem, -2.583rem + 6.944vw, 5.750rem);
}
.footer__items {
  display: flex;
  flex-direction: column;
  gap: clamp(1.000rem, 0.333rem + 1.389vw, 2.000rem);
}
.footer__box:first-child .footer__items:nth-child(2) {
  gap: clamp(0.500rem, 0.000rem + 1.042vw, 1.250rem);
}
.footer a:hover {
  color: #fff;
}
.footer__item {
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 500;
  line-height: clamp(1.500rem, 1.333rem + 0.347vw, 1.750rem);
  color: #fff;
  white-space: nowrap;
}
.footer__name {
  margin-top: clamp(0.750rem, -0.417rem + 2.431vw, 2.500rem);
  font-family: "Audiowide", sans-serif;
  font-size: clamp(2.375rem, 10.100vw, 12.125rem);
  font-weight: 400;
  line-height: 0.78;
  color: #002c6a;
  white-space: nowrap;
  text-align: center;
}
.footer__copyright {
  position: absolute;
  bottom: clamp(0.250rem, -0.583rem + 1.736vw, 1.500rem);
  left: 50%;
  z-index: 2;
  font-size: clamp(0.750rem, 0.583rem + 0.347vw, 1.000rem);
  font-weight: 500;
  line-height: 1.75;
  color: #fff;
  white-space: nowrap;
  transform: translateX(-50%);
}

@media (max-width: 1023px) {
  .footer__box {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .footer__deco1 {
    top: 386px;
    bottom: auto;
    width: 126px;
  }
  .footer__deco2 {
    top: auto;
    bottom: 0;
    width: 152px;
  }
  .f-contact {
    margin-top: 0;
    padding-top: 38px;
    padding-bottom: 40px;
  }
  .f-contact::before {
    top: 0;
  }
  .f-contact__container {
    flex-direction: column;
    align-items: center;
    padding-right: 40px;
    padding-left: 40px;
  }
  .f-contact__left {
    align-items: center;
    width: 100%;
  }
  .f-contact .title1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .f-contact__text {
    margin-left: 0;
    text-align: center;
  }
  .f-contact__text br:nth-of-type(2) {
    display: inline;
  }
  .f-contact__right {
    width: 100%;
    max-width: 400px;
    margin-top: 31px;
  }
  .footer::before {
    display: none;
  }
  .footer__container {
    flex-direction: column;
    align-items: center;
    padding-top: 33px;
    padding-right: 20px;
    padding-left: 20px;
  }
  .footer__left {
    width: 100%;
    max-width: 276px;
  }
  .footer__left > a {
    width: 100%;
    padding: 9px 24px;
  }
  .footer__access {
    margin-top: 25px;
    font-size: 14px;
    line-height: 24px;
  }
  .footer__right {
    display: grid;
    grid-template-columns: auto auto;
    align-items: start;
    justify-content: space-between;
    row-gap: 20px;
    width: 100%;
    max-width: 310px;
    margin-top: 60px;
    padding-right: 18px;
    padding-left: 14px;
  }
  .footer__box,
  .footer__items {
    display: contents;
  }
  .footer__item {
    font-size: 14px;
    line-height: 20px;
  }
  .footer__box:nth-child(1) .footer__items:nth-child(1) a {
    grid-area: 1 / 1;
  }
  .footer__box:nth-child(1) .footer__items:nth-child(2) a:nth-child(1) {
    grid-area: 2 / 1;
  }
  .footer__box:nth-child(1) .footer__items:nth-child(2) a:nth-child(2) {
    grid-area: 3 / 1;
    padding-left: 11px;
  }
  .footer__box:nth-child(1) .footer__items:nth-child(2) a:nth-child(3) {
    grid-area: 4 / 1;
    padding-left: 11px;
  }
  .footer__box:nth-child(1) .footer__items:nth-child(3) a:nth-child(1) {
    grid-area: 5 / 1;
  }
  .footer__box:nth-child(1) .footer__items:nth-child(3) a:nth-child(2) {
    grid-area: 6 / 1;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(1) a:nth-child(1) {
    grid-area: 1 / 2;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(1) a:nth-child(2) {
    grid-area: 2 / 2;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(2) a:nth-child(1) {
    grid-area: 3 / 2;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(2) a:nth-child(2) {
    grid-area: 4 / 2;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(2) a:nth-child(3) {
    position: relative;
    display: flex;
    align-items: center;
    grid-area: 7 / 1 / 8 / 3;
    width: calc(100% + 32px);
    height: 43px;
    margin-top: 21px;
    margin-left: -14px;
    background-color: #fff;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(2) a:nth-child(3)::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 69px;
    height: 100%;
    background-color: #b2b2b2;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(2) a:nth-child(3) .footer__item {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-right: 69px;
    font-weight: 600;
    line-height: 1;
    color: #000;
    text-align: center;
  }
  .footer__box:nth-child(2) .footer__items:nth-child(2) a:nth-child(3) .footer__item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 25px;
    width: 18px;
    height: 12px;
    background-color: #000;
    transform: translateY(-50%);
    clip-path: polygon(0 35%, 62% 35%, 62% 0, 100% 50%, 62% 100%, 62% 65%, 0 65%);
  }
  .footer__box:nth-child(2) .footer__items:nth-child(2) a:nth-child(3):hover {
    color: #000;
  }
  .footer__name {
    margin-top: 24px;
    font-size: 38px;
    line-height: 1.26;
  }
  .footer__copyright {
    bottom: 8px;
    font-size: 12px;
    line-height: 1.75;
  }
}

@media (max-width: 389px) {
  .f-contact__container {
    padding-inline: 20px;
  }
  .footer__name {
    font-size: 32px;
  }
}