.deck-footer {
  color: #fff;
  background: #122341;
  font-family: system-ui, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.5;
}
.deck-footer__inner {
  width: min(calc(100% - 64px), 1088px);
  margin-inline: auto;
  padding-top: clamp(32px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(215px, 1.4fr) 1fr 1fr;
  column-gap: clamp(26px, 7vw, 94px);
}
.deck-footer a {
  color: #fff;
  text-decoration: none;
  text-underline-offset: 4px;
}
.deck-footer a:hover { color: #ffe39a; text-decoration: underline; }
.deck-footer a:focus-visible { outline: 2px solid #ffda64; outline-offset: 3px; border-radius: 2px; }
.deck-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.055em;
}
.deck-footer__brand img { display: block; width: 40px; height: 40px; }
.deck-footer__mast p { font-size: 13px; color: #c8d4e7; margin: 10px 0 8px; }
.deck-footer .deck-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 12px;
  color: #e1e8f3;
}
.deck-footer__top span { color: #ffda64; font-size: 17px; }
.deck-footer__group h2 {
  margin: 4px 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: .015em;
}
.deck-footer__group h2::before { content: ""; flex: none; width: 14px; height: 3px; background: #ffcc48; }
.deck-footer__group ul { list-style: none; margin: 0; padding: 0; }
.deck-footer__group a, .deck-footer__base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
}
.deck-footer__base {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  margin-top: 30px;
  padding: 12px 0 18px;
  border-top: 1px solid #41506a;
}
.deck-footer__base nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.deck-footer__base a { font-size: 13px; color: #e0e7f3; }
.deck-footer__base small { color: #bdcce0; font-size: 12px; white-space: nowrap; }
@media (max-width: 680px) {
  .deck-footer__inner {
    width: calc(100% - 40px);
    padding-top: 25px;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
    column-gap: 16px;
  }
  .deck-footer__mast {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 24px;
  }
  .deck-footer__brand { font-size: 23px; }
  .deck-footer__brand img { width: 34px; height: 34px; }
  .deck-footer__mast p { grid-column: 1; margin: 2px 0 0; font-size: 12px; }
  .deck-footer__top { grid-column: 2; grid-row: 1; }
  .deck-footer__group h2 { font-size: 14px; margin: 0 0 7px; }
  .deck-footer__group a, .deck-footer__base a { min-height: 44px; }
  .deck-footer__group a { font-size: 13px; }
  .deck-footer__base { margin-top: 17px; padding: 6px 0 max(20px, env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .deck-footer__base nav { gap: 0 18px; }
}
@media (max-width: 430px) {
  .deck-footer__base { align-items: flex-start; flex-direction: column; }
  .deck-footer__base small { margin-top: 4px; }
}
