@charset "utf-8";



/*2026候補者用
-------------------------*/
#area-candidate {
	margin-bottom: 3rem;
}
	
#area-candidate h2 {
	display: block;
	font-weight: bold;
	text-align: center;
	border: none;
	margin: 0 0 1rem 0;
}

#area-candidate p{
	text-align: initial;
}


#area-candidate .cand-text, #area-candidate .bottom-cand-text {
		text-align: center !important;
		text-align-last: center !important;
}

	
#area-candidate .flexbox a {
		display: flex;
		flex-direction: column;
		text-decoration: none;
		background: #eee;
		box-sizing: border-box;
		border: 2px solid #eee;
}

	#area-candidate .flexbox a img {
		display: block;
		margin: 0 auto 0.5rem auto;
}

#area-candidate .flexbox a .cand-btn {
	background: #669933;
	/*
	background: var(--jimin-red);
	*/
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	display: table;
	margin: 10px auto;
	padding: 10px 15px;
	transition: 0.3s;
}


	#area-candidate .flexbox {
		margin: 2rem auto;
	}

	#area-candidate .flexbox a {
		text-align: center;
	}

	#area-candidate .flexbox a ruby {
		ruby-align: center;
		padding: 15px 0 10px 0;
	}
	#area-candidate .flexbox a ruby span:nth-child(1) {
		margin-right: 0.5rem;
	}

	#area-candidate .flexbox strong {
		flex-grow: 1;
	}
	
	
/*-- SP --*/
@media only screen and (max-width:468px) {
	
		#area-candidate .flexbox {
		gap: 20px !important;
	}

	#area-candidate .flexbox a {
		width: calc((100% / 2) - 22px) !important;
		padding: 0 !important;
	}
}

/*-- tab.SP --*/
@media only screen and (max-width:768px) {


	#area-candidate h2 {
		font-size: 1.4rem;
	}

	#area-candidate .bottom-cand-text {
		font-size: 1.4rem;
	}

	#area-candidate .flexbox {
		gap: 40px;
	}

	#area-candidate .flexbox a {
		width: calc((100% / 3) - 42px);
		padding: 0.5rem 0;
	}

	#area-candidate .flexbox a ruby {
		font-size: 1.4rem;
	}

}

/*-- PC --*/
@media only screen and (min-width:768px), print {

	#area-candidate h2 {
		font-size: 2.1rem;
	}

	#area-candidate .cand-text {
		font-size: 1.3rem;
		letter-spacing: -1.2px;
	}

	#area-candidate .bottom-cand-text {
		font-size: 1.5rem;
	}
	
	#area-candidate .flexbox {
		/*
		max-width: 900px;
		*/
		gap: 30px;
	}

	#area-candidate .flexbox a {
		width: calc((100% / 4) - 30px);
	}

	#area-candidate .flexbox a ruby {
		font-size: 1.65rem;
	}
}
