@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl,
#top_ttl picture,
#top_ttl img {
	display: block;
	width: 100%;
}
#top_ttl {
	line-height: 0;
}
#top_msg .txt {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.94;
	letter-spacing : 3.6px;
}
#top_history {
	position: relative;
}
#top_history::before {
	content: "";
	background: url("../img/top/wave01.png") no-repeat center / 100% auto;
	width: 837px;
	height: 332px;
	position: absolute;
	right: -300px;
	bottom: -30px;
	z-index: 0;
}
#top_history .box {
	width: 50%;
	padding-right: 20px;
	font-size: 110%;
	position: relative;
	z-index: 1;
}
#top_history .box:nth-of-type(2) {
	padding-right: 0;
	padding-left: 20px;
}
#top_history .box dl {
	display: flex;
}
#top_history .box dl dt {
	white-space: nowrap;
}
#top_history .box dl dt::after {
	content: "/";
	margin: 0 10px;
}
#top_history .box .waku {
	background: #fff;
	padding: 10px;
	text-align: center;
	margin-top: 20px;
}
#top_ideology {
	position: relative;
}
#top_ideology::before {
	content: "";
	background: url("../img/top/wave02.png") no-repeat center / 100% auto;
	width: 837px;
	height: 331px;
	position: absolute;
	left: -400px;
	top : 650px;
	z-index: 0;
}
#top_ideology .list {
	position: relative;
	z-index: 1;
	counter-reset: number 0;
}
#top_ideology .list .box {
	width: 340px;
	position: relative;
}
#top_ideology .list .box::before {
	counter-increment: number 1;
	content: counter(number, decimal-leading-zero);
	font-family: var(--font-serif);
	color: var(--color-primary);
	font-size: 35px;
	width: 60px;
	line-height: 60px;
	position: absolute;
	right: 0;
	top: 0;
	text-align: center;
	font-weight: 500;
	background: var(--color-font);
	z-index: 1;
	border-radius : 0px 0px 0px 10px;
}
#top_ideology .list .box dl dt {
	font-size: 48px;
	font-weight: 500;
}
#top_ideology .list .box dl dd {
	font-size: 110%;
	line-height: 1.875;
}
#top_ideology .grandfather_area {
	border-radius: 20px;
	background: #fff;
	padding: 30px 50px 50px;
	font-size: 110%;
	position: relative;
	z-index: 1;
}
#top_ideology .grandfather_area .ttl {
	border-bottom: 2px solid #e9ecef;
	padding-bottom: 20px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
#top_ideology .grandfather_area .ttl .img {
	width: 120px;
	position: absolute;
	top: -10px;
}
#top_ideology .grandfather_area .ttl .img img {
	border-radius: 60%;
}
#top_ideology .grandfather_area .ttl dl {
	padding-left: 150px;
}
#top_ideology .grandfather_area .ttl dl dt {
	display: inline-block;
	background:linear-gradient(90deg,rgba(124,179,66,1) 0%,rgba(112,163,64,1) 2.46%,rgba(72,108,59,1) 11.81%,rgba(42,68,54,1) 19.87%,rgba(24,43,52,1) 26.23%,rgba(17,34,51,1) 30.11%);
	-webkit-background-clip:text;
	background-clip:text;
	color:transparent;
	font-size: 35px;
	font-weight: 500;
}
#top_ideology .grandfather_area .ttl dl dd {
	font-size: 25px;
}
#top_ideology .grandfather_area .ttl dl dd .fs {
	font-size: 20px;
}
#top_ideology .grandfather_area .ttl dl dd .green {
	font-size: 70%;
	margin-left: 10px;
}
#top_ideology .grandfather_area .prf {
	position: relative;
	margin-bottom: 50px;
}
#top_ideology .grandfather_area .prf .prf_txt dl {
	display: flex;
	line-height: 2;
}
#top_ideology .grandfather_area .prf .prf_txt dl dt {
	white-space: nowrap;
}
#top_ideology .grandfather_area .prf .prf_txt dl dt::after {
	content: "/";
	margin: 0 10px;
}
#top_ideology .grandfather_area .prf .img {
	position: absolute;
	width: 50%;
	top: 30px;
	left: 50%;
	text-align: center;
}
#top_ideology .grandfather_area .prf .img img {
	margin-bottom: 10px;
}
#top_ideology .grandfather_area .results h4 {
	font-size: 25px;
	font-weight: 500;
	border-bottom: 2px solid #e9ecef;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
#top_ideology .grandfather_area .results .box {
	width: 230px;
	font-size: 110%
}
#top_ideology .grandfather_area .results .box .green {
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 10px;
}
#top_ideology .grandfather_area .results .box .img {
	margin-bottom: 5px;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_msg .txt {
		font-size: 120%;
	}
	#top_history::before {
		width: 416px;
		height: 166px;
		right: -150px;
		bottom: 0;
	}
	#top_history .box {
		font-size: 100%;
	}
	#top_history .box .waku {
		text-align: left;
	}
	#top_ideology::before {
		width: 418px;
		height: 166px;
		position: absolute;
		left: -150px;
		top: 700px;
	}
	#top_ideology .list .box {
		width: 48%;
	}
	#top_ideology .list .box:last-of-type {
		margin: 40px auto 0;
	}
	#top_ideology .list .box .img img {
		width: 100%;
	}
	#top_ideology .list .box dl dt {
		font-size: 30px;
	}
	#top_ideology .list .box dl dd {
		font-size: 100%;
	}
	#top_ideology .grandfather_area {
		padding: 20px;
	}
	#top_ideology .grandfather_area .ttl dl dt {
		font-size: 25px;
	}
	#top_ideology .grandfather_area .ttl dl dd {
		font-size: 20px;
	}
	#top_ideology .grandfather_area .ttl dl dd .fs {
		font-size: 16px;
	}
	#top_ideology .grandfather_area .ttl dl dd .green {
		margin-left: 0;
		display: block;
	}
	#top_ideology .grandfather_area .prf .img {
		position: relative;
		left: auto;
		top: 0;
		text-align: center;
		width: 100%;
		margin-top: 30px;
	}
	#top_ideology .results > .box_flex_sp {
		width: 480px;
		margin: 0 auto;
		gap: 30px 0;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_msg .txt {
		font-size: 110%;
		letter-spacing: 0;
	}
	#top_history .box {
		width: 100%;
		padding-right: 0;
	}
	#top_history .box:nth-of-type(2) {
		padding-left: 0;
	}
	#top_ideology .list .box {
		width: 100%;
		margin-bottom: 30px;
	}
	#top_ideology .list .box .img {
		margin-bottom: 10px;
	}
	#top_ideology .list .box .img img {
		height: 250px;
		object-fit: cover;
	}
	#top_ideology .list .box dl dt {
		font-size: 25px;
		margin-bottom: 5px;
	}
	#top_ideology .grandfather_area {
		padding: 150px 15px 15px;
		font-size: 100%;
	}
	#top_ideology .grandfather_area .ttl .img {
		left: 50%;
		transform: translateX(-50%);
	}
	#top_ideology .grandfather_area .ttl dl {
		padding-left: 0;
	}
	#top_ideology .grandfather_area .ttl dl dt {
		font-size: 19px;
	}
	#top_ideology .grandfather_area .ttl dl dd {
		font-size: 17px;
	}
	#top_ideology .grandfather_area .ttl dl dd .fs {
		font-size: 14px;
	}
	#top_ideology .grandfather_area .ttl dl dd .green {
		font-size: 85%;
	}
	#top_ideology .grandfather_area .prf .img img {
		width: 200px;
	}
	#top_ideology .grandfather_area .results .box {
		width: 49%;
	}
	#top_ideology .grandfather_area .results .box {
		font-size: 95%;
	}
	#top_ideology .grandfather_area .results .box .green {
		font-size: 95%;
	}
	#top_ideology .results > .box_flex_sp {
		width: 100%;
	}
}
