
/* 基本的なスタイル設定 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0d1117; /* GitHub Dark Mode Background */
    color: #c9d1d9; /* Light text for dark background */
    scroll-behavior: smooth;
}
.section-title {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #38bdf8; /* Sky Blue accent */
    border-radius: 9999px;
}
/* サブセクションのタイトルのスタイル */
.subsection-title {
    color: #38bdf8; /* Sky Blue */
    font-weight: 600; /* semi-bold */
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid #38bdf8;
}
/* プロジェクトカードのホバーエフェクト */
.project-card {
    cursor: pointer;
    transition: all 0.3s ease;
}
.project-card:hover .project-thumbnail {
    transform: translateY(-5px);
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border-color: #38bdf8;
}
/* ヘッダーのオフセット調整（アンカーリンク用） */
section {
    scroll-margin-top: 100px;
}

/* トグル（details/summary）のスタイル */
details summary {
    list-style: none;
    cursor: pointer;
    outline: none;
}
details summary::-webkit-details-marker {
    display: none;
}
details[open] summary .toggle-icon {
    transform: rotate(90deg);
}

/* 論文リストのホバー強調 */
.pub-item:hover {
    background-color: rgba(56, 189, 248, 0.03);
}

/* モーダルアニメーション */
#project-modal {
    transition: opacity 0.3s ease;
}
#modal-content {
    transition: transform 0.3s ease;
}
body.modal-open {
    overflow: hidden;
}
