/* --- style.css --- */

/* 変数定義 */
:root {
  --primary-color: #FF9AA2;   /* サーモンピンク */
  --secondary-color: #B5EAD7; /* ミントグリーン */
  --accent-color: #FFB7B2;    /* 薄いピンク */
  --text-color: #555555;      /* 濃いグレー */
  --bg-color: #FFF9FA;        /* ほんのりピンクがかった白 */
  --card-bg: #FFFFFF;         /* 真っ白 */
  --shadow: 0 10px 20px rgba(0,0,0,0.05); /* ふんわりした影 */
}

/* 基本設定 */
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: 'M PLUS Rounded 1c', 'BIZ UDPゴシック', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  background-image: radial-gradient(#FF9AA2 1px, transparent 1px);
  background-size: 40px 40px;
}
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #FF6F7D;
}

/* ヘッダー */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(255, 154, 162, 0.2);
}
header h1 {
  margin: 0;
  font-size: 2.2em;
  color: var(--text-color);
  letter-spacing: 2px;
}
header h1 span {
  color: var(--primary-color);
}

/* レイアウト */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}

/* カード共通 */
.card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  border: 1px solid rgba(0,0,0,0.02);
}

/* 見出し */
h2 {
  font-size: 1.5em;
  color: var(--text-color);
  border-bottom: 3px dashed var(--secondary-color);
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 20px;
  display: inline-block;
}

/* タイムライン風ログ */
.log-container {
    position: relative;
    padding-left: 20px;
}
.update-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 3px solid #eee;
}
.update-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 13px;
    height: 13px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid #fff;
}
.log-date {
  display: block;
  font-size: 0.85em;
  color: #999;
  font-weight: bold;
  margin-bottom: 4px;
}
.log-text {
  margin: 0;
}

/* サイドバー */
.sidebar .card {
    background: #FFFFFF;
    border: 4px solid #FFF0F5;
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-menu li {
  margin-bottom: 12px;
}
.sidebar-menu a {
  display: block;
  padding: 12px 15px;
  background: #FDF6F9;
  border-radius: 12px;
  color: var(--text-color);
  font-weight: bold;
  position: relative;
  overflow: hidden;
}
.sidebar-menu a::before {
    content: "🧪";
    margin-right: 8px;
    font-size: 0.8em;
}
.sidebar-menu a:hover {
  background: var(--secondary-color);
  color: #fff;
  padding-left: 20px;
}

/* フッター */
footer {
  background: #fff;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #eee;
  color: #aaa;
  margin-top: 60px;
  border-radius: 50% 50% 0 0 / 20px 20px 0 0;
}
.social-links a {
    margin: 0 10px;
    font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  header h1 {
    font-size: 1.6em;
  }
}