/* LinkTrip 導入フローガイド - CSS - Updated */

:root {
    --primary-color: #a78bfa;
    --primary-dark: #9333ea;
    --secondary-color: #f9f9ff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #a78bfa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e9e3ff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-success: linear-gradient(135deg, var(--success-color), #059669);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: var(--bg-white);
    padding: 40px 0;
    border-radius: var(--radius-lg);
}

/* 場所解決方式の選択 - 高優先度スタイル */
.location-method-selector {
    margin: 30px 0;
    padding: 25px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-light);
    clear: both;
}

.location-method-selector .method-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.location-method-selector .method-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}

.location-method-selector .method-toggle label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    user-select: none;
    min-height: 48px;
    min-width: 140px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.location-method-selector .method-toggle label:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(167, 139, 250, 0.2);
}

.location-method-selector .method-toggle input[type="radio"]:checked + label {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(167, 139, 250, 0.4);
    transform: translateY(-2px);
}

.location-method-selector .method-toggle input[type="radio"]:checked + label::before {
    content: "✓ ";
    margin-right: 8px;
    font-weight: bold;
    font-size: 16px;
}

/* 明示的にフォーカス表示 */
.location-method-selector .method-toggle input[type="radio"]:focus-visible + label {
    outline: 3px solid rgba(167, 139, 250, 0.5);
    outline-offset: 2px;
}

.method-content {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    margin-top: 10px;
}

.method-card {
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    background-color: var(--bg-white);
}

.method-card.single {
    border-left-color: var(--success-color);
}

.method-card.mapping {
    border-left-color: var(--info-color);
}

.method-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 15px 0;
}

.method-section h5 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 600;
}

.method-section ul {
    list-style: none;
    padding: 0;
}

.method-section li {
    padding: 5px 0;
    color: var(--text-light);
}

.setup-process {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.setup-process h5 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

.method-comparison {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--secondary-color);
    font-weight: 600;
    color: var(--text-dark);
}

.method-single {
    color: var(--success-color);
    font-weight: 600;
}

.method-mapping {
    color: var(--info-color);
    font-weight: 600;
}

.complexity-easy {
    color: var(--success-color);
}

.complexity-medium {
    color: var(--warning-color);
}

.complexity-complex {
    color: var(--danger-color);
}

.accuracy-good,
.accuracy-excellent {
    color: var(--success-color);
}

.duration-fast {
    color: var(--success-color);
}

.duration-medium {
    color: var(--warning-color);
}

.duration-slow {
    color: var(--danger-color);
}

/* ヘッダー追加スタイル */
.header {
    box-shadow: var(--shadow-medium);
    margin: 20px 0 30px;
    border-left: 6px solid var(--primary-color);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.title-section {
    text-align: center;
}

.title-section h1 {
    font-size: 2.8em;
    color: var(--text-dark);
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 25px;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
}

.badge.primary {
    background: var(--gradient-primary);
    color: white;
}

.badge.secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.badge.success {
    background: var(--success-color);
    color: white;
}

/* ナビゲーション */
.nav-container {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-button {
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-button.active {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* メインコンテンツ */
.main-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* サイドバー目次 */
.toc {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.toc h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.2em;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95em;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: block;
    transition: all 0.3s ease;
}

.toc a:hover, .toc a.active {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* コンテンツセクション */
.content {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    min-height: 80vh;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section h2 {
    color: var(--text-dark);
    font-size: 2.2em;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 4px solid var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section h3 {
    color: var(--text-dark);
    font-size: 1.6em;
    margin: 35px 0 20px 0;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}

.section h4 {
    color: var(--text-dark);
    font-size: 1.3em;
    margin: 25px 0 15px 0;
}

.section p, .section li {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.section ul, .section ol {
    margin: 20px 0;
    padding-left: 25px;
}

/* 強調ボックス */
.highlight-box {
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 30px 0;
    border-left: 6px solid;
    text-align: center;
}

.highlight-box.primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.05));
    border-color: var(--primary-color);
}

.highlight-box h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 0 0 15px 0;
    border: none;
    padding: 0;
}

.highlight-box p {
    color: var(--text-dark);
    font-size: 1.1em;
    margin: 0;
}

/* プロセスフロー */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    padding: 25px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    min-width: 180px;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    font-size: 1.2em;
}

.process-step h4 {
    color: var(--primary-color);
    font-size: 1.1em;
    margin: 0 0 10px 0;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9em;
    margin: 0;
    line-height: 1.5;
}

.process-arrow {
    font-size: 2em;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

/* 業界カード */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.industry-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.industry-card.golf { border-color: #10b981; }
.industry-card.hotel { border-color: #3b82f6; }
.industry-card.leisure { border-color: #f59e0b; }

.industry-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.industry-card h4 {
    color: var(--text-dark);
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.industry-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95em;
}

/* タイムライン */
.timeline-container {
    position: relative;
    margin: 40px 0;
    padding-left: 40px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -28px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.timeline-content {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    border: none;
    padding: 0;
    font-size: 1.4em;
}

.timeline-duration {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content p {
    margin: 0 0 15px 0;
    color: var(--text-light);
}

.timeline-details {
    margin-top: 15px;
}

.detail-tag {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.summary-box {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.1em;
    box-shadow: var(--shadow-medium);
    margin: 30px 0;
}

/* 情報グリッド */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.info-card p {
    color: var(--text-light);
    margin: 0;
    font-weight: 600;
}

/* テーブル */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.info-table, .monitoring-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
}

.info-table th, .info-table td,
.monitoring-table th, .monitoring-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th, .monitoring-table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.95em;
}

.info-table tr:hover, .monitoring-table tr:hover {
    background: var(--bg-light);
}

.target-good { color: var(--success-color); font-weight: bold; }
.target-caution { color: var(--warning-color); font-weight: bold; }

/* 結果ボックス */
.result-box {
    padding: 25px;
    border-radius: var(--radius-md);
    margin: 25px 0;
    border-left: 6px solid;
}

.result-box.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
}

.result-box h4 {
    color: var(--success-color);
    margin: 0 0 15px 0;
}

.result-box ul {
    margin: 10px 0;
}

.result-box li {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.result-box code {
    background: var(--secondary-color);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: 600;
}

/* プロセスステップ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-item {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.step-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.step-item h4 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.step-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9em;
}

/* 実装グリッド */
.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.impl-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.impl-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.impl-card h4 {
    color: var(--text-dark);
    margin: 0 0 10px 0;
    padding-right: 80px;
}

.impl-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9em;
}

.impl-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
}

/* フロー図 */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    min-width: 150px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.flow-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.flow-step.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.05));
    border-color: var(--primary-color);
}

.flow-number {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 10px;
}

.flow-step h4 {
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-size: 1em;
}

.flow-step p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.85em;
}

.flow-arrow {
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: bold;
}

/* APIタイミングボックス */
.api-timing-box {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 30px 0;
}

.api-timing-box h4 {
    color: var(--text-dark);
    margin: 0 0 25px 0;
    text-align: center;
    font-size: 1.3em;
}

.timing-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.timing-item:last-child {
    margin-bottom: 0;
}

.timing-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}

.timing-badge.primary {
    background: var(--gradient-primary);
    color: white;
}

.timing-badge.secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.timing-content h5 {
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-size: 1.1em;
}

.timing-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* チェックリスト */
.checklist-section {
    margin: 30px 0;
}

.checklist-section h4 {
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-size: 1.2em;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.checklist-item:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    appearance: none;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checklist-item input[type="checkbox"]:checked {
    background: var(--success-color);
    border-color: var(--success-color);
}

.checklist-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    left: 2px;
    top: -2px;
}

.checkmark {
    flex-shrink: 0;
}

/* テストデータボックス */
.test-data-box {
    background: var(--bg-light);
    border: 2px solid var(--info-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin: 30px 0;
}

.test-data-box h4 {
    color: var(--info-color);
    margin: 0 0 20px 0;
    text-align: center;
}

.test-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.test-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.test-label {
    color: var(--text-light);
    font-weight: 600;
}

.test-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* デプロイステップ */
.deploy-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.deploy-step {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.deploy-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.deploy-number {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    font-size: 1.1em;
}

.deploy-content h4 {
    color: var(--text-dark);
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.deploy-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
}

/* エフェクトグリッド */
.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.effect-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.effect-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--success-color);
}

.effect-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.effect-card h4 {
    color: var(--success-color);
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.effect-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9em;
}

/* FAQ */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1em;
}

.faq-toggle {
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px 20px;
    background: transparent;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* コンタクトセクション */
.contact-section {
    margin: 50px 0 30px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
}

.contact-section h3 {
    text-align: center;
    color: var(--text-dark);
    margin: 0 0 30px 0;
    border: none;
    padding: 0;
    font-size: 1.5em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.contact-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-light);
}

.contact-card h4 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.2em;
}

.contact-card p {
    color: var(--text-light);
    margin: 5px 0;
    line-height: 1.6;
}

.contact-card strong {
    color: var(--text-dark);
}

.additional-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.link-button {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-light);
}

.link-button.primary {
    background: var(--gradient-primary);
    color: white;
}

.link-button.secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.link-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* フッター */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin: 40px 0 20px;
    box-shadow: var(--shadow-light);
}

.footer p {
    color: var(--text-muted);
    margin: 5px 0;
    font-size: 0.9em;
}

.version-info {
    color: var(--text-muted);
    font-size: 0.8em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 25px 20px;
    }
    
    .title-section h1 {
        font-size: 2em;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    .toc {
        position: static;
        max-height: none;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .process-flow, .flow-diagram {
        flex-direction: column;
    }
    
    .process-arrow, .flow-arrow {
        transform: rotate(90deg);
    }
    
    .timing-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .test-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .additional-links {
        flex-direction: column;
        align-items: stretch;
    }

    /* 場所解決方式のモバイル対応 */
    .location-method-selector .method-toggle {
        flex-direction: column;
        gap: 15px;
    }

    .location-method-selector .method-toggle label {
        min-width: 100%;
        padding: 16px 20px;
        font-size: 18px;
        margin: 0;
        width: 100%;
    }

    .location-method-selector {
        padding: 20px;
        margin: 20px 0;
    }
}

/* 印刷対応 */
@media print {
    body {
        background: white;
    }
    
    .nav-container, .toc, .back-link {
        display: none;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .section {
        display: block !important;
        page-break-inside: avoid;
        margin-bottom: 50px;
    }
    
    .process-step, .industry-card, .info-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* 実装カード内のリンク */
.impl-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.impl-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}