@charset "UTF-8";

.container {
  padding-left: 18px;
  padding-right: 18px;
  margin-inline: auto;
  width: 100%;
  max-width: 1236px;
}

@media (min-width: 768px) {
  .container {
    max-width: calc(1800px + (120 / 1440) * 100% * 2);
    padding-left: calc((120 / 1440) * 100%);
    padding-right: calc((120 / 1440) * 100%);
  }
}

.footer {
  padding-top: 80px;
  background-color: var(--footer-bg);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt" 1;
  word-break: normal;
}

.footer a {
  color: var(--c-white);
}

.footer svg {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .footer {
    padding-top: 160px;
  }
}

.footer .footer__nav-primary-item a,
.footer .footer__btm-link {
  position: relative;
}

.footer .footer__nav-primary-item a .u-txt-hover,
.footer .footer__btm-link .u-txt-hover {
  position: relative;
  line-height: inherit;
  font-size: inherit;
}

.footer .footer__nav-primary-item a .u-txt-hover::before,
.footer .footer__btm-link .u-txt-hover::before {
  content: "";
  position: absolute;
  bottom: -0.1em;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .footer .footer__nav-primary-item a:hover .u-txt-hover::before,
  .footer .footer__btm-link:hover .u-txt-hover::before {
    transform: scaleX(1);
  }
}

.footer__nav {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .footer__nav {
    gap: clamp(24px, calc(120 / 1440 * 100vw), 120px);
    flex-direction: row;
  }
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .footer__nav-group {
    gap: 30px;
    flex-shrink: 1;
    min-width: 0;
  }
}

.footer__nav-btn-group {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .footer__nav-btn-group {
    margin-top: 0;
    margin-left: auto;
  }
}

.footer__nav-primary-item {
  font-size: 16px;
  letter-spacing: 0;
  display: block;
  width: 100%;
}

.footer__nav-primary-item a {
  letter-spacing: inherit;
  text-decoration: none;
}

.footer__nav-btn-link {
  font-size: 14px;
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.5em 1em;
  background-color: var(--c-red);
  transition: background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

@media (min-width: 768px) {
  .footer__nav-btn-link {
    width: clamp(160px, calc(256 / 1440 * 100vw), 256px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer__nav-btn-link:hover {
    background-color: var(--c-dred);
  }
}

.footer__banners {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .footer__banners {
    margin-top: 80px;
    gap: 48px;
    flex-direction: row;
  }
}

.footer__banner-item {
  max-width: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .footer__banner-item {
    width: 368px;
  }
}

.footer__banner-item a {
  display: block;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.footer__banner-item a::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--c-black-cover);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .footer__banner-item a:hover::before {
    opacity: 1;
  }
}

.footer__banner-item a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__brands {
  width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 60px;
  gap: calc((20 / 375) * 100vw) calc((28 / 375) * 100vw);
}

@media (min-width: 768px) {
  .footer__brands {
    margin-top: 80px;
    width: 100%;
    max-width: 1040px;
    flex-wrap: nowrap;
    gap: clamp(24px, calc(127.5 / 1440 * 100vw), 127.5px);
  }
}

.footer__brands-break {
  flex-basis: 100%;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .footer__brands-break {
    display: none;
  }
}

.footer__brand-item {
  flex-shrink: 0;
}

.footer__brand-item._long {
  width: calc((121 / 375) * 100vw);
}

.footer__brand-item._ushijirushi {
  width: calc((67 / 375) * 100vw);
}

.footer__brand-item._tannosuke {
  width: calc((67 / 375) * 100vw);
}

.footer__brand-item._chidaka {
  width: calc((45 / 375) * 100vw);
}

@media (min-width: 768px) {
  .footer__brand-item {
    flex-shrink: 1;
    min-width: 0;
  }

  .footer__brand-item._long {
    width: clamp(96px, calc(148 / 1440 * 100vw), 148px);
  }

  .footer__brand-item._ushijirushi {
    width: clamp(64px, calc(98 / 1440 * 100vw), 98px);
  }

  .footer__brand-item._tannosuke {
    width: clamp(63px, calc(97 / 1440 * 100vw), 97px);
  }

  .footer__brand-item._chidaka {
    width: clamp(42px, calc(65 / 1440 * 100vw), 65px);
  }
}

.footer__brand-item svg {
  width: 100%;
  height: auto;
}

.footer__brand-item a {
  color: var(--c-white);
  transition: color 0.3s ease;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .footer__brand-item a:hover {
    color: var(--c-txt-gray);
  }
}

.footer__btmArea {
  padding-left: 18px;
  padding-right: 18px;
}

@media (min-width: 768px) {
  .footer__btmArea {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1024px) {
  .footer__btmArea {
    padding-right: 120px;
  }
}

.footer__btm {
  display: flex;
  flex-direction: column;
  margin-top: 54px;
  gap: 40px;
  width: 100%;
}

@media (min-width: 768px) {
  .footer__btm {
    margin-top: 80px;
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
}

.footer__btm-logo {
  width: 88px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .footer__btm-logo {
    margin-inline: 0;
    width: 92px;
  }
}

.footer__btm-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__copy {
  font-family: Share Tech, sans-serif;
  font-size: 12px;
  line-height: 1;
  padding-top: 6px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .footer__copy {
    font-size: 14px;
  }
}

.footer__btm-links {
  width: fit-content;
  margin-inline: auto;
  display: grid;
  gap: 28px 32px;
  grid-template-columns: repeat(2, fit-content(100%));
}

@media (min-width: 576px) {
  .footer__btm-links {
    gap: 28px 50px;
    grid-template-columns: repeat(3, fit-content(100%));
  }
}

@media (min-width: 768px) {
  .footer__btm-links {
    flex-wrap: wrap;
    margin-inline: 0;
    display: flex;
    gap: 12px 40px;
    justify-content: flex-start;
  }
}

.footer__btm-link-item {
  flex-shrink: 0;
  font-size: inherit;
  line-height: inherit;
}

.footer__btm-link {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  letter-spacing: 0;
}

.footer__btm-link[target="_blank"] {
  position: relative;
}

.footer__btm-link[target="_blank"] .txt {
  padding-right: 14px;
}

@media (min-width: 768px) {
  .footer__btm-link[target="_blank"] .txt {
    padding-right: 17px;
  }
}

.footer__btm-link[target="_blank"] .footer__tab-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
}

@media (min-width: 768px) {
  .footer__btm-link[target="_blank"] .footer__tab-icon {
    width: 13px;
    height: 13px;
  }
}

.footer__sns {
  display: flex;
  justify-content: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer__sns {
    margin-left: auto;
    gap: 20px;
    justify-content: flex-end;
  }
}

.footer__sns-link {
  display: block;
  color: var(--c-white);
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer__sns-link:hover {
    color: var(--c-txt-gray);
  }
}

.footer__sns-icon {
  width: 26px;
  height: 26px;
}

.footer__copyArea {
  display: flex;
  flex-direction: column;
  gap: 54px 40px;
  padding-top: 40px;
  padding-bottom: 12px;
}

@media (min-width: 768px) {
  .footer__copyArea {
    margin-top: 26px;
    padding-top: 19px;
    padding-bottom: 19px;
    gap: 12px 40px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
