﻿/* =================================================================
   プロラボ LP スタイルシート  prefix: pl-
   ================================================================= */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* ── ブランドカラー「青×白」 ── */
  --pl-primary:        #1878c2;   /* メインブルー：清潔・信頼・Webサービス感 */
  --pl-primary-dark:   #0e5d9a;   /* ヘッダー・CTAセクション・濃いブルー */
  --pl-primary-mid:    #2d8fd4;   /* 中間ブルー：ホバー・ボーダー等 */
  --pl-primary-light:  #dbeafe;   /* 淡いブルー背景：セクション・カード */
  --pl-primary-pale:   #eff6ff;   /* 最薄ブルー：交互背景（明るく清潔） */

  /* ── ニュートラル（清潔感のある中性グレー） ── */
  --pl-black:     #1a2b3c;   /* ほぼ黒だが青みがかった濃紺 */
  --pl-white:     #ffffff;
  --pl-gray-50:   #f9fafb;   /* 清潔感のある明るいグレー */
  --pl-gray-100:  #f3f4f6;
  --pl-gray-200:  #e5e7eb;
  --pl-gray-400:  #9ca3af;
  --pl-gray-600:  #6b7280;
  --pl-gray-800:  #374151;
  --pl-gray-900:  #111827;   /* 本文テキスト：濃いグレー */

  /* ── CTA・アクセント ── */
  --pl-accent:    #1567b2;   /* CTAボタン：明確なブルー（主役） */
  --pl-gold:      #c8a84b;   /* ゴールド：節約額・実績ハイライト */
  --pl-success:   #1a9e5a;
  --pl-danger:    #e03a3a;
  --pl-warning:   #d97706;

  /* ── ブランド暗部（フッター・ヒーロー） ── */
  --pl-brand-dark:  #0e4a82;   /* ヒーロー・CTAセクション暗部（明るめネイビーブルー） */
  --pl-brand-mid:   #155ea0;   /* 中間暗部 */

  /* ── シャドウ（青みがかって高級感） ── */
  --pl-shadow-sm:  0 1px 4px rgba(24,120,194,.08);
  --pl-shadow:     0 4px 20px rgba(24,120,194,.10);
  --pl-shadow-lg:  0 12px 40px rgba(24,120,194,.14);
  --pl-shadow-xl:  0 20px 60px rgba(24,120,194,.16);

  --pl-radius-sm:  6px;
  --pl-radius:     12px;
  --pl-radius-lg:  20px;
  --pl-radius-xl:  32px;

  --pl-section:    clamp(72px, 10vw, 128px);
  --pl-container:  1200px;

  --pl-font:       'Noto Sans JP', system-ui, sans-serif;
  --pl-text-xs:    clamp(.875rem, 2vw, .9375rem);
  --pl-text-sm:    clamp(1rem, 2.5vw, 1.0625rem);
  --pl-text-base:  clamp(1.0625rem, 3vw, 1.125rem);
  --pl-text-lg:    clamp(1.1875rem, 3.5vw, 1.375rem);
  --pl-text-xl:    clamp(1.375rem, 4vw, 1.75rem);
  --pl-text-2xl:   clamp(1.75rem, 5vw, 2.375rem);
  --pl-text-3xl:   clamp(2.125rem, 6vw, 3rem);
  --pl-text-4xl:   clamp(2.5rem, 7vw, 4rem);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 17px;
}
body {
  font-family: var(--pl-font);
  font-size: var(--pl-text-base);
  color: var(--pl-gray-900);
  background: var(--pl-white);
  /* .pl-cta / .pl-footer の full-bleed（100vw + 負のmargin）が、環境によっては
     スクロールバー幅の分だけ横スクロールを発生させることがあるための保険 */
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
[id] { scroll-margin-top: 80px; }

/* ── Layout ────────────────────────────────────────────────── */
.pl-container {
  width: 100%;
  max-width: var(--pl-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.pl-container--narrow { max-width: 760px; }
.pl-container--wide   { max-width: 1400px; }

/* ── Section heading ───────────────────────────────────────── */
.pl-section-label {
  display: inline-block;
  font-size: var(--pl-text-xs);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  background: var(--pl-black);
  color: var(--pl-white);
  margin-bottom: 16px;
}
.pl-section-label--primary { background: var(--pl-primary); }
.pl-section-label--gold    { background: var(--pl-gold); }
.pl-section-label--white   { background: rgba(255,255,255,.15); color: var(--pl-white); }

.pl-section-title {
  font-size: var(--pl-text-3xl);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.pl-section-desc {
  font-size: var(--pl-text-base);
  color: var(--pl-gray-600);
  margin-top: 16px;
  font-weight: 500;
  line-height: 1.85;
}
.pl-section-head {
  text-align: center;
  margin-bottom: clamp(32px, 6vw, 56px);
}

/* ── Button ────────────────────────────────────────────────── */
.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pl-font);
  font-weight: 900;
  font-size: var(--pl-text-base);
  padding: 18px 32px;
  border-radius: var(--pl-radius);
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  line-height: 1;
  text-align: center;
  min-height: 60px;
  white-space: nowrap;
  text-decoration: none;
}
.pl-btn--primary {
  background: #f26522;
  color: var(--pl-white);
  box-shadow: 0 8px 24px rgba(242,101,34,.30);
}
.pl-btn--primary:hover { opacity: .92; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(242,101,34,.42); }
.pl-btn--secondary {
  background: transparent;
  color: var(--pl-white);
  border: 2px solid rgba(255,255,255,.4);
}
.pl-btn--secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.pl-btn--black { background: var(--pl-black); color: var(--pl-white); }
.pl-btn--black:hover { opacity: .85; transform: translateY(-2px); }
.pl-btn--outline {
  background: transparent; color: var(--pl-primary);
  border: 2px solid var(--pl-primary); font-weight: 700;
}
.pl-btn--outline:hover { background: var(--pl-primary-pale); }
.pl-btn--lg { font-size: var(--pl-text-lg); padding: 22px 48px; min-height: 70px; }
.pl-btn--full { width: 100%; }

/* ── Header ────────────────────────────────────────────────── */
.pl-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
/* 上段 */
.pl-header__top { border-bottom: 1px solid #e4ecf4; }
.pl-header__top-inner {
  display: flex; align-items: center;
  max-width: 1280px; margin: 0 auto;
  padding: 12px 40px; gap: 24px; height: 80px;
  /* box-sizing未指定だとpaddingがheightに加算され、実際の高さが
     ヘッダー分オフセット（.pl-promo-bar のmargin-top）の想定値とズレるため固定 */
  box-sizing: border-box;
}
.pl-header__logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.pl-header__icon { height: 46px; width: auto; }
.pl-header__logo-text {
  font-size: 1.3rem; font-weight: 900;
  color: var(--pl-primary); line-height: 1.1; letter-spacing: -.01em;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.pl-header__logo-text small {
  display: block; font-size: .65rem; font-weight: 600;
  color: var(--pl-gray-600); letter-spacing: .06em; margin-top: 2px;
}
.pl-header__tagline {
  flex: 1; font-size: .82rem; font-weight: 500;
  color: #000; white-space: nowrap;
}
.pl-header__contact { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.pl-header__tel { display: flex; align-items: center; gap: 6px; }
.pl-header__tel-icon { font-size: 1.1rem; color: var(--pl-primary); }
.pl-header__tel-body strong {
  display: block; font-size: 1.6rem; font-weight: 900;
  color: var(--pl-gray-900); letter-spacing: .02em; line-height: 1.1;
  white-space: nowrap;
}
.pl-header__tel-body small {
  font-size: .6rem; color: var(--pl-gray-600); line-height: 1.45; display: block;
}
.pl-header__mail-cta { display: block; flex-shrink: 0; }
.pl-header__mail-cta img { height: 52px; width: auto; display: block; }
/* 下段ナビ */
.pl-header__nav { background: #fff; }
.pl-header__nav-inner {
  display: flex; align-items: center; justify-content: center;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.pl-header__nav a {
  display: inline-flex; align-items: center;
  padding: 0 20px; height: 44px;
  font-size: .85rem; font-weight: 600; color: var(--pl-gray-700);
  text-decoration: none; white-space: nowrap;
  border-right: 1px solid #dde3ea;
  transition: color .2s, background .2s;
}
.pl-header__nav a:first-child { border-left: 1px solid #dde3ea; }
.pl-header__nav a:hover { color: var(--pl-primary); background: var(--pl-primary-pale); }

/* ── Hamburger button（PC: hidden / SP: visible） ─────────────── */
.pl-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.pl-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pl-gray-800);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.pl-header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pl-header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.pl-header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav overlay & drawer ─────────────────────────────── */
.pl-mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.pl-mobile-nav__drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: #fff;
  z-index: 1200;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 32px rgba(0,0,0,.14);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.pl-mobile-nav.is-open .pl-mobile-nav__overlay { opacity: 1; pointer-events: auto; }
.pl-mobile-nav.is-open .pl-mobile-nav__drawer  { transform: translateX(0); }

/* ── Drawer inner layout ──────────────────────────────────────── */
.pl-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pl-gray-200);
  flex-shrink: 0;
}
.pl-mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--pl-gray-100);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: var(--pl-gray-700);
  flex-shrink: 0;
  transition: background .2s;
}
.pl-mobile-nav__close:hover { background: var(--pl-gray-200); }
.pl-mobile-nav__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.pl-mobile-nav__nav a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--pl-gray-800);
  text-decoration: none;
  border-bottom: 1px solid var(--pl-gray-100);
  transition: background .15s, color .15s;
}
.pl-mobile-nav__nav a::after { content: '\203A'; margin-left: auto; font-size: 1.1rem; color: var(--pl-gray-400); }
.pl-mobile-nav__nav a:hover  { background: var(--pl-primary-pale); color: var(--pl-primary); }
.pl-mobile-nav__cta {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid var(--pl-gray-100);
  flex-shrink: 0;
}
.pl-mobile-nav__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 16px;
  background: var(--pl-gray-50);
  border: 1px solid var(--pl-gray-200);
  border-radius: var(--pl-radius);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--pl-gray-900);
}
.pl-mobile-nav__tel small { font-size: .65rem; font-weight: 500; color: var(--pl-gray-600); }

/* body scroll lock when nav is open */
body.pl-nav-open { overflow: hidden; }

/* ── SP header responsive（〜768px） ─────────────────────────── */
@media (max-width: 768px) {
  .pl-header__top-inner  { height: 60px; padding: 10px 16px; }
  .pl-header__tagline    { display: none; }
  .pl-header__contact    { display: none; }
  .pl-header__nav        { display: none; }
  .pl-header__hamburger  { display: flex; }
}


/* ── 都道府県ページ: SWELL ヘッダー/フッター非表示 ─────────── */
#body_wrap.pl-pref-override #header         { display: none !important; }
#body_wrap.pl-pref-override #sp_menu        { display: none !important; }
#body_wrap.pl-pref-override #prolabo-footer { display: none !important; }
#body_wrap.pl-pref-override .l-body,
#body_wrap.pl-pref-override .l-main {
  padding-top: 124px !important;
  margin-top: 0 !important;
}
@media (max-width: 768px) {
  #body_wrap.pl-pref-override .l-body,
  #body_wrap.pl-pref-override .l-main {
    padding-top: 60px !important;
  }
}

/* ── Diagnosis ─────────────────────────────────────────────── */
.pl-diagnosis {
  background: linear-gradient(180deg, var(--pl-primary-pale) 0%, var(--pl-white) 100%);
  padding: var(--pl-section) 0;
}
.pl-diagnosis__card {
  background: var(--pl-white);
  border-radius: var(--pl-radius-xl);
  box-shadow: var(--pl-shadow-lg);
  padding: clamp(24px, 6vw, 48px);
}
.pl-diag-progress { position: relative; margin-bottom: clamp(28px,5vw,44px); }
.pl-diag-progress__track {
  position: absolute; top: 12px; left: 0; right: 0;
  height: 4px; background: var(--pl-gray-200); border-radius: 2px;
}
.pl-diag-progress__bar {
  height: 4px; background: var(--pl-primary); border-radius: 2px;
  width: 25%; transition: width .4s cubic-bezier(.4,0,.2,1);
}
.pl-diag-progress__steps {
  display: flex; justify-content: space-between; position: relative; z-index: 1;
}
.pl-diag-step-label {
  font-size: var(--pl-text-xs); font-weight: 700; padding: 5px 12px;
  border-radius: 99px; background: var(--pl-gray-200); color: var(--pl-gray-600);
  transition: all .3s; white-space: nowrap;
}
.pl-diag-step-label.is-active {
  background: var(--pl-primary); color: var(--pl-white);
  box-shadow: 0 2px 8px rgba(24,120,194,.25);
}
.pl-diag-panel { display: none; }
.pl-diag-panel.is-active { display: block; animation: pl-fadein .4s ease forwards; }
@keyframes pl-fadein {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
.pl-diag-panel h3 {
  font-size: var(--pl-text-lg); font-weight: 900;
  margin: 28px 0 12px; line-height: 1.4; color: var(--pl-gray-900);
  display: flex; align-items: center; gap: 8px;
}
.pl-diag-panel h3::before {
  content: '';
  width: 4px; height: 1.2em; background: var(--pl-primary);
  border-radius: 2px; flex-shrink: 0; display: inline-block;
}
.pl-diag-panel h3:first-child { margin-top: 0; }
.pl-diag-group { margin-bottom: 24px; }
.pl-diag-group--split { display: flex; gap: 12px; }
.pl-diag-group--split > div { flex: 1 1 0; min-width: 0; }
.pl-diag-label { display: block; font-weight: 700; margin-bottom: 10px; font-size: var(--pl-text-sm); }
.pl-req {
  display: inline-block; background: var(--pl-danger); color: var(--pl-white);
  font-size: .675rem; padding: 2px 7px; border-radius: 4px;
  margin-left: 7px; vertical-align: middle; font-weight: 700;
}
.pl-opt {
  display: inline-block; background: #f0fdf4; color: #15803d;
  border: 1px solid #86efac;
  font-size: .675rem; padding: 2px 7px; border-radius: 4px;
  margin-left: 7px; vertical-align: middle; font-weight: 700;
}
.pl-diag-input {
  width: 100%; padding: 15px 16px;
  border: 2px solid var(--pl-gray-200); border-radius: var(--pl-radius);
  font-size: 16px; font-family: var(--pl-font); background: #fafafa;
  color: var(--pl-gray-900); transition: border-color .2s, box-shadow .2s; appearance: none;
}
.pl-diag-input:focus {
  outline: none; border-color: var(--pl-primary);
  background: var(--pl-white); box-shadow: 0 0 0 4px var(--pl-primary-light);
}
.pl-diag-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.pl-diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.pl-diag-grid--sm { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.pl-diag-radio { cursor: pointer; display: block; }
.pl-diag-radio input { display: none; }
.pl-diag-radio span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: 64px; padding: 14px 10px;
  background: var(--pl-white); border: 2px solid var(--pl-gray-200);
  border-radius: var(--pl-radius); font-weight: 700; font-size: var(--pl-text-sm);
  color: var(--pl-gray-700); text-align: center;
  transition: all .22s cubic-bezier(.4,0,.2,1); position: relative; user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.pl-diag-radio span:hover { border-color: var(--pl-primary-mid); background: var(--pl-primary-pale); }
.pl-diag-radio input:checked + span {
  border-color: var(--pl-primary); background: var(--pl-primary-light);
  color: var(--pl-primary); box-shadow: 0 0 0 3px rgba(24,120,194,.12), 0 2px 8px rgba(24,120,194,.12);
}
.pl-diag-radio input:checked + span::after {
  content: '✓'; position: absolute; top: 6px; right: 8px;
  width: 18px; height: 18px; background: var(--pl-primary); color: var(--pl-white);
  border-radius: 50%; font-size: .6rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.pl-diag-checks { display: grid; gap: 10px; }
.pl-diag-check {
  display: flex; align-items: center; gap: 14px;
  background: var(--pl-white); border: 2px solid var(--pl-gray-200);
  border-radius: var(--pl-radius); padding: 18px 16px; cursor: pointer;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.pl-diag-check:hover { border-color: var(--pl-primary-mid); background: var(--pl-primary-pale); }
.pl-diag-check:has(input:checked) { border-color: var(--pl-primary); background: var(--pl-primary-light); }
.pl-diag-check input[type="checkbox"] {
  width: 22px; height: 22px; accent-color: var(--pl-primary); flex-shrink: 0; cursor: pointer;
}
.pl-diag-check span { font-weight: 700; font-size: var(--pl-text-sm); color: var(--pl-gray-900); }
.pl-diag-geo { font-size: var(--pl-text-sm); font-weight: 700; color: var(--pl-primary); margin-top: 8px; min-height: 22px; }
.pl-diag-note { font-size: var(--pl-text-xs); color: var(--pl-gray-600); margin-top: 8px; font-weight: 500; }

/* --- 検針票ガイド（TOPページ かんたん診断） --- */
.pl-diag-bill-guide { margin: 4px 0 0; }
.pl-diag-bill-guide__toggle {
  list-style: none; display: inline-block; cursor: pointer;
  font-size: var(--pl-text-xs); font-weight: 800;
  color: var(--pl-primary-dark); text-decoration: underline;
  text-underline-offset: 2px; user-select: none;
}
.pl-diag-bill-guide__toggle::-webkit-details-marker { display: none; }
.pl-diag-bill-guide[open] .pl-diag-bill-guide__toggle { color: var(--pl-primary); }
.pl-diag-bill-guide__panel {
  margin-top: 8px; background: #fff;
  border: 1px solid rgba(24,120,194,.22); border-radius: var(--pl-radius);
  padding: 14px;
}
.pl-diag-bill-guide__title { font-size: .92rem; font-weight: 900; color: var(--pl-gray-900); margin: 0 0 6px; }
.pl-diag-bill-guide__desc { font-size: .83rem; color: var(--pl-gray-600); margin: 0 0 10px; line-height: 1.6; }

/* サンプル検針票 */
.pl-sample-bill { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.pl-sample-bill__header { background: #e2e8f0; font-size: .78rem; font-weight: 900; color: #475569; padding: 5px 10px; text-align: center; letter-spacing: .03em; }
.pl-sample-bill__table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.pl-sample-bill__table td { padding: 7px 10px; border-bottom: 1px solid #e2e8f0; color: #334155; }
.pl-sample-bill__table tr:last-child td { border-bottom: none; }
.pl-sample-bill__val--blue { font-weight: 900; color: #1d4ed8; background: #eff6ff; border-left: 3px solid #3b82f6; font-size: .9rem; }
.pl-sample-bill__val--orange { font-weight: 900; color: #c2410c; background: #fff7ed; border-left: 3px solid #f97316; font-size: .9rem; }
.pl-sample-bill__sub td { color: #94a3b8; font-size: .78rem; }

/* 番号付きポイント */
.pl-bill-point { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 8px; margin-bottom: 8px; }
.pl-bill-point--blue { background: #eff6ff; }
.pl-bill-point--orange { background: #fff7ed; }
.pl-bill-point__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #3b82f6; color: #fff; font-size: 11px; font-weight: 900;
  flex-shrink: 0; margin-top: 2px;
}
.pl-bill-point__num--orange { background: #f97316; }
.pl-bill-point__name { font-size: .88rem; font-weight: 900; color: var(--pl-gray-900); margin-bottom: 2px; }
.pl-bill-point__eg { font-size: .8rem; font-weight: 800; color: #1d4ed8; margin-bottom: 2px; }
.pl-bill-point--orange .pl-bill-point__eg { color: #c2410c; }
.pl-bill-point__alias { font-size: .79rem; color: var(--pl-gray-600); line-height: 1.5; }
.pl-bill-guide__notes {
  margin: 8px 0 0; padding: 7px 10px 7px 22px;
  font-size: .78rem; color: var(--pl-gray-600);
  background: #f8fafc; border-radius: 6px; border: 1px solid #e2e8f0; line-height: 1.7;
}
.pl-diag-result {
  background: linear-gradient(135deg, var(--pl-primary-pale), var(--pl-primary-light));
  border: 3px solid var(--pl-primary); border-radius: var(--pl-radius-lg);
  padding: clamp(24px,5vw,40px); text-align: center; margin-bottom: 28px;
}
.pl-diag-result__number {
  font-size: clamp(3rem,10vw,5rem); font-weight: 900; color: var(--pl-accent);
  letter-spacing: -.03em; line-height: 1;
}
.pl-diag-result__unit { font-size: var(--pl-text-xl); font-weight: 900; color: var(--pl-gray-900); }
.pl-diag-result__rank { color: var(--pl-primary-dark); font-size: 1.05em; font-weight: 900; }
.pl-diag-result__desc { font-size: var(--pl-text-sm); color: var(--pl-gray-600); margin-top: 12px; font-weight: 500; }
.pl-diag-lead {
  font-size: var(--pl-text-sm); font-weight: 700; color: var(--pl-primary);
  padding: 16px; background: var(--pl-primary-light); border-radius: var(--pl-radius);
  margin-bottom: 20px; line-height: 1.65;
}
.pl-diag-actions {
  display: flex; justify-content: flex-end; gap: 12px;
  margin-top: clamp(24px,5vw,40px);
}
.pl-diag-actions--split { justify-content: space-between; }
.pl-diag-btn-prev {
  font-family: var(--pl-font); background: var(--pl-gray-100); color: var(--pl-gray-600);
  font-weight: 700; font-size: var(--pl-text-sm); padding: 16px 24px;
  border-radius: var(--pl-radius); border: none; cursor: pointer; min-height: 56px; transition: background .2s;
}
.pl-diag-btn-prev:hover { background: var(--pl-gray-200); }
.pl-diag-btn-next, .pl-diag-btn-submit {
  font-family: var(--pl-font); background: var(--pl-primary); color: var(--pl-white);
  font-weight: 900; font-size: var(--pl-text-base); padding: 18px 32px;
  border-radius: var(--pl-radius); border: none; cursor: pointer; min-height: 60px;
  transition: opacity .2s, transform .2s; flex: 1;
  box-shadow: 0 4px 12px rgba(24,120,194,.2);
}
.pl-diag-btn-next:hover, .pl-diag-btn-submit:hover { opacity: .92; transform: translateY(-2px); }
.pl-diag-btn-next--cta, .pl-diag-btn-submit { background: var(--pl-accent); box-shadow: 0 6px 20px rgba(21,103,178,.28); }
.pl-diag-btn-next:disabled { opacity:.35; cursor:not-allowed; transform:none; box-shadow:none; }
@media (max-width: 768px) {
  .pl-diag-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pl-diag-progress__steps { gap: 4px; }
  .pl-diag-step-label { padding: 4px 7px; font-size: .6rem; }
  .pl-diag-grid { grid-template-columns: 1fr; }
  .pl-diag-grid--sm { grid-template-columns: repeat(2, 1fr); }
  .pl-diag-actions--split { flex-direction: column-reverse; gap: 8px; }
  .pl-diag-btn-prev { min-height: 50px; }
}
/* 2026-08-06：320px幅では、5個のステップピル（white-space:nowrap）を
   縮小フォント（.55rem、下の480pxブロック参照）でも横一列に収めきれず、
   ページ全体の横スクロールが発生していた（今回の診断結果UI統一作業とは
   別コンポーネントだが、SP要件「横スクロールなし」に含まれるため合わせて
   修正）。文字をさらに縮小する対応は禁止されているため、ステップ行自体を
   独立した横スクロール領域にする（overflow-x:hiddenで中身を隠すのではなく、
   スクロールで全ステップに到達できる状態を維持する）。ページ本体・カード・
   比較トグル等、他要素の横スクロールには影響しない。 */
@media (max-width: 380px) {
  .pl-diag-progress__steps {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .pl-diag-progress__steps::-webkit-scrollbar { display: none; }
  .pl-diag-step-label { flex-shrink: 0; }
}


/* ── Footer ────────────────────────────────────────────────── */
/* full-bleed：SWELL標準テンプレート（.l-container 等の幅制限コンテナ）の内側に
   注入された場合でも、親の幅制限を突破してフルワイド表示するための処理。
   TOP等の完全独自テンプレート（幅制限コンテナが存在しない）でも数式上は無害。 */
.pl-footer {
  background: var(--pl-brand-dark); color: rgba(255,255,255,.5); padding: 48px 0 32px;
  position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
}
.pl-footer__inner { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
.pl-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.pl-footer__logo { font-size: 1.2rem; font-weight: 900; color: var(--pl-white); }
.pl-footer__tagline { font-size: var(--pl-text-xs); font-weight: 500; line-height: 1.65; }
.pl-footer__nav-title { font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-white); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.pl-footer__nav-list { display: flex; flex-direction: column; gap: 8px; }
.pl-footer__nav-list a { font-size: var(--pl-text-xs); font-weight: 500; color: rgba(255,255,255,.5); transition: color .2s; }
.pl-footer__nav-list a:hover { color: var(--pl-white); }
.pl-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; font-size: var(--pl-text-xs);
}
.pl-footer__links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.pl-footer__links a { color: rgba(255,255,255,.35); font-size: var(--pl-text-xs); transition: color .2s; }
.pl-footer__links a:hover { color: var(--pl-white); }
@media (min-width: 768px) {
  .pl-footer__inner { grid-template-columns: 2fr 1fr; }
  .pl-footer__bottom { flex-direction: row; justify-content: center; text-align: center; }
}

/* ── Sticky CTA ────────────────────────────────────────────── */
.pl-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--pl-white); border-top: 1px solid var(--pl-gray-200);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  transform: translateY(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.pl-sticky-cta.is-visible { transform: translateY(0); }
.pl-sticky-cta__text { font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-gray-600); display: none; white-space: nowrap; }
.pl-sticky-cta .pl-btn { font-size: var(--pl-text-sm); padding: 14px 24px; min-height: 50px; width: 100%; max-width: 480px; }
@media (min-width: 640px) {
  .pl-sticky-cta__text { display: block; }
  .pl-sticky-cta .pl-btn { width: auto; max-width: none; }
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.pl-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: var(--pl-text-xs); color: var(--pl-gray-600); flex-wrap: wrap; }
.pl-breadcrumb a { color: var(--pl-gray-600); text-decoration: underline; }
.pl-breadcrumb a:hover { color: var(--pl-gray-900); }
.pl-breadcrumb__sep { color: var(--pl-gray-400); }

/* ── Prefecture page ───────────────────────────────────────── */
.pl-pref-hero {
  background: linear-gradient(160deg, var(--pl-brand-dark) 0%, var(--pl-brand-mid) 100%);
  color: var(--pl-white);
  padding: clamp(48px,8vw,80px) 0;
}
.pl-pref-hero .pl-breadcrumb { margin-bottom: 16px; }
.pl-pref-hero .pl-breadcrumb, .pl-pref-hero .pl-breadcrumb a { color: rgba(255,255,255,.45); }
.pl-pref-hero .pl-breadcrumb a:hover { color: var(--pl-white); }
.pl-pref-hero__h1 { font-size: var(--pl-text-3xl); font-weight: 900; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 16px; }
.pl-pref-hero__sub { font-size: var(--pl-text-base); color: rgba(255,255,255,.7); font-weight: 500; max-width: 620px; line-height: 1.7; }

/* Trend stats */
.pl-trend { padding: var(--pl-section) 0; background: var(--pl-white); }
.pl-trend__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 36px; }
.pl-trend__stat {
  background: var(--pl-gray-50); border-radius: var(--pl-radius-lg);
  padding: clamp(16px,3vw,24px); border: 1px solid var(--pl-gray-200);
}
.pl-trend__stat-label { font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-gray-600); margin-bottom: 6px; letter-spacing: .05em; }
.pl-trend__stat-val { font-size: var(--pl-text-2xl); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.pl-trend__stat-val span { font-size: var(--pl-text-sm); font-weight: 700; margin-left: 2px; }
.pl-trend__stat-note { font-size: var(--pl-text-xs); color: var(--pl-gray-600); margin-top: 4px; font-weight: 500; }
@media (min-width: 768px) { .pl-trend__stats { grid-template-columns: repeat(4, 1fr); } }

/* Bar chart */
.pl-chart {
  background: var(--pl-gray-50); border-radius: var(--pl-radius-lg);
  padding: clamp(20px,4vw,32px); border: 1px solid var(--pl-gray-200);
}
.pl-chart__title { font-size: var(--pl-text-base); font-weight: 700; margin-bottom: 24px; }
.pl-chart__bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.pl-chart__bar-group {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; height: 100%; justify-content: flex-end; gap: 4px;
}
.pl-chart__bar { width: 100%; border-radius: 4px 4px 0 0; transition: opacity .2s; }
.pl-chart__bar--user    { background: #fca5a5; }
.pl-chart__bar--avg     { background: var(--pl-gray-400); }
.pl-chart__bar--fair    { background: var(--pl-primary); }
.pl-chart__bar--prolabo { background: var(--pl-accent); }
.pl-chart__bar-val { font-size: .65rem; font-weight: 700; color: var(--pl-gray-600); text-align: center; white-space: nowrap; }
.pl-chart__bar-label { font-size: .6rem; font-weight: 700; color: var(--pl-gray-600); text-align: center; white-space: nowrap; }
.pl-chart__legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.pl-chart__legend-item { display: flex; align-items: center; gap: 6px; font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-gray-800); }
.pl-chart__legend-dot { width: 12px; height: 12px; border-radius: 3px; }

/* City section */
.pl-city-section { padding: var(--pl-section) 0; background: var(--pl-gray-50); }
.pl-city-section__grid { display: grid; grid-template-columns: 1fr; gap: clamp(12px,2vw,16px); }
.pl-city-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--pl-white); border: 1px solid var(--pl-gray-200);
  border-radius: var(--pl-radius-lg); padding: 18px 22px;
  text-decoration: none; color: var(--pl-gray-900); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pl-city-card:hover { border-color: var(--pl-primary); box-shadow: var(--pl-shadow); transform: translateY(-2px); }
.pl-city-card__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pl-primary-light); color: var(--pl-primary);
  font-weight: 900; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pl-city-card__body { flex: 1; min-width: 0; }
.pl-city-card__name { font-size: var(--pl-text-base); font-weight: 900; margin-bottom: 2px; }
.pl-city-card__avg { font-size: var(--pl-text-xs); color: var(--pl-gray-600); font-weight: 500; }
.pl-city-card__arrow { color: var(--pl-gray-400); font-size: 1.25rem; flex-shrink: 0; }
@media (min-width: 640px)  { .pl-city-section__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pl-city-section__grid { grid-template-columns: repeat(3, 1fr); } }

/* City table */
.pl-city-list { padding: var(--pl-section) 0; background: var(--pl-white); }
.pl-city-table-wrap { overflow-x: auto; border-radius: var(--pl-radius-lg); border: 1px solid var(--pl-gray-200); }
.pl-city-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.pl-city-table th {
  background: var(--pl-brand-mid); color: var(--pl-white); font-size: var(--pl-text-xs);
  font-weight: 700; padding: 14px 16px; text-align: left; letter-spacing: .05em; white-space: nowrap;
}
.pl-city-table td { padding: 14px 16px; font-size: var(--pl-text-sm); font-weight: 500; border-bottom: 1px solid var(--pl-gray-100); vertical-align: middle; }
.pl-city-table tr:last-child td { border-bottom: none; }
.pl-city-table tr:hover td { background: var(--pl-gray-50); }
.pl-city-table__name { font-weight: 700; }
.pl-city-table__name a { color: var(--pl-primary); text-decoration: underline; }
.pl-city-table__price { font-weight: 900; font-size: var(--pl-text-base); }
.pl-city-table__diff { font-weight: 700; font-size: var(--pl-text-xs); color: var(--pl-danger); }
.pl-city-table__badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: .675rem; font-weight: 700;
  padding: 3px 8px; border-radius: 99px; background: var(--pl-gray-100); color: var(--pl-gray-600);
}
.pl-city-table__badge--high { background: #fee2e2; color: #dc2626; }
.pl-city-table__badge--mid  { background: #fef3c7; color: #d97706; }
.pl-city-table__badge--low  { background: #dcfce7; color: #16a34a; }

/* ── City LP ───────────────────────────────────────────────── */
.pl-city-hero {
  background: linear-gradient(160deg, var(--pl-brand-dark) 0%, var(--pl-brand-mid) 100%);
  color: var(--pl-white);
  padding: clamp(48px,8vw,80px) 0 0; overflow: hidden;
}
.pl-city-hero .pl-breadcrumb { margin-bottom: 16px; }
.pl-city-hero .pl-breadcrumb, .pl-city-hero .pl-breadcrumb a { color: rgba(255,255,255,.45); }
.pl-city-hero .pl-breadcrumb a:hover { color: var(--pl-white); }
.pl-city-hero__h1 { font-size: var(--pl-text-3xl); font-weight: 900; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 12px; }
.pl-city-hero__keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pl-city-hero__kw {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  border-radius: 99px; padding: 4px 12px; font-size: var(--pl-text-xs); font-weight: 700; color: rgba(255,255,255,.72);
}
.pl-city-hero__sub { font-size: var(--pl-text-base); color: rgba(255,255,255,.7); font-weight: 500; max-width: 640px; margin-bottom: 32px; line-height: 1.7; }
.pl-city-hero__price-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 28px 0; }
.pl-city-hero__price-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--pl-radius); padding: 16px; text-align: center;
}
.pl-city-hero__price-label { font-size: var(--pl-text-xs); font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 4px; letter-spacing: .05em; }
.pl-city-hero__price-val { font-size: var(--pl-text-2xl); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.pl-city-hero__price-val--gold { color: var(--pl-gold); }
.pl-city-hero__price-val--accent { color: #f87171; }
.pl-city-hero__price-note { font-size: var(--pl-text-xs); color: rgba(255,255,255,.38); margin-top: 4px; }
@media (min-width: 640px) { .pl-city-hero__price-band { grid-template-columns: repeat(4, 1fr); } }

/* Why */
.pl-why { padding: var(--pl-section) 0; background: var(--pl-white); }
.pl-why__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pl-why__item {
  background: var(--pl-gray-50); border-radius: var(--pl-radius-lg);
  padding: clamp(20px,4vw,32px); border-left: 4px solid var(--pl-primary);
}
.pl-why__num { font-size: var(--pl-text-xs); font-weight: 900; color: var(--pl-primary); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.pl-why__title { font-size: var(--pl-text-lg); font-weight: 900; margin-bottom: 8px; line-height: 1.35; }
.pl-why__desc { font-size: var(--pl-text-sm); color: var(--pl-gray-600); font-weight: 500; line-height: 1.75; }
@media (min-width: 768px) { .pl-why__grid { grid-template-columns: repeat(2, 1fr); } }

/* Nearby */
.pl-nearby { padding: var(--pl-section) 0; background: var(--pl-gray-50); }
.pl-nearby__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pl-nearby__link {
  display: flex; align-items: center; gap: 8px;
  background: var(--pl-white); border: 1px solid var(--pl-gray-200);
  border-radius: var(--pl-radius); padding: 14px 18px;
  font-size: var(--pl-text-sm); font-weight: 700; color: var(--pl-gray-800);
  transition: border-color .2s, color .2s, background .2s; text-decoration: none;
}
.pl-nearby__link:hover { border-color: var(--pl-primary); color: var(--pl-primary); background: var(--pl-primary-light); }
.pl-nearby__link::before { content: '›'; color: var(--pl-primary); }
@media (min-width: 640px)  { .pl-nearby__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pl-nearby__grid { grid-template-columns: repeat(4, 1fr); } }

/* Price table */
.pl-price-table {
  padding: var(--pl-section) 0;
  background: var(--pl-gray-50);
}
.pl-price-table__wrap { overflow-x: auto; border-radius: var(--pl-radius-lg); border: 2px solid var(--pl-gray-200); }
.pl-price-table table { width: 100%; border-collapse: collapse; min-width: 440px; }
.pl-price-table th {
  background: var(--pl-gray-100); font-size: var(--pl-text-xs); font-weight: 700;
  padding: 14px 20px; text-align: center; color: var(--pl-gray-600); border-bottom: 2px solid var(--pl-gray-200);
}
.pl-price-table td { padding: 18px 20px; font-size: var(--pl-text-base); text-align: center; border-bottom: 1px solid var(--pl-gray-100); }
.pl-price-table tr:last-child td { border-bottom: none; }
.pl-price-table__row-label { font-weight: 700; text-align: left !important; }
.pl-price-table__price { font-weight: 900; font-size: var(--pl-text-xl); letter-spacing: -.01em; }
.pl-price-table__best { background: var(--pl-primary-light); }
.pl-price-table__best .pl-price-table__price { color: var(--pl-accent); }
.pl-price-table__note { font-size: var(--pl-text-xs); color: var(--pl-gray-600); margin-top: 12px; font-weight: 500; line-height: 1.7; }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.pl-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.pl-reveal.is-visible { opacity: 1; transform: translateY(0); }
.pl-reveal-d1 { transition-delay: .08s; }
.pl-reveal-d2 { transition-delay: .16s; }
.pl-reveal-d3 { transition-delay: .24s; }
.pl-reveal-d4 { transition-delay: .32s; }

/* ── Household Price Table (city page) ─────────────────────── */
.pl-price-guide { background: var(--pl-white); padding: var(--pl-section) 0; }
.pl-hh-table-wrap { overflow-x: auto; border-radius: var(--pl-radius-lg); border: 1.5px solid var(--pl-gray-200); margin-bottom: 16px; }
.pl-hh-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.pl-hh-table th {
  background: var(--pl-brand-mid); color: var(--pl-white);
  font-size: var(--pl-text-xs); font-weight: 700; padding: 14px 16px;
  text-align: center; white-space: nowrap;
}
.pl-hh-table th:first-child { text-align: left; }
.pl-hh-table td { padding: 16px; font-size: var(--pl-text-sm); border-bottom: 1px solid var(--pl-gray-100); text-align: center; }
.pl-hh-table td:first-child { text-align: left; font-weight: 700; }
.pl-hh-table tr:last-child td { border-bottom: none; }
.pl-hh-table tr:hover td { background: var(--pl-gray-50); }
.pl-hh-table__row--highlight td { background: var(--pl-primary-pale); }
.pl-hh-table__row--highlight:hover td { background: var(--pl-primary-light); }
.pl-hh-table__price { font-weight: 900; color: var(--pl-danger); }
.pl-hh-table__fair  { font-weight: 700; color: var(--pl-primary); }
.pl-hh-table__ideal { font-weight: 900; color: var(--pl-success); }
.pl-hh-table__num   { font-weight: 500; color: var(--pl-gray-600); }
.pl-hh-table__tag {
  display: inline-block; font-size: .65rem; font-weight: 700;
  background: var(--pl-accent); color: var(--pl-white);
  padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: middle;
}
.pl-hh-table__note { font-size: var(--pl-text-xs); color: var(--pl-gray-500); font-weight: 500; line-height: 1.7; margin-bottom: 40px; }

/* Price Structure breakdown */
.pl-price-structure { background: var(--pl-primary-pale); border-radius: var(--pl-radius-xl); padding: clamp(24px,4vw,40px); margin-top: 16px; }
.pl-price-structure__title { font-size: var(--pl-text-xl); font-weight: 900; margin-bottom: 24px; color: var(--pl-gray-900); }
.pl-price-structure__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 12px; align-items: center;
}
@media (min-width: 640px) {
  .pl-price-structure__grid { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; }
}
.pl-price-structure__item {
  background: var(--pl-white); border-radius: var(--pl-radius-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--pl-shadow-sm); border: 1px solid var(--pl-gray-200);
}
.pl-price-structure__item--plus,
.pl-price-structure__item--eq {
  background: none; border: none; box-shadow: none; padding: 0;
  align-items: center; justify-content: center; font-size: 1.75rem;
  font-weight: 900; color: var(--pl-gray-400);
}
.pl-price-structure__item--result { border-color: var(--pl-primary); background: var(--pl-primary-light); }
.pl-price-structure__icon { font-size: 1.5rem; }
.pl-price-structure__name { font-size: var(--pl-text-sm); font-weight: 900; color: var(--pl-gray-900); }
.pl-price-structure__val { font-size: var(--pl-text-sm); font-weight: 700; color: var(--pl-gray-700); line-height: 1.5; }
.pl-price-structure__desc { font-size: var(--pl-text-xs); color: var(--pl-gray-600); font-weight: 500; line-height: 1.65; }

/* ── Annual Savings Highlight Block ────────────────────────── */
.pl-saving-highlight {
  background: linear-gradient(135deg, #0e4a82 0%, #1878c2 60%, #2d8fd4 100%);
  border-radius: var(--pl-radius-xl); padding: clamp(28px,6vw,56px);
  color: var(--pl-white); margin: 0; position: relative; overflow: hidden;
}
.pl-saving-highlight::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 90% 20%, rgba(255,255,255,.08) 0%, transparent 55%);
  pointer-events: none;
}
.pl-saving-highlight__inner { position: relative; z-index: 1; }
.pl-saving-highlight__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 640px) { .pl-saving-highlight__grid { grid-template-columns: 1fr 1fr; } }
.pl-saving-highlight__label { font-size: var(--pl-text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.pl-saving-highlight__amount {
  font-size: clamp(3rem,10vw,5rem); font-weight: 900; color: var(--pl-gold);
  letter-spacing: -.04em; line-height: 1;
}
.pl-saving-highlight__unit { font-size: var(--pl-text-lg); font-weight: 700; color: rgba(255,255,255,.8); margin-top: 4px; }
.pl-saving-highlight__items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pl-saving-highlight__item {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--pl-radius); padding: 14px 16px;
}
.pl-saving-highlight__item-label { font-size: var(--pl-text-xs); color: rgba(255,255,255,.55); font-weight: 500; margin-bottom: 4px; }
.pl-saving-highlight__item-val { font-size: var(--pl-text-xl); font-weight: 900; color: var(--pl-white); letter-spacing: -.02em; }

/* ── Trust Badge Row ────────────────────────────────────────── */
.pl-trust-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding: 20px 0; margin: clamp(16px,3vw,24px) 0 0;
}
.pl-trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-gray-700);
  background: var(--pl-white); border: 1.5px solid var(--pl-gray-200);
  border-radius: 99px; padding: 7px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.pl-trust-badge::before { content: '✓'; color: var(--pl-success); font-size: .875rem; }

/* ── CSS-only placeholders (画像なしモック) ────────────────── */
.pl-subsidy__head {
  background: var(--pl-primary-light);
  height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; line-height: 1;
  border-bottom: 1px solid var(--pl-gray-200);
}
.pl-voices__head {
  background: var(--pl-primary-light);
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem; line-height: 1;
  border-bottom: 1px solid var(--pl-gray-200);
}
.pl-flow__icon {
  width: 48px; height: 48px; border-radius: var(--pl-radius);
  flex-shrink: 0; background: var(--pl-primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; line-height: 1;
}
.pl-area__map-css {
  background: var(--pl-gray-50); border: 2px solid var(--pl-gray-200);
  border-radius: var(--pl-radius-lg);
  display: flex; align-items: center; justify-content: center;
  min-height: 280px; padding: 40px 24px; text-align: center;
}
.pl-area__map-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pl-area__map-icon { font-size: 4rem; line-height: 1; }
.pl-area__map-title { font-size: var(--pl-text-xl); font-weight: 900; color: var(--pl-gray-900); line-height: 1.4; }
.pl-area__map-stats {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin-top: 4px;
}
.pl-area__map-stat {
  background: var(--pl-white); border: 1px solid var(--pl-gray-200);
  border-radius: var(--pl-radius); padding: 8px 16px;
  font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-primary);
}

/* ── Diagnosis Rank System ─────────────────────────────────────── */
.pl-diag-rank {
  display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px;
  width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.pl-diag-rank__letter { font-size: 1.875rem; font-weight: 900; line-height: 1; }
.pl-diag-rank__label  { font-size: .5rem; letter-spacing: .08em; font-weight: 700; opacity: .85; }
.pl-diag-rank--A { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: #fff; }
.pl-diag-rank--B { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); color: #fff; }
.pl-diag-rank--C { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); color: #fff; }
.pl-diag-rank--D { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: #fff; }

/* ── Diagnosis Dashboard ────────────────────────────────────────── */
.pl-diag-dashboard { display: grid; gap: 12px; animation: pl-fadein .4s ease forwards; }
.pl-diag-dash-header {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--pl-gray-50); border-radius: var(--pl-radius-lg);
  padding: 20px; border: 1px solid var(--pl-gray-200);
}
.pl-diag-dash-info { flex: 1; min-width: 0; }
.pl-diag-dash-rank-label { font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-gray-400); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.pl-diag-dash-rank-title { font-size: var(--pl-text-lg); font-weight: 900; line-height: 1.3; color: var(--pl-gray-900); }
.pl-diag-dash-rank-desc { font-size: var(--pl-text-sm); color: var(--pl-gray-600); margin-top: 6px; font-weight: 500; line-height: 1.65; }
.pl-diag-meter { padding: 0 2px; }
.pl-diag-meter__track {
  height: 10px; border-radius: 5px; overflow: hidden; position: relative;
  background: linear-gradient(90deg, #22c55e 0%, #86efac 20%, #fde047 45%, #f97316 70%, #ef4444 100%);
}
.pl-diag-meter__fill {
  position: absolute; top: 0; right: 0; height: 100%;
  background: rgba(255,255,255,.65); transition: width .9s cubic-bezier(.4,0,.2,1);
  border-radius: 0 5px 5px 0;
}
.pl-diag-meter__labels { display: flex; justify-content: space-between; font-size: .625rem; color: var(--pl-gray-400); margin-top: 6px; font-weight: 500; }

/* ── PC（1024px〜）専用の診断結果レイアウト調整 ──
   768px以下・320〜430pxのSPレイアウトは一切変更しない。1024px以上でのみ、
   診断カードの横幅を広げて、現在のお支払い/プロラボ価格の比較表示や
   補足文が窮屈に折り返さないようにする。診断ロジック・GA4・SEO・PHPは無関係。
   2026-08-06：常時表示の4枚カード（現在/地域平均/適正価格/プロラボ）は
   トップ・地域ページ統一の改修で廃止したため、カード専用のgrid/padding/
   font-size調整は削除。コンテナ幅拡大とダッシュボード縦間隔の調整のみ残す。 */
@media (min-width: 1024px) {
  /* .pl-container--narrow は診断フォーム（front-page.php／city_template.php／
     area-page-template.php の各 .pl-diagnosis セクション）専用のクラスであることを
     確認済み。他セクションでは使われていないため、ここで広げても診断フォーム以外へ
     影響しない。 */
  .pl-diagnosis .pl-container--narrow { max-width: 1140px; }

  /* ヒーロー（年間節約額）〜比較トグルの縦間隔を、拡幅後の横幅に
     見合うようわずかに広げてバランスを取る（12px→18px）。 */
  .pl-diag-dashboard { gap: 18px; }
}

/* ── 判定タイトルの色（本文と同じ判定結果から生成。バッジ文字は使わない）── */
.pl-diag-dash-rank-title--red    { color: #dc2626; }
.pl-diag-dash-rank-title--orange { color: #ea580c; }
.pl-diag-dash-rank-title--amber  { color: #d97706; }
.pl-diag-dash-rank-title--green  { color: #15803d; }

/* ── 年間削減額（診断結果表示と同時に必ず見える。結果画面内で最も大きく目立つ数字）── */
.pl-diag-annual { border-radius: var(--pl-radius-lg); padding: 18px 20px 20px; text-align: center; border: 1.5px solid; }
.pl-diag-annual--red    { background: #fef2f2; border-color: #fecaca; }
.pl-diag-annual--orange { background: #fff7ed; border-color: #fed7aa; }
.pl-diag-annual--amber  { background: #fffbeb; border-color: #fde68a; }
.pl-diag-annual--green  { background: #f0fdf4; border-color: #bbf7d0; }
.pl-diag-annual__lead  { font-size: var(--pl-text-sm); font-weight: 700; color: var(--pl-gray-600); margin: 0 0 2px; }
.pl-diag-annual__label { font-size: var(--pl-text-base); font-weight: 800; color: var(--pl-gray-600); margin: 0; }
.pl-diag-annual__value { font-size: clamp(2.6rem, 12vw, 3.6rem); font-weight: 900; line-height: 1.05; margin: 2px 0 0; }
.pl-diag-annual__unit  { font-size: .42em; font-weight: 800; margin-left: 3px; }
.pl-diag-annual__caption { font-size: var(--pl-text-base); font-weight: 700; margin: 4px 0 0; }
.pl-diag-annual--red    .pl-diag-annual__value, .pl-diag-annual--red    .pl-diag-annual__caption { color: #dc2626; }
.pl-diag-annual--orange .pl-diag-annual__value, .pl-diag-annual--orange .pl-diag-annual__caption { color: #ea580c; }
.pl-diag-annual--amber  .pl-diag-annual__value, .pl-diag-annual--amber  .pl-diag-annual__caption { color: #d97706; }
.pl-diag-annual--green  .pl-diag-annual__value, .pl-diag-annual--green  .pl-diag-annual__caption { color: #16a34a; }
.pl-diag-annual__monthly {
  font-size: var(--pl-text-sm); font-weight: 600; color: var(--pl-gray-600);
  margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed rgba(17,24,39,.08);
}
/* ── 年間節約額・見直せる可能性の直下に添える注記（2026-08-06追加） ── */
.pl-diag-annual__disclaimer { font-size: .68rem; font-weight: 500; color: var(--pl-gray-400); margin: 8px 0 0; line-height: 1.5; }
.pl-diag-annual--neutral { padding: 20px; }
.pl-diag-annual__neutral-text { font-size: var(--pl-text-base); font-weight: 700; line-height: 1.7; margin: 0; }
.pl-diag-annual--red    .pl-diag-annual__neutral-text { color: #dc2626; }
.pl-diag-annual--orange .pl-diag-annual__neutral-text { color: #ea580c; }
.pl-diag-annual--amber  .pl-diag-annual__neutral-text { color: #d97706; }
.pl-diag-annual--green  .pl-diag-annual__neutral-text { color: #15803d; }

/* ── 「料金の内訳を詳しく見る」：補足情報の開閉トグル（年間削減額は隠さない・CTAと同じ強さにしない）── */
.pl-diag-detail { margin-top: 2px; }
.pl-diag-detail-toggle {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 12px 16px; background: transparent; border: none;
  color: var(--pl-primary); font-size: var(--pl-text-sm); font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.pl-diag-detail-toggle__chevron { display: inline-block; transition: transform .25s ease; font-size: .85em; }
.pl-diag-detail-toggle.is-open .pl-diag-detail-toggle__chevron { transform: rotate(180deg); }
.pl-diag-detail-panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .3s ease; }
/* 2026-08-06：現在のお支払い→プロラボ価格→差額の3行構成になり縦に長くなったため
   max-heightを420px→520pxへ拡大（320px幅の縦積みレイアウトでも中身が
   クリップされないことをスクリーンショットで確認済み）。 */
.pl-diag-detail-panel.is-open { max-height: 520px; opacity: 1; }
.pl-diag-detail-panel__inner {
  background: var(--pl-gray-50); border: 1px solid var(--pl-gray-200);
  border-radius: var(--pl-radius); padding: 14px 16px; margin-top: 4px;
}
.pl-diag-detail-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px; gap: 8px; }
.pl-diag-detail-row__label { font-size: var(--pl-text-sm); color: var(--pl-gray-600); font-weight: 700; }
.pl-diag-detail-row__val { font-size: var(--pl-text-base); font-weight: 800; color: var(--pl-gray-800); white-space: nowrap; flex-shrink: 0; }
.pl-diag-detail-row__val--current { color: var(--pl-danger); }
.pl-diag-detail-row__val--accent { font-size: var(--pl-text-lg); color: var(--pl-primary); }
.pl-diag-detail-row__arrow { font-size: 1rem; line-height: 1; color: var(--pl-gray-400); text-align: center; margin: 2px 0; }
.pl-diag-detail-note { font-size: .68rem; color: var(--pl-gray-400); line-height: 1.7; margin: 10px 0 0; }

/* ── プロラボ価格：ラベル下に短い説明を添える行 ──
   金額（__val）は常にnowrapで1行を確保し、幅が足りない分は
   label-group側（min-width:0）が縮んで__descの説明文だけが折り返す。 */
.pl-diag-detail-row--prolabo { align-items: flex-start; }
.pl-diag-detail-row__label-group { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.pl-diag-detail-row__desc { font-size: .68rem; font-weight: 500; color: var(--pl-gray-400); line-height: 1.4; }

/* ── 差額行（2026-08-06追加）：現在のお支払い→プロラボ価格の下に続く3行目。
   区切り線を上に置き「ここが結果」と分かるようにし、金額は節約系の
   緑（success）で強調する。 ── */
.pl-diag-detail-row--diff {
  border-top: 1px dashed var(--pl-gray-200);
  margin-top: 4px;
  padding-top: 10px;
}
.pl-diag-detail-row__val--diff { color: var(--pl-success); }

/* 320px幅など極端に狭い画面では、ラベルと金額を横並びにすると両方が窮屈になり
   不自然な位置で折り返るため、詳細パネルの行はすべて縦積みに切り替える
   （「現在のお支払い」行・「プロラボ価格」行・「差額」行のすべてが対象）。 */
@media (max-width: 360px) {
  .pl-diag-detail-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pl-diag-detail-row .pl-diag-detail-row__val { align-self: flex-end; }
}

.pl-diag-mini-cta__caption { font-size: .72rem; color: var(--pl-gray-400); text-align: center; margin: 10px 0 0; line-height: 1.6; }

/* ── Step4 ラジオグループ ── */
.pl-diag-radio-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pl-diag-radio { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--pl-gray-300); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; transition: border-color .15s, background .15s; line-height: 1; }
.pl-diag-radio input[type="radio"] { accent-color: var(--pl-primary); width: 15px; height: 15px; flex-shrink: 0; }
.pl-diag-radio:has(input:checked) { border-color: var(--pl-primary); background: #f0f7ff; color: var(--pl-primary); }

/* ── 確認パネル（Step 4.5） ── */
.pl-diag-confirm-panel { padding: 0; }
.pl-diag-confirm-panel.is-active { display: block; }
.pl-diag-confirm-body { margin: 0 0 8px; }
.pl-diag-confirm__row { display: flex; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
.pl-diag-confirm__label { width: 130px; flex-shrink: 0; color: var(--pl-gray-500); font-weight: 600; padding-top: 1px; }
.pl-diag-confirm__val { flex: 1; color: #111; font-weight: 600; word-break: break-all; }
/* 320px幅では130px固定ラベル+残り幅だと長い金額行（ご紹介できる価格の目安 等）が
   窮屈に折り返るため、ラベルを上・値を下に積む縦積みへ切り替える。 */
@media (max-width: 360px) {
  .pl-diag-confirm__row { flex-direction: column; gap: 2px; }
  .pl-diag-confirm__label { width: auto; }
}
.pl-diag-complete__inquiry { font-size: 13px; color: var(--pl-gray-500); margin-top: 10px; }
.pl-diag-complete__inquiry strong { color: var(--pl-primary); font-size: 15px; }

.pl-diag-dash-savings {
  background: var(--pl-primary-light); border: 1.5px solid var(--pl-primary);
  border-radius: var(--pl-radius-lg); padding: 18px 20px; text-align: center;
}
.pl-diag-dash-savings--ok { background: rgba(34,197,94,.06); border-color: rgba(34,197,94,.3); }
.pl-diag-dash-savings__label { font-size: .6875rem; font-weight: 700; color: var(--pl-primary); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.pl-diag-dash-savings--ok .pl-diag-dash-savings__label { color: var(--pl-success); }
.pl-diag-dash-savings__val { font-size: clamp(1.5rem,5vw,2.25rem); font-weight: 900; color: var(--pl-gray-900); letter-spacing: -.03em; line-height: 1; }
.pl-diag-dash-savings__unit { font-size: var(--pl-text-lg); margin-left: 4px; }
.pl-diag-dash-savings__sub { font-size: var(--pl-text-xs); color: var(--pl-gray-600); margin-top: 8px; font-weight: 500; line-height: 1.65; }
.pl-diag-dash-disclaimer { font-size: .6rem; color: var(--pl-gray-400); text-align: center; font-weight: 500; line-height: 1.7; }

/* ── Usage Simulation Table ─────────────────────────────────────── */
.pl-usage-sim { padding: var(--pl-section) 0; background: var(--pl-gray-50); }
.pl-usage-sim__table-wrap { overflow-x: auto; border-radius: var(--pl-radius-lg); border: 1.5px solid var(--pl-gray-200); margin-bottom: 14px; }
.pl-usage-sim__table { width: 100%; border-collapse: collapse; min-width: 420px; }
.pl-usage-sim__table th {
  background: var(--pl-brand-mid); color: var(--pl-white);
  font-size: var(--pl-text-xs); font-weight: 700; padding: 12px 16px; text-align: center;
}
.pl-usage-sim__table th:first-child { text-align: left; }
.pl-usage-sim__table td { padding: 15px 16px; font-size: var(--pl-text-sm); border-bottom: 1px solid var(--pl-gray-100); text-align: center; }
.pl-usage-sim__table tr:last-child td { border-bottom: none; }
.pl-usage-sim__table tr:hover td { background: var(--pl-primary-pale); }
.pl-usage-sim__usage { font-weight: 700; text-align: left !important; color: var(--pl-gray-900); }
.pl-usage-sim__avg  { font-weight: 900; color: var(--pl-danger); }
.pl-usage-sim__fair { font-weight: 700; color: var(--pl-primary); }
.pl-usage-sim__diff { font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-success); }

/* ── Equipment Pricing Cards ─────────────────────────────────────── */
.pl-equip-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px)  { .pl-equip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pl-equip-grid { grid-template-columns: repeat(3, 1fr); } }
.pl-equip-card {
  background: var(--pl-white); border: 1.5px solid var(--pl-gray-200);
  border-radius: var(--pl-radius-lg); padding: clamp(16px,3vw,24px);
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--pl-shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.pl-equip-card:hover { box-shadow: var(--pl-shadow); transform: translateY(-2px); }
.pl-equip-card__icon { font-size: 1.875rem; line-height: 1; }
.pl-equip-card__name { font-size: var(--pl-text-base); font-weight: 900; color: var(--pl-gray-900); }
.pl-equip-card__usage { font-size: var(--pl-text-xs); color: var(--pl-gray-500); font-weight: 500; }
.pl-equip-card__prices { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; border-top: 1px solid var(--pl-gray-100); }
.pl-equip-card__price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pl-equip-card__price-label { font-size: var(--pl-text-xs); color: var(--pl-gray-500); font-weight: 500; flex-shrink: 0; }
.pl-equip-card__price-val { font-size: var(--pl-text-sm); font-weight: 900; }
.pl-equip-card__price-val--avg  { color: var(--pl-danger); }
.pl-equip-card__price-val--fair { color: var(--pl-success); }

/* ── SEO Data Summary Box ──────────────────────────────────── */
.pl-data-summary {
  background: var(--pl-primary-pale);
  border: 2px solid var(--pl-primary-light);
  border-radius: var(--pl-radius-lg);
  padding: clamp(18px,3.5vw,28px);
  margin-bottom: clamp(20px,4vw,32px);
}
.pl-data-summary__title {
  font-size: var(--pl-text-sm); font-weight: 900; color: var(--pl-primary);
  margin-bottom: 14px; display: flex; align-items: center; gap: 6px;
}
.pl-data-summary__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 640px) { .pl-data-summary__grid { grid-template-columns: repeat(3, 1fr); } }
.pl-data-summary__item { display: flex; flex-direction: column; gap: 3px; }
.pl-data-summary__label { font-size: var(--pl-text-xs); color: var(--pl-gray-600); font-weight: 500; }
.pl-data-summary__val { font-size: var(--pl-text-xl); font-weight: 900; color: var(--pl-gray-900); letter-spacing: -.02em; line-height: 1.1; }
.pl-data-summary__val--high { color: var(--pl-danger); }
.pl-data-summary__val--good { color: var(--pl-success); }
.pl-data-summary__val--accent { color: var(--pl-primary); }
.pl-data-summary__sub { font-size: var(--pl-text-xs); color: var(--pl-gray-500); font-weight: 500; }
.pl-data-summary__note { font-size: var(--pl-text-xs); color: var(--pl-gray-500); margin-top: 12px; font-weight: 500; line-height: 1.65; border-top: 1px solid var(--pl-gray-200); padding-top: 10px; }

/* ── E-E-A-T Date Stamp ────────────────────────────────────── */
.pl-datestamp {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--pl-text-xs); color: var(--pl-gray-500); font-weight: 500;
  margin-bottom: 12px; flex-wrap: wrap;
}
.pl-datestamp__sep { color: var(--pl-gray-300); }

/* ── Utility ───────────────────────────────────────────────── */
.pl-text-center { text-align: center; }
.pl-mt-4  { margin-top: 16px; }
.pl-mt-8  { margin-top: 32px; }
.pl-mt-12 { margin-top: 48px; }
.pl-mb-4  { margin-bottom: 16px; }
.pl-mb-8  { margin-bottom: 32px; }

/* ── FAQ（全ページ共通） ────────────────────────────────────── */
.pl-faq { background: var(--pl-gray-50); padding: var(--pl-section) 0; }
.pl-faq__list { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.pl-faq__item { background: var(--pl-white); border-radius: var(--pl-radius-lg); border: 1px solid var(--pl-gray-200); overflow: hidden; }
.pl-faq__q {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px;
  cursor: pointer; font-weight: 700; font-size: var(--pl-text-base);
  list-style: none; line-height: 1.5; user-select: none; transition: background .2s;
}
.pl-faq__q:hover { background: var(--pl-gray-50); }
.pl-faq__q::before {
  content: 'Q'; width: 30px; height: 30px; background: var(--pl-black); color: var(--pl-white);
  font-weight: 900; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .8rem;
}
.pl-faq__icon { margin-left: auto; font-size: 1.4rem; color: var(--pl-gray-400); transition: transform .3s; flex-shrink: 0; }
.pl-faq__item.is-open .pl-faq__icon { transform: rotate(45deg); }
.pl-faq__a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease;
  padding: 0 24px 0 68px;
  font-size: var(--pl-text-sm); color: var(--pl-gray-600); font-weight: 500; line-height: 1.8;
}
.pl-faq__item.is-open .pl-faq__a { max-height: 500px; padding: 0 24px 20px 68px; }
@media (max-width: 480px) {
  .pl-faq__a { padding-left: 24px; }
  .pl-faq__item.is-open .pl-faq__a { padding-left: 24px; }
}
.pl-faq__note {
  display: inline-block; margin-top: 8px;
  font-size: var(--pl-text-xs); font-weight: 700; color: var(--pl-gray-500);
  background: var(--pl-gray-100); border: 1px solid var(--pl-gray-200);
  border-radius: 4px; padding: 2px 8px;
}

/* ── CTA Section（全ページ共通） ────────────────────────────── */
/* full-bleed：SWELL標準テンプレート（.l-container 等の幅制限コンテナ）の内側に
   注入された場合でも、親の幅制限を突破してフルワイド表示するための処理。
   TOP等の完全独自テンプレート（幅制限コンテナが存在しない）でも数式上は無害。 */
.pl-cta {
  background: linear-gradient(160deg, var(--pl-brand-dark) 0%, var(--pl-brand-mid) 100%);
  color: var(--pl-white); padding: var(--pl-section) 0;
  text-align: center; position: relative; overflow: hidden;
  width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
}
.pl-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(45,143,212,.15) 0%, transparent 65%);
  pointer-events: none;
}
.pl-cta__inner { position: relative; z-index: 1; }
.pl-cta__eyebrow { font-size: var(--pl-text-xs); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--pl-gold); margin-bottom: 16px; }
.pl-cta__title { font-size: var(--pl-text-4xl); font-weight: 900; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 16px; }
.pl-cta__desc { font-size: var(--pl-text-base); color: rgba(255,255,255,.65); font-weight: 500; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.pl-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pl-cta__disclaimer { font-size: var(--pl-text-xs); color: rgba(255,255,255,.35); margin-top: 12px; }
@media (min-width: 640px) { .pl-cta__actions { flex-direction: row; justify-content: center; } }

/* ── 記事ページ（blog-override）: SWELL ヘッダー/フッター非表示 ─── */
#body_wrap.pl-blog-override #header         { display: none !important; }
#body_wrap.pl-blog-override #sp_menu        { display: none !important; }
#body_wrap.pl-blog-override #prolabo-footer { display: none !important; }
#body_wrap.pl-blog-override .l-body,
#body_wrap.pl-blog-override .l-main {
  padding-top: 124px !important;
  margin-top: 0 !important;
}
@media (max-width: 768px) {
  #body_wrap.pl-blog-override .l-body,
  #body_wrap.pl-blog-override .l-main {
    padding-top: 60px !important;
  }
}

/* ── フッター会社情報 ────────────────────────────────────────── */
.pl-footer__company-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin-top: 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.pl-footer__company-info dt {
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255,255,255,.5);
}
.pl-footer__company-info dd { margin: 0; }
.pl-footer__company-info a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* ── フッター節約情報ブログ ─────────────────────────────────── */
.pl-footer__blog {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.pl-footer__blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pl-footer__blog-more {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
}
.pl-footer__blog-more:hover { color: var(--pl-white); }
.pl-footer__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pl-footer__blog-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  overflow: hidden;
  transition: background .2s;
}
.pl-footer__blog-card:hover { background: rgba(255,255,255,.12); }
.pl-footer__blog-img img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}
.pl-footer__blog-title {
  font-size: .75rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  padding: 0 10px 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .pl-footer__blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pl-footer__blog-grid { grid-template-columns: 1fr; }
}

/* ── SP ローカルSEOキャッチコピー（全ページ既定値：非表示） ── */
.pl-sp-local-catch { display: none; }

/* ── 診断フォーム インライン結果・Step4-5 追加スタイル ─────── */
.pl-diag-rank--E { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); color: #fff; }
.pl-diag-dash-savings__eyebrow { font-size: .6875rem; font-weight: 700; color: var(--pl-primary); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.pl-diag-dash-savings__big { display: inline; font-size: clamp(1.75rem,6vw,2.5rem); font-weight: 900; }
.pl-diag-dash-savings__monthly { color: var(--pl-primary); }
.pl-diag-dash-savings__caption { font-size: var(--pl-text-sm); color: var(--pl-gray-600); font-weight: 600; margin-top: 6px; }
.pl-diag-mini-cta { background: var(--pl-primary-pale); border: 1.5px solid var(--pl-primary-light); border-radius: 12px; padding: 16px; margin-top: 14px; }
.pl-diag-mini-cta__note { font-size: var(--pl-text-xs); color: var(--pl-gray-600); text-align: center; margin-bottom: 12px; line-height: 1.65; }
.pl-diag-mini-cta__btn { display: block; width: 100%; padding: 14px 20px; background: var(--pl-accent); color: #fff; border: none; border-radius: 9px; font-size: var(--pl-text-sm); font-weight: 700; cursor: pointer; transition: background .2s; font-family: inherit; }
.pl-diag-mini-cta__btn:hover { background: var(--pl-primary-dark); }
.pl-diag-mini-cta__btn--soft { background: var(--pl-gray-600); }
.pl-diag-mini-cta__btn--soft:hover { background: var(--pl-gray-800); }

/* ── 診断中モーダル ──────────────────────────────────────────── */
@keyframes pl-ring-spin { to { transform: rotate(360deg); } }

/* overlay */
.pl-diag-modal-overlay { position: fixed; inset: 0; background: rgba(10,22,54,.62); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity 0.3s ease; }
.pl-diag-modal-overlay.is-visible { opacity: 1; }

/* modal card */
.pl-diag-modal { background: #fff; border-radius: 20px; padding: 36px 28px 32px; width: min(480px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.1); transform: translateY(14px) scale(0.97); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); text-align: center; }
.pl-diag-modal-overlay.is-visible .pl-diag-modal { transform: translateY(0) scale(1); }

/* ring */
.pl-diag-modal__ring { width: 88px; height: 88px; border-radius: 50%; background: conic-gradient(var(--pl-primary) var(--modal-ring-pct,0%), var(--pl-primary-pale,#e8f4fd) 0%); margin: 0 auto 20px; position: relative; }
.pl-diag-modal__ring::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--pl-primary); opacity: .75; animation: pl-ring-spin 1.1s linear infinite; }
.pl-diag-modal__ring-inner { position: absolute; inset: 11px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 2px 6px rgba(0,0,0,.07); }
.pl-diag-modal__ring-text { font-size: .65rem; font-weight: 700; color: var(--pl-primary); letter-spacing: .08em; }

/* title */
.pl-diag-modal__title { font-size: 1.05rem; font-weight: 700; color: var(--pl-gray-900); margin: 0 0 22px; }

/* steps */
.pl-diag-modal__steps { list-style: none; padding: 0; margin: 0; text-align: left; }
.pl-diag-modal__step { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(0,0,0,.05); opacity: .28; transition: opacity 0.3s ease; }
.pl-diag-modal__step:last-child { border-bottom: none; }
.pl-diag-modal__step--active { opacity: 1; }
.pl-diag-modal__step--done { opacity: .65; }

/* step icon */
.pl-diag-modal__step-icon { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--pl-gray-200,#e0e0e0); flex-shrink: 0; margin-top: 2px; transition: border-color 0.25s ease, background 0.25s ease; box-sizing: border-box; }
.pl-diag-modal__step--active .pl-diag-modal__step-icon { border-color: var(--pl-primary); border-top-color: transparent; animation: pl-ring-spin 0.75s linear infinite; }
.pl-diag-modal__step--done .pl-diag-modal__step-icon { background: var(--pl-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpolyline points='1,5 4,8 11,1' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--pl-primary); animation: none; }

/* step body */
.pl-diag-modal__step-body { flex: 1; min-width: 0; }
.pl-diag-modal__step-title { display: block; font-size: .8rem; font-weight: 700; color: var(--pl-gray-600); margin-bottom: 3px; transition: color 0.25s ease; }
.pl-diag-modal__step--active .pl-diag-modal__step-title { color: var(--pl-primary); }
.pl-diag-modal__step--done .pl-diag-modal__step-title { color: var(--pl-gray-900); }
.pl-diag-modal__step-desc { display: block; font-size: .7rem; color: var(--pl-gray-600); line-height: 1.55; }

/* background blur */
.pl-diag-bg-blur { filter: blur(3px); pointer-events: none; transition: filter 0.3s ease; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pl-diag-modal-overlay, .pl-diag-modal, .pl-diag-bg-blur { transition: none; }
  .pl-diag-modal__ring::before, .pl-diag-modal__step--active .pl-diag-modal__step-icon { animation: none; }
}

.pl-diag-trust-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; }
.pl-diag-trust-list li { font-size: .7rem; color: var(--pl-gray-600); font-weight: 500; }
.pl-diag-trust-list li::before { content: '✓ '; color: var(--pl-success); }
.pl-diag-basis-note { font-size: .75rem; padding: 8px 12px; border-radius: 8px; font-weight: 500; line-height: 1.65; }
.pl-diag-basis-note--actual { background: rgba(26,158,90,.08); color: var(--pl-success); }
.pl-diag-basis-note--estimated { background: rgba(217,119,6,.08); color: var(--pl-warning); }
.pl-diag-unit-table { border: 1px solid var(--pl-gray-200); border-radius: 8px; overflow: hidden; margin-top: 4px; }
.pl-diag-unit-table__title { font-size: .6875rem; font-weight: 700; color: var(--pl-gray-600); letter-spacing: .06em; padding: 8px 12px; background: var(--pl-gray-50); border-bottom: 1px solid var(--pl-gray-200); }
.pl-diag-unit-table table { width: 100%; border-collapse: collapse; }
.pl-diag-unit-table td { font-size: var(--pl-text-xs); padding: 7px 12px; border-bottom: 1px solid var(--pl-gray-100); color: var(--pl-gray-800); }
.pl-diag-unit-table tr:last-child td { border-bottom: none; }
.pl-diag-unit-table__val--user { font-weight: 700; color: var(--pl-danger); }
.pl-diag-unit-table__val--prolabo { font-weight: 700; color: var(--pl-primary); }
.pl-diag-input-hint { font-size: var(--pl-text-xs); color: var(--pl-gray-600); margin-top: 5px; }
.pl-diag-optional { font-size: .68rem; font-weight: 600; color: var(--pl-gray-600); background: var(--pl-gray-100); border-radius: 4px; padding: 2px 7px; margin-left: 6px; }
.pl-diag-step4-note { font-size: var(--pl-text-xs); color: var(--pl-gray-600); text-align: center; margin-bottom: 10px; line-height: 1.65; }
.pl-diag-step4-summary { background: var(--pl-gray-50); border: 1px solid var(--pl-gray-200); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; }
.pl-diag-step4-summary__row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--pl-gray-100); font-size: var(--pl-text-xs); }
.pl-diag-step4-summary__row:last-child { border-bottom: none; }
.pl-diag-step4-summary__label { color: var(--pl-gray-600); font-weight: 500; }
.pl-diag-step4-summary__val { font-weight: 700; color: var(--pl-gray-900); }
.pl-diag-check--agree { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: var(--pl-text-sm); color: var(--pl-gray-800); line-height: 1.6; }
.pl-diag-check--agree input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; cursor: pointer; accent-color: var(--pl-primary); }
.pl-diag-check--agree a { color: var(--pl-primary); text-decoration: underline; }
.pl-diag-privacy-note { font-size: .7rem; color: var(--pl-gray-600); text-align: center; margin-top: 12px; line-height: 1.7; }
/* ── 診断完了パネル ──────────────── */
.pl-diag-complete { text-align: center; padding: 12px 0 4px; }
.pl-diag-complete__icon { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: #fff; font-size: 1.875rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.pl-diag-complete__title { font-size: var(--pl-text-xl); font-weight: 900; color: var(--pl-gray-900); margin-bottom: 14px; }
.pl-diag-complete__lead { font-size: var(--pl-text-sm); color: var(--pl-gray-800); line-height: 1.8; margin-bottom: 20px; }
.pl-diag-complete__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pl-diag-complete__badges li { font-size: .75rem; font-weight: 700; color: var(--pl-success); background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); border-radius: 20px; padding: 4px 14px; }
/* ── プログレスバー 5ステップ対応 ── */
@media (max-width: 480px) {
  .pl-diag-progress__steps { gap: 4px; }
  .pl-diag-step-label { font-size: .55rem; }
}

/* ================================================================
   ブログ記事共通CTA（本文終了直後に自動挿入）
   ================================================================ */
.pl-post-cta__hint {
  font-size: .9rem;
  color: var(--pl-gray-700, #374151);
  text-align: center;
  line-height: 1.8;
  margin: 40px 0 16px;
}

.pl-post-cta {
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--pl-primary-pale) 0%, var(--pl-white) 100%);
  border: 1px solid var(--pl-primary-light, #bfdbfe);
  border-radius: 18px;
  text-align: center;
}
.pl-post-cta__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}
.pl-post-cta__title {
  font-size: var(--pl-text-lg);
  font-weight: 900;
  color: var(--pl-gray-900, #111827);
  line-height: 1.5;
  margin: 0 0 10px;
}
.pl-post-cta__desc {
  font-size: .85rem;
  color: var(--pl-gray-600);
  line-height: 1.8;
  margin: 0 0 20px;
}
.pl-post-cta .pl-btn {
  display: inline-flex;
}
.pl-post-cta__note {
  font-size: .72rem;
  color: var(--pl-gray-500);
  margin: 14px 0 0;
  line-height: 1.7;
}
@media (max-width: 480px) {
  .pl-post-cta { padding: 26px 18px; border-radius: 14px; }
  .pl-post-cta .pl-btn--lg { width: 100%; padding: 18px 24px; }
}

