/* =============================================
   ピアノ引越し見積もりガイド - style.css
   infobyinfo.com 準拠（px 絶対値で Cocoon 非干渉を確実化）
   配色：ディープワインレッド × ゴールド × アイボリー
   Cocoon非干渉：全クラスに pn- プレフィックス
   ============================================= */

/* ---------- CSS変数 ---------- */
.pn-body,
.pn-container {
  --pn-primary:       #6B1F3B;
  --pn-primary-dark:  #4A152A;
  --pn-primary-light: #F5E6EC;
  --pn-accent:        #C9A961;
  --pn-accent-dark:   #A68940;
  --pn-accent-light:  #FBF4E2;
  --pn-success:       #2E7D5B;
  --pn-text-main:     #1a1a2e;
  --pn-text-sub:      #555770;
  --pn-text-muted:    #5a6272;
  --pn-border:        #E5D9C8;
  --pn-border-soft:   #EFE8DC;
  --pn-bg:            #FAF6EF;
  --pn-bg-white:      #ffffff;
  --pn-bg-alt:        #F5EFE6;
  --pn-shadow-sm:     0 1px 4px rgba(74, 21, 42, 0.08);
  --pn-shadow-md:     0 4px 16px rgba(74, 21, 42, 0.10);
  --pn-shadow-lg:     0 8px 32px rgba(74, 21, 42, 0.13);
  --pn-radius-sm:     6px;
  --pn-radius-md:     12px;
  --pn-radius-lg:     18px;
  --pn-font: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI',
             'Yu Gothic', 'Meiryo', 'MS PGothic', sans-serif;
}

/* ---------- スコープリセット ---------- */
.pn-body,
.pn-body *,
.pn-body *::before,
.pn-body *::after {
  box-sizing: border-box;
}

/* ---------- ベース（px絶対値で Cocoon の rem 基準の影響を回避）---------- */
.pn-body {
  font-family: var(--pn-font);
  background: var(--pn-bg);
  color: var(--pn-text-main);
  line-height: 1.8;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

.pn-body img { max-width: 100%; height: auto; }

.pn-container {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* 共通インナー */
.pn-header-inner,
.pn-hero-inner,
.pn-breadcrumb-inner,
.pn-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   ★ スティッキー上部バー（PR＋ヘッダー一体）
   スクロール中も常に画面上部に表示
   ============================================= */
.pn-top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--pn-bg-white);
  box-shadow: var(--pn-shadow-sm);
}

/* PR バー */
.pn-pr-bar {
  background: #FBF4E2;
  border-bottom: 1px solid var(--pn-border);
  padding: 6px 20px;
  font-size: 13px;
  color: var(--pn-text-sub);
  text-align: center;
  line-height: 1.5;
}
.pn-pr-label {
  display: inline-block;
  background: var(--pn-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* ヘッダー */
.pn-header {
  background: var(--pn-bg-white);
  border-bottom: 2px solid var(--pn-primary);
}
.pn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.pn-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.pn-logo:hover { text-decoration: none; }
.pn-logo-icon { font-size: 24px; }
.pn-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--pn-primary);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.pn-header-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pn-header-nav a {
  padding: 6px 12px;
  border-radius: var(--pn-radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--pn-text-sub);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.pn-header-nav a:hover {
  background: var(--pn-primary-light);
  color: var(--pn-primary-dark);
  text-decoration: none;
}

/* =============================================
   HERO（トップページ）
   ============================================= */
.pn-hero {
  background:
    linear-gradient(135deg, var(--pn-primary) 0%, var(--pn-primary-dark) 55%, #5A1A32 100%);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--pn-accent);
}
.pn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A961' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.pn-hero-inner { position: relative; z-index: 1; }
.pn-hero-label {
  display: inline-block;
  background: rgba(201, 169, 97, 0.2);
  border: 1px solid rgba(201, 169, 97, 0.5);
  color: #F5E6B8;
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 15px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-weight: 600;
}
.pn-hero-title {
  font-size: clamp(32px, 4.8vw, 50px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 18px 0;
  letter-spacing: 0.01em;
  color: #fff;
}
.pn-hero-desc {
  font-size: 17px;
  opacity: 0.95;
  margin: 0 auto 26px;
  line-height: 1.85;
  max-width: 720px;
}
.pn-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pn-hero-badges span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 15px;
  color: #fff;
}

/* =============================================
   MAIN 共通
   ============================================= */
.pn-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}
.pn-main-portal { padding: 36px 20px 56px; }

/* =============================================
   HOME: リード文
   ============================================= */
.pn-lead-text {
  background: var(--pn-bg-white);
  border: 1px solid var(--pn-border);
  border-left: 5px solid var(--pn-primary);
  border-radius: var(--pn-radius-md);
  padding: 26px 30px;
  margin-bottom: 36px;
  box-shadow: var(--pn-shadow-sm);
}
.pn-lead-text p {
  margin: 0 0 16px 0;
  font-size: 20px;
  line-height: 1.9;
  color: var(--pn-text-main);
}
.pn-lead-text p:last-child { margin-bottom: 0; }
.pn-lead-text strong {
  color: var(--pn-primary-dark);
  font-weight: 700;
}

/* =============================================
   HOME: カテゴリタブ
   ============================================= */
.pn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  justify-content: center;
}
.pn-tab {
  padding: 10px 20px;
  border-radius: 24px;
  border: 2px solid var(--pn-border);
  background: var(--pn-bg-white);
  color: var(--pn-text-sub);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.pn-tab:hover {
  border-color: var(--pn-primary);
  background: var(--pn-primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--pn-shadow-sm);
}

/* =============================================
   HOME: セクション見出し
   ============================================= */
.pn-article-section {
  margin-bottom: 56px;
  scroll-margin-top: 120px;
}
.pn-section-heading {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 24px 0;
  padding: 12px 0 12px 18px;
  border-left: 5px solid var(--pn-accent);
  color: var(--pn-primary-dark);
  background: linear-gradient(90deg, var(--pn-accent-light) 0%, transparent 70%);
  border-radius: 0 var(--pn-radius-sm) var(--pn-radius-sm) 0;
  letter-spacing: 0.01em;
}

/* =============================================
   HOME: カードグリッド
   ============================================= */
.pn-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.pn-card {
  background: var(--pn-bg-white);
  border: 1px solid var(--pn-border);
  border-radius: var(--pn-radius-md);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.pn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pn-primary) 0%, var(--pn-accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.pn-card:hover {
  box-shadow: var(--pn-shadow-md);
  transform: translateY(-3px);
  border-color: var(--pn-primary);
  text-decoration: none;
}
.pn-card:hover::before { transform: scaleX(1); }
.pn-card-cat {
  font-size: 15px;
  color: var(--pn-primary);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.pn-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pn-text-main);
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.005em;
}
.pn-card-desc {
  font-size: 17px;
  color: var(--pn-text-sub);
  line-height: 1.8;
  flex: 1;
  margin: 0;
}
.pn-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--pn-border);
  gap: 8px;
}
.pn-card-target {
  font-size: 14px;
  background: var(--pn-accent-light);
  color: var(--pn-accent-dark);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--pn-border);
}
.pn-card-arrow {
  font-size: 15px;
  color: var(--pn-primary);
  font-weight: 700;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.pn-breadcrumb {
  background: var(--pn-bg-white);
  border-bottom: 1px solid var(--pn-border);
  padding: 14px 0;
  font-size: 16px;
  color: var(--pn-text-muted);
}
.pn-breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pn-breadcrumb a {
  color: var(--pn-primary);
  text-decoration: none;
  font-weight: 500;
}
.pn-breadcrumb a:hover { text-decoration: underline; }
.pn-breadcrumb span:last-child { color: var(--pn-text-sub); }

/* =============================================
   ARTICLE LAYOUT
   ============================================= */
.pn-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
.pn-article-layout-single {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
}

/* 記事ヘッダー */
.pn-article-header {
  background: var(--pn-bg-white);
  border-radius: var(--pn-radius-md);
  padding: 32px 34px;
  margin-bottom: 24px;
  border-left: 5px solid var(--pn-primary);
  box-shadow: var(--pn-shadow-sm);
}
.pn-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pn-badge-cat,
.pn-badge-target {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pn-badge-cat {
  background: var(--pn-primary);
  color: #fff;
}
.pn-badge-target {
  background: var(--pn-accent-light);
  color: var(--pn-accent-dark);
  border: 1px solid var(--pn-border);
}
.pn-article-h1 {
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 16px 0;
  color: var(--pn-text-main);
  letter-spacing: 0.005em;
}
.pn-article-lead {
  font-size: 18px;
  color: var(--pn-text-sub);
  line-height: 1.85;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--pn-border);
}
.pn-article-lead p { margin: 0; }

/* =============================================
   目次
   ============================================= */
.pn-toc {
  background: var(--pn-bg-alt);
  border: 2px solid var(--pn-border);
  border-radius: var(--pn-radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.pn-toc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pn-primary-dark);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pn-border);
}
.pn-toc-list {
  list-style: decimal;
  padding-left: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pn-toc-list li::marker {
  color: var(--pn-primary);
  font-weight: 700;
}
.pn-toc-list li a {
  font-size: 17px;
  color: var(--pn-primary);
  text-decoration: none;
  line-height: 1.7;
}
.pn-toc-list li a:hover { text-decoration: underline; }

/* =============================================
   記事本文（infobyinfo.com 準拠の大きめフォント）
   ============================================= */
.pn-article-body {
  background: var(--pn-bg-white);
  border-radius: var(--pn-radius-md);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--pn-shadow-sm);
}
.pn-article-body > *:first-child { margin-top: 0; }
.pn-article-body > *:last-child { margin-bottom: 0; }

.pn-article-body h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--pn-text-main);
  margin: 40px 0 20px;
  padding: 14px 20px;
  background: linear-gradient(90deg, var(--pn-primary-light) 0%, transparent 100%);
  border-left: 4px solid var(--pn-primary);
  border-radius: 0 var(--pn-radius-sm) var(--pn-radius-sm) 0;
  scroll-margin-top: 120px;
  letter-spacing: 0.005em;
}
.pn-article-body h2:first-child { margin-top: 0; }

.pn-article-body h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--pn-border);
  color: var(--pn-primary-dark);
}

.pn-article-body h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--pn-primary-dark);
  margin: 24px 0 12px;
}

.pn-article-body p {
  margin: 0 0 20px 0;
  font-size: 20px;
  line-height: 1.95;
  color: var(--pn-text-main);
}
.pn-article-body strong {
  color: var(--pn-primary-dark);
  font-weight: 700;
}
.pn-article-body a {
  color: var(--pn-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pn-article-body a:hover {
  color: var(--pn-primary-dark);
  text-decoration-thickness: 2px;
}

/* リスト（infobyinfo準拠：✓マーク＋下線区切り） */
.pn-article-body ul,
.pn-article-body ol {
  margin: 0 0 22px 0;
  padding-left: 0;
}
.pn-article-body ul li,
.pn-article-body ol li {
  font-size: 19px;
  line-height: 1.85;
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px solid var(--pn-bg-alt);
}
.pn-article-body ul li:last-child,
.pn-article-body ol li:last-child { border-bottom: none; }
.pn-article-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--pn-accent-dark);
  font-weight: 700;
}
.pn-article-body ol {
  list-style: decimal;
  padding-left: 28px;
}
.pn-article-body ol li {
  padding-left: 6px;
}
.pn-article-body ol li::before { content: none; }
.pn-article-body ol li::marker {
  color: var(--pn-primary);
  font-weight: 700;
}

/* テーブル */
.pn-table-wrap {
  overflow-x: auto;
  margin: 24px 0 28px;
  -webkit-overflow-scrolling: touch;
}
.pn-article-body table,
.pn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  margin: 0;
  background: var(--pn-bg-white);
}
.pn-article-body table th,
.pn-table th {
  background: var(--pn-primary);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--pn-primary-dark);
}
.pn-article-body table td,
.pn-table td {
  padding: 12px 14px;
  border: 1px solid var(--pn-border);
  vertical-align: top;
}
.pn-article-body table tr:nth-child(even) td,
.pn-table tr:nth-child(even) td {
  background: var(--pn-bg-alt);
}
.pn-article-body table td strong {
  color: var(--pn-primary);
}

/* 情報ボックス */
.pn-box {
  background: var(--pn-bg-alt);
  border-left: 4px solid var(--pn-accent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--pn-radius-sm) var(--pn-radius-sm) 0;
}
.pn-box-alert {
  background: #FBEFE7;
  border-left-color: #C25A3C;
}
.pn-box-tip {
  background: #EDF5EE;
  border-left-color: var(--pn-success);
}
.pn-box h3,
.pn-box h4 {
  margin-top: 0;
  padding: 0;
  border: none;
}
.pn-box p:last-child { margin-bottom: 0; }

/* =============================================
   CTAボックス
   ============================================= */
.pn-cta-box {
  background: linear-gradient(135deg, var(--pn-primary-dark) 0%, var(--pn-primary) 100%);
  border-radius: var(--pn-radius-lg);
  padding: 32px 34px;
  margin: 40px 0;
  color: #fff;
  text-align: center;
  box-shadow: var(--pn-shadow-md);
  position: relative;
  overflow: hidden;
}
.pn-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.pn-cta-box > * { position: relative; z-index: 1; }
.pn-cta-label {
  font-size: 15px;
  color: var(--pn-accent);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pn-cta-point {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.55;
  color: #fff;
}
/* CTAボックス内の p は、親 .pn-article-body p の黒文字に上書きされないよう詳細度を上げる */
.pn-article-body .pn-cta-box .pn-cta-desc,
.pn-cta-box .pn-cta-desc,
.pn-cta-desc {
  font-size: 17px;
  line-height: 1.85;
  margin: 0 auto 22px;
  max-width: 620px;
  color: #fff;
  opacity: 1;
}
.pn-cta-btn {
  display: inline-block;
  background: var(--pn-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 18px;
  padding: 15px 42px;
  border-radius: 32px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.5);
  letter-spacing: 0.02em;
}
.pn-cta-btn:hover {
  background: var(--pn-accent-dark);
  transform: scale(1.03) translateY(-1px);
  text-decoration: none !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(201, 169, 97, 0.6);
}
.pn-cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 14px;
}

/* サブCTA（LiPLUS） */
.pn-cta-sub {
  background: var(--pn-bg-white);
  border: 2px solid var(--pn-accent);
  border-radius: var(--pn-radius-md);
  padding: 24px 26px;
  margin: 30px 0;
  text-align: center;
  box-shadow: var(--pn-shadow-sm);
}
.pn-cta-sub-label {
  font-size: 14px;
  color: var(--pn-accent-dark);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.pn-cta-sub-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pn-primary-dark);
  margin-bottom: 12px;
  line-height: 1.55;
}
/* LiPLUS サブCTA内の p も .pn-article-body p より優先させる */
.pn-article-body .pn-cta-sub p,
.pn-cta-sub p {
  font-size: 17px;
  margin: 0 0 18px 0;
  line-height: 1.85;
  color: var(--pn-text-sub);
}
.pn-cta-btn-sub {
  background: linear-gradient(135deg, var(--pn-accent) 0%, var(--pn-accent-dark) 100%);
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(201, 169, 97, 0.4);
  font-size: 17px;
  padding: 13px 34px;
}
.pn-cta-btn-sub:hover {
  color: #fff !important;
}

/* =============================================
   関連記事
   ============================================= */
.pn-related {
  margin: 0 0 28px 0;
}
.pn-related-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px 0;
  padding-left: 14px;
  border-left: 4px solid var(--pn-accent);
  color: var(--pn-primary-dark);
}
.pn-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}
.pn-related-card {
  background: var(--pn-bg-white);
  border: 1px solid var(--pn-border);
  border-radius: var(--pn-radius-sm);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pn-related-card:hover {
  border-color: var(--pn-primary);
  box-shadow: var(--pn-shadow-sm);
  transform: translateY(-1px);
  text-decoration: none;
}
.pn-related-cat {
  font-size: 14px;
  color: var(--pn-primary);
  font-weight: 700;
}
.pn-related-h {
  font-size: 17px;
  color: var(--pn-text-main);
  font-weight: 600;
  line-height: 1.5;
}

/* =============================================
   SIDEBAR
   ============================================= */
.pn-sidebar {
  position: sticky;
  top: 130px;
}
.pn-widget {
  background: var(--pn-bg-white);
  border: 1px solid var(--pn-border);
  border-radius: var(--pn-radius-md);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--pn-shadow-sm);
}
.pn-widget-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--pn-primary-dark);
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pn-primary-light);
}
.pn-widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pn-widget-list li {
  border-bottom: 1px dotted var(--pn-border);
}
.pn-widget-list li:last-child { border-bottom: none; }
.pn-widget-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 16px;
  color: var(--pn-text-sub);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
  gap: 8px;
}
.pn-widget-list li a:hover {
  color: var(--pn-primary);
  text-decoration: none;
}
.pn-widget-count {
  color: var(--pn-text-muted);
  font-size: 13px;
  background: var(--pn-bg-alt);
  padding: 2px 10px;
  border-radius: 10px;
  flex-shrink: 0;
  font-weight: 600;
}

/* サイドバーCTA */
.pn-widget-cta {
  background: linear-gradient(135deg, var(--pn-primary) 0%, var(--pn-primary-dark) 100%);
  border-color: var(--pn-primary-dark);
  color: #fff;
}
.pn-widget-cta .pn-widget-title {
  color: #fff;
  border-bottom-color: rgba(201, 169, 97, 0.5);
}
.pn-widget-cta-desc {
  font-size: 15px;
  margin: 0 0 14px 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}
.pn-widget-cta-btn {
  display: block;
  background: var(--pn-accent);
  color: #fff !important;
  padding: 13px 16px;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(201, 169, 97, 0.4);
}
.pn-widget-cta-btn:hover {
  background: var(--pn-accent-dark);
  transform: translateY(-1px);
  color: #fff !important;
}

/* =============================================
   サイトマップ
   ============================================= */
.pn-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.pn-sitemap-section {
  background: var(--pn-bg-white);
  padding: 22px;
  border: 1px solid var(--pn-border);
  border-top: 4px solid var(--pn-accent);
  border-radius: var(--pn-radius-sm);
  box-shadow: var(--pn-shadow-sm);
}
.pn-sitemap-section h3 {
  margin: 0 0 14px 0;
  color: var(--pn-primary-dark);
  font-size: 18px;
  padding: 0 0 10px 0;
  border: none;
  border-bottom: 1px solid var(--pn-border);
  font-weight: 700;
}
.pn-sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pn-sitemap-section li {
  padding: 9px 0;
  border-bottom: 1px dotted var(--pn-border);
  line-height: 1.55;
}
.pn-sitemap-section li:last-child { border-bottom: none; }
.pn-sitemap-section a {
  color: var(--pn-primary-dark);
  text-decoration: none;
  font-size: 16px;
  display: block;
  position: relative;
  padding-left: 18px;
  font-weight: 500;
}
.pn-sitemap-section a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--pn-accent-dark);
  font-weight: 700;
}
.pn-sitemap-section a:hover {
  color: var(--pn-primary);
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
.pn-footer {
  background: #2A0F1A;
  color: #C9B8A0;
  padding: 52px 0 26px;
  margin-top: 64px;
  font-size: 16px;
  border-top: 4px solid var(--pn-accent);
}
.pn-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 30px;
}
.pn-footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.pn-footer-about p:not(.pn-footer-logo) {
  line-height: 1.85;
  margin: 0;
  color: #B8A590;
  font-size: 16px;
}
.pn-footer-links h4 {
  color: var(--pn-accent);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: 0.03em;
}
.pn-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pn-footer-links li {
  margin-bottom: 10px;
}
.pn-footer-links a {
  color: #B8A590;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.pn-footer-links a:hover {
  color: #fff;
  text-decoration: none;
}
.pn-footer-copy {
  border-top: 1px solid #4A2635;
  padding-top: 24px;
  text-align: center;
  color: #B8A590;
  font-size: 14px;
  line-height: 1.8;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 960px) {
  .pn-article-layout {
    grid-template-columns: 1fr;
  }
  .pn-sidebar { position: static; }
  .pn-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pn-footer-about { grid-column: 1 / -1; }
  .pn-header-nav a {
    padding: 5px 9px;
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .pn-body { font-size: 16px; }

  .pn-pr-bar {
    font-size: 12px;
    padding: 5px 12px;
  }
  .pn-pr-label {
    font-size: 11px;
    padding: 1px 6px;
    margin-right: 6px;
  }

  .pn-header-inner {
    height: auto;
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
  }
  .pn-header-nav {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }
  .pn-header-nav a {
    padding: 4px 8px;
    font-size: 13px;
  }
  .pn-logo-text { font-size: 17px; }

  .pn-hero {
    padding: 40px 0 36px;
  }
  .pn-hero-inner { padding: 0 16px; }
  .pn-hero-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  .pn-hero-desc { font-size: 15px; }
  .pn-hero-badges span {
    font-size: 13px;
    padding: 5px 12px;
  }
  .pn-hero-label { font-size: 13px; }

  .pn-main { padding: 24px 16px 36px; }
  .pn-main-portal { padding: 28px 16px 40px; }

  .pn-lead-text { padding: 22px 20px; }
  .pn-lead-text p { font-size: 17px; }

  .pn-tabs {
    justify-content: flex-start;
  }
  .pn-tab {
    padding: 8px 16px;
    font-size: 14px;
  }

  .pn-card-grid { grid-template-columns: 1fr; }
  .pn-card { padding: 20px; }
  .pn-card-title { font-size: 18px; }
  .pn-card-desc { font-size: 15px; }

  .pn-section-heading {
    font-size: 21px;
    padding: 10px 0 10px 14px;
  }

  .pn-article-header { padding: 22px 20px; }
  .pn-article-h1 { font-size: 22px; }
  .pn-article-lead { font-size: 16px; }

  .pn-article-body { padding: 24px 20px; }
  .pn-article-body h2 {
    font-size: 20px;
    padding: 10px 14px;
    margin: 30px 0 16px;
  }
  .pn-article-body h3 {
    font-size: 18px;
    margin: 26px 0 14px;
  }
  .pn-article-body h4 { font-size: 16px; }
  .pn-article-body p { font-size: 17px; }
  .pn-article-body ul li,
  .pn-article-body ol li { font-size: 16px; }
  .pn-article-body table { font-size: 14px; }
  .pn-article-body table th,
  .pn-article-body table td { padding: 9px 8px; }

  .pn-cta-box {
    padding: 26px 22px;
    margin: 32px 0;
  }
  .pn-cta-point { font-size: 19px; }
  .pn-article-body .pn-cta-box .pn-cta-desc,
  .pn-cta-box .pn-cta-desc,
  .pn-cta-desc { font-size: 15px; }
  .pn-cta-btn {
    padding: 13px 28px;
    font-size: 16px;
  }

  .pn-cta-sub { padding: 20px 18px; }
  .pn-cta-sub-title { font-size: 17px; }
  .pn-article-body .pn-cta-sub p,
  .pn-cta-sub p { font-size: 15px; }

  .pn-toc { padding: 20px 22px; }
  .pn-toc-title { font-size: 17px; }
  .pn-toc-list li a { font-size: 15px; }

  .pn-related-title { font-size: 19px; }
  .pn-related-grid { grid-template-columns: 1fr; }

  .pn-widget-title { font-size: 16px; }
  .pn-widget-list li a { font-size: 14px; }

  .pn-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pn-footer { padding: 40px 0 20px; }
  .pn-footer-logo { font-size: 19px; }
  .pn-footer-about p:not(.pn-footer-logo) { font-size: 14px; }
}

/* スクロールオフセット（スティッキー上部バー分を確保） */
.pn-article-body h2[id],
.pn-article-section[id] {
  scroll-margin-top: 130px;
}
