/* ニュース一覧 */
.news-row {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-width: 2px;
    border-style: solid;
    border-color: #bbbbbb;
    border-radius: 10px;
    background-color: #ffffff;
    position: relative;
}
.news-row:hover {
    background-color:rgba(0, 0, 0, 0.15);
    transition: .3s;
}

.news-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 10px 10px 10px 10px;
}

.news-row .news-image {
    width: 64px;
    height: 64px;
}

.news-row .news-col {
    padding: 0 0 0 10px;
    width: calc(100% - 64px);
}

.news-date {
    font-weight: bold;
    height: 25px;
}

.news-title {
    line-height: 1.2;
}


/* ニュース詳細 */
.ydp .ydp-box.detail{
    padding-top: 20px;
}

.news-detail {
    display: flex;
    align-items: flex-start;
}
.news-detail a{
    text-decoration: underline!important;
    word-break: break-all;
}

.news-detail img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.news-detail .news-col {
    padding: 0 0 0 20px;
    width: calc(100% - 320px);
}

.news-detail .news-col.display-center {
    margin: 0 auto;
}

.news-row .unread,
.news-detail .unread {
    position: absolute;
    width: clamp(32px, calc(32 / 375 * 100vw), 45px);
    height: clamp(32px, calc(32 / 375 * 100vw), 45px);
    right: 0;
    top: 0;
}

.news-row .unread img {
    width: 100%;
    height: auto;
}

.news-row .read {
    position: absolute;
    width: 56px;
    height: 24px;
    right: 0;
    top: 0;
    border-radius:  0 8px 0 10px;
    background-color: #dddddd;
    text-align: center;
    font-size: 15px;
    padding:0 8px;
    line-height: 24px;
    color: #ffffff;
}

.news-detail .read {
    position: absolute;
    width: 56px;
    height: 24px;
    right: 0;
    top: 0;
    border-radius:  0 8px 0 10px;
    background-color: #dddddd;
    text-align: center;
    font-size: 15px;
    padding:0 8px;
    line-height: 24px;
    color: #ffffff;
}
.relative{
    position: relative;
}

/*-------------------------------------------------
〜 767px
-------------------------------------------------*/
@media (max-width: 767px) {
    .ydp .ydp-box.detail{
        padding-top: 20px;
    }

    .page{
        font-size: 14px;
    }

    .news-detail .news-img-box {
        text-align: center;
    }
    .news-detail {
        display: block;
    }

    .news-detail .news-col {
        padding: 10px 0 10px 0;
        width: 100%;
    }

}

/*-------------------------------------------------
〜 360px
-------------------------------------------------*/

@media (max-width: 360px) {

    .news-row {
        display: block;
    }

    .news-row .news-image {
        width: 100%;
        height: 128px;
        border-radius: 10px 10px 0 0;

    }

    .news-row .news-col {
        padding: 10px 0 10px 0;
        width: 100%;
    }


}