@charset "utf-8";

/* ############################################################################################################################
#    2025 リニューアル
#    v1 Footerファイル
############################################################################################################################ */
/* =======================================
  Footer
======================================= */
.footer {
  --black: #212121;
  --footer-width: 1254px;
  --margin-inline: 56px;

  line-height: 1.6;
  color: var(--black);
}

.footer__inner {
  width: var(--footer-width);
  margin-inline: auto;
}

.footer__main {
  padding-block: 48px;
  background: var(--black);
  color: #fff;

  .footer__inner {
    display: grid;
    grid-template-columns: 384px auto auto;
    grid-template-rows: repeat(4, auto);
    grid-template-areas:
      "logo lead sns"
      "nav nav nav"
      "banner banner banner"
      "sub-nav sub-nav sub-nav"
    ;
    align-items: center;
  }
}

.footer__logo {
  grid-area: logo;
  width: fit-content;
}

.footer__lead {
  grid-area: lead;
  margin-left: 40px;
  font-weight: 500;

  > span {
    display: block;
  }
}

/* SNS */
.footer__sns {
  grid-area: sns;
  width: fit-content;
  margin-left: auto;
}

.footer__sns-heading {
  font-size: 14px;
  font-size: 1.4rem;
  font-family: var(--font-figtree);
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.footer__sns-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.footer__sns-item > a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

/* Navigation */
.footer__nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  column-gap: 46px;
  margin-top: 48px;
}

.footer__nav-col {
  width: 170px;
}

.footer__nav-heading {
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer__nav-links {
  display: grid;
  row-gap: 12px;
  margin-top: 24px;

  > li > a {
    display: block;
    width: fit-content;
    color: #888;
    font-size: 12px;
    font-size: 1.2rem;
  }
}

.footer__nav-links--other {
  margin-top: 32px;
}

/* Banner */
.footer__banner {
  grid-area: banner;
  display: flex;
  column-gap: 24px;
  width: fit-content;
  margin-top: 48px;
  margin-inline: auto;
}

/* Sub Navagation */
.footer__sub-nav {
  grid-area: sub-nav;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
  margin-top: 48px;
}

.footer__sub-nav-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 46px;
}

.footer__sub-nav-col {
  width: 170px;
}

.footer__sub-nav-heading {
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer__sub-nav-links {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  margin-top: 12px;

  > li > a {
    display: block;
    width: fit-content;
    font-size: 12px;
    font-size: 1.2rem;
    color: #888;
    font-weight: 500;
  }
}

/* Search */
.footer__search {
  margin-top: 0;
  position: relative;
}

.footer__search-input {
  width: 398px;
  height: 51px;
  background: #4f4f4f;
  padding: 16px;
  border: none;
  font-size: 12px;
  font-size: 1.2rem;
  color: #b0b0b0;
}

.footer__search-submit {
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 0;
  background: url(/common/crea/images/v1/icon/search_white.png) no-repeat center / 16px 16px;
  border: none;
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
}

/* Mailmag */
.footer__mailmag {
  padding-block: 40px;
  background: #efe7e4;

  .footer__inner {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
      "mailmag-title mailmag-link"
      "mailmag-text mailmag-special-link"
    ;
  }
}

.footer__mailmag-title {
  grid-area: mailmag-title;
  font-size: 24px;
  font-size: 2.4rem;
  font-weight: 600;
  font-family: var(--font-figtree);
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.footer__mailmag-text {
  grid-area: mailmag-text;
  margin-top: 10px;
  font-size: 14px;
  font-size: 1.4rem;
}

.footer__mailmag-link {
  grid-area: mailmag-link;
  display: block;
  width: fit-content;
  min-width: 228px;
  margin-inline: auto;
  padding: 10px 17px;
  border: 1px solid var(--black);
  border-radius: 50vh;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}

.footer__mailmag-special-link {
  grid-area: mailmag-special-link;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  width: fit-content;
  margin-top: 24px;
  margin-inline: auto;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 500;

  /* 記号 */
  &::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--black);
    border-right: 1px solid var(--black);
    rotate: 45deg;
  }
}

/* ABJ */
.footer__abj {
  padding-block: 32px;

  .footer__inner {
    display: flex;
    align-items: center;
    column-gap: 24px;
  }
}

.footer__abj-text {
  font-size: 14px;
  font-size: 1.4rem;
}

/* Utility Links */
.footer__utility {
  padding-block: 32px;
  border-top: 1px solid #e7e7e7;
}

.footer__utility-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.footer__utility-link {
  display: flex;
  align-items: center;
  column-gap: 4px;
  font-size: 12px;
  font-size: 1.2rem;

  &[target="_blank"]::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: url(/common/crea/images/v1/icon/blank.svg) no-repeat center / contain;
  }
}

/* Copyright */
.footer__copyright {
  padding-block: 0 16px;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

/* Related Link */
.footer__related-link {
  padding-block: 24px;
  background: #f6f6f6;
}

.footer__related-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 32px;

  > li > a {
    font-size: 12px;
    font-size: 1.2rem;
  }
}