
/* ********************************** お知らせ一覧アーカイブページの設定 ********************************** */

/* サイドバーのデザイン */
.news_sidebar_ttl{
    text-align: left;
    background-color: unset;
    padding: 0 0 1em 0;
    border-bottom: 2px solid var(--assortcolor);
    margin-bottom: 1em;
}

.post-type-archive-news .left_sidebar .text,
.tax-news_category .left_sidebar .text,
.tax-news_tag .left_sidebar .text,
.single-news .left_sidebar .text{
    line-height: 1.5em;
    margin-bottom: 1em;
}

.post-type-archive-news .left_sidebar .media_contact,
.tax-news_category .left_sidebar .media_contact,
.tax-news_tag .left_sidebar .media_contact,
.single-news .left_sidebar .media_contact{
    display: block;
    text-align: center;
    background-color: var(--assortcolor);
    font-weight: bold;
    padding: 1.5em;
}

.post-type-archive-news .left_sidebar .media_contact:hover,
.tax-news_category .left_sidebar .media_contact:hover,
.tax-news_tag .left_sidebar .media_contact:hover,
.single-news .left_sidebar .media_contact:hover{
    background-color: var(--maincolor);
    color: white;
}

.post-type-archive-news .left_sidebar .media_contact:hover  p::before,
.tax-news_category .left_sidebar .media_contact:hover  p::before,
.tax-news_tag .left_sidebar .media_contact:hover  p::before,
.single-news .left_sidebar .media_contact:hover  p::before{
    filter: invert(100%) sepia(0%) saturate(1893%) hue-rotate(72deg) brightness(118%) contrast(107%);
}

.post-type-archive-news .left_sidebar .media_contact p::before,
.tax-news_category .left_sidebar .media_contact p::before,
.tax-news_tag .left_sidebar .media_contact p::before,
.single-news .left_sidebar .media_contact p::before{
    content: "";
    background: url(../images/systems/icon/mail_icon.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.5em;
    height: 1.2em;
    margin-right: 0.6em;
    filter: invert(74%) sepia(0%) saturate(0%) hue-rotate(273deg) brightness(84%) contrast(88%);
}

.post-type-archive-news .sidebar_list_contents1 ul li,
.post-type-archive-news .sidebar_list_contents2 ul li,
.post-type-archive-news .sidebar_list_contents3 ul li,
.tax-news_category .sidebar_list_contents1 ul li,
.tax-news_category .sidebar_list_contents2 ul li,
.tax-news_category .sidebar_list_contents3 ul li,
.tax-news_tag .sidebar_list_contents1 ul li,
.tax-news_tag .sidebar_list_contents2 ul li,
.tax-news_tag .sidebar_list_contents3 ul li,
.single-news .sidebar_list_contents1 ul li,
.single-news .sidebar_list_contents2 ul li,
.single-news .sidebar_list_contents3 ul li{
    padding-left: 0;
}

/* ここから本文 */
.post-type-archive-news .title_box,
.tax-news_category .title_box,
.tax-news_tag .title_box{
    text-align: center;
    background-color: var(--assortcolor);
    padding: 1em;
}

.post-type-archive-news .title_box p::before,
.tax-news_category .title_box p::before,
.tax-news_tag .title_box p::before{
    content: "";
    background: url(../images/systems/icon/icon_newspaper_black.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: top;
    width: 1.4em;
    height: 1.1em;
    margin-right: 0.4em;
}

.post-type-archive-news .read_text,
.tax-news_category .read_text,
.tax-news_tag .read_text{
    text-align: center;
    margin: 1.5em 0 2em 0;
}

.tax-news_category .archive_ttl_wrapper,
.tax-news_category .archive_ttl_wrapper,
.tax-news_tag .archive_ttl_wrapper{
    display: none;
}

.post-type-archive-news .archive_ttl_wrapper,
.tax-news_category .news_ttl_wrapper,
.tax-news_tag .news_ttl_wrapper{
    position: relative;
}

.post-type-archive-news .news_ttl,
.tax-news_category .news_ttl_box,
.tax-news_tag .news_ttl_box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-weight: 400;
    width: max-content;
}

.tax-news_category .news_ttl_box .archive_second_title,
.tax-news_tag .news_ttl_box .archive_second_title{
    background-color: black;
    padding: 0.5em;
    margin-bottom: 0.5em;
}

.post-type-archive-news .news_ttl::before{
    content: "";
    background: url(../images/systems/icon/icon_newspaper_black.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: top;
    width: 1.4em;
    height: 1.1em;
    margin-right: 0.2em;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(345deg) brightness(104%) contrast(102%);
}

.tax-news_category .category_text,
.tax-news_tag .category_text{
    text-align: center;
    margin: 1em auto;
    line-height: 1.75em;
}

.post-type-archive-news .news_category_ttl,
.post-type-archive-news .news_new_ttl{
    display: flex;
    margin: 2em 0 1em 0;
    padding-bottom: 1em;
    border-bottom: 3px solid var(--assortcolor);
    margin-bottom: 2em;
}


.tax-news_category .news_category_ttl,
.tax-news_tag .news_category_ttl{
    padding: 1em;
    background-color: var(--assortcolor);
    text-align: center;
    margin-bottom: 1.5em;
}



.tax-news_category .news_category_ttl_b,
.tax-news_tag .news_category_ttl_b{
    display: flex;
    padding-bottom: 1em;
    border-bottom: 3px solid var(--assortcolor);
    margin-bottom: 2em;
}


.tax-news_category .news_category_ttl_c{
    display: flex;
    line-height: 1.5em;
}

.tax-news_tag .news_category_ttl_c{
    display: flex;
    margin-top: 2em;
    line-height: 1.5em;
}



.post-type-archive-news .news_category_ttl::before,
.tax-news_category .news_category_ttl_b p::before,
.tax-news_tag .news_category_ttl_b p::before{
    content: "";
    background: url(../images/systems/icon/search_icon.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.3em;
}
















/* レスポンシブ時(サイドバーが消えてから)に表示 */
.post-type-archive-news .secondary_list_box,
.tax-news_category .secondary_list_box,
.tax-news_tag .secondary_list_box,
.single-news .secondary_list_box{
    border: 2px solid var(--assortcolor);
    padding: 1em 2em 2em 2em;
    border-radius: 1em;
    position: relative;
    margin-top: 3em;
    display: none;
}

.tax-news_category .secondary_list_box,
.tax-news_tag .secondary_list_box{
    margin-bottom: 2em;
}

.post-type-archive-news .secondary_list_box .secondary_list_ttl,
.tax-news_category .secondary_list_box .secondary_list_ttl,
.tax-news_tag .secondary_list_box .secondary_list_ttl,
.single-news .secondary_list_box .secondary_list_ttl{
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    line-height: 1.5em;
}

.post-type-archive-news .secondary_list_box .secondary_list_ttl p,
.tax-news_category .secondary_list_box .secondary_list_ttl p,
.tax-news_tag .secondary_list_box .secondary_list_ttl p,
.single-news .secondary_list_box .secondary_list_ttl p{
    background-color: white;
    padding: 0 1em;
}

.post-type-archive-news .secondary_list_box .secondary_list_ttl p::before,
.tax-news_category .secondary_list_box .secondary_list_ttl p::before,
.tax-news_tag .secondary_list_box .secondary_list_ttl p::before,
.single-news .secondary_list_box .secondary_list_ttl p::before{
    content: "";
    background: url(../images/systems/icon/search_icon.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: bottom;
    width: 1em;
    height: 1em;
    margin-right: 0.3em;
    width: max-content;
    line-height: 1.5em;
}

.post-type-archive-news .secondary_list_box .tag_list,
.tax-news_category .secondary_list_box .tag_list,
.tax-news_tag .secondary_list_box .tag_list,
.single-news .secondary_list_box .tag_list{
    display: flex;
    flex-wrap: wrap; /* アイテムを折り返す設定 */
}

.post-type-archive-news .secondary_list_box .tag_list li,
.tax-news_category .secondary_list_box .tag_list li,
.tax-news_tag .secondary_list_box .tag_list li,
.single-news .secondary_list_box .tag_list li{
    background-color: var(--notecolor);
    margin: 1em 1em 0 0;
    border-radius: 999px;
}

.post-type-archive-news .secondary_list_box .tag_list li:last-of-type,
.tax-news_categor .secondary_list_box .tag_list li:last-of-type,
.tax-news_tag .secondary_list_box .tag_list li:last-of-type,
.single-news .secondary_list_box .tag_list li:last-of-type{
    margin-right: 0;
}

.post-type-archive-news .secondary_list_box .tag_list li a,
.tax-news_categor .secondary_list_box .tag_list li a,
.tax-news_tag .secondary_list_box .tag_list li a,
.single-news .secondary_list_box .tag_list li a{
    display: block;
    padding: 0.5em 1em;
}





















.post-type-archive-news .news_new_ttl{
    border-bottom: unset;
    margin-bottom: unset;
    padding-bottom: 0;
}


.tax-news_category .news_new_ttl,
.tax-news_tag .news_new_ttl{
    text-align: center;
    padding-bottom: 2em;
}


.news_post_flex_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-top: 1.5em;
}

.news_post_flex_container::after {
    content: "";
    grid-column: span 3;
}

.news_post_flex_item{
    background-color: #F7F8F8
}

.news_post_flex_item a{
    padding: 2em;
    display: block;
    height: 100%;
}



.news_post_flex_item .details_contents{
    text-align: center;

}

.news_post_flex_item .thumbnail_box{
    border: 6px solid white;
}

.news_post_flex_item .osirase_date{
    color: var(--maincolor);
    padding: 0.5em 0;
    font-size: 0.9em;
}



.news_post_flex_item .osirase_ttl{
    text-align: left;
    line-height: 1.5em;
}



.news_day_wrapper{
    display: flex;
    align-items: baseline;
}


.news_day::before{
    content: "";
    background: url(../images/systems/icon/news_date_icon.svg);
    display: inline-block;
    background-size: cover;
    width: 1em;
    height: 1em;
    margin-right: 0.2em;
    vertical-align: bottom;
}


.news_post_wrapper .news_box .category{
    font-size: 0.9em;
    margin-bottom: 1em;
}

.news_post_wrapper .news_new_icon {
    font-weight: bold; /* 太字にする */
    font-size: 0.9em; /* 文字サイズ */
    color: #E84566;
}

.news_post_wrapper .news_new_icon::before{
    content: "＼";
}

.news_post_wrapper .news_new_icon::after{
    content: "／";
    margin-right: 0.25em;
}


















.post-type-archive-news .news_new_ttl::before{
    content: "";
    background: url(../images/systems/icon/pickup_icon.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.2em;
    height: 1.4em;
    margin-right: 0.4em;
    border-bottom: unset;
    margin-bottom: unset;
}

.tax-news_category .news_new_ttl p::before,
.tax-news_tag .news_new_ttl p::before{
    content: "";
    background: url(../images/systems/icon/information_icon_orange.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: bottom;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list,
.tax-news_category .category_list,
.tax-news_tag .category_list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

.post-type-archive-news .category_list li a,
.tax-news_category .category_list li a,
.tax-news_tag .category_list li a{
    display: block;
    padding: 1em;
    border: 2px solid var(--assortcolor);
    text-align: center;
    height: 55px;
}

.post-type-archive-news .category_list li a:hover,
.tax-news_category .category_list li a:hover,
.tax-news_tag .category_list li a:hover{
    background-color: var(--hovercolor);
}

/* ここからお知らせカテゴリーのアイコン設定 */
.post-type-archive-news .category_list .csr::before,
.tax-news_category .category_list .csr::before,
.tax-news_tag .category_list .csr::before{
    content: "";
    background: url(../images/systems/icon/news_icon_csr.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .recommend::before,
.tax-news_category .category_list .recommend::before,
.tax-news_tag .category_list .recommend::before{
    content: "";
    background: url(../images/systems/icon/news_icon_recommend.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .campaign::before,
.tax-news_category .category_list .campaign::before,
.tax-news_tag .category_list .campaign::before{
    content: "";
    background: url(../images/systems/icon/news_icon_campaign.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.2em;
    height: 1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .media::before,
.tax-news_category .category_list .media::before,
.tax-news_tag .category_list .media::before{
    content: "";
    background: url(../images/systems/icon/news_icon_media.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: baseline;
    width: 1.1em;
    height: 0.7em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .release::before,
.tax-news_category .category_list .release::before,
.tax-news_tag .category_list .release::before{
    content: "";
    background: url(../images/systems/icon/news_icon_release.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: top;
    width: 0.75em;
    height: 1em;
    margin-right: 0.2em;
}

.post-type-archive-news .category_list .exhibition::before,
.tax-news_category .category_list .exhibition::before,
.tax-news_tag .category_list .exhibition::before{
    content: "";
    background: url(../images/systems/icon/news_icon_exhibition.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 0.9em;
    height: 1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .uncategorized::before,
.tax-news_category .category_list .uncategorized::before,
.tax-news_tag .category_list .uncategorized::before{
    content: "";
    background: url(../images/systems/icon/news_icon_uncategorized.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: bottom;
    width: 0.9em;
    height: 0.9em;
    margin-right: 0.4em;
}

/* ここからお知らせタグのアイコン設定 */
.post-type-archive-news .category_list .webmedia::before,
.post-type-archive-news .tag_list .webmedia::before,
.tax-news_category .category_list .webmedia::before,
.tax-news_tag .category_list .webmedia::before{
    content: "";
    background: url(../images/systems/icon/icon_web_media.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.5em;
    height: 1.1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .socialmedia::before,
.post-type-archive-news .tag_list .socialmedia::before,
.tax-news_category .category_list .socialmedia::before,
.tax-news_tag .category_list .socialmedia::before{
    content: "";
    background: url(../images/systems/icon/icon_social_media.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.3em;
    height: 1.1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .othermedia::before,
.post-type-archive-news .tag_list .othermedia::before,
.tax-news_category .category_list .othermedia::before,
.tax-news_tag .category_list .othermedia::before{
    content: "";
    background: url(../images/systems/icon/icon_other.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.1em;
    height: 0.2em;
    margin-right: 0.4em;
}

.post-type-archive-news .category_list .tvmedia::before,
.post-type-archive-news .tag_list .tvmedia::before,
.tax-news_category .category_list .tvmedia::before,
.tax-news_tag .category_list .tvmedia::before{
    content: "";
    background: url(../images/systems/icon/icon_tv.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: sub;
    width: 1.4em;
    height: 1.2em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .radiomedia::before,
.post-type-archive-news .tag_list .radiomedia::before,
.tax-news_category .category_list .radiomedia::before,
.tax-news_tag .category_list .radiomedia::before{
    content: "";
    background: url(../images/systems/icon/icon_radio.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .admedia::before,
.post-type-archive-news .tag_list .admedia::before,
.tax-news_category .category_list .admedia::before,
.tax-news_tag .category_list .admedia::before{
    content: "";
    background: url(../images/systems/icon/icon_ad.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: top;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.4em;
}

.post-type-archive-news .category_list .newspaper::before,
.post-type-archive-news .tag_list .newspaper::before,
.tax-news_category .category_list .newspaper::before,
.tax-news_tag .category_list .newspaper::before{
    content: "";
    background: url(../images/systems/icon/icon_newspaper.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.5em;
    height: 1.3em;
    margin-right: 0.4em;
}

.post-type-archive-news .category_list .uncategorized::before,
.post-type-archive-news .tag_list .uncategorized::before,
.tax-news_category .category_list .uncategorized::before,
.tax-news_tag .category_list .uncategorized::before{
    content: "";
    background: url(../images/systems/icon/news_icon_uncategorized.svg);
    display: inline-block;
    background-size: cover;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.3em;
}

.post-type-archive-news .category_list .magazine_media::before,
.post-type-archive-news .tag_list .magazine_media::before,
.tax-news_category .category_list .magazine_media::before,
.tax-news_tag .category_list .magazine_media::before{
    content: "";
    background: url(../images/systems/icon/icon_magazine.svg);
    display: inline-block;
    background-size: cover;

    width: 1.2em;
    height: 0.8em;
    margin-right: 0.5em;
}



.term-exhibition .news_category_ttl_b{
    display: block;
    border-bottom: unset;
    text-align: center;
    margin-bottom: 1em;
}

.term-exhibition .news_category_ttl_b p::before{
    background: url(../images/systems/icon/icon_bell.svg);
    background-size: cover;
    width: 1em;
    height: 1.1em;
    margin-right: 0.4em;
    vertical-align: bottom;
}


.post-type-archive-news .orange_border,
.tax-news_category .orange_border,
.tax-news_tag .orange_border{
    margin: 2.5em 0 2em 0;
    background: url(../images/systems/icon/orange_border.svg) repeat-x;
    height: 1em;
}





































.term-csr .news_category_ttl_c::before,
.single-news .csr::before{
    content: "";
    background: url(../images/systems/icon/icon_csr.svg);
    display: inline-block;
    background-size: cover;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.3em;
}

.term-recommend .news_category_ttl_c::before,
.single-news .recommend::before{
    content: "";
    background: url(../images/systems/icon/icon_star.svg);
    display: inline-block;
    background-size: cover;;
    width: 1.5em;
    height: 1.4em;
    margin-right: 0.5em;
}

.term-campaign .news_category_ttl_c::before,
.single-news .campaign::before{
    content: "";
    background: url(../images/systems/icon/icon_ribbon.svg);
    display: inline-block;
    background-size: cover;
    width: 1.7em;
    height: 1.3em;
    margin-right: 0.5em;
}

.term-release .news_category_ttl_c::before,
.single-news .release::before{
    content: "";
    background: url(../images/systems/icon/icon_release.svg);
    display: inline-block;
    background-size: cover;
    width: 1.2em;
    height: 1.6em;
    margin-right: 0.3em;
}

.term-uncategorized .news_category_ttl_c::before,
.single-news .uncategorized::before{
    content: "";
    background: url(../images/systems/icon/news_icon_uncategorized.svg);
    display: inline-block;
    background-size: cover;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.3em;
}





.term-webmedia .news_category_ttl_c::before,
.single-news .webmedia::before{
    content: "";
    background: url(../images/systems/icon/icon_web_media.svg);
    display: inline-block;
    background-size: cover;
    width: 1.8em;
    height: 1.4em;
    margin-right: 0.6em;
}

.term-socialmedia .news_category_ttl_c::before,
.single-news .socialmedia::before{
    content: "";
    background: url(../images/systems/icon/icon_social_media.svg);
    display: inline-block;
    background-size: cover;
    width: 1.6em;
    height: 1.4em;
    margin-right: 0.5em;
}

.term-othermedia .news_category_ttl_c::before,
.single-news .othermedia::before{
    content: "";
    background: url(../images/systems/icon/news_icon_uncategorized.svg);
    display: inline-block;
    background-size: cover;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.5em;
}

.term-tvmedia .news_category_ttl_c::before,
.single-news .tvmedia::before{
    content: "";
    background: url(../images/systems/icon/icon_tv.svg);
    display: inline-block;
    background-size: cover;
    width: 1.6em;
    height: 1.5em;
    margin-right: 0.5em;
}

.term-radiomedia .news_category_ttl_c::before,
.single-news .radiomedia::before{
    content: "";
    background: url(../images/systems/icon/icon_radio.svg);
    display: inline-block;
    background-size: cover;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.5em;
}

.term-admedia .news_category_ttl_c::before,
.single-news .admedia::before{
    content: "";
    background: url(../images/systems/icon/icon_ad.svg);
    display: inline-block;
    background-size: cover;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.5em;
}

.term-newspaper .news_category_ttl_c::before,
.single-news .newspaper::before{
    content: "";
    background: url(../images/systems/icon/icon_newspaper.svg);
    display: inline-block;
    background-size: cover;
    width: 1.7em;
    height: 1.4em;
    margin-right: 0.6em;
}



.term-magazine_media .news_category_ttl_c::before,
.single-news .magazine_media::before{
    content: "";
    background: url(../images/systems/icon/icon_magazine.svg);
    display: inline-block;
    background-size: cover;
    width: 2.2em;
    height: 1.5em;
    margin-right: 0.5em;
}































