@charset "UTF-8";

/* 一覧ページ */

.archive-news {
    background-image: url(../images/news/header-main-img.png) !important;
}

.all_area {
    color: #212121;
}

.tab__area {
    color: #333;
    margin: 30px 10px;
    width: auto;
    font-size: 14px;
    line-height: 1.6;
}

.tab__list {
    display: table;
    margin: 0 auto;
    width: 100%;
    zoom: 1;
    table-layout: fixed;
    border-spacing: 0;
}

.tab__item {
    display: table-cell;
    text-align: center;
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tab__item a {
    display: block;
    padding: 17px;
    margin: 0 2px;
    overflow: hidden;
    position: relative;
    color: #333;
    background-color: #e9e9e9;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* hover時の背景色（グレー）の指定 */
.tab__item a:hover {
    background-color: #eee;
}

/* タブ選択時の文字色の指定 */
.tab__item a.selected {
    color: #fff;
}

/* タブ01（ピンク）の背景色と文字色の指定 */
.tab__item:first-child a.selected {
    background-color: #ecaa7e;
}

/* タブ02（オレンジ）の背景色と文字色の指定 */
.tab__item:nth-child(2) a.selected {
    background-color: #819af9;
}

/* タブ03（グリーン）の背景色と文字色の指定 */
.tab__item:nth-child(3) a.selected {
    background-color: #BCD537;
}

.tab__item:nth-child(4) a.selected {
    background-color: #37488c;
}

.tab__inner {
    margin-top: 55px;
}

.content_area ul {
	display: block;
}

.content_area ul:after {
    content: "";
    width: 32%;
}

.content_area ul li {
    width: 100%;
    margin-bottom: 1em;
}

.content_area ul li img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tag-box {
    color: #212121;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    margin: 9px 0;
}

.content_area span.news_tag {
    font-size: 12px;
    padding: 7px 40px;
    border-radius: 30px;
    color: #fff;
    margin-left: 25px;
}

.all-tag {
    background: #ecaa7e;
}


.tes-tag {
    background: #819af9;
}

.rinsyo-tag {
    background: #bcd537;
}

.saisei-tag {
    background: #37488c;
}

.tag01 {
    background: #819af9;
}

.tag02 {
    background: #bcd537;
}

.tag03 {
    background: #37488c;
}

p.news-name {
    color: #212121;
}

p.thumbnail-img {
/*     height: 268px; */
	display: none;
}

.bottom-box {
	color: #000;
}

.bottom-box p {
	margin-left: 1em;
}

.optout-detail a{
	display: flex;
	align-items: center;
	color: red;
}

/* 一覧ページ */


/* 詳細ページ */
figure img {
    height: fit-content !important;
    object-fit: none !important;
    width: fit-content !important;
}

#detail-keyvis {
    background-image: url(../images/news/header-main-img02.png);
}

.time {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.time .cat a {
    background: #BCD537;
    border-radius: 17px;
    padding: 5px 20px;
    font-size: 12px;
    margin-left: 20px;
}

.news-detail h3 {
    font-size: 18px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #cdcdcd;
    margin-bottom: 20px;
}

.news-detail a {
    color: #ed6d2e;
}

span.taxonomy {
    display: none;
}

.news-detail-box p.cat {
    margin-left: 10px;
}

.thumbnail img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}


/* 詳細ページ */

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

    .tab_area {
        justify-content: space-between;
    }

    .tab__item {
        width: 50%;
        display: inline-block;
        font-size: 12px;
        margin: 8px 0px;
    }

    .tab__item a {
        padding: 15px;
        font-size: 14px;
    }

    ul.tab_area li.select {
        width: 48%;
        padding: 10px 0px;
    }

    ul.tab_area li {
        width: 48%;
        text-align: center;
        background: #777777;
        color: #fff;
        padding: 10px 0px;
        border-radius: 10px;
        margin-right: 0px;
        margin-bottom: 5px;
    }

    .content_area ul li {
        width: 100%;
/*         height: 270px; */
        margin-bottom: 1em;
    }

    .content_area ul li img {
        width: 100%;
        height: 132px;
        object-fit: cover;
    }


    .tag-box {
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .content_area span.news_tag {
        font-size: 10px;
        padding: 4px 10px;
        margin-left: 0px;
    }

    .cat span.news_tag {
        margin-right: 5px;
    }

    p.tag-right {
        margin-left: 10px;
    }

    .thumbnail img {
        height: 190px;
    }

    p.thumbnail-img {
/*         height: 137px; */
		display: none;
    }

}

@media only screen and (max-width: 750px) {

    p.tag-right {
        margin-left: 0;
        width: 100%;
    }
}