@charset "utf-8";

:root {
    --base-size: 1920;
    --pcWidth: 1360;
    --spWidth: 1150;
}

/* ------------------------------------------------------------
PC
------------------------------------------------------------ */
#news {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

#news .news_wrap {
    display: flex;
    flex-flow: wrap;
}

#news .news_wrap .news_box {
    width: 48%;
}

#news .news_wrap .news_box.left {
    margin: 0 4% 0 0;
}

/* ---------news_tit-------- */
#news .news_wrap .news_tit {
    text-align: left;
    display: flex;
    flex-flow: wrap;
    padding: 0 0 10px;
    justify-content: space-between;
    border-bottom: #e0e0e0 1px solid;
}

#news .news_wrap .news_tit h3 {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

#news .news_wrap .news_tit h3 {
    font-size: 24px;
    font-weight: bold;
}

/* ---------リンク(共通)-------- */
#news .news_wrap .news_tit .link {
    display: flex;
    flex-flow: wrap;
    height: 30px;
}

/* ---------リンク(新着情報)-------- */
#news .news_wrap .news_tit .whatsnew {
    display: inline-block;
    color: #E50012;
    border: #E50012 2px solid;
    transition: 0.3s;
    position: relative;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    width: 86px;
    height: 30px;
    margin: 0 auto;
    padding: 7px 18px 5px 0;
    line-height: 1em;
}

#news .news_wrap .news_tit .whatsnew:after {
    position: absolute;
    top: 48%;
    right: 5px;
    display: inline-block;
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("../img/arrow_red.webp");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    transition: 0.3s;
    transform: translateY(-50%) translateX(-50%);
}

#news .news_wrap .news_tit .whatsnew:hover {
    color: #fff;
    background: #E50012;
}

#news .news_wrap .news_tit .whatsnew:hover:after {
    background-image: url("../img/arrow_black.webp");
}

#news .news_wrap .news_tit .whatsnew:hover:after {
    background-image: url("../img/arrow_white.webp");
}

/* ---------リンク(RSS)-------- */
#news .news_wrap .news_tit .rss {
    display: inline-block;
    color: #222;
    border: #222 2px solid;
    transition: 0.3s;
    position: relative;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    width: 86px;
    height: 30px;
    margin: 0 15px 0 0;
    padding: 7px 18px 5px 0;
    line-height: 1em;
}

#news .news_wrap .news_tit .rss:after {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-block;
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("../img/rss_black.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    transition: 0.3s;
    transform: translateY(-50%) translateX(-50%);
}

#news .news_wrap .news_tit .rss:hover {
    color: #fff;
    background: #222;
}

#news .news_wrap .news_tit .rss:hover:after {
    background-image: url("../img/rss_white.png");
}

/* ---------リンク(新着情報)-------- */
#news .news_wrap ul li {
    padding: 6px 20px 14px;
    line-height: 36px;
    font-size: 16px;
    border-bottom: #e0e0e0 1px solid;
}

#news .news_wrap ul li p {
    font-size: 15px;
    line-height: 28px;
    transition: 0.3s;
}

#news .news_wrap ul li .date {
    display: inline-block;
    font-size: 14px;
    color: #555555;
}

#news .news_wrap ul li .new {
    font-size: 12px;
    color: #E50012;
    display: inline-block;
    text-align: center;
    width: 50px;
    border-radius: 50px;
    line-height: 20px;
    background: #FBE5E7;
}

#news .news_wrap ul li .txt:hover {
    color: #E50012;
    text-decoration: underline;
}

/* ------------------------------------------------------------
SP
------------------------------------------------------------ */

@media only screen and (max-width: 800px) {

    #news {
        width: 100%;
    }

    #news .news_wrap {
        display: block;
        flex-flow: wrap;
    }

    #news .news_wrap .news_box {
        width: 100%;
        margin: 0 auto;
    }

    #news .news_wrap .news_box.left {
        margin: 0 auto 50px;
    }

    #news .news_wrap .news_area {
        width: 90%;
        margin: 0 auto;
    }

    /* ---------news_tit-------- */
    #news .news_wrap .news_tit {
        width: 90%;
        margin: 0 auto;
    }

    #news .news_wrap ul li {
        padding: 6px 10px 14px;
    }

    #news .news_wrap ul li p {
        font-size: calc(42 / var(--spWidth)* 100vw);
        line-height: calc(80 / var(--spWidth)* 100vw);
        transition: 0.3s;
    }

    #news .news_wrap .news_tit h3 {
        font-size: calc(60 / var(--spWidth)* 100vw);
    }

    #news .news_wrap .button_area li,
    #news .news_wrap .button_area ul {
        border: none;
    }

    #news .news_wrap .button_area ul {
        margin: 20px auto 0;
    }

    /* ---------リンク(RSS)-------- */
    #news .button_area ul li a.rss {
        border: #222 2px solid;
        color: #222;
        padding-right: 1rem;
    }

    #news .button_area ul li a.rss:hover {
        background: #222;
        color: #fff;
    }

    #product_top .button_area ul li a.rss:after,
    #company_top .button_area ul li a.rss:after {
        top: 50%;
        background-image: url("../../common/img/rss_black.png");

    }

    #product_top .button_area ul li a.rss:hover:after,
    #company_top .button_area ul li a.rss:hover:after {
        background-image: url("../../common/img/rss_white.png");
    }

    /* ------------------ボタン------------------- */
    #news .button_area ul {
        width: 100%;
        margin: 0 auto 40px;
        display: block;
        text-align: center;

    }

    #news .button_area ul li a {
        position: relative;
        display: block;
        width: 250px;
        margin: 0 auto;
        border: #e60013 2px solid;
        color: #e60013;
        font-weight: bold;
        background: #fff;
        border-radius: 50px;
        transition: 0.3s;
        padding: 14px 0 10px;
        padding-right: 1rem;
    }

    #news .button_area ul li a:hover {
        color: #fff;
        background: #e60013;
    }

    #news .button_area ul li a:after {
        position: absolute;
        top: 50%;
        right: 70px;
        display: inline-block;
        content: '';
        width: 20px;
        height: 20px;
        background-image: url("../../common/img/arrow_red.png");
        background-size: contain;
        background-repeat: no-repeat;
        vertical-align: middle;
        transition: 0.3s;
        transform: translateY(-50%) translateX(-50%);

    }

    #news .button_area ul li a:hover:after {
        right: 25px;
        background-image: url("../../common/img/arrow_white.png");
    }

    #news .button_area.two li:first-child {
        margin: 0 auto 20px;
    }


}