/* 基本設定：ダークモード */
:root {
    --primary-color: #e0e0e0; /* 文字色（反転） */
    --accent-color: #aaaaaa;  /* 強調色（反転） */
    --bg-color: #121212;      /* 背景色（ダーク） */
    --section-bg: #1e1e1e;    /* セクション背景（少し明るいダーク） */
    --link-color: #4da6ff;    /* リンク色（明るい青） */
    --border-color: #333;     /* ボーダー色 */
    --caption-bg: #333333;    /* キャプション背景色（ダークグレー） */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.site-header {
    background-color: var(--section-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-nav ul {
    display: flex;
    gap: 20px;
}

.site-nav a {
    color: var(--accent-color);
    font-weight: 500;
    padding-bottom: 5px;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    text-decoration: none;
}

/* メインコンテンツ共通 */
main {
    padding: 40px 0;
}

.section {
    padding: 40px;
    background-color: var(--section-bg);
    border-radius: 8px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--primary-color);
}

/* Resume (Top) セクション */
.resume-section .text-content {
    font-size: 1.1rem;
    margin-bottom: 30px; /* 画像との間隔 */
    text-align: center; /* ★この1行を追加してください */
}

.resume-section .main-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #333; /* 画像ロード前の背景 */
    margin-bottom: 30px; /* ボタンとの間隔 */
    text-align: center; /
}

/* About Me ボタン */
.action-button-container {
    text-align: center; /* 中央揃え */
    margin-top: 0;
    margin-bottom: 30px;
}

.btn-caption {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--caption-bg); /* ダークグレー背景 */
    color: var(--primary-color); /* 文字色は反転色 */
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.btn-caption:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
}

/* About セクション */
.profile-header {
    margin-bottom: 40px;
}

.profile-header .name {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    color: var(--primary-color);
}

/* 肩書きを削除したのでスタイルも削除 */

.intro {
    font-size: 1.1rem;
}

.info-block {
    margin-bottom: 40px;
}

.block-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.detail-list li {
    margin-bottom: 12px;
    padding-left: 1.5em;
    text-indent: -1.5em; /* 記号のぶら下げインデント */
    color: var(--accent-color);
}

.detail-list li a {
    /* リンク色はグローバル設定を使用 */
}

/* フッター */
.site-footer {
    background-color: var(--section-bg);
    color: var(--accent-color);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto; /* フッターを最下部に */
}

/* レスポンシブ調整（スマホ向け） */
@media (max-width: 600px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-nav {
        margin-top: 15px;
        width: 100%;
    }
    
    .site-nav ul {
        justify-content: flex-start;
    }

    .section {
        padding: 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .profile-header .name {
        font-size: 1.5rem;
    }
}