/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

header h1 i {
    color: #4fc3f7;
    margin-right: 15px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

header .subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

/* ナビゲーション */
nav {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #2a5298;
    color: white;
}

/* メインコンテンツ */
main {
    padding: 40px 20px;
}

.section {
    background-color: white;
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section h2 {
    font-size: 2em;
    color: #1e3c72;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2a5298;
}

.section h2 i {
    color: #2a5298;
    margin-right: 10px;
}

.section h3 {
    color: #2a5298;
    margin-bottom: 15px;
    font-size: 1.4em;
}

/* 概要セクション */
.content-box {
    font-size: 1.1em;
    line-height: 1.8;
}

.highlight-box {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border-left: 4px solid #2a5298;
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}

.highlight-box h3 {
    margin-bottom: 15px;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.highlight-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2a5298;
    font-weight: bold;
}

/* 特長グリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #2a5298;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.feature-card p {
    text-align: center;
    color: #666;
    line-height: 1.6;
}

/* 製品リスト */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: #2a5298;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.15);
}

.product-item h3 {
    color: #1e3c72;
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2a5298;
}

.product-details p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.product-details ul {
    margin: 15px 0;
    padding-left: 25px;
}

.product-details li {
    margin: 8px 0;
    line-height: 1.6;
}

/* 仕様テーブル */
.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.specs-table {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
}

.specs-table h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #1e3c72;
}

/* テーブルラッパーを追加してスクロール対応 */
.specs-table > table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 100px;
}

th {
    background-color: #2a5298;
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

td {
    font-size: 0.95em;
    line-height: 1.6;
}

tr:hover {
    background-color: #f8f9fa;
}

tr:last-child td {
    border-bottom: none;
}

/* セットアップステップ */
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #2a5298;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
}

.step-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.step-content li {
    margin: 8px 0;
    line-height: 1.6;
}

.note {
    background-color: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 0.95em;
}

/* 用途グリッド */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.application-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: #2a5298;
}

.application-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #1e3c72;
}

.application-card ul {
    list-style: none;
    padding-left: 0;
}

.application-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.application-card li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2a5298;
    font-weight: bold;
}

/* 資料ダウンロード */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #2a5298;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.15);
}

.doc-icon {
    font-size: 3em;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
}

.doc-info h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

.doc-info p {
    color: #666;
    margin-bottom: 15px;
}

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #2a5298;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.15);
}

.faq-item h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.faq-item p {
    color: #555;
    line-height: 1.8;
    padding-left: 20px;
}

/* お問い合わせ */
.contact-box {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border: 2px solid #2a5298;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.contact-box > p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: #1e3c72;
    margin-bottom: 10px;
}

.contact-item p {
    margin: 5px 0;
    font-size: 1.1em;
}

.contact-item a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.small {
    font-size: 0.9em;
    color: #666;
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    th, td {
        padding: 10px 12px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    header .subtitle {
        font-size: 1em;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }

    .section {
        padding: 25px 20px;
    }

    .section h2 {
        font-size: 1.6em;
    }

    .feature-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }

    .specs-container {
        grid-template-columns: 1fr;
    }
    
    th, td {
        padding: 8px 10px;
        font-size: 0.85em;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .document-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .section {
        padding: 20px 15px;
    }

    .section h2 {
        font-size: 1.4em;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
}

/* プリント用スタイル */
@media print {
    nav, footer {
        display: none;
    }

    .section {
        page-break-inside: avoid;
        box-shadow: none;
    }

    a {
        text-decoration: underline;
        color: #000 !important;
    }
}
