/*========================================
  編集部からのお知らせ（一覧）ページ
  デザイン幅 1600px

  行の作りはトップページのお知らせと同じ。トップは背景色つきの
  セクションなので、共用せずこちらで同じ値を持つ。
========================================*/
.news-page {
    padding-bottom: 118px;
}

/*----------------------------------------
  ページ見出し（施工実例集・建築会社情報と同じ作り）
----------------------------------------*/
.news-page__head {
    padding-top: 20px;
    text-align: center;
}

.news-page__icon {
    display: block;
    width: 47.07px;
    height: auto;
    margin: 0 auto;
}

.news-page__title {
    margin-top: 12.8px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.24em;
    line-height: 1;
    text-indent: 0.24em;
}

.news-page__line {
    display: block;
    width: 153.23px;
    height: auto;
    margin: 20px auto 0;
}

/*----------------------------------------
  一覧
----------------------------------------*/
.news-page__body {
    max-width: 1200px;
    margin: 24px auto 0;
}

.news__list {
    padding: 0;
    list-style: none;
}

.news__item {
    border-bottom: 1px solid #999;
}

/* 日付と見出しを1行に並べる */
.news__row {
    display: flex;
    align-items: center;
    height: 93px;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .news__row:hover {
        opacity: 0.7;
    }
}

.news__date {
    flex-shrink: 0;
    width: 146px;
    color: #999;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.news__title {
    color: #333;
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* お知らせが1件も無いとき（.news__row と同じ高さにして枠が潰れないようにする） */
.news__empty {
    display: flex;
    align-items: center;
    height: 93px;
    color: #999;
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/*========================================
  SP / タブレット（1023px 以下）
========================================*/
@media screen and (max-width: 1023px) {
    .news-page {
        padding-bottom: 56px;
    }

    .news-page__head {
        padding-top: 8px;
    }

    .news-page__icon {
        width: 36px;
    }

    .news-page__title {
        margin-top: 10px;
        font-size: 18px;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
    }

    .news-page__line {
        width: 110px;
        margin-top: 14px;
    }

    .news-page__body {
        max-width: none;
        margin-top: 20px;
        padding: 0 16px;
    }

    /* 日付を見出しの上に置く */
    .news__row {
        display: block;
        height: auto;
        padding: 16px 0;
    }

    .news__date {
        display: block;
        width: auto;
        margin-bottom: 6px;
        font-size: 13px;
    }

    .news__title {
        font-size: 15px;
        line-height: 1.6;
    }

    .news__empty {
        height: auto;
        padding: 24px 0;
        font-size: 14px;
    }
}
