@charset "UTF-8";

/*
============================================================
---- フッター ----
============================================================
*/
.footer {
  background-color: var(--color-navy-main);
  padding: 82px 0 28px;
}

.footer__inner {
  position: relative;
  max-width: var(--size-frame-width);
  margin: 0 auto;
  padding: 0 var(--layout-margin-outside-pc);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  display: block;
  width: 210px;
  transition: opacity 0.3s;
}

.footer__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__logo:hover {
  opacity: 0.8;
}

.footer__contact {
  grid-row: 1 / 3;
  grid-column: 2;
  height: auto;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color 0.3s;
  min-width: 182px;
  height: 64px;
  padding: 0 16px 0 22px;
  justify-content: space-between;
  background: var(--color-white);
  color: var(--color-navy-main);
}
.footer__contactArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 20px;
  height: auto;
  aspect-ratio: 1;
  transition: transform 0.3s;
  background-color: var(--color-navy-main);
}
.footer__contactArrow::before {
  content: "";
  display: block;
  transition: transform 0.3s;
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-arrow-navy.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-white);
}
.footer__contact:hover {
  background-color: color-mix(
    in sRGB,
    var(--color-white) 80%,
    var(--color-navy-main)
  );
}
.footer__contact:hover .footer__contactArrow {
  transform: translateX(3px);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: 112px;
  margin-top: 96px;
}
.footer__columnWrap {
  display: contents;
}

.footer__column {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
}
.footer__column--sub {
  grid-column: 5;
  max-width: 182px;
  justify-self: flex-end;
}

.footer__columnTitle {
  font-family: var(--font-marcellus);
  font-size: 16px;
  color: var(--color-white);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer__columnList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  font-size: 16px;
}
.footer__columnList::before {
  content: "";
  display: block;
  width: 1px;
  background-color: var(--color-white);
  opacity: 0.1;
  height: calc(100% - 2.2em);
  position: absolute;
  left: 0;
  bottom: 0.2em;
}
.footer__columnList--orbray::before {
  display: none;
}

/* @media screen and (min-width: 768px) {
  .footer__columnList--orbray {
    display: none;
  }
} */
@media screen and (min-width: 1023px) {
  .header__navSub .footer__columnList--orbray {
    display: none;
  }
}

.footer__columnTitle + .footer__columnList {
  margin-top: 24px;
}
.footer__columnList + .footer__columnList {
  margin-top: 28px;
}

.footer__columnItem {
  line-height: 1;
  padding-left: 1.3em;
}
.footer__columnItem:first-of-type {
  padding-left: 0;
}
.footer__columnList--orbray .footer__columnItem {
  padding-left: 0;
}

.footer__columnItem a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.3;
  transition: opacity 0.3s;
}
.footer__columnItem a:hover {
  opacity: 0.7;
}
.footer__column--sub .footer__columnItem a {
  font-size: 14px;
}

.footer__columnList--blog a{
  text-decoration: underline;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottomLinks {
  display: flex;
  gap: 34px;
  grid-row: 1;
  grid-column: 1;
}
.footer__bottomLinks li {
  line-height: 1;
}
.footer__bottomLinks a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 13px;
  transition: opacity 0.3s;
}

.footer__bottomLinks a:hover {
  color: var(--color-white);
  opacity: 0.7;
}

.footer__pageTop {
  grid-row: 1 / 3;
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: opacity 0.3s;
  border-radius: 100px;
  border: 1px solid var(--color-white);
  cursor: pointer;
  width: 182px;
  height: 37px;
  padding-inline: 24px 17px;
}
.footer__pageTop:hover {
  opacity: 0.7;
}
.footer__pageTopArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--color-white);
  border-radius: 50%;
}
.footer__pageTopArrow::before {
  content: "";
  display: block;
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  mask-image: url(../../img/common/icon-arrow-navy.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-white);
  transform: rotate(-90deg);
}

.footer__copyright {
  grid-row: 2;
  grid-column: 1;
  font-size: 13px;
  color: var(--color-white);
  width: 100%;
  margin-top: 28px;
  letter-spacing: -0.03em;
}

.footer__sns {
  position: absolute;
  top: 0;
  right: calc(var(--layout-margin-outside-pc) + 220px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__sns a {
  display: block;
  transition: 0.3;
}
.footer__sns a:hover {
  opacity: 0.7;
}
.footer__sns img {
  width: 30px;
  height: auto;
}

/* ============================================================
---- フッター TAB styles (max-width: 1279px) ----
============================================================ */
@media screen and (max-width: 1279px) {
  .footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
    column-gap: 52px;
  }
  .footer__columnWrap {
    display: flex;
    flex-direction: column;
    row-gap: 42px;
  }
}

/* ============================================================
---- フッター SP styles (max-width: 767px) ----
============================================================ */
@media screen and (max-width: 767px) {
  .footer {
    padding: 65px 0 30px;
  }
  .footer__inner {
    padding-inline: var(--layout-margin-outside-sp);
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 42px;
    width: 100%;
  }
  .footer__logo {
    width: 145px;
  }
  .footer__contact {
    width: 100%;
    padding: 0 18px 0 22px;
  }

  .footer__sns {
    position: static;
    height: auto;
    margin-bottom: 30px;
    gap: 16px;
  }

  .footer__nav {
    padding-bottom: 60px;
    margin-top: 65px;
  }

  .footer__column {
    min-width: auto;
  }
  .footer__column--sub {
    grid-column: auto;
  }
  .footer__columnTitle {
    font-size: 13.5px;
  }
  .footer__columnList {
    font-size: 13.5px;
    gap: 8px;
  }
  .footer__columnList--orbray {
    display: flex;
  }
  .footer__columnTitle + .footer__columnList {
    margin-top: 14px;
  }
  .footer__columnItem a {
    font-size: 13.5px;
  }

  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 42px;
    padding-top: 28px;
  }
  .footer__bottomLinks {
    flex-direction: column;
    gap: 14px;
    padding-inline: var(--layout-margin-inside-sp);
  }

  .footer__pageTop {
    width: 100%;
  }

  .footer__copyright {
    padding-inline: var(--layout-margin-inside-sp);
    margin-top: 0;
  }
}
