/* アクセシビリティページ専用スタイル - ダークテーマ */

/* 目次セクション */
.table-of-contents {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 0;
    color: white;
}

.table-of-contents h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.toc-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toc-item a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.toc-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

/* コンテンツセクション */
.content-section {
    padding: 4rem 0;
    background: #0a0a0a;
}

.content-section:nth-child(even) {
    background: #111111;
}

.content-card {
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #333333;
}

.content-header {
    background: linear-gradient(135deg, #2d2d2d, #404040);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.content-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.content-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.content-body {
    padding: 2rem;
    color: #e0e0e0;
}

.content-body h4 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.content-body h4:first-child {
    margin-top: 0;
}

/* ハイライトボックス */
.highlight-box {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    border-left: 4px solid #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
}

.highlight-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.highlight-box li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

/* コミットメントグリッド */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.commitment-item {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
}

.commitment-item:hover {
    background: #333333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.commitment-icon {
    margin-bottom: 1rem;
}

.commitment-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.commitment-item h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.commitment-item p {
    color: #e0e0e0;
    margin: 0;
}

/* 機能グリッド */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.feature-item h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.feature-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.feature-item li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

/* 基準グリッド */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.standard-item {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.standard-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.standard-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.standard-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.standard-item h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.standard-item p {
    color: #e0e0e0;
    margin-bottom: 1rem;
    text-align: center;
}

.standard-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.standard-item li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

/* 技術グリッド */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.technology-item {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.technology-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.technology-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.technology-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.technology-item h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.supported-tools {
    display: grid;
    gap: 0.5rem;
}

.tool-item {
    background: #333333;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #444444;
}

.tool-item strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.tool-item span {
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* ショートカットグリッド */
.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.shortcut-category {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
}

.shortcut-category h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.shortcut-list {
    display: grid;
    gap: 0.75rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #333333;
    border-radius: 8px;
    border: 1px solid #444444;
}

.shortcut-item kbd {
    background: #ffffff;
    color: #000000;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.shortcut-item span {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-left: 1rem;
}

/* スクリーンリーダー機能 */
.screen-reader-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-category {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
}

.feature-category h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-category ul {
    margin: 0;
    padding-left: 1.5rem;
}

.feature-category li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

/* 視覚的機能 */
.visual-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.visual-category {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
}

.visual-category h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    background: #333333;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #444444;
}

.feature-item strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.9rem;
}

/* フィードバック方法 */
.feedback-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feedback-method {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
}

.feedback-method:hover {
    background: #333333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.feedback-icon {
    margin-bottom: 1rem;
}

.feedback-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.feedback-method h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feedback-method p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feedback-method span {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* フィードバックフォーム */
.feedback-form {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
    margin-top: 1.5rem;
}

.feedback-form h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
}

.accessibility-feedback-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #444444;
    border-radius: 8px;
    font-size: 1rem;
    background: #333333;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 改善セクション */
.improvement-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 0;
    color: white;
}

.improvement-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.improvement-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.improvement-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.improvement-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.improvement-actions .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.improvement-actions .btn-primary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.improvement-actions .btn-primary:hover {
    background: #e0e0e0;
    border-color: #e0e0e0;
}

.improvement-actions .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.improvement-actions .btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .content-header {
        flex-direction: column;
        text-align: center;
    }
    
    .content-header i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .commitment-grid,
    .features-grid,
    .standards-grid,
    .technology-grid,
    .shortcut-grid,
    .feedback-methods {
        grid-template-columns: 1fr;
    }
    
    .shortcut-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .shortcut-item span {
        margin-left: 0;
    }
    
    .improvement-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .improvement-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .content-body {
        padding: 1rem;
    }
    
    .content-header {
        padding: 1.5rem;
    }
    
    .improvement-card {
        padding: 2rem 1.5rem;
    }
    
    .improvement-card h3 {
        font-size: 1.5rem;
    }
    
    .improvement-card p {
        font-size: 1rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeInUp 0.6s ease-out;
}

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }
.content-card:nth-child(4) { animation-delay: 0.4s; }
.content-card:nth-child(5) { animation-delay: 0.5s; }

/* スクロール時のアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* スキップリンク */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #ffffff;
    color: #000000;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* スクリーンリーダー専用テキスト */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}