/* ========================================
   不動産売却サポート株式会社 共通CSS
   Version: v43
   ======================================== */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-bg: #FFFFFF;
  --c-bg-gray: #FBF9F7;
  --c-bg-dark: #4A4543;
  --c-text: #3C3836;
  --c-text-mid: #6B6560;
  --c-text-light: #9A9490;
  --c-border: #E8E4E0;
  --c-bg-warm: #FFF8F0;
  --c-accent: #F29600;
  --c-accent-light: #FFF5E6;
  --c-accent-dark: #D68400;
  --c-green: #8DC21F;
  --c-green-dark: #6FA318;
  --c-green-light: #F2F9E6;
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --max-w: 480px;
  /* Font Scale (SP) */
  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-lg: 17px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-num: 24px;
}

/* --- Base --- */
html { font-size: var(--fs-base); scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 72px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  line-height: 1;
}
.header-logo-link { display: block; }
.header-logo-img {
  height: 44px;
  width: auto;
}
.header-tel {
  display: none;
}
.header-tel-block {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1;
}
.header-tel-num {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.02em;
}
.header-tel-hours {
  font-size: 10px;
  color: var(--c-text-light);
  margin-top: 3px;
}
.header-right { display: flex; align-items: center; gap: 8px; }
.header-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--c-text);
  -webkit-tap-highlight-color: transparent;
}
.header-menu-icon {
  font-size: 18px;
  line-height: 1;
}
.header-menu-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: var(--font);
}
.nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-overlay.open { display: block; }
.nav-drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 320px;
  height: 100%;
  background: var(--c-bg);
  z-index: 201;
  transition: right 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer.open { right: 0; }
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
}
.nav-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: var(--fs-xl);
  color: var(--c-text);
  cursor: pointer;
}
.nav-drawer-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
}
.nav-drawer a {
  display: block;
  padding: 16px 20px;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}
.nav-drawer a:active { background: var(--c-bg-gray); }
.nav-drawer-group-label {
  padding: 12px 20px 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-text-light);
  text-transform: uppercase;
  border-bottom: none;
}
.nav-drawer-sub {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  display: block;
  margin-top: 2px;
}
.nav-drawer-cta {
  padding: 20px;
}
.nav-drawer-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #fff;
  border-radius: 4px;
  padding: 14px;
  font-size: var(--fs-base);
  font-weight: 700;
  border-bottom: none;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 10px 20px;
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: 1.4;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb a {
  color: var(--c-text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumb span { margin: 0 6px; }

/* --- Bottom Bar (CTA固定) --- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 200;
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}
.bb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  min-height: 56px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.bb-btn-tel { background: #fff; color: var(--c-text); }
.bb-btn-form { background: var(--c-accent); color: #fff; border-left: 1px solid var(--c-border); }
.bb-btn-sub { font-size: var(--fs-xs); font-weight: 400; opacity: 0.7; }

/* --- Section --- */
.section { padding: 48px 20px; }
.section-gray { background: var(--c-bg-gray); border-top: 1px solid var(--c-border); }
.section-dark { background: #2D2926; color: #fff; }

.section-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-text-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-dark .section-label { color: rgba(255,255,255,0.5); }

.section-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--c-text);
}
.section-dark .section-title { color: #fff; border-left-color: rgba(255,255,255,0.3); }

.section-lead {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.divider {
  width: 32px;
  height: 2px;
  background: var(--c-text);
  margin-bottom: 20px;
}
.section-dark .divider { background: #fff; }

/* --- Page Hero (サブページ用) --- */
.page-hero {
  padding: 40px 20px 36px;
  border-bottom: 1px solid var(--c-border);
}
.page-hero-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-text-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}
/* --- 会社写真ギャラリー --- */
.company-photos {
  margin-top: 28px;
}
.company-photos-main {
  margin-bottom: 8px;
}
.company-photos-main img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.company-photos-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.company-photos-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.company-photos-cap {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  margin-top: 4px;
  text-align: center;
}

.page-hero-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* --- Hero (トップページ) --- */
.hero {
  padding: 40px 20px 48px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.hero-bg {
  background: url('../img/hero-bg.webp') center / cover no-repeat;
  position: relative;
  padding: 56px 20px 48px;
  border-bottom: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.40) 60%, rgba(15,15,15,0.25) 100%);
}
.hero-bg .hero-inner { position: relative; z-index: 1; }
.hero-bg .hero-badge { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }
.hero-bg .hero-title { color: #fff; }
.hero-bg .hero-title em { color: rgba(255,255,255,0.88); }
.hero-bg .hero-sub { color: rgba(255,255,255,0.75); }
.hero-bg .hero-stats { background: rgba(250,248,244,0.10); border-color: rgba(255,255,255,0.15); }
.hero-bg .hero-stat { background: rgba(250,248,244,0.10); }
.hero-bg .hero-stat-num { color: #fff; }
.hero-bg .hero-stat-label { color: rgba(255,255,255,0.6); }
.hero-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-text-light);
  border: 1px solid var(--c-border);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: normal;
  display: block;
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--c-text-mid);
  margin-bottom: 6px;
}
.hero-sub {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
}
.hero-stat { background: var(--c-bg); padding: 16px 14px; }
.hero-stat-num {
  font-size: var(--fs-num);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num span { font-size: var(--fs-base); font-weight: 400; }
.hero-stat-label { font-size: var(--fs-sm); color: var(--c-text-light); line-height: 1.4; }

/* --- こんな方へ --- */
.situation-list { display: flex; flex-direction: column; gap: 12px; }
.situation-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 4px;
}
.situation-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-style: normal;
}
.situation-item-title { font-size: var(--fs-base); font-weight: 700; margin-bottom: 4px; }
.situation-item-desc { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.6; }

/* --- 選ばれる理由 --- */
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: center;
  padding: 20px 16px;
  gap: 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
}
.trust-item:last-child { border-bottom: none; }
.trust-num {
  font-size: var(--fs-num);
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
  width: 80px;
  text-align: center;
}
.trust-num span { font-size: var(--fs-sm); font-weight: 400; }
.trust-item-title { font-size: var(--fs-base); font-weight: 700; margin-bottom: 3px; }
.trust-item-desc { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.55; }
.trust-note { margin-top: 16px; font-size: var(--fs-sm); color: var(--c-text-light); line-height: 1.7; }

/* --- コンセプト --- */
.concept-body { font-size: var(--fs-base); line-height: 1.9; color: var(--c-text-mid); }
.concept-quote {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1.6;
  border-left: 3px solid var(--c-accent);
  padding-left: 16px;
  margin: 24px 0;
}

/* --- 買取の流れ --- */
.flow-list { display: flex; flex-direction: column; gap: 0; }
.flow-item { display: flex; gap: 16px; padding-bottom: 28px; position: relative; }
.flow-item:last-child { padding-bottom: 0; }
.flow-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--c-border);
}
.flow-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-content { padding-top: 8px; }
.flow-title { font-size: var(--fs-base); font-weight: 700; margin-bottom: 4px; }
.flow-desc { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.65; }

/* --- 解決事例 --- */
.case-list { display: flex; flex-direction: column; gap: 16px; }
.case-item {
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.case-header {
  background: var(--c-bg-gray);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.case-tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.05em; color: var(--c-text-mid); }
.case-days { font-size: var(--fs-xs); color: var(--c-text-light); flex-shrink: 0; }
.case-body { padding: 16px; }
.case-title { font-size: var(--fs-base); font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.case-desc { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.7; }
.case-price { font-size: var(--fs-sm); font-weight: 500; color: var(--c-accent); margin-left: 4px; }

/* --- 事例カード写真 --- */
.case-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--c-bg-gray);
}

/* --- メッセージ本文内写真 --- */
.msg-inline-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin: 24px 0;
  display: block;
  background: var(--c-bg-gray);
}
.msg-inline-photo-placeholder {
  width: 100%;
  height: 160px;
  border-radius: 6px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-gray);
  border: 1px dashed var(--c-border);
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* --- 会社概要 オフィス写真 --- */
.company-photo-lead {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
  background: var(--c-bg-gray);
}

/* --- アクセス エントランス写真 --- */
.access-entrance {
  width: 100%;
  max-width: 320px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 12px;
  display: block;
}

/* --- 士業ページ 代表写真付き挨拶 --- */
.sigyo-quote-rep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sigyo-quote-rep img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sigyo-quote-rep-info .rep-name { font-size: var(--fs-base); font-weight: 700; }
.sigyo-quote-rep-info .rep-title { font-size: var(--fs-sm); color: var(--c-text-mid); }

/* --- セクション写真（リード上部など） --- */
.section-photo-lead {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
  display: block;
  background: var(--c-bg-gray);
}

/* --- 問い合わせ 代表小写真 --- */
.contact-rep-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}
.contact-rep-badge img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.contact-rep-badge-text {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.5;
}
.contact-rep-badge-text strong {
  display: block;
  font-size: var(--fs-base);
  color: var(--c-text);
}

/* --- 記事ヒーロー写真 --- */
.article-hero-photo {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: var(--c-bg-gray);
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--c-border); background: var(--c-bg); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.5;
}
.faq-q-mark {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  background: var(--c-accent);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-q-arrow { margin-left: auto; flex-shrink: 0; font-size: var(--fs-sm); color: var(--c-text-light); transition: transform 0.2s; }
.faq-item.open .faq-q-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 16px; font-size: var(--fs-base); color: var(--c-text-mid); line-height: 1.8; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; padding: 0 16px 18px 16px; }

/* --- 代表 --- */
.rep-wrap { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.rep-section-inner { /* モバイルはブロック */ }
.rep-photo {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.rep-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rep-photo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-text-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: #aaa;
}
.rep-info { padding-top: 4px; }
.rep-name { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 3px; }
.rep-title { font-size: var(--fs-xs); color: var(--c-text-light); margin-bottom: 6px; }
.rep-career { font-size: var(--fs-base); line-height: 1.9; color: var(--c-text-mid); }
.rep-message { font-size: var(--fs-base); line-height: 1.9; opacity: 0.9; }
.rep-sig { margin-top: 20px; font-size: var(--fs-sm); opacity: 0.6; text-align: right; }

/* --- 経歴タイムライン --- */
.career-list { display: flex; flex-direction: column; gap: 0; margin-top: 16px; }
.career-item { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
.career-item:last-child { padding-bottom: 0; }
.career-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--c-border);
}
.career-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-bg-gray);
  border: 1px solid var(--c-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-text-light);
}
.career-content { padding-top: 6px; }
.career-year { font-size: var(--fs-sm); color: var(--c-text-light); margin-bottom: 3px; }
.career-desc { font-size: var(--fs-base); font-weight: 700; line-height: 1.5; color: var(--c-text); }
.career-sub { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.6; margin-top: 3px; }

/* --- 基本情報テーブル --- */
.info-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.info-table tr { border-bottom: 1px solid var(--c-border); }
.info-table tr:first-child { border-top: 1px solid var(--c-border); }
.info-table th {
  width: 38%;
  padding: 14px 12px 14px 0;
  font-weight: 700;
  color: var(--c-text-mid);
  vertical-align: top;
  white-space: nowrap;
}
.info-table td {
  padding: 14px 0;
  color: var(--c-text);
  line-height: 1.7;
  vertical-align: top;
}

/* --- 免許証 --- */
.license-box {
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 20px 16px;
  background: var(--c-bg);
}
.license-num { font-size: var(--fs-base); font-weight: 700; margin-bottom: 6px; }
.license-sub { font-size: var(--fs-sm); color: var(--c-text-light); line-height: 1.7; }
.license-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--c-border);
}
.license-photo {
  margin-top: 16px;
  max-width: 420px;
}

/* --- グループ会社 --- */
.group-diagram { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.group-item {
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-bg);
}
.group-item-main { background: var(--c-bg-dark); color: #fff; }
.group-header { padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.group-role {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.group-item:not(.group-item-main) .group-role {
  background: var(--c-bg-gray);
  color: var(--c-text-mid);
}
.group-name { font-size: var(--fs-base); font-weight: 700; }
.group-desc { padding: 0 16px 14px 16px; font-size: var(--fs-sm); color: rgba(255,255,255,0.7); line-height: 1.7; }
.group-item:not(.group-item-main) .group-desc { color: var(--c-text-mid); }
.group-connector { text-align: center; font-size: var(--fs-lg); color: var(--c-text-light); line-height: 1; }

/* --- 取引金融機関 --- */
.bank-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bank-item {
  font-size: var(--fs-sm);
  font-weight: 700;
  border: 1px solid var(--c-border);
  border-radius: 3px;
  padding: 6px 12px;
  background: var(--c-bg);
  color: var(--c-text-mid);
}

/* --- CTA --- */
.cta-box { text-align: center; }
.cta-title { font-size: var(--fs-xl); font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.cta-sub { font-size: var(--fs-base); color: var(--c-text-mid); margin-bottom: 24px; line-height: 1.7; }
.cta-tel-block {
  background: var(--c-bg-gray);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 20px 16px;
  margin-bottom: 16px;
}
.cta-tel-label { font-size: var(--fs-sm); color: var(--c-text-light); margin-bottom: 8px; }
.cta-tel-num {
  display: block;
  font-size: var(--fs-num);
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 6px;
  text-decoration: none;
}
.cta-tel-hours { font-size: var(--fs-sm); color: var(--c-text-light); margin-top: 4px; }
.cta-form-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-dark) 100%);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  min-height: 52px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(242,150,0,0.25);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cta-form-btn:hover {
  box-shadow: 0 6px 20px rgba(242,150,0,0.35);
  transform: translateY(-1px);
}
.cta-notes { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.cta-note-item { font-size: var(--fs-sm); color: var(--c-text-light); display: flex; align-items: center; gap: 6px; }
.cta-actions { display: contents; }

/* --- Footer --- */
.footer {
  background: #2D2926;
  color: rgba(255,255,255,0.85);
  padding: 32px 20px;
}
.footer-logo { font-size: var(--fs-base); font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-info { font-size: var(--fs-sm); color: rgba(255,255,255,0.55); line-height: 1.9; margin-bottom: 20px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 24px; }
.footer-nav a { font-size: var(--fs-sm); color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: #fff; }
.footer-group { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; margin-bottom: 20px; }
.footer-group-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.footer-group-list { display: flex; flex-direction: column; gap: 6px; }
.footer-group-item { font-size: var(--fs-sm); color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px; }
.footer-group-item a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 2px; }
.footer-group-item a:hover { color: #fff; }
.footer-group-item-role { font-size: var(--fs-xs); color: rgba(255,255,255,0.4); }
.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* --- Contact Form Page --- */
.contact-lead {
  padding: 24px 20px;
  background: #fff;
  text-align: center;
}
.contact-lead-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--c-text);
}
.contact-lead-sub {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.contact-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--c-accent-light);
  color: var(--c-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Contact Layout (PC 2-column) */
.contact-layout { }
.contact-side-tel { display: none; }
.contact-side-tel-label { font-size: var(--fs-sm); color: var(--c-text-light); margin-bottom: 6px; }
.contact-side-tel-num {
  display: block;
  font-size: var(--fs-num);
  font-weight: 700;
  color: var(--c-accent);
  text-decoration: none;
  margin-bottom: 4px;
}
.contact-side-tel-hours { font-size: var(--fs-xs); color: var(--c-text-light); }

/* Form Container */
.form-section {
  padding: 0 20px 32px;
  background: #fff;
}
.form-wrap {
  background: var(--c-bg-gray);
  border-radius: 12px;
  padding: 24px 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}
.form-required {
  display: inline-block;
  background: #C0392B;
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  line-height: 1.5;
}
.form-optional {
  display: inline-block;
  background: #95A5A6;
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  line-height: 1.5;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 12px;
  font-size: 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  color: var(--c-text);
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-family: var(--font);
  transition: border-color 0.2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(242,150,0,0.15);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #B0B0B0;
  font-size: var(--fs-base);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}
.form-hint {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  margin-top: 6px;
  line-height: 1.6;
}
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-radio-item {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
}
.form-radio-item input[type="radio"] {
  display: none;
}
.form-radio-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text-mid);
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.form-radio-item input[type="radio"]:checked + label {
  background: var(--c-accent-light);
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Privacy & Submit */
.form-privacy {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 20px;
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: 1.8;
}
.form-privacy a {
  color: var(--c-accent);
  text-decoration: underline;
}
.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}
.form-agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--c-accent);
}
.form-agree-text {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: 1.6;
}
.form-submit-btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--c-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.form-submit-btn:hover {
  opacity: 0.9;
}
.form-submit-btn:active {
  transform: scale(0.98);
}
.form-submit-sub {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.8;
}
.form-note-after {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  margin-top: 16px;
  line-height: 1.7;
}

/* Tel Alternative */
.contact-tel-alt {
  background: var(--c-bg-gray);
  padding: 24px 20px;
  text-align: center;
}
.contact-tel-alt-title {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  margin-bottom: 12px;
}
.contact-tel-alt-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-num);
  font-weight: 700;
  color: var(--c-accent);
  text-decoration: none;
  margin-bottom: 6px;
}
.contact-tel-alt-time {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* --- Message Page --- */
.msg-photo-hero {
  text-align: center;
  padding: 24px 20px;
  background: var(--c-bg-gray);
}
.msg-photo-hero img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.msg-photo-text { margin-top: 16px; }
.msg-photo-hero .rep-name {
  font-size: var(--fs-xl);
}
.msg-photo-hero .rep-title {
  font-size: var(--fs-sm);
  margin-bottom: 6px;
}
.msg-profile-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}
.msg-profile-tag {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  display: flex;
  align-items: center;
  gap: 4px;
}
.msg-body {
  padding: 32px 20px;
  background: #fff;
}
.msg-heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-accent);
}
.msg-text {
  font-size: var(--fs-base);
  line-height: 2.0;
  color: var(--c-text);
  margin-bottom: 24px;
}
.msg-text:last-of-type {
  margin-bottom: 0;
}
.msg-sub-heading {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-accent);
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--c-accent);
}
.msg-sig-block {
  text-align: right;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}
.msg-sig-company {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  margin-bottom: 4px;
}
.msg-sig-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-text);
}
.msg-career-section {
  padding: 32px 20px;
  background: var(--c-bg-gray);
}
.msg-career-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
  text-align: center;
}
.msg-career-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.msg-career-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.msg-career-year {
  flex-shrink: 0;
  width: 56px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-accent);
  padding-top: 2px;
}
.msg-career-desc {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-text);
}

/* === Phase 2: 関連ページナビ === */
.related-nav {
  padding: 32px 20px;
  background: var(--c-bg-gray);
}
.related-nav-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  text-align: center;
}
.related-nav-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-nav-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--c-text);
  transition: border-color 0.2s;
}
.related-nav-card:hover {
  border-color: var(--c-accent);
}
.related-nav-icon {
  font-size: var(--fs-xl);
  margin-right: 12px;
  flex-shrink: 0;
}
.related-nav-text {
  flex: 1;
}
.related-nav-label {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.4;
}
.related-nav-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  margin-top: 2px;
  line-height: 1.4;
}
.related-nav-arrow {
  font-size: var(--fs-base);
  color: var(--c-text-light);
  margin-left: 8px;
  flex-shrink: 0;
}
/* コンテキストリンク（本文中） */
.context-link {
  display: inline-block;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--c-accent);
}
.context-link:hover {
  color: var(--c-accent-dark);
}
.context-link-block {
  display: block;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--c-accent-light);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 6px 6px 0;
  color: var(--c-accent);
  text-decoration: none;
  font-size: var(--fs-base);
  font-weight: 600;
}
.context-link-block:hover {
  background: var(--c-bg-warm);
}

/* === Article Page Styles === */
.article-meta {
  padding: 16px 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-tag {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-accent);
  background: var(--c-accent-light);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}
.article-date {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}
.article-hero {
  padding: 20px 20px 32px;
  border-bottom: 1px solid var(--c-border);
}
.article-hero-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.article-body {
  padding: 32px 20px;
}
.article-body h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-bg-dark);
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--c-bg-dark);
}
.article-body p {
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--c-text-mid);
  margin-bottom: 20px;
}
.article-body strong {
  color: var(--c-text);
  font-weight: 700;
}
.article-body .point-box {
  background: var(--c-bg-gray);
  border-radius: 6px;
  padding: 20px 16px;
  margin: 24px 0;
}
.article-body .point-box-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-body .point-box p {
  margin-bottom: 10px;
}
.article-body .point-box p:last-child {
  margin-bottom: 0;
}
.article-body .timeline-box {
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0;
}
.article-body .timeline-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--c-border);
  align-items: flex-start;
}
.article-body .timeline-item:last-child {
  border-bottom: none;
}
.article-body .timeline-step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-bg-dark);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.article-body .timeline-content {
  flex: 1;
}
.article-body .timeline-label {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.article-body .timeline-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.7;
}
.article-body .compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
  margin: 24px 0;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
}
.article-body .compare-table th {
  background: var(--c-bg-dark);
  color: #fff;
  font-weight: 700;
  padding: 10px 12px;
  text-align: left;
  font-size: var(--fs-sm);
}
.article-body .compare-table td {
  padding: 12px;
  border-bottom: 1px solid var(--c-border);
  line-height: 1.6;
  vertical-align: top;
  color: var(--c-text-mid);
}
.article-body .compare-table tr:last-child td {
  border-bottom: none;
}
.article-body .compare-table td:first-child {
  font-weight: 700;
  color: var(--c-text);
  width: 30%;
}
/* チェックリスト（縦型カード） */
.checklist-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.checklist-card {
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
}
.checklist-card-header {
  background: var(--c-bg-dark);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 10px 14px;
}
.checklist-card-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-base);
  line-height: 1.5;
}
.checklist-card-row:last-child {
  border-bottom: none;
}
.checklist-card-label {
  font-weight: 700;
  color: var(--c-text);
  flex-shrink: 0;
  margin-right: 12px;
}
.checklist-card-value {
  color: var(--c-text-mid);
  text-align: right;
}
.article-body .alert-box {
  background: #FFF8F0;
  border: 1px solid #F0DCC8;
  border-radius: 6px;
  padding: 16px;
  margin: 24px 0;
}
.article-body .alert-box-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #8B5E3C;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-body .alert-box p {
  font-size: var(--fs-base);
  color: #6B4E35;
  margin-bottom: 0;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  background: var(--c-bg-gray);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.article-author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-text-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: #aaa;
  overflow: hidden;
}
.article-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-author-info {
  flex: 1;
}
.article-author-name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 2px;
}
.article-author-title {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: 1.5;
}
/* === Case 3-Part Structure === */
.case-3part {
  margin-top: 12px;
}
.case-3part-item {
  padding: 10px 0;
  border-top: 1px dashed var(--c-border);
}
.case-3part-item:first-child {
  border-top: none;
  padding-top: 0;
}
.case-3part-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text-light);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}
.case-3part-text {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--c-text-mid);
}
/* 実績サマリー追加 */
.results-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.results-summary-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
}
.results-summary-card-num {
  font-size: var(--fs-num);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
}
.results-summary-card-num span {
  font-size: var(--fs-base);
  font-weight: 500;
}
.results-summary-card-label {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  margin-top: 4px;
}

/* --- 取扱種目 (PROPERTIES) --- */
.prop-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.prop-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.prop-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-accent-light);
  color: var(--c-accent);
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-style: normal;
  font-weight: 700;
}
.prop-card-body { flex: 1; min-width: 0; }
.prop-card-title { font-size: var(--fs-base); font-weight: 700; color: var(--c-text); }
.prop-card-desc { font-size: var(--fs-sm); color: var(--c-text-light); margin-top: 3px; line-height: 1.5; }
.area-info {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--c-bg-warm);
  border-radius: 6px;
}
.area-info-title { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.area-info-desc { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.65; }

/* --- コラムカード (COLUMN) --- */
.column-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.column-card {
  display: block;
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: 6px;
  padding: 14px 16px;
  text-decoration: none;
}
.column-card-cat { font-size: var(--fs-xs); color: var(--c-text-mid); font-weight: 500; margin-bottom: 4px; }
.column-card-title { font-size: var(--fs-base); font-weight: 700; color: var(--c-text); line-height: 1.5; }
.column-card-more { display: none; }
.column-list.expanded .column-card-more { display: block; }
.column-toggle {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-accent);
  cursor: pointer;
  font-family: inherit;
}
.column-toggle:active { background: var(--c-bg-gray); }

/* --- 2カラムチェックリスト --- */
.check-2col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
.check-2col-group {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.check-2col-header {
  padding: 12px 16px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
}
.check-2col-header-gray {
  background: var(--c-text-mid);
}
.check-2col-header-accent {
  background: var(--c-accent);
}
.check-2col-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  background: #fff;
}
.check-2col-item:last-child {
  border-bottom: none;
}
.check-2col-item::before {
  content: '✓';
  flex-shrink: 0;
  font-weight: 700;
  color: var(--c-accent);
}
.check-2col-header-gray + .check-2col-item::before {
  color: var(--c-text-mid);
}

/* --- リフォーム再販実例 --- */
.reform-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.reform-photo-item {
  position: relative;
}
.reform-photo-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.reform-photo-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 6px;
}
.reform-before {
  background: var(--c-text-light);
  color: #fff;
}
.reform-after {
  background: var(--c-accent);
  color: #fff;
}
.reform-work-list {
  padding-left: 20px;
  margin: 0;
}
.reform-work-list li {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.8;
  margin-bottom: 4px;
}

/* --- お客様の声 --- */
.voice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.voice-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  border-left: 3px solid var(--c-accent);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.voice-quote {
  font-size: var(--fs-base);
  line-height: 1.85;
  color: var(--c-text);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
.voice-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: var(--fs-2xl);
  color: var(--c-accent);
  line-height: 1;
  font-family: Georgia, serif;
}
.voice-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.voice-tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-accent);
  background: var(--c-accent-light);
  padding: 3px 8px;
  border-radius: 3px;
}
.voice-attr {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
}

/* --- 相場サイトバナー --- */
.souba-banner {
  padding: 32px 20px;
}
.souba-banner-inner {
  background: #2D2926;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.souba-banner-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
}
.souba-banner-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.souba-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s;
}
.souba-banner-link:hover {
  background: rgba(255,255,255,0.2);
}

/* --- コラム一覧ページ --- */
.column-category {
  margin-bottom: 40px;
}
.column-category:last-child {
  margin-bottom: 0;
}
.column-category-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-border);
}
.column-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.column-grid-card {
  display: block;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 14px 16px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.column-grid-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.column-grid-tag {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.column-grid-title {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.5;
}

/* --- サイトナビ (SITE NAV) --- */
.sitenav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sitenav-card {
  display: block;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  text-decoration: none;
}
.sitenav-card-title { font-size: var(--fs-base); font-weight: 700; color: var(--c-text); }
.sitenav-card-sub { font-size: var(--fs-xs); color: var(--c-text-light); margin-top: 2px; }

/* --- こんな方へ 記事リンク --- */
.situation-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.situation-link { font-size: var(--fs-sm); color: var(--c-accent); text-decoration: none; background: var(--c-accent-light); padding: 6px 12px; border-radius: 4px; font-weight: 500; }

/* --- セクション内リンク --- */
.section-link { font-size: var(--fs-base); color: var(--c-text-mid); text-decoration: underline; text-underline-offset: 3px; }
.section-link-dark { font-size: var(--fs-base); color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 3px; }
.section-link-small { font-size: var(--fs-sm); color: var(--c-text-mid); text-decoration: underline; text-underline-offset: 3px; }
.section-link-inline { display: inline; font-size: var(--fs-sm); color: var(--c-text-mid); text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }

/* --- セクション説明テキスト --- */
.section-desc { font-size: var(--fs-base); color: var(--c-text-mid); line-height: 1.7; margin-top: 12px; }

/* --- ユーティリティ --- */
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.pb-32 { padding-bottom: 32px; }

/* ============================================================
   Phase 2: インラインスタイル → CSSクラス化（v25）
   ============================================================ */

/* --- 共通テキストクラス --- */
.text-body-mid { font-size: var(--fs-base); line-height: 1.8; color: var(--c-text-mid); }
.text-body-light { font-size: var(--fs-base); color: var(--c-text-light); line-height: 1.9; }
.text-sm-mid { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.7; }
.text-sm-light { font-size: var(--fs-sm); color: var(--c-text-light); line-height: 1.7; }
.text-xs-light { font-size: var(--fs-sm); color: var(--c-text-light); }
.text-lead-mid { font-size: var(--fs-base); color: var(--c-text-mid); line-height: 1.85; }
.section-intro { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.7; margin-bottom: 16px; }
.text-center { text-align: center; }
.link-accent { color: var(--c-text-mid); }
.link-underline { color: var(--c-text); text-decoration: underline; }

/* --- 追加ユーティリティ --- */
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-4 { margin-top: 4px; }
.mt-10 { margin-top: 10px; }

/* --- 共通: サブセクション見出し --- */
.sub-heading { font-size: var(--fs-lg); font-weight: 700; margin: 28px 0 12px; color: var(--c-text); }

/* --- 共通: コンテキストリンクラッパー --- */
.context-link-center { text-align: center; margin-bottom: 12px; font-size: var(--fs-base); color: var(--c-text-mid); }

/* ============================================================
   FAQ ページ固有
   ============================================================ */
.faq-toc { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--c-border); border-radius: 4px; overflow: hidden; }
.faq-toc-link { display: block; padding: 14px 16px; font-size: var(--fs-base); font-weight: 700; color: var(--c-text); text-decoration: none; border-bottom: 1px solid var(--c-border); }
.faq-toc-link:last-child { border-bottom: none; }

/* ============================================================
   Results ページ固有
   ============================================================ */
.voice-meta { margin-top: 12px; font-size: var(--fs-sm); color: var(--c-text-light); }

/* ============================================================
   Company ページ固有
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.stat-card { background: #fff; border-radius: 10px; padding: 20px 12px; text-align: center; }
.stat-value { font-size: var(--fs-num); font-weight: 700; color: var(--c-accent); line-height: 1.2; }
.stat-value-sm { font-size: var(--fs-lg); }
.stat-label { font-size: var(--fs-sm); color: var(--c-text-light); margin-top: 6px; }
.stat-note { margin-top: 16px; font-size: var(--fs-sm); color: var(--c-text-light); line-height: 1.8; text-align: center; }
.access-card { background: #fff; border-radius: 10px; padding: 20px; margin-top: 16px; }
.access-photo { border-radius: 8px; width: 100%; max-width: 320px; }
.access-caption { font-size: var(--fs-sm); color: var(--c-text-light); margin-top: 4px; }
.access-name { font-size: var(--fs-base); font-weight: 700; margin-bottom: 8px; }
.access-addr { font-size: var(--fs-base); color: var(--c-text-light); line-height: 1.9; }
.access-detail { margin-top: 12px; font-size: var(--fs-sm); color: var(--c-text-light); line-height: 1.9; }
.access-map { margin-top: 16px; }
.access-map-iframe { border: 0; border-radius: 8px; }
.sigyo-photo-lead { margin-top: 16px; }

/* ============================================================
   Group ページ固有
   ============================================================ */
.group-company { margin-bottom: 32px; }
.group-badge-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.group-badge { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 2px; background: var(--c-bg-gray); color: var(--c-text-mid); }
.group-badge-main { background: var(--c-bg-dark); color: #fff; }
.group-name { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 12px; }
.group-divider { height: 1px; background: var(--c-border); margin-bottom: 32px; }
.case-card { background: var(--c-bg-gray); padding: 20px 16px; border-radius: 8px; margin-bottom: 24px; }
.case-card:last-child { margin-bottom: 0; }
.case-label { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text-mid); margin-bottom: 8px; }
.case-title { font-size: var(--fs-base); font-weight: 700; margin-bottom: 12px; }
.case-text { font-size: var(--fs-base); line-height: 1.8; color: var(--c-text-mid); }

/* ============================================================
   Sigyo ページ固有
   ============================================================ */
/* --- 士業ページ ご紹介の流れ --- */
.sigyo-flow-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sigyo-flow-card {
  background: var(--c-bg-gray);
  border-radius: 8px;
  padding: 20px 16px;
  position: relative;
}
.sigyo-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 10px;
}
.sigyo-flow-head {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}
.sigyo-flow-body {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.75;
}
.case-type-box { margin-top: 24px; background: #fff; border-radius: 6px; padding: 16px; border: 1px solid var(--c-border); }
.case-type-heading { font-weight: 700; font-size: var(--fs-base); margin-bottom: 12px; color: var(--c-text); }
.case-type-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-type-tag { background: var(--c-bg-gray); border-radius: 4px; padding: 6px 10px; font-size: var(--fs-sm); color: var(--c-text-mid); }
.step-detail { margin-top: 8px; font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.6; }
.sigyo-quote { background: var(--c-bg-gray); border-radius: 6px; padding: 20px; border-left: 3px solid var(--c-accent); }
.sigyo-quote-sig { text-align: right; margin-top: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); }
.partner-box { margin-top: 20px; }
.partner-label { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); margin-bottom: 8px; }

/* ============================================================
   Flow ページ固有
   ============================================================ */
.step-time { display: inline-block; background: var(--c-accent); color: #fff; font-size: var(--fs-xs); padding: 2px 8px; border-radius: 3px; margin-bottom: 6px; }
.step-info { background: var(--c-accent-light); border-radius: 4px; padding: 10px 12px; margin-top: 8px; font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.6; }
.schedule-box { margin-top: 24px; background: #fff; border-radius: 6px; padding: 16px; border: 1px solid var(--c-border); }
.schedule-heading { font-weight: 700; font-size: var(--fs-base); margin-bottom: 12px; color: var(--c-text); }
.schedule-rows { font-size: var(--fs-sm); line-height: 1.8; color: var(--c-text-mid); }
.schedule-row { display: flex; gap: 8px; margin-bottom: 4px; }
.schedule-day { font-weight: 700; color: var(--c-text); white-space: nowrap; }

/* --- Flow: 3カラム比較表 --- */
.compare-3col { border: 1px solid var(--c-border); border-radius: 4px; overflow: hidden; font-size: var(--fs-sm); }
.compare-3col-header { display: flex; background: var(--c-bg-dark); color: #fff; font-weight: 700; font-size: var(--fs-sm); }
.compare-3col-row { display: flex; border-bottom: 1px solid var(--c-border); }
.compare-3col-row:last-child { border-bottom: none; }
.compare-3col-row-alt { background: var(--c-bg-gray); }
.compare-3col-label { flex: 1; padding: 10px 12px; font-weight: 700; color: var(--c-text-mid); font-size: var(--fs-sm); }
.compare-3col-cell { flex: 1; padding: 10px 12px; text-align: center; border-left: 1px solid var(--c-border); }
.compare-3col-header .compare-3col-label { color: #fff; }
.compare-3col-header .compare-3col-cell { border-left: 1px solid rgba(255,255,255,0.15); }

/* --- Flow: 買取が向いている方 --- */
.recommend-list { display: flex; flex-direction: column; gap: 10px; }
.recommend-card { background: #fff; border-radius: 6px; padding: 14px 16px; border-left: 3px solid var(--c-accent); }
.recommend-title { font-weight: 700; font-size: var(--fs-base); margin-bottom: 4px; }
.recommend-desc { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.6; }

/* --- Flow: 必要書類リスト --- */
.doc-list { border: 1px solid var(--c-border); border-radius: 6px; overflow: hidden; font-size: var(--fs-sm); }
.doc-list-header { background: var(--c-bg-dark); color: #fff; padding: 10px 14px; font-weight: 700; font-size: var(--fs-sm); }
.doc-item { padding: 10px 14px; border-bottom: 1px solid var(--c-border); display: flex; align-items: baseline; gap: 8px; }
.doc-item:last-child { border-bottom: none; }
.doc-item-alt { background: var(--c-bg-gray); }
.doc-check { color: var(--c-accent); font-weight: 700; }
.doc-note { color: var(--c-text-mid); font-size: var(--fs-sm); }

/* --- Flow: 対応物件ボックス --- */
.prop-box { margin-top: 20px; background: var(--c-bg-gray); border-radius: 6px; padding: 16px; }
.prop-box-title { font-weight: 700; font-size: var(--fs-base); margin-bottom: 10px; color: var(--c-text); }
.prop-tags-white { display: flex; flex-wrap: wrap; gap: 6px; }
.prop-tag-white { background: #fff; border: 1px solid var(--c-border); border-radius: 4px; padding: 6px 12px; font-size: var(--fs-sm); }

/* --- Flow: 安心ポイント --- */
.safety-list { display: flex; flex-direction: column; gap: 12px; }
.safety-item { display: flex; gap: 12px; align-items: flex-start; }
.safety-icon { font-size: 24px; line-height: 1; }
.safety-title { font-weight: 700; font-size: var(--fs-base); margin-bottom: 2px; }
.safety-desc { font-size: var(--fs-sm); color: var(--c-text-mid); line-height: 1.6; }

/* --- 記事: タイムラインステップ色上書き --- */
.timeline-step-3 { background: #8B5E3C; }

/* ============================================================
   v26: アクセントカラー適用 + デザインメリハリ強化
   ============================================================ */

/* --- FAQ Aマーク --- */
.faq-a-mark {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  background: var(--c-text-light);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
}

/* --- FAQ toggle ネイビー --- */
.faq-toggle {
  margin-left: auto;
  flex-shrink: 0;
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--c-accent);
  width: 24px;
  text-align: center;
}

/* --- Context link にアクセント --- */
.context-link { color: var(--c-text-mid); text-decoration: underline; text-underline-offset: 2px; }

/* --- ヒーロー数字にアクセント（.hero-bgでは白に上書き） --- */
.hero-stat-num { color: var(--c-accent); }

/* --- 代表セクション --- */
.section-dark .rep-name { color: #fff; }
.section-dark .rep-title { color: rgba(255,255,255,0.6); }

/* section-dark内のCTAコントラスト補正 */
.section-dark .cta-title { color: #fff; }
.section-dark .cta-sub { color: rgba(255,255,255,0.75); }
.section-dark .cta-tel-block { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.section-dark .cta-tel-label { color: rgba(255,255,255,0.6); }
.section-dark .cta-tel-num { color: var(--c-accent); }
.section-dark .cta-tel-hours { color: rgba(255,255,255,0.55); }
.section-dark .cta-note-item { color: rgba(255,255,255,0.7); }
.section-dark .check-accent { color: var(--c-accent); }
.section-dark .section-link { color: rgba(255,255,255,0.7); }

/* --- 記事タイムラインにアクセント --- */
.timeline-step { background: var(--c-accent); }

/* --- 記事ポイントボックスにアクセント --- */
.point-box { background: var(--c-bg-gray); border-radius: 6px; padding: 20px 16px; border-left: 3px solid var(--c-accent); }
.point-box-title { font-size: var(--fs-base); font-weight: 700; color: var(--c-text); margin-bottom: 10px; }
.point-box p { margin-bottom: 10px; }
.point-box p:last-child { margin-bottom: 0; }

/* --- 記事著者セクション --- */
.article-author { border-left-color: var(--c-accent); }

/* --- チェックマークアクセント --- */
.check-accent { color: var(--c-accent); font-weight: 700; }

/* --- 特殊物件グリッド --- */
.tokushu-grid {
  margin: 32px 0;
  background: var(--c-bg-gray);
  border-radius: 8px;
  padding: 20px 16px;
}
.tokushu-grid-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  text-align: center;
}
.tokushu-grid-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.tokushu-grid-item {
  text-align: center;
}
.tokushu-grid-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-bottom: 6px;
}
.tokushu-grid-item span {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text-mid);
  line-height: 1.4;
}

/* --- 記事内写真 --- */
.article-inline-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  margin: 16px 0;
  display: block;
}

/* ========================================
   Thanks Page
   ======================================== */
.thanks-section {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
}
.thanks-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin: 0 auto 20px;
}
.thanks-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}
.thanks-sub {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.thanks-box {
  background: var(--c-bg-gray);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: left;
  margin-bottom: 24px;
}
.thanks-box-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
  text-align: center;
}
.thanks-step {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.thanks-step:last-child { margin-bottom: 0; }
.thanks-step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
}
.thanks-step-text { flex: 1; }
.thanks-step-heading {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.thanks-step-text p {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  line-height: 1.7;
}
.thanks-note {
  margin-bottom: 24px;
}
.thanks-note p {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: 1.7;
}
.thanks-tel {
  background: var(--c-bg-gray);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.thanks-tel-label {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  margin-bottom: 10px;
}
.thanks-tel-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-num);
  font-weight: 700;
  color: var(--c-accent);
  text-decoration: none;
  margin-bottom: 6px;
}
.thanks-tel-hours {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* ========================================
   Desktop Header Nav（モバイルでは非表示）
   ======================================== */
.header-desktop-nav { display: none; }

/* ========================================
   Responsive — Tablet（600px〜）
   ======================================== */
@media (min-width: 600px) {
  :root { --max-w: 100%; }
  br.sp-only { display: none; }

  body {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 600px;
  }

  .bottom-bar {
    max-width: 600px;
  }

  /* ヘッダー電話番号テキスト表示 */
  .header-tel-block { display: flex; }

  /* Header */
  .header {
    padding: 14px 24px;
  }

  /* Sections */
  .section { padding: 56px 24px; }
  .breadcrumb { padding: 10px 24px; }

  /* Form */
  .form-section { padding: 0 24px 32px; }
  .form-wrap { padding: 32px 24px; }
  .contact-lead { padding: 32px 24px; }

  /* Related Nav — 横並び */
  .related-nav { padding: 32px 24px; }

  /* Footer */
  .footer { padding: 40px 24px 24px; }
  .footer-nav {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Thanks */
  .thanks-section { padding: 48px 24px; }
  .thanks-box { padding: 28px 24px; }

  /* Hero */
  .page-hero { padding: 32px 24px 24px; }

  /* CTA */
  .cta-box { padding: 40px 32px; }
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
  }
  .cta-actions .cta-tel-block { margin-bottom: 0; }
  .cta-actions .cta-form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cta-notes {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  /* 事例カード横並び（タブレット） */
  .case-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto 1fr;
  }
  .case-photo {
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    min-height: 160px;
    border-radius: 4px 0 0 4px;
  }
  .case-header {
    border-radius: 0;
  }
  .company-photos-main img { height: 220px; }
  .company-photos-item img { height: 150px; }
  .company-photo-lead,
  .msg-inline-photo { height: 180px; }
  .section-photo-lead { height: 160px; }
  .article-hero-photo { height: 140px; }
  .access-entrance { height: 160px; }

  /* 記事 */
  .article-hero { padding: 32px 24px 24px; }
  .article-body { padding: 32px 24px; }

  /* 代表プロフィール — 横並び */
  .msg-photo-hero {
    display: flex;
    align-items: center;
    gap: 28px;
    text-align: left;
    padding: 32px 24px;
  }
  .msg-photo-hero img { flex-shrink: 0; }
  .msg-photo-text { margin-top: 0; }
  .msg-profile-bar { justify-content: flex-start; }

  /* Group Diagram — 左右2カラム */
  .group-diagram {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
  }
  .group-item-main {
    grid-row: 1 / -1;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .group-connector {
    grid-row: 1 / -1;
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
  }
  .group-diagram .group-item:nth-child(3) { grid-row: 1; grid-column: 3; }
  .group-diagram .group-item:nth-child(4) { grid-row: 2; grid-column: 3; }
}

/* ========================================
   Responsive — Desktop（900px〜）
   ======================================== */
@media (min-width: 900px) {
  :root {
    --max-w: 960px;
    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-base: 16px;
    --fs-lg: 19px;
    --fs-xl: 26px;
    --fs-2xl: 34px;
    --fs-num: 28px;
  }

  body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    max-width: 960px;
  }

  /* ── Bottom Bar 非表示 ── */
  .bottom-bar { display: none; }

  /* ── Header: インラインナビ表示 ── */
  .header {
    padding: 0 32px;
    min-height: 64px;
  }
  .header-logo {
    font-size: 14px;
    flex-shrink: 0;
  }

  /* PC: 電話アイコン非表示、テキスト電話番号表示 */
  .header-tel { display: none; }
  .header-tel-num { font-size: var(--fs-lg); }

  /* ── Sections ── */
  .section { padding: 64px 40px; }
  .breadcrumb { padding: 12px 40px; }

  /* ── 事例カード（PC） ── */
  .case-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .case-item {
    grid-template-columns: 240px 1fr;
  }
  .case-photo {
    min-height: 180px;
    aspect-ratio: auto;
  }

  /* ── Flow横並び（トップページ用） ── */
  .section:not(.flow-page) .flow-list {
    flex-direction: row;
    gap: 0;
  }
  .section:not(.flow-page) .flow-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-bottom: 0;
    position: relative;
    min-width: 0;
  }
  .section:not(.flow-page) .flow-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc(50% + 26px);
    top: 22px;
    bottom: auto;
    width: calc(100% - 52px);
    height: 2px;
    background: var(--c-border);
  }
  .section:not(.flow-page) .flow-item:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: -4px;
    top: 14px;
    font-size: 18px;
    color: var(--c-text-light);
  }
  .section:not(.flow-page) .flow-step {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }
  .section:not(.flow-page) .flow-content {
    padding-top: 0;
  }

  /* ── Page Hero ── */
  .page-hero { padding: 40px 40px 32px; }
  .page-hero-title { font-size: 28px; }
  /* ── 会社写真ギャラリー PC ── */
  .company-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .company-photos-main {
    margin-bottom: 0;
  }
  .company-photos-main img {
    height: 100%;
    min-height: 260px;
  }
  .company-photos-sub {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .company-photos-item img {
    height: 124px;
  }

  /* ── Contact / Form PC 2カラム ── */
  .contact-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
  }
  .contact-lead {
    padding: 40px 32px;
    position: sticky;
    top: 64px;
    align-self: start;
  }
  .contact-lead-title { font-size: 22px; }
  .contact-lead-sub { font-size: var(--fs-sm); }
  .contact-side-tel {
    display: block;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
  }
  .form-section { padding: 32px 40px 48px; }
  .form-wrap {
    max-width: none;
    margin: 0;
    padding: 32px 24px;
  }
  .form-submit-btn {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  /* ── チェックリスト横並び ── */
  .check-2col {
    flex-direction: row;
    gap: 20px;
  }
  .check-2col-group {
    flex: 1;
  }

  /* ── お客様の声 2カラム ── */
  .voice-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* ── コラム一覧 2カラム ── */
  .column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* ── 士業フロー 2×2グリッド ── */
  .sigyo-flow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* ── 免許証 横並び ── */
  .license-box {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .license-text {
    flex: 1;
    min-width: 0;
  }
  .license-photo {
    flex-shrink: 0;
    width: 360px;
    margin-top: 0;
  }

  /* ── Thanks ── */
  .thanks-section { padding: 56px 40px; }
  .thanks-box {
    max-width: 560px;
    margin: 0 auto 28px;
    padding: 32px;
  }
  .thanks-tel {
    max-width: 400px;
    margin: 0 auto;
  }

  /* ── Tel Alternative ── */
  .contact-tel-alt { padding: 32px 40px; }

  /* ── Related Nav ── */
  .related-nav { padding: 40px; }
  .related-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  /* ── CTA ── */
  .cta-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 40px;
  }

  /* ── Footer PC 3カラム ── */
  .footer { padding: 48px 40px 32px; }
  .footer-inner {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 32px 40px;
    align-items: start;
  }
  .footer-company {
    margin-bottom: 0;
  }
  .footer-info { margin-bottom: 0; }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    margin-bottom: 0;
  }
  .footer-group {
    border-top: none;
    padding-top: 0;
    margin-bottom: 0;
  }
  .footer-copy {
    margin-top: 24px;
    text-align: center;
  }

  /* ── 代表メッセージ 左右レイアウト ── */
  .rep-section-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  .rep-section-inner .rep-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    width: 220px;
    margin-bottom: 0;
  }
  .rep-section-inner .rep-photo {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
  }
  .rep-section-inner .rep-name {
    font-size: 16px;
    white-space: nowrap;
  }
  .rep-section-inner .rep-title {
    font-size: 12px;
    white-space: nowrap;
  }
  .rep-section-inner .rep-body {
    flex: 1;
    min-width: 0;
  }

  /* ── Hero BG（トップページ） ── */
  .hero-bg { padding: 64px 40px; }
  .hero-title { font-size: 28px; }
  .hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .hero-text { flex: 1; min-width: 0; }
  .hero-sub { margin-bottom: 0; }
  .hero-bg .hero-stats {
    flex-shrink: 0;
    width: 260px;
  }
  .section .hero-stats,
  .results-summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* ── FAQ ── */
  .faq-section { padding: 48px 40px; }

  /* ── Results / Cases ── */
  .case-grid { gap: 16px; }

  /* ── 記事ページ ── */
  .article-hero { padding: 40px 40px 32px; }
  .article-body {
    padding: 40px;
    max-width: 720px;
    margin: 0 auto;
  }
  .article-body h2 { font-size: 22px; }

  /* ── Company Stats ── */
  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  /* ── 選ばれる理由 ── */
  .trust-num {
    width: 96px;
    font-size: 32px;
  }
  .trust-item {
    padding: 24px 24px;
    gap: 20px;
  }

  /* ── 取扱不動産カード ── */
  .prop-grid {
    flex-direction: row;
    gap: 16px;
  }
  .prop-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    border-left: 1px solid var(--c-border);
    border-top: 3px solid var(--c-accent);
  }
  .prop-card-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-bottom: 4px;
  }

  /* ── Flow Steps — 2カラム：左タイムライン＋右説明（flow.html専用） ── */
  .flow-list-timeline {
    max-width: 720px;
    margin: 0 auto;
  }
  .flow-list-timeline .flow-item {
    display: flex;
    gap: 24px;
    padding-bottom: 36px;
  }
  .flow-list-timeline .flow-item:not(:last-child)::before {
    left: 25px;
    top: 56px;
    width: 2px;
    background: var(--c-border);
  }
  .flow-list-timeline .flow-step {
    width: 52px;
    height: 52px;
    font-size: 16px;
    flex-shrink: 0;
  }
  .flow-list-timeline .flow-content {
    padding-top: 4px;
    flex: 1;
    min-width: 0;
  }
  .flow-list-timeline .flow-title {
    font-size: var(--fs-lg);
    margin-bottom: 6px;
  }
  .flow-list-timeline .flow-desc {
    font-size: var(--fs-base);
    line-height: 1.8;
  }
  .flow-list-timeline .step-time {
    font-size: var(--fs-xs);
  }
  .flow-list-timeline .step-info {
    font-size: var(--fs-sm);
    padding: 12px 16px;
  }
}

/* ========================================
   Responsive — Wide（1200px〜）
   ======================================== */
@media (min-width: 1200px) {
  :root { --max-w: 1080px; }

  body {
    max-width: 1080px;
  }

  .header {
    padding: 0 40px;
  }
  .header-desktop-nav { gap: 8px; }

  .section { padding: 72px 48px; }

  .form-wrap {
    max-width: 720px;
    padding: 48px 40px;
  }

  .article-body {
    max-width: 780px;
    padding: 48px;
  }

  .hero-bg { padding: 80px 48px; }
  .hero-title { font-size: 32px; }
  .hero-bg .hero-stats { width: 300px; }
}


/* ============================================
   TOP v8 / 370px-first
   ============================================ */
.container-narrow { width: min(100%, 410px); margin: 0 auto; }
.top-hero-v8 { padding: 16px 16px 10px; }
.top-hero-v8-card {
  background: linear-gradient(180deg, #FFFCF8 0%, var(--c-bg-gray) 100%);
  border: 1px solid var(--c-border);
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow: 0 8px 22px rgba(242,150,0,.06);
}
.top-hero-v8-kicker {
  display: inline-block; margin: 0 0 10px; padding: 6px 10px;
  border-radius: 999px; background: #fff; border: 1px solid var(--c-border);
  color: var(--c-text-mid); font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.top-hero-v8-lead { margin: 0 0 6px; color: var(--c-text); font-size: 16px; font-weight: 700; line-height: 1.5; }
.top-hero-v8-title { margin: 0 0 12px; font-size: 34px; line-height: 1.22; letter-spacing: .01em; color: var(--c-text); }
.top-hero-v8-sub { margin: 0 0 16px; font-size: 14px; line-height: 1.9; color: var(--c-text-mid); }
.top-hero-v8-primary {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px;
  border-radius: 14px; background: var(--c-accent); color: #fff; font-size: 16px; font-weight: 800;
  box-shadow: 0 10px 20px rgba(242,150,0,.2); margin-bottom: 10px;
}
.top-hero-v8-link { display: inline-block; font-size: 14px; font-weight: 700; color: var(--c-text-mid); margin-bottom: 10px; }
.top-hero-v8-helper { margin: 0; font-size: 12px; line-height: 1.8; color: var(--c-text-light); }
.top-hero-v8-rep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  max-width: 380px;
}
.top-hero-v8-rep img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.top-hero-v8-rep-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 2px;
}
.top-hero-v8-rep-career {
  font-size: 11px;
  color: var(--c-text-light);
  margin-bottom: 6px;
}
.top-hero-v8-rep-msg {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-mid);
}
.top-hero-v8-trustbar {
  margin-top: 10px; background: #fff; border: 1px solid var(--c-border); border-radius: 18px;
  padding: 10px; box-shadow: 0 6px 16px rgba(242,150,0,.04);
}
.top-hero-v8-trustgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.top-hero-v8-trustitem {
  background: var(--c-bg-gray); border: 1px solid var(--c-border); border-radius: 12px; padding: 10px 8px; text-align: center;
}
.top-hero-v8-num { display: block; font-size: 21px; line-height: 1; font-weight: 800; color: var(--c-text); letter-spacing: -.03em; margin-bottom: 4px; }
.top-hero-v8-num small { font-size: 11px; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.top-hero-v8-label { display: block; font-size: 11px; line-height: 1.45; color: var(--c-text-light); }
.top-v8-section-pad { padding-top: 10px; }
.top-v8-section-tight { padding-top: 2px; }
.top-v8-card { background: #fff; border: 1px solid var(--c-border); border-radius: 20px; padding: 18px 16px; }
.top-v8-title { font-size: 22px; line-height: 1.4; }
.top-v8-issues-grid { display: grid; gap: 10px; }
.top-v8-issue {
  background: var(--c-bg-gray); border: 1px solid var(--c-border); border-radius: 14px; padding: 12px 13px;
  font-size: 14px; line-height: 1.7; color: var(--c-text-mid);
}
.top-v8-reason-grid { display: grid; gap: 10px; }
.top-v8-reason { padding: 0 0 10px; border-bottom: 1px solid var(--c-border); }
.top-v8-reason:last-child { border-bottom: none; padding-bottom: 0; }
.top-v8-reason strong { display:block; font-size: 15px; line-height: 1.6; color: var(--c-text); margin-bottom: 4px; }
.top-v8-reason p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--c-text-mid); }

@media (min-width: 760px) {
  .container-narrow { width: min(100%, 1120px); }
  .top-hero-v8 { padding: 28px 24px 14px; }
  .top-hero-v8-card { padding: 34px 34px 18px; border-radius: 28px; }
  .top-hero-v8-kicker { margin-bottom: 14px; font-size: 12px; }
  .top-hero-v8-lead { font-size: 24px; margin-bottom: 10px; }
  .top-hero-v8-title { font-size: 56px; margin-bottom: 16px; }
  .top-hero-v8-sub { font-size: 18px; max-width: 720px; margin-bottom: 22px; }
  .top-hero-v8-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-bottom: 10px; }
  .top-hero-v8-primary { width: auto; min-width: 320px; display: inline-flex; margin-right: 18px; margin-bottom: 0; }
  .top-hero-v8-link { font-size: 15px; margin-bottom: 0; }
  .top-hero-v8-helper { font-size: 13px; }
  /* 代表セクション右側配置 */
  .top-hero-v8-card {
    display: grid;
    grid-template-columns: 1fr 280px;
    grid-template-rows: 1fr auto;
    gap: 0 32px;
  }
  .top-hero-v8-main {
    grid-column: 1;
    grid-row: 1;
  }
  .top-hero-v8-rep {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin-top: 0;
    border-radius: 16px;
    align-self: center;
  }
  .top-hero-v8-rep img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
  }
  .top-hero-v8-rep-name {
    font-size: 15px;
  }
  .top-hero-v8-rep-msg {
    font-size: 14px;
  }
  .top-hero-v8-trustbar {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .top-hero-v8-trustbar { margin-top: 18px; padding: 12px; }
  .top-hero-v8-trustgrid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .top-hero-v8-trustitem { padding: 14px 10px; }
  .top-hero-v8-num { font-size: 28px; }
  .top-hero-v8-num small { font-size: 13px; }
  .top-hero-v8-label { font-size: 12px; }
  .top-v8-section-pad { padding-top: 14px; }
  .top-v8-card { padding: 28px 26px; }
  .top-v8-issues-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .top-v8-reason-grid { grid-template-columns: 1fr 1fr; gap: 14px 22px; }
  .top-v8-reason { border-bottom: none; padding: 0; }
  .top-v8-reason strong { font-size: 16px; }
  .top-v8-reason p { font-size: 14px; }
}
