* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #101625;
  color: #B9C0CE;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 13px;
  line-height: 1.9;
  padding: 40px 20px 80px;
}

a { color: #7C97BA; text-decoration: none; }
a:hover { text-decoration: underline; color: #A2B8D4; }

.page { max-width: 760px; margin: 0 auto; }

/* ヘッダー */
.site-title {
  text-align: center;
  padding-bottom: 26px;
  border-bottom: 1px solid #232B3E;
  margin-bottom: 28px;
}
.site-title a { color: inherit; }
.site-title h1 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: #DCE2EC;
}
.site-title p {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #5E6A82;
}

.today-word {
  text-align: center;
  font-size: 12px;
  color: #5E6A82;
  letter-spacing: 0.08em;
  margin-bottom: 34px;
  font-style: italic;
}

/* レイアウト */
.layout { display: block; }

.nav {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px dotted #232B3E;
  margin-bottom: 36px;
}
.nav h2 {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #5E6A82;
  font-weight: 400;
  margin-bottom: 12px;
}
.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 0;
}
.nav li { font-size: 12px; margin-bottom: 0; }
.nav li a::before { content: "» "; color: #46536B; }
.nav li.current a { color: #DCE2EC; }
.nav li.current a::before { content: "» "; color: #7C97BA; }

.main { flex: 1; min-width: 0; }

.about-line {
  text-align: center;
  font-size: 11.5px;
  color: #5E6A82;
  max-width: 420px;
  margin: 0 auto 40px;
}

section { margin-bottom: 40px; }
section h2 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #C4CBD8;
  border-bottom: 1px solid #232B3E;
  padding-bottom: 6px;
  margin-bottom: 14px;
}
section h2 span { font-size: 10px; color: #4E5A70; letter-spacing: 0.1em; margin-left: 8px; }

.page-title {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #DCE2EC;
  margin-bottom: 24px;
}

/* 日記 */
.diary-entry { margin-bottom: 22px; }
.diary-entry .date {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #5E6A82;
  letter-spacing: 0.05em;
}
.diary-entry p { margin-top: 4px; font-size: 12.5px; color: #AEB6C5; }
.diary-entry .more { display: inline-block; margin-top: 4px; font-size: 11px; }

/* ツイート埋め込み風 */
.tweet {
  border: 1px solid #232B3E;
  background: #151D30;
  padding: 12px 14px;
  font-size: 12px;
  color: #AEB6C5;
  max-width: 380px;
  margin-bottom: 12px;
}
.tweet .tw-head {
  font-family: "Courier New", monospace;
  font-size: 10.5px;
  color: #5E6A82;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

/* 引用 */
.quote-card {
  margin-bottom: 30px;
  padding-left: 18px;
  border-left: 2px solid #232B3E;
}
.quote-card blockquote {
  font-size: 13.5px;
  font-style: italic;
  color: #C4CBD8;
  line-height: 2;
  margin-bottom: 10px;
}
.quote-card .quote-source {
  font-size: 11px;
  color: #5E6A82;
  letter-spacing: 0.05em;
}
.quote-card .quote-source .book-title {
  color: #7C97BA;
}
.quote-card .quote-note {
  margin-top: 8px;
  font-size: 11.5px;
  color: #8C93A3;
}

/* 写真 */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photo-grid div { aspect-ratio: 1; background: #1B2438; border: 1px solid #232B3E; }
.photo-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border: 1px solid #232B3E;
}
.photo-grid.large { grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* リンク集 */
.link-list { list-style: none; font-size: 12px; }
.link-list li { margin-bottom: 8px; }
.link-list li a::before { content: "» "; color: #46536B; }
.link-note { font-size: 10.5px; color: #5E6A82; margin-top: 14px; }

/* プロフィール */
.profile-table { font-size: 12.5px; margin-bottom: 20px; }
.profile-table tr td { padding: 6px 0; vertical-align: top; }
.profile-table tr td:first-child { width: 90px; color: #5E6A82; font-family: "Courier New", monospace; font-size: 11px; }

/* ページネーション */
.pager {
  margin-top: 36px;
  padding-top: 14px;
  border-top: 1px dotted #232B3E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.pager a { color: #7C97BA; }
.pager .pager-num {
  font-family: "Courier New", monospace;
  color: #46536B;
  letter-spacing: 0.05em;
}
.pager .pager-disabled { color: #3A4256; }

/* フッター */
footer {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid #232B3E;
  text-align: center;
  font-size: 10.5px;
  color: #5E6A82;
  letter-spacing: 0.05em;
  font-family: "Courier New", monospace;
}
footer .counter { margin-top: 8px; color: #46536B; }

/* モバイル対応 */
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid.large { grid-template-columns: repeat(2, 1fr); }
}
