/* SMS Modal */
.modal {
    background: #fff;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: 0.3s;
    z-index: 1001;
    overflow-y: scroll;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 500px) {
    .modal {
        padding: 10% 0;
        transform: none;
        width: auto;
        max-width: none;
        transition: 0.3s;
        z-index: 1001;
    }

    .modal p {
        font-size: 1rem;
    }
}

.modal .modal-sp {
    max-width: 500px;
    width: 86%;
    margin: auto;
    background: #fff;
    padding: 16px;
}

@media (max-width: 500px) {
    .modal .modal-sp {
        max-width: none;
        padding: 2% 2%;
        width: 84%;
    }
}

.modal h2 {
    display: block;
    text-align: center;
    font-size: 28px;
    line-height: 1.4;
    padding: 8px 0;
    color: #553819;
    margin: -15px 0 0 0;
}

.modal .modal-flow {
    background-color: #f4f4f4;
    padding: 8px;
    margin: 8px 0;
}

.modal .modal-flow h3 {
    display: block;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 4px 0;
    color: #553819;
    background-color: unset;
    margin: 0;
}

.modal .modal-flow p {
    font-size: 18px;
    margin: 0px;
    padding: 8px 4px;
}

.modal .modal-flow .modal-attention {
    font-size: 0.7rem;
    padding: 4px;
}

.modal .open-content {
    text-decoration: underline;
    cursor: pointer;
    display: block;
    margin: 4px 0px 0px 0px;
    font-size: 16px;
    color: #0044cc;
}

.modal-content {
    display: none;
    color: black;
    font-size: 1rem;
}

.is-open {
    display: block;
    line-height: 1rem;
    font-weight: 500;
}

.close-modal-btn {
    font-weight: 600;
    display: block;
    background: #68fe81;
    background: linear-gradient(to bottom, #68fe81 0%, #50d869 50%, #03b41b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#68fe81', endColorstr='#03b41b', GradientType=0);
    width: 100%;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    padding: 12px 0;
    margin: 16px auto;
    box-shadow: 0 5px 0 0 #028d15;
    cursor: pointer;
}

.dli-arrow-down {
    font-size: 1rem;
    display: block;
    vertical-align: middle;
    margin-left: 3rem;
    position: relative;
    width: 0.1rem;
    height: 1.5rem;
    background: currentColor;
}

.dli-arrow-down::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border: 0.1em solid currentColor;
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg);
    transform-origin: bottom left;
    position: absolute;
    left: 50%;
    bottom: -0.05rem;
    box-sizing: border-box;
}

.open-phone-modal {
    color: #0044cc;
    border: unset;
    width: 100%;
    background-color: #f4f4f4;
    padding: 4px;
}

.open-phone-modal:hover {
    cursor: pointer;
}

.phone-modal-content {
    display: none;
}

.phone-modal-content .back-ground {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.phone-modal-content .modal-sp {
    position: relative;
    z-index: 4;
    padding: 24px 16px;
}

.phone-modal-content .modal-flow {
    margin: 16px 0 32px 0;
}

.phone-modal-content .modal-flow h4 {
    text-align: center;
    color: #553819;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 8px;
}

.phone-modal-content .modal-flow ul {
    margin: 1rem;
}

.phone-modal-content .modal-flow ul li {
    margin: 8px 0 8px 16px;
    font-size: 1.3rem;
    color: #553819;
}

.phone-modal-content .step-next-btn {
    position: relative;
    background: #68fe81;
    background: -moz-linear-gradient(top, #68fe81 0%, #50d869 50%, #03b41b 100%);
    background: -webkit-linear-gradient(top, #68fe81 0%, #50d869 50%, #03b41b 100%);
    background: linear-gradient(to bottom, #68fe81 0%, #50d869 50%, #03b41b 100%);
    width: 100%;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    padding: 12px 0;
    margin: -4px 6px 16px 0;
    box-shadow: 0 5px 0 0 #028D15;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, .4);
    cursor: pointer;
    transition: all .3s;
}

@media (max-width: 500px) {
    .phone-modal-content .step-next-btn {
        margin: 0 0 16px 0;
    }
}

.phone-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1rem;
    width: 100%;
    height: 100%;
}
