:root {--bg-color: #ffffff;--card-bg: #f8f9fa;--text-color: #333333;
    --sub-text: #666666;--accent-color: #1a365d;--accent-hover: #142845;
    --border-color: #eaeaea;--shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);}

body {font-family: 'Noto Sans JP', sans-serif;max-width: 1100px;margin: 1.7rem auto;
    padding: 0;background-color: var(--bg-color);color: var(--text-color);line-height: 1.4;}

header {text-align: center;margin-bottom: 80px;position: relative;}

h1 {font-size: 2.5rem;font-weight: 700;letter-spacing: 0.1em;margin-bottom: 10px;color: var(--text-color);}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 10px;
  margin-bottom: 10px;

  font-size: 0.95em;
  color: #666;
}

#likeButton {
  appearance: none;
  -webkit-appearance: none;

  padding: 2px 10px;

  border: 1px solid #ccc;
  border-radius: 999px;

  background: #fff;
  color: #333;

  font-size: 13px;
  line-height: 1.4;

  cursor: pointer;

  transition:
    background 0.15s,
    transform 0.1s,
    opacity 0.15s;
}

#likeButton:hover {
  background: #f3f3f3;
}

#likeButton:active {
  transform: scale(0.96);
}

#likeButton:disabled {
  opacity: 0.65;
  cursor: default;
}

#likeCount {
  margin-left: 2px;
}


/* アクセスカウンタ：カード全体の配置（左寄せ・小サイズ化） */
.counter-card-wrap {
  display: flex;
  justify-content: flex-start; /* 中央揃えから左寄せに変更 */
  gap: 8px;                    /* カード同士の間隔を少し狭く */
  margin-top: 30px;
  padding-left: 10px;          /* 左端に少しだけ余白を持たせる */
}

/* 個々のカードのスタイル調整 */
.counter-card {
  background: #f8f9fa;
  border: 1px solid #eaeaea;
  border-radius: 4px;          /* 丸みを少しシャープに */
  padding: 4px 12px;           /* 上下左右の余白を狭くして小スリム化 */
  text-align: center;
  min-width: 60px;             /* 横幅の下限を小さく */
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

/* Today / Total の文字 */
.card-label {
  font-size: 10px;             /* 文字を一段階小さく */
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1px;
}

/* カウントの数字 */
.card-num {
  font-size: 14px;             /* 数字を小さく（18pxから14pxへ） */
  font-weight: bold;
  color: #333;
}