#dialog_bg {
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    z-index: 999;
}

#dialog_container {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0.3rem;
    z-index: 1000;
    background-color: #fff;
    width: 25vw;
    min-width: 46.5rem;
    padding: 3rem;
}
#dialog_container #dialog_head {
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: -0.05em;
    color: #121212;
}
#dialog_container #closeBtn {
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 16px;
    height: 16px;
    background: url("/images/_common/juso/ic_close.svg") no-repeat;
}

#dialog_body {
    display: flex;
    flex-direction: column;
    height: 60rem;
    margin: 0 -3rem;
}
#dialog_body > div {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}
#dialog_body #searchForm {
    margin-top: 2rem;
    padding: 0 3rem;
    display: flex;
    gap: 0.6rem;
}
#dialog_body #searchForm #searchInput {
    border: solid 1px #d2ddec;
    border-radius: 3px;
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    font-weight: 500;
    font-size: 1.5rem;
    color: #121212;
}
#dialog_body #searchForm #searchInput::-moz-placeholder {
    color: #afb2b9;
}
#dialog_body #searchForm #searchInput::placeholder {
    color: #afb2b9;
}
#dialog_body #searchForm #search {
    width: 6.5rem;
    height: 4rem;
    background: #0076ff;
    border-radius: 3px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}
#dialog_body #search_tip {
    margin-top: 3rem;
    padding: 0 3rem;
}
#dialog_body #search_tip p {
    position: relative;
    padding-left: 4rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #3E5FF7;
}
#dialog_body #search_tip p::before {
    content: "Tip";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 0 0.8rem;
    background-color: #EBF0F9;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    height: 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #3E5FF7;
}
#dialog_body #search_tip ul.tipList {
    margin-top: 2rem;
    margin-left: 7px;
}
#dialog_body #search_tip ul.tipList li {
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #262B34;
    text-indent: -7px;
}
#dialog_body #search_tip ul.tipList li ~ li {
    margin-top: 1rem;
}
#dialog_body #search_tip ul.tipList span {
    font-weight: 400;
    color: #768090;
}
#dialog_body .formTip {
    display: flex;
    padding: 0.6rem 3rem 1.6rem;
    flex-direction: column;
    border-bottom: solid 6px #f0f2f4;
}
#dialog_body .formTip div ~ div {
    margin-top: 10px;
}
#dialog_body .formTip p {
    font-size: 1.4rem;
    color: #121212;
    letter-spacing: -0.03em;
}
#dialog_body .formTip p b {
    font-weight: 700;
}
#dialog_body .formTip .delete {
    order: 1;
}
#dialog_body .formTip .much {
    order: 2;
}
#dialog_body .formTip .suggest {
    order: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: solid 1px #ebebeb;
    margin-bottom: -0.6rem;
}
#dialog_body .formTip .suggest:first-child {
    margin-top: -10px;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: none;
}
#dialog_body .formTip .suggest button {
    min-width: 10.5rem;
    height: 3rem;
    padding: 0 2rem 0.1rem 1rem;
    border-radius: 2px;
    background: url("/images/_common/juso/ic_lastArrow_blue.svg") right 10px center no-repeat #edf5ff;
    font-weight: 700;
    letter-spacing: -0.07em;
    font-size: 1.4rem;
    color: #0076ff;
}
#dialog_body #noList {
    margin-top: 4rem;
    padding: 0 3rem;
}
#dialog_body #noList:first-child {
    margin-top: 1rem;
    border-top: solid 6px #f2f4f8;
    padding-top: 4rem;
}
#dialog_body #noList strong {
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    color: #262b34;
}
#dialog_body #noList p {
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    margin-top: 0.8rem;
    color: #667090;
}
#dialog_body #noList + #search_tip {
    margin-top: 1rem;
}
#dialog_body #listHeader {
    margin-top: 1rem;
    padding: 0 3rem;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: #667090;
}
#dialog_body #listHeader i {
    font-weight: 700;
    color: #0076ff;
}
#dialog_body #searchList {
    margin-top: 1rem;
    flex-grow: 1;
    margin-right: 0.6rem;
    padding: 0 2.4rem 0 3rem;
    position: relative;
    overflow-y: scroll;
}
#dialog_body #searchList .list {
    display: grid;
    grid-template-areas: "road roadAddr postNum" "jibun jibunAddr postNum";
    grid-template-columns: 5rem auto 5rem;
    align-items: start;
    gap: 0.4rem 1rem;
    border-top: solid 1px #d9dbe0;
    padding: 1.6rem 0;
    cursor: pointer;
}
#dialog_body #searchList .list:last-child {
    border-bottom: solid 1px #d9dbe0;
}
#dialog_body #searchList .list span {
    grid-area: postNum;
    align-self: center;
    font-size: 1.4rem;
    color: #121212;
    padding-right: 1rem;
}
#dialog_body #searchList .list div {
    display: grid;
    place-items: center;
    height: 24px;
    border-radius: 2px;
    border: solid 1px;
    font-size: 1.3rem;
    letter-spacing: -0.04em;
}
#dialog_body #searchList .list div:nth-of-type(1) {
    grid-area: road;
    background-color: #D2DDEC;
    border-color: #D4DDEB;
    color: #495272;
}
#dialog_body #searchList .list div:nth-of-type(2) {
    grid-area: jibun;
    background-color: #fff;
    border-color: #D2DDEC;
    color: #647093;
}
#dialog_body #searchList .list p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -0.03em;
    word-break: keep-all;
}
#dialog_body #searchList .list p.road {
    grid-area: roadAddr;
    color: #121212;
}
#dialog_body #searchList .list p.street {
    grid-area: jibunAddr;
    color: #666;
}
#dialog_body #pagination-box {
    margin-top: 2rem;
    display: flex;
    height: 3.2rem;
    gap: 0.4rem;
    justify-content: center;
    align-items: center;
}
#dialog_body #pagination-box button {
    width: 3.2rem;
    height: 3.2rem;
    border: solid 1px #d9dbe1;
    border-radius: 2px;
    color: #afb2b9;
    background: center no-repeat;
    font-size: 1.3rem;
    letter-spacing: -0.04em;
    padding-bottom: 0.1rem;
}
#dialog_body #pagination-box button:hover {
    background-color: #F9FAFC;
}
#dialog_body #pagination-box button:active {
    background-color: #EDF5FF;
    border-color: #C6DCFF;
}
#dialog_body #pagination-box button.curPage {
    border-color: #3E5FF7;
    font-weight: 700;
    color: #3E5FF7;
}
#dialog_body #pagination-box button[aria-label=prev] {
    background-image: url("/images/_common/juso/ic_firstArrow.svg");
}
#dialog_body #pagination-box button[aria-label=next] {
    background-image: url("/images/_common/juso/ic_lastArrow.svg");
}

#searchDetail {
    margin-top: 2.5rem;
    flex-grow: 1;
}
#searchDetail .tip {
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    line-height: 1.43;
    color: #666;
    padding: 0 3rem;
    margin-bottom: 0.5rem;
}
#searchDetail input[type=radio] {
    display: none;
}
#searchDetail label {
    padding: 2.5rem 3rem;
    border-bottom: solid 1px #EBF0F9;
}
#searchDetail label dl dt {
    height: 2rem;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    padding-left: 2.5rem;
    color: #121212;
    background: url("/images/_common/juso/ic_radio-unchecked.svg") left center/contain no-repeat;
}
#searchDetail label dl dd {
    display: flex;
    flex-direction: column;
    padding: 0 2.5rem;
    margin-top: 0.5rem;
}
#searchDetail label dl dd p {
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: #373c44;
    padding-left: 0.5rem;
    position: relative;
}
#searchDetail label dl dd p::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 2px);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #373c44;
}
#searchDetail label dl dd input {
    height: 3.2rem;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: #121212;
    margin-top: 1rem;
    padding-left: 0.8rem;
    background-color: #fff;
    border-color: #cfdded;
}
#searchDetail label dl dd input::-moz-placeholder {
    color: #667090;
}
#searchDetail label dl dd input::placeholder {
    color: #667090;
}
#searchDetail input:checked + label {
    background-color: #edf5ff;
}
#searchDetail input:checked + label dl dt {
    background-image: url("/images/_common/juso/ic_radio-checked.svg");
}
#searchDetail .buttons {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: auto;
}
#searchDetail .buttons button {
    border-radius: 3px;
    width: 10rem;
    height: 3.6rem;
    min-height: 3.6rem;
    font-weight: 500;
    font-size: 1.4rem;
    padding-bottom: 0.1rem;
    background: #b2bed2;
    color: #fff;
}
#searchDetail .buttons button:last-child {
    background: #0076ff;
}

@media (max-width: 505px) {
    #dialog_container {
        padding: 2rem;
        min-width: auto;
        width: calc(100% - 40px);
    }
    #dialog_container #closeBtn {
        top: 2rem;
        right: 2rem;
    }
    #dialog_body {
        margin: 0 -2rem;
    }
    #dialog_body #searchForm {
        padding: 0 2rem;
    }
    #dialog_body #searchForm #search {
        min-width: 6rem;
    }
    #dialog_body #listHeader {
        padding: 0 2rem;
    }
    #dialog_body .formTip {
        padding: 0.6rem 2rem 1.6rem;
    }
    #dialog_body #searchList {
        padding: 0 1.4rem 0 2rem;
    }
    #searchDetail .tip {
        padding: 0 2rem;
    }
    #searchDetail label {
        padding: 2.5rem 2rem;
    }
}
@media (max-width: 480px) {
    #dialog_container {
        width: calc(100% - 32px);
    }
}