@charset "utf-8";
/* ==========================================================================
   rn-performance.css  performance.html（導入事例・開発実績）専用
   ・共通部品は renewal.css を使用。ここではページ固有の部品のみ定義
   ・接頭辞 pf-
   ========================================================================== */

/* ---------- ヒーロー（既存の写真＋赤三角を踏襲） ---------- */
/* ページ名・英字・赤三角は画面中央で揃える（left の割合指定では文字幅の分だけ右にずれるため） */
.workstop-red { top: 43%; left: calc(50% - 1.25vw); position: absolute; width: 0; height: 0; border-style: solid; border-width: 2.5vw 2.5vw 0 0; border-color: #cc0000 transparent transparent transparent; }
.pfHeroTtl { position: absolute; top: 55%; left: 0; width: 100%; color: #fff; text-align: center; font-size: 2vw; font-weight: bold; letter-spacing: 0.07em; }
.pfHeroEn { position: absolute; top: 66%; left: 0; width: 100%; color: #fff; text-align: center; font-size: 1vw; letter-spacing: 0.05em; }

/* ---------- リード ---------- */
.pfLead { max-width: 1080px; width: 90%; margin: 0 auto; padding: 48px 0 8px; }
.pfLead .bunn { font-size: 16.5px; line-height: 2; }
.pfLead .bunn strong { color: #b80000; }
.pfJump { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.pfJump a { display: inline-block; padding: 10px 22px; font-size: 14.5px; font-weight: bold; color: #1C4C9F; text-decoration: none; background: #fff; border: 1px solid #c9d3e6; border-radius: 30px; }
.pfJump a:after { content: " ↓"; color: #b80000; }
.pfJump a:hover { background: #eaf0fa; }

/* ---------- 絞り込みフィルタ ---------- */
.pfFilter { margin: 0 0 32px; padding: 22px 24px 18px; background: #fff; border: 1px solid #dfe3eb; border-top: 4px solid #1C4C9F; box-shadow: 0 4px 16px rgba(16,32,74,0.06); }
.pfFilter h4, .pfFilter h3:where(.rnH4) { margin: 0 0 14px; font-size: 17px; color: #10204a; }
.pfFilterRow { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; border-top: 1px dashed #e1e4ea; }
.pfFilterRow:first-of-type { border-top: none; }
.pfFilterLabel { flex: 0 0 76px; padding-top: 6px; font-size: 13.5px; font-weight: bold; color: #b80000; }
.pfBtns { display: flex; flex-wrap: wrap; gap: 8px; }
.pfBtns button { padding: 6px 14px; font-family: inherit; font-size: 13.5px; line-height: 1.5; color: #2b2b2b; background: #f5f6f9; border: 1px solid #d6dbe6; border-radius: 20px; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.pfBtns button:hover { background: #eaf0fa; border-color: #1C4C9F; }
.pfBtns button.on, .pfBtns button[aria-pressed="true"] { color: #fff; background: #1C4C9F; border-color: #1C4C9F; font-weight: bold; }
.pfBtns button:focus-visible { outline: 3px solid #f2b8b5; outline-offset: 2px; }
.pfStatus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px 14px; font-size: 14px; background: #f5f6f9; }
.pfStatus strong { font-size: 18px; color: #b80000; }
.pfStatus a { color: #1C4C9F; font-weight: bold; }

/* ---------- ピックアップ導入事例 ---------- */
.pfCases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pfCases .rnCase[hidden], .pfItem[hidden], .pfInd[hidden] { display: none !important; }
.rnCase .caseHead .ind { display: inline-block; margin-bottom: 6px; padding: 1px 10px; font-size: 12px; font-weight: bold; color: #1C4C9F; background: #fff; border-radius: 3px; }
.rnCase .caseHead .no { float: right; font-family: Arial, sans-serif; font-size: 12px; font-weight: bold; letter-spacing: 0.14em; opacity: 0.7; }
.rnCase .caseThumb { padding: 16px 16px 8px; background: #eaf0fa; }
.rnCase .caseThumb .rnScreen { margin: 0; box-shadow: 0 4px 14px rgba(16,32,74,0.14); }
.rnCase .caseThumb .rnScreen .bar { height: 22px; }
.rnCase .caseThumb .rnScreen .bar i { width: 8px; height: 8px; }
.rnCase .caseThumb .rnScreen .bar span { font-size: 10.5px; padding: 0 10px; }
.rnCase .caseThumb .pfDiagram { display: block; width: 100%; height: auto; background: #fff; border: 1px solid #d9dde6; border-radius: 6px; }
.rnCase .caseThumb .rnScreenNote { margin: 6px 0 0; font-size: 11.5px; }
.rnCase dd .rnTags { margin-top: 6px; }
.rnCase .result p { margin: 6px 0 0; font-size: 14px; line-height: 1.8; }
.rnCase .result .metric { line-height: 1.3; }
.pfNoHit { display: none; padding: 26px; text-align: center; font-size: 15px; background: #fff; border: 1px dashed #c9d3e6; }
.pfNoHit.show { display: block; }

/* ---------- 業種別サマリー ---------- */
.pfIndustries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.pfIndustries button { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; padding: 16px 8px 14px; font-family: inherit; color: #2b2b2b; background: #fff; border: 1px solid #e0e3ea; border-bottom: 3px solid #1C4C9F; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.pfIndustries button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(16,32,74,0.12); }
.pfIndustries button.on { border-bottom-color: #b80000; background: #fff8f8; }
.pfIndustries img { width: 48px; height: 48px; }
.pfIndustries .nm { margin-top: 8px; font-size: 13.5px; font-weight: bold; line-height: 1.4; }
.pfIndustries .ct { margin-top: 4px; font-family: Arial, sans-serif; font-size: 28px; font-weight: bold; line-height: 1.1; color: #b80000; }
.pfIndustries .ct small { margin-left: 2px; font-family: "Noto Sans JP", sans-serif; font-size: 12px; color: #555; }
.pfIndustries .bar { display: block; width: 80%; height: 5px; margin-top: 8px; background: #eaf0fa; border-radius: 3px; overflow: hidden; }
.pfIndustries .bar i { display: block; height: 100%; background: #1C4C9F; }
.pfIndustries li.total button { color: #fff; background: #10204a; border-color: #10204a; border-bottom-color: #b80000; }
.pfIndustries li.total .ct { color: #fff; }
.pfIndustries li.total .ct small { color: #d6dcea; }

/* ---------- 業種別・開発実績一覧マトリクス ---------- */
.pfLegend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 24px; padding: 14px 18px; font-size: 13px; background: #fff; border: 1px solid #e0e3ea; }
.pfLegend .rnTags { margin: 0; }
.pfInd { margin: 0 0 36px; }
.pfIndHead { display: flex; align-items: center; gap: 12px; padding: 0 0 8px; border-bottom: 1px solid silver; position: relative; }
.pfIndHead:after { content: ""; position: absolute; left: 0; bottom: -1px; width: 15%; min-width: 90px; border-top: 4px solid #cc0000; }
.pfIndHead img { width: 40px; height: 40px; }
.pfIndHead h4, .pfIndHead h3:where(.rnH4) { margin: 0; font-size: 19px; color: #2b2b2b; }
.pfIndHead .cnt { margin-left: auto; font-size: 13px; color: #767676; }
.pfIndHead .cnt b { font-family: Arial, sans-serif; font-size: 18px; color: #b80000; }
.pfList { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 6px 0 0; padding: 0; list-style: none; }
.pfItem { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 11px 4px; border-bottom: 1px dashed #dcdfe6; }
.pfItem .name { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.6; }
.pfItem .name:before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 2px; background: #cc0000; }
.pfItem .name a { color: #1C4C9F; font-weight: bold; }
.pfItem .rnTags { margin: 0; gap: 4px; }
.pfItem .rnTags li { padding: 1px 7px; font-size: 11.5px; }
.pfItem.case .name { font-weight: bold; }

@media screen and (max-width: 1023px) {
	.pfIndustries { grid-template-columns: repeat(4, 1fr); }
}
@media screen and (max-width: 767px) {
	.pfHeroTtl { top: 50%; font-size: 4.6vw; }
	.pfHeroEn { top: 66%; font-size: 2.6vw; }
	.workstop-red { left: calc(50% - 2vw); top: 38%; border-width: 4vw 4vw 0 0; }
	.pfLead { padding-top: 32px; }
	.pfLead .bunn { font-size: 14.5px; }
	.pfFilter { padding: 16px 14px 14px; }
	.pfFilterRow { flex-direction: column; gap: 6px; }
	.pfFilterLabel { flex: none; padding-top: 0; }
	.pfBtns button { padding: 5px 11px; font-size: 12.5px; }
	.pfCases { grid-template-columns: 1fr; gap: 20px; }
	.rnCase .caseThumb { padding: 10px 10px 6px; }
	.rnCase dl { padding: 14px 16px 6px; }
	.rnCase .result { margin: auto 16px 16px; }
	.rnCase .result .metric { font-size: 22px; }
	.pfIndustries { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.pfIndustries button { padding: 12px 4px 10px; }
	.pfIndustries img { width: 36px; height: 36px; }
	.pfIndustries .nm { font-size: 11.5px; }
	.pfIndustries .ct { font-size: 22px; }
	.pfList { grid-template-columns: 1fr; }
	.pfIndHead h4, .pfIndHead h3:where(.rnH4) { font-size: 17px; }
	.pfItem .name { font-size: 14px; }
}

/* 事例カード：関連サービスへのリンク */
.rnCase .pfRel { margin: -6px 22px 18px; font-size: 13.5px; line-height: 1.8; color: #767676; }
.rnCase .pfRel a { color: #1C4C9F; font-weight: bold; }
.rnCase .pfRel a:after { content: " →"; }
@media screen and (max-width: 767px) { .rnCase .pfRel { margin: -4px 16px 16px; } }

/* 導入効果・凡例の太字（style.css のリセットで b が標準ウェイトになるため） */
.rnCase .result b, .pfLegend b { font-weight: bold; }
.rnCase .result .metric small { margin-left: 4px; }

/* ==========================================================================
   表示品質調整（2026-10 QA）
   ========================================================================== */
.rnCase .pfRel { word-break: auto-phrase; }
.rnCase .pfRel .sep { color: #999; }
.pfIndustries .ct { white-space: nowrap; }
@media screen and (max-width: 767px) {
	/* 業種別の実績数：スマホは2列の横長タイル（アイコン｜業種名｜件数、下にバー） */
	.pfIndustries { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; }
	.pfIndustries button { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; column-gap: 8px; padding: 10px 10px 9px; text-align: left; }
	.pfIndustries button:hover { transform: none; }
	.pfIndustries img { width: 26px; height: 26px; }
	.pfIndustries .nm { margin: 0; font-size: 12.5px; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
	.pfIndustries .ct { margin: 0; font-size: 19px; }
	.pfIndustries .ct small { font-size: 11px; }
	.pfIndustries .bar { grid-column: 1 / -1; width: 100%; height: 4px; margin-top: 7px; }

	/* 事例カード：本文を少し詰めてページ長を抑える */
	.pfCases .rnCase .caseHead { padding: 16px 16px 14px; }
	.pfCases .rnCase .caseHead h4, .pfCases .rnCase .caseHead h3:where(.rnH4) { font-size: 17px; line-height: 1.5; }
	.pfCases .rnCase dl { padding: 12px 16px 4px; }
	.pfCases .rnCase dd { font-size: 14px; line-height: 1.75; }
	.pfCases .rnCase .result { padding: 12px 14px; }
	.pfCases .rnCase .result p { font-size: 13.5px; line-height: 1.7; }

	/* 関連リンク：リンク単位で折り返す */
	.rnCase .pfRel { line-height: 1.7; }

	/* 凡例：ラベル｜タグ の2列 */
	.pfLegend { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; }

	/* 実績一覧：タグは常に名称の下に置き、行の高さを揃える */
	.pfItem { display: block; padding: 7px 2px 8px; }
	.pfItem .name { line-height: 1.5; }
	.pfItem .name:before { top: 0.75em; }
	.pfItem .rnTags { margin-top: 4px; }
	.pfItem .rnTags li { padding: 1px 6px; font-size: 11px; }
	.pfInd { margin-bottom: 28px; }
}
/* 絞り込み結果：件数と「件」が泣き別れないよう文節単位で折り返す */
.pfStatus .nw { white-space: nowrap; }
.pfStatus strong { display: inline-block; min-width: 1.4em; text-align: center; }
/* 凡例：ラベルとタグを1組にして、組単位で折り返す */
.pfLegendGrp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
@media screen and (max-width: 767px) {
	.pfLegendGrp { display: grid; grid-template-columns: 4.6em 1fr; gap: 0 8px; }
}
