@charset "utf-8";

/*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

.news-flex-area {
    max-width: 1420px;
    width: 100%;
    margin: auto;
}

.news-side {
    margin: 60px 0 0;
}

.news-list > section {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px 15px;
}

.news-item {
    overflow: hidden;
}

.news-link {
    display: block;
    color: inherit;
}

.news-link:hover {
    color: inherit;
}

.news-link > .news-img {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    transition: .3s;
    margin: 10px 0 0;
}

img + .no-img {
    display: none;
}

.news-link > .news-img > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: .3s;
}

.news-link:hover > .news-img {
    filter: brightness(.5);
}

.news-cate {
	max-width: 100%;
	min-width: 104px;
	display: inline-block;
	font-size: 12px;
	line-height: 1.4em;
	letter-spacing: 0.1em;
	text-align: center;
	background: var(--tertiary);
	color: #fff;
	border-radius: 15px;
	padding: 2px 5px 4px;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.news-date {
	display: block;
	font-size: 12px;
	line-height: 1.43em;
	letter-spacing: 0.05em;
}

.news-link > .news-date {
    margin: 11px 0 0;
}

.news-link > .news-title {
	font-size: 14px;
	letter-spacing: 0.05em;
	line-height: 1.44em;
	margin: 5px 0 0;
}

/*-----------------------------------------------------------
詳細
-----------------------------------------------------------*/

.news-detail {
    max-width: 100%;
    width: 100%;
    /*padding: 25px 3%;
    background: var(--white);
    border-top: solid 5px var(
    --primary);
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);*/
}

.news-detail .news-title {
    font-size: 20px;
    border-bottom: solid 1px var(--primary);
    padding: 0 0 10px;
    margin: 10px 0 0;
}

.news-detail .news-date {
    display: block;
    text-align: right;
    margin: 10px 0 0;
}

.news-detail .news-img {
    margin: 20px 0 0;
}

.news-content {
    margin: 15px 0 0;
}

.news-content a {
    color: var(--primary);
    text-decoration: underline;
}

.news-content a:hover {
    text-decoration: none;
	opacity: 0.65;
}

.news-pdf-btn {
    margin: 20px auto 0;
}

.news-back-btn {
    transform: scale(-1,1);
    margin: 25px auto 0;
}

.news-back-btn > p {
    transform: scale(-1, 1);
}

/*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

.category-box {
    letter-spacing: 0.05em;
    line-height: 1.44em;
}

.category-box:not(:first-child) {
    margin: 30px 0 0;
}

.category-box > section {
    margin: 10px 0 0;
}

.category-header {
    letter-spacing: 0.05em;
    background: var(--primary);
    color: var(
    --white);
    padding: 10px;
    border-radius: 5px;
}

.category-link {
    display: block;
    color: inherit;
    padding: 10px;
    border-bottom: solid 1px var(--primary);
    font-size: 14px;
    transition: .3s;
}

.category-link:hover {color: var(--primary);opacity: 0.65;}

/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination {
	width: 100%;
	grid-column: 1/3;
}

.webgene-pagination > ul{
	padding: 0;
	display: flex;
	justify-content: center;
}

.webgene-pagination > ul > li{
	display: flex;
}

.webgene-pagination > ul > li{
	margin: 40px 10px 0;
	height: 40px;
	width:100%;
	max-width: 40px;
	font-family: var(--font-family02);
	line-height: 1em;
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.webgene-pagination > ul > li.selected > a{
	opacity: 0.5;
	color: var(--white);
	cursor: inherit;
}

.webgene-pagination > ul > li > a{
	width: 100%;
	height: 40px;
	width: 40px;
	background: var(--primary);
	color: var(--white);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
}

.webgene-pagination > ul > li > a:hover{
	text-decoration: none;
	color: var(--white);
	opacity: 0.5;
}

.webgene-pagination>ul>.prev>a,
.webgene-pagination>ul>.next>a {
	position: relative;
	height: 40px;
	width: 40px;
	border: 0;
}

.webgene-pagination>ul>.prev>a:hover,
.webgene-pagination>ul>.next>a:hover {
	background-color: var(--primary);
}

.webgene-pagination>ul>.prev>a::before,
.webgene-pagination>ul>.next>a::before {
	content: "";
	display: block;
	transition: all .3s;
}

.webgene-pagination>ul>.prev>a::before {
	content: "";
	width: 14px;
	height: 14px;
	display: block;
	border-bottom: solid 2px var(--white);
	border-left: solid 2px var(--white);
	transform: translateY(-50%) rotate(45deg);
	position: absolute;
	left: 15px;
	top: 50%;
}

.webgene-pagination>ul>.prev>a:hover:before {
	border-bottom: solid 2px var(--white);
	border-left: solid 2px var(--white);
}

.webgene-pagination>ul>.next>a::before {
	content: "";
	width: 14px;
	height: 14px;
	display: block;
	border-top: solid 2px var(--white);
	border-right: solid 2px var(--white);
	transform: translateY(-50%) rotate(45deg);
	position: absolute;
	right: 15px;
	top: 50%;
}

.webgene-pagination>ul>.next>a:hover:before {
	border-top: solid 2px var(--white);
	border-right: solid 2px var(--white);
}

.dtlPager {
	display: flex;
	justify-content: space-between;
	margin: 80px 0 0;
}

.webgene-item-aroundPageLink {
	color: #333;
	font-size: 14px;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:768px) {
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

/*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

.news-flex-area {
    display: flex;
    justify-content: space-between;
    position: relative;
}
  
.news-main {
    width: 75%;
}

.news-side {
    width: 20%;
    margin: 0 0 0 5%;
}

.news-cate {
    font-size: 14px;
}
    
.news-date {
    font-size: 14px;
}

.news-link > .news-title {
	font-size: 16px;
}

/*-----------------------------------------------------------
詳細
-----------------------------------------------------------*/

.news-detail .news-title {
    font-size: 22px;
}
	
/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination {
    grid-column: 1/3;
}
    
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:1024px) {
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
  
/*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

.news-list > section {
	grid-template-columns: repeat(3,1fr);
	gap: 30px;
}

.news-info {
	margin: 15px 0 0;
}

.news-cate {
    font-size: 15px;
}
    
.news-date {
    font-size: 16px;
}

.news-link > .news-img {
    margin: 15px 0 0;
}

.news-link > .news-title {
	font-size: 18px;
}

/*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

.category-link {
    font-size: 16px;
}
	
/*-----------------------------------------------------------
詳細
-----------------------------------------------------------*/

.news-detail .news-title {
    font-size: 26px;
    margin: 15px 0 0;
}
.news-detail {
    /*padding: 50px 3%;*/
    font-size: 16px;
}

.news-detail .news-img {
    margin: 40px 0 0;
}
    
.news-content {
    margin: 40px 0 0;
}

.news-pdf-btn {
    margin: 40px auto 0;
}
    
.news-back-btn {
    margin: 50px auto 0;
}

/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination {
    grid-column: 1/4;
}

.webgene-pagination > ul > li {
    margin: 80px 10px 0;
}
	
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */