/* ********************************** お知らせシングルページの設定 ********************************** */

.single-news .news_post_wrapper {
    margin-top: 0;
}

.single-news .news_category_ttl_c{
    display: flex;
    margin-top: 0.5em;
    line-height: 2em;
}

/* 各タグのアイコン画像はnews_archiveページより引き継ぎ */
.single-news .webmedia::before{
    width: 1em;
    height: 0.8em;
    margin-right: 0.4em;
}

.single-news .socialmedia::before{
    width: 1em;
    height: 0.8em;
    margin-right: 0.2em;
}

.single-news .tvmedia::before{
    width: 1em;
    height: 0.9em;
    margin-right: 0.2em;
}

.single-news .radiomedia::before{
    width: 1em;
    height: 1.1em;
    margin-right: 0.2em;
}



.single-news .exhibition::before{
    content: "";
    display: inline-block;
    background: url(../images/systems/icon/icon_bell.svg);
    background-size: cover;
    width: 0.8em;
    height: 0.9em;
    margin-right: 0.3em;
}

.single-news .csr::before{
    width: 1em;
    height: 1em;
    margin-right: 0.3em;
}

.single-news .recommend::before{
    background-size: cover;
    width: 1.1em;
    height: 1em;
    margin-right: 0.3em;
}

.single-news .campaign::before{
    width: 1.2em;
    height: 1em;
    margin-right: 0.3em;
}

.single-news .release::before{
    width: 0.7em;
    height: 1em;
    margin-right: 0.2em;
}














.single-news .newspaper::before{
    width: 1em;
    height: 0.8em;
    margin-right: 0.3em;
}

.single-news .magazine_media::before{
    width: 1em;
    height: 0.7em;
    margin-right: 0.3em;
}

.single-news .othermedia::before,
.single-news .admedia::before,
.single-news .uncategorized::before{
    width: 0.8em;
    height: 0.8em;
}



.single-news .news_tag_list{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.single-news .news_tag_list li{
    margin-right: 1em;
    font-size: 0.8em;
}

.single-news .news_tag_list li:last-of-type{
    margin-right: 0;
}

.single-news .spacer{
    margin: 0 0.5em;
}

.single-news .orange_border {
    margin: 2em 0 2em 0;
}

.single-news .news_contents_wrapper{
    display: flex;
    flex-wrap: wrap; /* 複数行に対応するためにラップさせます */
}


.single-news .news_contents_wrapper > li:nth-child(1),
.single-news .news_contents_wrapper > li:nth-child(2){
    flex: 1 1 auto; /* 横並びにしつつ、適切な幅を持たせます */
    width: 48%;
}

.single-news .news_contents_wrapper > li:nth-child(2){
    margin-left: 2em;
    line-height: 1.5em;
}

.single-news .news_contents_wrapper > li:nth-child(3){
    flex: 0 0 100%; /* 幅100%に設定 */
    margin-top: 3em;
}


/* ********************************** ページ送り／ページ戻り のページャー ********************************** */

.single-news .pager_wrapper {
    display: flex;
    align-items: stretch; /* 子要素が親要素の高さに合わせて伸びるようにする */
    background-color: var(--hovercolor);
    padding: 2em
}

.single-news .pager_wrapper > li {
    flex: 1 1 auto; /* 横並びにしつつ、適切な幅を持たせます */
    display: flex;
    align-items: center; /* 子要素（.btn_text）を上下中央に */
    height: inherit;
    background-color: white;
    width: 100%;
    padding: 1.5em;
}

.single-news .pager_wrapper > li:first-of-type{
    margin-right: 0.5em;
    padding-left: 4em;
}

.single-news .pager_wrapper > li:last-of-type{
    padding-right: 3.5em;
}

.single-news .previous_btn,
.single-news .next_btn {
    width: 50%;
    border: 2px solid var(--maincolor);
    height: auto;
    position: relative;
}





/* 矢印アイコンの設定 */
.single-news .previous_btn::before,
.single-news .next_btn::before {
    content: "";
    background: url(../images/systems/icon/simple_arrow_icon_orange.svg) no-repeat;
    background-size: contain;
    width: 2em;
    height: 2em;
    display: inline-block;
    position: absolute;
    top: 50%; /* 親要素の縦中央 */
    transform: translateY(-50%); /* 中央揃え */
}

.single-news .previous_btn::before {
    left: 15px;
    transform: translateY(-50%) rotate(90deg);
}

.single-news .next_btn::before {
    right: 15px;
    transform: translateY(-50%) rotate(270deg);
}

.single-news .pager_wrapper .btn_text{
    height: fit-content;
}

.single-news .pager_wrapper .btn_text a{
    padding: 1em 0;
    display: block;
    height: 100%;
    line-height: 1.75em;
}



.single-news .previous_btn .news_thumbnail,
.single-news .next_btn .news_thumbnail{
    width: 120px;
}

.single-news .pager_wrapper .link_contents{
    display: flex;
    align-items: center;
}

.single-news .pager_wrapper .link_contents li{
    line-height: 1.5em;
    width: 100%;
    max-width: 200px;
}

.single-news .pager_wrapper .link_contents li:first-of-type{
    margin-right: 1em;
}








/* プラグイン『Shortcodes Ultimate』で追加したライトボックスのデザイン変更 */
.single-news .su-lightbox {
    padding: 8px 14px 8px 8px;
    border: 4px solid #B5B5B6;
    background-color: #B5B5B6;
    color: #fff;
}

.single-news .su-lightbox:hover {
    border: 4px solid #DCDDDD;
    background-color: #fff;
    color: #000;
    cursor: pointer;
}

.single-news .su-lightbox::before {
    content: "\f211";
    font-family: "dashicons";
    vertical-align: middle;
    padding-left: 10px;
    margin-right: 3px;
}




















