/* ========== Magazine Base ========== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600&family=Noto+Serif+JP:wght@600;700&display=swap");

:root{
  --bg: #f5f3ef;        /* 紙っぽい */
  --paper: #ffffff;     /* 記事カード */
  --ink: #111111;
  --muted: #666;
  --line: rgba(17,17,17,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 16px;
}

html, body{
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* リンクの「青＋下線」を雑誌っぽく整える */
a{
  color: var(--ink);
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ヘッダー（ブログ名まわり） */
#blog-title, .header-title, .header-title a{
  font-family: "Noto Serif JP", Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}
#blog-title a, .header-title a{
  font-weight: 700;
}
#blog-description, .header-description{
  color: var(--muted);
}

/* ========== Layout width ========== */
#content, .content, .wrapper, .container{
  max-width: 1040px;
}

/* 本文の読み幅（記事ページ） */
.entry-content{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: .02em;
}

/* ========== Headings (Magazine) ========== */
.entry-content h2, .entry-content h3{
  font-family: "Noto Serif JP", Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}
.entry-content h2{
  font-size: 1.35em;
  margin: 2.1em 0 .8em;
  padding-bottom: .35em;
  border-bottom: 2px solid var(--ink);
}
.entry-content h3{
  font-size: 1.15em;
  margin: 1.6em 0 .6em;
  padding-left: .7em;
  border-left: 4px solid var(--ink);
}

/* 画像・引用など */
.entry-content img{
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  margin: 1.2em 0;
}
.entry-content blockquote{
  border-left: 4px solid var(--ink);
  padding: .2em 1em;
  color: #222;
  background: rgba(255,255,255,.55);
  border-radius: 12px;
}

/* ========== Index/Archive: Card list ========== */
/* はてなブログの構造（archive-entry / entry-title 等）に合わせて装飾 */
.page-index .entry,
.page-archive .archive-entry{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  margin: 0 0 22px 0;
}

/* 記事タイトル（一覧/個別） */
.entry-title, .archive-entry .entry-title{
  font-family: "Noto Serif JP", Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
  line-height: 1.25;
}
.entry-title a, .archive-entry .entry-title a{
  font-weight: 700;
}

/* 日付・カテゴリの“メタ行” */
.date, .entry-date, .entry-categories, .categories{
  color: var(--muted);
  font-size: 0.9em;
}
.entry-categories a, .categories a{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 「続きを読む」ボタンっぽく */
a.entry-see-more, .entry-see-more a, .more a{
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
}
a.entry-see-more:hover, .entry-see-more a:hover, .more a:hover{
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

/* サイドバーも“紙”に */
#box2, .hatena-module{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 16px;
  margin-bottom: 18px;
}
.hatena-module-title{
  font-family: "Noto Serif JP", Georgia, "Times New Roman", serif;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  padding-bottom: .4em;
  margin-bottom: .8em;
}
