.archive .l-contents {
    overflow: visible;
}
.archive .p-page-header {
    height: 300px;
    margin-bottom: 30px;
}
.archive .p-entry__body--page {
    margin-bottom: 0;
}

.facility_wrap img {
    max-width: 100%;
}

.facility_wrap .select_area {
    padding-top: 20px;
    display: flex;
    gap: 2%;
    padding-bottom: 20px;
}
.facility_wrap .select_area select {
    width: 300px;
    padding: 10px;
    font-size: 18px;
    background-color: #afafaf;
    border-style: none;
    color: #FFFFFF;
}
.facility_table {
    padding: 40px 0;
}
.facility_table .result_text {
    padding-bottom: 20px;
}
.facility_table .table_in {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.facility_table .table_in .table_item {
    width: 32%;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    transition: all .3s;
    font-weight: 500;
    padding-top: 7px;
}
.facility_table .table_in .table_item a {
    display: block;
    padding: 5px 15px 15px;
}
.facility_table .table_in .table_item .district {
    color: #442606;
    font-size: 15px;
}
.facility_table .table_in .table_item .name {
    display: block;
    padding-top: 5px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}
.facility_table .table_in .table_item .image {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.facility_table .table_in .table_item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}

.facility_table .table_in .table_item .access {
    display: block;
    padding: 5px 0;
    color: #333;
    font-size: 13px;
    line-height: 1.6em;
}
.facility_table .table_in .table_item:hover {
    opacity: .7;
}
.facility_table .table_in .table_item:hover .image img {
    transform: scale(1.1);
}

.pagination {
    text-align: center;
    padding: 20px 0;
}
.pagination a,
.pagination span {
    display: inline-block;
    margin: 8px 4px;
    text-decoration: none;
    background: #fff;
    width: 45px;
    height: 45px;
    padding: 10px 0;
    box-sizing: border-box;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    transition: all .3s;
}
.pagination a:hover {
    background-color: #eee;
}
.pagination .current {
    background-color: #eee;
}

@media screen and (max-width: 767px) {
    .facility_wrap .select_area {
        padding-bottom: 0;
        justify-content: space-between;
    }
    .facility_wrap .select_area select {
        width: 48%;
        margin-bottom: 7px;
        font-size: 14px;
        padding: 8px;
    }
    .facility_table {
        padding: 30px 0;
    }
    .facility_table .result_text {
        padding-bottom: 10px;
    }
    .facility_table .table_in {
        display: flex;
        flex-wrap: wrap;
        gap: 2%;
    }
    .facility_table .table_in .table_item {
        width: 100%;
        margin-bottom: 15px;
    }
    .facility_table .table_in .table_item a {
        padding: 5px 15px;
    }
    .facility_table .table_in .table_item .name {
        font-size: 16px;
    }
    .facility_table .table_in .table_item .image {
        height: 150px;
    }

    .pagination {
        padding: 10px 0;
    }
    .pagination a,
    .pagination span {
        margin: 4px 2px;
        width: 33px;
        height: 33px;
        padding: 8px 0;
        font-size: 15px;
    }
}

@media screen and (max-width: 767px) {
    .archive .p-page-header {
        height: 150px;
    }
}
