/* ==========================================================
   WK Partners 2026 Renewal — TOP page
   White base × Orange × Black / AI・Cyber theme
   Fixed animated background, scrolling content panels
   ========================================================== */

:root {
  --c-bg: #ffffff;
  --c-ink: #17171a;
  --c-ink-2: #2a2a2f;
  --c-gray: #4d4c53;
  --c-line: rgba(23, 23, 26, 0.1);
  --c-orange: #ff6a00;
  --c-orange-bright: #ff8c2e;
  --c-orange-deep: #e05500;
  --c-dark: #111113;
  --c-dark-deep: #0a0a0b;
  --grad-orange: linear-gradient(120deg, #ff8c2e 0%, #ff6a00 55%, #ff3d00 100%);
  --panel: rgba(255, 255, 255, 0.84);
  --panel-solid: rgba(255, 255, 255, 0.94);
  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Zen Old Mincho", serif;
  --font-mono: "Share Tech Mono", monospace;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
h3 { font-family: var(--font-serif); font-weight: 900; letter-spacing: 0.03em; }
.marker {
  background: linear-gradient(transparent 62%, rgba(255, 106, 0, 0.28) 62%);
  padding: 0 2px;
}

/* label style: Japanese-friendly sans labels.
   the true monospace face survives only inside the AI simulation window */
.mono { font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.14em; }
.ai-window .mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.08em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }

/* ==========================================================
   Fixed animated background stage
   ========================================================== */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 8% 0%, rgba(255, 140, 46, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(255, 106, 0, 0.12), transparent 60%),
    #ffffff;
}
#bgCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* stacking: everything above bg */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.25s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-outline .btn-arrow, .btn-ghost .btn-arrow {
  background: rgba(255, 106, 0, 0.14);
  color: var(--c-orange-deep);
}

.btn-primary {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255, 106, 0, 0.38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 106, 0, 0.5);
}
.btn-ghost {
  border: 1px solid rgba(23, 23, 26, 0.25);
  color: var(--c-ink);
  background: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { border-color: var(--c-orange); color: var(--c-orange-deep); }
.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }
.btn-outline {
  border: 1px solid var(--c-orange);
  color: var(--c-orange-deep);
  background: rgba(255, 255, 255, 0.7);
}
.btn-outline:hover { background: var(--c-orange); color: #fff; }

.btn-header { padding: 11px 22px; font-size: 14px; line-height: 1.4; }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* clickable affordance: cursor + visible keyboard focus */
a, button { cursor: pointer; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.logo { transition: opacity 0.25s ease; }
.logo:hover { opacity: 0.7; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-xl { padding: 18px 40px; font-size: 16px; }
.btn-block { display: flex; width: 100%; padding: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.header-tagline {
  display: none;
  font-size: 10.5px;
  color: var(--c-gray);
  padding: 5px 28px 0;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
@media (min-width: 1181px) {
  /* タグライン分を足したぶんヘッダー全体を高くし、
     ボタンが上下中央に収まる余白を確保する */
  :root { --header-h: 86px; }
  .header-tagline { display: block; padding: 7px 28px 3px; }
  .header-inner { height: calc(var(--header-h) - 24px) !important; }
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
}
.logo { display: flex; align-items: center; margin-right: auto; flex-shrink: 0; }
.logo-img { width: 229px; height: auto; }

.global-nav > ul { display: flex; gap: 4px; }
.global-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  color: var(--c-ink-2);
  white-space: nowrap;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.global-nav a:hover::after { transform: scaleX(1); }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- メガメニュー ---------- */
.global-nav .has-mega { position: static; }
.nav-caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.25s ease;
}
.has-mega:hover .nav-caret, .has-mega:focus-within .nav-caret {
  transform: rotate(-135deg) translateY(-2px);
}
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: #fff;
  border-top: 1px solid var(--c-line);
  border-bottom: 3px solid var(--c-orange);
  box-shadow: 0 28px 56px rgba(23, 23, 26, 0.16);
  padding: 40px 0 44px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  /* 閉じ側に 0.18s の猶予を入れ、リンク→パネル間の移動で消えないようにする */
  transition: opacity 0.25s ease 0.18s, transform 0.25s ease 0.18s, visibility 0.25s 0.18s;
  pointer-events: none;
}
/* リンク下端とパネル上端の隙間を埋める透明ブリッジ（ホバー継続用） */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}
.mega-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.mega-inner-3 { grid-template-columns: 1fr 1fr 1fr; }
.mega-head {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 16px;
  color: var(--c-ink);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--c-ink);
  position: relative;
}
.mega-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 44px;
  height: 2px;
  background: var(--c-orange);
}
/* .global-nav a の padding/display を打ち消し、バー位置を全カラムで揃える */
.mega-head a { display: inline; padding: 0; transition: color 0.2s ease; }
.mega-head a::after { display: none; }
.mega-head a:hover { color: var(--c-orange-deep); }
/* カテゴリを2列で並べる用 */
.mega-links-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.mega-links li { margin-bottom: 4px; }
.mega-links a {
  display: block;
  padding: 9px 12px 9px 22px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-ink-2);
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}
.mega-links a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--c-orange);
  border-top: 1.5px solid var(--c-orange);
}
.mega-links a:hover {
  background: #FFF4EA;
  color: var(--c-orange-deep);
}
.mega-links a strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
}
.mega-links a span {
  display: block;
  font-size: 12.5px;
  color: var(--c-gray);
  margin-top: 2px;
}
.mega-cta {
  margin-top: 18px;
  padding: 13px 24px;
  font-size: 14px;
  width: 100%;
}
@media (max-width: 1180px) {
  .mega, .nav-caret { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  width: 100%;
}
.hero-copy { position: relative; }
/* readability shield: strong white glow behind the copy.
   NOTE: backdrop-filter は動く背景の上では毎フレーム再描画になり
   FPSが激減するため使用しない */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -70px -90px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82) 55%, rgba(255, 255, 255, 0.35) 80%, transparent);
  z-index: -1;
  pointer-events: none;
}
.hero-eyebrow {
  color: var(--c-orange-deep);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow .mono {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.24em;
}
.hero-eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--c-orange);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  color: var(--c-ink);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.9);
}
.hero-title .line { display: block; }
.hero-title .line:nth-child(2) { margin-bottom: 0.45em; }
.hero-title .line.small { font-size: 0.62em; }
.hero-title .accent { color: var(--c-orange-deep); }
.decode { display: inline-block; }
.hero-lead {
  color: var(--c-ink-2);
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.3s forwards;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.6s forwards;
}

/* AI window — dark terminal as contrast accent */
.hero-visual {
  opacity: 0;
  animation: fadeUp 1s ease 1.0s forwards;
}
.ai-window {
  position: relative;
  background: rgba(17, 17, 19, 0.95);
  color: #f7f6f3;
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: 10px;
  box-shadow:
    0 24px 64px rgba(23, 23, 26, 0.28),
    0 0 80px rgba(255, 106, 0, 0.18);
  overflow: hidden;
}
.ai-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ai-window-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.ai-window-bar .dot:first-child { background: var(--c-orange); }
.ai-window-title {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}
.ai-window-body { padding: 22px 22px 26px; }
.ai-q {
  color: var(--c-orange-bright);
  font-size: 14px;
  min-height: 44px;
  margin-bottom: 14px;
  word-break: break-all;
}
.ai-q .prompt { color: rgba(255, 255, 255, 0.45); margin-right: 8px; }
.caret {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--c-orange);
  vertical-align: -2px;
  animation: blink 0.9s steps(1) infinite;
}
.ai-a {
  border-left: 2px solid var(--c-orange);
  padding: 4px 0 4px 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ai-a.show { opacity: 1; transform: none; }
.ai-a-label { font-size: 10px; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; }
.ai-a-text { font-size: 13.5px; line-height: 2; color: rgba(247, 246, 243, 0.92); }
.ai-a-text .hl {
  color: var(--c-orange-bright);
  font-weight: 700;
  background: linear-gradient(transparent 66%, rgba(255, 106, 0, 0.3) 66%);
}
.ai-a-cite {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.cite-check { color: #34c46f; margin-left: 10px; }
.ai-window-scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 46, 0.9), transparent);
  animation: scan 4s linear infinite;
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--c-gray);
  font-size: 10px;
  writing-mode: vertical-rl;
}
.scroll-bar {
  width: 1px;
  height: 56px;
  background: rgba(23, 23, 26, 0.2);
  position: relative;
  overflow: hidden;
}
.scroll-bar::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--c-orange);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes blink { 50% { opacity: 0; } }
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 110%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================
   Content panels floating above the fixed background
   ========================================================== */
.section { padding: 96px 0; position: relative; }
/* content bands fade out at both ends so the animated background
   stays visible between sections */
.panel { background: #fff; }
.panel.tint { background: #F8F6F2; }

/* VISION — transparent band that lets the background speak */
.vision {
  padding: 140px 0;
  text-align: center;
}
.vision .section-eyebrow { justify-content: center; }
.eyebrow-ja {
  margin-left: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--c-gray);
  letter-spacing: 0.2em;
}
.vision-copy {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 58px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.95),
    0 0 48px rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}
.vision-copy em { color: var(--c-orange-deep); }
.vision-note {
  color: #000;
  font-size: 14px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.95);
}

.section-eyebrow {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-orange-deep);
  font-size: 13px;
  letter-spacing: 0.24em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--c-orange);
}
.section-eyebrow.light { color: rgba(255, 255, 255, 0.9); }
.section-eyebrow.light::before { background: rgba(255, 255, 255, 0.9); }
.section-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 52px;
  color: var(--c-ink);
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.95),
    0 0 36px rgba(255, 255, 255, 0.85);
}
.section-title em { color: var(--c-orange-deep); }
.section-cta { text-align: center; margin-top: 56px; }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Problems ---------- */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
  margin-bottom: 64px;
}
.problem-item {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 23, 26, 0.16);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.problem-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--c-orange);
}
.p-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--c-orange);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.problem-note { max-width: 780px; color: var(--c-gray); }
.problem-note p + p { margin-top: 14px; }
.problem-note .strong { color: var(--c-ink); font-weight: 700; }

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.approach-card {
  padding: 36px 30px;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 23, 26, 0.06);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.card-head { margin-bottom: 18px; }
.approach-card h3 { font-size: 23px; color: var(--c-ink); }
.approach-card p { color: var(--c-gray); font-size: 14px; }

/* ---------- Services ---------- */
.service-list { display: flex; flex-direction: column; }
.service-card {
  display: grid;
  grid-template-columns: 40px 210px 1fr 40px;
  grid-template-areas: "num illust body arrow";
  align-items: center;
  gap: 30px;
  padding: 34px 20px;
  border-top: 1px solid var(--c-line);
  transition: background 0.3s ease, padding 0.3s ease, opacity 0.8s ease, transform 0.8s ease;
}
.service-num { grid-area: num; }
.service-illust { grid-area: illust; }
.service-body { grid-area: body; }
.service-arrow { grid-area: arrow; }
.service-card:last-of-type { border-bottom: 1px solid var(--c-line); }
.service-card {
  position: relative;
  cursor: pointer;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-orange);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.service-card:hover { background: #fff; padding-left: 32px; }
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover .service-body h3 { color: var(--c-orange-deep); }
.service-body h3 { transition: color 0.3s ease; }
.service-num { color: var(--c-orange); font-size: 15px; flex-shrink: 0; }
.service-body h3 { font-size: 25px; margin-bottom: 10px; line-height: 1.5; color: var(--c-ink); }
.service-body p { color: var(--c-gray); font-size: 14px; max-width: 720px; }
.service-arrow {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--c-orange);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.service-card:hover .service-arrow { transform: translateX(6px); }

/* ---------- Values: magazine-style overlap rows ---------- */
.value-rows {
  display: flex;
  flex-direction: column;
  gap: 104px;
}
.value-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.value-photo {
  grid-area: 1 / 1 / 2 / 9;
  position: relative;
  z-index: 1;
}
.value-photo img {
  width: 100%;
  height: clamp(280px, 30vw, 400px);
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(23, 23, 26, 0.16);
}
/* ずらしたオレンジの飾り枠 */
.value-photo::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid rgba(235, 101, 25, 0.3);
  border-radius: 18px;
  z-index: -1;
}
/* 縦書きの明朝キーワード */
.v-tate {
  position: absolute;
  top: 24px;
  right: 24px;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.5em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
/* 重なる白カード */
.value-card {
  grid-area: 1 / 8 / 2 / 13;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 52px 42px 40px;
  box-shadow: 0 20px 52px rgba(23, 23, 26, 0.14);
}
.v-num {
  position: absolute;
  top: -38px;
  left: 30px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 88px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--c-orange);
  letter-spacing: 0.04em;
}
.value-card h3 { font-size: 25px; margin-bottom: 16px; color: var(--c-ink); }
.value-card p { color: var(--c-gray); font-size: 15px; line-height: 2; }

/* 偶数行は左右反転 */
.value-row:nth-child(even) .value-photo { grid-area: 1 / 5 / 2 / 13; }
.value-row:nth-child(even) .value-card { grid-area: 1 / 1 / 2 / 6; }
.value-row:nth-child(even) .value-photo::before {
  left: -20px;
  right: 20px;
}
.value-row:nth-child(even) .v-tate { right: auto; left: 24px; }

/* ---------- Flow: dark band for contrast rhythm ---------- */
.flow.panel {
  background: linear-gradient(180deg, var(--c-dark), var(--c-dark-deep));
}
.flow .section-eyebrow { color: var(--c-orange-bright); }
.flow .section-eyebrow::before { background: var(--c-orange-bright); }
.flow .section-title { color: #fff; text-shadow: none; }
.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.flow-step {
  position: relative;
  padding: 26px 20px 30px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 23, 26, 0.05);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-orange);
  font-family: var(--font-mono);
  z-index: 2;
}
.flow-num { display: block; color: var(--c-orange-deep); font-size: 11px; margin-bottom: 12px; }
.flow-step h3 { font-size: 19px; margin-bottom: 8px; color: var(--c-ink); }
.flow-step p { color: var(--c-gray); font-size: 12.5px; line-height: 1.7; }

/* ---------- Works ---------- */
.works-lead { color: var(--c-gray); max-width: 720px; }
.works-flex {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
}
.works-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(23, 23, 26, 0.14);
}
.works-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.works-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.work-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.8s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(235, 101, 25, 0.18);
}
.work-card a { display: block; }
.work-shot {
  width: 100%;
  height: auto;
  aspect-ratio: 784 / 500;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 1px solid var(--c-line);
}
.work-name {
  display: block;
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-ink);
}
.work-card:hover .work-name { color: var(--c-orange-deep); }

/* ---------- Photo banners ---------- */
.photo-banner {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(23, 23, 26, 0.12);
  margin-bottom: 52px;
}
.photo-banner img {
  width: 100%;
  height: clamp(200px, 30vw, 340px);
  object-fit: cover;
  display: block;
}

/* ---------- Illustrations ----------
   every illustration sits on the same soft "stage" so they read
   as a designed system, not floating clip-art */
.approach-illust {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  margin: -36px -30px 26px;
  padding: 18px;
  background: #fff;
  border-radius: 18px 18px 0 0;
}
.approach-illust svg { height: 100%; width: auto; display: block; }

.service-illust {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(180deg, #FFF6EE, #FFFCF9);
  border: 1px solid rgba(235, 101, 25, 0.14);
  border-radius: 16px;
}
.service-illust svg { width: 100%; height: auto; display: block; }

.works-illust {
  padding: 24px 20px;
  background: linear-gradient(180deg, #FFF6EE, #FFFCF9);
  border: 1px solid rgba(235, 101, 25, 0.14);
  border-radius: 10px;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  background: #FFF4EA;
  border: 1px solid rgba(235, 101, 25, 0.14);
  border-radius: 14px;
}
.flow-icon svg { width: 38px; height: 38px; display: block; }

/* ---------- CTA ---------- */
.cta-section { padding: 110px 0 130px; }
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 100% at 50% 120%, rgba(255, 140, 46, 0.5), transparent 60%),
    linear-gradient(135deg, #1c1d22, var(--c-dark-deep));
  box-shadow: 0 30px 80px rgba(23, 23, 26, 0.3);
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000 20%, transparent 75%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .section-eyebrow { justify-content: center; }
.cta-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.6;
  margin-bottom: 24px;
}
.cta-title em { color: var(--c-orange-bright); }
.cta-lead {
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 44px;
}
.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--c-dark), var(--c-dark-deep));
  color: rgba(255, 255, 255, 0.85);
  padding-top: 72px;
}
.footer-logo-img { filter: brightness(0) invert(1); opacity: 0.95; }
.footer-inner {
  display: block;
  padding-bottom: 56px;
}
.footer-brand { margin-bottom: 48px; }
.footer-logo-img { width: 200px; height: auto; margin-bottom: 18px; }
.footer-desc { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px 30px;
}
.footer-nav + .footer-nav {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  color: var(--c-orange-bright);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 21px;
  height: 21px;
}
.footer-icon svg { width: 100%; height: 100%; }
.footer-head a { transition: color 0.25s ease; }
.footer-head a:hover { color: #fff; }
.footer-col li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 11px;
}
/* リンクであることが一目で分かるよう、行頭にオレンジの矢印 */
.footer-col li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid rgba(255, 140, 46, 0.85);
  border-top: 1.5px solid rgba(255, 140, 46, 0.85);
  transform: rotate(45deg);
}
.footer-col a {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s ease;
}
.footer-col a:hover {
  color: var(--c-orange-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
}
.footer-social a:hover { color: var(--c-orange-bright); }

.footer-offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
  padding: 44px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .office-name {
  color: #fff;
}
.office-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--c-ink);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--c-orange);
}
.office p:not(.office-name) {
  font-size: 13.5px;
  color: var(--c-gray);
  line-height: 1.9;
}
.site-footer .office p:not(.office-name) { color: rgba(255, 255, 255, 0.82); }
.office a { color: inherit; }
.office a:hover { color: var(--c-orange-bright); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
}

/* ==========================================================
   Subpages（下層ページ共通）
   ========================================================== */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 56px;
  position: relative;
  background-image: radial-gradient(rgba(235, 101, 25, 0.14) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}
.page-hero .container { z-index: 1; }
.ph-grid.has-photo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.ph-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(23, 23, 26, 0.18);
}
.ph-photo img {
  width: 100%;
  height: clamp(240px, 26vw, 340px);
  object-fit: cover;
  display: block;
}
.page-hero .container { position: relative; }
.page-hero .container::before {
  content: "";
  position: absolute;
  inset: -50px -70px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7) 60%, transparent);
  z-index: -1;
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--c-gray);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--c-gray); transition: color 0.25s ease; }
.breadcrumb a:hover { color: var(--c-orange-deep); }
.breadcrumb .sep { color: rgba(23, 23, 26, 0.3); }
.page-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin-bottom: 20px;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.95);
}
.page-lead {
  color: var(--c-ink-2);
  font-size: 19px;
  line-height: 2;
  max-width: 760px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.page-lead.lead-more { margin-top: 12px; }
.cta-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 10px;
}

/* ---------- 下層ページ：背景バンド ---------- */
.block-band { padding: 76px 0; }
.block-band.tone-white { background: #fff; }
.block-band.tone-white + .block-band.tone-white { padding-top: 0; }
.block-band.tone-tint { background: #F8F6F2; }
.block-band.tone-beige { background: #F3EEE5; }
.block-band.tone-dark {
  background:
    radial-gradient(ellipse 70% 100% at 85% 110%, rgba(255, 106, 0, 0.16), transparent 60%),
    linear-gradient(180deg, #16171b, #0c0c0e);
}
.band-cta { padding: 40px 0; }
.block-band .content-block { margin-bottom: 0; }

/* ダークバンド内の配色 */
.tone-dark .block-head { border-bottom-color: rgba(255, 255, 255, 0.9); }
.tone-dark .block-head h2 { color: #fff; }
.tone-dark .prose p, .tone-dark .prose .lead-p { color: rgba(255, 255, 255, 0.82); }
.tone-dark .prose .lead-p { color: #fff; }
.tone-dark .prose h3 { color: #fff; }
.tone-dark .prose ol li, .tone-dark .prose ul li { color: rgba(255, 255, 255, 0.82); }
.tone-dark .prose .steps::before {
  background: linear-gradient(180deg, var(--c-orange), rgba(255, 140, 46, 0.25));
}
.tone-dark .prose .steps li::before {
  background: #1c1d22;
  color: var(--c-orange-bright);
}
.tone-dark .prose .steps li strong { color: #fff; }
.tone-dark .plain-list li { border-bottom-color: rgba(255, 255, 255, 0.16); }
.tone-dark .num-list li { border-bottom-color: rgba(255, 255, 255, 0.16); }
.tone-dark .block-note {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: var(--c-orange);
}
.tone-dark .block-note p { color: rgba(255, 255, 255, 0.85) !important; }
.tone-dark .cta-inline .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.tone-dark .cta-inline .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.tone-dark .check-list li, .tone-dark .cross-list li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}
.tone-dark .cross-list li::before { color: rgba(255, 255, 255, 0.6); }

/* ベージュバンド内 */
.tone-beige .content-block.statement { background: none; border-radius: 0; padding: 0; }
.tone-beige .conclusion .prose { background: #fff; }
.tone-beige .link-card { box-shadow: 0 14px 34px rgba(23, 23, 26, 0.08); }
.tone-tint .h3-card, .tone-tint .titled-panel { box-shadow: 0 14px 34px rgba(23, 23, 26, 0.07); }

/* ヒーローのロゴマーク透かし */
.page-hero { overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -4%;
  width: clamp(320px, 42vw, 620px);
  height: clamp(320px, 42vw, 620px);
  background: url(../img/mark.svg) no-repeat center / contain;
  opacity: 0.055;
  pointer-events: none;
}

/* ---------- 下層ページ：コンテンツブロック ---------- */
.content-block { margin-bottom: 72px; }
.content-block:last-child { margin-bottom: 0; }
.block-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--c-ink);
  position: relative;
}
.block-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 2px;
  background: var(--c-orange);
}
.block-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.1px var(--c-orange);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.block-head h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.5;
  color: var(--c-ink);
}
.content-block .prose { max-width: none; }
.content-block .prose h3 {
  position: relative;
  padding-left: 22px;
  font-size: 23px;
  margin: 44px 0 14px;
}
.content-block .prose h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background: var(--c-orange);
  transform: rotate(45deg);
}
.content-block .prose > p:first-child { margin-top: 0; }

/* 結論・まとめブロックは強調ボックス */
.conclusion .prose {
  background: #FFF6EE;
  border: 1px solid rgba(235, 101, 25, 0.22);
  border-radius: 14px;
  padding: 28px 30px;
}
.conclusion .block-head { border-bottom-color: var(--c-orange); }

/* チェックリスト型の箇条書き */
.check-list { margin: 6px 0 10px; }
.prose .check-list li {
  padding: 16px 20px 16px 52px;
  margin-bottom: 12px;
}
.check-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 16px 20px 16px 52px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--c-ink-2);
  box-shadow: 0 4px 14px rgba(23, 23, 26, 0.04);
}
.prose .check-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-orange);
}
.prose .check-list li::after, .check-list li::after {
  content: "";
  position: absolute;
  left: 22.5px;
  top: 26px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.conclusion .check-list li { background: #fff; }

/* ---------- レイアウトパターン ---------- */
/* ページ内目次チップ */
.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 64px;
}
.page-toc a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink-2);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.page-toc a:hover {
  border-color: var(--c-orange);
  color: var(--c-orange-deep);
  transform: translateY(-2px);
}

/* ブロック冒頭のリード段落 */
.prose .lead-p {
  font-size: 20px;
  line-height: 2;
  color: var(--c-ink);
  font-weight: 500;
}

/* リスト直後の締め段落 → POINTボックス */
.block-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #FFF6EE;
  border-left: 4px solid var(--c-orange);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  margin: 30px 0 8px;
}
.bn-label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--c-orange-deep);
  padding-top: 4px;
  flex-shrink: 0;
}
.block-note p { margin: 0 !important; font-size: 16.5px !important; color: var(--c-ink-2); }

/* h3＋リストの見出し付きパネル群 */
.panel-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.titled-panel {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.06);
}
.titled-panel h3 {
  font-size: 20px;
  color: var(--c-ink);
  padding-left: 14px;
  border-left: 4px solid var(--c-orange);
  margin-bottom: 16px;
  line-height: 1.6;
}
.titled-panel p { font-size: 15.5px; color: var(--c-gray); margin: 12px 0 0; line-height: 1.9; }
.titled-panel .check-list.mini li,
.titled-panel .cross-list.mini li {
  font-size: 15.5px;
  padding: 12px 14px 12px 44px;
  margin-bottom: 8px;
  box-shadow: none;
}
.titled-panel .check-list.mini li::before { left: 14px; top: 15px; width: 16px; height: 16px; }
.titled-panel .check-list.mini li::after { left: 18px; top: 19.5px; width: 8px; height: 4px; }
.titled-panel .cross-list.mini li::before { left: 15px; top: 11px; font-size: 17px; }

@media (max-width: 768px) {
  .page-toc { gap: 8px; margin-bottom: 44px; }
  .page-toc a { font-size: 13px; padding: 8px 16px; }
    .prose .lead-p { font-size: 18px; }
  .panel-group { grid-template-columns: 1fr; gap: 14px; }
  .block-note { padding: 16px 18px; gap: 12px; }
  .content-block.statement { padding: 40px 22px; border-radius: 16px; }
  .statement .prose p, .statement .prose .lead-p { font-size: 17px; line-height: 2; }
}

/* h3小見出し群のカードグリッド */
.h3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.h3-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 30px 30px 26px;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.06);
}
.h3-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 46px;
  height: 4px;
  background: var(--c-orange);
  border-radius: 0 0 4px 4px;
}
.h3-card-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.1px var(--c-orange);
  margin-bottom: 12px;
}
.h3-card h3 {
  font-size: 21px;
  color: var(--c-ink);
  margin-bottom: 12px;
  line-height: 1.6;
}
.h3-card p { color: var(--c-gray); font-size: 16px; line-height: 1.9; margin: 0; }
.h3-card p + p { margin-top: 10px; }

/* 番号付きエディトリアルリスト（支援内容・納品物など） */
.prose .num-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  counter-reset: numl;
  margin: 10px 0 16px;
}
.prose .num-list li {
  position: relative;
  counter-increment: numl;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid var(--c-line);
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-ink-2);
}
.prose .num-list li::before {
  content: counter(numl, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  width: auto;
  height: auto;
  background: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-orange);
  letter-spacing: 0.04em;
}

/* シンプルなエディトリアルリスト（汎用） */
.prose .plain-list { margin: 10px 0 16px; }
.prose .plain-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px dashed rgba(23, 23, 26, 0.18);
  font-size: 17.5px;
  line-height: 1.9;
  color: var(--c-ink-2);
}
.prose .plain-list li:last-child { border-bottom: none; }
.prose .plain-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.05em;
  width: 9px;
  height: 9px;
  background: var(--c-orange);
  transform: rotate(45deg);
}

/* チップ型リスト（短い項目の羅列） */
.prose .chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 20px;
}
.prose .chip-list li {
  background: #FFF4EA;
  border: 1px solid rgba(235, 101, 25, 0.25);
  color: var(--c-orange-deep);
  font-size: 15.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
}
.prose .chip-list li::before { content: none; }

/* ×印リスト（誤解・NG系） */
.cross-list { margin: 6px 0 10px; }
.prose .cross-list li, .cross-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 3px solid rgba(23, 23, 26, 0.55);
  border-radius: 12px;
  padding: 16px 20px 16px 52px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--c-ink-2);
}
.prose .cross-list li::before, .cross-list li::before {
  content: "×";
  position: absolute;
  left: 18px;
  top: 15px;
  width: auto;
  height: auto;
  background: none;
  font-weight: 900;
  font-size: 20px;
  color: rgba(23, 23, 26, 0.6);
}

/* タイムライン型ステップ */
.prose .steps { margin: 26px 0; counter-reset: stepn; position: relative; }
.prose .steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-orange), rgba(255, 106, 0, 0.15));
}
.prose .steps li {
  position: relative;
  padding-left: 68px;
  margin-bottom: 30px;
  counter-increment: stepn;
  font-size: 18px;
  line-height: 1.9;
  color: var(--c-ink-2);
}
.prose .steps li::before {
  content: counter(stepn);
  position: absolute;
  left: 0;
  top: -2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-orange);
  color: var(--c-orange-deep);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  display: grid;
  place-items: center;
}
.prose .steps li strong { color: var(--c-ink); font-size: 19px; }

@media (max-width: 768px) {
  .h3-grid { grid-template-columns: 1fr; gap: 14px; }
  .h3-card { padding: 24px 22px 20px; }
  .prose .steps li { padding-left: 56px; }
  .prose .steps li::before { width: 38px; height: 38px; font-size: 17px; }
  .prose .steps::before { left: 18px; }
}

/* 中央寄せステートメントバンド（短い宣言セクション） */
.content-block.statement {
  background: #F8F6F2;
  border-radius: 22px;
  padding: 64px 48px;
  text-align: center;
}
.statement .block-head {
  display: block;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 18px;
}
.statement .block-head::after {
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
}
.statement .block-head h2 { font-size: clamp(23px, 2.6vw, 30px); }
.statement .prose { max-width: 760px; margin: 14px auto 0; }
.statement .prose p, .statement .prose .lead-p {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 2.2;
  color: var(--c-ink-2);
}

/* 比較表：ヘッダー行 */
.spec-table.has-head thead th {
  background: var(--c-dark);
  color: #fff;
  border-bottom: none;
  white-space: normal;
}
.spec-table.has-head thead th:first-child { border-radius: 10px 0 0 0; }
.spec-table.has-head thead th:last-child { border-radius: 0 10px 0 0; }

/* ヒーロー内の目次チップ */
.page-hero .page-toc { margin: 26px 0 0; }
.page-hero .page-toc a {
  background: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  padding: 8px 18px;
  font-weight: 500;
}

/* ---------- LP化：CV誘導 ---------- */
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.mid-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 120% at 100% 120%, rgba(255, 140, 46, 0.35), transparent 60%),
    linear-gradient(135deg, #1c1d22, var(--c-dark-deep));
  border-radius: 20px;
  padding: 38px 44px;
  margin: 0;
  color: #fff;
}
.mid-cta-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 23px;
  margin-bottom: 8px;
}
.mid-cta-sub { font-size: 14.5px; color: rgba(255, 255, 255, 0.75); line-height: 1.9; }
.mid-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-cta .btn { padding: 14px 26px; font-size: 14px; box-shadow: 0 12px 32px rgba(23, 23, 26, 0.25); }
.float-cta .btn-outline { background: #fff; }

@media (max-width: 768px) {
  .hero-cta-row .btn { width: 100%; }
  .mid-cta { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; margin-bottom: 52px; }
  .mid-cta-actions .btn { width: 100%; }
  .float-cta {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -8px 24px rgba(23, 23, 26, 0.08);
  }
  .float-cta .btn { flex: 1; box-shadow: none; padding: 13px 10px; font-size: 13.5px; }
  body.lp .site-footer { padding-bottom: 72px; }
}

/* ---------- コラム ---------- */
.title-sub {
  display: inline-block;
  margin-left: 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-orange-deep);
  vertical-align: 6px;
}
.column-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.list-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 22px;
  color: var(--c-ink);
  margin-bottom: 22px;
  padding-left: 14px;
  border-left: 4px solid var(--c-orange);
}
.column-main .column-grid { grid-template-columns: repeat(2, 1fr); }
.col-update {
  color: var(--c-orange-deep);
  font-size: 11.5px;
  font-weight: 700;
}

/* サイドバー */
.column-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.side-box {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 24px 24px 26px;
  box-shadow: 0 8px 24px rgba(23, 23, 26, 0.05);
}
.side-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 17px;
  color: var(--c-ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-ink);
  position: relative;
}
.side-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 36px;
  height: 2px;
  background: var(--c-orange);
}
.side-search {
  display: flex;
  gap: 8px;
}
.side-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  border: 1px solid rgba(23, 23, 26, 0.2);
  border-radius: 8px;
}
.side-search input:focus {
  outline: none;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}
.side-search button {
  width: 44px;
  border: none;
  border-radius: 8px;
  background: var(--grad-orange);
  color: #fff;
  display: grid;
  place-items: center;
}
.popular-list { counter-reset: pop; }
.popular-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-ink-2);
}
.popular-list li:last-child { border-bottom: none; }
.pop-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-orange);
  flex-shrink: 0;
}
.side-note { font-size: 11.5px; color: var(--c-gray); margin-top: 10px; }
.cat-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
  display: inline-block;
  background: #FFF4EA;
  border: 1px solid rgba(235, 101, 25, 0.22);
  color: var(--c-orange-deep);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.side-social { margin-top: 6px; }
.side-social a { color: var(--c-gray); }
.side-social a:hover { color: var(--c-orange); }

/* ページネーション */
.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0 28px;
}
.page-current, .page-link {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
}
.page-current { background: var(--grad-orange); color: #fff; }
.page-link {
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink-2);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.page-link:hover { border-color: var(--c-orange); color: var(--c-orange-deep); }
.page-next { min-width: auto; padding: 0 20px; border-radius: 999px; }
.page-dots { color: var(--c-gray); }

/* 記事：日付・シェア・目次 */
.article-dates { display: inline-flex; gap: 14px; font-size: 13.5px; color: var(--c-gray); }
.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
}
.article-body + .share-row, section .share-row { margin-bottom: 40px; }
.share-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-gray);
  margin-right: 4px;
}
.share-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink-2);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
.share-btn.copied {
  background: #34c46f;
  border-color: #34c46f;
  color: #fff;
}
.share-btn:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
  transform: translateY(-2px);
}
.toc-box {
  background: #F8F6F2;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 40px;
}
.toc-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 17px;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.toc-box ol { counter-reset: tocn; margin: 0; }
.toc-box ol li {
  counter-increment: tocn;
  padding: 7px 0 7px 34px;
  position: relative;
  font-size: 15px;
}
.toc-box ol li::before {
  content: counter(tocn, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-orange-deep);
}
.toc-box a { color: var(--c-ink-2); }
.toc-box a:hover { color: var(--c-orange-deep); text-decoration: underline; }

@media (max-width: 1080px) {
  .column-layout { grid-template-columns: 1fr; }
  .column-side { position: static; }
}
@media (max-width: 768px) {
  .column-main .column-grid { grid-template-columns: 1fr; }
  .title-sub { display: block; margin: 8px 0 0; vertical-align: baseline; }
  .article-dates { flex-direction: column; gap: 2px; }
  .pagination { flex-wrap: wrap; }
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.column-card {
  display: block;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
a.column-card:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 101, 25, 0.4);
  box-shadow: 0 18px 40px rgba(235, 101, 25, 0.16);
}
a.column-card:hover .col-title { color: var(--c-orange-deep); }
.col-thumb { position: relative; }
.col-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.col-coming {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(23, 23, 26, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.column-card.coming { opacity: 0.75; }
.col-body { padding: 22px 24px 24px; }
.col-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--c-gray);
}
.col-cat {
  display: inline-block;
  background: #FFF4EA;
  border: 1px solid rgba(235, 101, 25, 0.25);
  color: var(--c-orange-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.col-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
.col-excerpt { font-size: 14px; color: var(--c-gray); line-height: 1.9; }
.column-note { max-width: 720px; }

/* コラム詳細 */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--c-gray);
}
.article-author { font-size: 13.5px; }
.article-eyecatch {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(23, 23, 26, 0.14);
  margin-bottom: 48px;
}
.article-eyecatch img { width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover; display: block; }
.article-body { max-width: 820px; margin: 0 auto 64px; }
.article-quote {
  border-left: 4px solid var(--c-orange);
  background: #FAF8F5;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 26px 0;
  font-size: 16.5px;
  color: var(--c-ink-2);
}
.article-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  color: var(--c-gray);
}
.author-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 72px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.06);
}
.author-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-orange-deep);
  margin-bottom: 4px;
}
.author-box h3 { font-size: 20px; margin-bottom: 8px; color: var(--c-ink); }
.author-box p { font-size: 14.5px; color: var(--c-gray); line-height: 1.9; }

@media (max-width: 768px) {
  .column-grid { grid-template-columns: 1fr; gap: 18px; }
  .author-box { grid-template-columns: 1fr; text-align: left; }
}

/* フォームブロック */
.form-block .block-num { -webkit-text-stroke: 0; color: var(--c-orange); }

/* prose blocks */
.prose { max-width: 860px; }
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.5;
  color: var(--c-ink);
  margin: 64px 0 22px;
  padding-left: 18px;
  border-left: 4px solid var(--c-orange);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; color: var(--c-ink); margin: 40px 0 14px; }
.prose p { color: var(--c-ink-2); font-size: 18px; line-height: 2; margin-bottom: 22px; }
.prose ul { margin: 18px 0 26px; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--c-ink-2);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 3px;
  background: var(--c-orange);
}
.prose ol { margin: 18px 0 26px; counter-reset: pnum; }
.prose ol li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--c-ink-2);
  counter-increment: pnum;
}
.prose ol li::before {
  content: counter(pnum, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-orange);
  font-size: 20px;
}
.note {
  background: #FFF6EE;
  border: 1px solid rgba(235, 101, 25, 0.2);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 16px;
  color: var(--c-gray);
  margin: 26px 0;
}

/* link cards（ハブ→子ページ） */
.link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.link-card {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 28px 30px 56px;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(235, 101, 25, 0.4);
  box-shadow: 0 16px 36px rgba(235, 101, 25, 0.14);
}
.link-card h3 { font-size: 21px; color: var(--c-ink); margin-bottom: 12px; line-height: 1.6; }
.link-card p { color: var(--c-gray); font-size: 15.5px; line-height: 1.8; margin-bottom: 0; }
.card-arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 106, 0, 0.12);
  color: var(--c-orange-deep);
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.link-card:hover .card-arrow {
  background: var(--c-orange);
  color: #fff;
  transform: translateX(3px);
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 56px 24px 26px;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q.";
  font-family: var(--font-serif);
  color: var(--c-orange-deep);
  margin-right: 10px;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-orange);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-a {
  padding: 0 26px 26px;
  font-size: 17px;
  color: var(--c-ink-2);
}
.faq-item .faq-a::before {
  content: "A.";
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-ink);
  margin-right: 10px;
}

/* 会社概要テーブル */
.spec-table { width: 100%; border-collapse: collapse; margin: 26px 0; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-line);
  font-size: 17px;
  vertical-align: top;
}
.spec-table th { width: 160px; color: var(--c-ink); white-space: nowrap; font-weight: 700; }
.spec-table td { color: var(--c-ink-2); }

/* 料金プラン */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.price-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.06);
  display: flex;
  flex-direction: column;
}
.price-card h3 { font-size: 19px; color: var(--c-ink); margin-bottom: 14px; }
.price-card .price {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 22px;
  color: var(--c-orange-deep);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.price-card p { color: var(--c-gray); font-size: 13px; }

/* フォーム */
.form-grid { max-width: 720px; }
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.req, .opt {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.req { background: var(--c-orange); color: #fff; }
.opt { background: rgba(23, 23, 26, 0.1); color: var(--c-gray); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="url"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: #fff;
  border: 1px solid rgba(23, 23, 26, 0.2);
  border-radius: 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-agree { font-size: 13.5px; color: var(--c-ink-2); margin: 26px 0; }
.form-agree a { color: var(--c-orange-deep); text-decoration: underline; }
.form-agree input { margin-right: 8px; accent-color: var(--c-orange); }

/* 拠点（会社ページ用） */
.company-offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin: 26px 0;
}

/* member cards */
.member-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.06);
}
.member-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #FFF4EA;
  border: 1px solid rgba(235, 101, 25, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 30px;
  color: var(--c-orange-deep);
}
.member-card h3 { font-size: 20px; color: var(--c-ink); margin-bottom: 4px; }
.member-role { font-size: 12.5px; color: var(--c-orange-deep); font-weight: 700; margin-bottom: 12px; }
.member-card p { font-size: 13.5px; color: var(--c-ink-2); margin-bottom: 8px; }

/* PC：広い画面を活かす見せ方 */
@media (min-width: 900px) {
  .check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
  .prose .check-list li, .check-list li { margin-bottom: 0; }
  .content-block .prose > p,
  .content-block .prose > ul:not(.check-list),
  .content-block .prose > ol { max-width: 860px; }
  .link-cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}

/* SP：縦積み・コンパクトな見せ方 */
@media (max-width: 768px) {
  .ph-grid.has-photo { grid-template-columns: 1fr; gap: 26px; }
  .ph-photo img { height: 190px; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 40px; }
  .content-block { margin-bottom: 52px; }
  .block-band { padding: 52px 0; }
  .page-hero::before { width: 240px; height: 240px; right: -60px; top: auto; bottom: -40px; }
  .block-head { gap: 12px; padding-bottom: 12px; margin-bottom: 22px; }
  .block-num { font-size: 24px; }
  .prose p, .prose ul li, .prose ol li, .check-list li { font-size: 17px; }
  .prose .num-list { grid-template-columns: 1fr; gap: 0; }
  .prose .chip-list li { font-size: 14px; padding: 8px 16px; }
  .faq-item summary { font-size: 17px; padding: 20px 48px 20px 20px; }
  .link-card { padding: 24px 24px 52px; }
  .link-cards, .price-cards { grid-template-columns: 1fr; }
  .member-card { grid-template-columns: 1fr; }
  .spec-table th { width: 110px; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .global-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--c-ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    /* backdrop-filter 付きヘッダーが包含ブロックになるため
       bottom:0 ではなくビューポート基準の高さで指定する */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: rgba(255, 255, 255, 0.97);
    padding: 32px 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu ul { margin-bottom: 28px; }
  .mobile-contact { margin-top: 12px; }
  .mobile-menu li { border-bottom: 1px solid var(--c-line); }
  .mobile-menu a:not(.btn) {
    display: block;
    padding: 16px 4px;
    font-weight: 500;
  }
  .site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 100px; }
  .hero-visual { max-width: 560px; }
  .logo-img { width: 190px; }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 32px 24px 96px; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-actions .btn { width: 100%; }
  .scroll-hint { display: none; }
  .problem-list,
  .approach-grid { grid-template-columns: 1fr; }
  .value-rows { gap: 72px; }
  .value-row { display: block; }
  .value-photo img { height: 220px; }
  .value-photo::before { display: none; }
  .v-tate { font-size: 19px; top: 16px; right: 16px !important; left: auto !important; }
  .value-card { margin: -44px 14px 0; padding: 40px 24px 30px; }
  .v-num { font-size: 56px; top: -26px; left: 20px; }
  .value-card h3 { font-size: 21px; }
  .flow-list { grid-template-columns: 1fr; gap: 12px; }
  .flow-step:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -16px;
    transform: translateX(-50%);
  }
  .service-card {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "illust" "body";
    gap: 16px;
    align-items: start;
  }
  .service-arrow { display: none; }
  .service-illust { max-width: 230px; }
  .works-flex { grid-template-columns: 1fr; gap: 28px; }
  .works-photo { max-width: 360px; }
  .works-gallery { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .footer-nav { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav + .footer-nav { margin-top: 28px; padding-top: 28px; }
  .cta-box { padding: 56px 24px; }
  .cta-actions .btn { width: 100%; }
}

/* ==========================================================
   下層LPパーツ（下層ページをLP風に見せるための共通部品）
   トップページの .problem-list / .flow-list / .value-row /
   .link-cards / .mid-cta と組み合わせて使う
   ========================================================== */

/* ---------- LPヒーロー ---------- */
.page-title.lp-title {
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.32;
}
.lp-title .line { display: block; }
.lp-title .line.accent {
  color: var(--c-orange-deep);
  font-size: 0.62em;
  letter-spacing: 0.06em;
  margin-bottom: 0.3em;
  position: relative;
  padding-left: 46px;
}
.lp-title .line.accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 2px;
  background: var(--c-orange);
}

/* 特長バッジ行 */
.lp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.lp-badges li {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(235, 101, 25, 0.35);
  border-radius: 999px;
  padding: 9px 20px 9px 40px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-ink-2);
}
.lp-badges li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-orange);
}
.lp-badges li::after {
  content: "";
  position: absolute;
  left: 19.5px;
  top: 50%;
  transform: translateY(-70%) rotate(-45deg);
  width: 7px;
  height: 4px;
  border-left: 1.8px solid #fff;
  border-bottom: 1.8px solid #fff;
}

/* ---------- 課題：吹き出しレイアウト ---------- */
.lp-voice-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 860px;
  margin-bottom: 56px;
}
.lp-voice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 88%;
}
.lp-voice.alt {
  flex-direction: row-reverse;
  align-self: flex-end;
}
.lp-voice-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #FFF4EA;
  border: 1px solid rgba(235, 101, 25, 0.2);
  overflow: hidden;
}
.lp-voice-icon svg { width: 40px; height: 40px; display: block; margin-top: 8px; }
.lp-voice-body {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 16px 24px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--c-ink-2);
  box-shadow: 0 8px 24px rgba(23, 23, 26, 0.06);
}
.lp-voice-body::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -7px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-left: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  transform: rotate(45deg);
}
.lp-voice.alt .lp-voice-body::before {
  left: auto;
  right: -7px;
  border-left: none;
  border-bottom: none;
  border-right: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
}

/* ---------- ダークバンド（.section 用） ---------- */
.section.lp-dark {
  background:
    radial-gradient(ellipse 70% 100% at 85% 110%, rgba(255, 106, 0, 0.16), transparent 60%),
    linear-gradient(180deg, #16171b, #0c0c0e);
}
.lp-dark .section-title { color: #fff; text-shadow: none; }
.lp-dark .section-eyebrow { color: var(--c-orange-bright); }
.lp-dark .section-eyebrow::before { background: var(--c-orange-bright); }

/* 原因カード（×印） */
.lp-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
.lp-reason-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 24px 26px;
}
.lp-reason-x {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--c-orange-bright);
  color: var(--c-orange-bright);
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
}
.lp-reason-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 500;
}

/* ---------- 支援内容：3フェーズボード ---------- */
.lp-phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.lp-phase {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-orange);
  border-radius: 18px;
  padding: 28px 26px 24px;
  box-shadow: 0 10px 28px rgba(23, 23, 26, 0.06);
}
.lp-phase:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-orange);
  font-family: var(--font-mono);
  font-size: 18px;
  z-index: 2;
}
.lp-phase-head {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px dashed rgba(23, 23, 26, 0.18);
}
.lp-phase-head h3 { font-size: 21px; color: var(--c-ink); margin-bottom: 4px; }
.lp-phase-head p { font-size: 13px; color: var(--c-orange-deep); font-weight: 700; letter-spacing: 0.04em; }
.lp-phase-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-phase-items li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-ink-2);
}
.lp-phase-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: #FFF4EA;
  border: 1px solid rgba(235, 101, 25, 0.14);
  border-radius: 12px;
}
.lp-phase-icon svg { width: 30px; height: 30px; display: block; }

/* ---------- 納品物：写真＋ドキュメントカード ---------- */
.lp-deliver-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.lp-deliver-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(23, 23, 26, 0.16);
}
.lp-deliver-photo img {
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  object-fit: cover;
  display: block;
}
.lp-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.lp-doc {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FAF8F5;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-ink);
}
.lp-doc-icon {
  display: block;
  width: 32px;
  flex-shrink: 0;
}
.lp-doc-icon svg { width: 100%; height: auto; display: block; }
.lp-deliver-note {
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--c-gray);
}

/* ---------- 選ばれる理由 ---------- */
.lp-why .value-card p + p { margin-top: 14px; }

/* ---------- FAQ・クロージング ---------- */
.lp-faq-wrap { max-width: 860px; }

.lp-close { text-align: center; }
.lp-close .section-eyebrow { justify-content: center; }
.lp-close .section-title { margin-bottom: 30px; }
.lp-close-lead {
  max-width: 720px;
  margin: 0 auto 14px;
  font-size: 17px;
  line-height: 2;
  color: var(--c-ink-2);
}
.lp-close .cta-inline { justify-content: center; margin-top: 40px; }

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .lp-title .line.accent { padding-left: 0; }
  .lp-title .line.accent::before { content: none; }
  .lp-badges { gap: 8px; margin-top: 18px; }
  .lp-badges li { font-size: 12.5px; padding: 8px 16px 8px 36px; }
  .lp-voice-list { gap: 16px; margin-bottom: 40px; }
  .lp-voice { max-width: 100%; gap: 10px; }
  .lp-voice-icon { width: 46px; height: 46px; }
  .lp-voice-icon svg { width: 32px; height: 32px; margin-top: 7px; }
  .lp-voice-body { font-size: 15px; padding: 13px 18px; }
  .lp-reason-grid { grid-template-columns: 1fr; gap: 12px; }
  .lp-reason-card { padding: 20px 20px; gap: 14px; }
  .lp-reason-card p { font-size: 15.5px; }
  .lp-reason-x { width: 30px; height: 30px; font-size: 16px; }
  .lp-phase-grid { grid-template-columns: 1fr; gap: 26px; }
  .lp-phase:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -25px;
    transform: translateX(-50%);
  }
  .lp-deliver-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-deliver-photo img { height: 200px; }
  .lp-doc-grid { grid-template-columns: 1fr; gap: 10px; }
  .lp-close .cta-inline .btn { width: 100%; }
}

/* ==========================================================
   THEME POP — トップページ用テーマ（webtan-sub 参照）
   明るいオレンジの単色帯（ヒーロー下CTA）× 白い角丸カード ×
   黄色マーカー強調 × センター揃えの太いゴシック見出し。
   body.theme-pop でスコープしているため他ページには影響しない。
   メインビジュアルの背景アニメーション（bgCanvas）は要素として維持。
   ========================================================== */
body.theme-pop {
  --font-serif: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --pop-orange: #ff7a00;
  --pop-orange-deep: #f25c00;
  --pop-orange-bright: #ff9e2c;
  --pop-yellow: #ffd933;
  --pop-tint: #fff4e6;
  --pop-ink: #221d18;
  --pop-line: 1.5px solid #221d18;
  --grad-orange: linear-gradient(120deg, #ffa726 0%, #ff7a00 55%, #ff5f00 100%);
  --c-orange: var(--pop-orange);
  --c-orange-bright: var(--pop-orange-bright);
  --c-orange-deep: var(--pop-orange-deep);
  color: var(--pop-ink);
  line-height: 1.9;
}

/* 黄色ベタ塗りマーカー（参照サイトのハイライト表現） */
.theme-pop .marker {
  background: linear-gradient(transparent 8%, #ffe45e 8%, #ffe45e 92%, transparent 92%);
  padding: 0 2px;
  font-weight: 700;
}

/* ---------- ヘッダー（常時ホワイト） ---------- */
.theme-pop .site-header,
.theme-pop .site-header.scrolled {
  background: #fff;
  box-shadow: 0 1px 0 var(--c-line);
  backdrop-filter: none;
}
.theme-pop .header-cta .btn-primary {
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.36);
}

/* ---------- ボタン：大きめピル・強い色 ---------- */
.theme-pop .btn { font-weight: 800; }
.theme-pop .btn-primary {
  background: var(--grad-orange);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.4);
}
.theme-pop .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 122, 0, 0.52);
}
.theme-pop .btn-lg { padding: 18px 38px; font-size: 16px; border-radius: 999px; }
.theme-pop .btn-xl { padding: 20px 48px; font-size: 17px; }
/* 白地×黒線のピルボタン（参照サイトの「すべて開く」等） */
.theme-pop .btn-outline {
  border: 2px solid var(--pop-ink);
  color: var(--pop-ink);
  background: #fff;
  box-shadow: 3px 3px 0 rgba(34, 29, 24, 0.16);
}
.theme-pop .btn-outline .btn-arrow {
  background: var(--pop-ink);
  color: #fff;
}
.theme-pop .btn-outline:hover {
  background: var(--pop-ink);
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(255, 122, 0, 0.35);
}
.theme-pop .btn-outline:hover .btn-arrow { background: var(--pop-orange); }

/* ---------- 見出し：センター揃え＋ピル型ラベル ---------- */
.theme-pop .section-eyebrow {
  font-family: var(--font-sans);
  justify-content: center;
  width: fit-content;
  margin: 0 auto 20px;
  padding: 7px 22px;
  background: var(--pop-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  border-radius: 999px;
}
.theme-pop .section-eyebrow::before { display: none; }
.theme-pop .section-eyebrow.light {
  background: #fff;
  color: var(--pop-orange-deep);
}
.theme-pop .section-title {
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-shadow: none;
}
.theme-pop .panel.tint { background: var(--pop-tint); }

/* ---------- ヒーロー（背景アニメーションは維持・文字周りのみ強調） ---------- */
.theme-pop .hero-title {
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.45;
  font-size: clamp(36px, 4.8vw, 62px);
}
.theme-pop .hero-title .accent { color: var(--pop-orange); }
.theme-pop .hero-lead { font-size: 15.5px; }
.theme-pop .hero-actions .btn-ghost {
  border: 2px solid var(--pop-ink);
  background: #fff;
  font-weight: 800;
  box-shadow: 3px 3px 0 rgba(34, 29, 24, 0.16);
}
.theme-pop .hero-actions .btn-ghost:hover {
  border-color: var(--pop-orange);
  color: var(--pop-orange-deep);
}
.theme-pop .hero-actions .btn-primary { box-shadow: 3px 3px 0 rgba(34, 29, 24, 0.22), 0 8px 24px rgba(255, 122, 0, 0.3); }
.theme-pop .ai-window { border-radius: 14px; border: var(--pop-line); }

/* ---------- 課題：白い角丸カードのグリッド ---------- */
.theme-pop .problem-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.theme-pop .problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px;
  border: var(--pop-line);
  border-top: var(--pop-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  font-weight: 700;
  font-size: 15.5px;
}
.theme-pop .problem-item::before { display: none; }
.theme-pop .p-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  -webkit-text-stroke: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.theme-pop .problem-note {
  max-width: none;
  text-align: center;
}
.theme-pop .problem-note .strong { font-size: 19px; }

/* ---------- 前提：センター寄せ ---------- */
.theme-pop .behavior .prose,
.theme-pop .honesty .prose {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- ビジョン：＼ ／ の飾り（参照サイトの「＼丸投げOK／」表現） ---------- */
.theme-pop .vision-copy { font-weight: 900; }
.theme-pop .vision-copy::before,
.theme-pop .vision-copy::after {
  font-weight: 900;
  color: var(--pop-orange);
  font-size: 0.8em;
  vertical-align: 0.08em;
}
.theme-pop .vision-copy::before { content: "＼ "; margin-right: 0.2em; }
.theme-pop .vision-copy::after { content: " ／"; margin-left: 0.2em; }

/* ---------- 設計方針：POINTカード ---------- */
.theme-pop .approach-grid { counter-reset: pop-point; gap: 24px; }
.theme-pop .approach-card {
  counter-increment: pop-point;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
  padding: 0 30px 38px;
  text-align: center;
  overflow: hidden;
}
.theme-pop .approach-illust {
  background: var(--pop-tint);
  border-radius: 0;
  border-bottom: var(--pop-line);
  margin: 0 -30px 24px;
  height: 140px;
}
.theme-pop .approach-card .card-head::before {
  content: "POINT." counter(pop-point);
  display: inline-block;
  padding: 4px 16px;
  margin-bottom: 14px;
  background: var(--pop-orange);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-radius: 4px;
}
.theme-pop .approach-card h3 { font-size: 22px; font-weight: 900; }
.theme-pop .approach-card p { text-align: left; font-size: 14px; }

/* ---------- サービス：角丸カード行 ---------- */
.theme-pop .service-list { gap: 20px; }
.theme-pop .service-card {
  grid-template-columns: 56px 210px 1fr 40px;
  border: var(--pop-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
  padding: 34px 30px;
}
.theme-pop .service-card:last-of-type { border-bottom: var(--pop-line); }
.theme-pop .service-card::before { display: none; }
.theme-pop .service-card:hover {
  padding-left: 30px;
  background: #fffdf9;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(255, 122, 0, 0.3);
}
.theme-pop .service-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15px;
}
.theme-pop .service-body h3 { font-weight: 900; }
.theme-pop .service-illust {
  border: var(--pop-line);
  background: var(--pop-tint);
}

/* ---------- 大切にすること ---------- */
.theme-pop .value-photo::before { display: none; }
.theme-pop .value-photo img { border: var(--pop-line); }
.theme-pop .value-card {
  border: var(--pop-line);
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.12);
}
.theme-pop .v-tate { display: none; }
.theme-pop .v-num {
  color: var(--pop-orange);
  -webkit-text-stroke: 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 72px;
  text-shadow: 0 4px 18px rgba(255, 122, 0, 0.25);
}
.theme-pop .value-card h3 { font-weight: 900; }

/* ---------- 支援の流れ：明るい帯×白カード ---------- */
.theme-pop .flow.panel { background: var(--pop-tint); }
.theme-pop .flow .section-title { color: var(--pop-ink); }
.theme-pop .flow .section-eyebrow { color: #fff; }
.theme-pop .flow-step {
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.12);
  text-align: center;
}
.theme-pop .flow-icon {
  margin: 0 auto 16px;
  background: var(--pop-tint);
  border: var(--pop-line);
  border-radius: 50%;
}
.theme-pop .flow .photo-banner img { border-radius: 18px; }
.theme-pop .flow .photo-banner {
  border: var(--pop-line);
  border-radius: 18px;
}
.theme-pop .flow-num {
  display: inline-block;
  padding: 3px 12px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.theme-pop .flow-step:not(:last-child)::after { color: var(--pop-orange); }
.theme-pop .flow .photo-banner { box-shadow: 0 16px 40px rgba(255, 122, 0, 0.14); }

/* ---------- 私たちの考え ---------- */
.theme-pop .honesty { background: #fff; text-align: center; }
.theme-pop .honesty .prose { text-align: left; }

/* ---------- 実績 ---------- */
.theme-pop .work-card {
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.12);
}
.theme-pop .work-shot { border-bottom: var(--pop-line); }
.theme-pop .work-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
}
.theme-pop .works-photo {
  border: var(--pop-line);
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.12);
}

/* ---------- CTA：オレンジ単色のフルワイド帯 ---------- */
.theme-pop .top-contact {
  background: linear-gradient(135deg, #ff8a1e 0%, #ff7a00 60%, #ff6300 100%);
  color: #fff;
  padding: 110px 0 120px;
  text-align: center;
}
.theme-pop .top-contact .section-eyebrow { margin-bottom: 24px; }
.theme-pop .cta-title {
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.theme-pop .cta-title em {
  font-style: normal;
  color: var(--pop-yellow);
}
.theme-pop .cta-lead {
  color: rgba(255, 255, 255, 0.94);
  max-width: 760px;
  margin: 0 auto 44px;
  font-size: 15.5px;
}
.theme-pop .cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.theme-pop .top-contact .btn-primary {
  background: #fff;
  color: var(--pop-orange-deep);
  border: 2px solid var(--pop-ink);
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.35);
}
.theme-pop .top-contact .btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.4);
}
.theme-pop .top-contact .btn-primary .btn-arrow {
  background: rgba(255, 122, 0, 0.14);
  color: var(--pop-orange-deep);
}
.theme-pop .top-contact .btn-ghost-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 800;
}
.theme-pop .top-contact .btn-ghost-light:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- フッター ---------- */
.theme-pop .site-footer { position: relative; z-index: 1; }

/* ---------- SP調整 ---------- */
@media (max-width: 768px) {
  .theme-pop .hero-title { font-size: clamp(30px, 8vw, 42px); }
  .theme-pop .problem-list { grid-template-columns: 1fr; gap: 12px; }
  .theme-pop .problem-item { padding: 18px 18px; font-size: 14.5px; }
  .theme-pop .p-num { width: 38px; height: 38px; font-size: 13.5px; }
  .theme-pop .problem-note { text-align: left; }
  .theme-pop .problem-note .strong { font-size: 17px; }
  .theme-pop .approach-card { padding: 0 22px 30px; }
  .theme-pop .approach-illust { margin: 0 -22px 20px; }
  .theme-pop .service-card { padding: 24px 20px; }
  .theme-pop .service-card:hover { padding-left: 20px; }
  .theme-pop .top-contact { padding: 80px 0 88px; }
  .theme-pop .cta-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .hero-lead, .hero-actions, .hero-visual, .ai-a { opacity: 1 !important; transform: none !important; }
  .bg-stage { display: none; }
}

/* ==========================================================
   THEME POP — 下層LPページ（.theme-pop.lp-pop）
   トップページと同じデザイン言語（白カード×1.5px線×
   ハードシャドウ×黄マーカー×オレンジ帯）で下層をLP化。
   クラスは lpp- 接頭辞。他ページには影響しない。
   ========================================================== */
body.lp-pop { background: #fff; }
.lp-pop main { z-index: 1; position: relative; }

/* ---------- LPヒーロー ---------- */
.lpp-hero {
  padding: calc(var(--header-h) + 48px) 0 0;
  background:
    radial-gradient(rgba(255, 122, 0, 0.1) 1.5px, transparent 1.6px),
    linear-gradient(180deg, #fff7ec 0%, #fff4e6 100%);
  background-size: 22px 22px, 100% 100%;
  text-align: center;
  overflow: hidden;
}
.lpp-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  font-size: 12px;
  color: rgba(34, 29, 24, 0.55);
  margin-bottom: 40px;
}
.lpp-crumb a { transition: color 0.2s ease; }
.lpp-crumb a:hover { color: var(--pop-orange-deep); text-decoration: underline; }
.lpp-crumb .sep { opacity: 0.5; }
.lpp-hero-decor {
  font-weight: 900;
  font-size: clamp(15px, 1.9vw, 20px);
  color: var(--pop-orange-deep);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.lpp-hero-title {
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--pop-ink);
  margin-bottom: 26px;
}
.lpp-hero-title .accent { color: var(--pop-orange); }
.lpp-hero-title .thin { letter-spacing: -0.1em; }
.lpp-hero-lead {
  max-width: 860px;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 2;
  text-align: left;
}
.lpp-badges {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 36px;
}
.lpp-badges li {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--pop-yellow);
  border: var(--pop-line);
  box-shadow: 3px 3px 0 rgba(34, 29, 24, 0.16);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.lpp-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 40px;
}
.lpp-hero-photo {
  max-width: 880px;
  margin: 40px auto -72px;
  border: var(--pop-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.14);
}
.lpp-hero-photo img {
  width: 100%;
  height: clamp(200px, 26vw, 300px);
  object-fit: cover;
}
.lpp-hero + .section { padding-top: 168px; }

/* ---------- 共通：セクション内ノート（センター寄せまとめ文） ---------- */
.lpp-sec .section-title { margin-bottom: 48px; }
.lpp-note {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
  line-height: 2;
}
.lpp-note p + p { margin-top: 8px; }
.lpp-note .strong { font-weight: 900; font-size: 19px; }

/* ---------- 課題：✓カード ---------- */
.lpp-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.lpp-check {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  text-align: left;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.8;
}
.lpp-check.wide { grid-column: 1 / -1; justify-content: center; }
.lpp-check-ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

/* ---------- 原因：理由カード ---------- */
.lpp-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.lpp-reason {
  position: relative;
  overflow: hidden;
  padding: 40px 42px 42px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  line-height: 2;
  font-size: 17.5px;
}
.lpp-reason p { position: relative; }
.lpp-reason-num {
  position: absolute;
  top: 8px;
  right: 20px;
  font-weight: 900;
  font-size: 88px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 122, 0, 0.15);
  pointer-events: none;
}
.lpp-reason-chip {
  position: relative;
  display: inline-block;
  padding: 6px 20px;
  margin-bottom: 16px;
  background: var(--pop-ink);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.lpp-reason strong { color: var(--pop-orange-deep); font-weight: 900; font-size: 1.12em; }
.lpp-quotes { margin-top: 52px; text-align: center; }
.lpp-quote-line {
  font-weight: 800;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 2.3;
}
.lpp-quotes-close {
  margin-top: 18px;
  font-weight: 900;
  font-size: clamp(17px, 2.1vw, 22px);
}

/* ---------- 原因：ダークバンド ---------- */
.lpp-dark { background: var(--pop-ink); color: #fff; }
.lpp-dark .section-title { color: #fff; text-shadow: none; }
.lpp-dark .section-title em { color: var(--pop-orange-bright); }
.lpp-dark .lpp-reason { color: var(--pop-ink); box-shadow: 4px 4px 0 rgba(255, 122, 0, 0.45); }
.lpp-dark .lpp-reason-chip { background: var(--pop-orange); }
.lpp-dark .lpp-quotes-close { color: #fff; }
.lpp-dark .marker { color: var(--pop-ink); }

/* ---------- 中間CTA帯 ---------- */
.lpp-midcta {
  background: linear-gradient(135deg, #ff8a1e 0%, #ff7a00 60%, #ff6300 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0 72px;
}
.lpp-midcta-decor {
  font-weight: 900;
  font-size: clamp(14px, 1.8vw, 18px);
  margin-bottom: 10px;
  color: #fff;
}
.lpp-midcta-title {
  font-weight: 900;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}
.lpp-midcta-title em { font-style: normal; color: var(--pop-yellow); }
.btn-cta-white {
  background: #fff;
  color: var(--pop-orange-deep);
  border: 2px solid var(--pop-ink);
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.35);
  font-weight: 800;
}
.btn-cta-white:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.4);
}
.btn-cta-white .btn-arrow {
  background: rgba(255, 122, 0, 0.14);
  color: var(--pop-orange-deep);
}

/* ---------- 支援内容：番号カード ---------- */
.lpp-num-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.lpp-num-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  font-size: 15.5px;
  line-height: 1.8;
}
.lpp-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.lpp-num-card strong { font-weight: 900; }

/* ---------- 納品物：ドキュメントカード ---------- */
.lpp-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.lpp-doc {
  padding: 30px 22px 26px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  text-align: center;
}
.lpp-doc-ico {
  display: inline-flex;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  padding: 10px;
  background: var(--pop-tint);
  border: var(--pop-line);
  border-radius: 50%;
}
.lpp-doc-ico svg { width: 100%; height: 100%; }
.lpp-doc p { font-weight: 800; font-size: 15px; line-height: 1.7; }

/* ---------- 選ばれる理由：ステートメント ---------- */
.lpp-statement {
  text-align: center;
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: -8px 0 34px;
}
.lpp-statement em { font-style: normal; color: var(--pop-orange); }
.lpp-statement::before { content: "＼ "; color: var(--pop-orange); }
.lpp-statement::after { content: " ／"; color: var(--pop-orange); }
.lpp-promise {
  max-width: 820px;
  margin: 0 auto;
  line-height: 2.1;
  font-size: 16px;
}
.lpp-promise p + p { margin-top: 16px; }

/* ---------- FAQ ---------- */
.lpp-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.lpp-faq {
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  overflow: hidden;
}
.lpp-faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}
.lpp-faq summary::-webkit-details-marker { display: none; }
.lpp-faq summary:hover { background: #fffdf6; }
.lpp-q, .lpp-a {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 16px;
}
.lpp-q { background: var(--pop-orange); color: #fff; }
.lpp-a { background: var(--pop-yellow); color: var(--pop-ink); }
.lpp-faq-toggle { margin-left: auto; position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.lpp-faq-toggle::before, .lpp-faq-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--pop-orange);
  transition: transform 0.25s ease;
}
.lpp-faq-toggle::before { width: 18px; height: 2.5px; }
.lpp-faq-toggle::after { width: 2.5px; height: 18px; }
.lpp-faq[open] .lpp-faq-toggle::after { transform: rotate(90deg); }
.lpp-faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 4px 24px 24px;
  line-height: 2;
  font-size: 15px;
}
.lpp-faq-a p { padding-top: 6px; }

/* ---------- 関連ページ（次に読むカード） ---------- */
.lpp-related { margin-top: 72px; text-align: center; }
.lpp-related-label {
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 25px);
  letter-spacing: 0.05em;
  color: var(--pop-ink);
  margin-bottom: 26px;
}
.lpp-related-label::before { content: "＼ "; color: var(--pop-orange); }
.lpp-related-label::after { content: " ／"; color: var(--pop-orange); }
.lpp-related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.lpp-related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 28px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.lpp-related-links a::after {
  content: "→";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-size: 15px;
  transition: transform 0.2s ease;
}
.lpp-related-links a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
  color: var(--pop-orange-deep);
}
.lpp-related-links a:hover::after { transform: translateX(4px); }

/* ---------- 追従CTA ---------- */
.lpp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lpp-float-btn {
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 800;
}
.lpp-float .btn-primary { box-shadow: 3px 3px 0 rgba(34, 29, 24, 0.25), 0 8px 24px rgba(255, 122, 0, 0.35); }
.lpp-float-sub {
  background: #fff;
  border: 2px solid var(--pop-ink);
  box-shadow: 3px 3px 0 rgba(34, 29, 24, 0.16);
}
.lpp-float-sub:hover { border-color: var(--pop-orange); color: var(--pop-orange-deep); }

/* ---------- LP：SP調整 ---------- */
@media (max-width: 768px) {
  .lpp-hero { padding-top: calc(var(--header-h) + 28px); }
  .lpp-crumb { margin-bottom: 24px; }
  .lpp-hero-lead { font-size: 14.5px; }
  .lpp-badges { gap: 12px; }
  .lpp-badges li { width: 96px; height: 96px; font-size: 12.5px; }
  .lpp-hero-actions .btn { width: 100%; }
  .lpp-hero-photo { margin-bottom: -56px; }
  .lpp-hero + .section { padding-top: 128px; }
  .lpp-check-grid, .lpp-reason-grid, .lpp-num-grid { grid-template-columns: 1fr; gap: 12px; }
  .lpp-check, .lpp-num-card { padding: 18px 18px; font-size: 14.5px; }
  .lpp-check.wide { justify-content: flex-start; }
  .lpp-reason { padding: 26px 24px 28px; font-size: 15.5px; }
  .lpp-reason-num { font-size: 60px; right: 14px; }
  .lpp-doc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lpp-doc { padding: 22px 14px 20px; }
  .lpp-doc p { font-size: 13.5px; }
  .lpp-note { text-align: left; }
  .lpp-note .strong { font-size: 16.5px; }
  .lpp-quote-line { font-size: 14.5px; line-height: 2.2; }
  .lpp-faq summary { padding: 16px 16px; font-size: 14.5px; gap: 12px; }
  .lpp-faq-a { padding: 2px 16px 18px; gap: 12px; font-size: 14px; }
  .lpp-q, .lpp-a { width: 32px; height: 32px; font-size: 14px; }
  .lpp-statement br.sp-only { display: block; }
  .lpp-promise { font-size: 14.5px; }
  .lpp-related { margin-top: 48px; }
  .lpp-related-links { grid-template-columns: 1fr; gap: 12px; }
  .lpp-related-links a { font-size: 14.5px; padding: 18px 18px; }
  .lpp-related-links a::after { width: 32px; height: 32px; font-size: 13px; }
  .lpp-float {
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1.5px solid rgba(34, 29, 24, 0.15);
    padding: 10px 12px;
  }
  .lpp-float-btn { flex: 1; border-radius: 999px; padding: 13px 10px; font-size: 13.5px; white-space: nowrap; }
  .lpp-float-btn + .lpp-float-btn { margin-left: 10px; }
  body.lp-pop { padding-bottom: 68px; }
  .pc-only { display: none; }
}

/* ==========================================================
   THEME POP — 下層LP 追加コンポーネント（生成ページ用）
   ========================================================== */
/* ダーク帯の補足文 */
.lpp-dark .lpp-note { color: rgba(255, 255, 255, 0.92); }

/* 改善する5つの層：番号付き縦カード */
.lpp-layer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
.lpp-layer {
  padding: 28px 26px 30px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
}
.lpp-layer-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.lpp-layer h3 { font-size: 19px; font-weight: 900; margin-bottom: 10px; }
.lpp-layer p { font-size: 14.5px; line-height: 1.9; }

/* 課題一覧：矢印リンクカード */
.lpp-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.lpp-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  font-weight: 800;
  font-size: 16.5px;
  line-height: 1.7;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.lpp-link-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
  color: var(--pop-orange-deep);
}
.lpp-link-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-size: 15px;
  transition: transform 0.2s ease;
}
.lpp-link-card:hover .lpp-link-arrow { transform: translateX(4px); }

/* サービスの選び方：ニーズ別カード */
.lpp-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
.lpp-choose {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lpp-choose:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
}
.lpp-choose h3 { font-size: 19px; font-weight: 900; margin-bottom: 12px; color: var(--pop-orange-deep); }
.lpp-choose p { font-size: 14.5px; line-height: 1.9; }
.lpp-choose-more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 800;
  font-size: 14px;
  color: var(--pop-orange-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lpp-choose:hover .lpp-choose-more span { transform: translateX(4px); }
.lpp-choose-more span { transition: transform 0.2s ease; }

/* 3つのサービス：横型カード */
.lpp-svc-list { display: grid; gap: 22px; max-width: 1020px; margin: 0 auto; }
.lpp-svc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  padding: 38px 40px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
}
.lpp-svc-main .lpp-num { margin-bottom: 14px; }
.lpp-svc-main h3 { font-size: 22px; font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.lpp-svc-main p { font-size: 15px; line-height: 1.95; margin-bottom: 22px; }
.lpp-svc-items {
  align-self: center;
  background: var(--pop-tint);
  border: 1.5px solid rgba(34, 29, 24, 0.15);
  border-radius: 12px;
  padding: 22px 24px;
  font-size: 13.5px;
  line-height: 2;
}
.lpp-svc-items .cap {
  font-weight: 900;
  font-size: 14px;
  color: var(--pop-orange-deep);
  margin-bottom: 6px;
}
.lpp-svc-items li:not(.cap) { position: relative; padding-left: 20px; font-weight: 500; }
.lpp-svc-items li:not(.cap)::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pop-orange);
  font-weight: 900;
}

/* flowページ：STEPチップ＋本文 */
.lpp-band-chip {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 6px 22px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.lpp-step-body {
  max-width: 820px;
  margin: 0 auto;
  line-height: 2.05;
  font-size: 16px;
}
.lpp-step-body > p { margin-bottom: 14px; }
.lpp-list-cap { font-weight: 900; margin-bottom: 10px; }
.lpp-mini-list {
  margin: 6px 0 18px;
  display: grid;
  gap: 8px;
}
.lpp-mini-list li {
  position: relative;
  padding: 10px 16px 10px 42px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.16);
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
}
.tint .lpp-mini-list li, .lpp-sec.tint .lpp-mini-list li { background: #fff; }
.lpp-sec:not(.tint) .lpp-mini-list li { background: #fffaf3; }
.lpp-mini-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--pop-orange);
  font-weight: 900;
}
.lpp-hint {
  margin: 8px 0 16px;
  padding: 18px 22px;
  background: #fffbe8;
  border: 1.5px solid rgba(34, 29, 24, 0.2);
  border-radius: 12px;
  font-size: 14.5px;
}
.lpp-hint strong { color: var(--pop-orange-deep); }

/* 生成ページ：カード無し帯の本文（左寄せ読みモード） */
.lpp-note.lead {
  margin-top: 0;
  text-align: left;
  font-size: 16px;
  line-height: 2.05;
}
.lpp-note.lead p + p { margin-top: 14px; }

/* ---------- 追加コンポーネント SP ---------- */
@media (max-width: 768px) {
  .lpp-layer-grid, .lpp-choose-grid { grid-template-columns: 1fr; gap: 12px; }
  .lpp-link-grid { grid-template-columns: 1fr; gap: 12px; }
  .lpp-link-card { padding: 18px 18px; font-size: 14.5px; }
  .lpp-link-arrow { width: 32px; height: 32px; font-size: 13px; }
  .lpp-svc { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .lpp-svc-main h3 { font-size: 18.5px; }
  .lpp-step-body { font-size: 14.5px; }
  .lpp-mini-list li { font-size: 13.5px; padding: 9px 12px 9px 36px; }
  .lpp-mini-list li::before { left: 12px; }
  .lpp-band-chip { font-size: 12px; }
}

/* ==========================================================
   THEME POP — ナレッジ（読み物レイアウト）
   LP要素なし。760pxの1カラムで読みやすさ優先。
   ========================================================== */
body.kn-page { background: #fff; }
.kn-page main { position: relative; z-index: 1; }

/* ---------- 記事ヒーロー（コンパクト） ---------- */
.kn-hero {
  padding: calc(var(--header-h) + 40px) 0 48px;
  background:
    radial-gradient(rgba(255, 122, 0, 0.1) 1.5px, transparent 1.6px),
    linear-gradient(180deg, #fff7ec 0%, #fff4e6 100%);
  background-size: 22px 22px, 100% 100%;
}
.kn-hero .lpp-crumb { margin-bottom: 28px; }
.kn-cat-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.kn-cat-chip > span:first-child {
  display: inline-block;
  padding: 5px 18px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.kn-date { font-size: 12.5px; color: rgba(34, 29, 24, 0.55); font-weight: 700; }
.kn-title {
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.kn-lead { max-width: 860px; font-size: 15.5px; line-height: 2; }
.kn-lead p + p { margin-top: 10px; }

/* ---------- 記事本文 ---------- */
.kn-body-band { padding: 64px 0 96px; }
.kn-article { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.kn-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  margin-bottom: 40px;
  background: var(--pop-tint);
  border: 1.5px solid rgba(34, 29, 24, 0.15);
  border-radius: 12px;
}
.kn-toc-label {
  font-weight: 900;
  font-size: 13px;
  color: var(--pop-orange-deep);
  margin-right: 6px;
}
.kn-toc a {
  padding: 5px 14px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.2);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.kn-toc a:hover { border-color: var(--pop-orange); color: var(--pop-orange-deep); }

.kn-h2 {
  position: relative;
  margin: 56px 0 24px;
  padding-left: 18px;
  font-weight: 900;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.kn-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 8px;
  height: 1.1em;
  background: var(--pop-orange);
  border-radius: 3px;
}
.kn-p { font-size: 15.5px; line-height: 2.05; margin-top: 16px; }

/* 結論・まとめボックス */
.kn-conclusion, .kn-summary {
  position: relative;
  padding: 30px 30px 28px;
  border: 2px solid var(--pop-ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(255, 122, 0, 0.25);
  font-size: 15.5px;
  line-height: 2.05;
  margin-bottom: 8px;
}
.kn-summary { margin-top: 56px; background: var(--pop-tint); }
.kn-conclusion p + p, .kn-summary p + p { margin-top: 12px; }
.kn-chip {
  position: absolute;
  top: -16px;
  left: 22px;
  padding: 5px 20px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

/* ポイントカード */
.kn-point-grid { display: grid; gap: 16px; }
.kn-point {
  padding: 24px 26px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
}
.kn-point-num {
  display: inline-block;
  padding: 3px 14px;
  background: var(--pop-yellow);
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.kn-point h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.kn-point p { font-size: 14.5px; line-height: 1.95; }

/* 実施手順 */
.kn-steps { display: grid; gap: 10px; }
.kn-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #fffaf3;
  border: 1.5px solid rgba(34, 29, 24, 0.15);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.9;
}
.kn-step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-top: 2px;
}
.kn-steps p { font-weight: 700; }

/* よくある失敗 */
.kn-fails { display: grid; gap: 10px; }
.kn-fails li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.15);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.9;
}
.kn-x {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pop-ink);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  margin-top: 2px;
}
.kn-fails p { font-weight: 700; }

/* チェックリスト */
.kn-checks { display: grid; gap: 10px; }
.kn-checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #fffbe8;
  border: 1.5px solid rgba(34, 29, 24, 0.18);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}
.kn-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 5px;
  border: 2.5px solid var(--pop-orange);
  border-radius: 6px;
  background: #fff;
}

/* FAQ（lpp-faqを流用、幅は記事内） */
.kn-faq-list { display: grid; gap: 12px; }

/* 記事内CTAカード */
.kn-cta {
  margin-top: 64px;
  padding: 36px 32px;
  text-align: center;
  background: var(--pop-tint);
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.kn-cta-title { font-weight: 900; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.6; margin-bottom: 10px; }
.kn-cta-lead { font-size: 14px; line-height: 1.95; max-width: 560px; margin: 0 auto 22px; }
.kn-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 18px; }

/* 参考資料 */
.kn-refs { display: grid; gap: 8px; font-size: 14.5px; }
.kn-refs li { position: relative; padding-left: 20px; }
.kn-refs li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--pop-orange);
  font-weight: 900;
}
.kn-refs a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.kn-refs a:hover { color: var(--pop-orange-deep); }

/* 関連記事・一覧へ */
.kn-related .section-title { margin-bottom: 40px; }
.kn-back { text-align: center; margin-top: 36px; }

/* ---------- ハブ ---------- */
.kn-hub-hero { padding-bottom: 56px; }
.kn-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.kn-anchor-nav a {
  padding: 9px 20px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.3);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.kn-anchor-nav a::after { content: " ↓"; color: var(--pop-orange); font-size: 11px; }
.kn-anchor-nav a:hover {
  border-color: var(--pop-orange);
  color: var(--pop-orange-deep);
  transform: translateY(-2px);
}
.kn-cat { scroll-margin-top: calc(var(--header-h) + 16px); }
.kn-cat-desc {
  max-width: 760px;
  margin: -20px auto 36px;
  text-align: center;
  font-size: 15px;
  line-height: 2;
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .kn-hero { padding: calc(var(--header-h) + 24px) 0 36px; }
  .kn-title { font-size: clamp(22px, 6.4vw, 28px); }
  .kn-lead { font-size: 14px; }
  .kn-body-band { padding: 44px 0 72px; }
  .kn-article { padding: 0 20px; }
  .kn-h2 { margin: 44px 0 18px; }
  .kn-conclusion, .kn-summary { padding: 26px 20px 22px; font-size: 14px; }
  .kn-point { padding: 20px 18px; }
  .kn-steps li, .kn-fails li, .kn-checks li { font-size: 13.5px; padding: 12px 14px; }
  .kn-step-num, .kn-x { width: 28px; height: 28px; font-size: 13px; }
  .kn-cta { padding: 28px 20px; }
  .kn-cta-actions .btn { width: 100%; }
  .kn-cat-desc { text-align: left; margin-top: -12px; }
  .kn-anchor-nav a { font-size: 12px; padding: 8px 14px; }
}

/* ---------- フッター：便利ツール・関連サイト ---------- */
.footer-extra {
  margin-top: 44px;
  padding: 34px 32px 16px;
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.19) 0%, rgba(255, 122, 0, 0.09) 100%);
  border: 1.5px solid rgba(255, 140, 46, 0.42);
  border-radius: 18px;
}
/* 外部リンク帯の中ではピルを暗くして浮かせる */
.footer-extra .footer-tags a {
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.24);
}
.footer-extra .footer-tags a:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
}
.footer-extra .footer-extra-note { color: rgba(255, 255, 255, 0.72); }
.footer-extra-group { margin-bottom: 30px; }
.footer-extra .footer-head { border-bottom-color: rgba(255, 255, 255, 0.24); }
.footer-extra .footer-head { max-width: 260px; }
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
}
.footer-tags a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.footer-tags a::after {
  content: "↗";
  font-size: 10px;
  opacity: 0.6;
}
.footer-tags a:hover {
  color: #fff;
  background: rgba(255, 140, 46, 0.18);
  border-color: var(--c-orange-bright);
}
.footer-extra-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .footer-tags a { font-size: 12.5px; padding: 6px 12px; }
}

/* ---------- プライバシーポリシー ---------- */
.pv-dl { margin-top: 4px; display: grid; gap: 12px; }
.pv-dl dt {
  font-weight: 900;
  font-size: 15.5px;
  padding-left: 14px;
  position: relative;
}
.pv-dl dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--pop-orange);
}
.pv-dl dd { font-size: 15px; line-height: 1.95; padding-left: 14px; margin-bottom: 4px; }
.pv-list { margin-top: 14px; display: grid; gap: 8px; }
.pv-list li {
  position: relative;
  padding: 10px 16px 10px 40px;
  background: #fffaf3;
  border: 1.5px solid rgba(34, 29, 24, 0.14);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
}
.pv-list li::before {
  content: "・";
  position: absolute;
  left: 16px;
  color: var(--pop-orange);
  font-weight: 900;
}
.pv-note {
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--pop-tint);
  border: 1.5px solid rgba(34, 29, 24, 0.16);
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 2;
}
.pv-note-head { font-weight: 900; color: var(--pop-orange-deep); margin-bottom: 6px; }
.pv-address {
  margin-top: 14px;
  padding: 20px 24px;
  border: var(--pop-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
  font-size: 15px;
  line-height: 2;
}
.pv-company { font-weight: 900; }
.pv-address a { font-weight: 700; color: var(--pop-orange-deep); }

/* ==========================================================
   THEME POP — 採用情報（/recruit/）
   ========================================================== */
.rc-spec {
  max-width: 860px;
  margin: 0 auto;
  border: var(--pop-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.rc-row { display: grid; grid-template-columns: 220px 1fr; }
.rc-row + .rc-row { border-top: 1.5px solid rgba(34, 29, 24, 0.12); }
.rc-row dt {
  padding: 22px 24px;
  background: var(--pop-tint);
  font-weight: 900;
  font-size: 15px;
  border-right: 1.5px solid rgba(34, 29, 24, 0.12);
}
.rc-row dd { padding: 22px 26px; font-size: 15px; line-height: 2; }
.rc-row dd ul { display: grid; gap: 4px; }
.rc-row dd li { position: relative; padding-left: 18px; }
.rc-row dd li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: var(--pop-orange);
}
.rc-note { font-size: 13px; color: rgba(34, 29, 24, 0.65); }
.theme-pop .form-row label { font-weight: 900; }
.theme-pop .form-row input[type="text"],
.theme-pop .form-row input[type="email"],
.theme-pop .form-row input[type="tel"],
.theme-pop .form-row select,
.theme-pop .form-row textarea,
.theme-pop .form-row input[type="search"] {
  border: 1.5px solid rgba(34, 29, 24, 0.3);
  border-radius: 10px;
  background: #fff;
}
.theme-pop .form-row input:focus,
.theme-pop .form-row select:focus,
.theme-pop .form-row textarea:focus {
  border-color: var(--pop-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}
.rc-file {
  display: block;
  padding: 14px 16px;
  border: 1.5px dashed rgba(34, 29, 24, 0.35);
  border-radius: 10px;
  background: #fffaf3;
  font-size: 14px;
}
.rc-file input { display: block; margin-top: 8px; font-size: 13px; }
.rc-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 40px 44px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.rc-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
}
@media (max-width: 768px) {
  .rc-row { grid-template-columns: 1fr; }
  .rc-row dt { border-right: none; border-bottom: 1.5px solid rgba(34, 29, 24, 0.12); padding: 12px 18px; }
  .rc-row dd { padding: 16px 18px; font-size: 14px; }
  .rc-form-wrap { padding: 26px 18px 30px; }
  .rc-float { right: 12px; bottom: 12px; }
}

/* ==========================================================
   THEME POP — 用語集（/glossary/）
   ========================================================== */
.gl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1020px;
  margin: 0 auto;
}
.gl-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
  font-weight: 800;
  font-size: 15.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.gl-card::after { content: "→"; color: var(--pop-orange); font-weight: 900; }
.gl-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 122, 0, 0.28);
  color: var(--pop-orange-deep);
}
.gl-pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.gl-pager span, .gl-pager a {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 800;
  border: 1.5px solid rgba(34, 29, 24, 0.25);
}
.gl-pager span { background: var(--pop-orange); color: #fff; border-color: var(--pop-orange); }
.gl-pager a:hover { border-color: var(--pop-orange); color: var(--pop-orange-deep); }
@media (max-width: 768px) {
  .gl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gl-card { padding: 14px 16px; font-size: 13.5px; }
}

/* 記事内テーブル（用語集・教科書） */
.kn-table-wrap { overflow-x: auto; margin: 16px 0; }
.kn-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--pop-line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.8;
}
.kn-table th, .kn-table td { padding: 12px 16px; text-align: left; }
.kn-table thead th { background: var(--pop-ink); color: #fff; font-weight: 800; }
.kn-table tbody th { background: var(--pop-tint); font-weight: 900; white-space: nowrap; }
.kn-table tbody tr + tr th, .kn-table tbody tr + tr td { border-top: 1.5px solid rgba(34, 29, 24, 0.12); }
.kn-table tbody td { background: #fff; }

/* ==========================================================
   THEME POP — 教科書（/beginner/）
   ========================================================== */
.bg-lesson-grid { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.bg-lesson {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bg-lesson:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
}
.bg-lesson .lpp-num { margin: 0; }
.bg-lesson h3 { font-size: 17.5px; font-weight: 900; line-height: 1.6; margin-bottom: 4px; }
.bg-lesson p { font-size: 13.5px; line-height: 1.85; color: rgba(34, 29, 24, 0.75); }
.bg-lesson .bg-go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  transition: transform 0.2s ease;
}
.bg-lesson:hover .bg-go { transform: translateX(4px); }
.bg-note-band {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 20px 26px;
  background: #fffbe8;
  border: 1.5px solid rgba(34, 29, 24, 0.2);
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 2;
}
.bg-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.bg-compare-card {
  padding: 30px 28px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.bg-compare-card > h3 {
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--pop-orange);
}
.bg-compare-card p { font-size: 14.5px; line-height: 1.95; margin-bottom: 14px; }
.bg-compare-card h4 { font-size: 15px; font-weight: 900; color: var(--pop-orange-deep); margin: 14px 0 6px; }
@media (max-width: 768px) {
  .bg-lesson { grid-template-columns: 44px 1fr; padding: 18px 18px; }
  .bg-lesson .bg-go { display: none; }
  .bg-compare { grid-template-columns: 1fr; }
}

/* ==========================================================
   THEME POP — コラム再スキン（既存クラスへの上書き）
   ========================================================== */
.theme-pop .column-card {
  border: var(--pop-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
}
.theme-pop a.column-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.theme-pop a.column-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
}
.theme-pop .col-thumb { border-bottom: var(--pop-line); }
.theme-pop .col-cat {
  background: var(--pop-orange);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
}
.theme-pop .col-title { font-family: var(--font-sans); font-weight: 900; }
.theme-pop .side-box {
  border: var(--pop-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
}
.theme-pop .side-title {
  font-family: var(--font-sans);
  font-weight: 900;
}
.theme-pop .side-title::before { background: var(--pop-orange); }
.theme-pop .cat-chip, .theme-pop a.cat-chip {
  border: 1.5px solid rgba(34, 29, 24, 0.25);
  border-radius: 999px;
  font-weight: 700;
}
.theme-pop .pop-num { color: var(--pop-orange); -webkit-text-stroke: 0; font-weight: 900; }
.theme-pop .pagination .page-current {
  background: var(--pop-orange);
  border-color: var(--pop-orange);
  border-radius: 50%;
}
.theme-pop .pagination .page-link { border-radius: 50%; }
.theme-pop .article-quote { border-left: 4px solid var(--pop-orange); background: var(--pop-tint); }
.theme-pop .toc-box {
  background: var(--pop-tint);
  border: 1.5px solid rgba(34, 29, 24, 0.15);
  border-radius: 12px;
}
.theme-pop .toc-title { font-family: var(--font-sans); font-weight: 900; color: var(--pop-orange-deep); }
.theme-pop .article-body h2 {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 900;
  padding-left: 18px;
  border-left: none; /* 旧 .prose h2 のオレンジ縦線と二重になるため打ち消す */
}
.theme-pop .article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 8px;
  height: 1.1em;
  background: var(--pop-orange);
  border-radius: 3px;
}
.theme-pop .article-body h3 { font-family: var(--font-sans); font-weight: 900; }
.theme-pop .share-btn { border-radius: 999px; border: 1.5px solid rgba(34, 29, 24, 0.25); font-weight: 700; }
.theme-pop .share-btn:hover { border-color: var(--pop-orange); color: var(--pop-orange-deep); }
.theme-pop .author-box {
  border: var(--pop-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
}
.theme-pop .link-card {
  border: var(--pop-line);
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
}
.theme-pop .link-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 122, 0, 0.28);
}
.theme-pop .article-eyecatch { border: var(--pop-line); border-radius: 16px; overflow: hidden; }
.theme-pop .block-head h2 { font-family: var(--font-sans); font-weight: 900; }

/* ==========================================================
   THEME POP — 料金・会社情報・専門家・FAQ・診断・問い合わせ
   ========================================================== */
/* 料金カード */
.pr-list { display: grid; gap: 24px; max-width: 1020px; margin: 0 auto; }
.pr-card {
  padding: 38px 40px 40px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
}
.pr-card > h3 { font-size: 21px; font-weight: 900; line-height: 1.5; margin-bottom: 14px; }
.pr-price {
  display: inline-block;
  padding: 10px 24px;
  margin-bottom: 22px;
  background: var(--pop-tint);
  border: 1.5px solid rgba(34, 29, 24, 0.2);
  border-radius: 10px;
  font-weight: 900;
  font-size: 17px;
}
.pr-price em { font-style: normal; color: var(--pop-orange-deep); }
.pr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pr-col-head {
  font-weight: 900;
  font-size: 14.5px;
  color: var(--pop-orange-deep);
  margin-bottom: 10px;
}
.pr-card .lpp-mini-list { margin: 0; }
.pr-vary li::before { content: "◆"; border: none; background: none; color: var(--pop-ink); font-size: 9px; top: 13px; }
.pr-note { margin-top: 16px; font-size: 13.5px; color: rgba(34, 29, 24, 0.7); line-height: 1.9; }

/* 拠点カード */
.co-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
}
.co-office {
  padding: 24px 26px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
  font-size: 14px;
  line-height: 1.95;
}
.co-office .co-name {
  font-weight: 900;
  font-size: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--pop-orange);
  margin-bottom: 10px;
}
.co-office a { font-weight: 700; color: var(--pop-orange-deep); }

/* 会社概要テーブル幅 */
.co-table-wrap { max-width: 860px; margin: 0 auto; }

/* 専門家プロフィールカード */
.mb-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 42px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
}
.mb-head { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.mb-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--pop-tint);
  border: var(--pop-line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mb-avatar svg { width: 64px; height: 64px; }
.mb-name { font-size: 24px; font-weight: 900; }
.mb-fields { display: grid; gap: 6px; margin-bottom: 18px; }
.mb-fields p { font-size: 14.5px; }
.mb-fields strong { color: var(--pop-orange-deep); font-weight: 900; margin-right: 6px; }
.mb-bio { font-size: 15px; line-height: 2; margin-bottom: 20px; }
.mb-sec { font-weight: 900; font-size: 15px; margin: 18px 0 8px; padding-left: 14px; position: relative; }
.mb-sec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--pop-orange);
}
.mb-card .lpp-mini-list { margin-bottom: 4px; }
.mb-ph { color: rgba(34, 29, 24, 0.5); }

/* 電話カード */
.tel-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 34px 36px;
  text-align: center;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.tel-num {
  display: block;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--pop-orange-deep);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.tel-hours { font-size: 14px; margin-top: 8px; }
.tel-note { font-size: 13px; color: rgba(34, 29, 24, 0.65); margin-top: 10px; line-height: 1.9; }

@media (max-width: 768px) {
  .pr-card { padding: 26px 20px 28px; }
  .pr-cols { grid-template-columns: 1fr; gap: 16px; }
  .co-offices { grid-template-columns: 1fr; gap: 12px; }
  .mb-card { padding: 26px 20px; }
  .mb-head { gap: 16px; }
  .mb-avatar { width: 72px; height: 72px; }
  .mb-name { font-size: 20px; }
}

/* ==========================================================
   THEME POP — AIシミュレーション窓（トップMV）
   黒ターミナル調 → 白カード×ポップに再スタイル
   ========================================================== */
.theme-pop .ai-window {
  background: #fff;
  color: var(--pop-ink);
  border: 2px solid var(--pop-ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.16), 0 24px 48px rgba(255, 122, 0, 0.14);
}
.theme-pop .ai-window .mono {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0.06em;
}
.theme-pop .ai-window-bar {
  background: var(--pop-tint);
  border-bottom: 1.5px solid rgba(34, 29, 24, 0.15);
  padding: 12px 16px;
}
.theme-pop .ai-window-bar .dot { background: #e8e2dc; }
.theme-pop .ai-window-bar .dot:first-child { background: var(--pop-orange); }
.theme-pop .ai-window-bar .dot:nth-child(2) { background: var(--pop-yellow); }
.theme-pop .ai-window-title {
  font-size: 11px;
  color: rgba(34, 29, 24, 0.65);
}
.theme-pop .ai-window-body { padding: 22px 22px 24px; }
.theme-pop .ai-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--pop-ink);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.8;
}
.theme-pop .ai-q .prompt { font-size: 0; margin-right: 0; flex-shrink: 0; }
.theme-pop .ai-q .prompt::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.theme-pop .caret { background: var(--pop-orange); border-radius: 2px; }
.theme-pop .ai-a {
  border-left: none;
  background: var(--pop-tint);
  border: 1.5px solid rgba(34, 29, 24, 0.14);
  border-radius: 12px;
  padding: 16px 18px 14px;
}
.theme-pop .ai-a-label {
  display: inline-block;
  padding: 2px 12px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  margin-bottom: 10px;
}
.theme-pop .ai-a-text { color: var(--pop-ink); font-size: 13.5px; }
.theme-pop .ai-a-text .hl {
  color: var(--pop-ink);
  font-weight: 900;
  background: linear-gradient(transparent 8%, #ffe45e 8%, #ffe45e 92%, transparent 92%);
  padding: 0 2px;
}
.theme-pop .ai-a-cite {
  color: rgba(34, 29, 24, 0.6);
  font-size: 11.5px;
  font-weight: 700;
}
.theme-pop .cite-check { color: #17994f; font-weight: 900; }
.theme-pop .ai-window-scan { display: none; }

/* ==========================================================
   THEME POP — 制作実績（一覧・詳細）
   ========================================================== */
/* 絞り込みチップ */
.wk-filters { max-width: 1020px; margin: 0 auto 52px; display: grid; gap: 20px; }
.wk-filter-label {
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}
.wk-filter-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--pop-orange);
}
.wk-filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wk-filter-chips a {
  padding: 9px 20px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.3);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.wk-filter-chips a:hover {
  border-color: var(--pop-orange);
  color: var(--pop-orange-deep);
  transform: translateY(-2px);
}
/* サムネイル無し用プレースホルダ */
.work-thumb-ph {
  width: 100%;
  aspect-ratio: 784 / 500;
  display: grid;
  place-items: center;
  background: var(--pop-tint);
  border-bottom: var(--pop-line);
}
.work-thumb-ph svg { width: 96px; height: 96px; opacity: 0.75; }

/* 詳細ページ */
.wd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.wd-meta .tag {
  padding: 5px 16px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.wd-meta .tag.sub { background: var(--pop-ink); }
.wd-meta .year { font-weight: 700; font-size: 13px; color: rgba(34, 29, 24, 0.6); }
.wd-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--pop-orange-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.wd-url::after { content: "↗"; font-size: 12px; }
.wd-shot {
  max-width: 880px;
  margin: 0 auto;
  border: var(--pop-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.14);
}
.wd-shot img { width: 100%; display: block; }
.wd-point {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 36px 32px;
  background: #fff;
  border: 2px solid var(--pop-ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(255, 122, 0, 0.25);
  font-size: 15.5px;
  line-height: 2.05;
}
.wd-point p + p { margin-top: 14px; }
.wd-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 36px;
}
.wd-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  font-weight: 800;
  font-size: 14.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.wd-nav a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 122, 0, 0.28);
  color: var(--pop-orange-deep);
}
.wd-nav .dir {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-size: 13px;
}
.wd-nav a.next { justify-content: flex-end; text-align: right; }
.wd-back { text-align: center; }
@media (max-width: 768px) {
  .wk-filter-chips a { font-size: 12px; padding: 7px 14px; }
  .wd-nav { grid-template-columns: 1fr; gap: 10px; }
  .wd-point { padding: 26px 20px 24px; font-size: 14px; }
}

/* 中間CTA：ダーク版（直後にオレンジCTAが続くページ用） */
.lpp-midcta.dark {
  background: linear-gradient(180deg, #2a241f 0%, var(--pop-ink) 100%);
}
.lpp-midcta.dark .lpp-midcta-decor { color: var(--pop-orange-bright); }
.lpp-midcta.dark .lpp-midcta-title em { color: var(--pop-yellow); }

/* ==========================================================
   THEME POP — 実績詳細：PCフレーム＆Before/Afterスライダー
   ========================================================== */
/* PCブラウザ風フレーム内で縦長キャプチャがゆっくりスクロール */
.wd-pc {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--pop-ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.16);
}
.wd-pc-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--pop-tint);
  border-bottom: 1.5px solid rgba(34, 29, 24, 0.15);
}
.wd-pc-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #e8e2dc; }
.wd-pc-bar .dot:first-child { background: var(--pop-orange); }
.wd-pc-bar .dot:nth-child(2) { background: var(--pop-yellow); }
.wd-pc-url {
  margin-left: 10px;
  flex: 1;
  padding: 5px 14px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.15);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(34, 29, 24, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wd-pc-view {
  position: relative;
  height: clamp(300px, 46vw, 460px);
  overflow: hidden;
}
.wd-pc-view img {
  display: block;
  width: 100%;
  height: auto;
  animation: wdScroll 18s ease-in-out infinite alternate;
}
@keyframes wdScroll {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-100% + clamp(300px, 46vw, 460px))); }
}
.wd-pc-note {
  text-align: center;
  font-size: 12.5px;
  color: rgba(34, 29, 24, 0.55);
  font-weight: 700;
  margin-top: 14px;
}

/* Before / After 比較スライダー */
.wd-compare-wrap { max-width: 720px; margin: 0 auto; }
.wd-compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--pop-ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.16);
  background: #fff;
  touch-action: none;
}
.wd-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}
.wd-compare .after-img { clip-path: inset(0 0 0 var(--pos)); }
.wd-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--pop-orange);
  pointer-events: none;
}
.wd-divider::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -1px;
  box-shadow: 0 4px 14px rgba(34, 29, 24, 0.3);
}
.wd-compare .label {
  position: absolute;
  top: 14px;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 2;
}
.wd-compare .label.before { left: 14px; background: var(--pop-ink); color: #fff; }
.wd-compare .label.after { right: 14px; background: var(--pop-orange); color: #fff; }
.wd-compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
.wd-compare-note {
  text-align: center;
  font-size: 12.5px;
  color: rgba(34, 29, 24, 0.55);
  font-weight: 700;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .wd-pc-view { height: 60vw; }
  @keyframes wdScroll {
    0%, 8% { transform: translateY(0); }
    92%, 100% { transform: translateY(calc(-100% + 60vw)); }
  }
}

/* ==========================================================
   THEME POP — Web制作会社まとめ図鑑（/dictionary/）
   ========================================================== */
/* キーワード検索 */
.dc-search {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 36px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.dc-search-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 12px; }
.dc-search select, .dc-search input[type="search"] {
  padding: 13px 16px;
  border: 1.5px solid rgba(34, 29, 24, 0.3);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
}
.dc-search select:focus, .dc-search input:focus {
  outline: none;
  border-color: var(--pop-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

/* 新着カード */
.dc-new-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
.dc-new {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dc-new:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
}
.dc-new .ph { border-bottom: var(--pop-line); }
.dc-new-name {
  padding: 16px 18px 6px;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.6;
}
.dc-new-more {
  padding: 0 18px 16px;
  margin-top: auto;
  font-weight: 800;
  font-size: 13px;
  color: var(--pop-orange-deep);
}
.dc-new-more::after { content: " →"; }

/* エリア一覧の会社カード */
.dc-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto 22px;
  padding: 28px 30px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.dc-item-thumb {
  border: 1.5px solid rgba(34, 29, 24, 0.18);
  border-radius: 10px;
  overflow: hidden;
  align-self: start;
}
.dc-item-thumb img, .dc-item-thumb .work-thumb-ph { height: auto; aspect-ratio: 660 / 390; object-fit: cover; }
.dc-item h3, .dc-item h2 { font-size: 19px; font-weight: 900; margin-bottom: 10px; line-height: 1.6; }
.dc-item-info { display: grid; gap: 4px; margin-bottom: 12px; }
.dc-item-info p { font-size: 13.5px; display: flex; gap: 10px; }
.dc-item-info .t {
  flex-shrink: 0;
  padding: 2px 12px;
  background: var(--pop-tint);
  border: 1px solid rgba(34, 29, 24, 0.15);
  border-radius: 4px;
  font-weight: 800;
  font-size: 11.5px;
  align-self: flex-start;
  margin-top: 2px;
}
.dc-item-desc { font-size: 14px; line-height: 1.95; margin-bottom: 16px; }
.dc-item .btn { align-self: start; }

/* 詳細：基本情報・地図・代表・写真 */
.dc-map {
  max-width: 860px;
  margin: 24px auto 0;
  border: var(--pop-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
}
.dc-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.dc-eyecatch {
  max-width: 860px;
  margin: 0 auto;
  border: var(--pop-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.14);
}
.dc-eyecatch img { width: 100%; display: block; }
.dc-president {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 36px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
}
.dc-president-img {
  border-radius: 50%;
  overflow: hidden;
  border: var(--pop-line);
  aspect-ratio: 1 / 1;
  align-self: start;
  background: var(--pop-tint);
  display: grid;
  place-items: center;
}
.dc-president-img img { width: 100%; height: 100%; object-fit: cover; }
.dc-president-img svg { width: 96px; height: 96px; }
.dc-president-label {
  display: inline-block;
  padding: 3px 14px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.dc-president-name { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.dc-president-name span { font-size: 12px; color: rgba(34, 29, 24, 0.55); margin-left: 12px; font-weight: 700; }
.dc-president-msg { font-size: 14.5px; line-height: 2.05; }
.dc-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.dc-photos figure {
  border: var(--pop-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
}
.dc-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* エリアパネル（都道府県リンク） */
.dc-area-panel { max-width: 1020px; margin: 0 auto; display: grid; gap: 22px; }
.dc-area-group .wk-filter-label { margin-bottom: 8px; }
@media (max-width: 768px) {
  .dc-search { padding: 22px 18px; }
  .dc-search-row { grid-template-columns: 1fr; }
  .dc-new-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dc-item { grid-template-columns: 1fr; gap: 16px; padding: 20px 18px; }
  .dc-president { grid-template-columns: 1fr; padding: 24px 20px; }
  .dc-president-img { max-width: 160px; }
  .dc-photos { grid-template-columns: 1fr; }
  .dc-map iframe { height: 260px; }
}

/* ---------- Web集客お役立ちブログ帯 ---------- */
.bb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
.bb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bb-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
}
.bb-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: var(--pop-line);
}
.bb-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(34, 29, 24, 0.55);
}
.bb-meta .cat {
  padding: 3px 12px;
  background: var(--pop-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.bb-title {
  padding: 8px 18px 18px;
  font-weight: 900;
  font-size: 14.5px;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .bb-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- 図鑑：市区町村チェックボックス絞り込み ---------- */
.dc-filter-card {
  max-width: 980px;
  margin: 0 auto 44px;
  padding: 30px 34px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.1);
}
.dc-filter-card + .dc-filter-card { margin-top: -22px; }
.dc-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dc-city-list label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1.5px solid rgba(34, 29, 24, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dc-city-list label:hover { border-color: var(--pop-orange); }
.dc-city-list input {
  accent-color: var(--pop-orange);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.dc-city-list label:has(input:checked) {
  background: var(--pop-tint);
  border-color: var(--pop-orange);
  color: var(--pop-orange-deep);
}
.dc-filter-submit { text-align: center; margin-top: 22px; }
@media (max-width: 768px) {
  .dc-filter-card { padding: 20px 16px; }
  .dc-city-list label { font-size: 12px; padding: 6px 10px; }
}

/* ==========================================================
   THEME POP — トップページ：遊び心のあるリビール演出
   （body.theme-pop 単体＝トップのみ。下層 .lp-pop / .kn-page は対象外）
   transform / opacity のみ使用（パフォーマンス安全）
   ========================================================== */
body.theme-pop:not(.lp-pop):not(.kn-page) .reveal {
  transform: translateY(36px) scale(0.95);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .reveal.visible { transform: none; }

/* 見出しピル：ポンッと拡大して登場 */
body.theme-pop:not(.lp-pop):not(.kn-page) .section-eyebrow.reveal {
  transform: translateY(12px) scale(0.4) rotate(-4deg);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.34, 1.8, 0.64, 1);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .section-eyebrow.reveal.visible { transform: none; }

/* カード類：左右に少し傾いた状態からスプリングで着地 */
body.theme-pop:not(.lp-pop):not(.kn-page) .problem-item.reveal,
body.theme-pop:not(.lp-pop):not(.kn-page) .approach-card.reveal,
body.theme-pop:not(.lp-pop):not(.kn-page) .work-card.reveal,
body.theme-pop:not(.lp-pop):not(.kn-page) .flow-step.reveal {
  transform: translateY(36px) scale(0.92) rotate(-2.2deg);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .problem-item.reveal:nth-child(even),
body.theme-pop:not(.lp-pop):not(.kn-page) .approach-card.reveal:nth-child(even),
body.theme-pop:not(.lp-pop):not(.kn-page) .work-card.reveal:nth-child(even),
body.theme-pop:not(.lp-pop):not(.kn-page) .flow-step.reveal:nth-child(even) {
  transform: translateY(36px) scale(0.92) rotate(2.2deg);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .problem-item.reveal.visible,
body.theme-pop:not(.lp-pop):not(.kn-page) .approach-card.reveal.visible,
body.theme-pop:not(.lp-pop):not(.kn-page) .work-card.reveal.visible,
body.theme-pop:not(.lp-pop):not(.kn-page) .flow-step.reveal.visible { transform: none; }

/* サービス行カード：横からスライドイン */
body.theme-pop:not(.lp-pop):not(.kn-page) .service-card.reveal {
  transform: translateX(-48px) scale(0.97);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .service-card.reveal:nth-child(even) {
  transform: translateX(48px) scale(0.97);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .service-card.reveal.visible { transform: none; }

/* 番号サークル：親の着地後にポンッと飛び出す */
@keyframes popCircle {
  0% { transform: scale(0) rotate(-30deg); }
  70% { transform: scale(1.25) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}
body.theme-pop:not(.lp-pop):not(.kn-page) .problem-item .p-num,
body.theme-pop:not(.lp-pop):not(.kn-page) .service-card .service-num,
body.theme-pop:not(.lp-pop):not(.kn-page) .flow-step .flow-icon {
  transform: scale(0);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .problem-item.visible .p-num,
body.theme-pop:not(.lp-pop):not(.kn-page) .service-card.visible .service-num,
body.theme-pop:not(.lp-pop):not(.kn-page) .flow-step.visible .flow-icon {
  animation: popCircle 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s forwards;
}

/* フロー矢印：カード着地後にふわっと */
body.theme-pop:not(.lp-pop):not(.kn-page) .flow-step:not(:last-child)::after {
  opacity: 0;
  transition: opacity 0.4s ease 0.6s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
  transform: translateY(-50%) translateX(-8px);
}
body.theme-pop:not(.lp-pop):not(.kn-page) .flow-step.visible:not(:last-child)::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* POINTチップ（設計方針カード）：遅れてポップ */
body.theme-pop:not(.lp-pop):not(.kn-page) .approach-card .card-head::before {
  transform: scale(0);
  display: inline-block;
}
body.theme-pop:not(.lp-pop):not(.kn-page) .approach-card.visible .card-head::before {
  animation: popCircle 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

/* 大切にすること：大きな番号がくるっと回って登場、写真はゆっくり寄りが戻る */
body.theme-pop:not(.lp-pop):not(.kn-page) .value-card .v-num {
  display: inline-block;
  transform: scale(0.3) rotate(-12deg);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s, opacity 0.4s ease 0.25s;
}
body.theme-pop:not(.lp-pop):not(.kn-page) .value-row.visible .v-num {
  transform: none;
  opacity: 1;
}
body.theme-pop:not(.lp-pop):not(.kn-page) .value-photo { overflow: hidden; }
body.theme-pop:not(.lp-pop):not(.kn-page) .value-photo img {
  transform: scale(1.1);
  transition: transform 1.4s ease 0.1s;
}
body.theme-pop:not(.lp-pop):not(.kn-page) .value-row.visible .value-photo img { transform: scale(1); }

/* 黄マーカー：左から塗られていく */
body.theme-pop:not(.lp-pop):not(.kn-page) .reveal .marker,
body.theme-pop:not(.lp-pop):not(.kn-page) .reveal .strong .marker {
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.7s ease 0.5s;
}
body.theme-pop:not(.lp-pop):not(.kn-page) .reveal.visible .marker { background-size: 100% 100%; }

/* ビジョン：＼ ／ が開くように */
body.theme-pop:not(.lp-pop):not(.kn-page) .vision-copy.reveal { letter-spacing: 0.3em; }
body.theme-pop:not(.lp-pop):not(.kn-page) .vision-copy.reveal.visible {
  letter-spacing: 0.06em;
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), letter-spacing 1s ease;
}

/* ==========================================================
   THEME POP — トップ：見出しの1文字リビール
   1文字ずつ時間差で弾みながら着地し、
   オレンジ→黄→本来の色へカラーが流れる（gaaboo参考・独自解釈）
   ========================================================== */
.theme-pop .title-chars .tc {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(9deg) scale(0.6);
}
.theme-pop .title-chars.visible .tc {
  animation:
    tcPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    tcColor 0.9s ease;
  animation-delay: calc(var(--ci) * 0.04s);
}
@keyframes tcPop {
  to {
    opacity: 1;
    transform: none;
  }
}
/* 100%を書かない＝終了後は本来の文字色（em内はオレンジ、白見出しは白）に戻る */
@keyframes tcColor {
  0% { color: var(--pop-orange); }
  45% { color: #f0b400; }
}
/* 文字スプリット時は行全体のスプリング移動を弱めに（二重に動きすぎないように） */
.theme-pop .title-chars.reveal {
  transform: translateY(16px);
}
.theme-pop .title-chars.reveal.visible { transform: none; }

/* ==========================================================
   THEME POP — 拠点・対応エリア（/area/）
   ========================================================== */
/* 拠点カード（ハブ） */
.ar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}
.ar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ar-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(255, 122, 0, 0.3);
}
.ar-card-photo {
  width: 100%;
  height: auto;
  flex: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: var(--pop-line);
}
.ar-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
.ar-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ar-card-head h3 { font-size: 21px; font-weight: 900; line-height: 1.5; }
.ar-tag {
  flex-shrink: 0;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--pop-ink);
  color: #fff;
}
.ar-tag.main { background: var(--pop-orange); }
.ar-card-info { display: grid; gap: 6px; font-size: 14px; line-height: 1.85; margin-bottom: 14px; }
.ar-card-info p { display: flex; gap: 10px; }
.ar-card-info .t {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 11px;
  background: var(--pop-tint);
  border: 1px solid rgba(34, 29, 24, 0.15);
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 800;
}
.ar-card-info a { font-weight: 700; color: var(--pop-orange-deep); }
.ar-card-more {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 900;
  font-size: 14.5px;
  color: var(--pop-orange-deep);
}
/* カード全面をクリック範囲にする（電話リンクはこの上に出す） */
.ar-card-more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ar-card-more::after { content: " →"; }
.ar-card-info a { position: relative; z-index: 2; }

/* 拠点情報＋地図の2カラム */
.ar-office {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
  align-items: stretch;
}
.ar-office-info {
  padding: 30px 32px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
}
.ar-office-info dl { display: grid; gap: 14px; }
.ar-office-info dt {
  font-weight: 900;
  font-size: 13px;
  color: var(--pop-orange-deep);
  margin-bottom: 2px;
}
.ar-office-info dd { font-size: 15px; line-height: 1.9; }
.ar-office-info dd a { font-weight: 700; color: var(--pop-orange-deep); }
.ar-office-map {
  border: var(--pop-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
  min-height: 320px;
}
.ar-office-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* 対応エリアチップ（リンクではない） */
.ar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 900px;
  margin: 0 auto;
}
.ar-chips span {
  padding: 8px 18px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.22);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
}
.ar-chips span.on {
  background: var(--pop-tint);
  border-color: var(--pop-orange);
  color: var(--pop-orange-deep);
}

/* お客様の声 */
.ar-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.ar-voice {
  position: relative;
  padding: 32px 30px 26px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
}
.ar-voice::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 22px;
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 122, 0, 0.28);
}
.ar-voice p { font-size: 15px; line-height: 2; margin-bottom: 14px; }
.ar-voice cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: rgba(34, 29, 24, 0.6);
  text-align: right;
}

@media (max-width: 768px) {
  .ar-grid { grid-template-columns: 1fr; gap: 14px; }
  .ar-card-body { padding: 20px 18px 22px; }
  .ar-card-head h3 { font-size: 18px; }
  .ar-office { grid-template-columns: 1fr; gap: 14px; }
  .ar-office-info { padding: 22px 20px; }
  .ar-office-map, .ar-office-map iframe { min-height: 240px; }
  .ar-chips span { font-size: 12.5px; padding: 7px 14px; }
  .ar-voice-grid { grid-template-columns: 1fr; gap: 12px; }
  .ar-voice { padding: 28px 20px 22px; }
}

/* フッター：中間幅では2カラム */
@media (min-width: 769px) and (max-width: 1080px) {
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   THEME POP — かんたん料金シミュレーター（/price/）
   ========================================================== */
.sim {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--pop-ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(34, 29, 24, 0.16);
}
.sim-head {
  padding: 24px 32px;
  background: var(--pop-tint);
  border-bottom: 1.5px solid rgba(34, 29, 24, 0.15);
}
.sim-head-title { font-weight: 900; font-size: 19px; }
.sim-head-note { font-size: 13.5px; color: rgba(34, 29, 24, 0.7); margin-top: 4px; }
.sim-body { padding: 26px 32px 30px; }
.sim-group + .sim-group {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed rgba(34, 29, 24, 0.22);
}
.sim-group-title {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 15px;
}
.sim-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--pop-orange);
}
.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}
.sim-row + .sim-row, .sim-toggle + .sim-toggle {
  border-top: 1px solid rgba(34, 29, 24, 0.09);
}
.sim-label { font-weight: 700; font-size: 15px; line-height: 1.6; }
.sim-label small {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  color: rgba(34, 29, 24, 0.62);
  margin-top: 2px;
}
.sim-price {
  font-weight: 800;
  font-size: 13.5px;
  color: var(--pop-orange-deep);
  white-space: nowrap;
}
.sim-ctrl { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sim-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--pop-ink);
  border-radius: 50%;
  background: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sim-btn:hover { background: var(--pop-orange); border-color: var(--pop-orange); color: #fff; }
.sim-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.sim-btn:disabled:hover { background: #fff; border-color: var(--pop-ink); color: inherit; }
.sim-num {
  width: 52px;
  padding: 4px 0;
  border: none;
  background: none;
  text-align: center;
  font-family: inherit;
  font-size: 19px;
  font-weight: 900;
  color: var(--pop-ink);
  -moz-appearance: textfield;
}
.sim-num::-webkit-outer-spin-button, .sim-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sim-num:focus-visible { outline: 2px solid var(--pop-orange); outline-offset: 2px; border-radius: 4px; }

/* チェック項目 */
.sim-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  cursor: pointer;
}
.sim-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sim-toggle-box {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 2px solid var(--pop-ink);
  border-radius: 7px;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.sim-toggle-box::after {
  content: "✓";
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sim-toggle input:checked + .sim-toggle-box { background: var(--pop-orange); border-color: var(--pop-orange); }
.sim-toggle input:checked + .sim-toggle-box::after { opacity: 1; }
.sim-toggle input:focus-visible + .sim-toggle-box { outline: 2px solid var(--pop-orange); outline-offset: 3px; }
.sim-toggle .sim-label { flex: 1; }

/* 合計 */
.sim-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 26px 32px;
  background: var(--pop-ink);
  color: #fff;
}
.sim-total-label { font-weight: 800; font-size: 14px; letter-spacing: 0.1em; }
.sim-total-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); margin-top: 6px; line-height: 1.7; }
.sim-total-num {
  font-weight: 900;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  color: var(--pop-yellow);
  letter-spacing: 0.01em;
}
.sim-total-num .yen { font-size: 0.5em; margin-left: 4px; }
.sim-foot {
  padding: 24px 32px 28px;
  background: #fff;
  text-align: center;
  border-top: 1.5px solid rgba(34, 29, 24, 0.12);
}
.sim-foot p {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(34, 29, 24, 0.65);
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .sim-head, .sim-total, .sim-foot { padding-left: 20px; padding-right: 20px; }
  .sim-body { padding: 22px 20px 26px; }
  .sim-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sim-ctrl { width: 100%; justify-content: space-between; }
  .sim-total { flex-direction: column; align-items: flex-start; }
}

/* ダーク帯に置いた番号カード／✓カードは白カードなので文字色を戻す */
.lpp-dark .lpp-num-card,
.lpp-dark .lpp-check,
.lpp-dark .lpp-layer,
.lpp-dark .lpp-link-card,
.lpp-dark .lpp-doc { color: var(--pop-ink); }
.lpp-dark .lpp-num-card strong,
.lpp-dark .lpp-check strong { color: var(--pop-ink); }

/* ---------- お問い合わせ：拠点別の電話番号 ---------- */
.tel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1020px;
  margin: 0 auto;
}
.tel-item {
  padding: 22px 18px 20px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tel-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 122, 0, 0.3);
}
.tel-item-name {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 12px;
  background: var(--pop-tint);
  border: 1px solid rgba(34, 29, 24, 0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.tel-item a {
  display: block;
  font-weight: 900;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: 0.01em;
  color: var(--pop-orange-deep);
  white-space: nowrap;
}
.tel-hours-band {
  max-width: 1020px;
  margin: 0 auto 24px;
  padding: 14px 20px;
  text-align: center;
  background: var(--pop-ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
}
@media (max-width: 900px) {
  .tel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tel-grid { grid-template-columns: 1fr; gap: 10px; }
  .tel-item { padding: 16px 14px 14px; }
}

/* フォームの補足注記 */
.form-hint {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(34, 29, 24, 0.62);
}

/* ==========================================================
   THEME POP — コラム（現行 WEB企画ラボ を踏襲したKV・見出し）
   ========================================================== */
.col-kv {
  padding: calc(var(--header-h) + 30px) 0 0;
  background:
    radial-gradient(rgba(255, 122, 0, 0.1) 1.5px, transparent 1.6px),
    linear-gradient(180deg, #fff7ec 0%, #fff4e6 100%);
  background-size: 22px 22px, 100% 100%;
}
.col-kv .lpp-crumb { margin-bottom: 18px; }
.col-kv-balloon {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 34px;
}
.col-kv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.col-kv-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}
.col-kv-content {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 6vw, 62px) clamp(24px, 6vw, 70px) clamp(44px, 7vw, 74px);
  text-align: center;
}
.col-kv-title {
  font-weight: 900;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.col-kv-logo {
  max-width: clamp(210px, 30vw, 320px);
  margin: 0 auto 16px;
}
.col-kv-logo img { width: 100%; height: auto; display: block; }
.col-kv-lead {
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.95;
  color: rgba(34, 29, 24, 0.78);
}

/* 見出し（新着記事＋New!バッジ） */
.col-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.04em;
  margin-bottom: 26px;
  padding-left: 18px;
  position: relative;
}
.col-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 8px;
  height: 1.15em;
  border-radius: 3px;
  background: var(--pop-orange);
}
.col-heading-badge {
  width: 46px;
  height: auto;
  margin-top: -0.5em;
}
@media (max-width: 768px) {
  .col-kv { padding-top: calc(var(--header-h) + 18px); }
  .col-kv-balloon { padding-bottom: 20px; }
  .col-kv-bg { display: none; }
  .col-kv-content {
    background: #fff;
    border: var(--pop-line);
    border-radius: 18px;
    box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.12);
    padding: 28px 20px 30px;
  }
  .col-heading-badge { width: 38px; }
}

/* コラム：記事メタの区切り */
.theme-pop .col-sep { color: rgba(34, 29, 24, 0.35); margin: 0 2px; font-weight: 700; }
/* コラム：サイドバー見出しを現行に寄せる */
.theme-pop .side-title {
  font-size: 15.5px;
  letter-spacing: 0.03em;
}

/* ==========================================================
   THEME POP — トップ：検索行動の変化の図解
   ========================================================== */
.bh-figure { max-width: 900px; margin: 0 auto 48px; }
.bh-panel {
  position: relative;
  padding: 26px 28px 28px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  text-align: center;
}
.bh-panel + .bh-panel { margin-top: 34px; }
.bh-panel.now {
  border: 2px solid var(--pop-ink);
  box-shadow: 5px 5px 0 rgba(255, 122, 0, 0.3);
}
/* パネル間の下向き矢印 */
.bh-panel.now::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 14px solid rgba(34, 29, 24, 0.3);
}
.bh-label {
  display: inline-block;
  padding: 5px 18px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: rgba(34, 29, 24, 0.12);
  color: rgba(34, 29, 24, 0.7);
}
.bh-label.on { background: var(--pop-orange); color: #fff; }
.bh-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}
.bh-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  background: #fff;
  border: 1.5px solid rgba(34, 29, 24, 0.28);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
}
.bh-node svg { width: 17px; height: 17px; flex-shrink: 0; }
.bh-node.dim { color: rgba(34, 29, 24, 0.55); border-color: rgba(34, 29, 24, 0.16); }
.bh-node.src { background: var(--pop-tint); border-color: rgba(255, 122, 0, 0.5); }
.bh-node.solid { border-color: var(--pop-ink); border-width: 2px; }
.bh-node.goal { background: var(--pop-orange); border-color: var(--pop-orange); color: #fff; }
.bh-arrow { color: var(--pop-orange); font-weight: 900; font-size: 15px; }
.bh-arrow.dim { color: rgba(34, 29, 24, 0.3); }
.bh-loop {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 900;
  color: var(--pop-orange-deep);
}
.bh-down {
  display: block;
  margin: 12px auto;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid var(--pop-orange);
}
.bh-caption {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(34, 29, 24, 0.6);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .bh-panel { padding: 20px 16px 22px; }
  .bh-node { font-size: 12px; padding: 8px 11px; gap: 5px; }
  .bh-node svg { width: 15px; height: 15px; }
  .bh-flow { gap: 7px; }
}

/* ==========================================================
   THEME POP — サンクスページ
   ========================================================== */
.tk-hero {
  padding: calc(var(--header-h) + 72px) 0 92px;
  text-align: center;
  background:
    radial-gradient(rgba(255, 122, 0, 0.1) 1.5px, transparent 1.6px),
    linear-gradient(180deg, #fff7ec 0%, #fff4e6 100%);
  background-size: 22px 22px, 100% 100%;
}
.tk-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pop-orange);
  border: 2px solid var(--pop-ink);
  box-shadow: 5px 5px 0 rgba(34, 29, 24, 0.16);
}
.tk-icon svg { width: 50px; height: 50px; }
.tk-title {
  font-weight: 900;
  font-size: clamp(23px, 3.3vw, 36px);
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.tk-lead {
  max-width: 720px;
  margin: 0 auto 34px;
  font-size: 15.5px;
  line-height: 2.05;
  text-align: left;
}
.tk-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 18px; }
.tk-note {
  max-width: 720px;
  margin: 38px auto 0;
  padding: 22px 26px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.1);
  font-size: 13.5px;
  line-height: 1.95;
  text-align: left;
}
@media (max-width: 768px) {
  .tk-hero { padding: calc(var(--header-h) + 40px) 0 60px; }
  .tk-icon { width: 76px; height: 76px; }
  .tk-icon svg { width: 40px; height: 40px; }
  .tk-actions .btn { width: 100%; }
}

/* ==========================================================
   THEME POP — 便利ツール一覧（/tools/）
   ========================================================== */
.tl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
}
.tl-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px 24px;
  background: #fff;
  border: var(--pop-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(34, 29, 24, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.tl-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 122, 0, 0.28);
  color: var(--pop-orange-deep);
}
.tl-name { font-weight: 900; font-size: 15px; line-height: 1.6; }
.tl-name::after { content: " ↗"; font-size: 11px; color: var(--pop-orange); }
.tl-desc { font-size: 12.5px; line-height: 1.8; color: rgba(34, 29, 24, 0.66); }
@media (max-width: 900px) { .tl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tl-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ==========================================================
   ブログカード（ECcardショートコード）theme-popスキン
   ========================================================== */
.theme-pop .eccard{margin:28px 0;}
.theme-pop .eccard a{display:flex;gap:18px;align-items:stretch;background:#fff;border:1.5px solid #221d18;border-radius:14px;box-shadow:4px 4px 0 rgba(34,29,24,.9);padding:18px;text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease;}
.theme-pop .eccard a:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 rgba(34,29,24,.9);}
.theme-pop .eccard_content{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;}
.theme-pop .eccard_title{font-weight:900;font-size:1.02rem;line-height:1.5;}
.theme-pop .eccard_description{font-size:.85rem;color:#6b645e;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.theme-pop .eccard_domain{margin-top:auto;font-size:.78rem;color:#a09a94;display:flex;align-items:center;gap:6px;}
.theme-pop .eccard_domain .favicon{width:16px;height:16px;}
.theme-pop .eccard_thumbnail{flex:0 0 200px;align-self:center;}
.theme-pop .eccard_thumbnail img{width:200px;height:auto;object-fit:cover;border-radius:10px;border:1.5px solid #221d18;display:block;}
.theme-pop .eccard .clear{display:none;}
@media (max-width:640px){
  .theme-pop .eccard a{flex-direction:column;}
  .theme-pop .eccard_thumbnail{flex:none;}
  .theme-pop .eccard_thumbnail img{width:100%;}
}


/* ==========================================================
   コラム記事本文のリンク（色付け＋外部リンクアイコン自動判別）
   ========================================================== */
.theme-pop .article-body.prose a {
  color: var(--pop-orange-deep, #e05a00);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(224, 90, 0, .4);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.theme-pop .article-body.prose a:hover {
  color: var(--pop-orange, #ff7a00);
  text-decoration-color: currentColor;
}

/* 外部リンク（http〜で自サイト以外）にだけ別窓アイコンを付ける */
.theme-pop .article-body.prose a[href^="http"]:not([href*="wk-partners.co.jp"]):not(:has(img))::after {
  content: "";
  display: inline-block;
  width: .85em;
  height: .85em;
  margin: 0 .1em 0 .22em;
  vertical-align: -.08em;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><path d="M15 3h6v6"/><path d="M10 14L21 3"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><path d="M15 3h6v6"/><path d="M10 14L21 3"/></svg>') no-repeat center / contain;
}

/* 装飾を付けない: 目次・ブログカード */
.theme-pop .article-body.prose #toc_container a::after,
.theme-pop .article-body.prose .eccard a::after {
  content: none;
}
.theme-pop .article-body.prose .eccard a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

/* ==========================================================
   ブログサイドバー：バナー・子カテゴリチップ
   ========================================================== */
.theme-pop .side-banner{display:block;margin:0 0 16px;transition:transform .15s ease,box-shadow .15s ease;border-radius:12px;box-shadow:3px 3px 0 rgba(34,29,24,.9);}
.theme-pop .side-banner img{display:block;width:100%;height:auto;border-radius:12px;border:1.5px solid #221d18;}
.theme-pop .side-banner:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 rgba(34,29,24,.9);}
.theme-pop .cat-chip--sub{font-size:.76rem;opacity:.85;}

/* ==========================================================
   lpp-badges：各特徴に✓アイコン
   ========================================================== */
.lpp-badges li {
  align-content: center;
  row-gap: 5px;
}
.lpp-badges li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pop-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
@media (max-width: 768px) {
  .lpp-badges li::before { width: 20px; height: 20px; font-size: 11px; }
}

/* ==========================================================
   FAQ：ヒーロー内アンカーナビの下余白
   ========================================================== */
.lpp-hero .kn-anchor-nav { margin-top: 18px; padding-bottom: 48px; }

/* ==========================================================
   スマホ：見出しの自然な改行（バランス折返し）
   ========================================================== */
@media (max-width: 768px) {
  h1, h2, h3 { text-wrap: balance; }
}

/* ==========================================================
   スマホ：トップの表示調整
   ========================================================== */
@media (max-width: 768px) {
  /* サービスカードを縦積みに（.theme-popの4カラム指定を打ち消し） */
  .theme-pop .service-card {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "illust" "body";
  }
  /* ヒーローはビジュアル（AIシミュレーション画面）を先に表示 */
  .hero-inner { display: grid; }
  .hero-visual { order: -1; margin: 0 auto; }
}

/* ==========================================================
   ヘッダー：中間幅（〜1440px）でナビを圧縮しロゴを守る
   ========================================================== */
@media (min-width: 1181px) and (max-width: 1440px) {
  .header-inner { gap: 14px; padding: 0 18px; }
  .global-nav > ul { gap: 0; }
  .global-nav a { padding: 8px 8px; font-size: 13px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-header { padding: 12px 16px; font-size: 13px; }
}

/* ==========================================================
   スマホメニュー：親子アコーディオン
   ========================================================== */
@media (max-width: 1180px) {
  .mobile-menu .mm-row { display: flex; align-items: stretch; }
  .mobile-menu .mm-row a { flex: 1; }
  .mm-toggle {
    width: 52px;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    border-left: 1px solid var(--c-line);
    cursor: pointer;
    color: var(--c-ink);
  }
  .mm-toggle .nav-caret { display: inline-block; margin: 0; transform: rotate(45deg); }
  .mm-parent.open > .mm-row .mm-toggle .nav-caret { transform: rotate(225deg) translateY(-2px); }
  .mm-sub { display: none; padding: 0 0 12px; }
  .mm-parent.open > .mm-sub { display: block; }
  .mobile-menu .mm-sub li { border-bottom: 0; }
  .mobile-menu .mm-sub a:not(.btn) { font-size: 14px; font-weight: 600; padding: 8px 0 8px 18px; }
  .mobile-menu .mm-sub .mm-subhead a:not(.btn) { font-weight: 800; padding-left: 8px; margin-top: 4px; color: var(--pop-orange-deep); }
}

/* ==========================================================
   スマホ：インラインstyleのグリッド指定を1カラムに強制
   （flow-list / lpp-layer-grid のstyle属性がメディアクエリより
     優先されてしまう問題の対策）
   ========================================================== */
@media (max-width: 768px) {
  .flow-list[style],
  .lpp-layer-grid[style] { grid-template-columns: 1fr !important; }
}

/* ==========================================================
   iOS Safari対策：記事カードのサムネイルはみ出し防止
   （グリッド1frの自動最小幅が画像の元サイズに引っ張られる対策）
   ========================================================== */
.column-grid > .column-card { min-width: 0; }
.column-card img, .col-thumb img { max-width: 100%; }
/* サイドバー側も同様に：グリッド子要素の自動最小幅を無効化し、
   バナー画像（旧テーマの大きな元画像）をカラム幅に収める */
.column-layout > .column-main,
.column-layout > .column-side { min-width: 0; }
.column-side img { max-width: 100%; height: auto; }

/* ==========================================================
   スマホ：サービスカードのリンク明示（詳しく見る）
   ========================================================== */
@media (max-width: 768px) {
  .service-body::after {
    content: "詳しく見る →";
    display: block;
    margin-top: 14px;
    color: var(--pop-orange-deep);
    font-weight: 800;
    font-size: 14px;
  }
}

/* ==========================================================
   便利ツール詳細：メインコンテンツ幅を拡大
   （記事用の760pxではツールUIが窮屈なため）
   ========================================================== */
body.single-tools .kn-article { max-width: 1080px; }

/* ==========================================================
   図鑑：絞り込みカード内の検索行（.dc-search外でも入力欄を整える）
   ========================================================== */
.dc-search-row input[type="search"],
.dc-search-row select {
  padding: 13px 16px;
  border: 1.5px solid rgba(34, 29, 24, 0.3);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  min-width: 0;
}
.dc-search-row input:focus,
.dc-search-row select:focus {
  outline: none;
  border-color: var(--pop-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}
.dc-filter-card .dc-search-row { grid-template-columns: 1fr auto; }
@media (max-width: 768px) {
  .dc-filter-card .dc-search-row { grid-template-columns: 1fr; }
}

/* ==========================================================
   図鑑：通常時はパネル型2カラム、検索時は従来のリスト型
   ========================================================== */
.dc-items--panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.dc-items--panel .dc-item {
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  max-width: none;
  padding: 22px 22px 26px;
}
.dc-items--panel .dc-item-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dc-items--panel .dc-item > div:last-child {
  display: flex;
  flex-direction: column;
}
.dc-items--panel .dc-item > div:last-child > * { margin-bottom: 12px; }
.dc-items--panel .dc-item .btn {
  align-self: center;
  margin-top: auto;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .dc-items--panel { grid-template-columns: 1fr; }
}

/* ==========================================================
   図鑑：スマホのエリア選択はバー全面をタップ可能に
   ========================================================== */
.dictionary-area-select-outer select {
  width: 100%;
  min-height: 44px;
}

/* ==========================================================
   図鑑詳細：アイキャッチをPCと同じ横長比率で表示
   （width/height属性の高さ固定で縦長になるのを防ぐ）
   ========================================================== */
.dc-eyecatch img {
  height: auto;
  aspect-ratio: 932 / 560;
  object-fit: cover;
}

/* ==========================================================
   用語解説記事：AIO・GEO・LLMO・AEO 関係図
   ========================================================== */
.aiofig { margin: 36px 0; }
.aiofig-cols { display: grid; grid-template-columns: 200px 1fr; gap: 14px; }
.aiofig-left, .aiofig-right {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 12px;
  padding: 18px 16px;
}
.aiofig-left { display: flex; flex-direction: column; gap: 10px; }
.aiofig-spacer { flex: 1; }
.aiofig-title { font-weight: 900; font-size: 15px; text-align: center; border-bottom: 1px solid #dde3ec; padding-bottom: 10px; }
.aiofig-note { font-weight: 800; font-size: 13px; text-align: center; color: #1f2c40; }
.aiofig-box {
  background: #f3f7fc;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 13.5px;
  color: #1f2c40;
}
.aiofig-box small { display: block; font-weight: 600; font-size: 11px; color: #6b7a92; margin-top: 3px; }
.aiofig-box--hl { background: #e8f0fb; color: #1d4ed8; }
.aiofig-box--hl small { color: #1d4ed8; }
.aiofig-box--line { background: #fff; border-color: #b9c8e0; }
.aiofig-box--line, .aiofig-box--line small { color: #1d4ed8; }
.aiofig-box--strong { background: #fff; border: 2px solid #1e3a6e; }
.aiofig-box--strong small { color: #1d4ed8; font-weight: 800; }
.aiofig-box--muted { background: #f6f7f9; }
.aiofig-box--muted, .aiofig-box--muted small { color: #8a93a3; }
.aiofig-chipwrap { line-height: 1; margin: 0 0 8px; }
.aiofig-chipwrap--center { text-align: center; }
.aiofig-chipwrap--overlap { margin-top: -30px; }
.aiofig-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  color: #fff;
  background: #6b7a92;
}
.aiofig-chip small { font-weight: 700; font-size: 11px; opacity: 0.9; }
.aiofig-chip--aio { background: #232f45; }
.aiofig-chip--geo { background: #3d4a63; }
.aiofig-chip--llmo { background: #8a93a3; }
.aiofig-chip--aeo { background: #1d6fd8; }
.aiofig-headrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 8px;
  text-align: center;
  font-weight: 900;
  font-size: 13px;
  color: #1f2c40;
}
.aiofig-headrow small { font-weight: 600; font-size: 11px; color: #6b7a92; }
.aiofig-geo {
  border: 2px dashed #7ba3d8;
  border-radius: 10px;
  padding: 24px 14px 14px;
  margin-top: 24px;
}
.aiofig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aiofig-cell { display: flex; flex-direction: column; }
.aiofig-cell .aiofig-box { flex: 1; }
.aiofig-outside { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.aiofig-cap { margin-top: 12px; font-size: 12.5px; color: #6b6157; text-align: center; }
@media (max-width: 768px) {
  .aiofig-cols { grid-template-columns: 1fr; }
  .aiofig-left { flex-direction: column; }
  .aiofig-grid, .aiofig-outside, .aiofig-headrow { grid-template-columns: 1fr; }
  .aiofig-headrow span:last-child { display: none; }
  .aiofig-chipwrap--overlap { margin-top: -28px; }
}
