@charset "utf-8";

/* ==========================================================================
   全体の基本設定（目に優しい生成り色と深いグレー）
   ========================================================================== */
body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif; /* 昔っぽい情緒のある明朝体 */
  font-size: 16px; 
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #fcfbf9; /* 少し温かみのある白 */
  color: #333333; /* 真っ黒ではない、目に優しい炭色 */
  margin: 0;
  padding: 60px 20px;
}

/* 
   ★重要★ 
   画面の中央に「本の1ページ」のような塊（最大幅600px）を作り、
   左右に心地いい余白（空間）を自動で生み出すための設定です。
*/
header, main, footer {
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   各パーツのデザイン
   ========================================================================== */

/* ヘッダー（サイトタイトル部分） */
header {
  margin-bottom: 60px;
  border-bottom: 1px dotted #ccc; /* 昔のサイトによくあった点線 */
  padding-bottom: 20px;
}

header h1 {
  font-size: 1.5rem;
  font-weight: normal;
  margin: 0 0 10px 0;
}

header h1 a {
  color: #333;
  text-decoration: none;
}

.subtitle {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* 季節の画像（ひっそりと中央に佇むサイズ） */
.season-visual {
  margin-bottom: 40px;
  text-align: center;
}

.season-visual img {
  width: 400px; /* お好みに応じて 300px〜450px に変更してください */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.80; /* 少しだけうっすらとさせて、より静かな雰囲気に */
}

/* サイトの紹介文（日記より少しだけ文字を小さく、控えめに） */
.site-introduction {
  font-size: 0.9rem;
  color: #444;
  line-height: 2;
  margin-bottom: 50px;
  text-align: justify; /* 文章の右端を綺麗に揃える */
}

/* メニューのリンク（昔のサイトのような、シンプルな箇条書きの並び） */
.site-menu {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dotted #ccc;
}

.site-menu ul, .essay-list {
  list-style-type: none; /* ドット（・）を消す */
  padding: 0;
  margin: 0;
}

.site-menu li, .essay-list li {
  margin-bottom: 15px;
}

/* リンクの設定（昔のネットを少し思い出す、落ち着いた青） */
.site-menu a, .essay-list a {
  color: #0044aa;
  text-decoration: none;
}

.site-menu a:hover, .essay-list a:hover, .site-title-back a:hover {
  text-decoration: underline; /* マウスを乗せたときだけ下線を出す */
}

/* 日記の塊 */
.diary-entry {
  margin-bottom: 60px;
}

.diary-entry time {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-bottom: 10px;
}

.diary-entry h2 {
  font-size: 1.25rem;
  font-weight: normal;
  margin: 0 0 20px 0;
  color: #222;
}

.diary-entry p {
  margin: 0 0 1.5em 0;
  font-size: 0.95rem;
  text-align: justify;
}

/* --- 日記の中の画像の装飾 --- */
.diary-illustration {
  margin: 30px auto;
  text-align: center;
  max-width: 320px;
  padding: 0;
}
.diary-illustration img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85;
  border-radius: 2px;
}


/* 下層ページからトップへ戻るための小さな文字 */
.site-title-back {
  font-size: 0.85rem;
  margin-bottom: 5px;
}
.site-title-back a {
  color: #666;
  text-decoration: none;
}

/* 随筆目次用の日付の幅固定 */
.essay-list time {
  font-size: 0.85rem;
  color: #888;
  margin-right: 15px;
  display: inline-block;
}

/* フッター（最下部） */
footer {
  margin-top: 30px;
  font-size: 0.8rem;
  color: #999;
  text-align: center;
}
/* --- 随筆の個別ページ用の微調整 --- */
.essay-body {
  margin-top: 40px;
  font-size: 0.95rem; /* ★ここを追加：日記と同じ文字の大きさにします */
}
.essay-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 40px;
}
.essay-body h3 {
  font-size: 1.1rem;
  font-weight: normal;
  margin: 60px 0 20px 0;
  color: #444;
  border-left: 2px solid #ccc;
  padding-left: 10px;
}

/* --- 文章の中の挿絵（イラスト・写真）の装飾 --- */
.essay-illustration {
  margin: 50px auto; /* 上下にゆったりとした隙間を作り、中央に寄せます */
  text-align: center;
  max-width: 240px; /* ★挿絵が大きく主張しすぎないよう、横幅を320pxに制限します */
  padding: 0;
}

.essay-illustration img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85; /* トップページと同じく、少しうっすらとさせて紙に馴染ませます */
  border-radius: 2px; /* 写真の角を、肉眼では分からないくらいほんの少しだけ丸くして柔らかく */
}
/* 日付をリストの回り込みから完全に独立させ、中央に配置する命令 */
.last-updated {
  display: block !important;
  clear: both !important;
  text-align: center !important;
  /* 
     ★ここの数字を小さくしました
     最初の「20px」が上のメニューとの隙間、最後の「0px」が下のフッターとの隙間です
  */
  margin: 20px auto 0px auto !important; 
  font-size: 0.8rem;
  color: #888888;
}
