@charset "utf-8";

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

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

.footer__main {
  padding: 40px var(--margin-inline) 32px;
  background: var(--footer-black);
  color: #fff;
  line-height: 1.6;
}

.footer__logo {
  width: min(230px, 58.97435897vw);
}

.footer__lead {
  margin-top: 1em;
  font-weight: 500;

  > span {
    display: block;
  }
}

/* Navigation */
.footer__nav {
  margin-top: 30px;
}

.footer__toggle-summary {
  padding-block: 10px;
  padding-right: 20px;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  position: relative;

  /* 開閉アイコン */
  &::before,
  &::after {
    content: "";
    display: block;
    margin-block: auto;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    transition: rotate .3s ease;
  }

  &::before {
    width: 12px;
    height: 1px;
    right: 0;
  }

  &::after {
    width: 1px;
    height: 12px;
    right: 6px;
  }

  details[open] &::after {
    rotate: -90deg;
  }

  /* Safariで表示されるデフォルトの三角形アイコンを消す */
  &::-webkit-details-marker {
    display: none;
  }
}

.footer__toggle-content {
  margin-block: 8px 12px;
  overflow: hidden;
}

.footer__toggle-content--half {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  column-gap: 10px
}

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

  > li > a {
    color: #888;
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: 500;
  }
}

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

.footer__search-input {
  width: 100%;
  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%;
}

/* SNS */
.footer__sns {
  margin-top: 40px;
}

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

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

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

/* Banner */
.footer__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
  margin-top: 40px;
}

.footer__banner-item img {
  width: 100%;
  height: auto;
}

/* Mailmag */
.footer__mailmag {
  padding: 48px var(--margin-inline);
  background: #efe7e4;
  text-align: center;
}

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

.footer__mailmag-special-link {
  margin-top: 32px;
}

.footer__mailmag-special-link > p {
  width: fit-content;
  margin-inline: auto;
  padding: 4px 12px;
  background: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 500;
  position: relative;

  /* 吹き出しアイコン */
  &::after {
    content: "";
    display: block;
    width: 10px;
    height: calc(tan(60deg) * 10px / 2);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: #fff;
    position: absolute;
    right: 42px;
    bottom: -4px;
    rotate: 225deg;
  }
}

.footer__mailmag-special-link > a {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-size: 1.4rem;

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

.footer__mailmag-link {
  margin-top: 24px;
}

.footer__mailmag-link > p {
  font-size: 12px;
  font-size: 1.2rem;
}

.footer__mailmag-link > a {
  display: block;
  width: fit-content;
  margin-inline: auto;
  margin-top: 12px;
  padding: 10px 17px;
  border: 1px solid var(--footer-black);
  border-radius: 50vh;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 500;
}

/* ABJ */
.footer__abj {
  display: flex;
  justify-content: space-between;
  column-gap: 16px;
  padding: 24px 15px;
}

.footer__abj-text {
  font-size: 12px;
  font-size: 1.2rem;
}

/* Utility Links */
.footer__utility {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px var(--margin-inline);
  border-top: 1px solid #e7e7e7;
}

.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: 10px var(--margin-inline);
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

/* Related Link */
.footer__related-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 24px 15px;
  background: #f6f6f6;

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