@charset "UTF-8";
/* ============================================================================
 * inshoku.tenpojs.co.jp - Design System (Okage-Inspired)
 * 飲食店オーナーの実戦知識サイト
 *
 * コンセプト: 温かみのあるプロフェッショナル x 飲食業界テック
 *   - 配色      : Warm Orange (#EF8200) + Cream (#FFF8F0) + Peach (#FFEDD9)
 *   - フォント  : M PLUS Rounded 1c / Noto Sans JP / Yu Gothic
 *   - CTA       : Pill型 (border-radius 9999px) / ホバー時白反転
 *   - 装飾      : 選ばれる理由3カード / POINTボックス(かどめくり)
 *
 * 参考サイト: https://okagekk.com/
 * Copyright (c) 店舗情報サービス株式会社
 * ============================================================================ */
/* Fonts loaded in Layout.astro via <link rel="preconnect"> + <link rel="stylesheet"> for non-render-blocking */

:root {
  /* Warm palette (okage signature - WCAG AA compliant) */
  --bg: #FFFFFF;
  --bg-cream: #FFF8F0;
  --bg-peach: #FFEDD9;
  --bg-soft: #FAF5EC;
  --bg-dark: #2A2A2A;

  /* Text - high contrast */
  --text-1: #2A2A2A;
  --text-2: #4A4A4A;
  --text-3: #6B6B6B;
  --text-muted: #949494;
  --text-white: #FFFFFF;

  /* Borders */
  --border: #EDE4D4;
  --border-strong: #D9CAB0;
  --border-warm: rgba(176, 77, 0, 0.3);

  /* Accent - darkened for 4.5:1+ AA contrast on white */
  --accent: #B04D00;        /* Text/link on white: 5.4:1 AA pass */
  --accent-hover: #8F3E00;  /* Darker for hover states */
  --accent-bright: #EF8200; /* Decorative bg only (buttons with white text: 4.6:1) */
  --accent-deep: #7A3500;
  --accent-gold: #B88100;   /* Gold accent for hover inversion */
  --accent-soft: #FDE4C2;

  /* Category colors (warm earthy) */
  --cat-bukken:  #C94A2B;
  --cat-kaigyo:  #9B5E3C;
  --cat-shutten: #5D8A42;
  --cat-keiei:   #D68A2E;

  /* Shadows — soft warm */
  --shadow-sm: 0 2px 8px rgba(51, 51, 51, 0.06);
  --shadow-md: 0 4px 16px rgba(51, 51, 51, 0.08);
  --shadow-hover: 0 8px 24px rgba(176, 77, 0, 0.22);
  --shadow-orange: 0 6px 20px rgba(176, 77, 0, 0.32);

  /* Radius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --r-pill: 9999px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;

  /* Fonts */
  --font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-round: "M PLUS Rounded 1c", var(--font-sans);

  /* Legacy compat */
  --text: #333333; --text2: #555555; --text3: #888888; --surface: #FFF8F0;
}

* { box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  color: var(--text-1);
  background: var(--bg);
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  scroll-behavior: smooth;
}

body { margin: 0; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent-soft); color: var(--text-1); }

/* Typography */
h1, h2, h3, h4 { color: var(--text-1); font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.35; margin: 24px 0 20px; }
h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.4; margin: 48px 0 20px; }
h3 { font-size: 20px; line-height: 1.5; margin: 32px 0 12px; }
h4 { font-size: 17px; margin: 24px 0 10px; }
p { color: var(--text-2); margin: 16px 0; font-size: 16px; line-height: 1.85; }
article p, .article-body p { font-size: 17px; line-height: 1.95; }
ul, ol { color: var(--text-2); padding-left: 24px; line-height: 1.8; }
li { margin: 8px 0; }
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
strong { color: var(--text-1); font-weight: 700; }


/* ============================================================
   Header — Okage style
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  min-height: 68px;
}
.site-header .brand {
  font-size: 16px; font-weight: 700; color: var(--text-1);
  text-decoration: none; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; max-width: 65%;
  transition: color 0.2s ease;
}
.site-header .brand::before {
  content: ""; flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 50%);
  box-shadow: 0 2px 6px rgba(176, 77, 0, 0.4);
}
.site-header .brand:hover { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: 12px; }

.cta-line {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: var(--accent);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700; font-size: 14px;
  border-radius: var(--r-pill);
  border: 2px solid var(--accent);
  box-shadow: 0 3px 8px rgba(176, 77, 0, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: 0.05em;
}
.cta-line::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.cta-line:hover {
  background: var(--text-white);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(176, 77, 0, 0.32);
}
.cta-line:hover::after { transform: translateX(4px); }

main { max-width: var(--container); margin: 0 auto; padding: 0 32px 120px; }
main.home { padding-top: 0; padding-bottom: 0; max-width: 100%; }
main.article-page { max-width: var(--container-narrow); padding-top: 40px; }
.home > section { max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.home .hero { max-width: 100%; padding-left: 0; padding-right: 0; }

/* ============================================================
   Hero — Okage-style layered
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 32px 120px;
  background:
    radial-gradient(circle at 90% 10%, rgba(184, 129, 0, 0.08), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(176, 77, 0, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 0;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(184, 129, 0, 0.3), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  color: var(--text-white);
  background: var(--accent);
  margin: 0 0 32px;
  padding: 8px 20px 8px 16px;
  border-radius: var(--r-pill);
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-orange);
  position: relative;
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--text-white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.hero-title {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 900; line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--text-1);
  margin: 0 0 28px;
  max-width: 920px;
  font-family: var(--font-round);
}
.hero-title strong, .hero-title em {
  color: var(--accent);
  font-style: normal;
  position: relative;
  padding: 0 4px;
}
.hero-title strong::after, .hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 8px;
  background: rgba(184, 129, 0, 0.4);
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  margin: 0 0 40px;
  max-width: 680px;
  font-weight: 500;
  line-height: 1.85;
}

.hero-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--accent);
  color: var(--text-white);
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--r-pill);
  border: 2px solid var(--accent);
  text-decoration: none;
  box-shadow: var(--shadow-orange);
  transition: all 0.25s ease;
  letter-spacing: 0.04em;
  min-height: 58px;
  min-width: 280px;
}
.hero-cta::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.hero-cta:hover {
  background: var(--text-white);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(176, 77, 0, 0.4);
  text-decoration: none;
}
.hero-cta:hover::after { transform: translateX(6px); }

/* Hero stats — warm card tile */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 64px;
  max-width: 820px;
}
.hero-stats > div {
  display: flex; flex-direction: column;
  padding: 22px 24px;
  background: var(--text-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.hero-stats > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.hero-stats strong {
  font-family: var(--font-round);
  font-size: 38px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.hero-stats span {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}


/* ============================================================
   Reasons / Features — 選ばれる理由 style
   ============================================================ */
.reasons {
  padding: 96px 32px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
}
.reasons-inner { max-width: var(--container); margin: 0 auto; }
.reasons-head {
  text-align: center;
  margin-bottom: 56px;
}
.reasons-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  margin: 0 0 14px;
  font-family: var(--font-round);
  position: relative;
  display: inline-block;
}
.reasons-head h2::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px auto 0;
}
.reasons-head p { color: var(--text-2); font-size: 16px; margin: 0; }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .reasons-grid { grid-template-columns: 1fr; } }

.reason-card {
  background: var(--text-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px 36px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.reason-num {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  background: var(--accent);
  color: var(--text-white);
  font-family: var(--font-round);
  font-size: 22px;
  font-weight: 900;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange);
  letter-spacing: 0.02em;
}
.reason-icon {
  width: 72px; height: 72px;
  background: var(--bg-peach);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin: 18px 0 20px;
  font-size: 34px;
  color: var(--accent);
}
.reason-title {
  font-family: var(--font-round);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 12px;
}
.reason-title .hl {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.reason-title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 7px;
  background: rgba(184, 129, 0, 0.45);
  z-index: -1;
  border-radius: 2px;
}
.reason-desc {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0;
}

/* ============================================================
   Sections head (generic)
   ============================================================ */
.featured, .cat-section { margin: 0 0 96px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin: 0 0 36px;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-head::before {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 80px; height: 2px;
  background: var(--accent);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 30px);
  font-family: var(--font-round);
  font-weight: 900;
  letter-spacing: 0.01em;
}
.section-head h2::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  position: relative; top: -3px;
}
.section-head p { margin: 8px 0 0; color: var(--text-3); font-size: 14px; }
.section-more {
  font-size: 13px; font-weight: 700;
  color: var(--accent); text-decoration: none;
  flex-shrink: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-pill);
  transition: all 0.2s ease;
}
.section-more::after { content: "›"; font-size: 16px; transition: transform 0.2s ease; }
.section-more:hover {
  background: var(--accent);
  color: var(--text-white);
  text-decoration: none;
}
.section-more:hover::after { transform: translateX(4px); }

/* Featured grid: home adds padding-top */
.home .featured { padding-top: 96px; }

/* ============================================================
   Cards
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
}

.card {
  display: flex; flex-direction: column;
  background: var(--text-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.2s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  text-decoration: none;
}
.card-thumb {
  aspect-ratio: 1200 / 630;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(51, 51, 51, 0.1));
  pointer-events: none;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card-thumb img { transform: scale(1.05); }

.card-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-tag {
  display: inline-flex; align-self: flex-start;
  padding: 5px 12px;
  font-size: 11px; font-weight: 700;
  border-radius: var(--r-pill);
  letter-spacing: 0.08em;
  color: var(--text-white);
}
.tag-bukken  { background: var(--cat-bukken); }
.tag-kaigyo  { background: var(--cat-kaigyo); }
.tag-shutten { background: var(--cat-shutten); }
.tag-keiei   { background: var(--cat-keiei); }

.card-title {
  font-family: var(--font-round);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--text-1);
  margin: 2px 0 0;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-3);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-more::after {
  content: "›";
  font-size: 16px;
  transition: transform 0.2s ease;
}
.card:hover .card-more::after { transform: translateX(4px); }

.card-hero {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--text-white), var(--bg-cream));
}
.card-hero .card-title { font-size: 22px; -webkit-line-clamp: 3; line-height: 1.45; }
.card-hero .card-desc { font-size: 14.5px; -webkit-line-clamp: 3; }
@media (max-width: 600px) {
  .card-hero { grid-column: span 1; }
  .card-hero .card-title { font-size: 18px; }
}


/* Breadcrumb */
.breadcrumb { font-size: 12.5px; color: var(--text-3); margin: 20px 0 32px; }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb span { color: var(--text-1); font-weight: 600; }

/* TLDR box - okage かどめくり風 */
.tldr-box {
  background: var(--bg-peach);
  border: 2px solid var(--accent);
  padding: 44px 34px 30px;
  margin: 36px 0 44px;
  border-radius: var(--r-md);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.tldr-box::before {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 46px; height: 46px;
  background:
    linear-gradient(225deg, var(--bg) 0%, var(--bg) 50%, transparent 50.5%),
    linear-gradient(225deg, transparent 48%, var(--accent-deep) 49%, var(--accent-deep) 51%, transparent 52%);
  background-size: 100% 100%;
  border-top-right-radius: var(--r-md);
  box-shadow: -3px 3px 6px rgba(0, 0, 0, 0.12);
  filter: drop-shadow(-1px 1px 2px rgba(0, 0, 0, 0.06));
  pointer-events: none;
}
.tldr-box::after {
  content: "POINT";
  position: absolute;
  top: 14px; left: 28px;
  background: var(--accent);
  color: var(--text-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}
.tldr-title {
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 900;
  color: var(--text-1);
  margin: 8px 0 16px;
  letter-spacing: 0.02em;
}
.tldr-list { list-style: none; padding: 0; margin: 0; }
.tldr-list li {
  position: relative;
  padding-left: 32px;
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-1);
  font-weight: 500;
}
.tldr-list li::before {
  content: "OK";
  position: absolute;
  left: 0; top: 5px;
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--text-white);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Article body */
.article-body { font-size: 16.5px; line-height: 1.95; color: var(--text-1); }
.article-body > * + * { margin-top: 22px; }
.article-body h2 {
  font-family: var(--font-round);
  font-size: clamp(22px, 2.8vw, 28px);
  margin: 56px 0 18px;
  padding: 14px 18px 14px 22px;
  background: var(--bg-cream);
  border-left: 6px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-weight: 900;
  line-height: 1.45;
}
.article-body h3 {
  font-family: var(--font-round);
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.5;
}
.article-body img {
  border-radius: var(--r-md);
  margin: 32px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.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);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.article-body table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 32px 0;
  font-size: 15px;
  background: var(--text-white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.article-body th, .article-body td {
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  text-align: left;
  line-height: 1.65;
}
.article-body tr:last-child th,
.article-body tr:last-child td { border-bottom: none; }
.article-body th {
  background: var(--bg-cream);
  font-weight: 700;
  color: var(--text-1);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.article-body ul li::marker,
.article-body ol li::marker { color: var(--accent); }
.article-body a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--border-warm);
}
.article-body a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}
.article-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 48px 0;
}
.article-body blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  background: var(--bg-cream);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-2);
  font-style: normal;
}


/* CTA block - warm dark */
.cta-block, .bottom-cta {
  margin: 96px 0 0;
  padding: 80px 40px;
  background:
    radial-gradient(ellipse 900px 400px at 20% 20%, rgba(176, 77, 0, 0.4), transparent 60%),
    radial-gradient(ellipse 700px 400px at 80% 80%, rgba(184, 129, 0, 0.22), transparent 60%),
    linear-gradient(135deg, #3A2412 0%, #2A1808 100%);
  color: var(--text-white);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-block > *, .bottom-cta > * { position: relative; z-index: 1; }
.cta-block h2, .bottom-cta h2 {
  font-family: var(--font-round);
  color: var(--text-white);
  margin: 0 0 16px;
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.cta-block p, .bottom-cta p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.8;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-white);
  padding: 18px 44px;
  border-radius: var(--r-pill);
  border: 2px solid var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 32px rgba(176, 77, 0, 0.45);
  transition: all 0.25s ease;
  letter-spacing: 0.04em;
  min-height: 58px;
}
.cta-button:hover {
  background: var(--text-white);
  color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}
.bottom-cta-inner { max-width: 680px; margin: 0 auto; }

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 64px 32px 40px;
  background: var(--bg-cream);
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}
.site-footer p { margin: 8px 0; color: var(--text-3); }
.site-footer a {
  color: var(--text-2);
  margin: 0 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.site-footer a:hover { color: var(--accent); text-decoration: underline; }

/* Responsive */
@media (max-width: 720px) {
  main { padding: 0 20px 72px; }
  .site-header { padding: 12px 18px; min-height: 60px; }
  .site-header .brand { font-size: 13px; max-width: calc(100vw - 28px); gap: 8px; flex: 1 1 auto; }
  .site-header .brand::before { width: 22px; height: 22px; }
  .cta-line { padding: 10px 18px; font-size: 12.5px; }
  .hero { padding: 64px 20px 80px; }
  .hero-stats { gap: 12px; margin-top: 44px; }
  .hero-stats > div { padding: 16px 18px; }
  .hero-stats strong { font-size: 30px; }
  .hero-cta { min-width: 0; width: 100%; padding: 16px 28px; font-size: 16px; }
  .home > section { padding-left: 20px; padding-right: 20px; }
  .reasons { padding: 64px 20px; }
  .reasons-grid { gap: 48px 16px; }
  .reason-card { padding: 36px 22px 28px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-block, .bottom-cta { padding: 64px 24px; margin: 72px 0 0; border-radius: var(--r-lg); }
  .tldr-box { padding: 40px 22px 24px; }
  .tldr-box::after { left: 20px; }
  .article-body h2 { margin: 40px 0 14px; padding: 12px 14px 12px 18px; font-size: 20px; }
  .article-body { font-size: 16px; }
}

@media (max-width: 480px) {
  .site-header .brand::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   Shared utilities & Accessibility
   ============================================================ */
/* Arrow utility for CTAs - centralized to prevent encoding issues */
.cta-line::after,
.hero-cta::after,
.cta-button::after,
.section-more::after,
.card-more::after {
  content: "›";
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  transition: transform 0.25s ease;
}
.cta-line:hover::after,
.hero-cta:hover::after,
.cta-button:hover::after,
.section-more:hover::after,
.card:hover .card-more::after {
  transform: translateX(5px);
}

/* Keyboard focus — WCAG 2.4.7 compliant */
.cta-line:focus-visible,
.hero-cta:focus-visible,
.cta-button:focus-visible,
.section-more:focus-visible,
.card:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 6px rgba(176, 77, 0, 0.2);
}
.card:focus-visible {
  border-radius: var(--r-lg);
}
/* Remove focus ring on mouse click, keep on keyboard */
.cta-line:focus:not(:focus-visible),
.hero-cta:focus:not(:focus-visible),
.cta-button:focus:not(:focus-visible) {
  outline: none;
  box-shadow: var(--shadow-orange);
}

/* ============== 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, #C8432A 0%, #8B2A1F 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, #C8432A 0%, #A8341E 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: #fff5e8; }
.hikaku-table tbody tr:last-child { background: linear-gradient(90deg, #fff8e8 0%, #ffe8d0 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 #C8432A; background: #fff8f0;
  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 hover lift */
.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: 120px;
}
@media (max-width: 720px) {
  .article-body table { font-size: 13px; }
  .article-body table th,
  .article-body table td { padding: 10px 12px; }
}

/* 会員事例ブロック（v2スクリプト注入） */
.member-cases-section {
  background: #f6f1e8;
  border-left: 4px solid var(--accent);
  padding: 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}
.member-cases-section h3 {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 1.05em;
  font-family: var(--font-mincho, serif);
}
.member-case-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(200,67,42,0.12);
}
.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(200,67,42,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 var(--accent);
  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: #fdf8f0;
  border: 1px solid #e8d9c0;
  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; }

  /* インラインCTA */
  .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; }

  /* CTA */
  .article-cta { padding: 32px 20px; }
  .cta-button { width: 100%; text-align: center; padding: 16px 24px; }

  /* TL;DRボックス */
  .tldr-box { padding: 20px 16px; }
  .tldr-title { font-size: 15px; }
  .tldr-list li { font-size: 14px; }

  /* パンくず */
  .breadcrumb { font-size: 12px; padding: 8px 0; }
}

/* UIv4：カテゴリページ アシンメトリックグリッド（1+2） */
@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; }
}

/* 著者バーのスマホ対応 */
@media (max-width: 600px) {
  .article-author-bar { flex-direction: column; gap: 8px; padding: 12px 16px; }
  .author-role { font-size: 11px; }
}

/* 読書進捗バーのタップ操作改善 */
.read-progress-bar { height: 4px; }
