/* インダストリアル・テーマ設定 */
:root {
    --bg-black: #0a0a0b;
    --panel-gray: #1a1a1c;
    --accent-orange: #ff5e00; /* 計器類のようなオレンジ */
    --tech-blue: #00aaff;
    --text-silver: #c0c0c0;
    --border-color: #333335;
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Noto Sans JP', sans-serif;
}

/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--text-silver);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 背景グリッド */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

/* ヘッダー */
header {
    height: 70px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(10, 10, 11, 0.9);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-silver);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-orange);
    animation: blink 1s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-silver);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent-orange);
}

/* ヒーローセクション */
.hero {
    padding: 80px 40px;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.hero-main-img {
    flex: 1.5;
    position: relative;
    border: 1px solid var(--border-color);
    padding: 10px;
}

.hero-main-img img {
    width: 100%;
    display: block;
    filter: grayscale(0.5) contrast(1.2);
}

/* ファインダー装飾 */
.viewfinder-frame {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-orange);
}
.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.center-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-size: 2rem;
}

.hero-info {
    flex: 1;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
    border: 1px solid var(--accent-orange);
    display: inline-block;
    padding: 2px 10px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 700;
}

.data-scroll {
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--tech-blue);
    border-top: 1px dashed var(--border-color);
    padding-top: 20px;
}

/* スペックカード */
.spec-section {
    padding: 100px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-mono);
    color: var(--accent-orange);
    letter-spacing: 4px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
}

.spec-card {
    background-color: var(--panel-gray);
    padding: 40px;
    transition: 0.3s;
}

.spec-card:hover {
    background-color: #252528;
}

.card-header {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--tech-blue);
    margin-bottom: 20px;
}

.spec-card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

/* ダイアグラム風セクション */
.diagram-section {
    padding-bottom: 100px;
}

.diagram-wrap {
    display: flex;
    background-color: var(--panel-gray);
    border: 1px solid var(--border-color);
    align-items: stretch;
}

.diagram-text {
    flex: 1;
    padding: 60px;
    border-right: 1px solid var(--border-color);
}

.diagram-text h3 {
    font-family: var(--font-mono);
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.diagram-img {
    flex: 1;
}

.diagram-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.2) brightness(0.8);
}

/* フッター */
footer {
    padding: 40px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    border-top: 1px solid var(--border-color);
    color: #555;
}

.copyright {
    margin-top: 10px;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
    }
    .spec-grid {
        grid-template-columns: 1fr;
    }
    .diagram-wrap {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}