@charset "utf-8";

.graph {
	margin: 5vw auto 0;
	width: 100%;
	display: flex;
	justify-content: center;
}
#js-result {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 20px;
	justify-content: center;
}
#js-result2 {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 20px;
	justify-content: center;
}
.doughnutWrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 12px;
}
#js-result > .doughnutWrapper {
	flex: 1 1 100% !important;
	max-width: 100% !important;
}
.doughnutWrapper > p{
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    border: 2px solid #333;
    display: inline-block;
    padding: 4px 12px;
    align-self: flex-start;
}
#doughnut-legend {
	margin-top:12px; 
	font-size:13px; 
	line-height:2; 
	text-align:center;
}
#doughnut-legend > div{
	display:inline-block!important; 
	text-align:left;
}
.doughnutContent {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
}
#doughnut-legend {
	max-width: 100%;
}
#doughnut-legend > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
}
#doughnutCanvas {
	flex: 0 0 auto;
	width: 100%;
	max-width: 380px;
	min-width: 320px;
	height: auto !important;
	aspect-ratio: 1 / 1;
}
canvas {
	flex: 1 0 48%;
	max-width: 100%;
	height: 50vh;
	margin-bottom: 20px;
}
@media (min-width: 768px) {
	.graph {
		width: 840px;
	}
	#js-result {
		flex-wrap: nowrap;
		align-items: center;
	}
	#js-result > div {
		flex: 1 1 50%;
		min-width: 0;
		max-width: 50%;
	}
	#js-result > div canvas {
		width: 100% !important;
		max-width: 100%;
		height: 50vh;
		max-height: 400px;
	}
	#barCanvas {
		max-height: 200px !important;
		margin-top: 0 !important;
		width: 100% !important;
	}
	#js-result2 canvas {
		flex: 1 0 100%;
		max-width: 100%;
		height: 50vh;
	}
	.doughnutContent {
		flex-direction: row;
		align-items: flex-start;
		justify-content: center;
	}
	#doughnutCanvas {
		max-width: 380px;
		min-width: 320px;
		height: auto;
		aspect-ratio: 1 / 1;
	}
	#doughnut-legend {
		margin-top: 0;
		margin-left: 0px;
		text-align: left!important;
		width: 340px;
		min-width: 300px;
		transform: translateX(-150px);
	}
}
@media (max-width: 767px) {
	#js-result > div {
		max-width: 100% !important;
		width: 100%;
	}
	#js-result2 canvas {
		margin-top: -50px;
	}
}

.box img,
header img,
.mv img {
	width: 100%;
}

.box_header p {
	/*display: none;*/
	font-size: 15px;
	line-height: 1.5em;
}
.box_header .red {
	color: #f00;
}
.box_header b {
	color: #f00;
	font-size: 20px;
}
.box {
	padding-bottom: 15vw;
}
.box02 .box_header {
	position: relative;
	background: url('./image/002a_bg.jpg?v=3') center top no-repeat;
	background-size: 100%;
	height: 33vw;
	padding-top: 16vw;
}
.box02 .box_header img {
	position: absolute;
	bottom: 0px;
	left: 0px;
}
.box02 .box_header p {
	position: absolute;
	top: 23vw;
	left: 8%;
	width: 64%;
	font-weight: bold;
}
.box02 .graph {
	/*背景画像を複数設定する*/
	background-image: url('./image/002b3.png'), url('./image/002b4.jpg'); /*先に書いたほうが上になる*/
	background-repeat: no-repeat, no-repeat;
	background-position:
		left 5% top,
		left 5% top 120vw;
	background-size: 180px, 180px;
	padding-top: 44px;
}
.box03 .box_header {
	position: relative;
	background: url('./image/003a_bg.jpg?v=4') center top no-repeat;
	background-size: 100%;
	height: 33vw;
	padding-top: 16vw;
}
.box03 .box_header img {
	position: absolute;
	bottom: 0px;
	left: 0px;
}
.box03 .box_header p {
	position: absolute;
	top: 23vw;
	left: 8%;
	width: 64%;
	font-weight: bold;
}
.box04 .box_header {
	position: relative;
	background: url('./image/004a_bg.jpg?v=2') center top no-repeat;
	background-size: 100%;
	height: 69vw;
	padding-top: 13vw;
}
.box04 .box_header img {
	position: absolute;
	bottom: 41vw;
	left: 0px;
}
.box04 .box_header p {
	position: absolute;
	top: 19vw;
	right: 7%;
	width: 64%;
	font-size: 18px;
	font-weight: bold;
}
#multiBarCanvas {
}
@media (max-width: 767px) {
}
