ツール管理へ戻るv1 のソース
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>微細プランジャー・バレルめっき 5か年計画 & 投資シミュレーター</title>
<style>
:root {
--primary-color: #1a365d;
--secondary-color: #2b6cb0;
--accent-color: #3182ce;
--bg-color: #f7fafc;
--card-bg: #ffffff;
--text-color: #2d3748;
--border-color: #e2e8f0;
--highlight: #ebf8ff;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
header {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 30px;
border-radius: 12px;
margin-bottom: 25px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header h1 {
font-size: 1.8rem;
margin-bottom: 10px;
}
header p {
font-size: 0.95rem;
opacity: 0.9;
}
.card {
background: var(--card-bg);
border-radius: 10px;
padding: 25px;
margin-bottom: 25px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
border: 1px solid var(--border-color);
}
h2 {
font-size: 1.3rem;
color: var(--primary-color);
margin-bottom: 20px;
padding-bottom: 8px;
border-bottom: 2px solid var(--border-color);
display: flex;
align-items: center;
gap: 10px;
}
/* 課題整理グリッド */
.grid-3 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 20px;
margin-bottom: 25px;
}
.issue-box {
background: #fff;
border-left: 4px solid var(--secondary-color);
padding: 15px;
border-radius: 4px;
border: 1px solid var(--border-color);
border-left-width: 4px;
}
.issue-box h3 {
font-size: 1rem;
color: var(--primary-color);
margin-bottom: 8px;
}
.issue-box ul {
padding-left: 20px;
font-size: 0.9rem;
}
.issue-box li {
margin-bottom: 4px;
}
/* テーブル */
.table-container {
overflow-x: auto;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
text-align: left;
}
th, td {
padding: 12px 15px;
border-bottom: 1px solid var(--border-color);
}
th {
background-color: #edf2f7;
color: var(--primary-color);
font-weight: 600;
}
tr:hover {
background-color: #f8fafc;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
/* 投資シミュレーターコントロール */
.simulator-controls {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
background: var(--highlight);
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
border: 1px solid #bee3f8;
}
.control-group label {
display: block;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 6px;
color: var(--primary-color);
}
.control-group select, .control-group input {
width: 100%;
padding: 8px 12px;
border: 1px solid #cbd5e0;
border-radius: 6px;
font-size: 0.95rem;
background: white;
}
.total-summary {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--primary-color);
color: white;
padding: 20px;
border-radius: 8px;
font-size: 1.1rem;
}
.total-amount {
font-size: 1.6rem;
font-weight: bold;
color: #63b3ed;
}
/* アクションボタン */
.actions {
display: flex;
gap: 15px;
justify-content: flex-end;
margin-top: 20px;
}
button {
background-color: var(--secondary-color);
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
cursor: pointer;
font-size: 0.95rem;
font-weight: 600;
transition: background 0.2s;
}
button:hover {
background-color: var(--primary-color);
}
button.secondary {
background-color: #718096;
}
button.secondary:hover {
background-color: #4a5568;
}
@media print {
body {
background: white;
padding: 0;
}
.card {
box-shadow: none;
border: 1px solid #ccc;
page-break-inside: avoid;
}
.simulator-controls, .actions {
display: none;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>微細プランジャー・バレルめっき 5か年計画 & 投資シミュレーター</h1>
<p>無電解Ni・電解Ni・電解Auを活用した高精度表面処理の事業戦略と設備投資計画の統合管理ツール</p>
</header>
<!-- セクション1:課題整理 -->
<section class="card">
<h2>1. 現状の課題と技術・業務整理</h2>
<div class="grid-3">
<div class="issue-box">
<h3>対象部品と主力めっき技術</h3>
<ul>
<li><strong>対象部品:</strong> ミクロン単位のクリアランスが求められる高精度プランジャー・バレル</li>
<li><strong>無電解Ni:</strong> 複雑微細形状への均一電着、優れた耐食性・高硬度化(熱処理)</li>
<li><strong>電解Ni:</strong> 厚付け容易性、優れた下地密着性・レベリング性</li>
<li><strong>電解Au:</strong> 導電性、耐食性、生体適合性、潤滑性(すべり性)</li>
</ul>
</div>
<div class="issue-box">
<h3>技術・品質上の課題</h3>
<ul>
<li><strong>均一電着:</strong> バレル内面等の閉鎖空間における膜厚バラツキの極小化</li>
<li><strong>膜厚制御:</strong> $\pm 0.5\mu m$ レベルの厳格な公差対応</li>
<li><strong>前処理・密着性:</strong> 精密加工品に対する脱脂・活性化の徹底</li>
<li><strong>機能最適化:</strong> 局所金めっきによるコスト適正化と熱処理による耐カジリ性向上</li>
</ul>
</div>
<div class="issue-box">
<h3>ビジネス・運用上の課題</h3>
<ul>
<li><strong>市場展開:</strong> 医療・分析機器(HPLC等)・半導体製造装置(ディスペンサー)への本格進出</li>
<li><strong>工程最適化:</strong> 加工〜めっき〜熱処理〜クリーン梱包の一貫体制構築</li>
<li><strong>環境・自動化:</strong> REACH規制等の環境対応、自動分析による属人化排除</li>
</ul>
</div>
</div>
</section>
<!-- セクション2:5か年市場動向と計画 -->
<section class="card">
<h2>2. 5か年の市場動向とロードマップ</h2>
<div class="table-container">
<table>
<thead>
<tr>
<th style="width: 10%;">年次</th>
<th style="width: 30%;">市場動向・ターゲット分野</th>
<th style="width: 35%;">技術・品質目標</th>
<th style="width: 25%;">主な導入設備</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>1年目</strong></td>
<td>微量注入ポンプ・自動注射器などの医療分野向け基盤強化</td>
<td>微小穴・複雑形状への均一電着安定化、歩留まり向上</td>
<td>蛍光X線膜厚計、前処理・超音波洗浄ライン改修</td>
</tr>
<tr>
<td><strong>2年目</strong></td>
<td>高速液体クロマトグラフ(HPLC)等の分析機器向け高精度化</td>
<td>$\pm 0.5\mu m$ レベルのサブミクロン膜厚制御の確立</td>
<td>めっき液自動分析・自動補給装置、連続モニタリング</td>
</tr>
<tr>
<td><strong>3年目</strong></td>
<td>耐摩耗性・耐カジリ性が求められる産業機器向け機能拡充</td>
<td>無電解Niの熱処理(ベーキング)による硬度最適化</td>
<td>高精度精密熱処理炉(ベーキング炉)、周辺専用治具</td>
</tr>
<tr>
<td><strong>4年目</strong></td>
<td>高精度ディスペンサー等の半導体・産業装置分野の開拓</td>
<td>電解Auの局所めっき精度向上による貴金属コスト適正化</td>
<td>部分金めっき用電源・特殊タスク制御装置</td>
</tr>
<tr>
<td><strong>5年目</strong></td>
<td>環境規制対応(PFAS等)およびクリーンルーム仕様の確立</td>
<td>最新環境対応プロセスの完全移行とコンタミフリー出荷</td>
<td>クリーン環境めっきブース、最新型排水回収システム</td>
</tr>
</tbody>
</table>
</div>
</section>
<!-- セクション3:設備投資シミュレーター -->
<section class="card">
<h2>3. 設備投資シミュレーター</h2>
<p style="margin-bottom: 15px; font-size: 0.9rem;">工場の規模感や投資の方向性を選択すると、5か年の想定投資金額が連動して試算されます。</p>
<div class="simulator-controls">
<div class="control-group">
<label for="scaleSelect">工場の投資規模</label>
<select id="scaleSelect" onchange="calculateInvestment()">
<option value="0.8">小規模(ラボ・試作特化型)</option>
<option value="1.0" selected>中規模(標準量産型)</option>
<option value="1.5">大規模(完全自動・高効率型)</option>
</select>
</div>
<div class="control-group">
<label for="autoSelect">自動化・環境対応の度合い</label>
<select id="autoSelect" onchange="calculateInvestment()">
<option value="0.9">基本仕様(手動・半自動メイン)</option>
<option value="1.0" selected>標準仕様(自動分析・一部自動化)</option>
<option value="1.3">高度仕様(完全自動ライン・クリーン環境)</option>
</select>
</div>
</div>
<div class="table-container">
<table>
<thead>
<tr>
<th>年次</th>
<th>主な投資内容</th>
<th class="text-right">想定投資金額(目安)</th>
</tr>
</thead>
<tbody id="investmentTableBody">
<!-- JavaScriptで動的生成 -->
</tbody>
</table>
</div>
<div class="total-summary">
<span>5か年トータル投資額 合計</span>
<span class="total-amount" id="totalAmount">¥0</span>
</div>
<div class="actions">
<button class="secondary" onclick="resetSimulator()">条件をリセット</button>
<button onclick="window.print()">計画書を印刷 / PDF保存</button>
</div>
</section>
</div>
<script>
// 基本のベース投資額(百万円単位)
const baseInvestments = [
{ year: "1年目", content: "測定器(蛍光X線等)の導入、前処理・洗浄槽の更新", baseMin: 500, baseMax: 1500 },
{ year: "2年目", content: "めっき液自動分析・自動補給装置、プロセス管理システム", baseMin: 800, baseMax: 2000 },
{ year: "3年目", content: "精密熱処理炉(ベーキング炉)、周辺治具類", baseMin: 400, baseMax: 1000 },
{ year: "4年目", content: "部分金めっき用電源・特殊治具、専用ライン拡張", baseMin: 1000, baseMax: 2500 },
{ year: "5年目", content: "クリーン環境対応設備、排水処理・環境対応改修", baseMin: 1500, baseMax: 4000 }
];
function formatManYen(amountInMan) {
if (amountInMan >= 10000) {
const oku = Math.floor(amountInMan / 10000);
const man = amountInMan % 10000;
return man === 0 ? `約 ${oku} 億円` : `約 ${oku}億 ${man}万円`;
}
return `約 ${amountInMan.toLocaleString()} 万円`;
}
function calculateInvestment() {
const scaleFactor = parseFloat(document.getElementById('scaleSelect').value);
const autoFactor = parseFloat(document.getElementById('autoSelect').value);
const combinedFactor = scaleFactor * autoFactor;
const tbody = document.getElementById('investmentTableBody');
tbody.innerHTML = '';
let grandTotalMin = 0;
let grandTotalMax = 0;
baseInvestments.forEach(item => {
const min = Math.round(item.baseMin * combinedFactor);
const max = Math.round(item.baseMax * combinedFactor);
grandTotalMin += min;
grandTotalMax += max;
const tr = document.createElement('tr');
tr.innerHTML = `
<td><strong>${item.year}</strong></td>
<td>${item.content}</td>
<td class="text-right">${formatManYen(min)} 〜 ${formatManYen(max)}</td>
`;
tbody.appendChild(tr);
});
document.getElementById('totalAmountdeg').textContent = `${formatManYen(grandTotalMin)} 〜 ${formatManYen(grandTotalMax)}`;
// 修正:要素IDの正確な紐付け
document.getElementById('totalAmount').textContent = `${formatManYen(grandTotalMin)} 〜 ${formatManYen(grandTotalMax)}`;
}
function resetSimulator() {
document.getElementById('scaleSelect').value = "1.0";
document.getElementById('autoSelect').value = "1.0";
calculateInvestment();
}
// 初期化実行
window.onload = function() {
calculateInvestment();
};
</script>
</body>
</html>