/*
Theme Name: Peacemarket Sapporo SEO Theme
Theme URI: https://peacemarket-sapporo.com/
Author: Three Stage Co., Ltd.
Description: 出張買取専門店 ピースマーケット札幌（北海道全域対応）専用・超軽量高速長文SEOテーマ。連絡先0秒一括変更・北海道110エリア×105品目×専門コラム422記事（全660ページ）×1,000ページ買取実績連動・2026年Google公式構造化データ準拠。
Version: 2.9.0
Text Domain: peacemarket-sapporo
*/

:root {
  --bg-page: hsl(200, 22%, 98.4%);
  --bg-surface: #ffffff;
  --bg-subtle: hsl(156, 26%, 95.8%);
  --bg-warm: hsl(38, 45%, 96.5%);
  --brand-forest: hsl(158, 52%, 22%);
  --brand-forest-dark: hsl(158, 56%, 15%);
  --brand-forest-soft: hsl(158, 38%, 92%);
  --brand-navy: hsl(214, 46%, 17%);
  --cta-phone: hsl(27, 90%, 42%);
  --cta-phone-hover: hsl(27, 92%, 36%);
  --cta-line: #06c755;
  --cta-line-hover: #05ad49;
  --text-main: hsl(214, 32%, 15%);
  --text-sub: hsl(214, 18%, 34%);
  --text-muted: hsl(214, 14%, 46%);
  --border-light: hsl(210, 20%, 88%);
  --border-strong: hsl(158, 28%, 76%);
  --shadow-sm: 0 2px 8px rgba(23, 41, 63, 0.05);
  --shadow-md: 0 8px 24px rgba(23, 41, 63, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.02em;
  color: var(--text-main);
  background-color: var(--bg-page);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

a:hover {
  color: var(--brand-forest-dark);
}

.pm-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
}

/* Top License & Trust Utility Bar */
.pm-topbar {
  background-color: var(--brand-navy);
  color: #f1f5f9;
  font-size: 12.5px;
  padding: 7px 0;
}

.pm-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pm-topbar__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pm-topbar__tag {
  background: rgba(255, 255, 255, 0.13);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* Sticky Header */
.pm-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.pm-header__inner {
  max-width: 1260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 12px;
}

.pm-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.pm-logo__sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-forest);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pm-logo__main {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.pm-nav {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pm-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 2px;
  white-space: nowrap;
}

.pm-nav a:hover {
  color: var(--brand-forest);
}

.pm-header__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.pm-header__tel {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  white-space: nowrap;
}

.pm-header__tel-note {
  font-size: 10px;
  color: var(--text-sub);
  font-weight: 700;
  white-space: nowrap;
}

.pm-header__tel-num {
  font-size: 18.5px;
  font-weight: 900;
  color: var(--cta-phone);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pm-menu-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--brand-navy);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Buttons */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
}

.pm-btn:hover {
  transform: translateY(-1px);
}

.pm-btn--phone {
  background-color: var(--cta-phone);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(196, 94, 10, 0.25);
}

.pm-btn--phone:hover {
  background-color: var(--cta-phone-hover);
}

.pm-btn--line {
  background-color: var(--cta-line);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.24);
}

.pm-btn--line:hover {
  background-color: var(--cta-line-hover);
}

.pm-btn--forest {
  background-color: var(--brand-forest);
  color: #ffffff !important;
}

.pm-btn--forest:hover {
  background-color: var(--brand-forest-dark);
}

.pm-btn--outline {
  background-color: #ffffff;
  color: var(--brand-forest) !important;
  border: 2px solid var(--brand-forest);
}

.pm-btn--sm {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 13px;
  white-space: nowrap;
}

/* Breadcrumbs */
.pm-breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  font-size: 13px;
}

.pm-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--text-muted);
}

.pm-breadcrumb__list li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--text-muted);
}

.pm-breadcrumb__list a {
  text-decoration: none;
  color: var(--text-sub);
}

/* Hero Section */
.pm-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--border-light);
}

.pm-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.pm-hero__kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-forest);
  background: var(--brand-forest-soft);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.pm-hero__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.32;
  font-weight: 900;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}

.pm-hero__lead {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--text-sub);
}

.pm-zero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.pm-zero-item {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 6px;
  text-align: center;
}

.pm-zero-item__label {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 700;
}

.pm-zero-item__val {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-forest);
}

.pm-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.pm-hero__cta-row .pm-btn {
  flex: 1 1 230px;
}

.pm-hero__safety-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
  background: var(--bg-warm);
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(38, 45%, 84%);
}

.pm-hero__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
}

.pm-hero__visual-caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-sub);
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* Sections */
.pm-section {
  padding: 56px 0;
}

.pm-section--white {
  background-color: #ffffff;
}

.pm-section--subtle {
  background-color: var(--bg-subtle);
}

.pm-section__head {
  margin-bottom: 28px;
}

.pm-section__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-forest);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.pm-section__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.38;
  font-weight: 900;
  color: var(--brand-navy);
}

.pm-section__desc {
  margin: 0;
  color: var(--text-sub);
  max-width: 780px;
}

/* AI Overview Quick Answer Box (40~80 char instant conclusion) */
.pm-quick-answer {
  background: #ffffff;
  border: 2px solid var(--brand-forest);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 32px;
  box-shadow: var(--shadow-sm);
}

.pm-quick-answer__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-forest);
}

.pm-quick-answer__body {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

/* Cards & Grids */
.pm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pm-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.pm-card__num {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-forest);
  background: var(--brand-forest-soft);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.pm-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.4;
}

.pm-card p {
  margin: 0;
  font-size: 14.8px;
  color: var(--text-sub);
}

/* Link Cards for 22 Items & 23 Areas */
.pm-item-link-card,
.pm-area-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.pm-item-link-card:hover,
.pm-area-link-card:hover {
  border-color: var(--brand-forest);
  background: hsl(158, 35%, 98.5%);
  transform: translateY(-2px);
}

.pm-link-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-forest);
  background: var(--brand-forest-soft);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.pm-link-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.38;
}

.pm-link-card__meta {
  margin: 0;
  font-size: 12.8px;
  color: var(--text-muted);
}

.pm-item-link-card--visual {
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.pm-item-link-card--visual:hover {
  box-shadow: 0 10px 24px rgba(15, 36, 56, 0.09);
}

.pm-item-link-card__thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #fdfbf7;
  border-bottom: 1px solid var(--border-light);
}

.pm-item-link-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.pm-item-link-card--visual:hover .pm-item-link-card__thumb img {
  transform: scale(1.04);
}

.pm-item-link-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.pm-item-link-card__cta {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-forest);
}

/* Case Study Cards */
.pm-case-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pm-case-card:hover {
  box-shadow: 0 10px 24px rgba(15, 36, 56, 0.09);
  transform: translateY(-2px);
}

.pm-case-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.pm-case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.pm-case-card:hover .pm-case-card__thumb img {
  transform: scale(1.04);
}

.pm-case-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pm-case-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.pm-case-card__area {
  font-weight: 800;
  color: var(--brand-forest);
  background: var(--brand-forest-soft);
  padding: 2px 9px;
  border-radius: 4px;
}

.pm-case-card__tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.pm-case-card__title {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.45;
}

.pm-case-card__title a {
  text-decoration: none;
  color: var(--brand-navy);
}

.pm-case-card__title a:hover {
  text-decoration: underline;
  color: var(--brand-forest);
}

.pm-case-card__items,
.pm-case-card__work,
.pm-case-card__excerpt {
  margin: 0;
  font-size: 13.8px;
  color: var(--text-sub);
}

.pm-case-card__price-box {
  background: var(--bg-warm);
  border: 1px solid hsl(36, 50%, 82%);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pm-case-card__price-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-sub);
  white-space: nowrap;
  flex-shrink: 0;
}

.pm-case-card__price-val {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--cta-phone);
  text-align: right;
  line-height: 1.3;
}

.pm-case-card__more {
  margin-top: auto;
  padding-top: 4px;
  font-size: 13.5px;
  font-weight: 800;
}

.pm-case-single-photo {
  margin: 0 0 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  max-width: 760px;
}

.pm-case-single-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}

/* Tables (Essential for AI Overviews & Comparison) */
.pm-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 26px;
}

.pm-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14.5px;
}

.pm-table th,
.pm-table td {
  border: 1px solid var(--border-light);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.pm-table thead th {
  background: var(--brand-navy);
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
}

.pm-table tbody th {
  background: var(--bg-subtle);
  color: var(--brand-navy);
  font-weight: 800;
  width: 26%;
}

.pm-table .pm-col-win {
  background: hsl(156, 44%, 96.5%);
  font-weight: 700;
}

/* Visible Q&A Accordion / List */
.pm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pm-faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.pm-faq-item__q {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--brand-navy);
}

.pm-faq-item__a {
  margin: 0;
  font-size: 15px;
  color: var(--text-sub);
}

/* Mid-Page & Footer CTA Banner */
.pm-cta-banner {
  background: var(--brand-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  margin: 34px 0;
}

.pm-cta-banner__title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  color: #ffffff;
}

.pm-cta-banner__lead {
  margin: 0 0 20px;
  color: #e2e8f0;
  font-size: 15px;
}

.pm-cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pm-cta-banner__buttons .pm-btn {
  flex: 1 1 240px;
}

/* Appraisal Reservation Form */
.pm-form-card {
  background: #ffffff;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.pm-form-row {
  margin-bottom: 18px;
}

.pm-form-label {
  display: block;
  font-weight: 800;
  font-size: 14.5px;
  margin-bottom: 6px;
  color: var(--brand-navy);
}

.pm-req {
  background: var(--cta-phone);
  color: #ffffff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.pm-opt {
  background: #e2e8f0;
  color: var(--text-sub);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.pm-input,
.pm-select,
.pm-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
}

.pm-input:focus,
.pm-select:focus,
.pm-textarea:focus {
  outline: 2px solid var(--brand-forest);
  border-color: var(--brand-forest);
}

.pm-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pm-check-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  background: var(--bg-page);
}

.pm-form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-weight: 700;
}

.pm-form-feedback--ok {
  background: var(--brand-forest-soft);
  color: var(--brand-forest-dark);
  border: 1px solid var(--brand-forest);
}

.pm-form-feedback--err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #f87171;
}

/* Article Content Prose */
.pm-prose h2 {
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-forest);
  font-size: 22px;
  color: var(--brand-navy);
}

.pm-prose h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  color: var(--brand-navy);
}

.pm-inline-tel {
  font-weight: 900;
  font-size: 1.1em;
  color: var(--cta-phone);
}

.pm-inline-badge {
  margin-left: 8px;
  font-size: 13px;
}

.pm-small-muted {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.pm-footer {
  background: var(--brand-navy);
  color: #cbd5e1;
  padding: 52px 0 96px;
  font-size: 14px;
}

.pm-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.pm-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.pm-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.pm-footer__heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
}

.pm-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 12px;
}

.pm-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

/* Mobile Fixed Bottom Conversion Bar */
.pm-mobile-bar {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1180px) {
  .pm-nav,
  .pm-header__actions {
    display: none;
  }

  .pm-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .pm-logo__sub {
    font-size: 10px;
    white-space: normal;
  }

  .pm-logo__main {
    font-size: 15.5px;
    white-space: normal;
  }

  .pm-menu-toggle {
    display: inline-flex;
  }

  .pm-header.is-open .pm-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 20px;
    border-bottom: 2px solid var(--brand-forest);
    box-shadow: var(--shadow-md);
    gap: 10px;
  }

  .pm-hero__grid,
  .pm-grid-3,
  .pm-grid-2,
  .pm-footer__grid {
    grid-template-columns: 1fr;
  }

  .pm-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-check-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-mobile-bar {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.9fr;
    gap: 6px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border-light);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }

  .pm-mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 800;
    font-size: 12.5px;
    line-height: 1.2;
    color: #ffffff;
    padding: 6px 4px;
  }

  .pm-mobile-bar__tel {
    background: var(--cta-phone);
  }

  .pm-mobile-bar__line {
    background: var(--cta-line);
  }

  .pm-mobile-bar__web {
    background: var(--brand-forest);
  }
}

@media (max-width: 560px) {
  .pm-zero-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-grid-4,
  .pm-check-grid {
    grid-template-columns: 1fr;
  }

  .pm-section {
    padding: 40px 0;
  }

  .pm-form-card,
  .pm-cta-banner {
    padding: 20px 16px;
  }
}

/* Kumakichi Mascot UI Components */
.pm-logo--with-mascot {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.pm-logo__mascot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsl(38, 68%, 56%);
  flex-shrink: 0;
}

.pm-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pm-quick-answer--mascot {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pm-quick-answer__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  background: #fdfbf7;
}

.pm-cta-banner__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pm-cta-banner__mascot {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  background: #fdfbf7;
}

.pm-kumakichi-mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--bg-warm);
  border: 1px solid hsl(38, 45%, 84%);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-main);
}

.pm-kumakichi-mini-row img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .pm-quick-answer--mascot,
  .pm-cta-banner__head,
  .pm-faq-guide-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Female Staff Concierge UI Components */
.pm-hero__safety-note--with-avatar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pm-staff-avatar-sm {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-forest);
  background: #fdfbf7;
  flex-shrink: 0;
}

.pm-staff-avatar-round {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsl(158, 36%, 72%);
  background: #fdfbf7;
  flex-shrink: 0;
}

.pm-staff-avatar-lg {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-forest);
  background: #fdfbf7;
  flex-shrink: 0;
}

.pm-faq-guide-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.pm-staff-inline-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pm-cta-banner__mascots {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pm-cta-banner__mascots .pm-cta-banner__mascot + .pm-cta-banner__mascot {
  margin-left: -14px;
}

.pm-form-card__duo-banner {
  margin: -4px 0 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.pm-form-card__duo-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: cover;
  object-position: center 22%;
}

/* Long-Form SEO Pillar & Column Components (v1.0.6) */
.pm-article-container {
  max-width: 900px;
  margin: 0 auto;
}

.pm-toc {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--brand-forest);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 26px 0 34px;
  box-shadow: var(--shadow-sm);
}

.pm-toc__title {
  margin: 0 0 12px;
  font-size: 16.5px;
  font-weight: 900;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-toc__title::before {
  content: "目次";
  display: inline-block;
  background: var(--brand-forest);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.pm-toc__list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
}

.pm-toc__list li {
  color: var(--brand-forest);
  line-height: 1.5;
}

.pm-toc__list a {
  color: var(--brand-navy);
  text-decoration: none;
  border-bottom: 1px dashed rgba(23, 41, 63, 0.25);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pm-toc__list a:hover {
  color: var(--brand-forest);
  border-bottom-color: var(--brand-forest);
}

.pm-prose p {
  margin: 0 0 16px;
}

.pm-prose ul,
.pm-prose ol:not(.pm-toc__list) {
  margin: 14px 0 22px;
  padding-left: 24px;
}

.pm-prose ul li,
.pm-prose ol:not(.pm-toc__list) li {
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .pm-toc {
    padding: 16px 16px;
    margin: 20px 0 26px;
  }

  .pm-toc__list {
    font-size: 13.8px;
    padding-left: 18px;
  }
}

/* ==========================================================================
   v1.1.1: Upscale Buyback & Appraisal Specialist Header, Panoramic Cover & Icon Bar
   ========================================================================== */
.pm-wkbar {
  background: linear-gradient(90deg, #0f2942 0%, #1e3a8a 50%, #0f2942 100%);
  color: #fefce8;
  text-align: center;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  border-bottom: 1px solid rgba(250, 204, 21, 0.42);
}

.pm-wkbar__sp {
  display: none;
}

.pm-logo__permit-pill {
  display: inline-block;
  align-self: flex-start;
  background: #0f2942;
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.45);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 4px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.pm-nav--drawer {
  display: none;
}

.pm-header__wk-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-right: 6px;
}

.pm-header__wk-pill {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 50px;
  line-height: 1.3;
  white-space: nowrap;
}

.pm-header__wk-hours {
  font-size: 10.5px;
  color: var(--text-sub);
  font-weight: 700;
  white-space: nowrap;
}

.pm-header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  padding: 0 16px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pm-header-pill:hover {
  transform: translateY(-1px);
}

.pm-header-pill--tel {
  background: #ffffff;
  color: #0f2942 !important;
  border: 2px solid #0f2942;
}

.pm-header-pill--line {
  background: #06c755;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.28);
}

.pm-header-pill--web {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(180, 83, 9, 0.28);
}

/* Full-Bleed Appraiser Cover Image + Refined Appraisal Certificate Card */
.pm-hero-cover {
  background-color: #ebe3d3;
  background-image: var(--pm-hero-bg);
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 28px 0 32px;
  min-height: 548px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid #d97706;
}

.pm-hero-cover__container {
  max-width: 1280px;
}

.pm-hero-cover__box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 14px;
  padding: 26px 28px;
  max-width: 650px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-top: 4px solid #d97706;
}

.pm-hero-cover__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.pm-hero-cover__permit {
  display: inline-block;
  background: #0f2942;
  color: #ffffff;
  font-weight: 900;
  font-size: 12.2px;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(15, 41, 66, 0.18);
}

.pm-hero-cover__gold {
  display: inline-block;
  background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
  color: #fefce8;
  font-weight: 900;
  font-size: 12.2px;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(180, 83, 9, 0.2);
}

.pm-hero-cover__title {
  margin: 0 0 12px;
  font-size: clamp(17.5px, 1.58vw, 20.5px);
  font-weight: 900;
  line-height: 1.48;
  color: #0f2942;
}

.pm-hero-cover__title span {
  display: inline;
  font-size: clamp(21px, 2.2vw, 28.5px);
  color: #9a3412;
  background: linear-gradient(transparent 72%, #fef08a 72%);
  padding-bottom: 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* 3-Medal Appraisal Trust Row */
.pm-hero-cover__medals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.pm-hero-medal {
  background: linear-gradient(180deg, #fffdf7 0%, #fef3c7 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 9px;
  padding: 7px 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.1);
}

.pm-hero-medal__top {
  display: block;
  font-size: 10.8px;
  font-weight: 800;
  color: #78350f;
  line-height: 1.25;
}

.pm-hero-medal__val {
  display: block;
  font-size: 15.5px;
  font-weight: 900;
  color: #b45309;
  line-height: 1.3;
  margin-top: 2px;
}

.pm-hero-cover__sub {
  margin: 0 0 15px;
  font-size: 13.8px;
  font-weight: 700;
  line-height: 1.65;
  color: #334155;
}

.pm-hero-cover__ctas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 12px;
}

.pm-hcta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 6px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pm-hcta:hover {
  transform: translateY(-2px);
}

.pm-hcta__main {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.28;
  white-space: nowrap;
}

.pm-hcta__sub {
  font-size: 10.3px;
  font-weight: 700;
  margin-top: 3px;
  opacity: 0.94;
  white-space: nowrap;
}

.pm-hcta--gold,
.pm-hcta--web {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.3);
}

.pm-hcta--line {
  background: #06c755;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.28);
}

.pm-hcta--tel {
  background: #ffffff;
  color: #0f2942 !important;
  border: 2px solid #0f2942;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.pm-hcta--tel .pm-hcta__sub {
  color: #b45309;
}

.pm-hero-cover__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pm-hero-cover__checks span {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f2942;
  font-size: 11.2px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 50px;
}

/* Full-Width Royal Navy & Gold Appraisal Navigation Bar */
.pm-icon-navbar {
  background: linear-gradient(180deg, #0f2942 0%, #172554 100%);
  border-bottom: 3px solid #f59e0b;
}

.pm-icon-navbar__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.pm-icon-navbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 6px;
  color: #ffffff !important;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s ease;
  text-align: center;
}

.pm-icon-navbar__item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pm-icon-navbar__item:hover {
  background: rgba(250, 204, 21, 0.12);
}

.pm-icon-navbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-icon-navbar__label {
  font-size: 12.2px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

/* Live Appraisal Schedule Strip */
.pm-dispatch-strip {
  background: #fffdf9;
  border-bottom: 1px solid #fde68a;
  padding: 10px 0;
}

.pm-dispatch-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--brand-navy);
}

.pm-dispatch-strip__text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.pm-dispatch-strip__badge {
  background: #92400e;
  color: #ffffff;
  font-weight: 800;
  font-size: 11.8px;
  padding: 4px 11px;
  border-radius: 50px;
  white-space: nowrap;
}

.pm-dispatch-strip__staff {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #0f2942;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .pm-hero-cover__box {
    max-width: 580px;
    padding: 22px 22px;
  }
}

@media (max-width: 1080px) {
  .pm-header__wk-info {
    display: none;
  }

  .pm-icon-navbar__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pm-icon-navbar__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 900px) {
  .pm-wkbar__pc {
    display: none;
  }

  .pm-wkbar__sp {
    display: inline;
    font-size: 11.5px;
  }

  .pm-logo__permit-pill {
    font-size: 9.8px;
    padding: 2px 7px;
    white-space: nowrap;
  }

  .pm-logo__main {
    font-size: 14px;
  }

  .pm-hero-cover {
    background-image: none;
    background-color: #faf7f2;
    min-height: 0;
    padding: 12px 0 18px;
    display: block;
  }

  .pm-hero-cover .pm-container::before {
    content: "";
    display: block;
    width: 100%;
    height: 245px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1.5px solid #e2d5c1;
    background-image: var(--pm-hero-bg-sp, var(--pm-hero-bg));
    background-position: center 62%;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  }

  .pm-hero-cover__box {
    max-width: 100%;
    padding: 18px 15px;
    background: #ffffff;
  }

  .pm-hero-cover__title {
    font-size: 16px;
  }

  .pm-hero-cover__title span {
    font-size: 18.2px;
  }

  .pm-hero-cover__medals {
    gap: 6px;
  }

  .pm-hero-medal__top {
    font-size: 10px;
  }

  .pm-hero-medal__val {
    font-size: 13.8px;
  }

  .pm-hero-cover__ctas {
    grid-template-columns: 1fr;
  }

  .pm-hcta__main {
    font-size: 15px;
  }

  .pm-icon-navbar__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pm-icon-navbar__label {
    font-size: 11px;
    white-space: normal;
  }
}

