/* /excludes/trng-myd/ddh/css/component/news/news.css */
/* 共通・お知らせコンポーネント */
@charset "UTF-8";

/* 「お知らせ」タイトル */
.newsTitleArea {
    position: relative;
}
#newsTitle {
    text-align: center;
}
/* 「一覧を見る」 */
#newsLink {
    position: absolute;
    top: 30%;
    right: -0.9%;
}
/* 記事全体 */
#newsContentsList {
    margin-top: 30px;
}
#newsContentsList ul {
    display: flex;
    flex-wrap: wrap;
}
/* お知らせ一項目 */
.newsInformation {
    align-items: center;
    width: 100%;
    padding-top: 0.4em;
}
.newsInformation:first-child {
    padding-top: 0;
}
.newsInformation:last-child {
    padding-bottom: 0;
}
/* お知らせ日付 */
.newsDate {
    display: inline-block;
    min-width: 120px;
    margin-right: 5px;
    white-space: nowrap;
}
/* お知らせカテゴリアイコン */
.newsIcon {
    display: inline-block;
    min-width: 110px;
    margin-right: 5px;
    white-space: nowrap;
}
.newsIcon img {
    max-height: 1.8em;
}
/* NEWアイコン */
.newsNew {
    margin-left: 0;
    width: 45px;
    vertical-align: middle;
    font-size: 16px;
}
/* お知らせ記事 */
.newsText {
    display: inline-block;
    width: calc(100% - 270px);
    line-height: 1.6em;
    vertical-align: middle;
}
@media screen and (min-width: 768px) {
    #newsContentsList {
        margin-right: 50px;
        margin-left: 50px;
    }
}
@media screen and (min-width: 960px) {
    .newsNew + .newsText {
        width: calc(100% - 320px);
    }
}

/*== TAB ==*/
@media screen and (min-width: 768px) and (max-width: 959px) {
    /* お知らせ記事 */
    .newsText {
        display: block;
        width: 100%;
    }
}

/*== SP ==*/
@media screen and (max-width: 767px) {
    #newsArea {
        padding: 0 6%;
    }
    /* 「一覧を見る」 */
    #newsLink {
        right: -5%;
    }
    /* お知らせ記事内容など */
    .newsInformation {
        display: block;
        padding: 0 0 0.8em 0;
    }
    .newsInformation:last-child {
        padding-bottom: 0;
    }
    /* お知らせ日付 */
    .newsDate {
        min-width: auto;
    }
    /* お知らせアイコン */
    .newsIcon {
        padding-top: 0;
        vertical-align: unset;
    }
    /* NEWアイコン */
    .newsNew {
        margin: 0;
    }
    /* お知らせ記事 */
    .newsText {
        display: block;
        width: 100%;
    }
    /* 「お知らせ」タイトル */
    #newsTitle {
        text-align: center;
    }
}

@media screen and (max-width: 360px) {
    .newsIcon {
        margin-right: 0;
        min-width: 90px;
    }
    .newsIcon img {
        max-height: 1.6em;
    }
}

/*===↓IE対応↓===*/
@media all and (-ms-high-contrast: none) and (max-width: 767px) {
    #newsLink {
        left: auto;
    }
    .newsIcon {
        vertical-align: top;
    }
}
/*===↑IE対応↑===*/
