@charset "utf-8";
/*
 * お知らせ詳細(/news/nw_detail)のスマホ表示(480px 以下。アプリ・ブラウザ共通)。前アプリのお知らせ詳細準拠。
 * body に class="page-newsDetail" を付けたページだけに効く。PC 表示は変えない。
 * 置き場所: public/common/css/news-detail-sp.css
 */

.nwDtlSp {
    display: none;
}

@media (max-width: 480px) {
    /* PC 用の部品を隠す */
    .page-newsDetail > header,
    .page-newsDetail .pan2,
    .page-newsDetail .nwDtlPc {
        display: none;
    }
    body.page-newsDetail {
        background: #fff;
    }
    .page-newsDetail .sub001,
    .page-newsDetail .w960 {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .nwDtlSp {
        display: block;
    }
    .nwDtlSp-title {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 0;
        padding: 14px 16px;
        border-bottom: 1px solid #eee;
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }
    .nwDtlSp-body {
        padding: 16px 16px 40px;
    }
    .nwDtlSp-meta {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
    }
    .nwDtlSp-date {
        font-size: 12px;
        color: #999;
    }
    .nwDtlSp-cat {
        font-size: 12px;
        font-weight: 700;
        color: #F24822;
    }
    .nwDtlSp-headline {
        margin: 0 0 16px;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.5;
        color: #333;
    }
    .nwDtlSp-img {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    .nwDtlSp-text {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 1.7;
        color: #333;
        overflow-wrap: break-word;
    }
    .nwDtlSp-text a {
        color: #0D99FF;
        text-decoration: underline;
    }
    .nwDtlSp-back {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 40px;
        border: 1.5px solid #ccc;
        border-radius: 50px;
        background: #fff;
        font-size: 14px;
        font-weight: 700;
        color: #666;
        text-decoration: none;
    }
}
