@charset "UTF-8";

/* ==========================================================================
   カラーパレット & 共通設定
   ========================================================================== */
:root {
	--primary-color: #b02f00;       /* メインオレンジ */
	--primary-light: rgba(176, 47, 0, 0.1);
	--river-blue: #00ACC1;          /* リバーブルー */
	--sun-orange: #FF8F00;          /* サンオレンジ */
	--adventure-yellow: #FFD600;    /* イエロー */
	--text-main: #271813;           /* メイン文字色 */
	--text-variant: #5b4039;        /* サブ文字色 */
	--bg-card: #ffffff;             /* カード背景 */
	--bg-light-gray: #fff8f6;       /* 薄い背景用 */
	--border-color: #e4beb4;        /* 境界線 */
}

/* 共通ヘルパー指定 */
.text-center {
	text-align: center !important;
}

/* サマリーテキスト中央寄せ・体裁調整 */
.expert-summary {
	margin-bottom: 32px !important;
	padding-bottom: 0 !important;
}
.summary-text {
	line-height: 2;
	font-size: 16px;
	color: var(--text-main);
	display: inline-block;
	text-align: center;
	margin: 0 auto;
}

/* ==========================================================================
   実績データ・3大セクションの距離感調整
   （1つのカテゴリの塊に見えつつ、上の余白を64pxに広げて上下の区切りをハッキリさせました）
   ========================================================================== */
.expert-dashboard {
	margin-top: 64px !important;    /* サマリー文章との間隔を広げて区切りを明確化 */
	margin-bottom: 0 !important;
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	box-sizing: border-box !important;
}

.expert-mastery,
.expert-expedition {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	box-sizing: border-box !important;
}

/* 実績データグループ全体の最後（スタッフリストとの境界）は広めに空ける */
.expert-expedition {
	padding-bottom: 50px !important; 
}

/* 各セクション内のタイトル見出しの隙間 */
.section-title-block {
	margin-top: 0 !important;
	margin-bottom: 16px !important;
	padding-top: 0 !important;
}
.section-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--text-main);
	display: inline-block;
	position: relative;
	padding-bottom: 10px;
	margin: 0 !important;
}
.section-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background-color: var(--primary-color);
}

/* ==========================================================================
   1. 圧倒的な実績（スタッツカード）
   ========================================================================== */
   .dashboard-header h4 {
	font-size: 26px;
	font-weight: 800;
	color: var(--text-main);
	margin-top: 0 !important;
	margin-bottom: 12px !important;
}
.dashboard-header p {
	font-size: 15px;
	color: var(--text-variant);
	max-width: 768px;
	margin: 0 auto 20px auto !important;
	line-height: 1.6;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 20px;
}
@media (min-width: 768px) {
	.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stat-card {
	background-color: var(--bg-card);
	padding: 24px;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 10px rgba(176, 47, 0, 0.02);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: left;
	display: flex;
	flex-direction: column;
}
.stat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(176, 47, 0, 0.08);
}
.stat-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-variant);
	margin-bottom: 12px;
	flex-grow: 1;
	min-height: 2.8em;
}
.stat-value {
	font-size: 56px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 12px;
	margin-top: auto;
}
.stat-value .unit { font-size: 20px; margin-left: 4px; }
.border-primary { border-top: 4px solid var(--primary-color); }
.text-primary { color: var(--primary-color); }
.border-blue { border-top: 4px solid var(--river-blue); }
.text-blue { color: var(--river-blue); }
.border-orange { border-top: 4px solid var(--sun-orange); }
.text-orange { color: var(--sun-orange); }

/* ==========================================================================
   2. 技術と熟練度（円グラフ＆ライセンス）
   ========================================================================== */
.mastery-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 20px;
}
@media (min-width: 1024px) {
	.mastery-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.chart-side { grid-column: span 7; }
	.license-side { grid-column: span 5; }
}
.mastery-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 24px;
	text-align: left;
}
.mastery-card h4 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-main);
	position: relative;
	padding-bottom: 0;
}
.mastery-card h4::after {
	display: none !important; /* カード内の小見出しの下線を完全消去 */
}
.chart-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}
@media (min-width: 640px) {
	.chart-container { flex-direction: row; align-items: flex-start; }
}
.donut-chart {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: conic-gradient(var(--primary-color) 0% 45%, var(--adventure-yellow) 45% 75%, var(--river-blue) 75% 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.donut-inner {
	width: 126px;
	height: 126px;
	background: var(--bg-card);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.team-tag { font-size: 11px; color: var(--text-variant); font-weight: bold; }
.team-title { font-size: 16px; color: var(--primary-color); font-weight: 700; }

.chart-legends { flex-grow: 1; }
.legend-item { display: flex; gap: 12px; margin-bottom: 12px; }
.dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; flex-shrink: 0; margin-top: 4px; }
.bg-primary { background-color: var(--primary-color); }
.bg-yellow { background-color: var(--adventure-yellow); }
.bg-blue { background-color: var(--river-blue); }
.legend-title { font-weight: 700; color: var(--text-main); font-size: 14px; }
.legend-desc { font-size: 12px; color: var(--text-variant); margin-top: 1px; }
.chart-note { font-size: 12px; color: var(--text-variant); font-style: italic; border-top: 1px solid var(--border-color); padding-top: 12px; margin-top: 12px; line-height: 1.5; }

/* ライセンス */
.license-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.license-item {
	width: 100%;
}
.license-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: bold;
	color: var(--text-main);
}
.license-badge {
	background: var(--primary-color);
	color: #fff;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 11px;
	flex-shrink: 0;
}
.progress-bar {
	background-color: rgba(176, 47, 0, 0.08) !important;
	height: 10px !important;
	width: 100% !important;
	border-radius: 9999px !important;
	overflow: hidden !important;
	position: relative !important;
}
.progress-inner {
	background-color: #ff5722 !important; 
	height: 100% !important;
	border-radius: 9999px !important;
	display: block !important;
}
.license-footer { font-size: 13px; color: var(--text-variant); font-style: italic; line-height: 1.5; border-top: 1px solid var(--border-color); padding-top: 12px; margin-top: 16px; }

/* ==========================================================================
   3. 世界の激流に挑む実績（テーブル風リスト）
   ========================================================================== */
.expedition-table-wrapper {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
}
.expedition-row {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border-bottom: 1px solid var(--border-color);
	gap: 12px;
	transition: background-color 0.2s ease;
	text-align: left;
}
.expedition-row:last-child { border-bottom: none; }
.expedition-row:hover { background-color: var(--bg-light-gray); }

@media (min-width: 768px) {
	.expedition-row { flex-direction: row; align-items: center; justify-content: space-between; }
}
.river-meta { display: flex; align-items: center; gap: 16px; }
.river-meta i { font-size: 22px; width: 30px; text-align: center; }
.river-meta h5 { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 2px; }
.river-meta p { font-size: 12px; color: var(--text-variant); }

.river-badges { display: flex; align-items: center; gap: 14px; }
.grade-badge { color: #fff; font-weight: bold; padding: 6px 12px; border-radius: 6px; font-size: 14px; min-width: 100px; text-align: center; }
.status-badge { font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 4px; }

.bg-red { background-color: #b6171e; }
.bg-primary-light { background-color: var(--primary-light); color: var(--primary-color); }
.bg-gray { background-color: #ffe9e4; color: var(--text-variant); }
/* ==========================================================================
   スタッフプロフィール・紹介内容と実績の分離（PC版の高さ揃え対応）
   ========================================================================== */
.expert-staff ul li dl {
	display: flex;
	flex-direction: column;
	height: 100%; /* 親要素のdlの高さに合わせる */
}

.expert-staff ul li dl dd {
	display: flex;
	flex-direction: column;
	gap: 16px; 
	line-height: 1.7;
	color: var(--text-main);
	flex-grow: 1; /* 上の文章エリアを自動で伸ばし、下のエリアを底に押し出す */
	justify-content: space-between; /* 上下のコンテンツをきれいに引き離す */
}

/* ◉（資格・経歴・特技）以降のテキストエリアをカード化 */
.expert-staff ul li dl dd span.profile-meta-group {
	display: block;
	background-color: var(--bg-light-gray); /* 薄いピンクベージュの背景色 */
	border: 1px solid var(--border-color);  /* 統一感のある薄い境界線 */
	border-radius: 8px;                     /* 角丸で柔らかい印象に */
	padding: 16px;                          /* 内側の余白 */
	font-size: 14px;                        /* 文字サイズを少しスマートに */
	color: var(--text-variant);             /* 文字色を少しマイルドに */
	margin-top: auto;                       /* 確実に底面に吸着させるおまじない */
	width: 100%;
	box-sizing: border-box;
}

/* 項目ごとの行間を整える */
.expert-staff ul li dl dd span.profile-meta-group span.meta-item {
	display: block;
	margin-bottom: 8px;
}
.expert-staff ul li dl dd span.profile-meta-group span.meta-item:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   スタッフバッジ（くっきりラベル化）
   ========================================================================== */

   .expert-staff ul li dl dt i .badge {
	display: inline-block !important;
	font-style: normal !important;        /* 斜め文字を戻す */
	font-size: 11px !important;            /* 読みやすいサイズ */
	font-weight: bold !important;
	line-height: 1 !important;
	padding: 3px 8px !important;           /* しっかり余白をとる */
	border-radius: 12px !important;        /* カプセル状のラベル形 */
	margin-right: 6px !important;          /* 右のテキストとの間隔 */
	vertical-align: middle !important;
	position: relative !important;
	top: -1px !important;
  }
  
  /* ガイド用：鮮やかな赤ラベル */
  .expert-staff ul li dl dt i .badge-guide {
	color: #ffffff !important;
	background-color: #d7453e !important;  /* テーマカラーの赤 */
  }
  
  /* バックスタッフ用：爽やかなブルーラベル */
  .expert-staff ul li dl dt i .badge-pack {
	color: #ffffff !important;
	background-color: #00ACC1 !important;  /* テーマカラーの青 */
  }