/* ==========================================================================
   合同会社来Q (RAIKU LLC) — 日誌
   Design System: Ultra-Minimalist Mysterious Dark Serif
   ========================================================================== */

:root {
  --bg-color: #070709;
  --text-main: #d4d4d8;
  --text-dim: #71717a;
  --text-subtle: #3f3f46;
  --accent-soft: #a1a1aa;
  
  --font-serif: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-serif);
  line-height: 2.1;
  letter-spacing: 0.05em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 6rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 680px;
  width: 100%;
}

/* Header */
.site-header {
  margin-bottom: 3rem;
  text-align: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #f4f4f5;
  margin-bottom: 0.5rem;
}

.site-subtitle {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

/* Year & Month Hierarchy Nav */
.archive-nav {
  margin-bottom: 3.5rem;
  padding: 1.2rem;
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.year-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1rem;
}

.year-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.year-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-soft);
}

.year-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
  font-weight: bold;
}

.month-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 0.8rem;
}

.month-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.month-btn:hover {
  color: var(--text-main);
}

.month-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  font-weight: bold;
}

/* Diary Feed */
.diary-feed {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.entry-card {
  position: relative;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--text-subtle);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.entry-card:last-child {
  border-bottom: none;
}

.entry-card:hover {
  opacity: 1;
}

.entry-date {
  font-size: 0.88rem;
  color: #e4e4e7;
  margin-bottom: 1.2rem;
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
  border-left: 2px solid var(--accent-soft);
  padding-left: 10px;
}

.entry-content {
  font-size: 1.02rem;
  color: #d4d4d8;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 2.2;
}

/* Footer */
.site-footer {
  margin-top: 6rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.15em;
}
