#mappdf {
    margin: 25px 0;
    float: right;
    width: 15%;
    height: auto;
}

@media screen and (max-width:768px) {

    #mappdf {
        margin: 15px auto;
        width: 35%;
        float: none;
        text-align: center;
    }

}

/* 
    ショップリストcss 
*/
[v-cloak] {
    display: none;
}

/* 検索エリア */
#search-area {
    margin: 0 0 4% 0;
    font-size: 110%;
}

#search-area table {
    width: 100%;
}

#search-area table th {
    width: 20%;
    background: #e5f3fe;
    font-weight: bold;
    text-align: center;
}

#search-area table td {
    background: #fff;
}

#search-area table td label {
    display: inline-block;
    margin-right: 15px;
}

#search-area table th,
#search-area table td {
    padding: 1.5%;
    border: solid 1px #DCDADB;
}

#search-word-input {
    padding: 4px;
    width: 30%;
    margin-right: 15px;
}

.search-submit td input {
    margin: 0 auto;
    cursor: pointer;
    display: block;
    width: 18%;
    height: auto;
    border: none;
    text-indent: -9999px;
}

@media screen and (max-width:768px) {
    #search-area {
        margin: 0 auto 3.75% auto;
        font-size: 100%;
        width: 90%;
    }

    #search-area table th {
        width: 97%;
        background: #e5f3fe;
        font-weight: bold;
        text-align: center;
        display: block;
    }

    #search-area table td {
        width: 97%;
        background: #fff;
        line-height: 200%;
        display: block;
    }

    #search-area table tr.word input {
        width: 98%;
        margin: 0 auto;
        height: 3.5vh;
        border-radius: 0.5em;
    }

    #search-word-input {
        width: 70%;
    }

    .search-submit td input {
        width: 166px;
        margin: 2% auto;
    }

}

/* 検索エリアここまで */

/* ショップリストcss */
#shoplist-area {
    /* margin-right: -15px; */
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.shoplist-box {
    padding: 14px;
    width: calc(100% / 5 - 42px);
    background: #fff;
    border: 1px solid #D7D5D6;
    word-break: break-all;
}

.shoplist-img img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.shoplist-name {
    padding: 0 4px;
    margin: 12px 0 6px 0;
    font-weight: 700;
    font-size: 160%;
    line-height: 150%;
    cursor: pointer;
    color: #0198f1;
    text-decoration: underline;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-underline-offset: 3px;
}

.shoplist-name:hover {
    color: #0198f1;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-underline-offset: 3px;
}

.shoplist-name:visited {
    color: #0198f1;
    text-decoration: underline;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-underline-offset: 3px;
}

.shoplist-date,
.shoplist-boothno {
    padding: 0 4px;
    margin: 1px 0;
    font-size: 105%;
    line-height: 170%;
}

.shoplist-bold {
    font-weight: 700;
}

.shoplist-ib {
    display: inline-block;
}

.shoplist-pagination {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 50px;
}

.shoplist-page {
    display: inline-block;
    list-style-type: none;
    text-decoration: underline;
    text-align: center;
    font-weight: 600;
    background: #bbe1ff;
    color: #000;
    width: 40px;
    margin: 5px 3px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 150%;
}

.shoplist-page.active {
    background: #0198f1;
}

@media screen and (max-width:1200px) {

    .shoplist-box {
        width: calc(100% / 4 - 42px);
    }

}

@media screen and (max-width:768px) {
    #shoplist-area {
        width: 95%;
        margin: 0 auto;
        justify-content: center;
        gap: 8px;
    }

    .shoplist-box {
        padding: 5px;
        width: calc(100% / 2 - 16px);
    }

    .shoplist-pagination {
        width: 90%;
        margin: 25px auto 0;
    }

    .shoplist-page {
        margin: 5px 5px;
        padding: 8px 0;
        font-size: 115%;
        font-weight: 500;
    }
}

@media screen and (max-width:480px) {
    .shoplist-name {
        font-size: 4vw;
    }

    .shoplist-date,
    .shoplist-boothno {
        font-size: 3vw;
    }
}

/* ショップリストcssここまで */


/* モーダル表示css */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgb(119 119 119 / 70%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 1150px;
    height: 100%;
    max-height: 90vh;
    position: relative;
    overflow-y: auto;
    padding: 20px;
}

.modal-close-area {
    text-align: end;
    padding: 3% 5%;
}

.modal-close-btn {
    width: 15px !important;
    display: inline;
}

.modal-content-detail {
    display: flex;
    justify-content: space-between;
    gap: 5%;
    padding-left: 6.5%;
    padding-right: 6.5%;
}

.modal-shop-name {
    font-size: 38px;
    font-weight: 700;
    padding-bottom: 8%;
    text-align: left;
}

.modal-shop-img {
    width: 42%;
}

.modal-shop-data {
    width: 50%;
}

.modal-shop-data table {
    border-top: solid 1px #000000;
    width: 100%;
    border-collapse: collapse;
}

.modal-shop-data th {
    width: 30%;
    background: #f7f7f7;
    padding: 20px 0;
    text-align: center;
    font-weight: bold;
    border-bottom: dotted 1px #000000;
    font-size: 16px;
}

.modal-shop-data td {
    padding: 20px;
    word-break: break-word;
    border-bottom: dotted 1px #000000;
    font-size: 16px;
}

.modal-shop-url {
    color: #0198f1;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        height: 93vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 0;
        position: relative;
    }

    .modal-close-area {
        padding: 5% 0;
        position: sticky;
        top: 0;
        text-align: right;
    }

    .modal-close-btn {
        margin-left: auto;
        margin-right: 5%;
        width: 20px;
    }
    .modal-content-detail {
        display: block;
    }

    .modal-shop-img {
        width: 100%;
    }
    
    .modal-shop-data {
        width: 100%;
    }
    
    .modal-shop-name {
        padding: 8% 2%;
        font-size: 6vw;
        font-weight: 700;
    }
    .modal-shop-data th,
    .modal-shop-data td {
        display: block;
        width: calc(100% - 24px);
        padding: 20px 12px;
    }

    .modal-shop-data th {
        border-top: 2px solid #000;
    }

    .modal-shop-data td {
        border-bottom: none;
    }
    
}