/* 記事全体のフォントとバランス */
article {
  max-width: 700px;
  margin: 2em auto;
  line-height: 1.8;
  color: #333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* ヘッダー部分：少し知的なネイビー */
article header h1 {
  font-size: 1.8em;
  color: #1a73e8; /* Google/Geminiをイメージした青 */
  border-bottom: 3px solid #e8f0fe;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

/* 引用：ふんわりした背景で会話を際立たせる */
blockquote {
  background: #f8f9fa;
  border-left: 5px solid #1a73e8;
  margin: 2em 0;
  padding: 1.5em;
  position: relative;
}

blockquote cite {
  display: block;
  text-align: right;
  font-size: 0.9em;
  color: #666;
  margin-top: 1em;
}

/* 説明リスト：カード風にして読みやすく */
dl {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5em;
}

dt {
  font-weight: bold;
  color: #1a73e8;
  font-size: 1.1em;
  margin-top: 1em;
}

dt:first-child {
  margin-top: 0;
}

dd {
  margin-left: 0;
  padding-bottom: 1em;
  border-bottom: 1px dashed #eee;
  color: #555;
}

dd:last-child {
  border-bottom: none;
}

/* 強調：マーカーを引いたようなデザイン */
strong {
  background: linear-gradient(transparent 70%, #d2e3fc 70%);
}

/* アーカイブリストのスタイル */
.article-list {
    list-style: none;
    padding: 0;
}

/* アーカイブ（目次）の強化スタイル */
.article-list li {
    display: flex;
    align-items: baseline;
    padding: 15px 10px; /* 余白を少し広げてクリックしやすく */
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s; /* 色の変化を滑らかに */
    border-radius: 6px;
}

/* マウスを乗せた時の色（薄い青） */
.article-list li:hover {
    background-color: #f0f7ff;
}

/* 日付を整列させる */
.article-list time {
    color: #888;
    margin-right: 20px;
    flex-shrink: 0;
    font-family: 'Courier New', Courier, monospace; /* 数字の幅を揃える */
    font-size: 0.9rem;
}

/* 月ごとの見出し（h3とかで作っている場合） */
.article-list-h3 {
    margin-top: 2rem;
    padding-left: 10px;
    border-left: 4px solid #fbbc04; /* 黄色のアクセント */
    font-size: 1.1rem;
    color: #555;
}

/* 記事タイトルの装飾 */
.article-list a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    flex-grow: 1; /* 行の端までリンクにする */
}

.article-list a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

/* ナビゲーションのスタイル */
.post-nav {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f2f5;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
    color: #1a73e8;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid #e8f0fe;
    border-radius: 4px;
    transition: 0.3s;
}

.nav-links a:hover {
    background-color: #e8f0fe;
}

.post-tags {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.post-tags a {
    color: #1a73e8;
    text-decoration: none;
    margin-right: 8px;
}

/* プロフィール欄の装飾 */
.profile-card {
    border-left: 5px solid #1a73e8 !important; /* 左端を青い太線に */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.02);
}
.profile-card strong {
    background: none; /* ここではマーカーを消してスッキリ */
    color: #1a73e8;
}

/* 外部リンク・出典用スタイル */
.reference-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #f8f9fa;
    color: #1a73e8;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95em;
    border: 1px solid #e8f0fe;
    transition: 0.2s;
}

.reference-link:hover {
    background-color: #e8f0fe;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 外部リンク用アイコン（小さな矢印）を自動でつける */
.reference-link::after {
    content: "↗";
    font-size: 0.8em;
}

/* 補足・参考カード（少し目立たせたい時） */
.info-box {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background-color: #fffaf0; /* 優しいクリーム色 */
    border-left: 4px solid #fbbc04; /* Googleっぽい黄色 */
    border-radius: 4px;
}

.info-box .box-title {
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
}

/* --- フッター全体のデザイン --- */
.site-footer {
    margin-top: 5rem;    /* 記事との間隔をしっかり空ける */
    padding-top: 2rem;
    border-top: 1px solid #eee; /* 薄い線で区切り */
    text-align: right;   /* 全体を右寄せに */
}

/* ナビゲーション部分 */
.footer-nav {
    margin-bottom: 1.5rem; /* コピーライトとの行間を広めに */
}

.footer-nav a {
    text-decoration: none;
    color: #666;          /* 通常時は落ち着いたグレー */
    font-size: 0.9rem;
    margin-left: 20px;    /* リンク同士の間隔 */
    transition: color 0.3s ease;
}

/* リンクホバー時の色（サイト内の青 #1a73e8 に統一） */
.footer-nav a:hover {
    color: #1a73e8;
    background: none;     /* ボックスで囲まない */
}

/* コピーライト部分 */
.copyright {
    color: #999;
    font-size: 0.8rem;
    margin: 0;
}

/* スマホ表示では中央寄せにする（お好みで） */
@media (max-width: 600px) {
    .site-footer {
        text-align: center;
    }
    .footer-nav a {
        display: inline-block;
        margin: 5px 10px;
    }
}