@charset "UTF-8";
/*
 * salon.tenpojs.co.jp — Design System
 * Reference: https://rsvia.co.jp/ (Salon DX platform)
 * Font loading via Layout.astro link tags.
 */

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-mist: #F5F5F5;
  --bg-blush: #FFF4F7;
  --bg-dark: #32373C;
  --bg-dark-2: #1F2327;
  --text-1: #1F2327;
  --text-2: #4A4F55;
  --text-3: #6E747A;
  --text-inv: #FFFFFF;
  --accent-pink: #FEC6D6;
  --accent-pink-strong: #C94679;
  --accent-pink-hover: #A83762;
  --accent-blue: #0B6CB8;
  --accent-gold: #8A6A24;
  --border: #ECECEC;
  --border-strong: #D9D9D9;
  --border-pink: rgba(201, 70, 121, 0.25);
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 9999px;
  --shadow-1: 0 1px 2px rgba(31,35,39,0.04), 0 1px 3px rgba(31,35,39,0.06);
  --shadow-2: 0 4px 10px rgba(31,35,39,0.06), 0 2px 4px rgba(31,35,39,0.04);
  --shadow-3: 0 14px 40px rgba(31,35,39,0.10), 0 4px 12px rgba(31,35,39,0.06);
  --shadow-pink: 0 10px 30px rgba(254, 198, 214, 0.55);
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 240ms;
  --dur-slow: 420ms;
  --maxw: 1180px;
  --maxw-read: 760px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--accent-blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-pink-hover); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.45; letter-spacing: 0.01em; }
p { margin: 0; }
button { font-family: inherit; }
::selection { background: var(--accent-pink); color: var(--text-1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.site-header .brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text-1);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 2px;
}
.site-header .brand::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--accent-pink);
  z-index: -1;
  opacity: 0.75;
  transform: translateY(2px);
}
.site-header .brand:hover { color: var(--accent-pink-hover); }
.site-header nav { display: flex; gap: 10px; align-items: center; }

/* Shared CTA base (pill, dark charcoal, white text) — kept DRY for .cta-line / .hero-cta / .cta-button */
.cta-line,
.hero-cta,
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--bg-dark);
  color: var(--text-inv);
  font-weight: 700;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.cta-line:hover,
.hero-cta:hover,
.cta-button:hover {
  background: var(--bg-dark-2);
  color: var(--text-inv);
}

.cta-line {
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-1);
}
.cta-line:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

/* Main layout */
main.home { width: 100%; }
main.article-page {
  max-width: var(--maxw-read);
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
}
.breadcrumb { font-size: 0.84rem; color: var(--text-3); margin-bottom: 28px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--accent-pink-hover); }
.breadcrumb span { color: var(--text-1); font-weight: 500; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(254, 198, 214, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 90%, rgba(6, 147, 227, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(201, 70, 121, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--accent-pink-strong);
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 18px;
  border: 1px solid var(--border-pink);
  border-radius: var(--r-pill);
  background: var(--bg);
  margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-title strong {
  position: relative;
  display: inline-block;
  font-weight: inherit;
  color: inherit;
  z-index: 0;
}
.hero-title strong::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 0.14em;
  height: 38%;
  background: var(--accent-pink);
  z-index: -1;
  transform: skewX(-4deg);
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 44px;
  line-height: 1.9;
}
.hero-cta {
  gap: 10px;
  padding: 18px 44px;
  font-size: 1.02rem;
  box-shadow: var(--shadow-2), 0 0 0 0 var(--accent-pink);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3), var(--shadow-pink);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 64px auto 0;
  padding: 32px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.hero-stats > div { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.hero-stats > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 1px;
  height: 60%;
  background: var(--border);
  transform: translateY(-50%);
}
.hero-stats strong {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.01em;
}
.hero-stats span { font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.1em; }

/* Sections */
.featured, .cat-section {
  padding: clamp(64px, 8vw, 104px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.cat-section:nth-of-type(even) {
  background: var(--bg-soft);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cat-section:nth-of-type(even) > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Safari 16 などで align-items: end が stretch にフォールバックするため明示指定 */
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 18px;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 4px; height: 1.1em;
  background: var(--accent-pink-strong);
  border-radius: 2px;
}
.section-head p { color: var(--text-3); font-size: 0.94rem; }
.section-more {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-1);
  padding: 8px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.section-more:hover { background: var(--bg-dark); color: var(--text-inv); border-color: var(--bg-dark); }

/* Card grid */
.card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.featured-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  color: var(--text-1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--border-pink);
  color: var(--text-1);
}
.card-thumb {
  aspect-ratio: 1200 / 630;
  background: var(--bg-mist);
  overflow: hidden;
  position: relative;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card-thumb img { transform: scale(1.04); }
.card-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--r-pill);
  background: var(--bg-mist);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.tag-bukken { background: var(--bg-blush); color: var(--accent-pink-hover); border-color: var(--border-pink); }
.tag-kaigyo { background: #EFF7FD; color: var(--accent-blue); border-color: rgba(11, 108, 184, 0.25); }
.tag-keiei { background: #FFF6E5; color: var(--accent-gold); border-color: rgba(138, 106, 36, 0.25); }

.card-title {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text-1);
  letter-spacing: 0.01em;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.75;
  /* Firefox fallback — 3行分の高さを上限にして overflow で刈り込む */
  max-height: calc(0.88rem * 1.75 * 3);
  overflow: hidden;
  /* 長いURL・英数字でカード幅を突き抜けないよう強制折り返し */
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card-more {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-pink-strong);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}
.card:hover .card-more { color: var(--accent-pink-hover); }

@media (min-width: 900px) {
  .featured-grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-flow: dense; }
  .card-hero { grid-column: span 1; grid-row: span 2; }
  .card-hero .card-thumb { aspect-ratio: 16 / 10; }
  .card-hero .card-title { font-size: 1.32rem; line-height: 1.5; }
  .card-hero .card-body { padding: 28px 30px 30px; gap: 14px; }
}

/* TLDR (POINT) */
.tldr-box {
  margin: 36px 0;
  padding: 32px clamp(22px, 3vw, 36px);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-pink-strong);
  border-radius: var(--r-md);
  position: relative;
}
.tldr-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tldr-title::before {
  content: "POINT";
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-inv);
  background: var(--accent-pink-strong);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
}
.tldr-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tldr-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-2);
  line-height: 1.8;
}
.tldr-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.7em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--accent-pink-strong);
}

/* Article body */
.article-body { font-size: 1rem; line-height: 2; color: var(--text-1); }
.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  margin: 64px 0 24px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-left: 5px solid var(--accent-pink-strong);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.article-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.38rem);
  font-weight: 700;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-strong);
  color: var(--text-1);
}
.article-body h4 {
  font-size: 1.04rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--text-1);
  padding-left: 12px;
  border-left: 3px solid var(--accent-pink);
}
.article-body p { margin: 0 0 1.5em; color: var(--text-1); }
.article-body ul, .article-body ol { margin: 0 0 1.6em; padding-left: 1.6em; color: var(--text-1); }
.article-body li { margin-bottom: 0.4em; line-height: 1.9; }
.article-body ul li::marker { color: var(--accent-pink-strong); }
.article-body strong {
  font-weight: 700;
  background: linear-gradient(180deg, transparent 62%, var(--accent-pink) 62%, var(--accent-pink) 92%, transparent 92%);
  padding: 0 2px;
}
.article-body em { font-style: normal; color: var(--accent-pink-hover); font-weight: 700; }
.article-body a {
  color: var(--accent-blue);
  border-bottom: 1px solid rgba(11, 108, 184, 0.3);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.article-body a:hover { color: var(--accent-pink-hover); border-bottom-color: var(--accent-pink-hover); }
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--accent-pink);
  background: var(--bg-blush);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text-1);
  font-style: normal;
  position: relative;
}
.article-body blockquote::before {
  /* 装飾マーク — 実文字は使わず CSS 図形で描画し、支援技術から完全に除外 */
  content: "";
  position: absolute;
  top: 14px; left: 18px;
  width: 28px; height: 22px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-pink-strong) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 30%, var(--accent-pink-strong) 0 4px, transparent 5px);
  opacity: 0.45;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.94rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.article-body th, .article-body td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.article-body th { background: var(--bg-soft); font-weight: 700; color: var(--text-1); letter-spacing: 0.02em; }
.article-body tr:last-child td { border-bottom: 0; }
.article-body tr:hover td { background: var(--bg-soft); }
.article-body code {
  font-family: ui-monospace, SFMono, Menlo, monospace;
  font-size: 0.88em;
  background: var(--bg-mist);
  padding: 2px 6px;
  border-radius: var(--r-xs);
  color: var(--accent-pink-hover);
}
.article-body pre {
  background: var(--bg-dark);
  color: #F5F5F5;
  padding: 20px 22px;
  border-radius: var(--r-sm);
  overflow-x: auto;
  margin: 24px 0;
  line-height: 1.7;
  font-size: 0.88rem;
}
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body img { margin: 28px auto; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.article-hero {
  margin: 0 0 36px;
  padding: 0;
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  aspect-ratio: 3/2;
  background: var(--bg-cream, #faf6f0);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Bottom CTA / CTA block */
.bottom-cta {
  position: relative;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  background: var(--bg-dark);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
}
.bottom-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(254, 198, 214, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(6, 147, 227, 0.15) 0%, transparent 50%);
  z-index: -1;
}
.bottom-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.bottom-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.bottom-cta p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.9; margin-bottom: 40px; }
.bottom-cta .hero-cta { background: var(--bg); color: var(--text-1); }
.bottom-cta .hero-cta:hover { background: var(--accent-pink); color: var(--text-1); }

.cta-block {
  margin: 80px 0 40px;
  padding: 48px clamp(28px, 4vw, 56px);
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-blush) 100%);
  border: 1px solid var(--border-pink);
  border-radius: var(--r-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(254, 198, 214, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.cta-block p { color: var(--text-2); margin-bottom: 28px; font-size: 0.98rem; }
.cta-button {
  gap: 10px;
  padding: 16px 40px;
  font-size: 1rem;
  box-shadow: var(--shadow-2);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3), var(--shadow-pink);
}

/* Footer */
.site-footer {
  padding: 56px var(--gutter) 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-3);
  font-size: 0.86rem;
}
.site-footer p { margin: 0 0 10px; line-height: 1.9; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--accent-pink-hover); }

/* Shared CTA arrow — CSS 三角形で描画。空 content のため支援技術は一切読み上げない */
.cta-line::after,
.hero-cta::after,
.cta-button::after,
.section-more::after,
.card-more::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 8px;
  transition: transform var(--dur) var(--ease);
  vertical-align: middle;
}
.cta-line:hover::after,
.hero-cta:hover::after,
.cta-button:hover::after,
.section-more:hover::after,
.card:hover .card-more::after { transform: translateX(4px); }

/* Accessibility */
/* Focus ring inherits each element's own border-radius so pill CTAs keep their shape */
.cta-line:focus-visible,
.hero-cta:focus-visible,
.cta-button:focus-visible,
.section-more:focus-visible,
.card:focus-visible,
.card-more:focus-visible,
.breadcrumb a:focus-visible,
.site-header .brand:focus-visible,
.site-footer a:focus-visible,
.article-body a:focus-visible {
  outline: 3px solid var(--accent-pink-strong);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201, 70, 121, 0.2);
  border-radius: inherit;
}
/* Inline/text links don't have their own radius — give them a small one */
.breadcrumb a:focus-visible,
.site-footer a:focus-visible,
.article-body a:focus-visible,
.card-more:focus-visible {
  border-radius: var(--r-xs);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .site-header { padding: 12px 14px; }
  .site-header .brand { font-size: 0.82rem; max-width: calc(100vw - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
  .cta-line { padding: 8px 16px; font-size: 0.84rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .hero-stats > div:not(:last-child)::after {
    top: auto;
    bottom: -10px;
    right: 50%;
    width: 48px;
    height: 1px;
    transform: translateX(50%);
  }
  .section-head { align-items: flex-start; }
  .card-body { padding: 18px 20px 22px; }
  .article-body h2 { padding: 14px 18px; }
  .tldr-box { padding: 24px 22px; }
}
@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .hero-title { font-size: 1.78rem; line-height: 1.4; }
  .card-grid { gap: 20px; }
  .hero-cta { padding: 16px 32px; font-size: 0.96rem; width: 100%; justify-content: center; }
  .cta-button { width: 100%; justify-content: center; }
  .section-head h2 { font-size: 1.3rem; }
  .bottom-cta h2 { font-size: 1.6rem; }
}

/* ============== Hikaku (比較記事) Design Improvements 2026-04-25 ============== */
.tag-hikaku { background: #1B1B1F; color: #fff; }
.card-thumb-placeholder.hikaku-thumb {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: 180px;
  background: linear-gradient(135deg, #D946EF 0%, #9333EA 50%, #1B1B1F 100%);
  color: #fff; font-size: 64px; font-weight: 900; letter-spacing: 4px;
  font-family: var(--font-sans, sans-serif);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  position: relative; overflow: hidden;
}
.card-thumb-placeholder.hikaku-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.04) 12px, rgba(255,255,255,0.04) 14px);
}
.hikaku-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 24px 0; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  font-size: 15px; background: #fff;
}
.hikaku-table thead { background: linear-gradient(180deg, #1B1B1F 0%, #2a2a2e 100%); color: #fff; }
.hikaku-table thead th {
  padding: 14px 12px; font-weight: 700; text-align: left;
  border: none; letter-spacing: 0.05em;
}
.hikaku-table thead th:first-child { background: rgba(0,0,0,0.2); }
.hikaku-table thead th:nth-child(2) { background: linear-gradient(180deg, #D946EF 0%, #A21CAF 100%); }
.hikaku-table thead th:nth-child(3) { background: linear-gradient(180deg, #2D5F8F 0%, #1F4666 100%); }
.hikaku-table tbody td {
  padding: 12px; border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
}
.hikaku-table tbody tr:nth-child(even) { background: #fafafa; }
.hikaku-table tbody tr:hover { background: #faf0ff; }
.hikaku-table tbody tr:last-child { background: linear-gradient(90deg, #fdf4ff 0%, #fae8ff 100%); font-weight: 700; }
.hikaku-table tbody tr:last-child td { border-bottom: none; padding: 14px 12px; }
.hikaku-table td:first-child { font-weight: 600; color: #1B1B1F; background: rgba(0,0,0,0.02); }
@media (max-width: 640px) {
  .hikaku-table { font-size: 13px; }
  .hikaku-table thead th, .hikaku-table tbody td { padding: 8px 6px; }
}
.article-lead {
  font-size: 18px; line-height: 1.85; font-weight: 500;
  color: #1B1B1F; padding: 20px 24px;
  border-left: 4px solid #D946EF; background: #fdf4ff;
  margin: 24px 0; border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@media (max-width: 640px) {
  .article-lead { font-size: 16px; padding: 16px 18px; }
}
.card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

/* ============================================================
   スマホ最適化 + 会員事例ブロック + UIv4 2026-05-04
   ============================================================ */

/* テーブル横スクロール */
.article-body table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.article-body table th,
.article-body table td {
  white-space: normal;
  min-width: 110px;
}
@media (max-width: 720px) {
  .article-body table { font-size: 13px; }
  .article-body table th,
  .article-body table td { padding: 10px 12px; }
}

/* 会員事例ブロック */
.member-cases-section {
  background: #f8f4ff;
  border-left: 4px solid #7c3aed;
  padding: 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}
.member-cases-section h3 { margin: 0 0 16px; color: #7c3aed; font-size: 1.05em; }
.member-case-item { padding: 16px 0; border-bottom: 1px solid rgba(124,58,237,0.10); }
.member-case-item:last-child { border-bottom: none; }
.member-case-header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.member-case-label {
  font-size: 13px; font-weight: 700; color: var(--text-2);
  background: rgba(124,58,237,0.08);
  display: inline-block; padding: 2px 8px; border-radius: 3px;
}
.member-case-result { font-size: 15px; font-weight: 600; color: var(--text-1); line-height: 1.6; }
.member-voice {
  margin: 8px 0 0; padding: 10px 14px;
  background: #fff; border-left: 3px solid #7c3aed;
  border-radius: 0 6px 6px 0; font-size: 14px; color: var(--text-2); font-style: normal;
}
.member-voice p { margin: 0; }

/* セミナー参照ブロック */
.seminar-ref-block {
  background: #faf5ff; border: 1px solid #d8c5f5;
  padding: 20px 24px; margin: 32px 0; border-radius: 8px; font-size: 0.95em;
}

/* スマホ：記事ページ全般 */
@media (max-width: 600px) {
  main.article-page { padding-top: 20px; }
  .article-eyecatch { min-height: 180px; }
  .article-title { font-size: 1.3em; line-height: 1.5; }
  .member-cases-section { padding: 16px; }
  .member-case-result { font-size: 14px; }
  .article-inline-cta { flex-direction: column; text-align: center; }
  .inline-cta-btn { width: 100%; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
  .share-grid { gap: 8px; flex-wrap: wrap; }
  .share-btn { font-size: 12px; padding: 8px 10px; }
  .article-cta { padding: 32px 20px; }
  .cta-button { width: 100%; text-align: center; padding: 16px 24px; }
  .tldr-box { padding: 20px 16px; }
  .tldr-title { font-size: 15px; }
  .tldr-list li { font-size: 14px; }
  .breadcrumb { font-size: 12px; padding: 8px 0; }
  .article-author-bar { flex-direction: column; gap: 8px; padding: 12px 16px; }
  .author-role { font-size: 11px; }
}

/* UIv4：アシンメトリックグリッド */
@media (min-width: 900px) {
  .news-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
  .news-v2-grid .news-v2-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .news-v2-grid .news-v2-card:first-child .card-thumb { height: 280px; }
  .news-v2-grid .news-v2-card:first-child .card-title { font-size: 1.25em; }
}
