/* =========================================================
   イメージコンサルティングレポート — カラーカード扇・パステルサロン
   ========================================================= */
:root {
  --bg: #fdf6f0;
  --surface: #ffffff;
  --ink: #332a26;
  --muted: #71665e;
  --accent: #2f4762;
  --accent-2: #c9a13b;
  --line: #e6d8cf;
  --spring: #f4e4b8;
  --summer: #f6d9dc;
  --autumn: #e9dcc4;
  --winter: #d7e2ee;
  --font-head: "Kiwi Maru", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .hero-title, .page-title, .card-title {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.42;
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
  letter-spacing: 0.02em;
}
a { color: var(--accent); }
a:hover { text-decoration-color: var(--accent-2); }
img { max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.spacer-lg { height: 18px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px; background: var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-head); font-size: 17px; color: var(--accent); }
.brand-text small { font-size: 9.5px; letter-spacing: 0.18em; color: var(--muted); }
.menu-toggle {
  display: none; width: 46px; height: 40px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; cursor: pointer; padding: 8px;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: var(--accent); border-radius: 2px; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
.global-nav { flex: 1; min-width: 0; }
.global-nav ul { display: flex; gap: 4px; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.global-nav a {
  display: block; padding: 7px 9px; font-size: 12.5px; font-weight: 500;
  color: var(--ink); text-decoration: none; border-radius: 7px; white-space: nowrap;
}
.global-nav a:hover { background: #f7eef2; }
.global-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.global-nav a.is-compare { color: var(--accent-2); }

/* モバイルドロワー（ヘッダー高さ64pxぶんを計算） */
.no-scroll { overflow: hidden; }
@media (max-width: 1279px) {
  .menu-toggle { display: flex; }
  .global-nav {
    position: fixed; inset: 0 0 auto 0; top: 0;
    height: calc(100vh - 64px); margin-top: 64px;
    background: var(--surface); border-top: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.25s ease;
    overflow-y: auto; padding: 12px 16px 30px;
  }
  .global-nav.is-open { transform: translateX(0); }
  .global-nav ul { flex-direction: column; gap: 2px; justify-content: flex-start; }
  .global-nav a { font-size: 15px; padding: 11px 10px; border-bottom: 1px solid #f3ece5; }
}

/* ---------- ヒーロー（カラードレープ扇） ---------- */
.hero-block { position: relative; overflow: hidden; padding: 34px 0 8px; }
.hero-block::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 217, 220, 0.5), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(244, 228, 184, 0.5), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(215, 226, 238, 0.55), transparent 45%);
}
.hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; color: var(--accent-2);
  font-weight: 700; margin: 0 0 10px;
}
.hero-copy h1 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); color: var(--accent); margin: 0 0 16px; }
.hero-lead { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.hero-chips a {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 12.5px;
  text-decoration: none; color: var(--ink);
}
.hero-chips a:hover { border-color: var(--accent-2); color: var(--accent); }
.hero-figure { display: flex; flex-direction: column; gap: 14px; }

/* 扇形カラーカード＋写真＋色バッジ */
.drape-fan { display: flex; justify-content: center; height: 66px; pointer-events: none; }
.drape-fan span {
  display: block; width: 68px; border-radius: 40% 40% 12px 12px; opacity: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 3px 8px rgba(51, 42, 38, 0.08);
}
.drape-fan span:nth-child(1) { background: var(--spring); transform: skewX(14deg) translateY(12px); }
.drape-fan span:nth-child(2) { background: var(--summer); transform: skewX(6deg) translateY(2px); }
.drape-fan span:nth-child(3) { background: var(--winter); transform: skewX(-6deg) translateY(2px); }
.drape-fan span:nth-child(4) { background: var(--autumn); transform: skewX(-14deg) translateY(12px); }
.hero-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(51, 42, 38, 0.12); position: relative; }
.hero-image { display: block; width: 100%; }
.type-badge {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 11px; pointer-events: none;
}
.type-chips { display: grid; grid-template-columns: repeat(2, 16px); gap: 4px; margin-bottom: 5px; }
.type-chips i { width: 16px; height: 16px; border-radius: 4px; display: block; }
.type-chips i:nth-child(1) { background: var(--spring); }
.type-chips i:nth-child(2) { background: var(--summer); }
.type-chips i:nth-child(3) { background: var(--autumn); }
.type-chips i:nth-child(4) { background: var(--winter); }
.type-badge small {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; color: var(--accent);
}

/* 下層ページの見出し帯（ヒーロー縮小版） */
.page-band {
  background: linear-gradient(90deg, var(--spring), var(--summer) 34%, var(--winter) 68%, var(--autumn));
  border-bottom: 1px solid var(--line); padding: 26px 0 20px;
}
.page-band .eyebrow { margin-bottom: 6px; }
.band-title { font-family: var(--font-head); font-size: clamp(17px, 4.8vw, 24px); color: var(--accent); margin: 0; }

/* ---------- 本文2カラム ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 38px; padding-top: 30px; padding-bottom: 40px; }
.article h2.sec {
  font-size: 23px; color: var(--accent); margin: 44px 0 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--accent); position: relative;
}
.article h2.sec::after {
  content: ""; display: block; width: 12px; height: 12px; margin-top: -7px;
  transform: rotate(45deg); background: var(--bg); border: 2px solid var(--accent-2);
  position: absolute; bottom: -7px; left: 24px;
}
.article h2.sec::after { bottom: -7px; }
.article h3 { font-size: 18px; color: var(--accent); margin: 28px 0 10px; }
.article p { margin: 0 0 1.45em; }
.article ul.plain, .article ol { padding-left: 1.3em; }
.article table { border-collapse: collapse; }
.updated {
  display: inline-block; font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; background: #fff;
  margin: 0 0 22px;
}
.player-list { list-style: none; margin: 0 0 20px; padding: 0; }
.player-list li { margin-bottom: 10px; padding-left: 16px; position: relative; }
.player-list li::before {
  content: ""; width: 8px; height: 8px; transform: rotate(45deg);
  background: var(--accent-2); position: absolute; left: 0; top: 0.62em;
}
.sec h2 { scroll-margin-top: 76px; }

/* 関連ページカード */
.related { margin-top: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.related-grid h3 { font-size: 15px; margin: 0 0 6px; }
.related-grid p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- 比較表 ---------- */
.table-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 24px 0 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { min-width: 760px; border-collapse: collapse; font-size: 13px; line-height: 1.65; width: 100%; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--accent); color: #fff; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.compare-table tbody tr:nth-child(even) { background: #faf3ee; }
.compare-table tbody th[scope="row"] { font-weight: 700; color: var(--accent); background: #fff8f3; white-space: nowrap; }
.table-note { font-size: 11.5px; color: var(--muted); margin: 8px 4px 0; }
.compare-lead-card {
  background: var(--accent); color: #fff; border-radius: 12px; padding: 18px 20px; margin: 0 0 18px;
}
.compare-lead-card h2 { color: #fff; margin: 0 0 8px; font-size: 21px; }
.compare-lead-card p { margin: 0; font-size: 13.5px; color: #eef2f6; }

/* ---------- カード系 ---------- */
.index-section { padding: 34px 0; }
h2.index-h { font-size: 25px; color: var(--accent); margin: 0 0 8px; padding-left: 18px; position: relative; }
h2.index-h::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 21px;
  background: linear-gradient(var(--summer), var(--winter)); border-radius: 3px;
}
.section-lead { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.page-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 18px 18px; position: relative; overflow: hidden;
  border-top: 5px solid var(--summer);
}
.page-card:nth-child(4n+2) { border-top-color: var(--winter); }
.page-card:nth-child(4n+3) { border-top-color: var(--autumn); }
.page-card:nth-child(4n) { border-top-color: var(--spring); }
.page-card .num {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-2);
  letter-spacing: 0.12em; display: block; margin-bottom: 8px;
}
.page-card .icon { color: var(--accent); display: block; margin-bottom: 6px; }
.page-card h3 { font-size: 16.5px; margin: 0 0 8px; }
.page-card h3 a { text-decoration: none; color: var(--accent); }
.page-card h3 a:hover { color: var(--accent-2); }
.page-card p { font-size: 12.8px; color: var(--muted); margin: 0; }
.page-card .badge {
  position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff;
  font-size: 10px; padding: 2px 9px; border-radius: 999px; letter-spacing: 0.1em;
}
.intro-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 28px 12px;
}
.layer-list { padding-left: 1.5em; }
.layer-list li { margin-bottom: 10px; }
.stance-title { margin-top: 26px; }
.stance-list { list-style: none; padding: 0; }
.stance-list li { padding-left: 20px; position: relative; margin-bottom: 8px; font-size: 13.8px; }
.stance-list li::before {
  content: ""; width: 9px; height: 9px; transform: rotate(45deg);
  border: 2px solid var(--accent-2); position: absolute; left: 0; top: 0.55em;
}

/* ---------- 最新記事リスト ---------- */
.blog-highlights { padding: 30px 0 8px; }
.blog-highlights h2 { font-size: 22px; color: var(--accent); margin: 0 0 6px; }
.blog-highlights-list { list-style: none; margin: 0; padding: 0; }
.blog-highlights-list li { border-bottom: 1px dashed var(--line); padding: 9px 2px; font-size: 14px; }
.blog-highlights-list time { color: var(--accent-2); font-family: var(--font-mono); font-size: 12px; margin-right: 10px; }
.blog-highlights-more { font-size: 12.5px; margin: 10px 0 0; text-align: right; }
.blog-highlights:not(:has(li)) { display: none; }

/* ---------- 関連サイト ---------- */
.related-sites ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-sites li a {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; text-decoration: none; height: 100%;
}
.related-sites li a strong { color: var(--accent); font-size: 13.5px; display: block; margin-bottom: 3px; }
.related-sites li a span { color: var(--muted); font-size: 12px; }
.related-sites li a:hover { border-color: var(--accent-2); }

/* ---------- サイドバー ---------- */
.sidebar { min-width: 0; }
.sidebar nav, .sidebar .ad-slot, .sidebar .trend-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 16px 14px; margin-bottom: 16px;
}
.sidebar h2 { font-size: 15px; color: var(--accent); margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--accent-2); }
.sidebar ol, .sidebar ul { margin: 0; padding-left: 1.2em; font-size: 13px; }
.sidebar li { margin-bottom: 6px; }
.ad-slot { border-top: 4px solid var(--accent-2) !important; }
.ad-slot span {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--accent-2); margin-bottom: 6px;
}
.ad-slot strong { display: block; font-size: 14px; color: var(--accent); margin-bottom: 4px; }
.ad-slot p { font-size: 12.3px; color: var(--muted); margin: 0 0 10px; }
.ad-slot a {
  display: inline-block; background: var(--accent-2); color: var(--accent); text-decoration: none;
  font-weight: 700; font-size: 12.5px; padding: 7px 16px; border-radius: 999px;
}
.trend-box { padding: 16px; }
.trend-box table { width: 100%; border-collapse: collapse; font-size: 12px; }
.trend-box th, .trend-box td { border: 1px solid var(--line); padding: 5px 7px; }
.trend-box th { background: #f7eef2; color: var(--accent); }

/* ---------- ボタン ---------- */
.btn-gold {
  display: inline-block; background: var(--accent-2); color: var(--accent);
  font-weight: 700; text-decoration: none; border-radius: 999px; padding: 11px 28px; font-size: 14px;
}
.btn-gold:hover { filter: brightness(1.05); }

/* ---------- 免責・フッター ---------- */
.site-disclaimer { max-width: 1120px; margin: 0 auto; padding: 6px 20px 4px; }
.site-disclaimer p {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: 11.8px; color: var(--muted); padding: 12px 16px; margin: 0;
}
.site-footer {
  margin-top: 26px; background: #20293a; color: #e8e4f0;
  position: relative; padding: 38px 0 20px;
}
.site-footer::before {
  content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--spring) 25%, var(--summer) 50%, var(--winter) 75%, var(--autumn) 100%);
}
.footer-grid {
  max-width: 1120px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 26px;
}
.site-footer h2 { font-family: var(--font-head); font-size: 16px; color: #fff; margin: 0 0 10px; }
.site-footer p { font-size: 12.3px; color: #b9c2cf; margin: 0 0 8px; }
.site-footer nav a { display: block; font-size: 12.5px; color: #ccd4de; text-decoration: none; padding: 3px 0; }
.site-footer nav a:hover { color: var(--accent-2); }
.footer-note {
  max-width: 1120px; margin: 24px auto 0; padding: 0 20px;
  font-size: 11.3px; color: #9aa6b5;
}
.footer-links {
  max-width: 1120px; margin: 16px auto 0; padding: 12px 20px 0;
  border-top: 1px solid #37435a; display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.footer-links a { color: #ccd4de; font-size: 12.5px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { max-width: 1120px; margin: 10px auto 0; padding: 0 20px; font-size: 11px; color: #7f8b9c; }

/* ---------- 広告バナー ---------- */
.amazon-banner { margin: 20px 0; padding: 10px 12px; background: #fffaf5; border: 1px dashed var(--line); border-radius: 8px; font-size: 12.5px; }
.amazon-banner a div { color: var(--accent); font-weight: 700; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy h1 { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .page-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-sites ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article h2.sec { font-size: 20px; }
  .hero-figure { max-width: 520px; margin: 0 auto; }
}

/* LATEST-COMMENTARY:START */
.latest-commentary {
  padding: 3rem 0;
}
/* .container を持たないサイトでも端に張り付かないための保険。
   :where() は詳細度0なので、サイト側の .container 定義が常に優先される。 */
:where(.latest-commentary .container) {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.latest-commentary h2 {
  margin-bottom: 1.25rem;
}
.latest-commentary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-commentary-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.latest-commentary-list time {
  flex: 0 0 auto;
  color: var(--muted, #666);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.latest-commentary-list a {
  flex: 1 1 16rem;
  min-width: 0;
  color: var(--ink, #222);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.latest-commentary-list a:hover {
  color: var(--accent, #0b5);
  text-decoration: underline;
}
.latest-commentary-more {
  margin-top: 1.25rem;
}
.latest-commentary-more a {
  color: var(--accent, #0b5);
  text-decoration: none;
  font-weight: 600;
}
.latest-commentary-more a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .latest-commentary-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
  /* 縦積み時に flex-basis(16rem) が高さに効かないよう auto に戻す */
  .latest-commentary-list a,
  .latest-commentary-list time {
    flex: 0 0 auto;
  }
}
/* LATEST-COMMENTARY:END */
