@charset "UTF-8";

/*==================================================

　INFORMATION & NEWS CSS

==================================================*/

/* メインビジュアル
--------------------------------------------------*/
.header_visual {
    background-image: url(../images/img_main-visual.jpg);
}
.contents_wrapper {
    max-width: 11.6rem;
    margin: 1.35rem auto;
    padding: 0 0.3rem;
}
/* タブ
--------------------------------------------------*/
.tabs {
    display: flex;
    flex-wrap: wrap;
}
.tab_label {
    color: #333;
    font-size: 0.14rem;
    text-align: center;
    line-height: 1.2;
    background-color: #E0E0E0;
    z-index: 1;
    cursor: pointer;
    flex: 1;
    padding: 0.2rem 0;
    margin-bottom: 0.8rem;
}
.tab_label_e {
    font-size: 0.21rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.tab_label:hover {
    opacity: 0.75;
    transition : all 0.5s;
}
.tab_content {
    flex: 100%;
    display: none;
    overflow: hidden;
}
input[name="tab_switch"] {
    display: none;
}
.tabs input:checked + .tab_information {
    color: #fff;
    background-color: #ed7700;
}
.tabs input:checked + .tab_news {
    color: #fff;
    background-color: #C1272D;
}
#tab01:checked ~ #tab01_content,
#tab02:checked ~ #tab02_content {
    display: block;
}
.tab_content{
    position: relative;
    animation: fadeIn 1s ease;
}
/* タイトル
--------------------------------------------------*/
.title_e {
    font-size: 0.55rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    text-align: center;
}
.title_j {
    font-size: 0.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.5rem;
}
.information .title_j { 
    color: #ed7700; 
}
.news .title_j {
    color: #C1272D; 
}
/* 新着情報
--------------------------------------------------*/
.report_list {
    width: 100%;
    line-height: 1.8;
}
.report_list li {
/*    display: flex;
    justify-content: space-between;*/
    padding: 0.3rem 0.15rem;
/*    align-items: center;*/
    border-top: #ccc solid 1px;
}
.report_list li:last-child {
    border-bottom: #ccc solid 1px;
}
.report_list .date,
.report_list .category,
.report_list .text{
    display: inline-block;
    vertical-align: top;
}
.date {
    font-weight: 600;
    min-width: 1.3rem;
    white-space: nowrap;
}
.information .date {
    color: #ed7700; 
}
.news .date {
    color: #C1272D; 
}
.category {
    font-size: 0.135rem;
    font-weight: 500;
    color: #fff;
    padding: 0.05rem 0.3rem;
    text-align: center;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    margin: 0 0.3rem;
    white-space: nowrap;
    min-width: 1.4rem;
}
.information .category {
    background-color: #ed7700; 
}
.news .category {
    background-color: #C1272D; 
}
/* 資料ダウンロードリンク（detail.html）
--------------------------------------------------*/
.worklist_link_wrapper {
    margin-top: 0.4rem;
    text-align: left;
}
.worklist_link {
    display: inline-block;
    background-color: #C1272D;
    color: #fff;
    font-size: 0.15rem;
    font-weight: 600;
    padding: 0.12rem 0.4rem;
    border-radius: 0.04rem;
    text-decoration: none;
    transition: opacity 0.3s;
}
.worklist_link:hover {
    opacity: 0.8;
}
.contract_pdf_link {
    display: block;
    margin-top: 0.15rem;
    color: #333;
    font-size: 1em;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s;
}
.contract_pdf_link:hover {
    color: #C1272D;
}

/* 業務及び業務対象区間一覧（work_list.php）
--------------------------------------------------*/
.worklist_table_wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.3rem;
}
.worklist_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.14rem;
    min-width: 6rem;
}
.worklist_table th {
    background-color: #ed7700;
    color: #fff;
    font-weight: 600;
    padding: 0.12rem 0.1rem;
    border: 1px solid #c96300;
    text-align: center;
    white-space: nowrap;
}
.worklist_table td {
    padding: 0.1rem 0.12rem;
    border: 1px solid #ddd;
    vertical-align: top;
    line-height: 1.6;
}
.worklist_table tbody tr:nth-child(even) td {
    background-color: #fdf5ec;
}
.worklist_table tbody tr:hover td {
    background-color: #fff3e0;
}
.worklist_table .col-work    { width: 14%; }
.worklist_table .col-section { width: 26%; }
.worklist_table .col-vehicle { width: 11%; }
.worklist_table .col-center  { width: 30%; }
.worklist_table .col-dl      { width: 12%; text-align: center; }
.worklist_table .center-address {
    font-size: 0.12rem;
    color: #666;
    margin-top: 0.04rem;
}
.btn-dl {
    display: inline-block;
    background-color: #C1272D;
    color: #fff;
    font-size: 0.12rem;
    font-weight: 600;
    padding: 0.07rem 0.14rem;
    border-radius: 0.03rem;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.btn-dl:hover {
    opacity: 0.8;
}
.btn-dl-none {
    color: #bbb;
    font-size: 0.12rem;
}
.section-list-title {
    font-size: 0.18rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.2rem;
    padding-bottom: 0.08rem;
    border-bottom: 3px solid #ed7700;
}
.worklist_back_wrapper {
    margin-top: 0.4rem;
}
.worklist_back {
    display: inline-block;
    color: #ed7700;
    font-size: 0.14rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #ed7700;
    padding: 0.07rem 0.25rem;
    border-radius: 0.04rem;
    transition: all 0.3s;
}
.worklist_back:hover {
    background-color: #ed7700;
    color: #fff;
}

/* work_list レスポンシブ対応：PCレイアウト維持・横スクロール */
@media screen and (max-width: 768px) {
    .worklist_table_wrapper {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    .worklist_table {
        min-width: 8rem;
    }
}

/* ページネーション
--------------------------------------------------*/
.pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 0.1rem;
    margin-top: 0.5rem;
}
.pagination li a,
.pagination li span,
.pagination a,
.pagination span.current {
    font-weight: 600;
    display: block;
    color: #333;
    padding: 0.045rem 0.15rem;
    background-color: #fff;
    border: 1.5px solid #333;
    border-radius: 0.05rem;
}
.pagination span.current{
    color: #fff;
    background-color: #333;
}
.pagination li span {
    color: #fff;
    background-color: #333;
}
.pagination li a:hover {
    color: #fff;
    background-color: #333;
}
.pagination li a.prev,
.pagination a.prev {
        position: relative;
        padding-left: 0.2rem;
        border: none;
}
.pagination li a.prev::before,
.pagination a.prev::before {
        content: "";
        display: block;
        width: 0.15rem; 
        height: 0.15rem; 
        background: url(../images/arrow_pn_prev.svg);
        background-repeat: no-repeat;
        background-size: contain; 
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(0,-50%);
}
.pagination li a.next,
.pagination a.next {
        position: relative;
        padding-right: 0.2rem;
        border: none;
}
.pagination li a.next::after,
.pagination a.next::after {
        content: "";
        display: block;
        width: 0.15rem; 
        height: 0.15rem; 
        background: url(../images/arrow_pn_next.svg);
        background-repeat: no-repeat;
        background-size: contain; 
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(0,-50%);
}
.pagination li a.prev:hover,
.pagination li a.next:hover,
.pagination a.prev:hover,
.pagination a.next:hover {
        color: #333;
        background-color: transparent;
}    
