/* ビューの切り替え */
.pc_view {
    display: block;
    padding: 5px 30px;
}

.sp_view {
    display: none;
    padding: 0 20px;
}

.nonLoginTopMargin {
    margin-top: 10px;
}

#getLocationSearch {
    cursor: pointer;
}

@media screen and (max-width: 840px) {
    .nonLoginTopMargin {
        margin-top: 10px;
    }
}

@media screen and (max-width: 640px) {
    .pc_view {
        display: none;
    }

    .sp_view {
        display: block;
    }
}

/* PC用ビューについて記載 */
.search_button {
    margin-top: 30px;
    padding: 10px 50px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 6px;
}

.search_button:hover {
    color: white;
    opacity: 0.9;
}

.form_input_flex {
    display: flex;
    align-items: flex-end;
}

.form-content {
    width: 200px;
    margin-right: 10px;
    margin-bottom: 20px;
}

.form-content-two-column {
    width: 410px;
}

.store_content {
    width: 100%;
    height: 101px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #CBF1FC;
    padding: 10px 10px 10px 16px;
}

.store_content h3.store_name {
    font-size: 20px;
    margin-top: 0;
}

.store_content .store_address {
    font-size: 16px;
}

a.favorited_button {
    min-width: 125px;
    padding: 12px 34px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    background-color: #F8BF32;
    border-radius: 6px;
    margin-left: 15px;
}

a.non_favorited_button {
    min-width: 124px;
    padding: 12px 20px;
    color: black;
    font-weight: bold;
    font-size: 12px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #F8BF32;
    margin-left: 15px;
}

@media screen and (max-width: 640px) {
    a.favorited_button {
        min-width: 105px;
        padding: 8px 24px;
    }

    a.non_favorited_button {
        min-width: 104px;
        padding: 8px 10px;
    }
}

/* SP用ビューについて記載 */
.form-content-sp {
    width: 100%;
    margin-bottom: 45px;
    display: flex;
    align-items: center;
}

.search_area_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-search {
    font-size: 12px;
    color: black;
}

.form-content-sp .input_style {
    padding: 0;
    padding-left: 2%;
    border-bottom: 1px solid #424242;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-content-sp input {
    max-width: 64vw;
    outline: none;
    border: none;
    padding: 5px 7px;
    padding-right: 0;
    flex: 2;
}

.form-content-sp .input_style button {
    background-color: black;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    padding: 5px 15px;
    margin-bottom: 2px;
}

.sp_search_content {
    width: 100%;
    border-top: 1px solid #DADADA;
}

.sp_search_content li {
    width: 100%;
    border-bottom: 1px solid #DADADA;
    padding: 15px 4%;
}

.sp_search_content details li:first-child {
    border-top: 1px solid #DADADA;
    margin-top: 10px;
}

.sp_search_content details li:last-child {
    border-bottom: none;
    padding-bottom: 5px;
}

.sp_search_content .pull_list {
    display: flex;
    justify-content: space-between;
}

.sp_search_content details {
    width: 100%;
}

.sp_search_content summary::-webkit-details-marker {
    display: none;
}

.sp_search_content details[open] summary .allow {
    transform: rotate(180deg);
}

.sp_search_content details[open] details summary .allow {
    transform: rotate(0deg);
}

.sp_search_content details[open] details[open] summary .allow {
    transform: rotate(180deg);
}

.search-button {
    min-width: 54px;
}

/* スマホ店舗結果画面 */
.sp_store_content {
    padding: 12px 0;
    border-bottom: 1px solid #DADADA;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp_store_content .store_name {
    font-size: 14px;
    margin-top: 0;
}

.sp_store_content .store_address {
    font-size: 12px;
}

/* スマホ詳細検索処理 */
#sp_shop_detail_search .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.671);
    width: 100%;
    height: 100%;
    z-index: 100;
}

/* モーダルウィンドウ */
#sp_shop_detail_search .modal-window {
    display: none;
    position: fixed;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 880px;
    height: 90%;
    background-color: #ffffff;
    border-radius: 5px;
    z-index: 101;
}

#sp_shop_detail_search .modal-innner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#sp_shop_detail_search .modal-innner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 900px) {
    #sp_shop_detail_search .modal-window {
        width: 95%;
        height: 85%
    }
}

#sp_shop_detail_search .modal-header {
    display: flex;
    align-items: center;
}

#sp_shop_detail_search .modal-header .close-button {
    background-color: white;
    border: none;
    color: black;
}

#sp_shop_detail_search .modal-header .title {
    flex: 1;
    text-align: center;
    font-size: 19px;
    margin: 0;
}

#sp_shop_detail_search .modal-content-area {
    flex: 1;
    overflow-y: scroll;
}

#sp_shop_detail_search .modal-footer {
    text-align: center;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sp_shop_detail_search .modal-search-button {
    padding: 10px 80px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 8px;
}

#sp_shop_detail_search input[type=checkbox] {
    width: 16px;
    height: 16px;
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* チェックした時のスタイル */
#sp_shop_detail_search input[type=checkbox]:checked {
    color: #fff;
    background-color: rgb(0, 0, 0);
    accent-color: black;
}

.result-zero {
    text-align: center;
    margin-bottom: 50px;
}