@charset "utf-8";

/* -----------------------------------------------------------------------------
// 기부하기 > 온라인 기부 신청 (new.vm / complete.vm)
//
// 팔레트는 donation/styles/main.css 와 맞춘다.
//   navy  #1D3A8F / #1E2B44 / #22314A
//   copper #D07C5E / #D8998A / #E5B09A
//   ground #F9F8F7 / #FFF8F5
----------------------------------------------------------------------------- */

/* 레이아웃 클래스(display:grid/flex)가 [hidden] 을 이기지 못하도록 항상 우선한다. */
.donation-apply [hidden] {
    display: none !important;
}

.donation-apply .article .section {
    width: 100%;
    max-width: none;
}

/* ---------------------------------------
    단계 표시
--------------------------------------- */
.dn-steps {
    display: flex;
    margin: 0 0 50px;
    padding: 0;
    list-style: none;
    border-top: 1px solid #E5E3E0;
    border-bottom: 1px solid #E5E3E0;
}
.dn-steps > li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 22px 10px;
    color: #A8A5A1;
}
.dn-steps > li + li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 34px;
    margin-top: -17px;
    background: #E5E3E0;
}
.dn-steps__no {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.dn-steps__label {
    text-align:center;
    font-size: 1.6rem;
    font-weight: 700;
    word-break: keep-all;
}
.dn-steps > li.is-current {
    color: #1D3A8F;
}
.dn-steps > li.is-current .dn-steps__no {
    color: #D07C5E;
}
.dn-steps > li.is-done {
    color: #7A8698;
}

/* ---------------------------------------
    블록
--------------------------------------- */
.dn-block {
    margin: 0 0 42px;
}
.dn-block__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0 0 12px;
    font-size: 2rem;
    font-weight: 800;
    color: #1E2B44;
    border-bottom: 2px solid #1E2B44;
}
.dn-block__no {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #D07C5E;
    letter-spacing: 0.08em;
}
.dn-block__tag {
    margin-left: auto;
    padding: 4px 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1D3A8F;
    background: #EEF2FB;
    border-radius: 2px;
}

/* ---------------------------------------
    휴대폰 본인인증 (NICE CheckPlus)
--------------------------------------- */
.dn-cert {
    padding: 32px 28px;
    text-align: center;
    background: #F9F8F7;
    border: 1px solid #E5E3E0;
    border-radius: 3px;
}
.dn-cert__desc {
    margin: 0 0 24px;
    font-size: 1.5rem;
    line-height: 1.75;
    color: #6B7280;
    word-break: keep-all;
}
.dn-cert__desc b {
    font-weight: 700;
    color: #22314A;
}

/* 인증 수단 선택 (휴대폰 / 아이핀) */
.dn-cert__ways {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
}
.dn-cert__way {
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid #DCD9D5;
    border-radius: 3px;
}
.dn-cert__way-title {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1D3A8F;
}
.dn-cert__way-desc {
    flex: 1;
    margin: 0 0 20px;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #6B7280;
}
.dn-cert__way-desc b {
    font-weight: 700;
    color: #22314A;
}
.donation-apply .article .section .dn-cert__btn {
    width: 100%;
    min-width: 0;
}
.donation-apply .article .section .dn-cert__error {
    margin-top: 16px;
    text-align: center;
}

/* 인증 완료 표시 */
.dn-cert__done {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.dn-cert__badge {
    padding: 6px 14px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    background: #1D3A8F;
    border-radius: 2px;
}
.dn-cert__info {
    margin: 0 !important;
    font-size: 1.6rem;
    color: #22314A;
}
.dn-cert__info strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1E2B44;
}
.dn-cert__tel {
    margin-left: 8px;
    font-family: 'Open Sans', sans-serif;
    font-variant-numeric: tabular-nums;
    color: #6B7280;
}
.donation-apply .article .section .dn-cert__again {
    min-width: 0;
    padding: 8px 16px;
    font-size: 1.4rem;
}

/* ---------------------------------------
    휴대전화번호 등록 안내 (개인 후원 전용)
    화면 진입 시 레이어 팝업 대신 폼 안에서 안내한다.
--------------------------------------- */
.dn-block__no--mark {
    font-size: 1.8rem;
    color: #C0392B;
}
.dn-phone-title {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 24px;

    width: 100%;
    padding: 24px 0 32px;
}
.dn-phone-title h4 {
    text-align: center;
    line-height: 1.5;
    font-size: 28px;
    font-weight: 900;
    word-break: keep-all;
}
.dn-phone-title .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;

    padding: 12px 32px;
    border-radius: 44px;
}
.dn-phone-title .btn b {
    font-size: 19px;
    font-weight: 800;
}
.dn-phone-title .btn i {
    line-height: 1;
}

.dn-phone__img {
    margin-bottom: 24px;
    padding: 16px 0;
    text-align: center;
}
.dn-phone__img > ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 44px;

    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dn-phone__img > ul > li {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;

    width: 100%;
}
.dn-phone__img > ul > li .title {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 12px;

    font-size: 21px;
}
.dn-phone__img > ul > li .title b {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    border-radius: 32px;
    background: #C05C43;
}
.dn-phone__img > ul > li .title strong {

}
.dn-phone__img > ul > li .thm-area {
    order: 1;
    padding: 16px;
    border-radius: 20px;
    background-color: #f0f0f0;
}
.dn-phone__img > ul > li .thm-area img {
    max-width: 100%;
}
.dn-phone__img > ul > li .info {
    order: 2;
    font-size: 16px;
    font-weight: 800;
    color: #C05C43;
    word-break: keep-all;
}
.dn-phone__img > ul > li.arrow {
    display: none;
    max-width: 36px;
}
.dn-phone__img > ul > li.arrow .feather {
    width: 36px;
    height: 36px;
    color: #da7d66;
}

.dn-phone__ask,
.dn-phone__warn,
.dn-phone__done {
    padding: 22px 20px;
    text-align: center;
    background: #FFF8F5;
    border: 1px solid #D07C5E;
    border-radius: 3px;
}
.dn-phone__q {
    margin: 0 0 18px;
    font-size: 1.9rem;
    font-weight: 800;
    color: #1E2B44;
    word-break: keep-all;
}
.dn-phone__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.dn-phone__btns .btn-primary {
    border: 1px solid #C05C43;
    background-color: #C05C43;
}
.dn-phone__btns .btn-default {
    border: 1px solid #dfdfdf;
    background-color: #fff;
}

.donation-apply .article .section .dn-phone__btns .btn {
    min-width: 140px;
}
.dn-phone__warn {
    background: #FDF3F2;
    border-color: #E8B4AE;
}
.dn-phone__warn-text {
    margin: 0 0 18px;
    font-size: 1.8rem;
    line-height: 1.8;
    color: #000;
    word-break: keep-all;
}
.dn-phone__warn-text b {
    font-size: 1.8rem;
    font-weight: 800;
    color: #C0392B;
}
.donation-apply .article .section .dn-phone__warn .dn-phone__again {
    font-size: 1.9rem;
}

.dn-phone__done {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.dn-phone__done-text {
    margin: 0 !important;
    font-size: 1.5rem;
    color: #22314A;
    word-break: keep-all;
}

.dn-phone__badge {
    display: inline-block;
    margin-right: 8px;
    padding: 5px 12px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    background: #C05C43;
    border-radius: 2px;
}
.dn-phone__badge.is-warn {
    background: #C0392B;
}
.donation-apply .article .section .dn-phone__again {
    min-width: 0;
    padding: 4px 12px;
    font-size: 1.3rem;
    border: 1px solid #dfdfdf;
    background: #fff;
}

/* NICE 호출용 폼(form_chk)은 화면에 나오지 않는다. */
.dn-cert__form {
    display: none;
}

/* 본인인증으로 확정돼 수정할 수 없는 항목 */
.donation-apply .article .section .form-control.is-locked {
    color: #4B5563;
    background: #F2F1EF;
    border-color: #DCD9D5;
    cursor: not-allowed;
}
.dn-radio.is-locked {
    pointer-events: none;
    opacity: 0.75;
}
.dn-cert-lock-hint {
    margin-bottom: 16px;
}

/* ---------------------------------------
    신청자 구분 (회원 / 비회원) · 회원 로그인
    선택 카드는 후원자 구분(.dn-donor__item)과 같은 모양을 쓴다.
--------------------------------------- */
.dn-entry {
    display: grid;
    /* 선택지가 3개(비로그인) / 1개(학회 로그인)로 달라지므로 개수에 맞춰 나눈다. */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.dn-member {
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}
.dn-member__field {
    margin-bottom: 14px;
}
.dn-member__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #22314A;
}
.dn-member__submit {
    margin-top: 20px;
}
.donation-apply .article .section .dn-member__submit .btn {
    width: 100%;
    min-width: 0;
}
.donation-apply .article .section .dn-member__error {
    margin-top: 16px;
    text-align: center;
}

/* ---------------------------------------
    후원자 구분 / 결제 수단 선택
--------------------------------------- */
.dn-donor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.dn-donor__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 24px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #DCD9D5;
    border-radius: 3px;
    transition: border-color 0.15s, background 0.15s;
}
.dn-donor__item:hover {
    border-color: #B9C4DC;
}
.dn-donor__item input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.dn-donor__item b {
    font-size: 2.1rem;
    font-weight: 800;
    color: #000;
}
.dn-donor__item span {
    font-size: 1.5rem;
    color: #000;
}
.dn-donor__item.is-active {
    background: #FFF8F5;
    border-color: #D07C5E;
    box-shadow: inset 0 0 0 1px #D07C5E;
}
.dn-donor__item.is-active b {
    color: #C05C43;
}

/* ---------------------------------------
    후원 금액
--------------------------------------- */
.dn-amount {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.dn-amount__btn {
    padding: 16px 8px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #22314A;
    background: #fff;
    border: 1px solid #DCD9D5;
    border-radius: 3px;
    transition: border-color 0.15s, background 0.15s;
}
.dn-amount__btn:hover {
    border-color: #B9C4DC;
}
.dn-amount__btn.is-active {
    color: #fff;
    background: #1D3A8F;
    border-color: #1D3A8F;
}
.dn-amount__btn--custom {
    border-style: dashed;
}

.dn-amount__custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 14px 0 0;
    padding: 16px 18px;
    background: #FFF8F5;
    border: 1px dashed #D07C5E;
    border-radius: 3px;
}
.dn-amount__custom label {
    flex: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E2B44;
}
.donation-apply .article .section .dn-amount__custom input {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: #1E2B44;
    background: #fff;
    border: 1px solid #DCD9D5;
    border-radius: 2px;
}
.dn-amount__unit {
    flex: none;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1E2B44;
}

.dn-amount__total {
    margin: 18px 0 6px;
    padding: 18px 22px;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: right;
    color: #1E2B44;
    background: #F5F6F9;
    border-radius: 3px;
}
.dn-amount__total strong {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #1D3A8F;
}
.dn-amount__total strong.is-zero {
    color: #A8A5A1;
}

.dn-hint {
    margin: 0;
    font-size: 1.4rem;
    color: #6B7280;
    text-align: right;
}
.dn-hint--left {
    margin-top: 10px;
    text-align: left;
}

/* ---------------------------------------
    formValidation
    bootstrap 어댑터 기본값을 그대로 쓴다.
      row  = .form-group  (invalid 시 .has-error)
      err  = .help-block  (에러 메시지)
    부트스트랩5 에는 .form-group / .has-error / .help-block 정의가 없으므로
    여기서 직접 스타일을 준다.
--------------------------------------- */
.donation-apply .article .section .help-block,
.donation-apply .article .section .dn-error {
    display: block;
    margin: 6px 0 0;
    font-size: 1.35rem;
    line-height: 1.5;
    color: #C0392B;
}
.donation-apply .article .section .has-error .form-control {
    border-color: #C0392B;
}
.donation-apply .article .section .has-error .form-control:focus {
    border-color: #C0392B;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.12);
}
.donation-apply .article .section .has-error > label {
    color: #C0392B;
}
.donation-apply .article .section .dn-amount__custom.has-error {
    border-color: #C0392B;
    background: #FDF3F2;
}
.dn-amount__error {
    margin: 10px 0 0;
    text-align: right;
}
/* 직접 입력 박스는 flex 라 에러 메시지가 한 줄을 통째로 차지하게 한다. */
.donation-apply .article .section .dn-amount__custom .help-block {
    width: 100%;
    margin: 0;
}
/* 약관 동의는 안내 박스 위, 체크박스 바로 아래에 메시지를 놓는다. */
.dn-error-slot:empty {
    display: none;
}
.dn-agree__item .dn-error-slot {
    margin: 8px 0 0 26px;
}
.donation-apply .article .section .dn-error-slot .help-block {
    margin: 0;
}

/* ---------------------------------------
    입력 항목
--------------------------------------- */
.dn-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}
.dn-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dn-field--full {
    grid-column: 1 / -1;
}
.dn-field > label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22314A;
}
.dn-field > label em {
    font-style: normal;
    color: #D07C5E;
}
.donation-apply .article .section .dn-field .form-control {
    height: 42px;
    line-height: 42px;
    font-size: 1.5rem;
    border-color: #DCD9D5;
}
.donation-apply .article .section .dn-field .form-control:focus {
    border-color: #1D3A8F;
    box-shadow: 0 0 0 2px rgba(29, 58, 143, 0.12);
}
.donation-apply .article .section .dn-field .form-control[type=date] {
    /*padding: 0 10px;*/
    line-height: 1.5;
}

.dn-fields__sub {
    margin: 8px 0 -4px;
    padding: 0 0 8px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1D3A8F;
    border-bottom: 1px solid #E5E3E0;
}

.dn-radio {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 42px;
}
.dn-radio label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.5rem;
    color: #22314A;
    cursor: pointer;
}

.dn-addr {
    display: grid;
    grid-template-columns: 160px 120px 1fr;
    gap: 10px;
}
.dn-addr__zip {
    font-variant-numeric: tabular-nums;
}
/* 카카오 우편번호 서비스 호출 버튼 */
.donation-apply .article .section .dn-addr__find {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 700;
}
/* 기본 · 상세 주소는 한 줄을 다 쓴다. */
.dn-addr__full {
    grid-column: 1 / -1;
}

/* ---------------------------------------
    약관 동의
--------------------------------------- */
.dn-agree {
    margin: 0;
    padding: 0;
    list-style: none;
}
.dn-agree > li {
    padding: 16px 0;
    border-bottom: 1px solid #EFEDEA;
}
.dn-agree > li:last-child {
    border-bottom: 0;
}
.dn-agree > li > label {
    display: flex;
    align-items: center;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.5rem;
    color: #22314A;
    cursor: pointer;
    word-break: keep-all;
}
.dn-agree > li > label input[type=checkbox] {
    margin-top: 4px;
}
.dn-agree > li > label b {
    flex: 0 0 42px;
    color: #D07C5E;
}
.dn-agree__box {
    margin: 10px 0 0 26px;
    padding: 14px 16px;
    font-size: 1.35rem;
    line-height: 1.7;
    color: #6B7280;
    background: #F7F7F6;
    border-radius: 3px;
}

/* ---------------------------------------
    phase 2 - 신청 요약
--------------------------------------- */
.dn-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0 0 42px;
    background: #E5E3E0;
    border: 1px solid #E5E3E0;
    border-radius: 3px;
    overflow: hidden;
}
.dn-summary dl {
    margin: 0;
    padding: 20px 22px;
    background: #fff;
}
.dn-summary dt {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #6B7280;
}
.dn-summary dd {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1E2B44;
}
.dn-summary__sub {
    margin-left: 6px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #6B7280;
}
.dn-summary dl.is-price {
    background: #FFF8F5;
}
.dn-summary dl.is-price strong {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #D07C5E;
}

/* ---------------------------------------
    안내 · 계좌
--------------------------------------- */
.dn-notice {
    margin: 18px 0 0;
    padding: 16px 20px;
    background: #F5F6F9;
    border-left: 3px solid #1D3A8F;
    border-radius: 0 3px 3px 0;
}
.dn-notice p {
    margin: 0 0 6px;
    font-size: 1.45rem;
    line-height: 1.6;
    color: #22314A;
}
.dn-notice p:last-child {
    margin: 0;
}
.dn-notice--warn {
    background: #FFF8F5;
    border-left-color: #D07C5E;
}
.dn-notice--warn p {
    color: #A85A38;
}

.dn-account {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 0;
    padding: 20px 24px;
    background: #1E2B44;
    border-radius: 3px;
}
.dn-account__label {
    font-size: 1.35rem;
    font-weight: 700;
    color: #A9B6D0;
}
.dn-account strong {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #fff;
}
.dn-account__holder {
    font-size: 1.4rem;
    color: #D9E0EE;
}

.dn-alert {
    margin: 0 0 30px;
    font-size: 1.5rem;
}

/* ---------------------------------------
    버튼 영역
--------------------------------------- */
.dn-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 46px 0 0;
    padding: 34px 0 0;
    border-top: 1px solid #E5E3E0;
}
.donation-apply .article .section .dn-btns .btn {
    min-width: 200px;
}

/* ---------------------------------------
    phase 3 - 완료
--------------------------------------- */
.dn-complete {
    text-align: center;
}
.dn-complete__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 20px 0 24px;
    color: #fff;
    background: #1D3A8F;
    border-radius: 50%;
}
.dn-complete__icon .feather {
    width: 38px;
    height: 38px;
    stroke-width: 3;
}
.dn-complete__title {
    margin: 0 0 12px;
    font-size: 3.2rem;
    font-weight: 800;
    color: #1E2B44;
}
.dn-complete__desc {
    margin: 0 0 40px;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #6B7280;
}

.dn-receipt {
    width: 100%;
    text-align: left;
    border-top: 2px solid #1E2B44;
}
.dn-receipt dl {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #EFEDEA;
}
.dn-receipt dt {
    flex: none;
    width: 140px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #6B7280;
}
.dn-receipt dd {
    flex: 1;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1E2B44;
    word-break: break-all;
}
.dn-receipt dd strong {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #D07C5E;
}
.dn-complete .dn-notice {
    width: 100%;
    margin: 20px 0 0;
    text-align: left;
}

/* -----------------------------------------------------------------------------
// 반응형 스타일
----------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {

    /************************************
        홈택스 휴대전화번호 등록 안내
     ************************************/
    .dn-phone-title {
        gap: 16px;

        padding: 24px 0;
    }
    .dn-phone-title h4 {
        font-size: 32px;
    }
    .dn-phone-title .btn {
        padding: 10px 32px;
        border-radius: 44px;
    }
    .dn-phone-title .btn b {
        font-size: 17px;
    }

    .dn-phone__img {
        padding: 12px 0;
    }
    .dn-phone__img > ul {
        gap: 16px;
    }
    .dn-phone__img > ul > li {
        gap: 12px;
    }
    .dn-phone__img > ul > li .title {
        gap: 10px;

        font-size: 19px;
    }
    .dn-phone__img > ul > li .title b {
        width: 28px;
        height: 28px;
        font-size: 1.5rem;
        border-radius: 28px;
    }
    .dn-phone__img > ul > li .thm-area {
        padding: 12px;
    }
    .dn-phone__img > ul > li .info {
        font-size: 15px;
    }
    .dn-phone__img > ul > li.arrow {
        display: none;
    }

    .dn-phone__warn-text {
        font-size: 16px;
    }

}


/* 960px - 모바일 메뉴 시작 */
@media screen and (max-width: 960px) {

    .dn-amount {
        grid-template-columns: repeat(3, 1fr);
    }
    .dn-summary {
        grid-template-columns: 1fr;
    }
    .dn-addr {
        grid-template-columns: 140px 120px 1fr;
    }

    /************************************
        홈택스 휴대전화번호 등록 안내
     ************************************/
    .dn-phone-title {
        padding: 16px 0;
    }
    .dn-phone-title h4 {
        font-size: 24px !important;
    }
    .dn-phone-title .btn {
        padding: 8px 24px;
    }
    .dn-phone-title .btn b {
        font-size: 16px;
    }

    .dn-phone__img {
        padding: 32px 0;
    }
    .dn-phone__img > ul {
        flex-flow: column nowrap;
        gap: 44px;
    }
    .dn-phone__img > ul > li .thm-area {
        order: 2;
    }
    .dn-phone__img > ul > li .thm-area img {
        max-width: 360px;
        width: 100%;
    }
    .dn-phone__img > ul > li .info {
        order: 1;
        font-size: 15px;
    }
    .dn-phone__img > ul > li.arrow {
        display: none;
    }

    .dn-phone__warn-text {
        font-size: 16px;
    }

}

/* phone ~ 768px */
@media screen and (max-width: 768px) {

    .dn-steps {
        margin-bottom: 34px;
    }
    .dn-steps > li {
        padding: 16px 6px;
    }
    .dn-steps__label {
        font-size: 1.4rem;
    }
    .dn-block__title {
        font-size: 1.8rem;
    }
    .dn-cert {
        padding: 26px 18px;
    }
    .dn-cert__ways {
        grid-template-columns: 1fr;
    }
    .dn-cert__done {
        flex-direction: column;
        gap: 10px;
    }
    .dn-phone__btns {
        flex-direction: column;
    }
    .donation-apply .article .section .dn-phone__btns .btn {
        width: 100%;
        min-width: 0;
    }
    .dn-phone__done {
        flex-direction: column;
        gap: 10px;
    }
    .dn-entry,
    .dn-donor {
        grid-template-columns: 1fr;
    }
    .dn-fields {
        grid-template-columns: 1fr;
    }
    .dn-btns {
        flex-direction: column-reverse;
    }
    .donation-apply .article .section .dn-btns .btn {
        width: 100%;
        min-width: 0;
    }
    .dn-complete__title {
        font-size: 2.6rem;
    }

    .dn-phone__warn-text br {
        display: none;
    }

}

/* phone ~ 480px */
@media screen and (max-width: 480px) {

    .dn-amount {
        grid-template-columns: repeat(2, 1fr);
    }
    .dn-amount__btn--custom {
        grid-column: 1 / -1;
    }
    .dn-addr {
        grid-template-columns: 1fr 1fr;
    }
    .dn-block__title {
        flex-wrap: wrap;
    }
    .dn-block__tag {
        margin-left: 0;
    }
    .dn-receipt dl {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .dn-receipt dt {
        width: auto;
    }

}

/* -----------------------------------------------------------------------------
// 휴대전화번호 등록 안내 레이어 팝업 (_layer_popup_apply.vm)
//
// 본인인증 단계 위를 완전히 덮어 [닫기] 전에는 인증 버튼을 누를 수 없게 한다.
// 열림 상태는 .is-open 으로만 만든다. (기본은 display:none)
----------------------------------------------------------------------------- */
.dn-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
    background: rgba(0, 0, 0, .65);
}
.dn-popup.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dn-popup__box {
    position: relative;
    /* 세로 중앙. 화면이 짧으면 잘리지 않고 위에서부터 스크롤된다. */
    margin: auto;
    width: 100%;
    max-width: 760px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
    background: #fff;
}
.dn-popup__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.dn-popup__body {
    font-size: 0;
    line-height: 0;
}
.dn-popup__body img {
    display: block;
    width: 100%;
    height: auto;
}
.dn-popup__foot {
    padding: 16px 20px 20px;
    text-align: center;
    background: #fff;
}
.dn-popup__close {
    min-width: 160px;
}

/* 팝업이 열려 있는 동안 뒤 페이지는 스크롤되지 않는다. */
body.dn-popup-open {
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .dn-popup {
        padding: 14px;
    }
    .dn-popup__foot {
        padding: 12px 14px 16px;
    }
    .dn-popup__close {
        min-width: 120px;
    }
}
