@charset "UTF-8";
/* =================================================
title       : nsfms New Style 반응형
Create date : 2026-06
================================================= */

/* Tablet + Fold */
@media (max-width:1024px) {
  .nsfms-section-title {
    margin-bottom: 30px;
  }

  .nsfms-visual,
  .nsfms-section {
    margin-bottom: 50px;
  }

  .nsfms-visual-inner {
    min-height: 110px;
    flex-wrap: wrap;
    padding: 24px 16px;
  }

  .nsfms-visual-inner strong,
  .nsfms-visual-inner em {
    font-size: 20px;
  }

  .nsfms-main {
    max-width: 100%;
    padding: 10px 25px 0;
  }

  .nsfms-section-full {
    padding: 0;
    margin-bottom: 50px;
    background: transparent;
  }

  .nsfms-section-full .nsfms-status {
    padding: 20px;
    background: #F5F6EF;
  }

  .nsfms-status-list {
    grid-template-columns: repeat(2, minmax(0, 335px));
  }

  .nsfms-status-link {
    width: 100%;
  }

  .nsfms-section-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

}

/* Fold Landscape */
@media (max-width:1024px) and (orientation:landscape) {}

/* Mobile */
@media (max-width:768px) {
  .ui-floating-banner {
    display: none;
  }

  .nsfms-section-head {
    margin-bottom:10px;
  }
  .nsfms-section-head:has(.ui-btn) {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .nsfms-section-title {
    margin-bottom:10px;
  }

  /* 납부절차 조회 */
  .nsfms-card-grid-step {
    grid-template-columns: repeat(4, minmax(0, 335px));
  }
  .nsfms-permission-step:not(:last-child)::after {
    width: 70%;
  }


  .nsfms-card-grid-step .nsfms-card-item {
    gap: 0;
    flex-wrap: wrap;
    flex-direction: inherit;
  }

  .nsfms-status-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nsfms-status-link {
    justify-content: space-between;
    width: 100%;
    height: 70px;
    padding: 0 24px;
    border-radius: 35px;
    font-size: 18px;
  }

  .nsfms-status-link:hover {
    transform: none;
  }

  /* 바로가기 */
  .nsfms-quick-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nsfms-quick-list a {
    height: 60px;
    padding: 0 20px;
  }

  .nsfms-link-arrow {
    width: 10px;
    height: 10px;
  }

  .nsfms-card-icon {
    margin-bottom: 0;
  }

  .nsfms-card-icon .nsfms-icon {
    background-size: 60%;
    height: 70px;
  }

  .nsfms-notice-list a,
  .nsfms-notice-list.notice-qna a {
    gap: 12px;
  }

  .nsfms-notice-subject {
    padding-right: 0;
    font-size: 16px;
  }

  .nsfms-notice-list time {
    font-size: 14px;
  }

}

/* Small Mobile */
@media (max-width:640px) {
  .nsfms-visual-inner strong,
  .nsfms-visual-inner em {
    font-size: 16px;
  }

  .nsfms-card-title,
  .nsfms-section-subtitle,
  .nsfms-permission-step-title,
  .nsfms-quick-list a {
    font-size: 16px;
  }

  /* 우측 퀵메뉴 */
  .nsfms-side-quick {
    right: 12px;
    bottom: 20px;
  }

  .nsfms-side-quick-panel {
    overflow-y: auto;
    width: 92px;
    max-height: calc(100vh - 110px);
    margin-bottom: 10px;
    overscroll-behavior: contain;
  }

  .nsfms-side-quick-button {
    width: 52px;
    height: 52px;
  }

  .nsfms-permission-step-title {
    margin-top: 15px;
  }

  /* 납부절차 조회 */
  .nsfms-card-grid-step {
    grid-template-columns: 1fr;
  }

  .nsfms-card-grid-step .ui-link-arrow {
    transform: rotate(136deg);
  }

  .nsfms-permission-process .ui-btn-md {
    height: auto;
    padding: 10px;
  }

}

/* 움직임 최소화 설정 */
@media (prefers-reduced-motion: reduce) {
  .nsfms-permission-link,
  .nsfms-link-arrow {
    transition: none;
  }
}