html.hidden {overflow: hidden;}
body {
    padding-bottom: env(safe-area-inset-bottom);
}
#condolence_wrap {
    position: relative;
    text-align: left;
}
#condolence_wrap > .pd-16 {
    padding:0 16px 16px;
}
#condolence_wrap > div > p {
    font-weight: 500;
    font-size: 1.4rem;
    text-align: left;
    height: 60px;
    line-height: 60px;
}
#condolence_wrap > div > p i {
    font-size: 1.4rem;
    vertical-align: middle;
    margin-top:-7px
}
#condolence_wrap .mourner-info {
    border-radius: 4px;
    width: 100%;
    padding:12px;
    background-color: #FAFBFB;
    border:1px solid #E5E7EB;
    margin-bottom:16px;
}
#condolence_wrap .mourner-info > p {
    color:#4B5563;
    font-size: var(--font-size-l);
    font-weight: 500;
    text-align: left;
    border-bottom:1px solid #E5E7EB;
    padding-bottom:8px;
    margin-bottom:8px;
}
#condolence_wrap .mourner-info > p > span {
    color:#4B5563;
    font-size: var(--font-size-l);
    font-weight: normal;
    padding-right: 4px;
}
#condolence_wrap .mourner-info > .bank {
    text-align: left;
}
#condolence_wrap .mourner-info > .bank > p {
    text-align: left;
    color:#4B5563;
    font-size: var(--font-size-l);
    font-weight: 500;
    line-height: 1;
}
#condolence_wrap .mourner-info > .bank > b {
    font-size: var(--font-size-l);
    font-weight: 500;
    color:#4B5563;
    letter-spacing: 0;
}
#condolence_wrap .mourner-info > .bank > p > span {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 4px;
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0003 {
    background-image: url("../images/bank/bank-0003.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0004 {
    background-image: url("../images/bank/bank-0004.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0011 {
    background-image: url("../images/bank/bank-0011.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0012 {
    background-image: url("../images/bank/bank-0012.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0088 {
    background-image: url("../images/bank/bank-0088.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0071 {
    background-image: url("../images/bank/bank-0071.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0023 {
    background-image: url("../images/bank/bank-0023.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0081 {
    background-image: url("../images/bank/bank-0081.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0027 {
    background-image: url("../images/bank/bank-0027.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0020 {
    background-image: url("../images/bank/bank-0020.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0039 {
    background-image: url("../images/bank/bank-0039.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0034 {
    background-image: url("../images/bank/bank-0034.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0031 {
    background-image: url("../images/bank/bank-0031.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0032 {
    background-image: url("../images/bank/bank-0032.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0002 {
    background-image: url("../images/bank/bank-0002.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0007 {
    background-image: url("../images/bank/bank-0007.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0037 {
    background-image: url("../images/bank/bank-0037.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0035 {
    background-image: url("../images/bank/bank-0035.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0045 {
    background-image: url("../images/bank/bank-0045.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0048 {
    background-image: url("../images/bank/bank-0048.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0089 {
    background-image: url("../images/bank/bank-0089.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0090 {
    background-image: url("../images/bank/bank-0090.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0064 {
    background-image: url("../images/bank/bank-0064.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0092 {
    background-image: url("../images/bank/bank-0092.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0218 {
    background-image: url("../images/bank/bank-0218.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0247 {
    background-image: url("../images/bank/bank-0247.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0270 {
    background-image: url("../images/bank/bank-0270.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0209 {
    background-image: url("../images/bank/bank-0209.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0238 {
    background-image: url("../images/bank/bank-0238.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0240 {
    background-image: url("../images/bank/bank-0240.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0243 {
    background-image: url("../images/bank/bank-0243.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0261 {
    background-image: url("../images/bank/bank-0261.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0262 {
    background-image: url("../images/bank/bank-0262.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0263 {
    background-image: url("../images/bank/bank-0263.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0266 {
    background-image: url("../images/bank/bank-0266.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0269 {
    background-image: url("../images/bank/bank-0269.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0278 {
    background-image: url("../images/bank/bank-0278.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0280 {
    background-image: url("../images/bank/bank-0280.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0287 {
    background-image: url("../images/bank/bank-0287.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0291 {
    background-image: url("../images/bank/bank-0291.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0265 {
    background-image: url("../images/bank/bank-0265.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0292 {
    background-image: url("../images/bank/bank-0292.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0290 {
    background-image: url("../images/bank/bank-0290.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0264 {
    background-image: url("../images/bank/bank-0264.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0267 {
    background-image: url("../images/bank/bank-0267.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0279 {
    background-image: url("../images/bank/bank-0279.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0227 {
    background-image: url("../images/bank/bank-0227.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0294 {
    background-image: url("../images/bank/bank-0294.png");
}
#condolence_wrap .mourner-info > .bank > p > span.bank-0271 {
    background-image: url("../images/bank/bank-0271.png");
}

#condolence_wrap > div > span, #condolence_wrap > div > label {
    color:#4B5563;
    display: block;
    text-align: left;
    position: relative;
}
#condolence_wrap > div > label {
    margin-bottom:8px;
}
#condolence_wrap > div > label > .same-chk {
    font-size: 12px;
    float:right;
    cursor: pointer;
    position: relative;
    padding-left:18px;
}
#condolence_wrap > div > label > .same-chk::before {
    display: flex;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 2px;
    border: 1px solid #ddd;
    content: '';
    background-color: #fff;
    color: #fff;
    font-family: 'xeicon' !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 12px;
}
#condolence_wrap > div > label > .same-chk.chk::before {
    background-color: #1b3281;
    border-color: #1b3281;
    content: "\e928";
}
#condolence_wrap > div > label + input {
    border-radius: 6px;
    border-color:#E5E7EB;
    font-size: 15px;
    margin-bottom:16px;
    height: 48px;
}
#condolence_wrap > div > label + input::placeholder {
    color:#ccc;
}
#condolence_wrap > div > ul {
    width: 100%;
}
#condolence_wrap > div > ul::after {
    width: 100%;
    clear: both;
    display: block;
    content: '';
}
#condolence_wrap > div > ul > li {
    width: calc((100% - 8px) / 2);
    height: 48px;
    position: relative;
    margin:8px 8px 0 0;
    float:left;
}
#condolence_wrap > div > ul > li:nth-child(2n) {
    margin-right: 0;
}
#condolence_wrap > div > ul > li input {
    display: none;
}
#condolence_wrap > div > ul > li label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border:1px solid #E5E7EB;
    font-size: 15px;
    color:#111;
    line-height: 1;
    cursor: pointer;
}
#condolence_wrap > div > ul > li label.kakaopay {
    font-size: 0;
    color:transparent !important;
    background-image: url("../images/kakaopay-text.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 25px;
}
#condolence_wrap > div > ul > li label.naverpay {
    font-size: 0;
    color:transparent !important;
    background-image: url("../images/naverpay-text.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 20px;
}
#condolence_wrap > div > ul > li input:checked + label {
    border-color:#0E1F7C;
    color:#fff;
    background-color: #0E1F7C;
}
#condolence_wrap > div > ul > li input:checked + label.kakaopay {
    background-color: #F4DB36;
    border-color:#F4DB36;
}
#condolence_wrap > div > ul > li input:checked + label.naverpay {
    background-color: #00DE5A;
    border-color:#00DE5A;
}
#condolence_wrap .payment-info {
    margin-top:16px;
}
#condolence_wrap .payment-info .self-price {
    margin-bottom:16px;
}
#condolence_wrap .payment-info label {
    text-align: left;
    display: block;
    color:#4B5563;
    margin-bottom:8px;
}
#condolence_wrap .payment-info .self-price input {
    border-radius: 6px;
    border-color:#E5E7EB;
    font-size: 15px;
}
#condolence_wrap .payment-info table {
    background-color: rgba(232, 234, 237, .2);
    width: 100%;
}
#condolence_wrap .payment-info th, #condolence_wrap .payment-info td {
    padding:16px 16px 0
}
#condolence_wrap .payment-info th {
    color:#4B5563;
    font-weight: normal;
}
#condolence_wrap .payment-info td {
    color:#4B5563;
    font-weight: 500;
    text-align: right;
}
#condolence_wrap .payment-info tr:last-child th, #condolence_wrap .payment-info tr:last-child td {
    color:#111;
    font-weight: bold;
    font-size: 15px;
    padding-bottom: 16px;
}
#condolence_wrap > button {
    width: calc(100% - 32px);
    margin:0 16px;
    position: sticky;
    bottom: 16px;
    left:0;
    height: 48px;
    cursor: no-drop;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    background-color: #E5E7EB;
    color:#6B7280;
    border:none;
}
#condolence_wrap > button.active {
    cursor: pointer;
    background-color: #1b3281;
    color:#fff;
}
#condolence_wrap .serm {
    background-color: #FAFBFB;
    padding: 16px;
    margin-bottom:32px;
}
#condolence_wrap .serm > p {
    color:#4B5563;
    font-size: var(--font-size-m);
    font-weight: normal;
    line-height: 1;
    height: auto;
    margin-bottom:12px;
}
#condolence_wrap .serm > p > a {
    float:right;
    color:#4B5563;
    text-decoration: underline;
    font-size: var(--font-size-m);
    font-weight: normal;
}
#condolence_wrap .serm input {
    display: none;
}
#condolence_wrap .serm label {
    text-align: left;
    display: block;
    position: relative;
    padding-left: 22px;
    margin-top:16px;
    border-top:1px solid #E5E7EB;
    padding-top:16px;
    cursor: pointer;
}
#condolence_wrap .serm label::before {
    display: flex;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    position: absolute;
    left:0;
    top:20px;
    border:1px solid #ddd;
    content: '';
    background-color: #fff;
    color:#fff;
    font-family: 'xeicon' !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 12px;
}
#condolence_wrap .serm input:checked + label::before {
    background-color: #1b3281;
    border-color: #1b3281;
    content: "\e928";
}

#payment-notice {
    position: fixed;
    top:0;
    left:0;
    z-index: 100;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    padding:40px;
    width: 100%;
    height: 100%;
}
#payment-notice.open {
    display: flex;
}
#payment-notice > div {
    background-color: #fff;
    border-radius: 16px;
    padding:16px;
    width: 100%;
    max-width: 480px;
}
#payment-notice > div > b {
    display: block;
    text-align: center;
    color:#111;
    font-size: var(--font-size-x);
    line-height: 1;
    font-weight: bold;
    margin:16px 0;
}
#payment-notice > div > b i {
    color: #D71920;
    font-size: 24px;
    vertical-align: text-top;
}
#payment-notice > div > p {
    color:#4B5563;
    line-height: 1.4;
    margin-bottom:32px;
}
#payment-notice > div > p b {
    font-weight: bold;
}
#payment-notice > div table {
    background-color: rgba(232, 234, 237, .2);
    width: 100%;
}
#payment-notice > div th, #payment-notice > div td {
    padding:8px 16px 0;
    font-size: 13px;
}
#payment-notice > div th {
    color:#4B5563;
    font-weight: normal;
}
#payment-notice > div td {
    color:#4B5563;
    font-weight: 500;
    text-align: right;
}
#payment-notice > div tr:first-child th, #payment-notice > div tr:first-child td {
    padding-top: 16px;
}
#payment-notice > div tr:last-child th, #payment-notice > div tr:last-child td {
    padding-bottom: 16px;
}

.preview {
    width: 100%;
    padding:16px 16px 16px 52px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, .14);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    justify-items: flex-start;
    position: absolute;
    bottom:0;
    left:0;
    background-color: #fff;
    flex-wrap: wrap;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in-out;
}
.preview.show {
    opacity: 1;
    visibility: visible;
}
.preview::before {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    content: '';
    background-color: #0E1F7C;
    position: absolute;
    left:16px;
    top:50%;
    transform: translateY(-50%);
    display: block;
}
.preview::after {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    content: "";
    background-color: #fff;
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    font-family: xeicon;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: 0;
    font-size: 12px;
    color: #0E1F7C;
}
.preview > span {
    position: absolute;
    bottom:100%;
    left:0;
    display: block;
    width: 100%;
    text-align: center;
    background-color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 0 8px rgba(0, 0, 0, .14);
    border-radius: 8px;
    padding:4px 0;
}
.preview > div {
    margin-bottom:4px;
}
.preview > div, .preview > p {
    display: flex;
    width: 100%;
    justify-content: space-between;
    line-height: 1;
}
.preview > div > b {
    font-size: 15px;
    font-weight: bold;
    color:#111;
    line-height: 1;
    letter-spacing: -1px;
}
.preview > div > b.select-price::before {
    content: '+';
}
.preview > p > span {
    color:#999;
    font-size: 12px;
    line-height: 1;
}

#payment-notice > div input {
    display: none;
}
#payment-notice > div label {
    text-align: left;
    display: block;
    position: relative;
    padding-left: 22px;
    margin-top:16px;
    font-size: 13px;
    line-height: 1.3;
}
#payment-notice > div label::before {
    display: flex;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    position: absolute;
    left:0;
    top:1px;
    border:1px solid #ddd;
    content: '';
    background-color: #fff;
    color:#fff;
    font-family: 'xeicon' !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 12px;
}
#payment-notice > div input:checked + label::before {
    background-color: #1b3281;
    border-color: #1b3281;
    content: "\e928";
}
#payment-notice > div button {
    width: 100%;
    margin-top:16px;
    height: 48px;
    cursor: no-drop;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    background-color: #E5E7EB;
    color:#6B7280;
    border:none;
}
#payment-notice > div button.active {
    cursor: pointer;
    background-color: #1b3281;
    color:#fff;
}
#payment-notice > div button + span {
    display: inline-block;
    margin-top:8px;
    color:#4B5563;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}


.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 100;
    background: rgba(255, 255, 255,.92);
    top:0;
    left:0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#bd-loading {
    width: 240px;
    position: relative;
    height: 80px;
}
#bd-loading > * {
    width: 100%;
    height: auto !important;
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%) !important;
}
.load-item > span {
    display: inline-block;
    width: 10.16px;
    height: 10.16px;
    border-radius: 50%;
    background-color: var(--color-main);
    margin:0 4px;
    animation-duration: 1.5s;
    animation-name: loadingItem;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.load-item > span:nth-child(2) {
    animation-delay: .15s;
}
.load-item > span:nth-child(3) {
    animation-delay: .3s;
}
.load-item > span:nth-child(4) {
    animation-delay: .45s;
}

@keyframes loadingItem {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(100%);
    }
    75% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}
.loading > h2 {
    text-align: center;
    color:#111;
    font-size:var(--font-size-x);
    font-weight: 500;
    line-height: 1.2;
    margin-top:16px;
}
.loading > p {
    color:#727682;
    padding-top:8px;
}