dialog {
    position: fixed;
    top: 0px;
    bottom: 0px;
    max-width: calc((100% - 6px) - 2em);
    max-height: calc((100% - 6px) - 2em);
    user-select: text;
    visibility: visible;
    overflow: auto;
    visibility: visible;
}
dialog:not([open]) {
    visibility: hidden;
    display: block;
}
/* grid system */

.container {
    width: 100%;
    max-width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1190px) {
    .container {
      max-width: 1190px;
    }
}

.hidden {
    visibility: hidden;
}
.visible {
    visibility: visible;
}
/* grid system */

button:focus {
    outline: none;
}
.head-text {
    padding-top: 60px;
    padding-bottom: 93px;
    font-size: 40px;
    line-height: 39px;
    letter-spacing: -1.0px;
    font-weight: 400;
}
ul.map-navbar {
    display: none;
}

.line {
    width: 100%;
    border: 1px solid black;
}
#storemap {
    display: none;
    width: 100%;
    height: 465px;
    border-radius: 10px;
}
#storemap.show {
    display: block;
}
.storemap-wrapper {
    padding-top: 20px;
    border-top: 1px solid black;
    display: flex;
    justify-content: space-between;
    margin-bottom: 99px;
}

.store-list {
    display: none;
    border: 1px solid black;
    border-radius: 10px;
    min-width: 300px;
    height: 465px;
    overflow-y: scroll;
    padding: 0 15px 15px 15px;
    margin-right: 20px;
}
.store-list.show {
    display: block;
}
.store-list::-webkit-scrollbar {
    display: none;
}
.store-list .store-info {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
    border-bottom: 1px solid #CCCCCC;
}
.store-list .store-info .store-branch {
    font-weight: 500;
    font-size: 12px;
    line-height: 23px;
    letter-spacing: -0.33px;
    margin-top: 20px;
}
.store-list .store-info .detail-info {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.33px;
    display: flex;
    justify-content: space-between;
}
.store-list .store-info .location {
    font-size: 13px;
    font-weight: 300;
    max-width: 145px;
}

.store-info .detail-info .detail-button {
    background-color: black;
    color: white;
    font-size: 10px;
    line-height: 21px;
    letter-spacing: -0.25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 80px;
    width: 57px;
    height: 23px;
    align-self: flex-end;
    font-weight: 200;
    border: none;
}
/* marker */
.marker {
    padding: 15px;
}
.marker .marker-top {
    font-size: 13px;
    line-height: 23px;
    letter-spacing: -0.32px;
    font-weight: 500;
    margin-bottom: 5px;
}
.marker .marker-bottom {
    width: 220px;
    display: flex;
    justify-content: space-between;
}
.marker .marker-bottom .location {
    font-weight: 200;
    font-size: 13px;
    letter-spacing: -0.32px;
    line-height: 18px;
    max-width:170px;
}
.marker .marker-bottom .marker-button {
    font-size: 10px;
    line-height: 21px;
    letter-spacing: -0.25px;
    background-color: black;
    color: white;
    border: unset;
    border-radius: 80px;
    width: 57px;
    height: 23px;
    font-weight: 200;
    align-self: flex-end;
}

.mask {
    display: none;
    z-index: 1;
}
.mask.show {
    display: block;
}

#detail-store {
    z-index: 2;
    width: 400px;
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    padding: 30px 30px 20px 30px;
}
#detail-store header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}
#detail-store .store-branch {
    font-size: 20px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: -0.5px;
}
#detail-store .detail-store {
    font-size: 20px;
    line-height: 23px;
    letter-spacing: -0.5px;
}
#detail-store .content-nav {
    display: flex;
    margin-bottom: 20px;
}
#detail-store .top-close-button {
    border: none;
    background-color: white;
}

.content-nav button.view-store.disable {
    display: none;
}

.content-nav button {
    color: black;
    border: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 21px;
    border-radius: 80px;
    letter-spacing: -0.33px;
    background-color: white;
    padding: 4px 13px;
    margin-right: 5px;
}
.content-nav button.active {
    color: white;
    background-color: black;
}

dialog::backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
}

.detail-info-text li {
    display: flex;
    padding: 19.5px 0;
    border-bottom: 1px solid #dddddd;

}
.detail-info-text .info-key {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.33px;
    color: #999999;
    margin-right: 40px;
    width: 47px;
}
.detail-info-text .info-value {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.33px;
}

.store-detail-info .close-button {
    font-size: 12px;
    letter-spacing: -0.3px;
    padding: 7px 23px;
    border: 1px solid black;
    color: black;
    font-weight: 500;
    border-radius: 80px;
    background-color: white;
}
.store-detail-info button.close-button:focus {
    color: black;
}
.dialog-content {
    position: relative;
    width: 100%;
    height: 200px;
}
.dialog-content .dialog-store-image {
    position: absolute;
    width: 100%;
    height: 100%;
}
.dialog-content #dialog-map {
    position: absolute;
    width: 100%;
    height: 100%;
}

.scroll-block {
    overflow: hidden;
    height: 100%;
}

@media (max-width: 680px) {
    .head-text {
        font-size: 23px;
        line-height: 30px;
        letter-spacing: -0.58px;
        padding-top: 10px;
        padding-bottom: 30px;
    }
    ul.map-navbar {
        display: flex;
        margin-bottom: 0;
    }
    ul.map-navbar li.navbar-item {
        margin-right: 5px;
    }
    ul.map-navbar li.navbar-item button {
        padding-bottom: 13px;
        color: black;
        background-color: unset;
        font-weight: 400;
        border: unset;
        font-size: 18px;
        letter-spacing: -0.25px;
        margin-right: 20px;
    }
    ul.map-navbar li.navbar-item button.active {
        color: #999999;
        box-shadow: inset 0 -4px 0 black;
    }
    .storemap-wrapper {
        padding-top: 0;    
        margin-bottom: 99px;
    }
    .storemap-wrapper .store-list {
        margin-right: 0;
        width: 100%;
        border: unset;
        padding: 0;
        height: unset;
    }
    .storemap-wrapper .store-list.show {
        display: block;
    }
    .storemap-wrapper .store-list .store-info {
        padding-bottom: 20px;
    }
    .store-list .store-info .store-branch {
        margin-bottom: 3px;
        font-size: 15px;
        line-height: 23px;
        letter-spacing: -0.38px;
    }

    #storemap {
        margin-top: 10px;
    }
}

.circle-button {
	width: 73px;
	border-radius: 100%;
	height: 73px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: black;
}

#top_btn {
    border: unset;
    background: unset;
    border-radius: 100%;
}
.circle-button {
	display: flex;
	align-items: center;
	justify-content: center;
    position: relative;
	width: 56px;
	height: 56px;
}
.circle-button img {
    position: absolute;
}
.circle-button img.background {
	width: 56px;
	height: 56px;
}
.footer-button {
	position: fixed;
    bottom: 40px;
    right: 89px;
	display: flex;
    z-index: 1;
}
.footer-button #top_btn {
    box-shadow: 0px 5px 7px 0px rgb(0 0 0 / 30%);
}
#inquiry-button {
	width: 184px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: black;
	border: 0;
	color: white;
	margin-right: 10px;
}
.footer-button #inquiry-button {
    box-shadow: 0px 5px 7px 0px rgb(0 0 0 / 30%);
}

@media (max-width: 680px){
    .footer-button {
        bottom: 12px;
        right: 15px;
    }
    .circle-button {
        width: 45px;
        height: 45px;
    }
    .circle-button img.background {
        width: 45px;
        height: 45px;
    }
}