@charset "utf-8";

/*------------ news_tab ------------*/
.news_tab {
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
    padding: 0;
    margin: 0 auto 50px;
}

.tab_item {
    position: relative;
    display: block;
    list-style: none;
}

.tab_item:not(:last-child)::after {
    content: '|';
    display: inline-block;
    margin: 0 9px 0 6px;
}

.tab_link {
    font-weight: 500;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s;
}

.tab_link:hover {
    color: #05618A;
}

.tab_item:last-child .tab_link {
    margin-right: 0;
}

.tab_link:hover::after,
.active .tab_link::after {
    opacity: 1;
    visibility: visible;
}

.tab_link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #05618A;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.tab_item.active .tab_link {
    color: #05618A;
}

/* カテゴリー選択 */

.news_btn_list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -10px 63px;
}

.news_btn_item {
    width: 25%;
}

.news_btn_item a {
    display: block;
    /* font-family: 'Noto Sans JP', 'Open Sans'; */
    text-align: center;
    text-decoration: none;
    border: 1px solid #EEEEEE;
    background: #EEEEEE;
    margin: 0 10px 12px 10px;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.news_btn_item a.active {
    background: #e9e9e9;
    border: 1px solid #333;
}

.news_btn_item a:hover {
    border: 1px solid #333;
    transition: all .3s ease;
}


/*------------ 一覧・詳細 共通 ------------*/
.news_result_area {
    display: block;
    max-width: 100%;
    width: 100%;
}

.news_list {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
}

.news_list {
    padding-top: 0;
    margin: 0 0 60px;
    display: block;
}

.news_list li {
    /* max-width: 100%; */
    /* border-bottom: 1px solid #f0f0f0; */
    /* position: relative; */
    margin-bottom: 0;
    transition: all .3s ease;
    list-style: none;
}

.news_list li a {
    display: block;
    /* font-family: 'Noto Sans JP', serif; */
    padding: 18px 4% 21px 0;
    text-decoration: none;
    position: relative;
}

.news_list li a:hover {
    background: #f7f7f7;
}

.news_list li .news_link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all .3s ease;
    padding: 10px 0;
}

.news_txt {
    width: calc(100% - 220px);
}

.news_cate {
    display: inline-block;
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    /* border: 1px solid #dddddd; */
    background: #333333;
    min-width: 115px;
    line-height: 1.4rem;
    font-size: 1.3rem;
    box-sizing: border-box;
}

.news_list .news_cate {
    font-size: 1.2rem;
    min-width: 125px;
    margin: 0;
}

.news_date {
    font-size: 1.3rem;
    font-weight: 500;
    display: inline-block;
    line-height: 1.5;
    letter-spacing: 0;
    margin-left: 15px;
    margin-right: 13px;
}

/* .news_date {
    font-size: 1.3rem;
} */

.news_title {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5em;
    /* padding-top: 5px; */
    margin: 13px 0 12px;
    transition: all .3s ease;
}

.news_list li p:last-child {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    line-height: 2;
    position: relative;
    margin-bottom: 0;
}

.news_list li .news_link .news_title {
    /* margin-bottom: 5px; */
}

.news_txt {
    display: block;
}

/* .news_list li a::after {
    content: "";
    position: absolute;
    right: 2%;
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #CCCCCC;
    border-right: solid 2px #CCCCCC;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0;
    bottom: 0;
    margin: auto;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.news_list li a:hover::after {
    right: 1.5%;
} */
.news_thumb img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    margin: 0 0 0 20px;
}

/* .link_btn a {
    font-family: Noto Sans JP;
} */


/*
.news_date {
	margin-right: 23px;
	padding: 0;
}

.news_cate {
	color: #05618A;
	border: 1px solid #05618A;
	font-size: 1.3rem;
	display: inline-block;
	min-width: 116px;
	text-align: center;
	align-self: center;
	box-sizing: border-box;
	padding: 1px 0;
	margin-right: 29px;
}
*/
/*------------ news_list ------------*/
/*
.news_list {
	border-top: #ccc 1px solid;
	border-right: #ccc 1px solid;
	border-left: #ccc 1px solid;
	padding: 0;
	margin: 28px 0 40px;
}

.news_list li {
	list-style: none;
	line-height: 1.7;
	margin: 0;
	border-bottom: #ccc 1px solid;
}

.news_list li a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-family: 'Noto serif JP', serif;
	color: #333;
	text-decoration: none;
	padding: 26px 49px 25px 35px;
	width: 100%;
	background: url(../img/arrow_r_grey.svg) no-repeat right 26px center / 14px 10px;
	transition: all .3s;
}



.news_list li .news_title {
	line-height: 1.7;
	max-width: calc(100% - 258px);
	margin: 0;
}
*/
/* hover */
/*
.news_list li a:hover {
	background-color: #f7f7f7;
	background-position: right 20px center;
}
*/
/*------------ single.php ------------*/
.single_head {
    margin: 0 0 35px;
}

.news_single_title h2 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.636;
    margin: 0 0 1%;
}

.single_head .news_date {
	font-size: 1.6rem;
	font-weight: 400;
	margin: 0 25px 0 0;
}

.single_head .news_cate{
	color: #05618A;
	border: 1px solid #05618A;
	font-size: 1.4rem;
	display: inline-block;
	min-width: 116px;
	text-align: center;
	align-self: center;
	background:none;
	box-sizing: border-box;
	padding: 5px 0;
	border-radius: 2px;
}

.single_content {
    margin: 0 0 90px;
}

.single_content>*:first-child {
    margin-top: 0;
}

.single_content>*:last-child {
    margin-bottom: 0;
}

.single_content table th {
    position: relative;
}

.single_content table th:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 1px;
    height: calc(100% - 30px);
    background: #ccc;
}

.single_content table th:first-child:before,
.single_content table td:first-child:before {
    content: none;
}

.single_content table td p {
    margin-bottom: 0;
}

/*----- single link -----*/
.single_link_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 55px auto 0;
    text-align: center;
}

.single_link a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: all .3s ease;
    position: relative;
}

.single_link.prev a {
    padding-left: 20px;
}

.single_link.next a {
    padding-right: 20px;
}

.single_link.prev a::before,
.single_link.next a::after {
    position: absolute;
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #05618A;
    border-right: 2px solid #05618A;
    top: 7px;
    margin: auto;
}

.single_link.prev a::before {
    left: 0;
    transform: rotate(-135deg);

}

.single_link.next a::after {
    right: 0;
    transform: rotate(45deg);
}
/* hover */
.single_link a:hover {
	opacity: .7;
}

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

    /*------------ 一覧・詳細 共通 ------------*/
    .news_date {
        font-size: 1.3rem;
    }

    .news_cate {
        font-size: 1.2rem;
        min-width: 95px;
        margin: 0;
        padding: 0;
    }

    /*------------ news_tab ------------*/
    .news_tab {
        margin: 0 auto 20px;
        justify-content: inherit;
    }

    .news_tab .tab_item {
        text-align: center;
        margin-bottom: 15px;
        margin-right: 0;
    }

    .news_tab .tab_item:not(:last-child)::after {
        right: 0;
    }

    .tab_item .tab_link {
        margin-right: 0;
    }

    .news_btn_wrap {
        margin: 0 auto 50px;
    }

    .news_btn_list {
        margin-bottom: 50px;
    }

    .news_btn_item {
        width: 50%;
    }

    .news_btn_item a {
        margin: 0 5px 10px 5px;
    }

    /*------------ news_list ------------*/
    .news_list {
        width: 100%;
        padding: 0;
    }

    .news_list li:first-child {
        margin-top: 0;
    }

    .news_list li .news_link {
        flex-wrap: wrap;
        padding: 15px 6% 15px 0;
    }

    .news_cate {
        padding: 5px 5px;
    }

    .news_date {
        font-size: 1.2rem;
    }

    .news_list li .news_link .news_title {
        font-size: 1.6rem;
    }

    .news_list li p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .news_list li a {
        padding: 13px 25px 16px 0;
        background-size: 6px 11px;
        background-position: right 10px center;
        align-items: inherit;
    }

    .news_thumb img {
        width: 67px;
        height: 67px;
        margin-right: 13px;
    }

    .news_txt {
        width: calc(100% - 80px);
    }

    .news_excerpt {
        line-height: 1.5;
    }

    /*
	.news_list {
		margin-top: 0;
	}

	.news_list li a {
		padding: 13px 29px 12px 10px;
		background-size: 12px 8px;
		background-position: right 15px center;
	}

	.news_list li .news_title {
		font-size: 1.4rem;

		width: 100%;
		max-width: 100%;
		margin-top: 2px;
	}
*/
    /* hover */
    /*
	.news_list li a:hover {
		background-position: right 10px center;
	}
*/
    /*------------ single.php ------------*/
    .single_head {
        margin: 0 0 30px;
    }

    .news_single_title h2 {
        font-size: 2.2rem;
        margin: 0 0 9px;
    }

    .single_content {
        margin: 0 0 40px;
    }

    .single_link_wrap {
        margin: 20px auto 20px;
    }

    .single_content table td {
        display: table-cell;
    }

}