/* User's mobile-only card, tag and dialog refinements. */
@media (max-width: 700px) {
  .page-content {
    margin-top: 24px;
  }
  #requirements .requirements dl > div:first-child {
    border-top-color: transparent;
  }
  .job-card {
    background: transparent;
    padding-bottom: 0;
  }
  .job-card .job-body {
    margin: 16px 0 0;
    padding: 24px;
    border-radius: 28px;
    background: #fff;
  }
  .job-body .job-tags {
    height: 26px;
    gap: 6px;
    align-items: stretch;
  }
  .job-body .job-tags > span {
    box-sizing: border-box;
    width: 48px;
    min-width: 48px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 2px;
    border-radius: 7px;
    line-height: 1;
  }
  .job-body .job-tags > span:first-child {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .job-body .job-tags > span + span {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.3px;
  }
  .job-body h2 {
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.8px;
  }
  #entry-dialog .dialog-close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    font-size: 0;
    line-height: 0;
    display: block;
  }
  #entry-dialog .dialog-close::before,
  #entry-dialog .dialog-close::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 20.5px;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--purple);
    transform: rotate(45deg);
  }
  #entry-dialog .dialog-close::after {
    transform: rotate(-45deg);
  }
  #entry-dialog .dialog-close:focus-visible {
    outline: 3px solid #5d99ff;
    outline-offset: 2px;
    border-radius: 12px;
  }
  #entry-dialog:focus {
    outline: none;
  }
}
/* Give NEW / 正社員 a little more breathing room above, without changing inner gaps. */
@media (max-width: 700px) {
  .job-card .job-body {
    padding-top: 32px;
  }
}
