/* CSS Document */

article section:nth-of-type(2n) 
{
	background-color: var(--body-bg-color);
}

#chart h2
{
	margin-bottom: 60px;
}

#chart ul
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 40px; /* 横のスペース */
	row-gap: 60px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;

}

#chart ul li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	border: 4px solid var(--base-color01);
	background-color: #FFF;
	position: relative;
	counter-increment: cnt;
	border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
}

#chart ul li:before
{
	content: counter(cnt);
	font-size: 40px;
	line-height: 1;
	color: var(--base-color01);
	height: 70px;
	width: 70px;
	border: 4px solid var(--base-color01);
	display: block;
	background-color: #FFF;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	display: flex;
	align-items: center;      /* 縦中央 */
	justify-content: center;  /* 横中央 */
	box-sizing: border-box;
	left: -35px;
	top: -20px;
	position: absolute;
	font-weight: bold;
}

#chart ul li:after
{
	font-family: "Font Awesome 6 Free";
	content: '\f0da';
	font-weight: 900;
	margin-right: 10px;
	font-size: 30px;
	line-height: 1;
	color: var(--base-color01);
	position: absolute;
	top: 0px;
	right: -40px;
	bottom: 0px;
	height: 30px;
	margin-top: auto;
	margin-bottom: auto;
}

#chart ul li:last-child:after
{
	display: none;
}

#chart ul li h3
{
	font-size: 26px;
	line-height: 1;
	color: #FFF;
	background-color: var(--base-color01);
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 14px;
	padding-left: 0px;
	font-weight: bold;
	text-align: center;
}

#chart ul li .img
{
	text-align: center;
	margin-bottom: 10px;
}

#chart ul li .pad
{
	padding: 10px;
}

#chart ul li .pad p
{
	margin: 0px;
}

@media screen and (min-width:1920px)
{

}

/* PCのみ設定  768 以上*/
@media screen and (min-width:1200px)
{


}



/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (max-width:1199px)
{
#chart ul li:before
{
	font-size: 30px;
	line-height: 1;
	height: 60px;
	width: 60px;
	border: 3px solid var(--base-color01);
	left: -30px;
	top: -10px;
}


#chart ul li h3
{
	font-size: 21px;
	line-height: 1;
}

#chart .body
{
	padding-right: 40px;
	padding-left: 40px;
}

#chart ul
{
	row-gap: 40px; /* 縦のスペース */
}

}


/* 横置きの場合 */
@media (max-width: 1199px) and (orientation: landscape)
{
}

/* 縦置きの場合 */
@media (max-width: 1199px) and (orientation: portrait)
{

#chart ul
{
	grid-template-columns: repeat(3, 1fr);
	column-gap: 40px; /* 横のスペース */
}


}


/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{
#chart ul
{
	grid-template-columns: repeat(3, 1fr);
	column-gap: 40px; /* 横のスペース */
}

#chart ul li:before
{
	font-size: 30px;
	line-height: 1;
	height: 60px;
	width: 60px;
	border: 3px solid var(--base-color01);
	left: -30px;
	top: -10px;
}

#chart ul li h3
{
	font-size: 20px;
	line-height: 1;
}


}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{

#chart h2
{
	margin-bottom: 20px;
}

#chart ul
{
	grid-template-columns: repeat(1, 1fr);
	column-gap: 0px; /* 横のスペース */
	row-gap: 60px; /* 縦のスペース */

}

#chart ul li:after
{
	content: '\f0d7';
	position: absolute;
	top: auto;
	right: 0px;
	left: 0px;
	bottom: -40px;
	width: 30px;
	margin-right: auto;
	margin-left: auto;
}



}