/* 記事のスタイル。
   検索から来た人が最初に触れる画面なので、まず読めることを優先する。
   --accent と --accent-soft は body の style で年ごとに差し替わる。 */

:root {
  --paper: #fffaf3;
  --ink: #2a2333;
  --ink-soft: #57506a;
  --ink-faint: #8b8296;
  --rule: #eee4d6;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

.bar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  background: #fff;
}

.bar a {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}

.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 20px 72px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.lead {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.fig {
  margin: 0 0 34px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  background: var(--accent-soft);
}

.fig img { display: block; width: 100%; height: auto; }

section { margin: 0 0 40px; }

h2 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

h3 {
  margin: 26px 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}

p { margin: 0 0 16px; }

.note {
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* 特徴のことば */
.kw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.kw li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

/* 生まれ年のリンク */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.chips a {
  display: block;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.chips a:hover, .chips a:focus-visible { border-color: var(--accent); color: var(--accent); }

/* 伸びる場所 / 消耗する場所 */
/* 記事の途中に挟む図版。文字が続く区間を切って、読み進めやすくする */
.figure {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0 6px;
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.two { display: grid; gap: 12px; }

.two > div {
  padding: 16px 18px;
  border-radius: 12px;
  border-left: 4px solid;
}

.two h3 { margin: 0 0 6px; font-size: 14px; }
.two p { margin: 0; font-size: 14.5px; line-height: 1.9; }
.good { background: #f2f8f4; border-color: #6aab86; }
.good h3 { color: #3f8a5f; }
.bad { background: #fdf3f2; border-color: #d98a8a; }
.bad h3 { color: #b45f5f; }

/* 読み進める手がかり。長い本文の中で、目を止める場所を作る */
.pull {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--accent);
  background: #fff;
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
}

/* 特徴のチェックリスト。眺めるだけの一覧より、自分で確かめる形にする */
.check {
  margin: 0 0 10px;
  padding: 18px 20px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.check li {
  position: relative;
  padding: 8px 0 8px 34px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px dashed var(--rule);
}

.check li:last-child { border-bottom: none; }

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 5px;
}

.check-note { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 4px; }

/* 診断への導線 */
.cta {
  margin: 34px 0;
  padding: 26px 22px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  background: var(--accent-soft);
  text-align: center;
}

.cta-lead { margin: 0 0 16px; font-size: 16px; font-weight: 800; line-height: 1.7; }

.cta-btn {
  display: block;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.cta-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-faint); }

.near { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--rule); }
.near h2 { border: none; padding: 0; font-size: 16px; }
.back a { color: var(--accent); font-weight: 700; }

.foot {
  padding: 26px 20px 40px;
  border-top: 1px solid var(--rule);
  background: #fff;
  text-align: center;
}

.foot p { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.disclaimer { font-weight: 400; font-size: 12px; color: var(--ink-faint); line-height: 1.8; }

@media (min-width: 620px) {
  .two { grid-template-columns: 1fr 1fr; }
  body { font-size: 16.5px; }
}
