@charset "utf-8";


/* =========================
    全体デザイン
========================= */
.update-log {
  max-width: 800px;
  margin: 0 auto;
}


/* =========================
    h1見出しデザイン
========================= */
body.log-page h1 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 2.2rem;           /* ギャラリーより少し大きめ */
  font-weight: 600;
  color: #333;
  text-align: left;
  margin: 2rem 0 1rem 0;
  position: relative;
}

/* 下線装飾 */
body.log-page h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 50px;
  height: 2px;
  background-color: #3f5c6d;  /* サイトアクセントカラー */
}


/* =========================
    年見出し用
========================= */
.update-year {
  margin-top: 3rem;
}

.update-year h2 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25em;
  margin-bottom: 1rem;
}


/* トップページのスクロールボックス用 */
.update-list {
  max-height: 50vh;
  overflow-y: auto;
  padding: 1em;
}

/* ログページでは無効化 */
.update-list.log-page {
  max-height: none;
  overflow: visible;
}


/* 折りたたみマーク */
.update-year h2::after {
  content: '+';
  position: relative;
  right: 0;
  top: 0;
  font-weight: bold;

}
.update-year.open h2::after {
  content: '−';
}


/* 更新リスト */
.update-list.log-page {
  list-style: none;
  padding: 1rem;
  margin: 0;
  display: none; /* 初期は閉じる */
  transition: all 0.3s ease;
}

.update-year.open .update-list.log-page {
  display: block;
}

.update-list.log-page li {
  padding: 0.75em 0;
  border-bottom: 1px dashed #ddd;
}

.update-list.log-page time {
  display: block;
  color: #888;
  margin-bottom: 0.25em;
}




/* Homeボタン */
.back-home {
  text-align: center;
  margin: 3rem 0 2rem;
}

.back-home a {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.back-home a:hover {
  background-color: #ddd;
}




/* レスポンシブ調整（スマホ） */
@media (max-width: 600px) {
  .update-log {
    padding: 1rem;
  }

  .update-year h2 {
    font-size: 1.2rem;
  }

  .back-home a {
    width: 100%;
    text-align: center;
    padding: 0.7em 0;
    font-size: 1rem;
  }
}