@charset "utf-8";

/*------------ 一覧・詳細 共通 ------------*/
/*------------ news_list ------------*/
.news_result_area {
    display: block;
    max-width: 100%;
    width: 100%;
}

.news_list {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
}

.news_list {
    padding-top: 0;
    margin: 0 0 60px;
    display: block;
}

.news_list li {
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 0;
    transition: all .3s ease;
    list-style: none;
}

.news_list .news_link {
    display: block;
    padding: 18px 4% 21px 0;
    text-decoration: none;
    position: relative;
}

.news_list .news_link:hover {
    background: #f7f7f7;
}

.news_list li .news_link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all .3s ease;
    padding: 27px 20px 27px;
}

.news_date {
    font-size: 1.5rem;
    font-weight: 500;
    display: inline-block;
    line-height: 1.5;
    letter-spacing: 0.05em;
    width: 100px;
    margin-right: 45px;
}

.news_title {
    letter-spacing: 0.05em;
    line-height: 1.875;
    line-height: 1.5em;
    width: calc(100% - 145px);
    margin: 0;
    transition: all .3s ease;
    position: relative;
}

/*------------ single.php ------------*/
.single_head {
    margin: 0 0 35px;
}

.news_single_title h2 {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.636;
    margin: 0 0 1%;
}

.single_head .news_date {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 25px 0 0;
}

.single_content {
    margin: 0 0 90px;
}

.single_content>*:first-child {
    margin-top: 0;
}

.single_content>*:last-child {
    margin-bottom: 0;
}

.single_content table th {
    position: relative;
}

.single_content table th:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 1px;
    height: calc(100% - 30px);
    background: #ccc;
}

.single_content table th:first-child:before,
.single_content table td:first-child:before {
    content: none;
}

.single_content table td p {
    margin-bottom: 0;
}

/*----- single link -----*/
.single_link_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 55px auto 0;
    text-align: center;
}

.single_link a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: all .3s ease;
    position: relative;
}

.single_link.prev a {
    padding-left: 20px;
}

.single_link.next a {
    padding-right: 20px;
}

.single_link.prev a::before,
.single_link.next a::after {
    position: absolute;
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #0996E9;
    border-right: 2px solid #0996E9;
    top: 7px;
    margin: auto;
}

.single_link.prev a::before {
    left: 0;
    transform: rotate(-135deg);

}

.single_link.next a::after {
    right: 0;
    transform: rotate(45deg);
}

/* hover */
.single_link a:hover {
    opacity: .7;
}

@media screen and (max-width: 767px) {

    /*------------ 一覧・詳細 共通 ------------*/
    /*------------ news_list ------------*/
    .news_list {
        width: 100%;
        padding: 0;
    }

    .news_list li:first-child {
        margin-top: 0;
    }

    .news_list li .news_link {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .news_date {
        font-size: 1.2rem;
        width: auto;
        margin-right: 0;
    }

    .news_list li .news_link .news_title {
        width: 100%;
    }

    .news_list .news_link {
        padding: 13px 25px 16px 0;
        background-size: 6px 11px;
        background-position: right 10px center;
        align-items: inherit;
    }

    /*------------ single.php ------------*/
    .single_head {
        margin: 0 0 30px;
    }

    .news_single_title h2 {
        font-size: 2.2rem;
        margin: 0 0 9px;
    }

    .single_content {
        margin: 0 0 40px;
    }

    .single_link_wrap {
        margin: 20px auto 20px;
    }

    .single_content table td {
        display: table-cell;
    }

}