.zcw-shared-footer {
  --zcw-footer-ink: #090909;
  --zcw-footer-muted: #6f6b66;
  --zcw-footer-line: #cacaca;
  --zcw-footer-paper: #eeeeee;
  --zcw-footer-red: #d51f19;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  color: var(--zcw-footer-ink);
  background: var(--zcw-footer-paper);
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.zcw-shared-footer *,
.zcw-shared-footer *::before,
.zcw-shared-footer *::after {
  box-sizing: border-box;
}

.zcw-shared-footer a {
  color: inherit;
  text-decoration: none;
}

.zcw-shared-footer__inner {
  display: grid;
  width: min(100%, 1720px);
  min-height: 470px;
  margin-inline: auto;
  padding: 80px clamp(28px, 6vw, 104px) 70px;
  border-top: 1px solid var(--zcw-footer-line);
  grid-template-columns: minmax(230px, 0.7fr) minmax(420px, 1.4fr) minmax(220px, 0.6fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: start;
}

.zcw-shared-footer__brand {
  display: flex;
  min-height: 280px;
  gap: clamp(42px, 4vw, 68px);
  align-items: flex-start;
}

.zcw-shared-footer__mark {
  display: flex;
  flex-direction: column;
  font-family: "Bodoni ZCW", "Bodoni Moda", Georgia, serif;
  font-size: 27px;
  letter-spacing: 0.11em;
  line-height: 0.96;
  writing-mode: vertical-rl;
}

.zcw-shared-footer__mark span + span {
  margin-inline-start: 4px;
}

.zcw-shared-footer__statement {
  max-height: 270px;
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 2;
  writing-mode: vertical-rl;
}

.zcw-shared-footer[data-zcw-footer-language="en"] .zcw-shared-footer__statement {
  max-width: 170px;
  max-height: none;
  margin-top: 2px;
  font-family: "Bodoni ZCW", "Bodoni Moda", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  writing-mode: horizontal-tb;
}

.zcw-shared-footer__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(38px, 5vw, 90px);
  row-gap: 52px;
}

.zcw-shared-footer__group > p,
.zcw-shared-footer__information > p {
  margin: 0 0 20px;
  color: var(--zcw-footer-muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.zcw-shared-footer__group ul,
.zcw-shared-footer__information ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zcw-shared-footer__group a,
.zcw-shared-footer__information a {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-bottom: 3px;
  font-size: 16px;
  letter-spacing: 0.045em;
  line-height: 1.7;
}

.zcw-shared-footer__group a::after,
.zcw-shared-footer__information a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--zcw-footer-red);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.zcw-shared-footer__group a:hover::after,
.zcw-shared-footer__group a:focus-visible::after,
.zcw-shared-footer__information a:hover::after,
.zcw-shared-footer__information a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.zcw-shared-footer__group a:focus-visible,
.zcw-shared-footer__information a:focus-visible,
.zcw-shared-footer__mark:focus-visible,
.zcw-shared-footer__social a:focus-visible {
  outline: 1px solid var(--zcw-footer-red);
  outline-offset: 5px;
}

.zcw-shared-footer__information {
  padding-left: clamp(28px, 3vw, 54px);
  border-left: 1px solid var(--zcw-footer-line);
}

.zcw-shared-footer__information ul {
  gap: 15px;
}

.zcw-shared-footer__information a {
  font-size: 14px;
}

.zcw-shared-footer__base {
  display: flex;
  width: min(100%, 1720px);
  margin-inline: auto;
  padding: 26px clamp(28px, 6vw, 104px) 34px;
  border-top: 1px solid var(--zcw-footer-line);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  align-items: center;
  justify-content: space-between;
}

.zcw-shared-footer__base p {
  margin: 0;
}

.zcw-shared-footer__social {
  display: flex;
  gap: 24px;
}

.zcw-shared-footer__social a {
  transition: color 260ms ease;
}

.zcw-shared-footer__social a:hover,
.zcw-shared-footer__social a:focus-visible {
  color: var(--zcw-footer-red);
}

@media (max-width: 1100px) {
  .zcw-shared-footer__inner {
    grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
  }

  .zcw-shared-footer__information {
    padding: 44px 0 0;
    border-top: 1px solid var(--zcw-footer-line);
    border-left: 0;
    grid-column: 2;
  }

  .zcw-shared-footer__information ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .zcw-shared-footer__inner {
    display: block;
    min-height: 0;
    padding: 58px 22px 46px;
  }

  .zcw-shared-footer__brand {
    min-height: 215px;
    padding-inline: 8px;
    gap: 42px;
    justify-content: flex-start;
  }

  .zcw-shared-footer__mark {
    font-size: 24px;
  }

  .zcw-shared-footer__statement {
    max-height: 210px;
    font-size: 13px;
  }

  .zcw-shared-footer[data-zcw-footer-language="en"] .zcw-shared-footer__statement {
    max-width: 150px;
    font-size: 19px;
  }

  .zcw-shared-footer__navigation {
    margin-top: 48px;
    border-top: 1px solid var(--zcw-footer-line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 0;
  }

  .zcw-shared-footer__group {
    min-height: 142px;
    padding: 24px 0;
    border-bottom: 1px solid var(--zcw-footer-line);
  }

  .zcw-shared-footer__group:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid var(--zcw-footer-line);
  }

  .zcw-shared-footer__group:nth-child(even) {
    padding-left: 4px;
  }

  .zcw-shared-footer__group > p,
  .zcw-shared-footer__information > p {
    margin-bottom: 15px;
    font-size: 9px;
  }

  .zcw-shared-footer__group a {
    font-size: 14px;
  }

  .zcw-shared-footer__information {
    margin-top: 48px;
    padding-top: 28px;
  }

  .zcw-shared-footer__information ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .zcw-shared-footer__information li {
    border-bottom: 1px solid var(--zcw-footer-line);
  }

  .zcw-shared-footer__information a {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 13px;
  }

  .zcw-shared-footer__base {
    display: block;
    padding: 24px 22px 30px;
  }

  .zcw-shared-footer__social {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zcw-shared-footer__group a::after,
  .zcw-shared-footer__information a::after,
  .zcw-shared-footer__social a {
    transition: none;
  }
}
