@charset "utf-8";

/*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

.news-flex-area {
    width: 100%;
    margin: auto;
}

.news-side {
    margin: 60px 0 0;
}

.news-list>section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 3.84%;
}

.news-item {
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-link {
    display: block;
    color: #fff;
    font-size: 0;
}

.news-link:hover {
    color: #fff;
}

.img-control {
    height: 0;
    position: relative;
    padding: 0 0 100%;
}

.img-control>img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

.news-link>.news-img {
    background: #fff;
    padding: 0 0 60.6%;
    overflow: hidden;
    transition: .3s;
}

img+.no-img {
    display: none;
}

.news-link>.news-img>img {
    transition: .3s;
}

.news-link:hover>.news-img {
    filter: brightness(.5);
}

.news-cate {
    max-width: 100%;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 2px 10px;
    background: #DB9724;
    color: #fff;
    text-align: center;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item .news-cate {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}

.news-date {
    display: block;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin: 10px 0 0;
}

.news-title {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.05em;
    line-height: 1.45em;
    margin: 5px 0 0;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    font-size: inherit;
}

/*-----------------------------------------------------------
詳細
-----------------------------------------------------------*/

.news-detail {
    max-width: 100%;
    width: 100%;
    padding: 25px 3%;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}

.news-info {
    display: flex;
    align-items: center;
}

.news-info>.news-date {
    margin: 0;
}

.news-info>.news-cate {
    margin: 0 0 0 30px;
}

.news-detail-title {
    margin: 15px 0 0;
    border-bottom: solid 1px #383838;
    padding: 0 0 10px;
}

.news-detail .news-img {
    max-width: 100%;
    width: 100%;
    margin: 20px 0 0;
}

.news-content {
    letter-spacing: 0.05em;
    line-height: 1.8em;
    margin: 15px 0 0;
}

.news-pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 230px;
    height: 55px;
    margin: 20px auto 0;
    background: #DB9724;
    border: 1px solid #DB9724;
    transition: all .3s;
}

.news-pdf-btn:hover {
    background: #fff;
}

.news-pdf-btn p {
    font-size: 16px;
    color: #fff;
    transition: all .3s;
}

.news-pdf-btn:hover p{
    color: #DB9724;
}

.news-back-btn {
    justify-content: flex-end;
    margin: 25px auto 0;
    padding: 0 25px 0 0;
}

.news-back-btn:before {
    right: auto;
    left: 0;
    clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%);
}

.news-back-btn:after {
    right: auto;
    left: -22px;
}

.news-back-btn:hover::after {
    right: auto;
    left: -44px;
}

/*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

.category-box {
    letter-spacing: 0.05em;
}

.category-box:not(:first-child) {
    margin: 30px 0 0;
}

.category-box>section {
    margin: 10px 0 0;
}

.category-header {
    font-size: 14px;
    background: #DB9724;
    color: #fff;
    padding: 5px 10px;
}

.category-link {
    display: block;
    color: #fff;
    padding: 5px 10px;
    border-bottom: solid 1px #fff;
    font-size: 14px;
    transition: .3s;
}

.category-link:hover {
    color: #DB9724;
    opacity: inherit;
}

/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination {
    grid-column: 1/3;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:768px) {
    /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

    /*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

    .news-flex-area {
        display: flex;
        justify-content: space-between;
    }

    .news-main {
        width: 75%;
    }

    .news-side {
        width: 20%;
        margin: 0 0 0 5%;
    }

    .news-list>section {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-cate {
        font-size: 13px;
    }

    .news-date {
        font-size: 15px;
    }

    .news-title {
        font-size: 15px;
    }

    .news-pdf-btn {
        max-width: 290px;
        height: 63px;
    }

    .news-pdf-btn p {
        font-size: 18px;
    }

    /*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

    .category-header {
        font-size: 16px;
    }

    .category-link {
        padding: 10px;
        font-size: 16px;
    }

    /*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

    .webgene-pagination {
        grid-column: 1/4;
    }

    /* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}

/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:1024px) {
    /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

    /*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

    .news-list>section {
        gap: 40px 3%;
    }

    .news-cate {
        font-size: 14px;
    }

    .news-date {
        font-size: 16px;
    }

    .news-title {
        font-size: 16px;
    }

    /*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

    .category-header {
        font-size: 18px;
    }

    .category-link {
        font-size: 18px;
    }

    /*-----------------------------------------------------------
詳細
-----------------------------------------------------------*/

    .news-detail {
        padding: 50px 3%;
    }

    .news-detail-title {
        margin: 20px 0 0;
        padding: 0 0 15px;
    }

    .news-pdf-btn {
        margin: 40px auto 0;
    }

    .news-back-btn {
        margin: 50px auto 0;
    }

    .news-detail .news-img {
        margin: 30px 0 0;
    }

    .news-content {
        margin: 30px 0 0;
    }

    /* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}

/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */