/* 美容比較ガイド 共通CSS（デザイン強化版）
   方針: スマホ最優先・同系色の濃淡＋白で「カラフルだけど整ってる」見た目
   アクセントカラー: #bf5f82 。変更する場合はこの変数だけ変える */
:root {
  --accent: #bf5f82;
  --accent-dark: #a34a6b;
  --accent-grad2: #dd8fab;
  --accent-tint: #fceef3;
  --gold: #e9a23b;
  --gold-dark: #c77f1a;
  --text: #26282b;
  --text-sub: #5f666d;
  --bg: #fff;
  --bg-soft: #fdf6f9;
  --border: #f0d9e2;
  --best-bg: #fce3ec;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(30, 41, 59, .07), 0 2px 8px rgba(30, 41, 59, .05);
  --shadow-md: 0 6px 18px rgba(30, 41, 59, .12), 0 2px 6px rgba(30, 41, 59, .08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: var(--accent-tint); }

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- レイアウト ---------- */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* LP用: レスポンシブ1カラム（スマホは幅いっぱい、広い画面では段階的に広げる） */
.lp-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .lp-wrap { max-width: 640px; }
}
@media (min-width: 1024px) {
  .lp-wrap { max-width: 760px; padding: 0 24px; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-grad2)) 1;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 8px rgba(30, 41, 59, .06);
}
.site-header .container,
.site-header .lp-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}
.site-logo span {
  background: linear-gradient(120deg, var(--accent), var(--accent-grad2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-nav a {
  color: var(--text-sub);
  font-size: 14px;
  margin-left: 16px;
  padding: 4px 2px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--accent-dark); background: var(--accent-tint); text-decoration: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--accent-dark) 0%, var(--accent) 52%, var(--accent-grad2) 100%);
  padding: 46px 0 42px;
  text-align: center;
  color: #fff;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 28px rgba(30, 41, 59, .16);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  pointer-events: none;
}
.hero::before { width: 230px; height: 230px; top: -110px; right: -50px; }
.hero::after { width: 150px; height: 150px; bottom: -80px; left: -30px; background: rgba(255, 255, 255, .09); }
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 27px;
  margin: 0 0 10px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.hero p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
}

/* ---------- セクション ---------- */
.section { padding: 30px 0 10px; }
/* 偶数セクションは淡色バンドにして色のリズムを作る */
main .section:nth-of-type(even) {
  background: linear-gradient(160deg, var(--bg-soft), var(--accent-tint));
  border-radius: 20px;
  padding: 26px 18px 18px;
  margin: 26px -6px 6px;
  box-shadow: inset 0 0 0 1px var(--border);
}
.section h2 {
  position: relative;
  font-size: 21px;
  margin: 0 0 18px;
  padding: 0 0 10px 16px;
  line-height: 1.4;
}
.section h2::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 12px;
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-grad2), var(--accent-dark));
}
.section h2::after {
  content: "";
  position: absolute;
  left: 16px; right: 0; bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-tint), transparent);
}
.section h3 {
  font-size: 17px;
  margin: 26px 0 8px;
  color: var(--accent-dark);
}
.section p { margin: 0 0 12px; }

/* 記事ページのh1 */
main h1 {
  font-size: 25px;
  line-height: 1.45;
  margin: 22px 0 6px;
  padding-bottom: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-grad2)) left bottom / 100% 4px no-repeat;
  border-radius: 2px;
}

/* ---------- カテゴリカード ---------- */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px 15px;
  color: var(--text);
  background: linear-gradient(170deg, #fff 55%, var(--bg-soft));
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.category-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-grad2));
}
.category-card:nth-child(3n+2)::before { background: linear-gradient(90deg, var(--gold-dark), var(--gold), #f4c877); }
.category-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-card .cat-name {
  display: block;
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 5px;
  color: var(--accent-dark);
}
.category-card .cat-desc {
  display: block;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.55;
}

/* ---------- 記事リスト ---------- */
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 15px 38px 13px 16px;
  margin-bottom: 12px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.article-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.article-list li::after {
  content: "›";
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}
.article-list a {
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}
.article-list a:hover { color: var(--accent-dark); text-decoration: none; }
.article-list .meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-tint);
  border-radius: 999px;
  padding: 2px 10px;
}
.sample-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #9aa3ab, #7c868f);
  border-radius: 999px;
  padding: 1px 8px;
  margin-right: 6px;
  vertical-align: 2px;
}

/* ---------- PR表記 ---------- */
.pr-notice {
  font-size: 12px;
  color: #7a5b12;
  background: #fff8e8;
  border: 1px solid #f0d9a4;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 9px 12px;
  margin: 16px 0;
}

/* ---------- 記事本文 ---------- */
.article-meta {
  font-size: 13px;
  color: var(--text-sub);
  margin: 12px 0 0;
}
.toc-box,
.summary-box {
  border-radius: var(--radius);
  padding: 17px 19px;
  margin: 22px 0;
  box-shadow: var(--shadow-sm);
}
.toc-box {
  background: #fff;
  border: 2px solid var(--accent-tint);
  border-top: 5px solid var(--accent);
}
.summary-box {
  background: linear-gradient(155deg, var(--accent-tint), #fff 78%);
  border: 1px solid var(--border);
  border-left: 6px solid var(--gold);
}
.toc-box p, .summary-box p { margin: 0 0 8px; font-weight: 700; color: var(--accent-dark); }
.summary-box p { color: var(--gold-dark); }
.toc-box ul, .summary-box ul { margin: 0; padding-left: 20px; }

/* ---------- 比較表 ---------- */
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 18px 0;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
table.compare th, table.compare td {
  border: 1px solid var(--border);
  padding: 11px 12px;
  text-align: left;
  white-space: normal;
  min-width: 110px;
}
/* 先頭行（列見出し）: グラデーション帯 */
table.compare tr:first-child th {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent) 60%, var(--accent-grad2));
  color: #fff;
  font-weight: 700;
  border-color: rgba(255, 255, 255, .25);
}
/* 行見出し（先頭列）: 淡色＋アクセント文字 */
table.compare tr:not(:first-child) th {
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-weight: 700;
  min-width: 92px;
}
/* ゼブラ */
table.compare tr:nth-child(even) td { background: var(--bg-soft); }
/* おすすめセル: ゴールドの★＋濃いめハイライトで目立たせる */
table.compare td.best {
  background: var(--best-bg) !important;
  font-weight: 700;
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 2px var(--gold);
}
table.compare td.best::before {
  content: "★ ";
  color: var(--gold);
}

/* ---------- 向いている人・向いていない人 ---------- */
.fit-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
}
.fit-item {
  border: 1px solid var(--border);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 15px 17px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.fit-item:nth-child(even) { border-top-color: var(--gold); }
.fit-item p { margin: 0 0 6px; font-weight: 700; color: var(--accent-dark); }
.fit-item ul { margin: 0; padding-left: 20px; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  margin: 0 0 12px;
}
.faq-item .q {
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--accent-dark);
}
.faq-item .q::before {
  content: "Q";
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-grad2));
  color: #fff;
  font-size: 13px;
  margin-right: 8px;
  vertical-align: 1px;
}
.faq-item .a { margin: 0; color: #333; padding-left: 30px; }

/* ---------- CTA ---------- */
.cta-area {
  text-align: center;
  margin: 28px 0;
  background: linear-gradient(160deg, var(--bg-soft), var(--accent-tint));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 16px 18px;
}
.cta-button {
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  border-radius: 999px;
  padding: 16px 24px;
  box-shadow: 0 8px 20px rgba(30, 41, 59, .22);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.cta-button:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(30, 41, 59, .26);
  text-decoration: none;
}
.cta-note {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 10px;
}

/* LP: 画面下部に固定するCTA */
.lp-fixed-cta {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, .95);
  padding: 10px 0 14px;
  border-top: 1px solid var(--border);
}

/* ---------- LP用 ---------- */
.lp-hero {
  text-align: center;
  padding: 24px 0 8px;
}
.lp-hero h1 {
  font-size: 24px;
  line-height: 1.45;
  margin: 0 0 12px;
}
.lp-points {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.lp-points li {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* ---------- フッター ---------- */
.site-footer {
  background: linear-gradient(130deg, var(--accent-dark), var(--accent));
  margin-top: 48px;
  padding: 28px 0 34px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}
.site-footer nav { margin-bottom: 12px; }
.site-footer nav a {
  color: #fff;
  font-weight: 700;
  margin-right: 16px;
}
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 4px 0; }

/* ---------- PC向け微調整 ---------- */
@media (min-width: 640px) {
  .hero { padding: 58px 0 52px; }
  .hero h1 { font-size: 34px; }
  main h1 { font-size: 29px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .fit-box { grid-template-columns: 1fr 1fr; }
  .cta-button { display: inline-block; min-width: 320px; }
  main .section:nth-of-type(even) { margin-left: -14px; margin-right: -14px; padding-left: 26px; padding-right: 26px; }
}

/* brand official photos */
.brand-photo{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:12px 0 16px;box-shadow:0 6px 18px rgba(0,0,0,.13)}
.brand-photo-contain{object-fit:contain;aspect-ratio:auto;max-width:260px;max-height:210px;margin-left:auto;margin-right:auto;box-shadow:none}
