/* レスポンシブ対応の追加スタイル */
#about-section {
    height: auto !important;
    min-height: 100vh;
    z-index: 9;
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    color: white;
}

/* フッターの固定を解除 */
body.about-page .footer {
    position: relative !important;
}

#about-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

#about-section header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#about-section header h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    /* margin-bottom: 10px;*/
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: initial !important;
    text-align: inherit !important;
    line-height: inherit !important;
}

#about-section .table-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#about-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #333;
}

#about-section th {
    text-align: left;
    padding: 16px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    text-shadow: none !important;
    width: auto !important;
    font-size: 0.9rem !important;
    vertical-align: top;
}

#about-section td {
    padding: 16px 12px;
    border: 1px solid #e2e8f0;
    text-shadow: none !important;
    vertical-align: top;
    line-height: 1.5;
}

#about-section td .flex-table {
    display: flex;
}
#about-section td .flex-table .cell-name {
    flex: 1;
}
#about-section td .flex-table .cell-cnt {
    flex: 1;
}

#about-section tr:nth-child(even) {
    background: rgba(113, 128, 150, 0.05);
}

#about-section tr:hover {
    background: rgba(113, 128, 150, 0.1);
    transition: background-color 0.3s ease;
}

/* モバイル対応 */
@media (max-width: 768px) {
    /* メニューを押下した場合の表示 */
    .open body {
        position: initial;
    }
    #about-section {
        padding: 20px 0;
    }

    #about-section .container {
        padding: 0 15px;
    }

    #about-section header {
        padding: 20px;
        margin-bottom: 30px;
    }

    #about-section header h2 {
        font-size: 2rem;
    }

    #about-section .table-wrapper {
        padding: 15px;
        border-radius: 12px;
    }

    /* テーブルをカード形式に変更 */
    #about-section table,
    #about-section tbody,
    #about-section tr {
        display: block;
    }

    #about-section tr {
        background: white;
        border-radius: 8px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        border: 1px solid #e2e8f0;
    }

    #about-section tr:nth-child(even) {
        background: white;
    }

    #about-section tr:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    #about-section th,
    #about-section td {
        display: block;
        padding: 12px 15px;
        border: none;
        text-align: left;
    }

    #about-section th {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        font-weight: 600;
        font-size: 0.85rem !important;
        margin: 0;
        border-radius: 0;
    }

    #about-section td {
        background: white;
        color: #333;
        font-size: 0.9rem;
        padding-top: 8px;
        padding-bottom: 15px;
    }
    #about-section td .flex-table .cell-name {
        flex: 3;
    }
    #about-section td .flex-table .cell-cnt {
        flex: 1;
    }

    /* 資格の行の調整 */
    #about-section td[colspan="2"] {
        display: inline-block;
        width: calc(70% - 10px);
        margin-right: 10px;
    }

    #about-section td:last-child {
        text-align: left;
        font-weight: 600;
        color: #667eea;
    }

    /* 空のthの非表示 */
    #about-section th:empty,
    #about-section th:contains("&nbsp;") {
        display: none;
    }

    /* 資格情報の特別なスタイリング */
    #about-section tr:has(td[colspan="2"]) th {
        display: none;
    }
}

@media (max-width: 480px) {
    #about-section header h2 {
        font-size: 1.8rem;
    }

    #about-section .table-wrapper {
        padding: 12px;
    }

    #about-section th,
    #about-section td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* アニメーション */
#about-section .fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ローディングアニメーション */
#about-section .table-wrapper {
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}