.common_imggroup{
	margin-bottom: 5rem;
}

a{
	padding: 2rem 0;
	color: var(--black);
}

.header_originallogo,
.footer_logogroup,
.gmenu_footer a{
	padding: 0;
}

/* 緑選択ボタン設定 */
#news_buttons button{
	margin: 6rem 1.5rem 1.5rem 1.5rem;
	border: .1rem solid var(--lightgray);
	padding: 1rem;
	width: 21rem;
	height: 5rem;
	color: var(--gray);
	background-color: var(--white);
	font-size: 1.6rem;
	font-weight: bold;
	cursor: pointer;
}
#news_buttons button:first-of-type{
	margin-left: 0;
}
#news_buttons button:last-of-type{
	margin-right: 0;
}
#news_buttons button:hover,
#news_buttons button.current{
	border: .1rem solid var(--accent-color1);
	color: var(--white);
	background-color: var(--accent-color1);
}
.rule-box::before{
	content: "";
	position: relative;
	top: 7rem;
	left: 0;
	display: block;
	width: 10rem;
	height: 7rem;
	background-image: url("../img/pikuto3.png");
	background-repeat: no-repeat;
	background-size: 90%;
}

.news_sub a{
	display: flex;
	width: 100%;
}
.news_sub p{
	display: flex;
	justify-content: left;
	align-items: center;
}

.news_sub:nth-child(2n+1){
	border-bottom: .1rem solid var(--gray);
	background-color: var(--main-color3);
}
.news_sub:nth-child(2n){
	border-bottom: .1rem solid var(--gray);
	background-color: var(--white);
}
.news_left,
.news_center{
	width: 24rem;
}
.news_left{
	margin-left: 2rem;
	font-weight: 600;
}
.news_center_a{
	display: none;
}
.news_right{
	width: 40rem;
}
.news_sub:nth-child(odd) a:hover{
	color: var(--white);
}
.news_sub:nth-child(even) a:hover{
	color: var(--main-color1);
}


/* アニメーション */
.news_sub{
	position: relative;
	left: 0;
	transition : all .3s ease 0s;
}
.news_sub:hover{
	left: 5rem;
}
/* リストアニメーション */
.fadeUp{
	animation-name: fadeUpAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity:0;
}

@keyframes fadeUpAnime{
	from {
		opacity: 0;
		transform: translateY(5rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and ( max-width : 1125px ){
	.news_sub a{
		display: flex;
		width: 66rem;
	}
	.news_left,
	.news_center{
		width: 20rem;
	}
	#news_buttons button{
		border: .1rem solid var(--lightgray);
		width: 14.3rem;
	}
}
@media screen and ( max-width : 750px ) {
	.news_sub a{
		display: flex;
		width: 35rem;
	}
	.news_left{
		width: 15rem;
	}
	.news_sub p{
		font-size: 1.6rem;
	}
	.news_sub p:nth-of-type(2){
		display: none;
	}
	.news_sub p:nth-of-type(3){
		margin-left: 1rem;
	}
	#news_buttons{
		width: 360px;
	}
	#news_buttons button{
		border: .1rem solid var(--lightgray);
		margin: 1rem .5rem 1rem .5rem;
		width: 17rem;
		height: 4rem;
		font-size: 1.6rem;
	}
	#news_buttons button:first-of-type {
  	margin-left: .5rem;
	}
	.rule-box::before{
		top: 2rem;
	}
}

@media screen and ( max-width : 375px ) {
	.rule-box::before{
		top: 1rem;
	}
	.news_sub:hover{
		left: 0;
	}
	.news_sub a{
		display: flex;
		width: 35rem;
	}
	.news_left{
		width: 15rem;
		order: 1;
	}
	.news_center{
		display: none ;
	}
	.news_right{
		margin-left: 1rem;
		width: 15rem;
		order: 2;
	}
	.news_right+.FLEX{
		order: 3;
	}
	#news_buttons button{
		margin: 0rem .5rem 1rem 0;
		border: .1rem solid var(--lightgray);
		width: 17rem;
		height: 4rem;
		font-size: 1.6rem;
	}
	#news_buttons button:nth-of-type(odd){
		margin-left: .5rem;
	}
}
