@charset "utf-8";

/* CSS NEWS & DETAIL
--------------------------------- */
#news .pagetitle .inner-pagetitle::before {
    background-image: url("../img/news/pagetitle_bg.jpg");
}

/* ページタイトル
--------------------------------- */
#news .page-news .pagettl-area::after {
    display: none;
}

/* CSS NEWS
--------------------------------- */

/* 最新情報一覧
--------------------------------- */
.col-newslist .news-list {
    display: block;
    margin-bottom: 40px;
}

.col-newslist .news-list article {
    margin-bottom: 20px;
}

.col-newslist .news-list a {
    display: flex;
    gap: 3vw;
    justify-content: space-between;
    padding: 0 40px 0 30px;
}

.col-newslist .news-list .txt-area {
    flex: 1;
    padding: 10px 0;
}

.col-newslist .news-list .thumbnail {
    width: 200px;
}

@media (width <= 991px) {
    .col-newslist {
        padding-bottom: 0;
    }
}

@media (width <= 767px) {
    .col-newslist .news-list a {
        padding: 0 0 0 30px;
    }
}

@media (width <= 480px) {
    .col-newslist .news-list {
        margin-bottom: 30px;
    }

    .col-newslist .news-list a {
        flex-flow: column;
        gap: 0;
        padding-left: 15px;
    }

    .col-newslist .news-list .txt-area {
        padding: 0 0 15px;
    }

    .col-newslist .news-list .thumbnail {
        width: 100%;
    }
}

/* CSS NEWS DETAIL
--------------------------------- */

/* 記事詳細
--------------------------------- */
#sec-article .box-ttl .date {
    position: relative;
}

#sec-article .box-ttl .date::before {
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: -1;
    display: block;
    width: 100vw;
    height: 1px;
    content: "";
    background-color: #000;
    transform: translateX(-71px);
}

#sec-article .box-detail {
    border-bottom: none;
}

@media (width <= 991px) {
    #sec-article .box-ttl .date::before {
        right: 8px;
    }
}

@media (width <= 768px) {
    #sec-article {
        padding-bottom: 20px;
    }
}

@media (width <= 480px) {
    #sec-article {
        padding-bottom: 10px;
    }

    #sec-article .box-ttl .date::before {
        right: 2px;
    }
}

/* リッチテキストエディタ用 -------------------- */
#sec-article .box-detail {
    line-height: 1.8;
}

#sec-article .box-detail img {
    box-sizing: border-box;
    width: inherit;
    max-width: 100%;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

#sec-article .box-detail p,
#sec-article .box-detail ul,
#sec-article .box-detail ol {
    margin-bottom: 20px;
}

#sec-article .box-detail p:nth-last-child(1) {
    margin-bottom: 0;
}

#sec-article .box-detail b,
#sec-article .box-detail strong {
    font-weight: bold;
}

#sec-article .box-detail em {
    font-style: italic;
}

#sec-article .box-detail a {
    color: #00b8ee;
}

#sec-article .box-detail a:hover {
    text-decoration: underline;
}

#sec-article .box-detail ul {
    padding-left: 30px;
    list-style-type: disc;
}

#sec-article .box-detail ol {
    padding-left: 30px;
    list-style-type: decimal;
}

#sec-article .box-detail sub {
    font-size: smaller;
    vertical-align: sub;
}

#sec-article .box-detail blockquote {
    background-color: #efefef;
}

#sec-article .box-detail table {
    border-collapse: collapse;
}

#sec-article .box-detail th,
#sec-article .box-detail td {
    border: solid 1px #efefef;
}

@media (width <= 480px) {
    #sec-article .box-detail p,
    #sec-article .box-detail ul,
    #sec-article .box-detail ol {
        margin-bottom: 15px;
    }
}
