/*ニュース本体
---------------------------------------------------------------------------*/

.news__inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

.news-filter{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:30px;
}

.news-filter__item{
    display:flex;
    flex-direction:column;
    min-width:145px;
}

.news-filter__item label{
    font-size:.85rem;
    color:#666;
    margin-bottom:4px;
    font-weight:600;
}

.news-filter select{
    width:100%;
    height:34px;
    padding:0 9px;
    border:1px solid #d8dce5;
    border-radius:4px;
    background:#fff;
    font-size:.9rem;
    cursor:pointer;
}

.news-list{
    border-top:1px solid #dcdcdc;
}

.news-item{
    display:grid;
    grid-template-columns:
        100px
        75px
        minmax(0,1fr)
        42px
        90px;
    align-items:center;
    gap:9px;
    padding:9px 0;
    border-bottom:1px solid #ececec;
    color:#222;
    text-decoration:none;
    transition:.2s;
}

.news-item:hover{
    background:#fafcff;
}

.news-item:hover .news-item__title{
    color:#0d6efd;
}

.news-item__date{
    font-size:.82rem;
    color:#555;
    letter-spacing:.02em;
    white-space:nowrap;
}

.news-item__category{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-width:52px;
    height:19px;
    padding:0 5px;
    background:#fff;
    border-radius:3px;
    font-size:.72rem;
    font-weight:600;
    line-height:1;
    white-space:nowrap;
}

.news-item__category.category-news{
    color:#ff8c00;
    border:1px solid #ff8c00;
}

.news-item__category.event{
    color:#28a745;
    border:1px solid #28a745;
}

.news-item__category.info{
    color:#0d6efd;
    border:1px solid #0d6efd;
}


/* =========================================================
   タイトル
========================================================= */

.news-item__title{
    font-size:.92rem;
    line-height:1.45;
    transition:.2s;
    word-break:break-word;
}


/* =========================================================
   NEWバッジ
========================================================= */

.news-item__new{
    display:flex;
    justify-content:center;
    align-items:center;
    width:36px;
    height:18px;
    background:#e60023;
    color:#fff;
    border-radius:999px;
    font-size:.6rem;
    font-weight:700;
    letter-spacing:.04em;
}


/* =========================================================
   PDF
========================================================= */

.news-item__pdf{
    display:inline-flex;
    align-items:center;
    justify-content:flex-end;
    gap:3px;
    font-size:.78rem;
    font-weight:600;
    color:#d62828;
    white-space:nowrap;
}

.news-item__pdf i{
    font-size:.9rem;
}

.news-item:hover .news-item__pdf{
    color:#b51d1d;
}


/* =========================================================
   ページネーション
========================================================= */

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    margin-top:40px;
    flex-wrap:wrap;
}

.pagination__numbers{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}

.pagination__button,
.pagination__number{
    width:33px;
    height:33px;
    border:1px solid #d8dce5;
    border-radius:4px;
    background:#fff;
    color:#333;
    font-size:.9rem;
    font-weight:600;
    cursor:pointer;
}

.pagination__number.active{
    background:#0d6efd;
    border-color:#0d6efd;
    color:#fff;
}


/* =========================================================
   1024px以下
========================================================= */

@media(max-width:1024px){

.news{
    padding:50px 0 65px;
}

.news-item{
    grid-template-columns:
        90px
        68px
        minmax(0,1fr)
        38px
        82px;
    gap:7px;
    padding:8px 0;
}

.news-item__date{
    font-size:.78rem;
}

.news-item__title{
    font-size:.88rem;
}

.news-item__pdf{
    font-size:.75rem;
}

}


/* =========================================================
   768px以下
========================================================= */

@media(max-width:768px){

.news{
    padding:40px 0 50px;
}

.news__inner{
    padding:0 16px;
}

.news-filter{
    flex-direction:column;
    align-items:stretch;
    gap:9px;
    margin-bottom:22px;
}

.news-filter__item{
    width:100%;
    min-width:0;
}

.news-filter__item label{
    font-size:.82rem;
    margin-bottom:3px;
}

.news-filter select{
    height:34px;
    font-size:.88rem;
}

.news-item{
    display:grid;
    grid-template-columns:auto 1fr auto;
    grid-template-areas:
        "date category badge"
        "title title title"
        "pdf pdf pdf";
    gap:4px;
    padding:9px 0;
}

.news-item__date{
    grid-area:date;
    font-size:.76rem;
}

.news-item__category{
    grid-area:category;
    justify-self:start;
    min-width:auto;
    width:auto;
    height:17px;
    padding:0 5px;
    font-size:.68rem;
}

.news-item__new{
    grid-area:badge;
    width:34px;
    height:17px;
    font-size:.56rem;
}

.news-item__title{
    grid-area:title;
    font-size:.86rem;
    line-height:1.45;
}

.news-item__pdf{
    grid-area:pdf;
    justify-content:flex-start;
    font-size:.74rem;
}

.news-item:hover{
    background:#fff;
}

}


/* =========================================================
   480px以下
========================================================= */

@media(max-width:480px){

.news__inner{
    padding:0 13px;
}

.news-item{
    gap:4px;
    padding:8px 0;
}

.news-item__date{
    font-size:.72rem;
}

.news-item__category{
    height:16px;
    padding:0 4px;
    font-size:.64rem;
}

.news-item__new{
    width:32px;
    height:16px;
    font-size:.54rem;
}

.news-item__title{
    font-size:.82rem;
    line-height:1.45;
}

.news-item__pdf{
    font-size:.7rem;
}

}

/*ニュース内容ページ(見出し)
---------------------------------------------------------------------------*/

.heading-solid-box {
  margin: 30px;
  padding: 10px 0;
  color: #333333;
  background: #ffffff;
  border: 1px solid #333333;
  box-shadow: 4px 4px 0 #333333;
  line-height: 1.4;
  word-break: break-word;
}

/* =========================================================
   レスポンシブ用
========================================================= */

@media (max-width: 768px) {
  .heading-solid-box {
    margin-top: 10px;
  }

  .heading-solid-box {
    font-size: clamp(12px, 3.5vw, 16px);
  }
}

/*ニュース内容ページ
---------------------------------------------------------------------------*/

/* =========================================================
   News Article
========================================================= */

.news_article__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   Meta ＋ Title
========================================================= */

.news_article__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d8d8d8;
}

/* 日付 */

.news_article__meta {
    order: 2;
    flex: 0 0 auto;
    margin: 0;
}

.news_article__meta time {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .08em;
}

/* 見出し */

.news_article__title {
    order: 1;
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #0b1830;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .03em;
}


/* =========================================================
   Article Body
========================================================= */

.news_article__body {
    display: flex;
    align-items: flex-start;

    gap: 80px;

    margin-top: 60px;
}


/* 本文 */

.news_article__text {
    flex: 1;
    min-width: 0;
}

.news_article__text p {
    margin: 0 0 30px;

    color: #444;

    font-size: 15px;
    line-height: 2;
}

.news_article__text p:last-child {
    margin-bottom: 0;
}


/* 画像 */

.news_article__image {
    flex: 0 0 38%;
    min-width: 0;
}

.news_article__image img {
    display: block;

    width: 100%;
    height: auto;

    padding-bottom: 30px;
}


/* =========================================================
   タブレット
========================================================= */

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

    .news_article__header {
        gap: 30px;
    }

    .news_article__title {
        font-size: 30px;
    }

    .news_article__body {
        gap: 50px;
    }

}


/* =========================================================
   スマートフォン
========================================================= */

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

    .news_article__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 15px;
        padding-top: 25px;
        padding-bottom: 18px;
    }


    /* 見出し */

    .news_article__title {
        order: 1;
        width: 100%;
        font-size: 20px;
        line-height: 1.6;
        letter-spacing: .02em;
    }

    /* 日付 */

    .news_article__meta {
        order: 2;
        width: 100%;
        text-align: left;
    }

    .news_article__meta time {
        font-size: 12px;
    }

    /* 本文 */

    .news_article__body {
        flex-direction: column;
        gap: 35px;
        margin-top: 35px;
    }

    /* 画像を上 */

    .news_article__image {
        order: -1;
        width: 100%;
    }

    .news_article__text p {
        margin-bottom: 24px;
        font-size: 13px;
        line-height: 1.9;
    }

}

/* =========================================================
   小型スマートフォン
========================================================= */

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

    .news_article__header {
        gap: 8px;
        padding-top: 20px;
        padding-bottom: 15px;
    }

    .news_article__title {
        font-size: 18px;
        line-height: 1.55;
    }

    .news_article__meta time {
        font-size: 11px;
    }

    .news_article__body {
        margin-top: 30px;
    }

}

/*ニュース一覧とホームに戻る用のボタン
---------------------------------------------------------------------------*/

.news_button_action{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    max-width:900px;
    margin:60px auto 0;
}

.news_button_action__item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:70px;
    padding:0 30px;
    background:#fff;
    border:1px solid #d9dfe8;
    border-radius:6px;
    color:#222;
    font-size:1.2rem;
    font-weight:600;
    text-decoration:none;
    transition:.25s;
}

.news_button_action__item span{
    color:#0d6efd;
    font-size:1.2rem;
    transition:.25s;
}

.news_button_action__item:hover{
    opacity:.7;
}

.news_button_action__item:hover span{
    transform:translateX(5px);
}

/* =========================================================
   レスポンシブ用
========================================================= */

@media(max-width:768px){

.news_button_action{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:40px;
}

.news_button_action__item{
    height:58px;
    padding:0 20px;
    font-size:.9rem;
}

.news_button_action__item span{
    font-size:1rem;
}

}