@charset "UTF-8";
/* ==========================================================================
   基礎化粧品ドットコム  style.css
   HTML + CSS のみで動作するレスポンシブデザイン（モバイルファースト）
   ========================================================================== */

/* ---------- 1. デザイントークン ---------- */
:root {
  --bg: #faf6f3;
  --surface: #ffffff;
  --surface-2: #fbf8f6;
  --ink: #2d2624;
  --ink-2: #574d49;
  --muted: #6f6560;
  --line: #ece3dd;
  --line-2: #dccfc7;
  --rose: #b0546b;
  --rose-dark: #8d3d52;
  --rose-tint: #f8ebee;
  --sage: #47766a;
  --sage-tint: #e6f0eb;
  --gold: #8a6216;
  --gold-tint: #fbf3e3;
  --gold-line: #eedbb5;
  --marker: linear-gradient(transparent 58%, #ffe1a1 58%);
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(70, 45, 35, .05), 0 8px 24px rgba(70, 45, 35, .06);
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --wrap: 1140px;
}

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: var(--rose-dark); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-feature-settings: "palt"; letter-spacing: .04em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 8px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. ヘッダー ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: block; }
.brand-name { display: block; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.25; letter-spacing: .08em; }
.brand-tag { display: block; font-size: .7rem; color: var(--muted); line-height: 1.4; letter-spacing: .03em; }
.header-cta { display: none; font-size: .8rem; font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--rose-tint); color: var(--rose-dark); white-space: nowrap; }
.header-cta:hover { background: var(--rose); color: #fff; }

.gnav { border-top: 1px solid var(--line); background: var(--surface); }
.gnav ul {
  display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0 8px;
  max-width: var(--wrap); overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.gnav ul::-webkit-scrollbar { display: none; }
.gnav a { display: block; padding: 12px 12px 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--rose-dark); border-bottom-color: var(--rose); }

@media (min-width: 768px) {
  .header-in { padding-top: 20px; padding-bottom: 16px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 1.45rem; }
  .brand-tag { font-size: .76rem; }
  .header-cta { display: inline-block; }
  .gnav ul { justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .gnav a { padding: 13px 18px 11px; font-size: .9rem; }
}

/* ---------- 4. パンくず ---------- */
.breadcrumb { font-size: .76rem; color: var(--muted); padding-top: 14px; padding-bottom: 12px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--rose-dark); text-decoration: underline; }

/* ---------- 5. レイアウト ---------- */
.layout { display: grid; gap: 32px; padding-bottom: 56px; }
.main-col { min-width: 0; }
@media (min-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .sidebar { position: relative; }
}

/* ---------- 6. 記事 ---------- */
.article { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 18px 36px; }
@media (min-width: 768px) { .article { padding: 44px 52px 56px; } }
.article-header { margin-bottom: 24px; }
.article-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cat-label { display: inline-block; font-size: .74rem; font-weight: 700; line-height: 1.6; color: var(--rose-dark); background: var(--rose-tint); padding: 2px 12px; border-radius: 999px; text-decoration: none; }
.cat-label.sage { color: var(--sage); background: var(--sage-tint); }
.cat-label.gold { color: var(--gold); background: var(--gold-tint); }
.pr-label { display: inline-block; font-size: .72rem; line-height: 1.6; color: var(--muted); border: 1px solid var(--line-2); padding: 1px 10px; border-radius: 6px; }
.article h1 { font-size: 1.42rem; line-height: 1.55; margin: 0 0 12px; }
@media (min-width: 768px) { .article h1 { font-size: 1.85rem; } }
.meta { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0; font-size: .78rem; color: var(--muted); }
.lead { font-size: 1rem; color: var(--ink-2); margin: 18px 0 0; padding: 16px 18px; background: var(--surface-2); border-radius: var(--radius-s); border: 1px solid var(--line); }

.notice { margin: 0 0 24px; padding: 14px 16px 14px 44px; position: relative; background: #f5f2ef; border-radius: var(--radius-s); font-size: .84rem; line-height: 1.75; color: var(--ink-2); }
.notice::before { content: "i"; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); color: #fff; font: 700 .75rem/20px Georgia, serif; text-align: center; }
.notice p { margin: 0; }
.notice strong { color: var(--ink); }

/* 目次 */
.toc { margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface-2); }
.toc summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc ol { margin: 0; padding: 0 18px 16px 2.4em; font-size: .92rem; line-height: 1.7; }
.toc li { margin: .4em 0; }
.toc li::marker { color: var(--rose); font-weight: 700; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--rose-dark); text-decoration: underline; }

/* 本文 */
.entry { font-size: 1rem; }
@media (min-width: 768px) { .entry { font-size: 1.0625rem; } }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0 0 1.45em; }
.entry h2 { font-size: 1.28rem; line-height: 1.55; margin: 2.6em 0 1.1em; padding: .75em 1em; background: var(--rose-tint); border-left: 5px solid var(--rose); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.entry h3 { position: relative; font-size: 1.12rem; line-height: 1.6; margin: 2.2em 0 .9em; padding: 0 0 .45em; border-bottom: 2px solid var(--line); }
.entry h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 3.5em; height: 2px; background: var(--rose); }
.entry h4 { font-size: 1.02rem; line-height: 1.6; margin: 1.8em 0 .7em; padding-left: .75em; border-left: 4px solid var(--sage); }
.entry h2 + h3 { margin-top: 1.2em; }
.entry ul, .entry ol { margin: 0 0 1.45em; padding-left: 1.5em; }
.entry li { margin: .35em 0; }
.entry li::marker { color: var(--rose); }
.entry strong { font-weight: 700; }
.entry .marker { background: var(--marker); font-weight: 700; }
.entry .em { color: var(--rose-dark); font-weight: 700; }
.entry .sub { color: var(--sage); font-weight: 700; }
.entry .note { color: var(--muted); font-size: .9em; }
.entry .warning { color: #b23a3a; font-weight: 700; }
.entry .tag-chip { display: inline-block; margin: 2px 0; padding: 0 10px; border-radius: 6px; background: var(--gold-tint); color: var(--gold); font-weight: 700; font-size: .9em; }
.entry hr { border: 0; border-top: 1px dashed var(--line-2); margin: 2.4em 0; }

.entry figure { margin: 0 0 1.6em; }
.entry figure.ph { display: grid; gap: 12px; justify-items: center; }
.entry figure.ph img { display: block; border-radius: var(--radius-s); }
@media (min-width: 640px) { .entry figure.ph.multi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entry figcaption { font-size: .8rem; color: var(--muted); text-align: center; }
.entry .banner { text-align: center; position: relative; padding-top: 18px; }
.entry .banner::before { content: "PR"; position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: .66rem; letter-spacing: .1em; color: var(--muted); }
.entry .center { text-align: center; }

.entry blockquote { margin: 0 0 1.6em; padding: 1.1em 1.3em; background: var(--surface-2); border-left: 4px solid var(--line-2); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink-2); font-size: .94em; }
.entry blockquote p:last-child { margin-bottom: 0; }

.entry .zenseibun { font-size: .8rem; line-height: 1.8; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 1em 1.2em; border-radius: var(--radius-s); }

.entry .video { aspect-ratio: 16 / 9; margin: 0 0 1.6em; }
.entry .video iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: var(--radius-s); }

.entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .92em; }
.entry .table-scroll { overflow-x: auto; margin: 0 0 1.6em; }
.entry .table-scroll table { margin: 0; min-width: 520px; }
.entry th, .entry td { border: 1px solid var(--line); padding: .7em .9em; text-align: left; vertical-align: top; line-height: 1.7; }
.entry th { background: var(--rose-tint); font-weight: 700; }
.entry tbody th { background: var(--surface-2); white-space: nowrap; }

/* チェックリスト */
.entry .check-list { list-style: none; padding: 1em 1.2em; background: var(--sage-tint); border-radius: var(--radius-s); }
.entry .check-list li { position: relative; padding-left: 1.7em; }
.entry .check-list li::before { content: ""; position: absolute; left: .2em; top: .55em; width: .55em; height: .9em; border-right: 3px solid var(--sage); border-bottom: 3px solid var(--sage); transform: rotate(40deg); }

/* Q&A */
.entry .qa-list { margin: 0 0 1.6em; }
.entry .qa-list dt, .entry .qa-list dd { position: relative; padding-left: 2.4em; }
.entry .qa-list dt { font-weight: 700; margin-top: 1.2em; }
.entry .qa-list dt:first-child { margin-top: 0; }
.entry .qa-list dd { margin: .5em 0 0; padding-bottom: 1.1em; border-bottom: 1px dashed var(--line-2); color: var(--ink-2); }
.entry .qa-list dt::before, .entry .qa-list dd::before { position: absolute; left: 0; top: .15em; width: 1.75em; height: 1.75em; border-radius: 50%; font: 700 .85rem/1.75em Georgia, serif; text-align: center; color: #fff; }
.entry .qa-list dt::before { content: "Q"; background: var(--rose); }
.entry .qa-list dd::before { content: "A"; background: var(--sage); }

/* ポイント・まとめボックス */
.entry .point, .entry .summary { margin: 0 0 1.6em; padding: 1.2em 1.3em; border-radius: var(--radius-s); }
.entry .point { background: var(--gold-tint); border: 1px solid var(--gold-line); }
.entry .summary { background: var(--sage-tint); border: 1px solid #cfe0d7; }
.entry .point > :last-child, .entry .summary > :last-child { margin-bottom: 0; }
.entry .box-title { display: block; margin: 0 0 .5em; font-weight: 700; font-size: .95em; }
.entry .point .box-title { color: var(--gold); }
.entry .summary .box-title { color: var(--sage); }
.entry .point ul, .entry .summary ul { margin-bottom: 0; }

/* 点数ボックス（レビュー） */
.rating { display: grid; gap: 10px; margin: 0 0 1.6em; padding: 16px 18px; background: var(--gold-tint); border: 1px solid var(--gold-line); border-radius: var(--radius-s); }
.rating p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rating-label { font-size: .72rem; font-weight: 700; color: #fff; background: var(--gold); padding: 1px 10px; border-radius: 6px; }
.rating-num { font-size: 1.45rem; font-weight: 700; color: var(--gold); line-height: 1.2; font-variant-numeric: tabular-nums; }
.rating-num small { font-size: .7rem; margin-left: 2px; }
.rating-bar { flex: 1 1 120px; max-width: 220px; height: 8px; background: #f1e4c8; border-radius: 99px; overflow: hidden; }
.rating-bar span { display: block; height: 100%; background: linear-gradient(90deg, #d9a74a, var(--gold)); border-radius: 99px; }
.rating-comment { flex-basis: 100%; font-size: .88rem; line-height: 1.7; color: var(--ink-2); }

/* レビュー概要 */
.review-summary { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; margin: 0 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 768px) { .review-summary { grid-template-columns: 150px minmax(0, 1fr); padding: 22px; gap: 16px 24px; } }
.review-summary img { display: block; width: 100%; border-radius: var(--radius-s); }
.rs-spec { margin: 0; display: grid; gap: 6px; font-size: .84rem; line-height: 1.6; align-content: start; }
.rs-spec div { display: grid; grid-template-columns: minmax(0, 1fr); }
.rs-spec dt { color: var(--muted); font-size: .72rem; line-height: 1.5; }
@media (min-width: 768px) {
  .rs-spec div { grid-template-columns: 7.6em minmax(0, 1fr); gap: 8px; }
  .rs-spec dt { font-size: inherit; line-height: inherit; }
}
.rs-spec dd { margin: 0; font-weight: 600; }
.rs-score { color: var(--gold); font-size: 1.05rem; }
.rs-comment { grid-column: 1 / -1; margin: 0; padding: 14px 16px; background: var(--rose-tint); border-radius: var(--radius-s); font-size: .9rem; line-height: 1.8; }
.rs-comment b { display: block; font-size: .74rem; color: var(--rose-dark); letter-spacing: .08em; margin-bottom: 2px; }

/* CTAボタン */
.cta { text-align: center; margin: 0 0 1.8em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; max-width: 100%; padding: 14px 28px; border-radius: 999px; background: var(--rose); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.5; text-decoration: none; box-shadow: 0 6px 16px rgba(176, 84, 107, .25); transition: background .2s, transform .2s; }
.btn::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); flex: none; }
.btn:hover { background: var(--rose-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--rose-dark); border: 1.5px solid var(--rose); box-shadow: none; }
.btn-ghost:hover { background: var(--rose-tint); color: var(--rose-dark); }
.cta .cta-note { display: block; margin-top: 6px; font-size: .74rem; color: var(--muted); }

/* 記事末 */
.article-footer { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-box { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 18px; background: var(--surface-2); border-radius: var(--radius-s); font-size: .86rem; line-height: 1.75; }
.author-box .avatar { width: 56px; height: 56px; }
.author-box p { margin: 0; color: var(--ink-2); }
.author-box .name { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.date-box { margin-top: 14px; font-size: .78rem; color: var(--muted); }

/* ---------- 7. セクション・カード ---------- */
.section { margin: 0 0 48px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 18px; }
.section-title { margin: 0; font-size: 1.3rem; line-height: 1.5; }
.section-title .en { display: block; font-family: var(--font-serif); font-size: .72rem; font-weight: 400; letter-spacing: .2em; color: var(--rose); text-transform: uppercase; }
.section-head .more { font-size: .84rem; font-weight: 700; text-decoration: none; }
.section-head .more::after { content: " →"; }
.section-desc { margin: -6px 0 18px; color: var(--ink-2); font-size: .92rem; }

.card-grid { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; height: 100%; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-s); }
.card-body { min-width: 0; }
.card-title { margin: 0 0 4px; font-size: .95rem; line-height: 1.55; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-title a:hover { color: var(--rose-dark); }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 6px; font-size: .74rem; color: var(--muted); }
.card-meta .score { color: var(--gold); font-weight: 700; }
.card-text { margin: 0; font-size: .82rem; line-height: 1.7; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1024px) { .card { grid-template-columns: 112px minmax(0, 1fr); } .card img { width: 112px; height: 112px; } }

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .link-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-list a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 40px 14px 16px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .93rem; line-height: 1.6; transition: border-color .2s, box-shadow .2s; }
.link-list a::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--rose); border-right: 2px solid var(--rose); transform: translateY(-50%) rotate(45deg); }
.link-list a:hover { border-color: var(--rose); box-shadow: var(--shadow); color: var(--rose-dark); }
.link-list .desc { font-weight: 400; font-size: .8rem; color: var(--muted); }
.link-list .new { display: inline-block; margin-left: 6px; font-size: .66rem; vertical-align: 2px; padding: 0 6px; border-radius: 4px; background: var(--rose); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-block; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .84rem; text-decoration: none; transition: all .2s; }
.chips a:hover { border-color: var(--sage); color: var(--sage); background: var(--sage-tint); }

.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.jump-nav a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.jump-nav a:hover { background: var(--rose); border-color: var(--rose); color: #fff; }

/* ---------- 8. トップページ ---------- */
.hero { position: relative; overflow: hidden; margin: 0 0 40px; padding: 36px 22px 32px; border-radius: var(--radius); background: radial-gradient(120% 140% at 100% 0%, #f6dfe4 0%, rgba(246, 223, 228, 0) 55%), radial-gradient(90% 120% at 0% 100%, #e3efe8 0%, rgba(227, 239, 232, 0) 60%), var(--surface); box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(176, 84, 107, .18); }
.hero-eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--rose-dark); }
.hero h1 { margin: 0 0 14px; font-family: var(--font-serif); font-size: 1.62rem; font-weight: 600; line-height: 1.55; letter-spacing: .06em; }
.hero-text { margin: 0 0 22px; max-width: 40em; color: var(--ink-2); font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-stats li { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.hero-stats b { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: var(--ink); font-weight: 600; }
@media (min-width: 768px) {
  .hero { padding: 56px 56px 44px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-text { font-size: 1rem; }
}

.worry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .worry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.worry-grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: all .2s; }
.worry-grid a:hover { border-color: var(--rose); box-shadow: var(--shadow); transform: translateY(-2px); }
.worry-grid .w-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-tint); color: var(--rose-dark); font-weight: 700; font-size: .9rem; }
.worry-grid .w-name { font-weight: 700; font-size: .95rem; line-height: 1.5; margin-top: 4px; }
.worry-grid .w-desc { font-size: .76rem; color: var(--muted); line-height: 1.6; }

.feature { display: grid; gap: 18px; padding: 24px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 768px) { .feature { grid-template-columns: 1.1fr 1fr; padding: 36px; gap: 32px; align-items: center; } }
.feature h2 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.55; }
.feature p { margin: 0 0 14px; color: var(--ink-2); font-size: .93rem; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface-2); border-radius: var(--radius-s); font-size: .9rem; font-weight: 600; }
.steps li::before { content: counter(step); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--rose); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.steps li span { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: auto; }

.greeting { display: grid; gap: 16px; padding: 24px 20px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
@media (min-width: 768px) { .greeting { grid-template-columns: 96px minmax(0, 1fr); padding: 32px; gap: 24px; } }
.greeting .avatar { width: 80px; height: 80px; }
.greeting h2 { margin: 0 0 8px; font-size: 1.15rem; }
.greeting p { margin: 0 0 12px; font-size: .92rem; color: var(--ink-2); }
.greeting p:last-child { margin-bottom: 0; }

/* ---------- 9. サイドバー ---------- */
.widget { margin: 0 0 24px; padding: 20px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.widget-title { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .95rem; letter-spacing: .08em; }
.widget p { margin: 0 0 10px; font-size: .84rem; line-height: 1.75; color: var(--ink-2); }
.widget .profile { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.widget .profile .avatar { width: 52px; height: 52px; flex: none; }
.widget .profile b { display: block; font-size: .92rem; }
.widget .profile span { font-size: .76rem; color: var(--muted); }
.widget-links { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.widget-links li { border-bottom: 1px dashed var(--line); }
.widget-links li:last-child { border-bottom: 0; }
.widget-links a { display: block; padding: 9px 0 9px 1.1em; position: relative; color: var(--ink); text-decoration: none; line-height: 1.6; }
.widget-links a::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-top: 2px solid var(--rose); border-right: 2px solid var(--rose); transform: rotate(45deg); }
.widget-links a:hover { color: var(--rose-dark); }
.widget-links .count { color: var(--muted); font-size: .78rem; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-size: .82rem; line-height: 1.6; font-weight: 600; }
.mini-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.mini-list a:hover { color: var(--rose-dark); }
.widget .chips a { font-size: .78rem; padding: 4px 12px; }

/* ---------- 10. フッター ---------- */
.site-footer { background: #2f2826; color: #d9cfca; font-size: .84rem; padding: 44px 0 28px; }
.site-footer a { color: #f1e8e4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.footer-brand { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; letter-spacing: .08em; margin: 0 0 8px; }
.footer-about { margin: 0; line-height: 1.85; color: #bfb2ac; font-size: .8rem; }
.footer-title { margin: 0 0 10px; font-size: .78rem; letter-spacing: .14em; color: #a8968f; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.copyright { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid #4a3f3c; font-size: .74rem; color: #a8968f; text-align: center; }
.to-top { position: fixed; right: 14px; bottom: 14px; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--rose-dark); text-decoration: none; font-size: .64rem; font-weight: 700; line-height: 1; }
.to-top::before { content: ""; display: block; width: 8px; height: 8px; margin: 6px auto -8px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
.to-top:hover { background: var(--rose); color: #fff; }

/* ---------- 11. 404 など ---------- */
.center-box { text-align: center; padding: 48px 20px; }
.center-box .big { font-family: var(--font-serif); font-size: 4rem; color: var(--rose); margin: 0; line-height: 1.2; }

/* ---------- 12. 印刷 ---------- */
@media print {
  .site-header .gnav, .sidebar, .site-footer, .to-top, .toc { display: none !important; }
  body { background: #fff; }
  .article { box-shadow: none; padding: 0; }
}

/* ---------- 13. 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- 14. 一覧ページの見出し ---------- */
.page-head { margin: 0 0 32px; padding: 28px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 768px) { .page-head { padding: 40px 44px; } }
.page-head h1 { margin: 0 0 10px; font-size: 1.45rem; line-height: 1.5; }
@media (min-width: 768px) { .page-head h1 { font-size: 1.8rem; } }
.page-head p { margin: 0 0 10px; color: var(--ink-2); font-size: .94rem; }
.page-head p:last-child { margin-bottom: 0; }
.page-head .notice { margin: 16px 0 0; }
.cat-section { scroll-margin-top: 16px; }
.cat-section .section-title { display: flex; align-items: center; gap: 10px; }
.cat-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-tint); color: var(--rose-dark); font-size: .95rem; }
.update-list { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.update-list li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.update-list time { color: var(--muted); font-variant-numeric: tabular-nums; }
.link-list a > span:first-child { display: block; }
@media (min-width: 1024px) { .sidebar .widget:last-child { position: sticky; top: 16px; } }

/* ---------- 15. 広告（Google AdSense） ---------- */
.ad { margin: 40px 0; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; min-height: 120px; }
.ad .ad-label { margin: 0 0 8px; font-size: .68rem; line-height: 1.4; letter-spacing: .14em; color: var(--muted); }
.ad ins.adsbygoogle { display: block; }
.ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.ad.ad-end { margin: 40px 0 0; }
.ad.widget-ad { margin: 0 0 24px; padding: 14px; border-top: 1px solid var(--line); }
.main-col > .ad { border-top: 0; }
.entry .chips, .entry .link-list { padding: 0; margin: 0 0 1.45em; }
.entry .chips li, .entry .link-list li { margin: 0; }
.entry .link-list li::marker, .entry .chips li::marker { content: none; }

/* ---------- 16. ふわっと表示するアニメーション ----------
   ・ページを開いたとき：ヘッダーと見出しまわりがふわっと浮かび上がる
   ・スクロールしたとき：カードや見出し、写真が画面に入るとふわっと表示（対応ブラウザのみ。非対応のブラウザでは最初から表示）
   ・「動きを減らす」設定の端末ではアニメーションしない
   ------------------------------------------------------------ */
@keyframes fuwa-in {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes fuwa-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float-soft {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-16px, 12px) scale(1.06); }
}
@keyframes drip {
  0%, 100% { translate: 0 0; }
  40% { translate: 0 3px; }
  70% { translate: 0 -2px; }
}
@keyframes totop-in {
  from { opacity: 0; translate: 0 18px; visibility: hidden; }
  to { opacity: 1; translate: 0 0; visibility: visible; }
}
@keyframes progress {
  from { scale: 0 1; }
  to { scale: 1 1; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  /* ページを開いたとき */
  .site-header .brand, .header-cta { animation: fuwa-in .8s cubic-bezier(.22, .61, .36, 1) both; }
  .gnav { animation: fuwa-fade .9s ease-out .15s both; }
  .breadcrumb { animation: fuwa-fade .8s ease-out .2s both; }
  .hero > *, .page-head > *, .article-header > * { animation: fuwa-in .9s cubic-bezier(.22, .61, .36, 1) both; }
  .hero > :nth-child(2), .page-head > :nth-child(2), .article-header > :nth-child(2) { animation-delay: .1s; }
  .hero > :nth-child(3), .page-head > :nth-child(3), .article-header > :nth-child(3) { animation-delay: .2s; }
  .hero > :nth-child(4), .page-head > :nth-child(4), .article-header > :nth-child(4) { animation-delay: .3s; }
  .hero > :nth-child(n+5), .page-head > :nth-child(n+5), .article-header > :nth-child(n+5) { animation-delay: .4s; }
  .hero::after { animation: float-soft 9s ease-in-out infinite alternate; }

  /* ちょっとした動き */
  .brand:hover .brand-mark { animation: drip .8s ease-in-out; }
  .btn::after { transition: translate .2s; }
  .btn:hover::after { translate: 3px 0; }
  .link-list a::after { transition: right .2s; }
  .link-list a:hover::after { right: 13px; }
  .worry-grid .w-icon { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
  .worry-grid a:hover .w-icon { transform: scale(1.12) rotate(-6deg); }
  .card img { transition: filter .3s; }
  .card:hover img { filter: brightness(1.04) saturate(1.08); }

  /* スクロールに合わせた動き（対応ブラウザのみ） */
  @supports (animation-timeline: view()) {
    .section-head, .section-desc, .card, .worry-grid > li, .link-list > li, .chips, .jump-nav,
    .feature, .greeting, .update-list > li, .widget:not(.ad),
    .notice, .review-summary, .toc,
    .entry > h2, .entry > h3, .entry > figure, .entry > .rating, .entry > .point, .entry > .summary,
    .entry > .table-scroll, .entry > .qa-list, .entry > blockquote, .entry > .cta, .entry > .video,
    .author-box {
      animation-name: fuwa-in;
      animation-duration: 1ms; /* Firefox向けの指定 */
      animation-timing-function: ease-out;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% entry 140px;
    }
    /* ページ上部の読み進み具合バー */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      height: 3px;
      background: linear-gradient(90deg, var(--rose), #e7a3b3);
      transform-origin: 0 50%;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
    /* TOPボタンは少しスクロールしてから表示 */
    .to-top {
      animation: totop-in linear both;
      animation-timeline: scroll(root);
      animation-range: 0 320px;
    }
  }
}

/* ---------- 17. 記事末の広告ボックス ---------- */
.entry .aff-box { margin: 2.4em 0 0; padding: 18px 16px 4px; border: 1px dashed var(--line-2); border-radius: var(--radius-s); background: var(--surface-2); }
.entry .aff-box .aff-title { margin: 0 0 12px; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.entry .aff-box .banner { padding-top: 0; margin-bottom: 1.2em; }
.entry .aff-box .banner::before { content: none; }
.entry .aff-box .cta { margin-bottom: 1.2em; }
