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

  アイコンとページ見出しは一覧ページと同じものを使う。
  .news-page__head 一式は news.css が持っているので、
  このページでは news.css も一緒に読み込んでいる。
========================================*/

.news-detail {
    padding-bottom: 118px;
}

.news-detail__inner {
    max-width: 1200px;
    margin: 44px auto 0;
}

/*----------------------------------------
  日付とタイトル（下を罫線で区切る）
----------------------------------------*/
.news-detail__title-block {
    padding-bottom: 24px;
    border-bottom: 1px solid #999;
}

.news-detail__date {
    display: block;
    color: #999;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.news-detail__title {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/*----------------------------------------
  本文（管理画面のリッチエディタで書いた内容）

  どのタグで来ても読めるよう、建築会社詳細・施工実例詳細の
  本文と同じ大きさに揃える
----------------------------------------*/
.news-detail__rich {
    margin-top: 46px;
}

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

.news-detail__rich h1,
.news-detail__rich h2,
.news-detail__rich h3 {
    margin-top: 44px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.news-detail__rich h3 {
    font-size: 20px;
}

.news-detail__rich p {
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: 0.02em;
    line-height: 2;
}

.news-detail__rich ul,
.news-detail__rich ol {
    margin-top: 24px;
    padding-left: 32px;
    font-size: 18px;
    letter-spacing: 0.02em;
    line-height: 2;
}

.news-detail__rich ul {
    list-style: disc;
}

.news-detail__rich ol {
    list-style: decimal;
}

.news-detail__rich a {
    text-decoration: underline;
}

.news-detail__rich img {
    max-width: 100%;
    height: auto;
    margin-top: 24px;
}

.news-detail__rich blockquote {
    margin-top: 24px;
    padding-left: 24px;
    border-left: 4px solid #c4c2c3;
}

/*----------------------------------------
  一覧に戻る（トップページの「もっと見る」と同じ作り）
----------------------------------------*/
.news-detail__foot {
    margin-top: 72px;
    padding-top: 52px;
    border-top: 1px solid #999;
}

.news-detail__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 412px;
    height: 70px;
    margin: 0 auto;
    border-radius: 7.73px;
    background: #f4c773;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.21em;
    line-height: 1;
    text-indent: 0.21em;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .news-detail__back:hover {
        opacity: 0.7;
    }
}

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

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

    .news-detail__title-block {
        padding-bottom: 16px;
    }

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

    .news-detail__title {
        margin-top: 12px;
        font-size: 18px;
        line-height: 1.6;
    }

    .news-detail__rich {
        margin-top: 28px;
    }

    .news-detail__rich h1,
    .news-detail__rich h2 {
        margin-top: 32px;
        font-size: 18px;
    }

    .news-detail__rich h3 {
        font-size: 16px;
    }

    .news-detail__rich p {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.9;
    }

    .news-detail__rich ul,
    .news-detail__rich ol {
        margin-top: 18px;
        padding-left: 24px;
        font-size: 15px;
        line-height: 1.9;
    }

    .news-detail__rich img,
    .news-detail__rich blockquote {
        margin-top: 18px;
    }

    .news-detail__foot {
        margin-top: 40px;
        padding-top: 32px;
    }

    .news-detail__back {
        width: 100%;
        max-width: 340px;
        height: 56px;
        font-size: 14px;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
    }
}
