*{
    box-sizing: border-box;
}
body{
    padding: 0;
    margin: 0;
    font-family: YuGothic,'Yu Gothic','ヒラギノ角ゴシック','Hiragino Sans','メイリオ', Meiryo,sans-serif;
}
body.modal-open{
    overflow: hidden;
}
header{
    width: 100%;
}
.header-image{
    width: 100%;
    background-size: cover;
    background-position: center;
}
.header-image>picture{
    display: block;
}
.header-image>picture>img{
    width: 100%;
    display: block;
}
.header-catch{
    width: 100%;
    padding: 1em;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-catch-text{
    background: #FFF;
    border-radius: 50px;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    font-size: 14px;
    padding: 12px 16px;
    box-shadow: 0 3px 0 rgb(255 255 255/ 70%);
    cursor: pointer;
}

.filter-wrap{
    display: flex;
    flex-direction: column;
}
.filter-selects{
    display: flex;
    padding: 1em;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.filter-select{
    display: flex;
    flex-direction: column;
    width: calc(100%/2 - 16px/2);
    position: relative;
}
.filter-select-head{
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
}
.filter-select-current{
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
}
.filter-select-list{
    position: absolute;
    top: 100%;
    display: none;
    background: #FFF;
    width: 100%;
    box-shadow: 0 3px 9px rgb(0 0 0 / 10%);
    padding: 8px;
    border-radius: 5px;
    z-index: 1;
}
.filter-select-list.is-active{
    display: block;
}
.filter-select-item{
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
    
}
.filter-check{
    background-color: #e3e3e3;
}
.filter-check-list{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}
.filter-check-item{
    width: calc(100%/2 - 16px/2);
    background-color: #ffffff;
    border-radius: 50px;
    padding: 1em 0;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
}
.filter-check-item.is-active{
    background-color: #06f;
    color: #FFF;
    font-weight: bold;
}
.filter-check-item.is-disable{
    opacity: 0.25;
    pointer-events: none;
}
main {
    background: #fafafa;
}
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}
.shop-list{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-item{
    width: 100% ;
    background-color: #FFF;
    border-radius: 8px;
    padding: 12px;
    display: none;
    flex-direction: column;
    box-shadow: 0 3px 9px rgb(0 0 0 / 10%);
    gap: 16px;
    text-decoration: none;
    color: #555;
}
.shop-item.is-active{
    display: flex;
}
.shop-header{
    display: flex;
    gap: 6px;
    align-items: center;
}
.shop-icon{
    width: 32px;
    height: 32px;
}
.shop-icon>img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-name{
    font-size: 16px;
    font-weight: bold;
}
.shop-content{
    display: flex;
    gap: 16px;
}
.shop-image{
    width: 100px;
    height: 100px;
}
.shop-image>img{
    width: 100%;
    height: 100%;
}
.shop-info {
    display: flex;
    flex-direction: column;
    width: calc(100% - 116px);
}
.shop-info-texts{
    display: flex;
    gap: 8px;
    align-items: center;
}
.shop-info-head{
    font-size: 12px;
    width: 40px;
    color: #555;
}
.shop-info-text{
    font-size: 12px;
    color: #555;
}
.shop-info-catch {
    margin-top: 8px;
    width: 100%;
    line-height: 1.25em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
}
.shop-info-catchtext{
    font-size: 14px;
    font-weight: bold;
}
.shop-types{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-type{
    display: flex;
    gap: 4px;
    align-items: center;
    width: calc(100%/2 - 8px/2);
}

.shop-type-check{
    width: 16px;
    height: 16px;
    border: #DDD solid 1px;
    position: relative;
}
.shop-type.is-active .shop-type-check{
    border: #06F solid 1px;
}
.shop-type.is-active .shop-type-check::before{
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: #06F solid 2px;
    border-top-color: transparent;
    border-left-color: transparent;
}
.shop-type-text{
    font-size: 10px;
}
.wrap-adm {
    display: none;
}
.shop-button {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.shop-button-text {
    background: #ff7979;
    width: calc(100%/2 - 8px/2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
}
.shop-button-text._keep {
    background: #ebc42c;
}
@media screen and (min-width: 600px) {
    .header-catch-text{
        font-size: 18px;
        padding: 12px 24px;
    }

    .filter-check-item {
        width: calc(100% / 4 - 16px * 3 / 4);
    }
    .shop-list {
        gap: 32px;
    }
    .shop-item {
        width: calc(50% - 16px);
    }
}

.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.modal.is-active{
    display: flex;
}
.modal-inner{
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 100%;
    max-height: 75vh;
}
.modal-image{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    overflow-y: scroll;
    overflow-x: hidden;
}
.modal-image>img{
    width: 100%;
    height: auto;
    display: block;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: #FFF;
    z-index: 1;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
