@charset "UTF-8";

:root {
    --bg-color--primary: #ffffff;
}

body {
    background-color: var(--bg-color--primary);
}

.main_container {
    padding-top: 120px;
    padding-bottom: 65px;
}

.category_container {
    max-width: 1450px;
    width: 90%;
    margin: auto;
    border: 2px solid #006252;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.category-list_container {
    display: flex;
    justify-content: space-between;
    padding: 23px 53px;
}

.category-item {
    width: calc(100% / 5 - 12px);
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 81px;
    background-color: #EBEBEB;
    padding: 0 13px;
    color: initial;
    font-size: 0.9375em;
    font-weight: 700;
    border: 4px solid #000000;
    background-color: #FFD200;
    transition: all 0.3s;
}

.category-link:hover {
    transform: scale(1.05);
}

.category-link.pdf-link {
    background-color: #FF3434;
    color: #FFFFFF;
    border: none;
    justify-content: space-between;
}

.category-link.pdf-link::after {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(../images/pdf-link_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.category-select {
    display: none;
}

.search-content_container {
    max-width: 1450px;
    width: 90%;
    margin: auto;
    margin-top: 32px;
    margin-bottom: 58px;
    padding: 20px 100px;
    background-color: #F5F5F5;
}

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

.result-text {
    font-size: 1.25em;
    color: #006252;
    line-height: 1.7;
}

.search-area_wrap {
    max-width: 512px;
    width: 100%;
    position: relative;
}

.search-input {
    display: block !important;
    width: 100% !important;
    position: relative;
    height: 55px;
    padding: 16px 35px !important;
    border: 1px solid #ffffff;
    border-radius: 28px !important;
    border: 3px solid #006252 !important;
    outline: 0 !important;
    transition: all 0.3s;
}

.search_word-btn {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    width: 98px;
    height: 100%;
    border: none;
    border-radius: 0 28px 28px 0 !important;
    background-color: #006252;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    background-image: url(../images/search-icon.png);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search_word-btn:hover {
    opacity: 0.8;
}


.facility-content_container {
    max-width: 1360px;
    width: 90%;
    margin: auto;
}

.facility-region-content {
    margin-bottom: 58px;
}

.region-name {
    text-align: center;
    font-size: 1.75em;
    color: #006252;
    border-bottom: 4px solid #006252;
    padding-bottom: 8px;
}

.facility-detail-list {
    width: 100%;
    margin-top: 38px;
}

.facility-detail-item {
    margin-bottom: 38px;
}

.facility-name {
    max-width: 1350px;
    margin: auto;
    font-size: 1.3125em;
    color: #006252;
    border-bottom: dashed 2px #006252;
    padding-left: 83px;
    padding-bottom: 8px;
}

.facility-detail-content {
    display: flex;
    justify-content: space-between;
    column-gap: 16px;
    max-width: 1245px;
    margin: auto;
    margin-top: 18px;
}

.facility-detail-content figcaption {
    max-width: 760px;
    width: 100%;
}

.facility-detail-table {
    width: 100%;
    margin-top: 24px;
    border-collapse: collapse;
}

.facility-detail-table th,
.facility-detail-table td {
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 18px;
    padding-top: 18px;
    font-size: 0.9375em;
    font-weight: 400;
}

.facility-detail-table th {
    width: 120px;
    text-align: left;
    padding-left: 32px;
}

.facility-thumbnail_img {
    max-width: clamp(20.625rem, 5.315rem + 31.9vw, 25.25rem);
    width: 100%;
    height: 100%;
}

.br-1000 {
    display: none;
}

.br-767 {
    display: none;
}

.sp-pdf-link {
    display: none;
}
.target-scroll {
    scroll-margin-top: 100px;
}

@media screen and (max-width: 1000px) {
    .category-list_container {
        padding: 16px 23px;
    }
    .category-link {
        height: 65px;
        padding: 0 11px;
        font-size: 0.8125em;
    }
    .category-link.pdf-link {
        font-size: 0.6875em;
    }
    .br-1000 {
        display: inline;
    }
    .search-content_container {
        padding: 20px 70px;
    }
    .result-text {
        font-size: 1.125em;
    }
    .search-area_wrap {
        max-width: 412px;
    }
}

@media screen and (max-width: 767px) {
    .main_container {
        padding-top: 56px;
        padding-bottom: 55px;
    }
    .common_page-text {
        margin-bottom: 16px;
    }
    .search-content_container {
        margin-top: 0;
    }
    .category_container {
        display: none;
    }
    .category-select {
        display: block;
        width: 100%;
        padding: 12px 16px;
        margin-bottom: 22px;
        font-size: 1em;
        line-height: 1.7;
        color: #FFFFFF;
        background-color: #006252;
        background-image: url(../images/news_arrow.png);
        background-repeat: no-repeat;
        background-size: 13px;
    }
    .search-content_container {
        padding: 20px 45px;
    }
    .search-area_wrap {
        max-width: 302px;
    }
    .search_word-btn {
        width: 80px;
    }
    .facility-name {
        padding-left: 30px;
    }
    .facility-detail-content {
        flex-direction: column;
        row-gap: 16px;
        align-items: center;
    }
    .facility-thumbnail_img {
        width: 100%;
        max-width: 404px;
    }
    .br-767 {
        display: inline;
    }
    .category-link.pdf-link.sp-pdf-link {
        max-width: 262px;
        height: 71px;
        display: flex;
        margin: 0 auto 16px;
        font-size: 1em;
    }

    .category-link.sp-pdf-link.pdf-link::after {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 550px) {
    .search-content_container {
        width: 100%;
        padding: 20px 32px;
        margin-bottom: 45px;
    }
    .search-flex_container {
        flex-direction: column;
        row-gap: 11px;
        align-items: flex-start;
    }
    .search-result_wrap {
        order: 2;
    }
    .search-area_wrap {
        max-width: 100%;
    }
    .result-text {
        font-size: 0.875em;
    }
    .search-input {
        padding: 10px 16px !important;
        height: 45px;
    }
    .search_word-btn {
        width: 66px;
        background-size: 24px;
    }
    .region-name {
        text-align: left;
        padding-left: 10px;
        font-size: 1.375em;
    }
    .facility-detail-list {
        margin-top: 10px;
    }
    .facility-detail-content {
        margin-top: 8px;
    }
    .facility-name {
        padding-left: 10px;
        font-size: 1.125em;
    }
    .facility-detail-table {
        margin-top: 0;
    }
    .facility-detail-table th, .facility-detail-table td {
        display: block;
        width: 100%;
        padding: 0;
        padding-left: 10px;
        border-bottom: none;
    }
    .facility-detail-table th {
        padding-top: 11px;
        font-weight: 700;
    }
    .facility-detail-table td {
        border-bottom: 1px solid #CCCCCC;
        padding-bottom: 11px;
    }
}