.mx-0 {
    margin-left: 0!important;
    margin-right: 0!important;
}

.px-0 {
    padding-left: 0!important;
    padding-right: 0!important;
}

#shop-cat [data-category1] {
    padding: 10px;
}

#shop-cat [data-category1].active:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -15px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #f1905b transparent transparent transparent;
    border-width: 15px 15px 0 15px;
}

#shop-list {
    background-color: #FFFFFF;
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
}

#shop-list>* {
    max-width: 780px;
}

#shop-list .refine {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0 10px;
}

#shop-list .refine h4 {
    font-weight: bold;
    margin-right: 1em;
}

#category2 {
    display: flex;
    flex: 1;
}

#category2 .selectbox {
    position: relative;
    flex: 1;
    margin: 0;
}

#category2 .selectbox::before,
#category2 .selectbox::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

#category2 .selectbox::before {
    display: inline-block;
    right: 0;
    width: 4em;
    height: 4em;
    border-radius: 0 .3em .3em 0;
    /* background-color: #f1905c; */
}

#category2 .selectbox::after {
    position: absolute;
    top: 50%;
    right: 2em;
    transform: translate(50%, -50%) rotate(45deg);
    width: .8em;
    height: .8em;
    border-bottom: 2px solid #f1905c;
    border-right: 2px solid #f1905c;
}

#category2 .selectbox select {
    appearance: none;
    width: 100%;
    min-width: 230px;
    height: 4em;
    padding: .5em 4em .5em 1.5em;
    border: none;
    border-radius: .3em;
    background-color: #e6edf3;
    color: #333;
    font-size: 1em;
    cursor: pointer;
}

#category2 .selectbox select:focus {
    outline: 2px solid #f1905c;
}

#category2 button {
    background-color: #EA5504;
    border: none;
    font-weight: bold;
    color: #FFF;
    margin-left: 1em;
    padding: 1em 2em;
    border-radius: .3em;
}

.badge {
    cursor: pointer;
    border: 1px solid #9e9e9e;
    border-radius: 15px;
    padding: 0.125em 0.75em;
    margin: 0 0.5em 0.5em 0;
    color: #9E9E9E;
    line-height: 1.5;
    transition: all 0.3s;
}

.badge:hover {
    opacity: 0.6;
}

.badge.active {
    color: #FFFFFF;
    background-color: #EA5504;
    border-color: #EA5504;
}

#shops {
    display: flex;
    flex-wrap: wrap;
    margin: 23px auto 0;
}

#shops .shop {
    display: none;
}

#shops .shop.active {
    display: block;
}

#shops .shop .header {
    height: 168px;
    margin-bottom: 10px;
}

#shops .shop img {
    object-position: bottom;
}

#clubpalets img {
    object-fit: contain;
    height: 100%;
}

#shops .shop .body {
    display: flex;
}

#shops .shop .body img {
    width: 75px;
}

#shops .shop .body .info {
    text-align: left;
    flex: 1;
}

/* #shops .shop .body .info .id {
    position: absolute;
    background-color: aqua;
    padding: 0.125rem;
    min-width: 2rem;
    text-align: center;
} */

#shops .shop .body .info p {
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding-left: 0.5rem;
    padding-right: 1.5rem;
    font-weight: bold;
    margin: 0 0 3rem;
    position: relative;
    word-break: break-all;
}

#shops .shop .body .info p::after {
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 2px;
    width: 8px;
    height: 8px;
    margin: auto 0;
    transform: rotate(45deg);
    border-top: solid 2px #666666;
    border-right: solid 2px #666666;
    content: '';
}

#shops .shop .body .info p span {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 2rem;
    margin-top: 0.5rem;
}

#shop-popup .popup-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* max-width: 80%;
    max-height: 80%; */
    padding: 0;
    /* background-color: #fff; */
    z-index: 2;
    transition: .5s;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
}

#shop-popup .popup-inner img {
    height: auto;
}

#shop-popup .popup-body {
    height: 100%;
    overflow: auto;
}

.shop-wrapper {
    background-color: #FFFFFF;
    padding: 50px 30px;
    text-align: left;
}

.shop-wrapper > * {
    max-width: 780px;
}

#shop-info .logo {
    border: 1px solid #C8C8C8;
    height: 8rem;
    padding: 0.5rem;
}

#shop-info .benefits {
    background-color: #FDFBEA;
    padding: 2rem;
    margin-bottom: 2rem;
}

#shop-info .benefits::before {
    content: "Palet\2019s\4f1a\54e1\7279\5178";
    display: inline-block;
    background-color: #EA5504;
    color: #FFFFFF;
    font-weight: bold;
    padding: 0.25rem 2rem;
    vertical-align: middle;
    border-radius: 2rem;
}

#shop-info .benefits *:last-child {
    margin-bottom: 0;
}

#shop-info .payment {
    margin-bottom: 5rem;
}

#shop-info .payment img {
    max-width: 40px;
}

#shop-info h2 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 3.5rem;
    font-weight: bold;
}

#shop-info h2+p {
    font-size: 1.4rem;
    line-height: 2.8rem;
    margin-bottom: 0;
}

#shop-info .main-copy p {
    font-size: 1.8rem;
    line-height: 3rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

#shop-info table {
    width: 100%;
    border-collapse: collapse;
}

#shop-info table th {
    background: #F7F3F0;
    width: 140px;
}

#shop-info table th,
#shop-info table td {
    border: 0;
    border-top: solid 1px #C8C8C8;
    border-bottom: solid 1px #C8C8C8;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

#shop-info table p {
    line-height: 1.25;
}

#shop-info table p:last-child {
    margin-bottom: 0;
}

#shop-info table .map img {
    max-width: 140px;
}

#shop-info table .map img {
    margin-right: 2rem;
}

#shop-info table .view-map {
    cursor: pointer;
    transition: all 0.5s;
}

#shop-info table .view-map:hover {
    opacity: 0.6;
}

#shop-info img {
    height: auto;
}

#shop-info .benefits .special {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ea5504;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    line-height: 1.4;
}

#shop-info .benefits .remarks {
    font-size: 1.4rem;
}

#shop-info h3 {
    font-size: 1.8rem;
    font-weight: bold;
}

#shop-info table a {
    color: #0090d0;
    word-break: break-all;
}

#shop-info iframe {
    width: 100%;
}

/* #payment-info {
    padding: 0 1rem;
    margin-top: 5rem;
} */

#payment-info > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% / 7);
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.4;
    border-top: 1px solid #C8C8C8;
    border-right: 1px solid #C8C8C8;
    border-bottom: 1px solid #C8C8C8;
}

#payment-info > div:first-of-type {
    border-left: 1px solid #C8C8C8;
}

#payment-info .header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background-color: #E0E0E0;
    padding: 0.5rem;
    border-bottom: 1px solid #C8C8C8;
}

#payment-info .body {
    padding: 0.5rem;
}

@media screen and (max-width: 640px) {
    .container {
        padding: 0;
    }

    .shop-wrapper {
        padding: 20px 0;
    }

    #shop-list {
        padding-left: 20px;
        padding-right: 20px;
    }

    #shops .shop .header {
        height: 225px;
    }

    #shops .shop .body img {
        width: 90px;
    }

    #shop-list .refine {
        flex-direction: column;
        padding: 0;
    }

    #shop-list .refine h4 {
        margin-right: 0;
    }

    #category2 {
        padding: 0 !important;
    }

    #category2 button {
        padding: 1em;
    }

    #shops a {
        padding: 0 !important;
    }

    #shop-info {
        padding: 20px 10px;
    }

    #shop-info h2 {
        margin-top: 2rem;
    }

    #shop-info table .view-map {
        margin-top: 1rem;
        max-width: 200px;
    }

    #shop-info table th,
    #shop-info table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    #shop-info table tr:last-of-type td {
        border-bottom: 1px solid #C8C8C8;
    }

    #shop-info iframe {
        height: 300px;
    }

    #payment-info {
        margin-top: 0;
    }

    #payment-info > div {
        width: calc(100% / 3);
    }
    #payment-info > div:nth-of-type(3n+1) {
        border-left: 1px solid #C8C8C8;
    }
}