/* Main-page mobile menu alignment matched to the subpage menu. */
@media (max-width: 720px) {
  .v4-menu {
    left: 0;
    right: 0;
    width: auto;
  }

  .v4-menu-inner {
    display: block;
    align-content: center;
    width: calc(100% - 28px);
    min-height: 100%;
    margin: 0 auto;
    padding: 18px 0 32px;
  }

  .v4-menu-columns section,
  .v4-menu-columns section:last-child {
    min-height: 0;
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .v4-menu-columns section:first-child {
    background: rgba(255, 255, 255, 0.045);
  }

  .v4-menu-columns section:first-child::before {
    right: 0;
    left: 0;
    width: auto;
    background: #20b866;
    opacity: 1;
    transform: scaleX(1);
  }

  .v4-menu-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
  }

  .v4-menu-title strong {
    display: block;
    margin: 0;
    font-family: "Pretendard Local", Pretendard, "Noto Sans KR", Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.035em;
  }

  .v4-menu-title i {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-family: "Pretendard Local", Pretendard, "Noto Sans KR", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.06em;
  }

  .v4-menu-columns section > div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    margin: 18px 0 0;
    padding: 0;
  }

  .v4-menu-columns section > div a {
    color: rgba(255, 255, 255, 0.68);
    font-family: "Pretendard Local", Pretendard, "Noto Sans KR", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
  }

  .v4-menu-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 0;
    color: rgba(255, 255, 255, 0.56);
    font-family: "Pretendard Local", Pretendard, "Noto Sans KR", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.06em;
  }

  .v4-menu-foot > span,
  .v4-menu-foot > a {
    display: none;
  }

  .v4-menu-foot > em {
    display: block;
    grid-column: auto;
    justify-self: auto;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.06em;
  }
}
