/*---------------------------------------------
                  News
----------------------------------------------*/
/*-----Archive----*/

#news-archive {
    display: flex;
    flex-direction: column;
}

#news-archive .news-item {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#news-archive .news-img-wrap {
    width: 30% !important;
}

#news-archive .news-img-wrap img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

#news-archive .news-item-content {
    width: 68%;
    display: flex;
    flex-direction: column;
}

#news-archive .news-archive-day {
    background: #26303e;
    color: #fff;
    padding: 3px 20px;
    width: 150px;
    text-align: center;
    font-weight: 700;
}

#news-archive .news-item-content h3 {
    margin-top: 10px;
    width: 100%;
    border-bottom: dotted 1px;
    padding-bottom: 10px;
}

#news-archive .news-item-content p {
    height: 50px;
    overflow: hidden;
}

.news-link-button {
    display: block;
    width: 200px;
    text-align: center;
    margin: auto 0 0 auto;
    padding: 5px;
    border: solid 1px;
    border-radius: 3px;
}

.news-link-button:hover {
    background-color: #ff9800;
    color: #fff;
}

/*-----News Single----*/

#news-single-content {
    width: 100%;
    max-width: 1100px;
    margin: 100px auto;
    padding: 50px;
    position: relative;
    border: solid 1px !important;
    flex-direction: column;
}

#news-single-content .heading-wrapper {
    text-align: center;
    margin: 0 auto 20px !important;
}

#news-single-content .news-heading-main {
    padding: 20px;
    background-color: #ff9800;
    color: #fff;
    box-shadow: 5px 5px 0 #ff7500;
    margin-top: 30px;
    line-height: 1.5 !important;
}

#news-single-content .news-single-date {
    background: #000;
    color: #fff;
    position: absolute;
    top: -21px;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    font-size: 18px;
    border-radius: 4px;
    transform: translateX(-50%);
}

#news-single-content .news-link-button {
    margin: 50px auto 0;
}

/*---------------------------------------------
                Media & Usage
----------------------------------------------*/
.news-term-list {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    border: solid 1px #eee;
    margin-bottom: 50px;
}

.news-term-heading {
    display: flex;
    align-items: center;
    background-color: #ff9800;
    color: #fff;
}

.news-term-heading h3 {
    margin-bottom: 0;
    padding: 10px 20px;
    width: 900px;
    max-width: 100%;
}

.news-term-heading .category {
    color: #fff;
    font-size: 16.38px;
    font-weight: 700;
    line-height: 1.8;
}

.news-term-item {
    display: flex;
    align-items: center;
    background-color: #eee;
}

.news-term-item:nth-child(odd) {
    background-color: #fff;
}

.news-term-archive-day {
    min-width: 80px;
    text-align: center;
    font-weight: 700;
    display: flex;
    justify-content: center;
}

.news-term-item h3 {
    margin-bottom: 0;
    padding: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}

.news-term-item h3 a {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*---------------------------------------------

                    PC

----------------------------------------------*/
@media only screen and (min-width: 1025px) {}

/*---------------------------------------------

                    PC-Under

----------------------------------------------*/
@media only screen and (max-width: 1024px) {}

/*---------------------------------------------

                    Tablet

----------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {}

/*---------------------------------------------

                    Mobile

----------------------------------------------*/
@media only screen and (max-width: 767px) {
    #news-page {
        width: 100%;
    }

    #news-archive .news-item {
        display: block;
    }

    #news-archive .news-img-wrap {
        width: 100% !important;
        margin-bottom: 20px;
    }

    #news-archive .news-item-content {
        width: 100%;
    }

    .pnavi {
        flex-wrap: wrap;
    }

    #news-single-content {
        padding: 20px;
        margin: 50px auto;
    }

    #news-single-content .news-single-date {
        padding: 10px;
        transform: translateX(-50%);
        font-size: 12px !important;
        width: 80%;
    }

    #news-single-content .news-heading-main {
        padding: 10px;
        margin-top: 30px;
        margin-bottom: 30px;
        font-size: 14px;
    }

    .news-link-button {
        font-size: 12px;
    }

    .news-term-heading h3 {
        padding: 10px;
        font-size: 14px;
    }

    .news-term-item h3 {
        padding: 10px;
        font-size: 12px;
    }

}
