@charset "utf-8";

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

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

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

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

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

.news-detail .news-cate-flex {
    margin: 0;
}

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

.news-detail-img {
    text-align: center;
	margin: 30px 0 0;
}

.news-detail-img:empty {
    display: none;
}

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

.news-detail-content a {
    color: inherit;
    text-decoration: underline;
}

.news-detail-content a:hover {
	color: inherit;
    text-decoration: none;
}

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

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

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

.news-detail-img:not(:has(img)) {
    display: none;
}

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

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

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

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

.category-heading {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.45em;
    color: var(--primary);
    padding: 0 0 5px;
    border-bottom: solid 1px var(--border-primary);
}

.category-list {
    margin: 15px 0 0;
}

.category-list-item:not(:first-child) {
    margin: 10px 0 0;
}

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

.category-link:hover {
	color: var(--tertiary);
}

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

.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;
	line-height: 1em;
	letter-spacing: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.webgene-pagination > ul > li > a{
	color: var(--black);
	display: flex;
	justify-content: center;
	align-items: center;
}

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

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

.webgene-pagination > ul > li.selected > a:hover{
	color: var(--primary);
}

.webgene-pagination>ul>.prev>a,
.webgene-pagination>ul>.next>a {
	position: relative;
	height: 30px;
	width: 30px;
	border: solid 1px var(--primary);
}

.webgene-pagination>ul>.prev>a:hover,
.webgene-pagination>ul>.next>a:hover {opacity: 0.6;}

.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: 10px;
	height: 10px;
	display: block;
	border-bottom: solid 1px var(--primary);
	border-left: solid 1px var(--primary);
	transform: translateY(-50%) rotate(45deg);
	position: absolute;
	left: 11px;
	top: 50%;
}

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

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

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

.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-area {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
  
.news-main {
    width: 78.28%;
}

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

.news-list > section {
    grid-template-columns: repeat(3,1fr);
}
  
/*-----------------------------------------------------------
詳細
-----------------------------------------------------------*/

.news-detail {
    padding: 30px;
}

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

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

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

.news-list > section {
    gap: 60px 30px;
}
	
/*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

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

.category-heading {
    font-size: 20px;
    padding: 0 0 10px;
}

.category-list-item:not(:first-child) {
    margin: 10px 0 0;
}
	
/*-----------------------------------------------------------
詳細
-----------------------------------------------------------*/

.news-detail {
    padding: 40px;
}
  
.news-detail-title {
    margin: 25px 0 0;
}


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

.news-pdf-btn {
    margin: 40px auto 0;
}
    
.news-back-btn {
    margin: 40px auto 0;
}
	
/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination > ul > li{
	margin: 80px 10px 0;
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */