:root{
    --font: 'Meiryo UI', Meiryo, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    --bg: oklch(0.98 0.006 30);
    --surface: oklch(1 0 0);
    --surface-2: oklch(0.96 0.015 30);
    --text: oklch(0.30 0.045 340);
    --text-soft: oklch(0.52 0.03 340);
    --border: oklch(0.91 0.02 20);
    --accent: oklch(0.62 0.17 10);
    --accent-strong: oklch(0.50 0.17 10);
    --on-accent: oklch(0.99 0 0);
    --mint: oklch(0.88 0.06 165);
    --mint-soft: oklch(0.94 0.045 165);
    --mint-ink: oklch(0.40 0.07 165);
    --lavender: oklch(0.88 0.05 300);
    --lavender-soft: oklch(0.95 0.025 300);
    --peach: oklch(0.90 0.06 55);
    --peach-soft: oklch(0.94 0.045 55);
    --pink-soft: oklch(0.95 0.035 10);
    --table-stripe: oklch(0.97 0.012 30);
  }

  *{box-sizing:border-box;}
  body{
    margin:0; background:var(--bg); color:var(--text);
    font-family:var(--font); line-height:1.9;
    padding-inline: 20px;
  }
  a{ color: var(--accent-strong); }
  h1,h2,.heading{ font-family:var(--font); text-wrap:balance; }

  header.site{
    display:flex; align-items:center; justify-content:space-between;
    max-width:1040px; margin:0 auto; padding:22px 4px; gap:16px; flex-wrap:wrap;
    border-bottom:1px solid var(--border);
  }
  .logo{ display:flex; flex-direction:column; align-items:flex-start; gap:3px; text-decoration:none; }
  .logo .name{ font-size:24px; font-weight:900; color:var(--accent); }
  .logo .en{ font-size:10.5px; letter-spacing:.02em; color:var(--text-soft); }
  nav.crumbs{ font-size:13px; color:var(--text-soft); }
  nav.crumbs a{ color:var(--text-soft); text-decoration:none; }
  nav.crumbs a:hover{ color:var(--accent-strong); }

  main{ max-width:1040px; margin:0 auto; padding-block:8px 64px; }

  .article-head{ max-width:760px; margin:36px auto 0; padding-inline:4px; }
  .pill{
    display:inline-flex; align-items:center; font-size:12px; font-weight:700;
    padding:5px 14px; border-radius:999px; letter-spacing:.02em;
  }
  .pill.review{ background:var(--mint-soft); color:var(--mint-ink); }
  .meta{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:16px; font-size:13px; color:var(--text-soft); }
  .meta .dot{ opacity:.5; }
  h1.title{ font-size:clamp(26px,4vw,38px); font-weight:900; line-height:1.45; margin:16px 0 0; color:var(--text); }

  .hero-art{
    max-width:1040px; margin:28px auto; height:320px; border-radius:22px;
    background:linear-gradient(135deg, var(--mint) 0%, var(--lavender) 100%);
    display:flex; align-items:center; justify-content:center; position:relative;
  }
  .hero-art svg{ width:88px; height:88px; }

  article.body{ max-width:680px; margin:0 auto; padding-inline:4px; }
  .toc{
    background:var(--surface-2); border:1px solid var(--border); border-radius:16px;
    padding:22px 26px; margin:0 0 40px;
  }
  .toc .heading{ font-size:13px; font-weight:700; letter-spacing:.04em; color:var(--text-soft); margin:0 0 10px; }
  .toc ol{ margin:0; padding-left:1.2em; font-size:14.5px; }
  .toc li{ margin-block:6px; }
  .toc a{ text-decoration:none; }
  .toc a:hover{ text-decoration:underline; }

  article.body h2{
    font-size:21px; font-weight:700; margin:44px 0 16px; padding-top:6px;
    border-top:2px solid var(--pink-soft);
  }
  article.body p{ font-size:15.5px; margin:0 0 20px; color:var(--text); }
  article.body ul{ margin:0 0 20px; padding-left:1.3em; font-size:15.5px; }
  article.body li{ margin-block:8px; }
  .note{ font-size:12.5px; color:var(--text-soft); }

  table.compare{
    width:100%; border-collapse:collapse; margin:8px 0 28px; font-size:14px;
    border-radius:12px; overflow:hidden; border:1px solid var(--border);
  }
  table.compare th, table.compare td{ padding:12px 14px; text-align:left; border-bottom:1px solid var(--border); }
  table.compare thead th{ background:var(--pink-soft); font-weight:700; }
  table.compare tbody tr:nth-child(even){ background:var(--table-stripe); }
  table.compare tbody th{ font-weight:700; color:var(--text-soft); white-space:nowrap; }

  .buy-box{
    background:var(--peach-soft); border-radius:16px; padding:24px 26px; margin:32px 0;
  }
  .buy-box .heading{ font-size:14px; font-weight:700; margin:0 0 10px; }
  .buy-box ul{ margin:0; padding-left:1.2em; font-size:14.5px; }

  .author{
    display:flex; gap:16px; align-items:flex-start; margin-top:56px; padding-top:28px;
    border-top:1px solid var(--border);
  }
  .author .avatar{
    width:52px; height:52px; border-radius:50%; background:var(--lavender-soft);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    font-family:var(--font); font-weight:900; color:var(--accent-strong); font-size:15px;
  }
  .author .name{ font-size:12px; color:var(--text-soft); margin:0 0 4px; }
  .author .body-text{ font-size:13.5px; color:var(--text-soft); margin:0; }

  .disclosure{ font-size:12.5px; color:var(--text-soft); margin-top:18px; line-height:1.8; }

  .back-link{ display:inline-block; margin-top:40px; font-size:13.5px; text-decoration:none; }

  footer.site{
    max-width:1040px; margin:56px auto 0; padding:28px 4px; border-top:1px solid var(--border);
    font-size:12px; color:var(--text-soft); display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  }

  @media (max-width:600px){
    header.site{ padding-block:16px; }
    .hero-art{ height:220px; border-radius:16px; }
    .article-head{ margin-top:24px; }
  }
/* --- グローバルナビ(全ページ共通・カテゴリを丸枠ピルにして視認性UP) --- */
header.site nav.main { display: flex; gap: 9px; font-size: 13px; font-weight: 700; flex-wrap: wrap; }
header.site nav.main a {
  color: var(--text-soft); text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 15px;
  background: var(--surface); line-height: 1; transition: border-color .15s, color .15s, background .15s;
}
header.site nav.main a:hover { color: var(--accent-strong); border-color: var(--accent); background: var(--pink-soft); }
header.site nav.main details.nav-more { position: relative; }
header.site nav.main details.nav-more summary {
  list-style: none; cursor: pointer; color: var(--text-soft); white-space: nowrap;
  border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 15px; background: var(--surface); line-height: 1;
}
header.site nav.main details.nav-more summary::-webkit-details-marker { display: none; }
header.site nav.main details.nav-more[open] summary { color: var(--accent-strong); border-color: var(--accent); background: var(--pink-soft); }
header.site nav.main .nav-more-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 170px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px; box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
header.site nav.main .nav-more-menu a { border: 0; border-radius: 10px; padding: 9px 12px; }
@media (max-width: 700px) {
  header.site nav.main details.nav-more summary { padding: 6px 12px; }
  header.site nav.main .nav-more-menu { left: 0; right: auto; }
}
@media (max-width: 700px) {
  header.site nav.main { gap: 7px; font-size: 12px; width: 100%; }
  header.site nav.main a { padding: 6px 12px; }
}

/* --- 左上ロゴ:サイト名の横に独自アイコンを添える --- */
header.site .logo { flex-direction: row !important; align-items: center !important; gap: 11px !important; }
header.site .logo .logo-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; display: block;
  box-shadow: 0 3px 9px rgba(238,127,169,.28);
}
header.site .logo .logo-text { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 480px) {
  header.site .logo .logo-icon { width: 36px; height: 36px; border-radius: 10px; }
}

/* --- 記事上部のパンくず --- */
.article-crumbs { max-width: 760px; margin: 22px auto 0; padding-inline: 4px; font-size: 12.5px; }
.article-crumbs a { color: var(--text-soft); text-decoration: none; }
.article-crumbs a:hover { color: var(--accent-strong); }
footer.site { font-size: 11.5px; }
footer.site .footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
footer.site a.footer-link { color: var(--text-soft); text-decoration: none; opacity: .85; }
footer.site a.footer-link:hover { color: var(--accent-strong); opacity: 1; text-decoration: underline; }

/* --- 固定ページ(運営者情報・プライバシーポリシー) --- */
.page-body { max-width: 720px; margin: 0 auto; padding-block: 8px 64px; font-size: 15px; line-height: 1.95; }
.page-body h2 { font-family: var(--font); font-size: 19px;
  margin: 36px 0 12px; padding-top: 6px; border-top: 2px solid var(--pink-soft); }
.page-body p { margin: 0 0 16px; }
.page-body ul { padding-left: 1.3em; margin: 0 0 16px; }
.page-body li { margin-block: 8px; }
.info-table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.info-table th, .info-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.info-table th { width: 8em; color: var(--text-soft); font-weight: 700; white-space: nowrap; }

/* --- トップのサイト紹介(指名検索対策でサイト名をh1に) --- */
.site-lede { max-width: 1100px; margin: 0 auto; padding-block: 36px 4px; }
.site-lede h1 {
  font-family: var(--font);
  font-size: 22px; font-weight: 900; color: var(--accent); margin: 0 0 8px;
}
.site-lede p { margin: 0; font-size: 13.5px; color: var(--text-soft); line-height: 1.9; }
.hero-copy h2.hero-title {
  font-family: var(--font);
  font-size: clamp(24px,3.2vw,32px); font-weight: 900; margin: 0; line-height: 1.5;
  border: 0; padding: 0;
}

.author .name .cred { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); vertical-align: 1px; }
.page-body ol { padding-left: 1.4em; margin: 0 0 16px; }
.page-body ol li { margin-block: 10px; }

/* --- サイト内検索 --- */
.site-search { display: flex; align-items: center; gap: 4px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 4px 4px 4px 14px; margin-left: auto; }
.site-search:focus-within { border-color: var(--accent); }
.site-search input { border: 0; background: none; font: inherit; font-size: 13px; width: 168px; padding: 5px 0; color: inherit; }
.site-search input:focus { outline: none; }
.site-search input::placeholder { color: var(--text-soft); }
.site-search button { border: 0; background: var(--accent); color: var(--on-accent); width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; }
.site-search button svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .site-search { order: 3; width: 100%; margin: 8px 0 0; } .site-search input { width: 100%; } }
.srch-box { margin: 0 0 18px; }
.srch-input { width: 100%; font: inherit; font-size: 16px; padding: 14px 18px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); color: inherit; }
.srch-input:focus { outline: none; border-color: var(--accent); }
.srch-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.srch-filter { font: inherit; font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-soft); cursor: pointer; }
.srch-filter.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.srch-count { font-size: 13px; color: var(--text-soft); margin: 0 0 12px; }
.srch-results { display: flex; flex-direction: column; gap: 10px; }
.srch-hit { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; background: var(--surface); text-decoration: none; color: inherit; }
.srch-hit:hover { border-color: var(--accent); }
.srch-kind { flex: 0 0 auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-top: 2px; }
.srch-kind.k-a { background: var(--pink-soft); color: var(--accent-strong); }
.srch-kind.k-b { background: var(--mint-soft); color: var(--mint-ink); }
.srch-kind.k-c { background: var(--lavender-soft); color: var(--lavender-ink); }
.srch-body { min-width: 0; }
.srch-name { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.srch-cat { display: block; font-size: 11.5px; color: var(--mint-ink); margin-top: 2px; }
.srch-desc { display: block; font-size: 13px; color: var(--text-soft); line-height: 1.75; margin-top: 5px; }
.srch-empty { font-size: 14px; color: var(--text-soft); }
.srch-sub { font-size: 13px; font-weight: 700; color: var(--text-soft); margin: 4px 0 10px; }
.srch-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-tag { font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--accent-strong); font-weight: 700; cursor: pointer; }
.srch-tag:hover { border-color: var(--accent); }

/* --- 成分の個別ページ --- */
.crumbs { font-size: 12.5px; color: var(--text-soft); margin: 0 0 14px; }
.crumbs a { color: var(--accent-strong); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.ing-cat-lg { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.cat-head .ing-alias { font-size: 13px; color: var(--text-soft); margin: 2px 0 0; }
.cat-head .ing-lead { font-size: 15px; font-weight: 700; margin: 10px 0 0; line-height: 1.75; }
.ing-page h2 { font-size: 17px; margin: 30px 0 12px; }
.ing-page h2:first-child { margin-top: 6px; }
.ing-limit { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); margin: 12px 0; }
.ing-limit .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.ing-limit .row:last-child { border-bottom: none; }
.ing-limit .k { font-size: 13.5px; color: var(--text-soft); }
.ing-limit .v { font-size: 15.5px; font-weight: 900; color: var(--accent-strong); white-space: nowrap; }
.ing-note-sm { font-size: 12.5px; color: var(--text-soft); line-height: 1.85; margin: 10px 0 0; }
.ing-mentions { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.ing-mention { display: block; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; background: var(--surface); text-decoration: none; color: inherit; }
.ing-mention:hover { border-color: var(--accent); }
.ing-mention .t { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.6; color: var(--accent-strong); }
.ing-mention .sec { display: block; font-size: 11.5px; color: var(--text-soft); margin-top: 3px; }
.ing-mention .q { display: block; font-size: 13.5px; line-height: 1.85; margin-top: 8px; padding: 8px 12px; background: var(--surface-2); border-radius: 10px; }
.ing-sib-lead { font-size: 13px; font-weight: 700; color: var(--text-soft); margin: 18px 0 8px; }
.ing-sibs { display: flex; flex-wrap: wrap; gap: 8px; }
.ing-sibs a, .ing-sibs span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: inherit; }
.ing-sibs a { color: var(--accent-strong); font-weight: 700; }
.ing-sibs a:hover { border-color: var(--accent); }
.ing-more { margin: 10px 0 0; }
.ing-more a { font-weight: 700; color: var(--accent-strong); text-decoration: none; }
.ing-more a:hover { text-decoration: underline; }

/* --- PR表記(タイアップ記事) --- */
.pill.pr { background: #FFF1D6; color: #9A5B00; margin-left: 6px; letter-spacing: .08em; }
:root { --lavender-ink: oklch(0.42 0.08 300); }
.pill.kind { margin-left: 6px; background: #fff; border: 1px solid currentColor; padding-block: 4px; }
.pill.kind-easy { color: var(--mint-ink); }
.pill.kind-rule { color: var(--lavender-ink); }
.pill.kind-verify { color: var(--accent-strong); }
.tag-kind { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; border: 1px solid currentColor; background: #fff; vertical-align: 1px; }
.tag-kind.k-easy { color: var(--mint-ink); }
.tag-kind.k-rule { color: var(--lavender-ink); }
.tag-kind.k-verify { color: var(--accent-strong); }
/* 引用(一次情報からの逐語)。太字にせず、左の細い線で「引用」と分かるようにする */
article.body p.quote { background: var(--surface-2); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; color: var(--text); font-size: 15px; }
/* 参照した情報: 載っていればよい情報なので小さめに(本文の ul 15.5px を上書き) */
article.body .note { font-size: 11px; line-height: 1.7; }
article.body .note .heading { font-size: 11.5px; margin-bottom: 6px; }
article.body .note ul { font-size: 11px; margin: 0; padding-left: 1.2em; }
article.body .note li { margin-block: 3px; }
article.body .note a { color: var(--text-soft); }
.pr-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--text-soft);
  background: var(--surface); border: 1px dashed var(--border); border-radius: 10px; padding: 8px 12px; }

/* --- よくある質問 --- */
.faq { margin: 44px 0 28px; }
.faq h2 { margin-bottom: 18px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; background: var(--surface); }
.faq-q { font-size: 15.5px; font-weight: 700; margin: 0 0 8px; padding-left: 1.6em; position: relative; border: 0; line-height: 1.6; }
.faq-q::before { content: "Q"; position: absolute; left: 0; top: 0; color: var(--accent); font-family: var(--font); font-weight: 900; }
.faq-a { margin: 0; font-size: 14.5px; line-height: 1.9; padding-left: 1.6em; position: relative; }
.faq-a::before { content: "A"; position: absolute; left: 0; top: 0; color: var(--mint-ink); font-family: var(--font); font-weight: 900; }
article.body h3.faq-q { padding-left: 1.6em; margin: 0 0 8px; }
article.body p.faq-a { margin: 0; }
.glossary-link { display: block; }

/* --- 用語集 --- */
.glossary-note { font-size: 13px; color: var(--text-soft); }
.glossary-list { margin: 0; padding: 0; }
.glossary-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.glossary-item dt { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.glossary-item dt .reading { font-weight: 400; font-size: 12.5px; color: var(--text-soft); margin-left: 6px; }
.glossary-item dd { margin: 0; font-size: 14.5px; line-height: 1.9; }
.glossary-link { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--accent-strong); text-decoration: none; font-weight: 700; }
.glossary-link:hover { text-decoration: underline; }
.related-hub { margin: 16px 0 0; font-size: 13.5px; line-height: 1.9; color: var(--text-soft); }
.related-hub a { color: var(--accent-strong); font-weight: 700; }

/* --- 成分早見表 --- */
.ing { max-width: 860px; }
.ing-note { font-size: 13px; color: var(--text-soft); }
.ing-tools { position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 10px 0 8px; margin-bottom: 10px; border-bottom: 1px solid var(--border); }
.ing-search { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); }
.ing-search:focus { outline: none; border-color: var(--accent); }
.ing-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ing-filter { font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-soft); cursor: pointer; }
.ing-filter.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ing-count { margin: 8px 0 0; font-size: 12.5px; color: var(--text-soft); }
.ing-list { display: flex; flex-direction: column; gap: 8px; }
.ing-row { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.ing-row[hidden] { display: none; }
.ing-row summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.ing-row summary::-webkit-details-marker { display: none; }
.ing-row summary::after { content: "＋"; margin-left: auto; color: var(--text-soft); font-weight: 700; flex: 0 0 auto; }
.ing-row[open] summary::after { content: "－"; }
.ing-cat { flex: 0 0 auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-soft); margin-top: 2px; white-space: nowrap; }
.ing-row.c0 .ing-cat { background: oklch(0.94 0.04 230); color: oklch(0.42 0.08 230); }
.ing-row.c1 .ing-cat { background: var(--mint-soft); color: var(--mint-ink); }
.ing-row.c2 .ing-cat { background: var(--peach-soft); color: oklch(0.45 0.09 55); }
.ing-row.c3 .ing-cat { background: var(--lavender-soft); color: var(--lavender-ink); }
.ing-row.c4 .ing-cat { background: var(--table-stripe); color: var(--text-soft); }
.ing-row.c5 .ing-cat { background: oklch(0.95 0.03 100); color: oklch(0.45 0.08 100); }
.ing-row.c6 .ing-cat { background: oklch(0.94 0.05 80); color: oklch(0.45 0.10 70); }
.ing-row.c7 .ing-cat { background: var(--pink-soft); color: var(--accent-strong); }
.ing-row.c8 .ing-cat { background: oklch(0.95 0.02 30); color: oklch(0.45 0.05 30); }
.ing-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ing-name { font-weight: 700; font-size: 15.5px; line-height: 1.5; }
.ing-alias { font-size: 11.5px; color: var(--text-soft); }
.ing-short { font-size: 13.5px; line-height: 1.7; }
.ing-detail { padding: 0 16px 16px; font-size: 14px; line-height: 1.9; border-top: 1px dashed var(--border); }
.ing-detail p { margin: 12px 0 0; }
.ing-related a { font-weight: 700; color: var(--accent-strong); }
.ing-src { font-size: 12px; color: var(--text-soft); }
.ing-src a { color: var(--text-soft); }
.ing-empty { color: var(--text-soft); font-size: 14px; }
@media (max-width: 560px) {
  .ing-row summary { flex-direction: column; gap: 8px; position: relative; padding-right: 40px; }
  .ing-row summary::after { position: absolute; right: 16px; top: 14px; }
}

/* --- 記事カードのグリッド(トップ新着・記事一覧・カテゴリ) --- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; gap: 12px; } }
.latest-card.v { flex-direction: column; gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
.latest-card.v .thumb { width: 100%; height: 108px; border-radius: 0; }
.latest-card.v .thumb svg { width: 44px; height: 44px; }
.latest-card.v .card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; }
.latest-card.v h3 { font-size: 14.5px; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.latest-card.v .sub { margin-top: auto; }
/* スマホでは横並びのコンパクトなカードに戻す(縦に伸びすぎないように) */
@media (max-width: 560px) {
  .latest-card.v { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; }
  .latest-card.v .thumb { width: 64px; height: 64px; border-radius: 14px; flex: 0 0 auto; }
  .latest-card.v .thumb svg { width: 30px; height: 30px; }
  .latest-card.v .card-body { padding: 0; min-width: 0; }
  .latest-card.v h3 { font-size: 14px; margin: 3px 0 4px; -webkit-line-clamp: 2; }
  .latest-card.v .sub { margin-top: 0; }
}
.more-link { text-align: center; margin: 24px 0 0; }
.more-link a { display: inline-block; font-weight: 700; color: var(--accent-strong); text-decoration: none; border: 1.5px solid var(--accent); border-radius: 999px; padding: 10px 22px; }
.more-link a:hover { background: var(--pink-soft); }
.ing-main { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--accent); font-size: 14.5px; line-height: 1.6; }
.ing-main span { display: block; font-size: 12px; color: var(--accent-strong); font-weight: 700; margin-bottom: 2px; }
.ing-main a { color: var(--text); font-weight: 700; text-decoration: none; }
.ing-main a:hover { color: var(--accent-strong); text-decoration: underline; }
.all-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.all-jump a { font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--accent-strong); text-decoration: none; }
.all-h2 { font-size: 18px; margin: 34px 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.all-h2 small { font-size: 13px; color: var(--text-soft); font-weight: 400; }
.cn-sec-h { margin-top: 28px; }
.cn-sec-h:first-of-type { margin-top: 8px; }
.cn-sec-note { font-size: 13px; color: var(--text-soft); margin: -4px 0 14px; line-height: 1.7; }
.all-h2 .all-more { font-size: 13px; font-weight: 400; margin-left: auto; }
.all-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.all-list li { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; padding: 9px 2px; border-bottom: 1px solid var(--border); font-size: 14.5px; line-height: 1.6; }
.all-list li a { color: var(--text); text-decoration: none; }
.all-list li a:hover { color: var(--accent-strong); text-decoration: underline; }
.all-list .d { flex: none; font-size: 12px; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 28px 0 8px; font-size: 14px; }
.pager a { color: var(--accent-strong); text-decoration: none; font-weight: 700; }
.pager .pager-num { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); }
.pager .pager-num.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pager .pager-prev, .pager .pager-next { padding: 0 10px; }
.cat-list .card-grid { }

/* --- 関連記事 --- */
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.related-head { font-family: var(--font); font-size: 17px; margin: 0 0 16px; }
.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.related-list a {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; background: var(--surface);
}
.related-list a:hover { border-color: var(--accent); }
.related-tag { font-size: 11.5px; font-weight: 700; color: var(--mint-ink); }
.related-title { font-size: 14.5px; font-weight: 700; line-height: 1.6; }

/* --- お問い合わせフォーム --- */
.form-wrap { max-width: 640px; margin: 0 auto; padding-block: 8px 64px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field .req { font-size: 11px; font-weight: 700; color: var(--on-accent); background: var(--accent);
  border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.field input, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; width: 100%;
}
.field textarea { line-height: 1.8; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent;
}
.hint { font-size: 12.5px; color: var(--text-soft); margin: 0; line-height: 1.8; }
.submit-btn {
  align-self: flex-start; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 15px 38px;
}
.submit-btn:hover { background: var(--accent-strong); }
.form-errors {
  background: var(--pink-soft); border-radius: 14px; padding: 18px 20px; margin-bottom: 24px;
  font-size: 14px; color: var(--accent-strong);
}
.form-errors p { margin: 4px 0; }
.form-done { background: var(--mint-soft); border-radius: 18px; padding: 32px 28px; font-size: 14.5px; line-height: 1.9; }
.form-done p { margin: 0 0 10px; }
.form-done-title {
  font-family: var(--font); font-size: 19px; font-weight: 700;
  color: var(--mint-ink); margin-bottom: 14px !important;
}
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- カテゴリ一覧ページ --- */
.cat-head { max-width: 1100px; margin: 0 auto; padding-block: 40px 8px; }
.cat-head h1 { font-family: var(--font); font-size: 26px; margin: 0 0 8px; }
.cat-head p { margin: 0; font-size: 14px; color: var(--text-soft); }
.cat-list { max-width: 1100px; margin: 0 auto; padding-block: 24px 56px; display: flex; flex-direction: column; gap: 14px; }
.cat-empty { border: 1px dashed var(--border); border-radius: 18px; padding: 28px 24px; font-size: 13.5px; color: var(--text-soft); }
.cat-card-link { text-decoration: none; color: inherit; display: block; }
.cat-card-link:hover .cat-card { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- ロゴ下のタグライン --- */
header.site .logo .en { letter-spacing: 0.02em; font-size: 11.5px; line-height: 1.4; }
@media (max-width: 480px) {
  header.site .logo .en { font-size: 10.5px; }
}

/* --- 公開用の追加リセット(Artifactの既定スタイル相当) --- */
html { -webkit-text-size-adjust: 100%; }
:root { color-scheme: light; --marker: oklch(0.87 0.11 15 / 0.9); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

/* === 日本語タイポグラフィ改善(全記事の読みやすさ・2026-09-18) === */
/* 見出し:文節で自然に改行し、行末のバランスをとる(改行位置のガタつき対策) */
h1.title, article.body h2, .hero-copy h2.hero-title,
.page-body h2, .related-head, .cat-head h1 {
  word-break: auto-phrase;
  text-wrap: balance;
}
h1.title { line-height: 1.5; }
/* 本文:禁則処理・英数字のはみ出し防止・行末の凸凹を整える */
article.body p, article.body li,
.page-body p, .page-body li, .related-title {
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
/* 余白と行間を少しゆったりに(文字の密度をやわらげる) */
article.body { max-width: 660px; }
article.body p { margin: 0 0 22px; line-height: 1.95; }
article.body ul { margin: 0 0 22px; line-height: 1.9; }
article.body li { margin-block: 10px; }
article.body h2 { margin: 52px 0 18px; line-height: 1.5; }
.toc ol { line-height: 1.75; }
/* 和欧混植の字間(対応ブラウザのみ・非対応では無視) */
article.body, .page-body { text-autospace: normal; }
/* 記事内の表(classなしの<table>も見やすく) */
article.body table {
  width: 100%; border-collapse: collapse; margin: 10px 0 30px; font-size: 14.5px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
article.body th, article.body td {
  padding: 12px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-break: strict; overflow-wrap: break-word;
}
article.body thead th { background: var(--pink-soft); font-weight: 700; }
article.body tbody tr:nth-child(even) { background: var(--table-stripe); }
@media (max-width: 600px) {
  article.body p { margin-bottom: 20px; }
  article.body table { font-size: 13.5px; }
  article.body th, article.body td { padding: 10px 11px; }
}

/* === 強調表現(太字＋マーカー・2026-09-18) === */
/* 太字:キーワードをアクセント色でくっきり */
article.body p strong, article.body li strong, article.body td strong {
  font-weight: 700; color: var(--accent-strong);
}
/* マーカー:重要な一文に引く蛍光ペン風のハイライト(下55%だけ塗る) */
article.body mark, article.body .hl {
  background: linear-gradient(transparent 48%, var(--marker) 48%);
  color: inherit; font-weight: 700; padding: 0 .12em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
article.body mark strong, article.body .hl strong { color: inherit; }
/* 小見出し(記事内の細かい区切り)。左の縦バーはやめた(2026-10-17) */
article.body h3 {
  font-family: var(--font);
  font-size: 17px; font-weight: 700; line-height: 1.55;
  margin: 40px 0 14px; color: var(--accent-strong);
}

/* === 記事内の図解(inline SVG・2026-09-18) === */
figure.diagram {
  margin: 28px 0 32px; padding: 20px 18px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
}
figure.diagram svg { display: block; width: 100%; height: auto; max-width: 460px; margin: 0 auto; }
figure.diagram figcaption {
  margin: 14px auto 0; max-width: 480px; font-size: 12.5px; color: var(--text-soft);
  text-align: center; line-height: 1.75;
}
/* 概念図(変換の流れ・効能の分岐・分類)はHTMLのカードで組む */
figure.diagram .dgm { max-width: 480px; margin: 0 auto; }
figure.diagram .dgm.dgm-chain { max-width: 580px; }
.dgm-chain { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; }
.dgm-chain .cbox {
  background: var(--surface); border: 1.5px solid var(--accent); border-radius: 10px;
  padding: 8px 11px; font-size: 12px; font-weight: 700; color: var(--accent-strong); white-space: nowrap;
}
.dgm-chain .cbox.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.dgm-chain .carr { font-size: 15px; color: var(--text-soft); }
.dgm-chain .carr.strong { color: var(--accent); font-weight: 900; }
.dgm-node { text-align: center; }
.dgm-node .pill {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  padding: 9px 22px; border-radius: 999px; font-size: 14px;
}
.dgm-node .sub { font-size: 11.5px; color: var(--text-soft); margin-top: 5px; }
.dgm-fork { text-align: center; font-size: 12px; color: var(--text-soft); margin: 10px 0 12px; }
.dgm-branch { display: flex; gap: 10px; }
.dgm-branch .dgm-card { flex: 1; text-align: center; }
.dgm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dgm-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 13px 13px;
}
.dgm-card .t { font-weight: 700; font-size: 13px; color: var(--accent-strong); line-height: 1.45; }
.dgm-card .d { font-size: 11.5px; color: var(--text-soft); margin-top: 6px; line-height: 1.65; }
.dgm-card .tag {
  display: inline-block; margin-top: 8px; font-size: 10.5px; font-weight: 700;
  background: var(--pink-soft); color: var(--accent-strong); border-radius: 999px; padding: 2px 10px;
}
.dgm-card .tag.med { background: var(--accent); color: #fff; }
.dgm-card .tag.quasi { background: var(--lavender-soft); color: var(--lavender-ink); }
.dgm-card .tag.cosme { background: var(--mint-soft); color: var(--mint-ink); }
.dgm-card.ok { border-color: var(--mint); }
.dgm-card.ok .t { color: var(--mint-ink); }
.dgm-card.ng .t { color: var(--text-soft); }
@media (max-width: 540px) {
  .dgm-branch { flex-direction: column; } .dgm-grid { grid-template-columns: 1fr; }
}

/* === この記事でわかること・肌悩みタグ・スマホの読みやすさ(2026-09-27) === */
article.body .lead-box { margin: 4px 0 30px; }
article.body .lead-box .toc { margin-bottom: 12px; }
article.body .takeaways {
  background: var(--pink-soft); border-radius: 14px; padding: 16px 20px 12px; margin: 0;
}
article.body .takeaways .tk-head {
  font-family: var(--font); font-weight: 900; font-size: 15px;
  color: var(--accent-strong); margin: 0 0 6px;
}
article.body .takeaways ul { margin: 0; padding-left: 1.2em; line-height: 1.7; }
article.body .takeaways li { margin-block: 6px; font-size: 15px; }
article.body .takeaways li::marker { color: var(--accent-strong); }
.concern-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; }
.concern-tags .lbl { color: var(--text-soft); margin-right: 2px; }
.concern-tags .sep { flex-basis: 100%; height: 0; }
.concern-tags a, .concern-chip {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  border: 1px solid var(--pink-soft); background: #fff; color: var(--accent-strong);
  border-radius: 999px; padding: 3px 11px; font-weight: 700;
}
.concern-tags a:hover, .concern-chip:hover { background: var(--pink-soft); }
.concerns { margin: 8px 0 36px; }
.concerns .head h2 { font-size: 19px; margin: 0 0 14px; }
.concern-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.concern-grid-sm { max-width: 960px; margin: 0 auto 18px; padding: 0 4px; }
.concern-chip { font-size: 15px; padding: 8px 16px; }
.concern-chip span { font-size: 11.5px; font-weight: 400; color: var(--text-soft); }
@media (max-width: 600px) {
  body { padding-inline: 16px; }
  article.body p, article.body ul, article.body li { font-size: 16.5px; }
  article.body p { line-height: 2.0; }
  article.body p.quote { font-size: 15.5px; }
  article.body h2 { font-size: 20px; line-height: 1.55; }
  article.body .takeaways li { font-size: 15.5px; }
  article.body .note, article.body .note ul { font-size: 11.5px; }
}

/* --- テーマ別まとめ(2026-10-04) --- */
.guide-crumbs { max-width: 760px; margin: 0 auto; padding-top: 20px; font-size: 12.5px; color: var(--text-soft); }
.guide-crumbs a { color: var(--text-soft); }
.guide-head .guide-pill { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-strong); background: var(--pink-soft); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.guide-head .meta { font-size: 12.5px; color: var(--text-soft); }
.guide-head .meta .dot { margin: 0 4px; }
article.guide-body { max-width: 760px; margin: 0 auto; padding-bottom: 48px; }
article.guide-body .guide-toc { margin: 18px 0 8px; }
.guide-list { list-style: none; padding: 0; margin: 14px 0 28px; display: flex; flex-direction: column; gap: 10px; counter-reset: gi; }
.guide-head { max-width: 760px; }
.guide-crumbs.wide { max-width: 1100px; }
article.guide-body .guide-list li { counter-increment: gi; margin: 0; padding: 0; }
article.guide-body .guide-list li::marker { content: none; }
.guide-item { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: #fff; }
.guide-item:hover { outline: 2px solid var(--accent); outline-offset: 1px; }
.guide-item-thumb { flex: 0 0 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; }
.guide-item-thumb svg { width: 34px; height: 34px; }
.guide-item-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guide-item-title { font-weight: 700; font-size: 15px; line-height: 1.55; }
.guide-item-title::before { content: counter(gi) ". "; color: var(--accent-strong); }
.guide-item-note { font-size: 13px; color: var(--text-soft); line-height: 1.65; }
.guide-index { max-width: 1100px; margin: 0 auto; padding-block: 20px 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; background: #fff; }
.guide-card:hover { outline: 2px solid var(--accent); outline-offset: 2px; }
.guide-card-name { font-family: var(--font); font-weight: 900; font-size: 17px; line-height: 1.5; }
.guide-card-desc { font-size: 13px; color: var(--text-soft); line-height: 1.7; }
.guide-card-count { font-size: 12.5px; font-weight: 700; color: var(--accent-strong); margin-top: auto; }
.guide-in { margin: 32px 0 8px; padding: 16px 18px; border: 1px solid var(--pink-soft); border-radius: 16px; }
.guide-in .guide-in-head { font-size: 13px; font-weight: 700; margin: 0 0 10px; color: var(--text-soft); }
.guide-in .concern-chip { font-size: 13.5px; padding: 6px 14px; }
@media (max-width: 600px) {
  .guide-item { padding: 10px 12px; gap: 12px; }
  .guide-item-thumb { flex-basis: 52px; height: 52px; }
  .guide-item-title { font-size: 15px; }
  .guide-index { grid-template-columns: 1fr; }
}

/* --- 執筆者の写真(2026-10-05) --- */
.author img.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--lavender-soft); flex-shrink: 0; display: block; }
.about-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; margin: 8px 0 12px; }

/* --- Instagram埋め込み --- */
.ig-embed { margin: 32px 0; }
.ig-embed .instagram-media {
  margin: 0 auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border-radius: 16px !important;
}
.ig-embed figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
}

/* --- トップページ用 --- */
main { max-width:1100px; margin:0 auto; }
header.site { max-width:1100px; }
.hero { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; padding-block:48px; border-bottom:1px solid var(--border); }
.hero .hero-art { aspect-ratio:4/3; height:auto; max-width:100%; border-radius:24px; position:relative; margin:0; background:linear-gradient(135deg, var(--mint) 0%, var(--lavender) 100%); }
.hero .hero-art svg { width:110px; height:110px; }
.hero .hero-art .badge { position:absolute; top:20px; left:20px; background:var(--mint-ink); color:var(--surface); font-size:12px; font-weight:700; padding:6px 14px; border-radius:999px; }
.hero-copy { display:flex; flex-direction:column; gap:18px; }
.eyebrow { display:flex; align-items:center; gap:12px; font-size:12px; font-weight:700; letter-spacing:.08em; color:var(--lavender-ink); }
.eyebrow .brand { background:var(--surface-2); color:var(--text-soft); padding:4px 12px; border-radius:999px; font-weight:700; letter-spacing:0; }
.hero-copy h1 { font-family:var(--font); font-size:clamp(24px,3.2vw,32px); font-weight:900; margin:0; line-height:1.5; }
.hero-copy p.lead { font-size:15px; color:var(--text-soft); margin:0; }
.hero-copy .meta { font-size:13px; color:var(--text-soft); display:flex; gap:14px; margin-top:0; }
.read-more { align-self:flex-start; margin-top:6px; background:var(--accent); color:var(--on-accent); padding:14px 30px; border-radius:999px; font-size:14px; font-weight:700; text-decoration:none; }
section.categories { padding-block:52px; }
section.categories .head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:24px; }
section.categories h2 { font-family:var(--font); font-size:19px; margin:0; }
.cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.cat-card { border-radius:18px; padding:26px 22px; display:flex; flex-direction:column; gap:12px; }
.cat-card svg { width:30px; height:30px; display:block; }
/* アイコンごとに viewBox を輪郭に合わせているので、線の太さは非スケールで一定に保つ */
.cat-card svg * { vector-effect: non-scaling-stroke; }
.cat-card .name { font-weight:700; font-size:14.5px; }
.cat-card .desc { font-size:12.5px; color:var(--text-soft); line-height:1.7; }
.cat-card.mint { background:var(--mint-soft); }
.cat-card.lavender { background:var(--lavender-soft); }
.cat-card.peach { background:var(--peach-soft); }
.cat-card.pink { background:var(--pink-soft); }
section.latest { padding-block:8px 56px; }
.latest-card { display:flex; gap:20px; align-items:flex-start; background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:22px 24px; text-decoration:none; color:inherit; }
.latest-card:hover { border-color:var(--accent); }
.latest-card .thumb { width:72px; height:72px; border-radius:15px; flex-shrink:0; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.latest-card .thumb svg { width:36px; height:36px; }
@media (max-width:520px){ .latest-card .thumb { width:60px; height:60px; } .latest-card .thumb svg { width:30px; height:30px; } }
.latest-card .tag { font-size:11.5px; font-weight:700; color:var(--mint-ink); }
.latest-card h3 { font-family:var(--font); font-size:15.5px; margin:4px 0 6px; font-weight:700; line-height:1.6; }
.latest-card .sub { font-size:12.5px; color:var(--text-soft); }
@media (max-width:820px){ .hero { grid-template-columns:1fr; gap:18px; } .cat-grid { grid-template-columns:repeat(3,1fr); gap:10px; } .cat-card { padding:16px 14px; gap:8px; } .cat-card svg { width:24px; height:24px; } .cat-card .name { font-size:13.5px; } .cat-card .desc { display:none; } }
/* 2026-10-06 トップページ整理: ヒーローを低く、探す導線を3段に */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.hero { padding-block:28px 32px; gap:32px; }
.hero .hero-art { aspect-ratio:3/2; }
.hero .hero-art svg { width:84px; height:84px; }
.hero-copy { gap:14px; }
.hero-copy h2.hero-title { font-size:clamp(20px,2.6vw,28px); }
.read-more { padding:11px 22px; margin-top:0; }
@media (max-width:820px){ .hero .hero-art { aspect-ratio:16/6; } .hero .hero-art svg { width:56px; height:56px; } .hero-copy p.lead { display:none; } }
section.categories { padding-block:36px 8px; }
section.categories .head { margin-bottom:16px; }
.cat-grid { grid-template-columns:repeat(3,1fr); }
section.picks { padding-block:28px 8px; }
section.picks .head { margin-bottom:14px; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
section.picks h2 { font-family:var(--font); font-size:19px; margin:0; }
section.picks .sub { margin:0; font-size:12.5px; color:var(--text-soft); }
.pick-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
@media (max-width:820px){ .pick-grid { grid-template-columns:repeat(2,1fr); } }
.pick { display:block; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:12px 14px; text-decoration:none; color:inherit; }
.pick:hover { border-color:var(--accent); }
.pick-cat { display:block; font-size:11px; font-weight:700; color:var(--accent-strong); margin-bottom:4px; }
.pick-title { display:block; font-weight:700; font-size:14px; line-height:1.5; }
.pick-sub { display:block; font-size:11.5px; color:var(--text-soft); line-height:1.5; margin-top:3px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
main > section.concerns { padding-block:24px 4px; }
main > section.concerns .head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:12px; }
main > section.concerns .head h2 { font-family:var(--font); font-size:19px; margin:0; }
main > section.concerns .head .head-link { font-size:13px; font-weight:700; color:var(--accent-strong); text-decoration:none; }
.concern-chip.more { opacity:.8; }
details.more-ways { margin:28px 0 8px; border:1px solid var(--border); border-radius:14px; background:var(--surface); padding:12px 16px; }
details.more-ways summary { cursor:pointer; font-weight:700; font-size:14px; color:var(--text-soft); list-style:none; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
details.more-ways summary small { font-weight:400; font-size:12px; opacity:.85; }
details.more-ways summary::-webkit-details-marker { display:none; }
details.more-ways summary::before { content:"▸"; font-size:12px; transition:transform .15s; }
details.more-ways[open] summary::before { transform:rotate(90deg); }
details.more-ways section.concerns { padding-block:14px 4px; }
details.more-ways section.concerns .head h2 { font-size:14px; }
details.more-ways .concern-chip { font-size:13.5px; padding:6px 14px; }
section.latest { padding-block:28px 56px; }
/* 2026-10-13 かんたん版「1分でわかる」 */
.kind-quick { color: var(--accent-strong); }
.tag-kind.k-quick, .k-quick { color: var(--accent-strong); }

/* ===== 2026-10-14 トップページ改修・肌タイプチェック・スマホのメニュー ===== */
/* スマホのメニュー(≡)。PCでは出さない */
header.site details.nav-sp { display: none; }
@media (max-width: 700px) {
  header.site { padding-block: 12px; gap: 10px; align-items: center; }
  header.site nav.main { display: none; }
  header.site .logo .en { display: none; }
  header.site details.nav-sp { display: block; position: relative; margin-left: auto; }
  header.site details.nav-sp summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 12px;
    background: var(--surface); font-size: 13px; font-weight: 700; color: var(--text);
  }
  header.site details.nav-sp summary::-webkit-details-marker { display: none; }
  header.site details.nav-sp[open] summary { border-color: var(--accent); color: var(--accent-strong); }
  .nav-sp-bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
  .nav-sp-bars::before, .nav-sp-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
  .nav-sp-bars::before { top: -6px; } .nav-sp-bars::after { top: 6px; }
  header.site .nav-sp-menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(300px, calc(100vw - 40px));
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 8px;
    display: flex; flex-direction: column; box-shadow: 0 12px 32px rgba(0,0,0,.12);
  }
  header.site .nav-sp-menu a { text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px; padding: 12px 14px; border-radius: 10px; min-height: 44px; display: flex; align-items: center; }
  header.site .nav-sp-menu a:hover { background: var(--pink-soft); color: var(--accent-strong); }
  header.site .site-search { order: 3; width: 100%; margin: 4px 0 0; }
}

/* --- トップページ --- */
main.tp { max-width: 1040px; padding-block: 0 56px; }
.tp-hero { padding: 40px 0 28px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--border); }
.tp-h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; line-height: 1.4; margin: 0; color: var(--text); }
.tp-h1 br.sp { display: none; }
.tp-h1 .nw { white-space: nowrap; }
@media (min-width: 901px) { .tp-top .tp-h1 { font-size: clamp(26px, 2.9vw, 34px); } }
.tp-sub { margin: 0; font-size: 15px; color: var(--text-soft); }
.tp-search { display: flex; align-items: center; gap: 6px; max-width: 560px; border: 2px solid var(--text); border-radius: 16px; background: var(--surface); padding: 5px 5px 5px 16px; }
.tp-search:focus-within { border-color: var(--accent); }
.tp-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; padding: 8px 0; color: inherit; }
.tp-search input:focus { outline: none; }
.tp-search input::placeholder { color: var(--text-soft); }
.tp-search button { border: 0; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 20px; border-radius: 12px; cursor: pointer; }
.tp-search button:hover { background: var(--accent-strong); }
.tp-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); }
.tp-examples a { text-decoration: none; color: var(--text); border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 7px 12px; line-height: 1.2; min-height: 34px; display: inline-flex; align-items: center; }
.tp-examples a:hover { border-color: var(--accent); color: var(--accent-strong); }

.tp-h2 { font-size: 19px; margin: 0; }
.tp-h2 small { font-size: 12px; font-weight: 700; color: var(--text-soft); margin-left: 6px; }
.tp-entries { padding: 28px 0 8px; }
.tp-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.tp-entry { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border: 2px solid var(--text); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .15s, background .15s; }
.tp-entry:hover { border-color: var(--accent); background: var(--pink-soft); }
.tp-entry .tp-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--pink-soft); color: var(--accent-strong); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.tp-entry .tp-ico svg { width: 24px; height: 24px; }
.tp-entry-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tp-entry-text strong { font-size: 16px; line-height: 1.4; }
.tp-entry-text small { font-size: 12.5px; color: var(--text-soft); line-height: 1.5; }
.tp-entry .tp-arrow { margin-left: auto; font-size: 18px; color: var(--accent-strong); }
.tp-entry-check { background: var(--pink-soft); border-color: var(--accent); }
.tp-entry-check .tp-ico { background: var(--accent); color: var(--on-accent); }
.tp-entry-check:hover { background: var(--surface); }

.tp-sec { padding: 30px 0 4px; }
.tp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tp-more { font-size: 13px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.tp-more:hover { text-decoration: underline; }
.tp-rank { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.tp-rank li + li { border-top: 1px solid var(--border); }
.tp-rank a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; text-decoration: none; color: var(--text); }
.tp-rank a:hover { background: var(--pink-soft); }
.tp-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 900; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-family: var(--font); }
.tp-rank-title { flex: 1; font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.tp-kind { font-size: 11px; color: var(--text-soft); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; flex: 0 0 auto; }
.tp-find .concern-chip { min-height: 44px; display: inline-flex; align-items: center; border-color: var(--text); font-weight: 700; }
#brands .concern-chip { border-color: var(--border); font-weight: 400; }
.tp-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tp-way { min-height: 50px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px; }
.tp-way:hover { border-color: var(--accent); color: var(--accent-strong); }
.tp-details { margin-top: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 16px; }
.tp-details summary { cursor: pointer; font-weight: 700; font-size: 14px; min-height: 48px; display: flex; align-items: center; color: var(--text); }
.tp-details[open] summary { border-bottom: 1px solid var(--border); }
.tp-sub-group { padding: 14px 0; }
.tp-sub-group + .tp-sub-group { border-top: 1px solid var(--border); }
.tp-sub-h { font-size: 12.5px; font-weight: 700; color: var(--text-soft); margin-bottom: 8px; }
.tp-sub-group .concern-chip { font-size: 14px; }
.tp-all { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--text); border-radius: 14px; text-decoration: none; color: var(--text); font-weight: 700; }
.tp-all:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--pink-soft); }
main.tp .more-link { margin: 22px 0 0; text-align: center; }
main.tp .latest-card.v { border: 1px solid var(--border); background: var(--surface); }

@media (max-width: 700px) {
  .tp-hero { padding: 24px 0 20px; }
  .tp-h1 br.sp { display: inline; }
  .tp-search { border-radius: 14px; }
  .tp-search button { padding: 0 16px; }
  .tp-entry-grid { grid-template-columns: 1fr; gap: 10px; }
  .tp-entry { min-height: 72px; padding: 12px 16px; }
  .tp-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 新着は横スクロール */
  .tp-scroll { margin-inline: -20px; padding-inline: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tp-scroll::-webkit-scrollbar { display: none; }
  .tp-scroll .card-grid { display: flex; gap: 10px; width: max-content; padding-right: 20px; }
  .tp-scroll .latest-card.v { flex-direction: column; align-items: stretch; width: 210px; padding: 0; gap: 0; }
  .tp-scroll .latest-card.v .thumb { width: 100%; height: 84px; border-radius: 0; }
  .tp-scroll .latest-card.v .thumb svg { width: 34px; height: 34px; }
  .tp-scroll .latest-card.v .card-body { padding: 10px 12px 12px; }
  .tp-scroll .latest-card.v h3 { font-size: 13.5px; -webkit-line-clamp: 3; }
}

/* --- 肌タイプチェック --- */
.sc-main { max-width: 720px; }
.sc-head { padding: 20px 0 8px; }
.sc-head h1 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; margin: 6px 0 10px; }
.sc-head p { margin: 0; font-size: 14.5px; color: var(--text-soft); line-height: 1.9; }
.sc-box { margin-top: 18px; border: 2px solid var(--text); border-radius: 20px; background: var(--surface); padding: 20px 20px 18px; }
.sc-progress { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sc-bar { height: 100%; background: var(--accent); border-radius: 999px; transition: width .25s; }
.sc-step { margin: 12px 0 0; font-size: 12.5px; font-weight: 700; color: var(--text-soft); }
.sc-qt { font-size: clamp(18px, 2.6vw, 22px); font-weight: 900; line-height: 1.5; margin: 8px 0 16px; }
.sc-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sc-opt { min-height: 56px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); font: inherit; font-size: 15px; font-weight: 700; color: var(--text); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.sc-opt:hover { border-color: var(--accent); background: var(--pink-soft); }
.sc-opt.is-on { border-color: var(--accent); background: var(--pink-soft); color: var(--accent-strong); }
.sc-nav { margin-top: 14px; }
.sc-back { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--text-soft); cursor: pointer; padding: 8px 0; min-height: 44px; }
.sc-back:hover { color: var(--accent-strong); }
.sc-result { margin-top: 18px; border: 2px solid var(--accent); border-radius: 20px; background: var(--surface); padding: 24px 22px; }
.sc-eyebrow { margin: 0; font-size: 12px; font-weight: 700; color: var(--accent-strong); letter-spacing: .04em; }
.sc-type { font-size: clamp(21px, 3vw, 26px); font-weight: 900; margin: 6px 0 10px; line-height: 1.45; }
.sc-sens { margin: 0 0 10px; font-size: 14px; background: var(--peach-soft); border-radius: 12px; padding: 10px 14px; line-height: 1.8; }
.sc-desc { margin: 0; font-size: 15px; line-height: 1.9; }
.sc-h3 { font-size: 15px; font-weight: 900; margin: 24px 0 10px; font-family: var(--font); }
.sc-note { margin: -4px 0 10px; font-size: 12.5px; color: var(--text-soft); line-height: 1.7; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-chips .concern-chip { min-height: 44px; display: inline-flex; align-items: center; border-color: var(--text); font-weight: 700; }
.sc-ing-group + .sc-ing-group { margin-top: 12px; }
.sc-ing-h { font-size: 13px; font-weight: 700; color: var(--text-soft); margin-bottom: 6px; }
.sc-ing { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--surface); color: var(--accent-strong); font-weight: 700; font-size: 14px; text-decoration: none; }
.sc-ing:hover { background: var(--pink-soft); }
.sc-list { margin: 0; padding-left: 1.2em; font-size: 14.5px; line-height: 1.8; }
.sc-list li { margin-block: 6px; }
.sc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 14px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.sc-btn:hover { background: var(--accent-strong); }
.sc-btn.ghost { background: var(--surface); color: var(--accent-strong); border: 1.5px solid var(--accent); }
.sc-btn.ghost:hover { background: var(--pink-soft); }
.sc-disclaimer { margin: 22px 0 0; font-size: 12.5px; color: var(--text-soft); line-height: 1.8; border-top: 1px solid var(--border); padding-top: 14px; }
.sc-again { margin-top: 14px; min-height: 48px; padding: 0 18px; border: 2px solid var(--text); border-radius: 14px; background: var(--surface); font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
.sc-again:hover { border-color: var(--accent); color: var(--accent-strong); }
@media (max-width: 560px) {
  .sc-box { padding: 16px 14px 14px; border-radius: 16px; }
  .sc-opts { grid-template-columns: 1fr; }
  .sc-result { padding: 20px 16px; border-radius: 16px; }
}

/* トップ: PCは左に検索、右に入口の2列 */
@media (min-width: 901px) {
  .tp-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 36px 0 34px; border-bottom: 1px solid var(--border); }
  .tp-top .tp-hero { border: 0; padding: 0; }
  .tp-top .tp-entries { padding: 0; }
  .tp-top .tp-entry-grid { grid-template-columns: 1fr; gap: 10px; }
  .tp-top .tp-entry { min-height: 70px; padding: 12px 18px; }
}
@media (max-width: 700px) {
  body.is-home header.site .site-search { display: none; }
}

/* 記事末尾の「次に読む」ボタン(2026-10-14) */
.next-read { max-width: 660px; margin: 40px auto 8px; }
.next-read-btn { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; min-height: 64px; border-radius: 16px; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.next-read-btn:hover { background: var(--accent-strong); }
.next-read-label { font-weight: 900; font-size: 16px; font-family: var(--font); }
.next-read-title { font-size: 13px; opacity: .92; line-height: 1.5; }
/* 成分記事の最初の画面: 表示名・入っている理由・安全性(2026-10-14) */
.ing-facts { max-width: 660px; margin: 0 auto 22px; padding: 4px 0 0; display: grid; grid-template-columns: 1fr; gap: 0; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.ing-facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 10px 14px; font-size: 14px; line-height: 1.7; }
.ing-facts > div + div { border-top: 1px solid var(--border); }
.ing-facts dt { margin: 0; font-weight: 700; color: var(--text-soft); font-size: 12.5px; padding-top: 2px; }
.ing-facts dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .ing-facts > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; } }
/* 1分版はスマホで飾り画像を小さくして、最初の画面に答えが入るようにする */
@media (max-width: 600px) {
  main:has(.pill.kind-quick) > .hero-art { height: 96px; margin: 16px auto 18px; }
  main:has(.pill.kind-quick) > .hero-art svg { width: 44px; height: 44px; }
}
.sc-prods li{ display:flex; flex-direction:column; gap:2px; }
.sc-prod-k{ font-size:12px; color:var(--text-soft); }
/* ===== トップ改修 2026-10-17: 肌タイプチェックを主役に ===== */
body.is-home header.site .site-search { display: flex; }
.tp-check { padding: 28px 0 8px; max-width: 720px; }
.tp-check .tp-h1 { margin: 4px 0 8px; }
.tp-check .sc-box { margin-top: 16px; }
.tp-eyebrow { margin: 0; font-size: 12.5px; font-weight: 900; color: var(--accent-strong); letter-spacing: .06em; }
.tp-lead { margin: 6px 0 0; font-size: 13.5px; color: var(--text-soft); }
.tp-type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tp-type { display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--text); }
.tp-type strong { font-size: 16px; }
.tp-type small { font-size: 12.5px; color: var(--text-soft); line-height: 1.5; }
.tp-type:hover { border-color: var(--accent); background: var(--pink-soft); }
.tp-more-sec .tp-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .tp-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-more-sec .tp-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-check { padding-top: 18px; }
}
.check-banner { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; padding: 16px 18px; border: 2px solid var(--accent); border-radius: 16px; background: var(--pink-soft); text-decoration: none; color: var(--text); }
.check-banner-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.check-banner-text strong { font-size: 15.5px; }
.check-banner-text small { font-size: 12.5px; color: var(--text-soft); line-height: 1.6; }
.check-banner-btn { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; }
.check-banner:hover .check-banner-btn { background: var(--accent-strong); }
@media (max-width: 520px) { .check-banner { flex-direction: column; align-items: stretch; } .check-banner-btn { justify-content: center; } }
.sp-search-btn { display: none; }
.tp-find .concern-grid { margin-top: 12px; }
@media (max-width: 900px) {
  body.is-home header.site .site-search { display: none; }
  body.is-home header.site.show-search .site-search { display: flex; }
  body.is-home .sp-search-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; }
  body.is-home .sp-search-btn svg { width: 20px; height: 20px; }
  body.is-home header.site { gap: 8px; }
  body.is-home header.site details.nav-sp { margin-left: 0; }
  body.is-home header.site details.nav-sp summary { padding: 0 9px; gap: 5px; }
  body.is-home .sp-search-btn { width: 40px; height: 44px; }
  body.is-home header.site { gap: 6px; }
}
/* ===== トップ改修 10/17b: ランキング中心 ===== */
body.is-home header.site .logo .en { display: block; }
.tp-check .tp-h2 { margin-bottom: 2px; }
.tp-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tp-cat { display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--text); }
.tp-cat strong { font-size: 16px; display: flex; align-items: baseline; gap: 8px; }
.tp-cat small { font-size: 12.5px; color: var(--text-soft); line-height: 1.5; }
.tp-cat:hover { border-color: var(--accent); background: var(--pink-soft); }
.cn-cnt { font-size: 12px; font-weight: 700; color: var(--text-soft); }
.cn-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pair-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 18px; padding: 10px 14px; border: 1px dashed var(--accent); border-radius: 12px; background: var(--surface); font-size: 13.5px; color: var(--text-soft); }
.pair-link a { font-weight: 700; text-decoration: none; }
.pair-link a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .tp-cat-grid, .cn-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { body.is-home header.site .logo .en { font-size: 9.5px; letter-spacing: 0; white-space: nowrap; } }
/* ===== 肌タイプチェック 結果のシンプル化 2026-10-17c ===== */
.sc-result { padding: 24px 22px 20px; }
.sc-result .sc-type { margin: 0 0 6px; }
.sc-result .sc-desc { font-size: 15px; color: var(--text-soft); }
.sc-result .sc-sens { margin: 10px 0 0; font-size: 13px; padding: 8px 12px; }
.sc-block { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 16px; }
.sc-block .sc-h3 { margin: 0 0 10px; font-size: 13px; color: var(--text-soft); font-weight: 700; letter-spacing: .04em; }
.sc-concern-line { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.6; }
.sc-ing-row { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; }
.sc-ing-row + .sc-ing-row { border-top: 1px dashed var(--border); }
.sc-ing-label { flex: 0 0 4.5em; font-size: 13px; font-weight: 700; color: var(--text-soft); }
.sc-ing-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-result .sc-ing { min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14.5px; font-weight: 700; background: var(--surface); }
.sc-result .sc-ing:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--pink-soft); }
.sc-prods { list-style: none; margin: 0; padding: 0; }
.sc-prods li { margin: 0; }
.sc-prods li + li { border-top: 1px dashed var(--border); }
.sc-prods a { display: block; padding: 10px 0; font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--text); }
.sc-prods a:hover { color: var(--accent-strong); }
.sc-result .sc-disclaimer { border-top: 0; padding-top: 0; margin-top: 20px; font-size: 12px; }
.sc-result .sc-again { margin-top: 10px; min-height: 44px; font-size: 14px; border-width: 1.5px; }
.sc-type-pre { margin: 0; font-size: 13px; font-weight: 700; color: var(--text-soft); }
.sc-result .sc-type { font-size: clamp(26px, 4vw, 32px); margin: 2px 0 6px; }
@media (max-width: 520px) {
  .sc-result { padding: 20px 16px 18px; }
  .sc-ing-label { flex-basis: 3.6em; }
  .sc-result .sc-ing { min-height: 34px; padding: 0 10px; font-size: 13.5px; }
}
.sc-result .sc-desc { margin: 4px 0 0; font-size: 15px; line-height: 1.85; color: var(--text); }
.sc-desc-line { display: block; }
.sc-desc-line + .sc-desc-line { margin-top: 6px; }
/* ===== 10/17d: トップの肌タイプチェックをカードに / 用語辞典 ===== */
.tp-check { padding: 24px 0 4px; max-width: none; }
.tp-check-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 2px solid var(--accent); border-radius: 20px; background: var(--pink-soft); text-decoration: none; color: var(--text); }
.tp-check-card:hover { background: var(--surface); }
.tp-check-ico { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.tp-check-ico svg { width: 30px; height: 30px; }
.tp-check-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.tp-check-text strong { font-size: 18px; }
.tp-check-text small { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.tp-check-go { font-size: 22px; color: var(--accent-strong); font-weight: 900; }
.dic-main { max-width: 820px; }
.dic-search { margin: 6px 0 10px; }
.dic-search input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 0 18px; border: 2px solid var(--text); border-radius: 14px; background: var(--surface); font: inherit; font-size: 16px; color: var(--text); }
.dic-search input:focus { outline: none; border-color: var(--accent); }
.dic-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dic-tab { min-height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: inherit; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer; }
.dic-tab.is-on { background: var(--text); border-color: var(--text); color: var(--surface); }
.dic-count { margin-left: auto; font-size: 12.5px; color: var(--text-soft); }
.dic-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.dic-list li + li { border-top: 1px solid var(--border); }
.dic-list li[hidden] { display: none; }
.dic-list a, .dic-nolink { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; text-decoration: none; color: var(--text); }
.dic-list a:hover { background: var(--pink-soft); }
.dic-name { font-weight: 900; font-size: 15.5px; }
.dic-name small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--text-soft); }
.dic-desc { font-size: 13px; color: var(--text-soft); line-height: 1.7; }
.dic-empty { margin: 14px 0; font-size: 14px; }

/* 文字は Meiryo UI に統一(2026-10-18 ユーザー指示)。記事内の図の文字も同じにする */
figure.diagram svg, figure.diagram svg text, svg[role="img"], svg[role="img"] text { font-family: var(--font) !important; }
button, input, select, textarea { font-family: var(--font); }

/* 肌タイプチェックの結果:水分量×皮脂量の十字グラフ(2026-10-18) */
.sc-map { margin: 18px auto 4px; max-width: 340px; }
.sc-map svg { display: block; width: 100%; height: auto; }
.sc-map figcaption { margin-top: 6px; font-size: 12px; color: var(--text-soft); text-align: center; line-height: 1.6; }

/* 悩み別の診断(毛穴・くすみ・しわ)2026-10-18 */
.dg-fig { margin: 18px auto 6px; max-width: 420px; }
.dg-fig svg { display: block; width: 100%; height: auto; }
.dg-fig g[data-t] { opacity: .38; transition: opacity .2s; }
.dg-fig g[data-t].is-on { opacity: 1; }
.dg-skin { fill: var(--pink-soft); }
.dg-hole { fill: var(--surface); stroke: var(--text-soft); stroke-width: 1.2; }
.dg-plug { fill: #E8D3B5; stroke: var(--text-soft); stroke-width: 1.2; }
.dg-cap { fill: #6E4A57; }
.dg-oil { fill: #F2D27A; }
.dg-arrow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg-lb { font-size: 13px; font-weight: 700; fill: var(--text); }
.dg-fig g.is-on .dg-lb { fill: var(--accent-strong); }
.dg-sm { font-size: 11px; fill: var(--text-soft); }
.dg-cap-t { font-size: 11px; fill: var(--text-soft); }
.dg-card { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.dg-fig g.is-on .dg-card { stroke: var(--accent); stroke-width: 2.5; fill: var(--pink-soft); }
.dg-sc { fill: #F3D9E2; } .dg-epi { fill: #F8E6EC; } .dg-derm { fill: #FBF1F4; }
.dg-groove { fill: var(--surface); stroke: var(--text-soft); stroke-width: 1.2; }
.dg-fig g.is-on .dg-groove { stroke: var(--accent); stroke-width: 2; }
.dg-bars { display: flex; flex-direction: column; gap: 8px; }
.dg-bar { display: grid; grid-template-columns: 9.5em 1fr 2.4em; align-items: center; gap: 10px; font-size: 13.5px; }
.dg-bar-n { color: var(--text-soft); line-height: 1.4; }
.dg-bar-t { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.dg-bar-f { display: block; height: 100%; background: var(--border); border-radius: 5px; }
.dg-bar.is-on .dg-bar-n { color: var(--accent-strong); font-weight: 700; }
.dg-bar.is-on .dg-bar-f { background: var(--accent); }
.dg-bar-v { font-size: 12px; color: var(--text-soft); text-align: right; }
.dg-note { margin: 10px 0 0; font-size: 12px; color: var(--text-soft); line-height: 1.7; }
.dg-care { margin: 0; padding-left: 1.3em; font-size: 14.5px; line-height: 1.8; }
.dg-care li + li { margin-top: 4px; }
.dg-arts { margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.dg-arts li + li { margin-top: 6px; }
.dg-arts a { text-decoration: none; }
.dg-others { max-width: 720px; margin: 28px auto 0; }
.dg-others-h { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--text-soft); }
.dg-others-list { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-others-list a { padding: 9px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 700; }
@media (max-width: 480px) { .dg-bar { grid-template-columns: 8em 1fr 2.2em; font-size: 12.5px; } }
.tp-diag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: 13.5px; }
.tp-diag span { color: var(--text-soft); font-weight: 700; }
.tp-diag a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); text-decoration: none; font-weight: 700; }
.cn-diag { display: inline-block; margin-top: 10px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 6px; background: var(--surface); text-decoration: none; font-weight: 700; font-size: 14px; }
/* シミ診断(2026-10-20) */
.dg-face { fill: #FBEFE6; stroke: var(--text-soft); stroke-width: 1.2; }
.dg-facel { fill: none; stroke: var(--text-soft); stroke-width: 1.1; stroke-linecap: round; }
.dg-sp-m { fill: #C9A27E; opacity: .55; }
.dg-sp-l { fill: #9C6B48; }
.dg-sp-a { fill: #7F8AA3; }
.dg-sp-p { fill: #B5715A; }
.dg-sp-f { fill: #A0714E; }
.dg-flags { margin: 0 0 14px; }
.dg-flag { margin: 0 0 8px; padding: 10px 12px; background: var(--surface-2); border-radius: 6px; font-size: 13.5px; line-height: 1.75; }
.dg-flag.is-warn { background: #FFF1D6; color: #7A4A00; font-weight: 700; }
/* 肌タイプチェック:肌の様子の絵(2026-10-20) */
.sc-pic { margin: 16px auto 0; max-width: 380px; }
.sc-pic svg { display: block; width: 100%; height: auto; }
.sc-pic figcaption { margin-top: 2px; font-size: 12px; color: var(--text-soft); text-align: center; }
.sp-face { fill: #FBEFE6; stroke: var(--text-soft); stroke-width: 1.3; }
.sp-tz { fill: #F7E3C6; opacity: .9; }
.sp-line { fill: none; stroke: var(--text-soft); stroke-width: 1.4; stroke-linecap: round; }
.sp-shine { fill: #fff; opacity: .95; }
.sp-shine.is-soft { opacity: .6; }
.sp-spark { stroke: #E2B84A; stroke-width: 1.6; stroke-linecap: round; }
.sp-blush { fill: #F4B9C9; opacity: .35; }
.sp-flake { fill: #fff; stroke: #CDB7A8; stroke-width: .9; }
.sp-fine { fill: none; stroke: #C9A99A; stroke-width: 1; stroke-linecap: round; }
.sp-cap { font-size: 12px; font-weight: 700; fill: var(--text-soft); }
.sp-sm { font-size: 11px; fill: var(--text-soft); }
.sp-note { font-size: 12px; font-weight: 700; fill: var(--accent-strong); }
.sp-film { fill: #F2D27A; }
.sp-brick { fill: #F3D9E2; stroke: #fff; stroke-width: 1; }
.sp-drop { fill: #7FB8D8; }

/* 十字グラフ(2026-10-20 作り直し) */
.sc-map { max-width: 360px; }
.sc-map-q { fill: var(--surface-2); stroke: none; }
.sc-map-q.q-normal { fill: #EAF4EE; } .sc-map-q.q-oily { fill: #FBF0DC; } .sc-map-q.q-dry { fill: #EEF0F8; } .sc-map-q.q-combination { fill: #F6EBF2; }
.sc-map-q.is-on { stroke: var(--accent); stroke-width: 2.5; filter: brightness(.985); }
.sc-map-ql { font-size: 13.5px; font-weight: 700; fill: var(--text-soft); }
.sc-map-ql.is-on { fill: var(--accent-strong); }
.sc-map-ax { fill: none; stroke: var(--text-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.sc-map-al { font-size: 12px; font-weight: 700; fill: var(--text); }
.sc-map-ic { font-size: 11px; }
.sc-map-dot { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.sc-map-halo { fill: var(--accent); opacity: .2; }
.sc-map-pill { fill: var(--accent-strong); }
.sc-map-you { font-size: 12px; font-weight: 700; fill: #fff; }
/* よくある悩みのカード */
.sc-lead-sm { margin: -6px 0 12px; font-size: 13px; color: var(--text-soft); }
.sc-cards { display: grid; gap: 10px; }
.sc-card { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--text); }
.sc-card.has-dg { border-color: var(--accent); background: var(--pink-soft); }
.sc-card-h { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; }
.sc-card-h em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-strong); background: #fff; border: 1px solid var(--accent); border-radius: 999px; padding: 2px 8px; }
.sc-card-d { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--text-soft); }
.sc-card-go { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--accent-strong); }

/* 2026-10-20 図の余白を減らして文字を大きく見せる(ユーザー指示「余白はいらない」) */
figure.diagram { margin: 22px 0 26px; padding: 10px 8px 10px; }
figure.diagram svg { max-width: 100%; }
/* 2026-10-21 「枠がでかすぎる」→ 枠ごと幅を絞って、図にぴったり合わせる */
@media (min-width: 601px) { figure.diagram { max-width: 560px; margin-left: auto; margin-right: auto; } }
figure.diagram figcaption { margin: 8px auto 0; max-width: none; font-size: 14px; line-height: 1.7; }
@media (max-width: 600px) { figure.diagram { padding: 8px 4px 8px; margin-left: -6px; margin-right: -6px; } }
/* 時系列・手順の図(HTMLで組むので文字が縮まない)。横一列だけ。縦と横をまぜない */
figure.diagram-html { padding: 12px 10px; }
.flow { display: flex; align-items: stretch; gap: 4px; }
.flow-step { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
  text-align: center; background: var(--lavender-soft); color: var(--text); border-radius: 12px;
  padding: 12px 6px; font-size: 16px; font-weight: 700; line-height: 1.45; }
figure.diagram svg.flow-ic { display: block; width: 40px; height: 40px; max-width: none; margin: 0; color: var(--accent-strong); }
.flow-step:nth-of-type(2) { background: #FCE4EA; }
.flow-step:nth-of-type(3) { background: #DDF0E7; }
.flow-step:nth-of-type(3) .flow-ic { color: #2E7D62; }
.flow-step:nth-of-type(4) { background: #FFF1D6; }
.flow-step:nth-of-type(4) .flow-ic { color: #B07A12; }
.flow-arrow { align-self: center; color: var(--accent-strong); font-weight: 700; font-size: 22px; }
@media (max-width: 600px) {
  .flow-step { padding: 10px 3px; font-size: 13.5px; }
  figure.diagram svg.flow-ic { width: 32px; height: 32px; }
  .flow-arrow { font-size: 16px; }
}
/* 2026-10-21 成分の役割カード(横一列。絵+名前+効能) */
.roles { display: flex; gap: 6px; }
.role-card { flex: 1; background: #FFF8F1; border-radius: 12px; padding: 10px 6px 12px; text-align: center; }
.role-card:nth-child(1) { background: #FCE4EA; }
.role-card:nth-child(2) { background: #E6F3EC; }
.role-card:nth-child(3) { background: #EEF2FB; }
figure.diagram svg.role-ic { display: block; width: 64px; height: 64px; max-width: none; margin: 0 auto 4px; }
.role-t { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.role-d { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-soft); }
.flow-combo .flow-step small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--text-soft); line-height: 1.5; }
figure.diagram .flow-combo svg.role-ic { width: 52px; height: 52px; margin: 0 auto; }
@media (max-width: 600px) {
  .roles { gap: 4px; }
  .role-card { padding: 8px 3px 10px; }
  figure.diagram svg.role-ic { width: 48px; height: 48px; }
  .role-t { font-size: 14px; }
  .role-d, .flow-combo .flow-step small { font-size: 12px; }
}
.body .role-card p { line-height: 1.5; text-indent: 0; }
.body .role-card p.role-t { margin: 0; }
.body .role-card p.role-d { margin: 4px 0 0; }
@media (max-width: 600px) {
  .flow-combo { gap: 2px; }
  .flow-combo .flow-step { padding: 8px 2px; font-size: 12.5px; }
  .flow-combo .flow-arrow { font-size: 14px; }
  .body .role-card p.role-d { font-size: 11.5px; }
}
article.body .role-card p.role-t { font-size: 16px; line-height: 1.45; }
article.body .role-card p.role-d { font-size: 13px; line-height: 1.55; }
.nw { display: inline-block; }
@media (max-width: 600px) {
  article.body .role-card p.role-t { font-size: 13.5px; }
  article.body .role-card p.role-d { font-size: 11.5px; }
}
/* 2026-10-21 図の凡例(番号つき。HTMLなので文字が縮まない) */
.legend3 { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.legend3 li { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.legend3 li::before { content: none; }
.lg-n { flex: none; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
figure.diagram svg + .legend3 { padding: 0 4px; }
/* 手順の図で「ここに働く」段階を目立たせる */
.flow-step.is-target { box-shadow: 0 0 0 3px var(--accent-strong) inset; }
.flow-melanin .flow-step:nth-of-type(1) { background: #FFF1D6; }
.flow-melanin .flow-step:nth-of-type(2) { background: #F6EBE3; }
.flow-melanin .flow-step:nth-of-type(3) { background: #FCE4EA; }
.flow-melanin .flow-step:nth-of-type(4) { background: #F3EEEA; }
.flow-melanin .flow-ic { color: #A06A3C !important; }
@media (max-width: 600px) { .legend3 li { font-size: 13.5px; } .flow-melanin .flow-step { font-size: 12.5px; } }
article.body ol.legend3 { margin: 8px 0 0; padding: 0 4px; }
article.body ol.legend3 li { margin: 0; padding: 0; line-height: 1.6; }
.flow-wrinkle .flow-step:nth-of-type(1) { background: #FFF1D6; }
.flow-wrinkle .flow-step:nth-of-type(2) { background: #FBE3D3; }
.flow-wrinkle .flow-step:nth-of-type(3) { background: #F3EEFA; }
.flow-wrinkle .flow-step:nth-of-type(4) { background: #FCE4EA; }
.flow-wrinkle .flow-ic { color: #B5677A !important; }
@media (max-width: 600px) { .flow-wrinkle .flow-step { font-size: 12.5px; } }

/* テーマのまとまりの案内(2026-10-21) */
.cluster-box { margin: 36px 0 28px; padding: 18px 18px 14px; background: var(--lavender-soft); border-radius: 16px; }
.cluster-h { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--accent-strong); }
article.body .cluster-list { margin: 0; padding: 0; list-style: none; counter-reset: cl; }
article.body .cluster-list li { counter-increment: cl; position: relative; margin: 0; padding: 9px 0 9px 30px; border-top: 1px solid rgba(255,255,255,.8); font-size: 14.5px; line-height: 1.6; }
article.body .cluster-list li:first-child { border-top: 0; }
article.body .cluster-list li::before { content: counter(cl); position: absolute; left: 0; top: 10px; width: 21px; height: 21px; border-radius: 50%; background: #fff; color: var(--accent-strong); font-size: 12px; font-weight: 700; text-align: center; line-height: 21px; }
article.body .cluster-list a { color: var(--text); font-weight: 700; text-decoration: none; }
article.body .cluster-list a:hover { color: var(--accent-strong); text-decoration: underline; }
article.body .cluster-list li.is-on span { color: var(--text-soft); font-weight: 700; }
article.body .cluster-list li.is-on em { margin-left: 8px; font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 10px; background: #fff; color: var(--accent-strong); }

/* 肌タイプチェック: 十字グラフ → 文章 → 肌の絵 の順(2026-10-22) */
.sc-map + .sc-desc { margin-top: 22px; }
.sc-desc + .sc-pic { margin-top: 22px; }

/* 当てはまり度: 値に合わせて色の濃さを段階的に(2026-10-22) */
.dg-bar.lv1 .dg-bar-f { background: var(--accent); }
.dg-bar.lv2 .dg-bar-f { background: oklch(0.72 0.13 10); }
.dg-bar.lv3 .dg-bar-f { background: oklch(0.82 0.09 10); }
.dg-bar.lv4 .dg-bar-f { background: oklch(0.89 0.05 10); }
.dg-bar.lv1 .dg-bar-n, .dg-bar.lv1 .dg-bar-v { color: var(--accent-strong); font-weight: 700; }
.dg-bar.lv2 .dg-bar-n, .dg-bar.lv2 .dg-bar-v { color: oklch(0.55 0.13 10); font-weight: 700; }
.dg-bar.lv3 .dg-bar-n, .dg-bar.lv3 .dg-bar-v { color: oklch(0.52 0.06 10); }
.dg-bar.lv4 .dg-bar-n, .dg-bar.lv4 .dg-bar-v { color: var(--text-soft); }
.dg-bar .dg-bar-v { font-size: 13px; }

/* 肌タイプチェック: 悩みの木(2026-10-22) */
.sc-tree { max-width: 420px; margin: 6px auto 4px; }
.sc-tree-svg { display: block; width: 100%; height: auto; overflow: visible; }
.sc-tree-svg .st-branch { fill: none; stroke: oklch(0.72 0.05 55); stroke-width: 5; stroke-linecap: round; }
.sc-tree-svg .st-deco { fill: oklch(0.86 0.07 165); }
.sc-tree-svg .st-trunk { fill: oklch(0.70 0.06 55); }
.sc-tree-svg .st-root { fill: var(--pink-soft); stroke: var(--accent); stroke-width: 1.5; }
.sc-tree-svg .st-root-t { font-size: 17px; font-weight: 700; fill: var(--accent-strong); }
.sc-tree-svg .st-root-d { font-size: 13px; fill: var(--text-soft); }
.sc-tree-svg .st-leaf-bg { fill: var(--mint-soft); stroke: oklch(0.70 0.09 165); stroke-width: 1.5; transition: fill .15s; }
.sc-tree-svg .st-leaf.is-mine .st-leaf-bg { fill: oklch(0.90 0.06 165); stroke: var(--mint-ink); stroke-width: 2.2; }
.sc-tree-svg .st-leaf:hover .st-leaf-bg, .sc-tree-svg .st-leaf:focus .st-leaf-bg { fill: oklch(0.86 0.08 165); }
.sc-tree-svg .st-leaf-t { font-size: 15px; font-weight: 700; fill: var(--mint-ink); }
.sc-tree-svg .st-leaf-t.is-long { font-size: 13px; }
.sc-tree-svg .st-mine { font-size: 12px; font-weight: 700; fill: var(--accent-strong); }
.sc-tree-svg a { cursor: pointer; }
.sc-tree-notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.sc-tree-notes a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 8px 2px; border-top: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: 13.5px; line-height: 1.6; }
.sc-tree-notes li:first-child a { border-top: 0; }
.sc-tree-notes b { color: var(--mint-ink); white-space: nowrap; }
.sc-tree-notes span { color: var(--text-soft); }
.sc-tree-notes em { grid-column: 2; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent-strong); }
/* 結果の説明は1つの段落にまとめて、行ごとの余白をなくす(2026-10-22) */
.sc-result .sc-desc .sc-desc-p { margin: 0; }
.sc-map + .sc-desc { margin-top: 12px; }
.sc-desc + .sc-pic { margin-top: 14px; }
/* 悩みの木 v2: ふつうの木の形 + 押せるボタン(2026-10-22) */
.sc-tree { max-width: 400px; }
.sc-tree-svg .st-crown.c1 { fill: oklch(0.90 0.06 150); }
.sc-tree-svg .st-crown.c2 { fill: oklch(0.87 0.07 150); }
.sc-tree-svg .st-crown.c3 { fill: oklch(0.92 0.05 145); }
.sc-tree-svg .st-trunk { fill: oklch(0.62 0.07 50); }
.sc-tree-svg .st-branch { fill: none; stroke: oklch(0.62 0.07 50); stroke-width: 6; stroke-linecap: round; }
.sc-tree-svg .st-ground { fill: oklch(0.88 0.04 70); }
.sc-tree-svg .st-btn { cursor: pointer; }
.sc-tree-svg .st-btn-sh { fill: oklch(0.62 0.17 10 / .28); }
.sc-tree-svg .st-btn-bg { fill: #fff; stroke: var(--accent); stroke-width: 2.2; transition: fill .15s; }
.sc-tree-svg .st-btn:hover .st-btn-bg, .sc-tree-svg .st-btn:focus .st-btn-bg { fill: var(--pink-soft); }
.sc-tree-svg .st-btn:active .st-btn-bg { transform: translateY(2px); }
.sc-tree-svg .st-btn-t { font-size: 15px; font-weight: 700; fill: var(--accent-strong); }
.sc-tree-svg .st-btn-t.is-long { font-size: 13px; }
.sc-tree-svg .st-btn-go { fill: var(--accent); }
.sc-tree-svg .st-btn-ar { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* 結果の説明は色の背景つきの角丸の箱に入れて、図との境目をはっきりさせる(2026-10-22) */
.sc-result .sc-desc { background: var(--pink-soft); border-radius: 16px; padding: 14px 18px; }
@media (max-width: 600px) { .sc-result .sc-desc { padding: 12px 14px; } }
/* 記事カードの写真(2026-10-22) */
.thumb.has-photo, .guide-item-thumb.has-photo { position: relative; overflow: hidden; }
.thumb.has-photo .thumb-photo, .guide-item-thumb.has-photo .thumb-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.thumb.has-photo svg, .guide-item-thumb.has-photo svg { display: none; }
/* 肌の教科書の前後の章(2026-10-22) */
.tb-nav { margin: 32px 0 26px; padding: 16px 18px; background: var(--mint-soft); border-radius: 16px; }
.tb-h { margin: 0 0 10px; font-size: 13.5px; color: var(--mint-ink); }
.tb-h b { font-size: 15px; }
.tb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tb-row a { display: block; padding: 10px 14px; background: #fff; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 14.5px; line-height: 1.5; box-shadow: 0 2px 0 oklch(0.40 0.07 165 / .18); }
.tb-row a small { display: block; font-size: 12px; font-weight: 700; color: var(--mint-ink); }
.tb-row a.tb-next { text-align: right; }
.tb-toc { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--mint-ink); }
/* 記事の上の飾りの枠を、本文・目次と同じ幅にして低くする(2026-10-22 ユーザー指示「枠が大きすぎる。幅を合わせた方がいい」) */
main > .hero-art { max-width: 652px; width: calc(100% - 8px); height: 180px; margin: 24px auto 26px; }
main > .hero-art svg { width: 64px; height: 64px; }
@media (max-width: 600px) { main > .hero-art { height: 130px; margin: 18px auto 20px; } main > .hero-art svg { width: 52px; height: 52px; } }
/* トップ: 肌タイプチェック(根)→ 悩み別診断(枝)の木(2026-10-22 ユーザー指示「つながりが分かる図を」) */
.tp-tree { max-width: 800px; margin: 10px auto 0; }
.tp-root { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 2px solid var(--accent); border-radius: 20px; background: var(--pink-soft); text-decoration: none; color: var(--text); box-shadow: 0 3px 0 oklch(0.62 0.17 10 / .25); }
.tp-root:hover { background: var(--surface); }
.tp-root-ico { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.tp-root-ico svg { width: 30px; height: 30px; }
.tp-root-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.tp-root-text strong { font-size: 18px; }
.tp-root-text small { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.tp-root-go { font-size: 22px; color: var(--accent-strong); font-weight: 900; }
.tp-branches { display: block; width: 100%; height: 52px; }
.tp-br-sp { display: none; }
.tp-tree-lbl { margin: 0 0 10px; text-align: center; font-size: 12.5px; color: var(--text-soft); }
.tp-leaves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tp-leaves a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 12px; border: 2px solid var(--accent); border-radius: 16px; background: #fff; text-decoration: none; color: var(--text); text-align: center; box-shadow: 0 3px 0 oklch(0.62 0.17 10 / .22); }
.tp-leaves a:hover { background: var(--pink-soft); }
.tp-leaves svg { width: 30px; height: 30px; color: var(--accent-strong); }
.tp-leaves b { font-size: 15px; color: var(--accent-strong); }
.tp-leaves small { font-size: 11.5px; color: var(--text-soft); line-height: 1.5; }
@media (max-width: 600px) {
  .tp-br-pc { display: none; }
  .tp-br-sp { display: block; height: 40px; }
  .tp-leaves { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tp-leaves a { padding: 12px 6px 10px; }
  .tp-leaves small { display: none; }
  .tp-tree-lbl { font-size: 12px; }
}
/* 記事カード・記事の上の飾りのイラスト(2026-10-22) */
.thumb.thumb-il, .guide-item-thumb.thumb-il { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.latest-card.v .thumb.thumb-il > svg { width: 84px; height: 84px; }
.latest-card .thumb.thumb-il > svg { width: 60px; height: 60px; }
.guide-item-thumb.thumb-il > svg { width: 52px; height: 52px; }
.tp-scroll .latest-card.v .thumb.thumb-il > svg { width: 64px; height: 64px; }
@media (max-width: 600px) {
  .latest-card.v .thumb.thumb-il > svg { width: 52px; height: 52px; }
  .latest-card .thumb.thumb-il > svg { width: 48px; height: 48px; }
}
/* トップ: カテゴリのカードとランキングにイラスト(2026-10-22 ユーザー承認) */
.tp-cat.has-il { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; min-height: 80px; }
.tp-cat-il { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.tp-cat-il svg { width: 44px; height: 44px; }
.tp-cat-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tp-rank-il { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tp-rank-il svg { width: 36px; height: 36px; }
@media (max-width: 600px) {
  .tp-cat.has-il { padding: 10px 12px; gap: 10px; min-height: 0; }
  .tp-cat-il { width: 48px; height: 48px; } .tp-cat-il svg { width: 38px; height: 38px; }
  .tp-cat small { display: none; }
  .tp-rank-il { width: 38px; height: 38px; } .tp-rank-il svg { width: 30px; height: 30px; }
}
/* 画面のすみの小さな診断ボタン(2026-10-22) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 6px; }
.fab-btn { display: flex; align-items: center; gap: 9px; padding: 9px 16px 9px 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.2; box-shadow: 0 6px 18px oklch(0.62 0.17 10 / .35); }
.fab-btn:hover { background: var(--accent-strong); }
.fab-btn svg { width: 22px; height: 22px; flex: 0 0 auto; }
.fab-btn span { display: flex; flex-direction: column; gap: 2px; }
.fab-btn small { font-size: 10.5px; font-weight: 400; opacity: .9; }
.fab-x { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-size: 15px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
@media (max-width: 600px) {
  .fab { right: 12px; bottom: 12px; }
  .fab-btn { padding: 8px 14px 8px 10px; font-size: 13px; }
  .fab-btn svg { width: 20px; height: 20px; }
}
/* 悩み別診断 → 根っこの肌タイプチェックへ戻る(2026-10-22) */
.dg-root { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto 14px; padding: 10px 14px; border: 1.5px dashed var(--accent); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--text); }
.dg-root:hover { background: var(--pink-soft); }
.dg-root-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--pink-soft); color: var(--accent-strong); display: flex; align-items: center; justify-content: center; }
.dg-root-ic svg { width: 20px; height: 20px; }
.dg-root-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dg-root-t b { font-size: 14px; }
.dg-root-t small { font-size: 12px; color: var(--text-soft); }
.dg-root-go { font-weight: 900; color: var(--accent-strong); }
.dg-others-list a.is-root { border-color: var(--accent); background: var(--pink-soft); color: var(--accent-strong); }
.dg-bar-hid { margin: 8px 0 0; font-size: 12.5px; color: var(--text-soft); }

/* 2026-10-22 列と幅をそろえる(ユーザー指示「幅は基本的にあわせてください」「もうちょっと幅を使いたい」)
   記事ページは パンくず・見出し・1分版の箱・飾り・目次・本文・図 をすべて同じ 720px の列に置く */
:root { --col: 720px; }
article.body { max-width: calc(var(--col) + 8px); }
.article-head, .article-crumbs { max-width: calc(var(--col) + 8px); }
nav.crumbs.article-crumbs { margin: 22px auto 0; }
main > .hero-art { max-width: var(--col); }
.pair-link { max-width: var(--col); margin: 0 auto 18px; box-sizing: border-box; }
@media (max-width: 760px) { .pair-link { margin-left: 4px; margin-right: 4px; } }
.next-read, .ing-facts { max-width: var(--col); }
/* 図は列いっぱい。中の絵やカードも枠いっぱいに広げて、余白を残さない */
@media (min-width: 601px) { figure.diagram { max-width: none; margin-left: 0; margin-right: 0; } }
figure.diagram .dgm, figure.diagram .dgm.dgm-chain { max-width: none; }
figure.diagram > svg:not(.flow-ic):not(.role-ic) { max-width: 640px; max-height: 520px; }

/* 2026-10-22 絵の図(悩みから派生する成分の記事。塗りの絵 + 凡例のチップ。文字は HTML 側) */
figure.diagram.pf { padding: 14px 12px 12px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.pf-row.has-join { grid-template-columns: 1fr 22px 1fr; gap: 6px; }
.pf-join { align-self: center; justify-self: center; width: 0; height: 0; border-left: 14px solid var(--accent); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.pf-pane { background: var(--bg); border-radius: 14px; padding: 10px 10px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
figure.diagram .pf-pane > svg.pf-svg { margin-block: auto; }
figure.diagram.pf figcaption { margin-top: 8px; }
figure.diagram.pf .pf-legend + figcaption { margin-top: 4px; }
.pf-pane.good { background: oklch(0.96 0.03 230); }
.pf-pane.bad { background: oklch(0.96 0.03 60); }
.pf-h { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: var(--text); text-align: center; line-height: 1.4; }
.pf-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--text-soft); text-align: center; line-height: 1.5; }
figure.diagram svg.pf-svg { display: block; width: 100%; max-width: 340px; max-height: none; height: auto; margin: 0 auto; }
figure.diagram .pf-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 10px 0 0; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--text); }
figure.diagram .pf-legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
figure.diagram .pf-legend svg { width: 20px; height: 18px; flex: none; max-width: none; margin: 0; display: inline-block; }
.pf-cards { display: grid; gap: 10px; }
.pf-cards.c2 { grid-template-columns: 1fr 1fr; }
.pf-cards.c3 { grid-template-columns: repeat(3, 1fr); }
.pf-cards.c4 { grid-template-columns: repeat(4, 1fr); }
.pf-card { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 14px; padding: 10px 12px; }
figure.diagram svg.pf-ic { width: 84px; height: 84px; flex: none; max-width: none; margin: 0; }
.pf-card-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.45; }
.pf-card-t b { font-size: 15.5px; color: var(--accent-strong); }
.pf-card-sub { font-size: 13.5px; color: var(--text); font-weight: 700; }
.pf-chip { align-self: flex-start; font-size: 12.5px; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 1px 9px; overflow-wrap: anywhere; }
.pf-keys { width: 100%; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--text); }
.pf-keys p { margin: 4px 0 0; }
.pf-keys b { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 999px; color: #fff; font-size: 12.5px; }
.pf-keys .kN { background: #e9a23b; } .pf-keys .kP { background: #e2668b; }
figure.diagram .pf-map { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; justify-content: flex-start; }
figure.diagram .pf-map li { display: grid; grid-template-columns: 1fr 26px 1fr; align-items: center; gap: 4px; margin: 0; font-size: 14.5px; font-weight: 700; }
.pf-map .o { text-align: right; color: var(--text-soft); white-space: nowrap; }
.pf-map .a { justify-self: center; width: 0; height: 0; border-left: 10px solid var(--accent); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.pf-map .n { color: var(--accent-strong); background: var(--surface); border-radius: 8px; padding: 2px 8px; justify-self: start; white-space: nowrap; }
@media (max-width: 600px) {
  .pf-row, .pf-row.has-join { grid-template-columns: 1fr; }
  .pf-join { border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 14px solid var(--accent); border-bottom: 0; }
  .pf-cards.c2, .pf-cards.c3, .pf-cards.c4 { grid-template-columns: 1fr; }
}

/* 2026-10-24 図の説明文は図の外(上)に出す。大事な説明は <mark> で強調(ユーザー指示) */
article.body p.fig-lead { margin: 22px 0 8px; }
article.body p.fig-lead + figure.diagram { margin-top: 0; }
