/* ================================================================
   出典のある美容 — 上質な化粧品ブランド風

   色を足すのではなく、余白と罫線で品を作る。
   彩度は低く、線は細く、動きは控えめに。
   ================================================================ */

:root {
  --bg:        #faf7f4;  /* 温かいベージュ */
  --bg-raised: #fffdfc;  /* カードの白（純白より少し温かい） */
  --bg-wash:   #f4ece7;  /* 見出し帯・強調の下地 */

  --ink:       #2e2724;  /* やわらかい墨。真っ黒にしない */
  --ink-soft:  #6b615b;
  --ink-mute:  #9c918a;

  --rule:      #e8ded4;  /* 罫線 */
  --rule-soft: #f0e8e1;
  --gold:      #c9b391;  /* シャンパンゴールド。差し色ではなく「線」に使う */
  --rose:      #b5776f;  /* くすんだローズ。ここぞの一点だけ */
  --rose-wash: #f6ebe8;

  /* 図版の色。飾りの色（--gold）はデータには使わない。
     明度・彩度・色覚多様性・コントラストの検証を通した値だけを使う。 */
  --chart-1:    #9c4f47;
  --chart-2:    #3a6ea5;
  --chart-track: #efe7e0;
  --chart-off:  #b9aca3;

  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Times New Roman", serif;
  --sans:  "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #1a1614;
    --bg-raised: #221e1b;
    --bg-wash:   #2a2421;

    --ink:       #ece4dd;
    --ink-soft:  #b8aca4;
    --ink-mute:  #8d827b;

    --rule:      #352f2b;
    --rule-soft: #2a2522;
    --gold:      #ab9370;
    --rose:      #d99a92;
    --rose-wash: #2e2320;

    /* ダークは明るくしただけの色ではなく、暗い地の上で検証し直した値 */
    --chart-1:    #cd7a6f;
    --chart-2:    #5f95cf;
    --chart-track: #302a27;
    --chart-off:  #6e635c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 2.05;          /* 日本語は行間を広く取ると上品になる */
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--rose); }

/* ---------- ヘッダー ---------- */

.site-header {
  padding: 54px 0 30px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.brand { display: block; text-decoration: none; color: inherit; }

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;           /* 明朝は太らせない。細いほど品が出る */
  letter-spacing: .22em;      /* 字間を広く取るのがブランドサイトの型 */
  line-height: 1.5;
  text-indent: .22em;         /* 字間を広げた分の中央ズレを戻す */
}

/* ブランド名の下に、細い金の線を一本だけ引く */
.brand-name::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--gold);
}

.brand-tagline {
  display: block;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: .12em;
  line-height: 1.9;
}

.site-nav {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 12px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: .16em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.site-nav a:hover {
  color: var(--rose);
  border-bottom-color: var(--gold);
}

/* ---------- トップページ ---------- */

.hero {
  padding: 0 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: center;
}

.hero-lead {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: .1em;
  margin: 0 0 26px;
}

.hero-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 2.1;
  text-align: left;
}

.hero-body strong {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.section-heading {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .32em;
  color: var(--ink-mute);
  text-align: center;
  margin: 0 0 40px;
  text-indent: .32em;
}

.article-list {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: grid;
  gap: 24px;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 20px rgba(46, 39, 36, .05);
}

.card-link {
  display: block;
  padding: 34px 32px 30px;
  text-decoration: none;
  color: inherit;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .14em;
  margin-bottom: 18px;
}

.chip {
  display: inline-block;
  padding: 3px 12px;
  background: var(--bg-wash);
  color: var(--ink-soft);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-indent: .18em;
}

.card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .06em;
  margin: 0 0 10px;
  transition: color .3s ease;
}

.card:hover .card-title { color: var(--rose); }

.card-subtitle {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: .06em;
}

.card-summary {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--ink-soft);
}

.card-more {
  display: inline-block;
  font-size: 11px;
  color: var(--rose);
  letter-spacing: .2em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
}

/* ---------- 記事ページ ---------- */

.post { padding-bottom: 48px; }

.post-header {
  text-align: center;
  padding-bottom: 40px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.post-header .card-meta { justify-content: center; }

.post-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .07em;
  margin: 0 0 16px;
}

.post-subtitle {
  margin: 0;
  color: var(--ink-mute);
  font-size: 13.5px;
  letter-spacing: .08em;
}

.post-body { font-size: 16.5px; }

.post-body h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .07em;
  margin: 72px 0 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

/* 見出しの下線の左端だけを金にする。派手にせず、目印になる */
.post-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.post-body h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .06em;
  margin: 48px 0 18px;
}

.post-body p { margin: 0 0 1.9em; }

/* 強調は蛍光ペンにしない。細い下線で品よく */
.post-body strong {
  font-weight: 500;
  background: linear-gradient(transparent 68%, var(--rose-wash) 68%);
  padding: 0 2px;
}

.post-body a { text-underline-offset: 4px; }

.post-body ul,
.post-body ol {
  margin: 0 0 1.9em;
  padding-left: 1.5em;
}

.post-body li { margin-bottom: .9em; }
.post-body li::marker { color: var(--gold); }

.post-body blockquote {
  margin: 0 0 1.9em;
  padding: 8px 0 8px 26px;
  border-left: 2px solid var(--gold);
  color: var(--ink-soft);
  font-family: var(--serif);
  letter-spacing: .06em;
}

.post-body blockquote p:last-child { margin-bottom: 0; }

/* 区切り線は、中央に小さな菱形をひとつ */
.post-body hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 64px 0;
  position: relative;
  overflow: visible;
}

.post-body hr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  background: var(--bg-wash);
  padding: 2px 6px;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.9em;
  border: 1px solid var(--rule);
}

.post-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
  line-height: 1.95;
}

.post-body th,
.post-body td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
  vertical-align: top;
}

.post-body th {
  background: var(--bg-wash);
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
}

.post-body tr:last-child td { border-bottom: 0; }

.post-body h3 + ol { font-size: 13px; color: var(--ink-soft); line-height: 1.95; }

/* ---------- 図版 ---------- */

.fig {
  margin: 52px 0;
  padding: 30px 28px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--rule);
}

.fig-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .05em;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}

.fig-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: -8px 0 22px;
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.fig-key { display: inline-flex; align-items: center; gap: 6px; }

.fig-swatch { display: inline-block; width: 10px; height: 10px; }
.fig-swatch.fig-col-1 { background: var(--chart-1); }
.fig-swatch.fig-col-2 { background: var(--chart-2); }

.fig-chart { display: grid; gap: 12px; }

.fig-row.is-grouped { align-items: center; }

.fig-track.is-grouped {
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;                 /* 隣り合う塗りの間に必ず地の色を残す */
}

.fig-track.is-grouped .fig-bar { height: 9px; }
.fig-bar.fig-col-1 { background: var(--chart-1); }
.fig-bar.fig-col-2 { background: var(--chart-2); }

.fig-value.is-stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  font-size: 11px;
}

.fig-row {
  display: grid;
  grid-template-columns: 8.5em 1fr auto;
  align-items: center;
  gap: 12px;
}

.fig-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.fig-track {
  position: relative;
  height: 20px;
  background: var(--chart-track);
}

.fig-bar {
  display: block;
  height: 100%;
  background: var(--chart-1);
  border-radius: 0 3px 3px 0;   /* データの端だけ丸める */
}

/* 「観察期間内に戻らなかった」など、値が確定していないもの。
   実測値と同じ塗りにしない。 */
.fig-bar.is-pending {
  background: repeating-linear-gradient(
    135deg,
    var(--chart-1) 0 3px,
    transparent 3px 7px
  );
  border: 1px solid var(--chart-1);
  border-left: 0;
  box-sizing: border-box;
}

/* 基準線 */
.fig-ref {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 0;
  border-left: 1px dashed var(--ink-mute);
}

.fig-value {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .04em;
  min-width: 3.4em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fig-unit,
.fig-note {
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--ink-mute);
  margin: 20px 0 0;
  letter-spacing: .02em;
}

.fig-note { margin-top: 6px; }

.fig-ref-key {
  display: inline-block;
  width: 14px;
  border-top: 1px dashed var(--ink-mute);
  vertical-align: middle;
  margin-right: 4px;
}

.fig figcaption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--ink-mute);
  letter-spacing: .02em;
}

/* 対比表 */
.fig-matrix { border-collapse: collapse; width: 100%; font-size: 13px; }

.fig-matrix th,
.fig-matrix td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
  white-space: nowrap;
}

.fig-matrix thead th {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.fig-matrix tbody th {
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--bg-wash);
}

.fig-matrix tbody tr:last-child th,
.fig-matrix tbody tr:last-child td { border-bottom: 0; }

.fig-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: baseline;
}

.fig-dot.fig-col-1.is-on  { background: var(--chart-1); }
.fig-dot.fig-col-2.is-on  { background: var(--chart-2); }
.fig-dot.is-off {
  background: transparent;
  border: 1px solid var(--chart-off);
}

/* 根拠の階段 */
.fig-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }

.fig-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.fig-pips { display: flex; gap: 3px; padding-top: 5px; }

.fig-pip {
  display: block;
  width: 7px;
  height: 14px;
  background: transparent;
  border: 1px solid var(--chart-off);
}

.fig-pip.is-on { background: var(--chart-1); border-color: var(--chart-1); }

.fig-step-name {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: .03em;
}

.fig-step-note {
  display: block;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-mute);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .fig { padding: 22px 18px 18px; margin: 40px -18px; border-left: 0; border-right: 0; }
  .fig-row { grid-template-columns: 6.5em 1fr auto; gap: 8px; }
  .fig-label { font-size: 11.5px; }
  .fig-value { font-size: 11.5px; min-width: 3em; }
}

.post-footer {
  margin-top: 72px;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.post-note {
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--ink-mute);
  background: var(--bg-wash);
  padding: 24px 26px;
  margin: 0 0 34px;
  text-align: left;
  letter-spacing: .04em;
}

.back-link {
  display: inline-block;
  font-size: 11.5px;
  text-decoration: none;
  letter-spacing: .2em;
  color: var(--ink-soft);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  transition: color .25s ease;
}

.back-link:hover { color: var(--rose); }

/* ---------- PR表記・関連商品 ---------- */

/* 法律上の義務。目立たない場所に隠さない。 */
.pr-banner {
  margin: 20px 0 0;
  padding: 8px 14px;
  display: inline-block;
  background: var(--bg-wash);
  border: 1px solid var(--rule);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.products {
  margin: 64px 0 0;
  padding: 32px 30px 28px;
  border: 1px solid var(--rule);
  background: var(--bg-raised);
}

.products-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .08em;
  margin: 0 0 14px;
}

.products-lead {
  margin: 0 0 24px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--ink-mute);
}

.products-lead strong { color: var(--ink-soft); font-weight: 500; }

.products-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }

.prod {
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
}

.prod:first-child { padding-top: 0; border-top: 0; }

.prod-name {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .03em;
  text-underline-offset: 4px;
}

.prod-criterion {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .products { padding: 24px 20px 20px; margin-left: -20px; margin-right: -20px; }
}

/* ---------- 質問箱（読者リストの入口） ---------- */

.cta {
  margin: 72px 0 0;
  padding: 40px 36px 36px;
  background: var(--bg-wash);
  border-top: 1px solid var(--gold);
  text-align: center;
}

.article-list + .cta { margin-top: 8px; margin-bottom: 40px; }

.cta-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.8;
  margin: 0 0 18px;
}

.cta-body {
  margin: 0 auto 28px;
  max-width: 30em;
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-soft);
  text-align: left;
}

.cta-body strong {
  color: var(--ink);
  font-weight: 500;
}

.cta-action { margin: 0 0 22px; }

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: .16em;
  text-indent: .16em;
  transition: background .25s ease;
}

.cta-button:hover { background: var(--rose); }

.cta-note {
  margin: 0 auto;
  max-width: 32em;
  font-size: 11.5px;
  line-height: 1.95;
  color: var(--ink-mute);
}

/* ---------- 広告枠 ---------- */

.adbox {
  margin: 48px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
}

.adbox-label {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-mute);
}

.adbox-label a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.adbox-label a:hover { color: var(--rose); }

.policy-updated {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .06em;
}

@media (max-width: 600px) {
  .cta { padding: 32px 20px 28px; margin-left: -20px; margin-right: -20px; }
  .cta-title { font-size: 17px; }
  .cta-button { padding: 14px 28px; font-size: 12.5px; }
}

/* ---------- フッター ---------- */

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  padding: 44px 0 72px;
  text-align: center;
}

.disclaimer {
  font-size: 11.5px;
  line-height: 2.1;
  color: var(--ink-mute);
  margin: 0 0 26px;
  text-align: left;
  letter-spacing: .03em;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 0 20px;
  font-size: 11.5px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: .1em;
}

.footer-links a:hover { color: var(--rose); }

.copyright {
  font-size: 11px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: .2em;
  text-indent: .2em;
}

/* ---------- スマホ ---------- */

@media (max-width: 600px) {
  body { font-size: 15.5px; line-height: 2.0; }
  .wrap { padding: 0 20px; }

  .site-header { padding: 38px 0 24px; margin-bottom: 44px; }
  .brand-name { font-size: 21px; letter-spacing: .18em; text-indent: .18em; }
  .site-nav { gap: 20px; }

  .hero { padding-bottom: 40px; margin-bottom: 40px; }
  .hero-lead { font-size: 17.5px; line-height: 2.0; }

  .card-link { padding: 26px 22px 24px; }
  .card-title { font-size: 18px; }

  .post-title { font-size: 21px; }
  .post-body { font-size: 15.5px; }
  .post-body h2 { font-size: 18.5px; margin-top: 56px; }
  .post-body h3 { font-size: 16.5px; }
  .post-note { padding: 20px 18px; }
}
