/* 成分しらべ：美容誌風のテーマ（2026-10-19 運営者の選択）
   参考：美的.com・MAQUIA・VoCE（白地にコーラル、英語の大きな見出し、丸いカード）。冒頭の見出しだけ上品な明朝（Zen オールド明朝）。
   ロゴは「輪とひとしずく」：円が描かれ → しずくが落ちて波紋 → 英字に光（その後7秒ごとに光る）。
   色は designs.css の G。ここは style.css・designs.css の細かい指定を上書きするため !important が多い（読み込みは最後）。 */
body { background: #fff !important; letter-spacing: .03em !important; }
.pr-bar { background: #FFF6F4 !important; font-size: 10.5px !important; line-height: 1.5 !important; padding: 3px 12px !important; color: var(--ink-3) !important; border-bottom: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* 上は1行だけ細く。詳しい説明はフッター（2026-10-20。ステマ規制のため上の表示は残す） */
.pr-bar .pr-tag { font-size: 9.5px !important; padding: 0 4px !important; margin-right: 6px !important; line-height: 1.4; color: var(--ink-3) !important; border-color: var(--ink-3) !important; }
.foot-pr { font-size: 12px; }
.site-header { background: #fff !important; border-bottom: 1px solid var(--line) !important; }
.logo { font-weight: 700 !important; letter-spacing: .1em !important; }
.ad-eyebrow { display: block; font-family: "Urbanist", "Hiragino Sans", sans-serif; font-weight: 300; font-size: 30px; line-height: 1.1; letter-spacing: .02em; color: var(--accent); margin: 0 0 2px; }
.hm-h, .skin-page h2, .fd-rank-h { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .1em !important; color: var(--ink-2) !important; margin-top: 40px !important; }
.hm-h br { display: none; }
.start-inner { padding-top: 28px !important; }
.start-title { font-family: "Hiragino Sans", "Noto Sans JP", sans-serif !important; font-weight: 700 !important; letter-spacing: .04em !important; font-size: clamp(25px, 6.8vw, 40px) !important; }
.kt-mark { background-image: linear-gradient(transparent 62%, rgba(224, 86, 107, .25) 62%) !important; }
.kt-rot-in span { background: var(--accent) !important; color: #fff !important; }
.search-card { border-radius: 16px !important; box-shadow: 0 10px 30px rgba(224, 86, 107, .10) !important; border: 0 !important; }
.fc-cat { border-radius: 14px !important; border: 0 !important; background: #FFF6F4 !important; }
.btn { border-radius: 999px !important; font-weight: 700 !important; box-shadow: none !important; }
.btn-primary { background: var(--accent) !important; }
.btn-ghost { background: #fff !important; border: 1.5px solid var(--accent) !important; color: var(--accent) !important; }
.cause-steps li { border: 0 !important; background: #FFF6F4 !important; border-radius: 12px !important; }
.cause-steps b::before { color: var(--accent) !important; font-family: "Urbanist", sans-serif; font-size: 18px !important; }
.hm-card { border: 0 !important; box-shadow: none !important; background: #FFF6F4 !important; border-radius: 16px !important; }
.chip { background: #FFF1EE !important; border: 0 !important; }
.alt { border: 0 !important; background: #FFF6F4 !important; }
.rc, .card, .row-card, .panel, .sk-point, .sk-item, .own-pick, .cat-card { border: 0 !important; border-radius: 14px !important; box-shadow: 0 4px 18px rgba(46, 38, 38, .06) !important; }
.rc.own, .own-pick { box-shadow: 0 0 0 1.5px var(--accent) !important; }
.rc-brand { font-family: "Urbanist", sans-serif; font-weight: 600; letter-spacing: .08em !important; font-size: 11px !important; text-transform: uppercase; color: var(--accent) !important; }
.rc-why span { background: #FFEAF0 !important; color: var(--good) !important; border-radius: 999px !important; }
.fit.hi { --fc: var(--accent) !important; }
.fit b, .fd-rh b, .kt-count { font-family: "Urbanist", sans-serif !important; font-weight: 600 !important; }
.skin-tabs a[aria-current="page"] { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.tabbar { background: #fff !important; border-top: 1px solid var(--line) !important; }
.tabbar [aria-current="page"], .tabbar .on { color: var(--accent) !important; }

/* ===== 冒頭（トップの見出し）：上品な明朝を中央に。文字は Zen オールド明朝 ===== */
.start-inner { padding-top: 34px !important; text-align: center; }
.start-eyebrow { justify-content: center; font-weight: 400 !important; }
.kt-rot-in span { background: transparent !important; border-bottom: 1px solid #C25A55; border-radius: 0 !important; color: #C25A55 !important; padding: 0 .2em !important; }
.start-title, .start-eyebrow { font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif !important; }
.start-title { font-weight: 500 !important; letter-spacing: .1em !important; line-height: 1.7 !important; font-size: clamp(24px, 6.4vw, 38px) !important; }
.kt-mark { background-image: linear-gradient(transparent 70%, rgba(194, 90, 85, .18) 70%) !important; }
.start-lead { font-size: 13px !important; color: var(--ink-2) !important; line-height: 2 !important; }
/* ロゴ 案6 */
.site-header .logo { gap: 10px; align-items: center; }
.site-header .logo-mark { display: none !important; }
.lg6-mk { position: relative; width: 34px; height: 34px; flex: none; }
.lg6-mk .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.lg6-mk .ring circle { stroke-dasharray: 114; stroke-dashoffset: 114; animation: lg6draw 1s cubic-bezier(.6,0,.2,1) .1s forwards; }
.lg6-mk .d { position: absolute; left: 11px; top: 7px; width: 12px; height: 17px; opacity: 0; animation: lg6fall .55s cubic-bezier(.5,0,.75,0) .9s forwards, lg6sq .45s cubic-bezier(.3,1.6,.5,1) 1.45s both; }
.lg6-mk .rip { position: absolute; left: 50%; bottom: 5px; width: 18px; height: 5px; margin-left: -9px; border: 1.2px solid #E0566B; border-radius: 50%; opacity: 0; animation: lg6rip .9s ease-out 1.4s; }
.lg6-tx { display: flex; flex-direction: column; line-height: 1; }
.lg6-tx .en { font-family: Urbanist, sans-serif; font-weight: 300; font-size: 21px; letter-spacing: .01em; background: linear-gradient(110deg,#E0566B 0%,#E0566B 42%,#FFE6EB 50%,#E0566B 58%,#E0566B 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lg6sh 1.6s ease 1.6s both, lg6sh 1.6s ease 7s infinite; }
.lg6-tx .ja { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 500; font-size: 8.5px; letter-spacing: .42em; color: #2E2626; margin-top: 5px; opacity: 0; animation: lg6fade .8s ease 1.6s forwards; }
@keyframes lg6draw { to { stroke-dashoffset: 0; } }
@keyframes lg6fall { from { transform: translateY(-26px); opacity: 0; } 35% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes lg6sq { 0% { transform: scale(1.25,.72); } 100% { transform: none; } }
@keyframes lg6rip { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes lg6sh { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes lg6fade { to { opacity: 1; } }

.ad-eyebrow.kt-h { animation-range: entry 0% entry 60%; }
.hm-h + .hm-scroll { margin-top: 2px; }
.lp-ht { display: flex; flex-direction: column; min-width: 0; }
.lp-ht .ad-eyebrow { font-size: 26px; }
.lp-head-plain .ad-eyebrow { font-size: 28px; }
.sk-eyebrow { font-family: Urbanist, "Hiragino Sans", sans-serif !important; font-weight: 600 !important; font-size: 13px !important; letter-spacing: .08em; color: var(--accent) !important; }
@media (prefers-reduced-motion: reduce) {
  .lg6-mk .ring circle { animation: none !important; stroke-dashoffset: 0; }
  .lg6-mk .d, .lg6-tx .ja { animation: none !important; opacity: 1; }
  .lg6-mk .rip { animation: none !important; }
  .lg6-tx .en { animation: none !important; color: #E0566B; background: none; }
}
/* 合う化粧品の質問の選択カード */
.fd-card { border: 0 !important; box-shadow: none !important; background: #FFF6F4 !important; border-radius: 16px !important; }
.fd-card[aria-pressed="true"], .fd-card.sel { background: #FFE8EC !important; box-shadow: inset 0 0 0 2px var(--accent) !important; }
.fd-card .fd-ill { mix-blend-mode: multiply; }

/* ===== PCでの幅をそろえる（2026-10-19）：どの画面も、中身の最大幅を 880px に統一（ロゴの左端と中身の左端もそろう） ===== */
:root { --content: 880px; }
.wrap, .wrap.start-inner, .wrap.detail, .wrap.guide, .wrap.rs, .wrap.fd, .wrap.list-page, .wrap.header-inner { max-width: var(--content) !important; }
@media (min-width: 720px) {
  /* トップ：品目のカードは6列のまま、文字が折れないように */
  .fc-cat b { font-size: 12.5px !important; white-space: nowrap; }
  /* 肌質・気になることのカードは、横スクロールをやめて幅いっぱいに並べる */
  .hm-scroll { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: visible !important; margin: 0 !important; padding: 2px 0 8px !important; }
  .hm-scroll .hm-card { width: auto !important; }
  /* 合う化粧品の質問：カードを4列に */
  .fd .fd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .fd-bar { padding-left: max(16px, calc((100vw - var(--content)) / 2 + 28px)) !important; padding-right: max(16px, calc((100vw - var(--content)) / 2 + 28px)) !important; }
  /* 肌質のページの横の列も、幅いっぱいに */
  .sk-scroll { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* 成分辞典（2026-10-19） */
.ing-list li a { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.ing-list li a:hover { text-decoration-style: solid; }
.dict-q { width: 100%; margin: 6px 0 4px; }
.dict-cat { margin-top: 18px; }
.dict-cat h3 { font-size: 16px; margin: 0 0 2px; }
.dict-cat > .muted { font-size: 12.5px; margin: 0 0 8px; }
.dict-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.dict-list a { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: #FFF6F4; text-decoration: none; color: var(--ink); font-size: 13.5px; line-height: 1.45; min-height: 44px; }
.dict-list a b { font-weight: 500; overflow-wrap: anywhere; }
.dict-list a span { flex: none; font-size: 11.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.dict-list a:hover { background: #FFE8EC; }
.chip-link.on { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }

/* 書いた人の表記は、本文の下に小さく */
.art > .art-by { margin: 28px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px !important; color: var(--ink-3) !important; line-height: 1.8; }
.art > .art-by a { color: var(--ink-3); }
