:root {
  /* ベースカラー */
  --color-background: #F8F1E5;
  --color-text-base: #2F3131;
  --color-text-sub: #5F6363;
  --color-text-dark: #0a0a0a;
  --color-white: #FFFFFF;

  /* メインカラー（ブランドカラー） */
  --color-main: #426E86;

  /* アクセントカラー */
  --color-accent-primary: #F9BA32;
  --color-accent-primary-hover: #e0a82c;
  --color-accent-link: #3A7CA5;
  --color-accent-link-hover: #2e6484;

  /* UIカラー（基本的には main を参照） */
  --color-ui-dark: var(--color-main);       /* 主要ボタン・見出し等 */
  --color-ui-border: var(--color-main);     /* 枠線用 */
  --color-ui-note-border: #E5DCD0;          /* テーブルなどの薄い枠線 */

  /* フォント */
/*  --font-family-base: 'Montserrat', 'Noto Sans JP', sans-serif;*/
}

.content-wrapper {
	display: flex;
  flex-wrap: wrap;
	justify-content: space-between;
}

.section-title {
  color: var(--color-text-dark);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--color-main);
  padding-bottom: 10px;
}

.section-description {
  color: var(--color-text-sub);
  text-align: center;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.chart-container {
	flex-basis: 48%;
	min-width: 0;
  margin-bottom: 60px;
}

/* グラフをレスポンシブにするためのラッパー */
.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 400px; /* PCでのグラフの高さ */
	min-width: 0;
}

/* データテーブルのスタイル */
.table-container {
	width: 100%;
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
}

.table-responsive > div {
  overflow-x: auto;
}

.data-table {
  width: 100%;
	border-collapse: separate;
  min-width: 800px; /* 横スクロールを発生させるための最小幅 */
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
	font-size: 1.4rem;
  padding: 12px;
  text-align: center;
}

.data-table td.text-right {
  text-align: right;
}

.data-table th {
  background-color: var(--color-main);
  color: var(--color-white);
  font-weight: 600;
}

/* 掛け線・角丸 */
.data-table thead th:first-of-type {
	border-radius: 10px 0 0 0;
}
.data-table thead th:last-of-type {
	border-radius: 0 10px 0 0;
}
.data-table tbody tr:last-of-type td:first-child {
	border-radius: 0 0 0 10px;
}
.data-table tbody tr:last-of-type td:last-child {
	border-radius: 0 0 10px 0;
}
.data-table thead th {
	border-left: 1px solid var(--color-disabled-bg);
	border-top: 1px solid var(--color-disabled-bg);
}
.data-table thead th:last-child {
	border-right: 1px solid var(--color-disabled-bg);
}
.data-table tbody tr > td:first-child {
	border-left: 1px solid var(--color-disabled-bg);
}
.data-table tbody th,
.data-table tbody td {
	border-bottom: 1px solid var(--color-disabled-bg);
  border-right: 1px solid var(--color-disabled-bg);
}

.data-table tbody {
  background-color: #fff;
}
.data-table tbody tr:nth-child(even) {
  background-color: #fcfcfc;
}

.data-table tbody tr:hover {
  background-color: #f2f6f8;
}

/* 実績サマリーカードのスタイル */
.summary-wrapper {
	width: 100%;
  display: flex;
  gap: 1em 4%;
  margin: 3em 0 2em;
  justify-content: center;
}

.summary-card {
	width: 48%;
	max-width: 48rem;
  background-color: var(--color-white);
  text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	border: 1px solid rgba(0,0,0, .2);
	overflow: hidden;
}

.summary-label {
  font-weight: bold;
	width: 45%;
  height: 100%;
  display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--yellow);
	padding: .5em;
}

.summary-value-box {
	width: 55%;
  height: 100%;
  display: flex;
  align-items: baseline;
  justify-content: center;
	padding: 1.5em .5em;
	line-height: 1;
  gap: .5em;  
}

.summary-number {
  font-size: 2em;
  font-weight: 600;
/*  color: var(--color-main);*/
}

.summary-unit {
  font-size: 1.2em;
  color: var(--charcoal-gray);
  font-weight: 600;
	margin-top: .25em;
}

@media screen and (max-width: 960px) {
	.summary-label {
		width: 100%;
		height: auto;
    padding: .5em;
	}
	.summary-value-box {
		width: 100%;
		height: auto;
		align-items: baseline;
	}
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .content-wrapper {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .chart-container {
		flex: 0 0 100%;
		margin-bottom: 20px;
	}
  .canvas-wrapper {
    height: 360px; /* スマホではグラフの高さを少し低くする */
  }
  .section-title {
    font-size: 1.25rem;
  }
	.table-container {
		margin-bottom: 0;
	}
  .summary-wrapper {
    flex-direction: column;
		align-items: center;
  }
	.summary-card {
		width: 100%;
		flex-direction: column;
	}
	.summary-label {
		font-size: 1em;
	}
}