/* 全体設定 */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
}

/* ヘッダー */
header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-left: 1.5rem;
}

header nav a {
    text-decoration: none;
    color: rgb(85, 144, 136);
    font-weight: 500;
    transition: color 0.2s;
}

header nav a:hover {
    color: rgb(65, 124, 116);
}


/* リンク */
a {
    color: rgb(85, 144, 136);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 見出し */
h1, h2 {
    color: #212529;
}

/* レイアウト */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background-color: #fff;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 自己紹介セクション */
#about {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#about .about-text {
    flex: 2;
}

#about .about-image {
    flex: 1;
    text-align: center;
}

.profile-pic {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: cover;
}

/* 経歴・経験セクション */
#history ul, #experience ul {
    list-style: none;
    padding: 0;
}

#history li, #experience li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

#history li span, #experience li span {
    display: inline-block;
    width: 180px;
    margin-right: 1rem;
    color: #6c757d;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ブログ一覧 */
#blog-list {
    list-style: none;
    padding: 0;
}

#blog-list li {
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s;
}

#blog-list li:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

#blog-list a {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ブログ記事 */
#post-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#post-content h1, #post-content h2, #post-content h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

#post-content p {
    margin-bottom: 1rem;
}

#post-content code {
    background-color: #e9ecef;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

#post-content pre {
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}
