@charset "utf-8";

/* ---------------------------------------- 
 - contents（NEWS一覧）
---------------------------------------- */
/* news_category */
#news_category #news_category_inner {
	padding-top: 50px;
	padding-bottom: 30px;
}
#news_category ul.news_category_list {
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	width: 90%;
	max-width: 750px;
	padding: 25px;
	margin: 0 auto;
	background: #fff;
	font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
	background: #f0f7f4;
}
#news_category ul.news_category_list li {
	padding: 0 3%;
	font-size: 1.6rem;
}
#news_category ul.news_category_list li span{
	cursor:pointer;
	display: inline-block;
	position: relative;
 	text-decoration: none;
}
#news_category ul.news_category_list li span::before{
	content: "";
	position: absolute;
	left: 0;
	top: -25px;
	width: 100%;
	height: 2px;
	background: #009e96;
	display: none;
}
#news_category ul.news_category_list li span.selected::before{
	display: block;
}
@media screen and (max-width: 768px) {	
	#news_category #news_category_inner {
		padding-top: 30px;
		padding-bottom: 50px;
	}
	#news_category ul.news_category_list {
		width: 100%;
		padding: 25px 5%;
	}
	#news_category ul.news_category_list li {
		font-size: 2.4vw;
	}
}
@media screen and (max-width: 480px) {
	#news_category ul.news_category_list {
		width: 100%;
		padding: 20px 0;
	}
	#news_category ul.news_category_list li {
		font-size: 1.0rem;
		padding: 0 2.5%;
	}
	#news_category ul.news_category_list li span::before {
		top: -20px;
	}
}

/* newsCol */
#newsCol{
	padding: 50px 0 70px;
	margin: 0 auto;
}
#newsCol #newsCol_inner {
	width: 94%;
	max-width: 1100px;	
    text-align: center;
	margin: 0 auto;
	display: -webkit-flex;
    display: flex;
    justify-content: space-between;
	flex-flow: row-reverse;
	align-items: flex-start;
}
#newsCol .news_detailList {
	width: 70%;
	margin: 0 0 0 auto;
	padding: 0 0 45px;
	position: relative;
}
#newsCol ul.news_menu_list {
	width: 100%;
	margin-bottom: 40px;
	text-align: left;
}
#newsCol ul.news_menu_list li {
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	border-bottom: dotted 1px #009e96;
	padding-left:0.5em; 
	padding-right:0.5em;
	width: 100%;
	text-decoration: none;
	display: -webkit-flex;
	display: flex;
	align-items: center;
}
#newsCol ul.news_menu_list li .date{
	color:#777;
	font-size: 1.3rem;
	margin-right: 3%;
}
#newsCol ul.news_menu_list li .category{
	color:#009e96;
	font-size: 1.2rem;
	border:solid 1px #009e96;
	margin-right: 3%;
	box-sizing: border-box;
	padding: 0 1.0em;
	height: 20px;
	line-height: 20px;
	min-width: 115px;
	text-align: center;
}
#newsCol ul.news_menu_list li .event{
	color:#fff;
	border:none;
	background: #009e96;
}
#newsCol ul.news_menu_list li .ttl {
    flex: 1;
}
#newsCol ul.news_menu_list li .ttl a{
	text-decoration: none;
}
#newsCol ul.news_menu_list li .ttl a:hover{
	text-decoration: underline;
}
#newsCol .news_dateList {
	width:26%;
}
#newsCol .news_dateList ul.news_dateList_list {
    width: 100%;
	border-top: solid 2px #dadada;
	position: relative;
}
#newsCol .news_dateList ul.news_dateList_list::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #009e96;
}
#newsCol .news_dateList ul.news_dateList_list > li > a {
	width: 100%;
	display: block;
	position: relative;
	-webkit-transition: .3s;
    transition: .3s;
	font-size: 1.7rem;
	line-height: 1.2;
	text-align: left;
	text-decoration: none;
	border-bottom: solid 1px #b0b0b0;
	font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}
#newsCol .news_dateList ul.news_dateList_list > li > a::before {
    content: '';
    display: inline-block;
    background-size: contain;
    vertical-align: text-bottom;
    background-position: left top;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 10px;
    width: 7px;
    height: 12px;
    margin-top: 1px;
    background-image: url(/~NUBSens/wp-content/themes/nubsens/assets/images/common/ico_list_arw.svg);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -webkit-transition: .3s;
    transition: .3s;
}
#newsCol .news_dateList ul.news_dateList_list > li > a > span {
	display: block;
	width: 100%;
	height: 100%;	
	padding: 25px 0;
	box-sizing: border-box;	
	position: relative;
}
#newsCol .news_dateList ul.news_dateList_list > li > a.selected {
	color: #009e96;
}
#newsCol .news_dateList ul.news_dateList_list > li > a:hover {
	border-color: #222;
}
#newsCol .news_dateList ul.news_dateList_list > li > a.selected::before {
    display: none;
}
#newsCol .news_detailList_pager ul {
	display: -webkit-flex;
    display: flex;
	justify-content:center;	
}
#newsCol .news_detailList_pager ul li {
	display:inline-block;
	padding:0 1%;
	font-size:1.3rem;
}
#newsCol .news_detailList_pager ul li a {
	display:block;
	padding:5px;
	border:dotted 1px #009e96;
	transition: all 0.5s;
	letter-spacing:0.1em;
	min-width: 35px;
    text-align: center;
    box-sizing: border-box;
	background: #fff;
	text-decoration: none;
}
#newsCol .news_detailList_pager ul li span {
	display:block;
	padding:5px 0;
	transition: all 0.5s;
	letter-spacing:0.1em;
}
#newsCol .news_detailList_pager ul li a:hover,
#newsCol .news_detailList_pager ul li a.active {
	background:#009e96;
	color:#fff;
	text-decoration:none;
}
@media screen and (max-width: 1000px) {	
	#newsCol .news_detailList {
		width: 65%;
	}
	#newsCol .news_dateList {
		width:32%;
	}
}
@media screen and (max-width: 768px) {	
	#newsCol{
		padding: 0;
	}
	#newsCol #newsCol_inner {
		display: block;	
		width: 100%;
	}
	#newsCol .news_detailList {
		width: 100%;
	}
	#newsCol ul.news_menu_list {
		margin-bottom: 20px;
	}
	#newsCol ul.news_menu_list li {
		flex-wrap: wrap;
		padding-left: 5%;
		padding-right: 5%;
	}
	#newsCol ul.news_menu_list li .date{
		font-size: 1.2rem;
		margin-right: 3%;
	}
	#newsCol ul.news_menu_list li .category{
		font-size: 1.1rem;
		margin-right: 0;
	}
	#newsCol ul.news_menu_list li .ttl {
		flex: auto;
		width: 100%;
		margin-top: 0.7em;
		font-size: 1.3rem;
	}	
	#newsCol .news_dateList {
		width:100%;
		background: #fff;
	}
	#newsCol .news_dateList ul.news_dateList_list {
		display: -webkit-flex;
		display: flex;
		justify-content:center;	
		flex-wrap: wrap;
	}
	#newsCol .news_dateList ul.news_dateList_list > li {
		width:50%;
	}
	#newsCol .news_dateList ul.news_dateList_list > li:nth-child(odd) > a {
		border-right: solid 1px #b0b0b0;
	}
	#newsCol .news_dateList .news_dateList_inner ul.news_dateList_list > li > a {
		font-size: 1.5rem;
	}
	#newsCol .news_dateList ul.news_dateList_list > li > a > span {
		padding: 20px 4%;
	}
	#newsCol .news_detailList_pager {
		width:100%;
		padding: 25px 0 0;
	}
	#newsCol .news_detailList_pager ul li {
		font-size:1.3rem;
	}
}

/* ---------------------------------------- 
 - #newsDetail
---------------------------------------- */
#newsDetailCol {
    margin: 100px auto;
    width: 100%;
}
#newsDetailCol #newsDetailCol_inner {
    width:94%;
	max-width: 1000px;
	margin: 0 auto;
}
#newsDetailCol .newsDetailCol_ttlBox {
	border-bottom: solid 2px #dadada;
	padding: 0 0 35px;
}
#newsDetailCol .newsDetailCol_ttlBox .date {
    font-size: 1.4rem;
    padding: 0 0 15px;
}
#newsDetailCol .newsDetailCol_ttlBox .date .category {
    background: #fff;
	border: solid 1px #009e96;
	min-width: 115px;
	padding: 0.05em 5px;
	color:#009e96;
	display: inline-block;
	box-sizing: border-box;
	text-align: center;
	font-size: 1.2rem;
	margin-left: 15px;
}
#newsDetailCol .newsDetailCol_ttlBox .date .category.event {
    background: #009e96;
	color:#fff;
}
#newsDetailCol .newsDetailCol_ttlBox .ttl {
    font-size: 2.8rem;
	text-align: left;
	line-height: 1.6;
	font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}
#newsDetailCol .newsDetailCol_detail{
	padding: 30px 0 80px;
}
#newsDetailCol .btnBox{
	border-top:solid 1px #ccc;
	padding: 35px 0 0;
	text-align: center;
}
#newsDetailCol .btnBox p.btn a{
	border:solid 1px #ccc;
	padding: 10px 15px;
	margin: 0 auto;
	min-width: 250px;
	display: inline-block;
	text-decoration: none;
}
@media screen and (max-width: 768px) {
	#newsDetailCol {
		margin: 50px auto;
	}
	#newsDetailCol .newsDetailCol_ttlBox .ttl {
		font-size: 2.4rem;
	}
	#newsDetailCol .newsDetailCol_detail{
		font-size: 1.4rem;
		padding: 30px 0 50px;
	}
}
@media screen and (max-width: 480px) {
	#newsDetailCol .newsDetailCol_ttlBox .ttl {
		font-size: 1.8rem;
	}
}

/* newsDetailCol_detail（記事専用CSS） */
button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"], input[type="submit"],
.bg-accent,
.bg-accent-hover:hover,
.bg-accent-hover:focus,
:root .has-accent-background-color,
.comment-reply-link {
    background-color: #eb2222 !important;
	color:#222 !important;
	text-decoration: none !important;
}
.wp-block-file .wp-block-file__button{
	display: inline-block;
}
:root .has-accent-color {
    color: #222 !important;
}
#newsDetailCol .newsDetailCol_detail h2 {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.6;
	padding-bottom: 15px;
	margin:20px 0;
	position: relative;
	font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
	border-bottom: solid 1px #dadada;
}
#newsDetailCol .newsDetailCol_detail h2::after {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 1px;
    background: #009e96;
    transition: .5s;
}
#newsDetailCol .newsDetailCol_detail h3 {
	font-size: 1.8rem;
    font-weight: bold;
	margin: 20px 0;
}
#newsDetailCol .newsDetailCol_detail a {
	text-decoration: underline;
}
#newsDetailCol .newsDetailCol_detail a:hover {
	text-decoration: none;
}
#newsDetailCol .newsDetailCol_detail p {
	margin: 20px 0;
}
#newsDetailCol .newsDetailCol_detail img {
	margin: 20px 0;
}
#newsDetailCol .newsDetailCol_detail ol {
	margin: 0 0 20px 1.7em;
}
#newsDetailCol .newsDetailCol_detail ol li {
	padding: 0 0 7px;
	list-style:decimal;
}
#newsDetailCol .newsDetailCol_detail ul {
	padding: 0 0 20px 2.0em;
}
#newsDetailCol .newsDetailCol_detail ul li {
	padding: 0 0 7px;
	list-style:disc;
}
#newsDetailCol .newsDetailCol_detail .ml20 {
	margin-left: 20px;
}
#newsDetailCol .newsDetailCol_detail .ml30 {
	margin-left: 30px;
}
#newsDetailCol .newsDetailCol_detail .ml40 {
	margin-left: 40px;
}
#newsDetailCol .newsDetailCol_detail .ml50 {
	margin-left: 50px;
}
#newsDetailCol .newsDetailCol_detail hr{
	border: 0 !important;
	width: 100%;
	background-color: #dadada;
	display: block;
	height:1px;
}
#newsDetailCol .newsDetailCol_detail table {
	width: 100%;
	margin: 0 auto 25px;
	box-sizing: border-box;
	border-top: solid 1px #dadada;
	border-left: solid 1px #dadada;
	border-collapse: collapse;
    border-spacing: 0;
}
#newsDetailCol .newsDetailCol_detail table th {
	padding: 12px;
	box-sizing: border-box;
	border-right: solid 1px #dadada;
	border-bottom: solid 1px #dadada;
	background: #f7f7f7;
	vertical-align: middle;
	font-weight: bold;
}
#newsDetailCol .newsDetailCol_detail table td {
	padding: 12px;
	box-sizing: border-box;
	border-right: solid 1px #dadada;
	border-bottom: solid 1px #dadada;
	vertical-align: middle;
}
#newsDetailCol .newsDetailCol_detail p:last-child,
#newsDetailCol .newsDetailCol_detail ol:last-child,
#newsDetailCol .newsDetailCol_detail ul:last-child,
#newsDetailCol .newsDetailCol_detail table:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}
@media screen and (max-width: 768px) {
	#newsDetailCol .newsDetailCol_detail h2 {
		font-size: 1.8rem;
	}
	#newsDetailCol .newsDetailCol_detail h3 {
		font-size: 1.6rem;
	}
	#newsDetailCol .newsDetailCol_detail table th {
		padding: 7px;
	}
	#newsDetailCol .newsDetailCol_detail table td {
		padding: 7px;
	}
}