body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding: 20px;
}
.language-switcher { text-align: right; margin-bottom: 20px; }
.language-switcher button {
    background: #e9ecef; border: none; padding: 8px 12px; cursor: pointer;
    border-radius: 4px; margin-left: 5px;
}
.language-switcher button.active { background: #007bff; color: white; }
header { text-align: center; margin-bottom: 40px; }
h1 { margin-bottom: 0; }
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid #d0d7de;
    border-radius: 999px;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.contact-chip:hover {
    transform: translateY(-1px);
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.18);
}
.contact-icon {
    width: 18px;
    height: 18px;
    display: block;
    background: #ffffff;
    border-radius: 50%;
    padding: 2px;
    box-sizing: content-box;
}
main { max-width: 900px; margin: 0 auto; }
section { background-color: #fff; padding: 25px; margin-bottom: 25px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
h2 { border-bottom: 2px solid #dee2e6; padding-bottom: 10px; margin-top: 0; }
h3 { color: #495057; }
.job, .edu-item, .pub-item { margin-bottom: 20px; }
.job-meta, .edu-meta { color: #6c757d; font-style: italic; }
ul { padding-left: 20px; }
li { margin-bottom: 8px; }
.skills-grid, .proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* --- フッター用のスタイリングを追加 --- */
.cv-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #dee2e6; /* セクションの区切り線とスタイルを合わせる */
}

.cv-footer a {
    display: inline-block;
    background-color: #007bff; /* アクティブなボタンの色 */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.cv-footer a:hover {
    background-color: #0056b3; /* ホバー時に少し暗い青に */
}
