/* オトナの教科書 — サイト共通スタイル(美女ペディアをベンチマークにした淡色2カラム) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  background: #eef3f6;
  color: #333;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }

/* ヘッダー */
.site-header {
  background: linear-gradient(160deg, #cfe3ee, #e8f1f6);
  text-align: center;
  padding: 44px 16px 32px;
}
.site-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #4a6a80;
}
.site-tagline { color: #7a94a6; font-size: .85rem; margin-top: 6px; letter-spacing: .06em; }

.site-nav {
  background: #fff;
  border-bottom: 1px solid #dde7ed;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 8px;
}
.site-nav a {
  padding: 12px 16px;
  font-size: .9rem;
  color: #4a6a80;
  font-weight: 600;
}
.site-nav a:hover { background: #eef5f9; }

/* レイアウト */
.wrap { max-width: 1080px; margin: 24px auto 48px; padding: 0 16px; }
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }

.page-title {
  font-size: 1.2rem;
  color: #4a6a80;
  border-left: 5px solid #7fb3d5;
  padding-left: 10px;
  margin: 4px 0 16px;
}

/* カード */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(60, 90, 110, .12);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(60, 90, 110, .18); }
.card-body { padding: 12px 14px 14px; }
.card-body h2 { font-size: .95rem; line-height: 1.55; margin: 6px 0 8px; color: #333; }
.card-body time { color: #9ab; font-size: .78rem; }

/* アイキャッチ(写真の代わりの淡色パネル) */
.eyecatch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.card-ec { aspect-ratio: 16 / 9; }
.article-ec { aspect-ratio: 16 / 9; border-radius: 10px; margin: 16px 0 20px; }
.ec-photo { background: #dfe8ee; overflow: hidden; }
.ec-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ec-icon { font-size: 3rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.article-ec .ec-icon { font-size: 4rem; }
.ec-cat {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(255, 255, 255, .85);
  color: #567;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}

.chip {
  display: inline-block;
  background: #eef5f9;
  color: #4a6a80;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

/* サイドバー */
.sidebar section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(60, 90, 110, .12);
  padding: 16px;
  margin-bottom: 20px;
}
.sidebar h3 {
  font-size: .95rem;
  color: #4a6a80;
  border-bottom: 2px solid #cfe3ee;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.sidebar ul { list-style: none; }
.sidebar li { border-bottom: 1px dashed #e4ecf1; }
.sidebar li:last-child { border-bottom: none; }
.sidebar li a { display: block; padding: 8px 2px; font-size: .84rem; color: #456; }
.sidebar li a:hover { color: #2980b9; }
.about-blurb { font-size: .84rem; color: #567; }

/* 記事ページ */
.article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(60, 90, 110, .12);
  padding: 24px 26px 32px;
}
@media (max-width: 560px) { .article { padding: 18px 16px 24px; } }
.article h1 { font-size: 1.35rem; line-height: 1.6; color: #333; margin: 8px 0 10px; }
.article .meta { display: flex; align-items: center; gap: 10px; color: #9ab; font-size: .82rem; }
.breadcrumb { font-size: .78rem; color: #9ab; }
.breadcrumb a { color: #7a94a6; }
.pr-badge {
  display: inline-block;
  border: 1px solid #b7c6d1;
  color: #8798a5;
  font-size: .7rem;
  padding: 0 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.lead { margin: 4px 0 20px; }

.learn-box, .target-box {
  border: 1px solid #dde7ed;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.learn-box h2, .target-box h2, .related h2 {
  font-size: 1rem;
  color: #4a6a80;
  border-left: 4px solid #7fb3d5;
  padding-left: 8px;
  margin-bottom: 10px;
}
.learn-box ul { list-style: none; }
.learn-box li { padding: 6px 0 6px 26px; position: relative; }
.learn-box li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: #52a06e;
  font-weight: 700;
}

/* CTA */
.cta { text-align: center; margin: 26px 0; }
.btn {
  display: block;
  background: linear-gradient(135deg, #ef8595, #f4a9b4);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 20px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(230, 120, 140, .35);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sub { background: linear-gradient(135deg, #5aa1d8, #86bce4); box-shadow: 0 3px 8px rgba(80, 140, 200, .35); }
.note { font-size: .78rem; color: #9ab; margin-top: 10px; }

.premium {
  background: #f4f9fc;
  border: 1px solid #cfe3ee;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
  text-align: center;
}
.premium h3 { color: #4a6a80; margin-bottom: 10px; }
.premium ul { list-style: none; font-size: .88rem; margin-bottom: 14px; }

.related { margin-top: 10px; }

/* ページャ */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.pager a {
  background: #fff;
  color: #4a6a80;
  font-weight: 700;
  font-size: .88rem;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(60, 90, 110, .12);
}
.pager a:hover { background: #eef5f9; }
.pager span { color: #8aa; font-size: .85rem; }

/* 固定ページ */
.static-page h2 { font-size: 1.05rem; color: #4a6a80; margin: 22px 0 8px; }
.static-page ul { margin-left: 1.4em; }

/* フッター */
.site-footer {
  background: #dfeaf1;
  text-align: center;
  padding: 26px 16px 30px;
  font-size: .8rem;
  color: #6b8496;
}
.site-footer nav { margin-bottom: 8px; }
.site-footer a { text-decoration: underline; }
