﻿@charset "utf-8";
html {
    font-size: 16px;
    line-height: 1.2;
}
p {
	font-size: 0.9rem;
}
@media (max-width:767px) {
	p {
		font-size: 0.75rem;
	}
}
.main-container {

}
.main-container > p {
	padding: 20px 0 0;
}
section {

}
section > h2 {
    text-align: center;
    line-height: 1.4;
    font-size: 1.25rem;
    font-weight: bold;
}
section > h3 {
    position: relative;
	margin: 1rem 0;
    padding-left: 18px;
    line-height: 1.4;
    font-size: 1rem;
    font-weight: normal;
}
section > h3::before {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    display: block;
    content: '';
    width: 4px;
    background-color: var(--sw-corporate-color);
}
.grid {
    /* display: grid; */
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    gap: 2rem;
}
.grid > section {
	/* padding-left: 0.25rem;
	padding-right: 0.25rem; */
	width: calc(50% - 1rem);
	/* flex: 1 1 calc(98% / 2); */
}

/* .grid[data-col='1'] {
	display: flex;
	justify-content: center;
}
.grid[data-col='2'] {
    grid-template-columns: repeat(2, 1fr);
}
.grid[data-col='3'] {
    grid-template-columns: repeat(3, 1fr);
} */
.grid[data-col='1'] > section {
	flex: 1 0 auto;
	max-width: 700px;
	/* min-width: 500px;
	width: calc(100vw /2); */
}
.grid[data-col='end'] {
    /* grid-column: 1 / span 2; */
	display: block;
	gap: 0;
	width: 100%;
}
.sub-contents {
    margin: 2rem 0;
}
.sub-contents > section {
	width: 100%;
}
.sub-contents > section .grid[data-col='2'] >* {
	width: calc(50% - 1rem);
}

@media (max-width:767px) {
	.grid {
		gap: 1.5rem 0;
		/* grid-template-columns: 1fr !important; */
	}
	.grid > section {
		width: 100%;
	}
	.grid[data-col='end'] {
		grid-column: 1;
	}
	.sub-contents {
		margin: 1.5rem 10px;
	}
	.sub-contents .grid {
		gap: 0.5rem;
	}
	.sub-contents > section .grid[data-col='2'] >* {
		width: 100%;
	}
	.sub-contents p {
		font-size: 0.75rem;
	}
}

/* --------------------------------------------------
   チャート
-------------------------------------------------- */
.chart {
	height: auto;
}
.chartLegend {
    justify-content: center;
}
.chartLegend li {
	cursor: default;
}
.chartLegend li input {
	display: none;
}

.main-container .first .chartLegend {
	display: none;
}
@media (max-width:767px) {
	.chartLegend {
		margin-bottom: 0;
	}
	/* .chartLegend li {
		flex: 1 0 100%;
	} */
}

/* --------------------------------------------------
   表示期間
-------------------------------------------------- */
.graphTerm {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
    /* margin-top: 20px; */
}
.graphTerm > li > label {
	display: flex;
	align-items: center;
	font-size: var(--sw-text-size-s);
	color: var(--sw-corporate-color);

	position: relative;
	/* display: block; */
	border: 1px solid var(--sw-corporate-color);
	border-radius: 20px;
	padding: 3px 20px;
	text-align: center;
}.graphTerm > li > label input[type='radio'] {
	position: absolute;
	opacity: 0;
}
.graphTerm > li > label:has(input[type='radio']:checked) {
	background-color: var(--sw-corporate-color);
	color: var(--sw-text-color-0);
}
.graphTerm[data-set-type='term-single'] {
	gap: 5px 15px;
	margin-top: 10px;
}
.graphTerm[data-set-type='term-single'] > li > label {
    color: var(--sw-text-color-2);
	/* font-size: var(--sw-text-size-ss); */
    border: none;
    padding: 0;
}

/* --------------------------------------------------
   注釈
-------------------------------------------------- */
.note {
    margin-top: 0.5rem;
    font-size: var(--sw-text-size-s);
    color: var(--sw-text-color-4);
}
.note li {
    text-indent: -1rem;
    padding-left: 1rem;
}
.note li::before {
    content: "※";
    margin-right: 0.2rem;
}
.chart-notes {
	font-size: var(--sw-text-size-ss);
}
.table-notes {
	margin-top: 5px;
}
