/*
 * くらしジャーナル 下層ページ（v2）
 * style.css（トークン・ヘッダー・フッター・物件カード .pc）の上に重ねる。
 * 1. 共通（ページ見出し・パンくず）  2. 物件を探す  3. 物件詳細  4. 暮らしから探す
 * 5. コラム（記事一覧）  6. お問い合わせ  7. レスポンシブ  8. プライバシーポリシー  9. 記事詳細  10. スタッフ紹介
 */

/* ================= 1. 共通 ================= */
.page-sub .fv-title {
  display: none;
}
.ph {
  position: relative;
  overflow: hidden;
  padding: calc(var(--hd-h) + 4px) 0 44px;
  border-bottom: 1px solid var(--rule);
}
/* PC：見出しを左、説明文を右に並べて高さを抑える */
.ph-inner {
  width: var(--w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  column-gap: 64px;
  align-items: end;
}
.ph-inner > .bc {
  grid-column: 1 / -1;
}
.ph-inner > .en-label {
  grid-column: 1;
  margin-bottom: 8px;
}
.ph-title {
  grid-column: 1;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.5;
}
.ph-lead {
  /* 見出し（下線込み）の行に対して上下中央にそろえる */
  grid-column: 2;
  grid-row: 3;
  align-self: center;
  max-width: 520px;
  padding-bottom: 4px; /* 見出しの下線ぶんを補正 */
  font-size: 14px;
  line-height: 1.9;
  color: var(--dark);
  text-wrap: pretty; /* 最後の1〜2文字だけが次の行に落ちるのを防ぐ */
}
.ph-count {
  grid-column: 1;
  justify-self: start;
  margin-top: 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 14px;
  background: var(--marker);
  font-size: 13px;
  font-weight: 500;
}
.ph-count b {
  font-size: 20px;
  font-weight: 600;
}
.ph-mark {
  position: absolute;
  right: max(40px, calc((100% - 1120px) / 2));
  /* ヘッダーの下の見出しエリアに対して上下中央 */
  top: calc(50% + var(--hd-h) / 2);
  translate: 0 -50%;
  width: clamp(200px, 20vw, 280px);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .ph-inner {
    display: block;
  }
  .ph-lead {
    margin-top: 14px;
    max-width: none;
    padding-bottom: 0;
  }
}

.bc {
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
}
.bc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.bc li {
  display: flex;
  align-items: center;
}
.bc li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.bc a {
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
}
.bc a:hover {
  color: var(--ink);
}
.bc [aria-current] {
  color: var(--ink);
}

.hex.is-down .hex-arrow {
  transform: rotate(90deg);
}
a:hover .hex.is-down .hex-arrow {
  transform: rotate(90deg);
}

/* 物件カードを並べる共通グリッド */
.pl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.pl-grid.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ================= 2. 物件を探す ================= */
.pl {
  width: var(--w);
  margin: 0 auto;
  padding: 56px 0 100px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.pl-filter {
  position: sticky;
  top: calc(var(--hd-h-s) + 16px);
  max-height: calc(100vh - var(--hd-h-s) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.pf {
  background: #fff;
  border: 1px solid var(--ink);
}
.pf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ink);
}
.pf-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.pf-close {
  display: none;
}
/* 「すべてクリア」は見出しの右。PCでは下の帯（.pf-foot）を出さないぶん、カラムが短くなる */
.pf-head .pf-clear {
  margin-left: auto;
  min-height: 32px;
}
.pf-body {
  padding: 4px 20px 8px;
}
.pf-group {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
  min-width: 0;
}
.pf-group:last-child {
  border-bottom: 0;
}
.pf-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0;
}
.pf-search {
  position: relative;
}
.pf-search input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--rule);
  font-size: 16px;
  background: var(--paper);
  transition: border-color 0.25s, background-color 0.25s;
}
.pf-search input:focus {
  border-color: var(--ink);
  background: #fff;
}
.pf-search .ico {
  position: absolute;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  pointer-events: none;
}
.pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pf-chips.is-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pf-chip {
  position: relative;
  display: block;
  cursor: pointer;
}
.pf-chip input,
.pf-check input,
.cf-radio input,
.cf-agree input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pf-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  text-align: center;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.pf-chip:hover span {
  border-color: var(--ink);
}
.pf-chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pf-chip input:focus-visible + span,
.pf-check input:focus-visible + span,
.cf-radio input:focus-visible + span,
.cf-agree input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.pf-tags .is-more {
  display: none;
}
.pf-tags.is-open .is-more {
  display: block;
}
.pf-more {
  margin-top: 10px;
  min-height: 36px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pf-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.pf-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.pf select,
.pl-sort select {
  width: 100%;
  height: 44px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--rule);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23161616' stroke-width='1.3'/%3E%3C/svg%3E")
      no-repeat right 10px center / 10px 6px,
    #fff;
  font-size: 14px;
  appearance: none;
  cursor: pointer;
}
.pf select:focus,
.pl-sort select:focus {
  border-color: var(--ink);
}
/* iOS Safari は 16px 未満のフォームにフォーカスすると画面を拡大するため、タッチ端末では 16px にする */
@media (hover: none) and (pointer: coarse) {
  .pf select,
  .pl-sort select {
    font-size: 16px;
  }
}
.pf-pref {
  border-top: 1px solid var(--rule);
}
.pf-pref:first-of-type {
  border-top: 0;
}
.pf-pref summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.pf-pref summary::-webkit-details-marker {
  display: none;
}
.pf-pref summary small {
  font-size: 12px;
  color: var(--muted);
}
.pf-pref summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease-expo);
}
.pf-pref[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.pf-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  padding: 2px 0 12px;
}
.pf-check {
  position: relative;
  display: block;
  cursor: pointer;
}
.pf-check span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 13px;
}
.pf-check span::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid #9a9a9a;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E")
    no-repeat center / 0 0;
  transition: background-color 0.2s, background-size 0.25s var(--ease-expo);
}
.pf-check input:checked + span::before {
  background-color: var(--ink);
  border-color: var(--ink);
  background-size: 11px 9px;
}
/* 件数は名前の右に並べる（以前は右端に重ねていたため、長い名前の上に乗ったり名前が2行に割れたりしていた） */
.pf-check {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pf-check > span {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}
.pf-check small {
  flex: none;
  min-width: 1.5em;
  padding-right: 2px;
  font-family: var(--en);
  font-size: 11px;
  text-align: right;
  color: var(--muted);
}
/* 名前の長い市区町村・路線がある一覧は1列（listing.rb が is-wide を付ける） */
.pf-cities.is-wide {
  grid-template-columns: minmax(0, 1fr);
}
.pf-selects {
  display: grid;
  gap: 8px;
}
/* 面積・駅徒歩・築年数：見出しとプルダウンを1行に並べて縦を詰める */
.pf-selects label {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.pf-selects .pf-label {
  margin-bottom: 0;
}
/* 詳しい条件（こだわり・面積・駅徒歩・築年数）：畳める欄。見た目はエリアの都県と同じ開閉 */
.pf-adv > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  min-height: 52px;
  padding: 10px 24px 10px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
}
.pf-adv > summary::-webkit-details-marker {
  display: none;
}
.pf-adv > summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 24px; /* 1行目（「詳しい条件」）の高さにそろえる */
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease-expo);
}
.pf-adv[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.pf-adv-ttl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pf-adv > summary small {
  font-size: 11px;
  color: var(--muted);
}
.pf-adv-n {
  flex-basis: 100%;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-price);
}
.pf-adv[open] > summary {
  border-bottom: 1px solid var(--rule);
}
.pf-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--ink);
  background: #fff;
}
.pf-clear {
  min-height: 44px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pf-apply {
  display: none;
}
/* 下の帯は「◯件を表示」専用。そのボタンが出ないPCでは帯ごと出さない */
@media (min-width: 1101px) {
  .pf-foot {
    display: none;
  }
}

.pl-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}
.pl-count {
  font-size: 14px;
  font-weight: 500;
}
.pl-count b {
  font-size: 32px;
  font-weight: 600;
  margin-right: 4px;
  line-height: 1;
}
.pl-of {
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
}
/* 新着の件数。押すと新着順に並べ替える（sub.js） */
.pl-new {
  /* 英字（NEW）と和文で書体の高さが違うため、flex の中央揃えではなくベースラインでそろえる */
  display: inline-block;
  height: 34px;
  line-height: 32px;
  white-space: nowrap;
  padding: 0 12px;
  border: 1px solid var(--c-price);
  color: var(--c-price);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.pl-new[hidden] {
  display: none;
}
.pl-new:hover {
  background: var(--c-price);
  color: #fff;
}
.pl-new .en {
  letter-spacing: 0.12em;
  margin-right: 6px;
}
.pl-new b {
  margin: 0 2px;
}
.pl-open {
  display: none;
}
.pl-sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.pl-sort select {
  width: auto;
  min-width: 170px;
}
.pl-active {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  margin: 14px 0 0;
}
.pl-active:empty {
  margin: 0;
}
.pl-active button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px 0 14px;
  background: var(--marker);
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.25s;
}
.pl-active button:hover {
  background: #ead07a;
}
.pl-active button::after {
  content: "";
  width: 10px;
  height: 10px;
  background:
    linear-gradient(45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%);
}
.pl-main .pl-grid {
  margin-top: 28px;
}
.pl-grid .pc {
  animation: card-in 0.8s var(--ease-expo) both;
  animation-delay: calc(var(--n, 0) * 40ms);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.pl-empty {
  margin-top: 40px;
  padding: 48px 24px;
  text-align: center;
  background: var(--paper);
  font-size: 14px;
  color: var(--dark);
}
.pl-empty-ttl {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.pl-more {
  margin-top: 48px;
  text-align: center;
}
.pl-more[hidden] {
  display: none;
}
.pl-more-btn {
  min-width: 280px;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background-color 0.3s, color 0.3s;
}
.pl-more-btn:hover {
  background: var(--ink);
  color: #fff;
}
.pl-more-btn span {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 400;
}

.pl-cta {
  background: var(--ink);
  color: #fff;
}
.pl-cta-inner {
  width: var(--w);
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.pl-cta-ttl {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.6;
}
.pl-cta-txt {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
  opacity: 0.85;
}
.pl-cta-actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.pl-cta-btn,
.cf-route-btn,
.nl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 40px;
  font-size: 15px;
  font-weight: 500;
}
.pl-cta-btn {
  background: #fff;
  color: var(--ink);
}
.pl-cta-btn svg,
.cf-route-btn svg,
.nl-cta-btn svg,
.cf-btn svg {
  width: 22px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.pl-cta-tel,
.cf-route-tel {
  display: grid;
  font-size: 12px;
}
.pl-cta-tel b,
.cf-route-tel b {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.pl-cta-tel small,
.cf-route-tel small {
  opacity: 0.75;
}

/* ================= 3. 物件詳細 ================= */
.pd-top {
  width: var(--w);
  margin: 0 auto;
  padding-top: calc(var(--hd-h) + 8px);
}
.pd-top .bc {
  margin-bottom: 20px;
}
.pd-gallery {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  position: relative;
}
.pd-shots {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  aspect-ratio: 2.4 / 1;
}
.pd-shot {
  position: relative;
  overflow: hidden;
  background: var(--gray);
  cursor: zoom-in;
}
.pd-shot:first-child {
  grid-row: 1 / 3;
  clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
}
.pd-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-expo);
}
.pd-shot:hover img {
  transform: scale(1.05);
}
.pd-all {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.25s;
}
.pd-all:hover {
  background: var(--marker);
}
.pd-all svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.pd-layout {
  width: var(--w);
  margin: 0 auto;
  padding: 48px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.pd-kind {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--dark);
}
.pd-kind span {
  padding: 3px 10px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.pd-name {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.pd-catch {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark);
}
.pd-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-tags li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
}
.pd-facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.pd-facts > div {
  padding: 16px 18px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pd-facts dt {
  font-size: 12px;
  color: var(--muted);
}
.pd-facts dd {
  margin-top: 4px;
  font-size: 14px;
}
.pd-facts dd b {
  font-size: 22px;
  font-weight: 600;
  margin-right: 2px;
}
.pd-facts .is-price dd {
  color: var(--c-price);
  font-weight: 700;
}
.pd-facts .is-price b {
  font-size: 28px;
}
.pd-event {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 18px;
  background: var(--marker);
  font-size: 13px;
  font-weight: 500;
}
.pd-event-label {
  padding: 2px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}
.pd-event small {
  font-size: 12px;
  font-weight: 400;
}

.pd-sec {
  margin-top: 88px;
}
.pd-ttl {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 28px;
}
.pd-sub {
  margin: 36px 0 14px;
  font-size: 15px;
  font-weight: 700;
}
.pd-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.pd-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pd-points li {
  padding: 28px 24px 26px;
  background: var(--paper);
  position: relative;
}
.pd-point-no {
  display: block;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: #c9b45a;
}
.pd-points h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.pd-points p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dark);
}
.pd-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pd-photos li:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.pd-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--gray);
  text-align: left;
  cursor: zoom-in;
}
.pd-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s var(--ease-expo);
}
.pd-photo:hover img {
  transform: scale(1.05);
}
.pd-photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.6));
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.35s;
}
.pd-photo-cap b {
  display: block;
  font-size: 13px;
}
.pd-photo:hover .pd-photo-cap,
.pd-photo:focus-visible .pd-photo-cap {
  opacity: 1;
}
.pd-plan {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.pd-plan-img {
  display: block;
  border: 1px solid var(--rule);
  background: #fff;
  cursor: zoom-in;
}
.pd-plan-img img {
  width: 100%;
  height: auto;
}
.pd-spec > div,
.pd-cost dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.pd-spec dt,
.pd-cost dt {
  color: var(--muted);
}
.pd-spec dd {
  font-weight: 500;
}
.pd-cost {
  margin-top: 24px;
  padding: 20px 20px 16px;
  background: var(--paper);
}
.pd-cost-ttl {
  font-size: 14px;
  font-weight: 700;
}
.pd-cost .is-sum {
  border-bottom: 0;
  font-weight: 700;
}
.pd-cost .is-sum dt {
  color: var(--ink);
}
.pd-cost .is-sum b {
  font-size: 20px;
  margin-right: 2px;
}
.pd-stations {
  display: grid;
  gap: 8px;
}
.pd-stations li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  font-size: 13px;
}
.pd-stations li b {
  font-size: 17px;
}
.pd-line {
  color: var(--muted);
}
.pd-walk {
  font-size: 13px;
}
.pd-walk b {
  font-size: 24px !important;
  font-weight: 600;
  margin: 0 2px;
}
.pd-near {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.pd-near li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.pd-near-type {
  justify-self: start;
  padding: 2px 8px;
  background: var(--paper);
  font-size: 11px;
  color: var(--dark);
}
.pd-near-walk {
  white-space: nowrap;
}
.pd-near-walk b {
  font-size: 16px;
  margin: 0 2px;
}
.pd-near-walk small {
  font-size: 11px;
  color: var(--muted);
}
.pd-outline {
  border-top: 1px solid var(--ink);
}
.pd-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.8;
}
.pd-row dt {
  padding: 14px 16px;
  background: var(--paper);
  font-weight: 500;
}
.pd-row dd {
  padding: 14px 16px;
}
/* 折りたたみ（物件概要・写真・周辺施設）。is-fold は sub.js が付ける＝JS が無効なら全部見える */
.is-fold:not(.is-open) > .is-more {
  display: none;
}
.pd-more {
  margin-top: 16px;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}
.pd-more:hover {
  background: var(--ink);
  color: #fff;
}
.pd-faq {
  border-top: 1px solid var(--ink);
}
.pd-faq-item {
  border-bottom: 1px solid var(--rule);
}
.pd-faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 40px 12px 0;
  position: relative;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.pd-faq-item summary::-webkit-details-marker {
  display: none;
}
.pd-faq-item summary::after,
.pd-faq-item summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-expo);
}
.pd-faq-item summary::before {
  transform: rotate(90deg);
}
.pd-faq-item[open] summary::before {
  transform: rotate(0);
}
.pd-q,
.pd-a {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 15px;
  font-weight: 600;
}
.pd-q {
  background: var(--ink);
  color: #fff;
}
.pd-a {
  background: var(--marker);
}
.pd-faq-item p {
  display: flex;
  gap: 14px;
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 2;
  color: var(--dark);
}

.pd-aside {
  position: sticky;
  top: calc(var(--hd-h-s) + 20px);
  display: grid;
  gap: 16px;
}
.pd-card {
  padding: 28px 24px 24px;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--marker);
}
.pd-card-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.pd-card-price {
  margin-top: 6px;
  color: var(--c-price);
  font-size: 15px;
  font-weight: 700;
}
.pd-card-price b {
  font-size: 36px;
  font-weight: 600;
  margin-right: 2px;
}
.pd-card-sub {
  font-size: 13px;
  color: var(--dark);
}
.pd-card-btn {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  font-size: 15px;
  font-weight: 500;
}
.pd-card-tel {
  margin-top: 12px;
  display: grid;
  justify-items: center;
  padding: 10px;
  border: 1px solid var(--rule);
  font-size: 11px;
  transition: border-color 0.25s;
}
.pd-card-tel:hover {
  border-color: var(--ink);
}
.pd-card-tel b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pd-card-meta {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}
.pd-loan {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  transition: background-color 0.25s;
}
.pd-loan:hover {
  background: var(--marker);
}
.pd-loan-k {
  flex: none;
  padding: 2px 8px;
  border: 1px solid var(--ink);
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.pd-related {
  background: var(--paper);
}
.pd-related-inner {
  width: var(--w);
  margin: 0 auto;
  padding: 80px 0 96px;
}
.pd-related-more {
  margin-top: 36px;
  display: flex;
  justify-content: flex-end;
}
.pd-bar {
  display: none;
}

/* ライトボックス */
.lb {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(16 16 16 / 0.94);
  color: #fff;
}
.lb::backdrop {
  background: transparent;
}
.lb[open] {
  animation: fade-in 0.3s var(--ease-out);
}
.lb-inner {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 64px 88px;
}
.lb-fig {
  margin: 0;
  max-width: 1100px;
  width: 100%;
}
.lb-img {
  width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
}
.lb-cap {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
}
.lb-cap b {
  margin-right: 10px;
}
.lb-count {
  position: absolute;
  left: 32px;
  top: 24px;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.lb-btn,
.lb-close {
  position: absolute;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 50%;
  transition: background-color 0.25s;
}
.lb-btn:hover,
.lb-close:hover {
  background: rgb(255 255 255 / 0.12);
}
.lb-btn svg {
  width: 9px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
}
.lb-prev {
  left: 20px;
  top: 50%;
  translate: 0 -50%;
}
.lb-next {
  right: 20px;
  top: 50%;
  translate: 0 -50%;
}
.lb-close {
  right: 20px;
  top: 16px;
}
.lb-close span {
  position: absolute;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transform: rotate(45deg);
}
.lb-close span + span {
  transform: rotate(-45deg);
}

/* 物件詳細：この物件の担当（写真はスタッフ紹介と同じ「家の形」） */
.pd-staff-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  grid-template-areas:
    "photo head"
    "photo msg"
    "photo link";
  grid-template-rows: auto auto 1fr;
  column-gap: 36px;
  padding: 32px;
  background: var(--paper);
}
.pd-staff-photo,
.pd-card-face {
  position: relative;
  overflow: hidden;
  background: var(--gray);
}
.pd-staff-photo {
  grid-area: photo;
  align-self: start;
  aspect-ratio: 3 / 4;
  clip-path: polygon(50% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
}
.pd-staff-photo img,
.pd-card-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-staff-photo.is-initial {
  display: grid;
  place-items: center;
  font-size: 56px;
  font-weight: 700;
  color: #b4b4b4;
}
.pd-staff-head {
  grid-area: head;
}
.pd-staff-label {
  font-size: 12px;
  color: var(--muted);
}
.pd-staff-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.pd-staff-company {
  font-size: 12px;
  color: var(--muted);
}
/* メッセージは写真の側に向いた吹き出し */
.pd-staff-msg {
  grid-area: msg;
  position: relative;
  margin-top: 18px;
  padding: 18px 22px;
  background: #fff;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dark);
}
.pd-staff-msg::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 22px;
  width: 10px;
  height: 16px;
  background: #fff;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.pd-staff-link {
  grid-area: link;
  align-self: end;
  justify-self: end;
  margin-top: 16px;
}

/* 申し込みカードの担当表示 */
.pd-card-staff {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.25s;
}
.pd-card-staff:hover {
  background: var(--paper);
}
.pd-card-face {
  flex: none;
  width: 44px;
  height: 44px;
  clip-path: var(--hexagon);
}
.pd-card-face img {
  object-position: 50% 20%;
}
.pd-card-staff-txt {
  display: grid;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.pd-card-staff-txt small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.pd-card-staff svg {
  margin-left: auto;
  width: 7px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transform: rotate(90deg);
}
@media (max-width: 767px) {
  .pd-staff-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "photo head"
      "msg msg"
      "link link";
    grid-template-rows: auto;
    column-gap: 20px;
    align-items: center;
    padding: 24px 20px;
  }
  .pd-staff-name {
    font-size: 19px;
  }
  .pd-staff-msg {
    font-size: 13px;
    padding: 16px 18px;
  }
  .pd-staff-msg::before {
    left: 34px;
    top: -10px;
    width: 16px;
    height: 10px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }
}

/* ================= 4. 暮らしから探す ================= */
.cg-nav {
  width: var(--w);
  margin: 0 auto;
  padding: 56px 0 24px;
}
.cg-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cg-tiles a {
  display: grid;
  justify-items: center;
  padding: 24px 16px 22px;
  border: 1px solid var(--ink);
  background: #fff;
  text-align: center;
  position: relative;
  transition: box-shadow 0.6s var(--ease-expo);
}
.cg-tiles a::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 5px;
  background: var(--accent);
}
@media (hover: hover) {
  .cg-tiles a:hover {
  box-shadow: 0 16px 24px -16px rgb(0 0 0 / 0.3);
  }
}
.cg-tile-img {
  width: 130px;
  aspect-ratio: 514 / 427;
  background: var(--gray);
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
  position: relative;
}
.cg-tile-img img {
  position: absolute;
  inset: 18% 6% 0;
  width: 88%;
  height: 82%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
}
.cg-tile-en {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.cg-tile-name {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
}
.cg-tile-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--dark);
}
.cg-themes {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}
.cg-themes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cg-themes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-weight: 500;
  transition: border-color 0.25s, background-color 0.25s;
}
.cg-themes a:hover {
  border-color: var(--ink);
  background: var(--paper);
}
.cg-themes small {
  font-size: 12px;
  color: var(--muted);
}
.cg-sec {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: var(--hd-h-s);
}
.cg-sec:nth-of-type(even) {
  background: var(--paper);
}
.cg-inner {
  width: var(--w);
  margin: 0 auto;
}
.cg-intro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.cg-illust {
  aspect-ratio: 514 / 427;
  background: #fff;
  border-bottom: 6px solid var(--accent);
  clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
  position: relative;
}
.cg-sec:nth-of-type(odd) .cg-illust {
  background: var(--paper);
}
.cg-illust img {
  position: absolute;
  inset: 16% 6% 0;
  width: 88%;
  height: 84%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
}
.cg-en {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
}
.cg-en span {
  padding-right: 10px;
  border-right: 1px solid var(--ink);
}
.cg-name {
  margin-top: 10px;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.cg-catch {
  margin-top: 10px;
  display: inline;
  font-size: 17px;
  font-weight: 500;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 35%, transparent) 62%);
}
.cg-txt {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
  color: var(--dark);
}
.cg-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12px;
  color: var(--muted);
}
.cg-block {
  margin-top: 64px;
}
.cg-sub {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.cg-sub .en {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.cg-sub small {
  font-size: 13px;
  font-weight: 400;
  color: var(--dark);
}
.cg-all {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}
.cg-empty {
  padding: 36px 32px;
  border: 1px dashed #b5b5b5;
  background: #fff;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dark);
}
.cg-empty-ttl {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.cg-empty a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ================= 5. コラム（記事一覧） ================= */
.nl {
  width: var(--w);
  margin: 0 auto;
  padding: 56px 0 96px;
}
/* 最新記事のアテンション：見出しラベル＋右へ伸びる罫線 */
.nl-feature-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.nl-feature-label-jp {
  padding: 6px 18px;
  background: var(--marker);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.nl-feature-label .en {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.nl-feature-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink);
}
.nl-feature a {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.nl-feature-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray);
  clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
}
.nl-feature-img img,
.nl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-expo);
}
.nl-feature a:hover .nl-feature-img img,
.nl-card a:hover .nl-img img {
  transform: scale(1.05);
}
.nl-new {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 16px;
  background: var(--marker);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.nl-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--en);
  font-size: 13px;
  color: var(--muted);
}
.nl-meta .en {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.nl-feature-title {
  margin-top: 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.5;
}
.nl-feature-ex {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
  color: var(--dark);
}
.nl-cats {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--muted);
}
.nl-cats li::before {
  content: "#";
}
.nl-read {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
}
.nl-filter {
  margin: 80px 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}
.nl-filter-label {
  font-size: 13px;
  font-weight: 700;
}
.nl-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nl-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.nl-filter-btn small {
  font-size: 11px;
  color: var(--muted);
}
.nl-filter-btn:hover {
  border-color: var(--ink);
}
.nl-filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.nl-filter-btn[aria-pressed="true"] small {
  color: rgb(255 255 255 / 0.7);
}
.nl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 28px;
}
.nl-grid.is-small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}
.pd-articles .nl-grid.is-small {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nl-card[hidden] {
  display: none;
}
.nl-card a {
  display: block;
}
.nl-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray);
  clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
}
.nl-vol {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 10px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.nl-body {
  padding-top: 14px;
}
.nl-title {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  transition: opacity 0.25s;
}
.nl-card a:hover .nl-title {
  opacity: 0.65;
}
.nl-grid.is-small .nl-title {
  font-size: 15px;
}
.nl-pager {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.nl-pager > * {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border: 1px solid var(--rule);
  font-size: 14px;
  transition: border-color 0.25s;
}
.nl-pager a:hover {
  border-color: var(--ink);
}
.nl-pager [aria-current] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.nl-next {
  display: inline-flex !important;
  gap: 10px;
  padding: 0 18px;
}
.nl-next svg {
  width: 7px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.nl-cta {
  background: var(--marker);
}
.nl-cta-inner {
  width: var(--w);
  margin: 0 auto;
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}
.nl-cta-inner img {
  width: 56px;
  height: auto;
}
.nl-cta-txt {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ================= 6. お問い合わせ ================= */
.cf-wrap {
  width: min(960px, calc(100% - 80px));
  margin: 0 auto;
  padding: 56px 0 110px;
}
.cf-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-route {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px 32px;
  border: 1px solid var(--ink);
}
.cf-route.is-property {
  background: var(--ink);
  color: #fff;
}
.cf-route-en {
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.7;
}
.cf-route-ttl {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.cf-route-txt {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  flex: 1;
}
.cf-route.is-property .cf-route-txt {
  opacity: 0.85;
}
.cf-route-btn {
  margin-top: 24px;
  background: #fff;
  color: var(--ink);
  min-height: 56px;
  padding: 0 32px;
}
.cf-route-tel {
  margin-top: 18px;
}
.cf-route-tel b {
  font-size: 24px;
}
.cf-route-link {
  margin-top: 24px;
}

.cf {
  margin-top: 72px;
  scroll-margin-top: calc(var(--hd-h-s) + 16px);
}
.cf-ttl {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.cf-steps {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}
.cf-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 10px;
  background: var(--paper);
  font-size: 13px;
  color: var(--muted);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
.cf-steps span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 12px;
}
.cf-steps .is-current {
  background: var(--ink);
  color: #fff;
}
.cf-form {
  margin-top: 32px;
  border-top: 1px solid var(--ink);
}
.cf-summary {
  margin-top: 24px;
  padding: 18px 22px;
  border: 2px solid var(--c-price);
  background: #fdf3f1;
  font-size: 14px;
}
.cf-summary:focus {
  outline: none;
}
.cf-summary-ttl {
  font-weight: 700;
  color: var(--c-price);
}
.cf-summary ul {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.cf-summary a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cf-field {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 32px;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
  min-width: 0;
}
.cf-field > :not(.cf-label) {
  grid-column: 2;
}
.cf-label {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
  float: left; /* fieldset の legend をグリッドに乗せる */
}
.cf-req {
  padding: 2px 8px;
  background: var(--c-price);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.cf-field input[type="text"],
.cf-field input[type="email"],
.cf-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #b5b5b5;
  background: #fff;
  font-size: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cf-field textarea {
  resize: vertical;
  line-height: 1.8;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgb(31 111 235 / 0.2);
}
.cf-field [aria-invalid="true"] {
  border-color: var(--c-price) !important;
  background: #fffafa !important;
}
.cf-name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cf-name label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.cf-help {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.cf-counter {
  flex: none;
}
.cf-counter.is-over {
  color: var(--c-price);
}
.cf-err {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-price);
}
.cf-err:empty {
  display: none;
}
.cf-err::before {
  content: "！";
  margin-right: 4px;
}
.cf-radios {
  display: grid;
  gap: 8px;
}
.cf-radio {
  position: relative;
  display: block;
  cursor: pointer;
}
.cf-radio span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  font-size: 14px;
  transition: border-color 0.25s, background-color 0.25s;
}
.cf-radio span::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid #9a9a9a;
  border-radius: 50%;
  background: #fff;
  transition: border-width 0.2s var(--ease-expo), border-color 0.2s;
}
.cf-radio:hover span {
  border-color: var(--ink);
}
.cf-radio input:checked + span {
  border-color: var(--ink);
  background: var(--paper);
}
.cf-radio input:checked + span::before {
  border: 6px solid var(--ink);
}
.cf-field[data-field="kind"][aria-invalid="true"] .cf-radio span {
  border-color: #e8b4ab;
}
.cf-agree {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.cf-agree span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
}
.cf-agree span::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid #9a9a9a;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E")
    no-repeat center / 0 0;
  transition: background-color 0.2s, background-size 0.25s var(--ease-expo);
}
.cf-agree input:checked + span::before {
  background-color: var(--ink);
  border-color: var(--ink);
  background-size: 13px 11px;
}
.cf-agree a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cf-field[data-field="agree"] {
  display: block;
  text-align: center;
  border-bottom: 0;
}
.cf-submit {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding-top: 8px;
}
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 320px;
  min-height: 64px;
  font-size: 16px;
  font-weight: 500;
}
.cf-done {
  margin-top: 32px;
  padding: 56px 32px;
  text-align: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  display: grid;
  justify-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 1.9;
}
.cf-done[hidden] {
  display: none;
}
.cf-done:focus {
  outline: none;
}
.cf-done img {
  width: 90px;
  height: auto;
}
.cf-done-ttl {
  font-size: 20px;
  font-weight: 700;
}

/* ================= 7. レスポンシブ ================= */
@media (max-width: 1100px) {
  .pl {
    grid-template-columns: minmax(0, 1fr);
  }
  /* 絞り込みは下から出るパネルに */
  .pl-filter {
    position: fixed;
    inset: auto 0 0;
    z-index: 95;
    top: auto;
    max-height: min(88vh, 760px);
    transform: translateY(105%);
    transition: transform 0.5s var(--ease-expo), visibility 0s 0.5s;
    visibility: hidden;
    box-shadow: 0 -16px 40px rgb(0 0 0 / 0.18);
  }
  .pl-filter.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.5s var(--ease-expo);
  }
  .pf {
    border: 0;
  }
  .pf-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
  }
  .pf-close {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }
  .pf-close span {
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transform: rotate(45deg);
  }
  .pf-close span + span {
    transform: rotate(-45deg);
  }
  .pf-head .pf-clear {
    margin-right: 4px; /* 閉じるボタンとの間 */
  }
  .pf-apply {
    flex: 1; /* 帯にはこのボタンだけなので横幅いっぱい */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 500;
  }
  .pl-scrim {
    position: fixed;
    inset: 0;
    z-index: 94;
    background: rgb(0 0 0 / 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .pl-scrim.is-show {
    opacity: 1;
    pointer-events: auto;
  }
  .pl-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 500;
  }
  .pl-open svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
  }
  .pl-open-n {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-family: var(--en);
    font-size: 11px;
  }
  .pl-open-n[hidden] {
    display: none;
  }
  .pl-grid.is-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .pd-aside {
    position: static;
  }
  .cg-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nl-grid,
  .nl-grid.is-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ph {
    padding: calc(var(--hd-h) + 4px) 0 32px;
  }
  .ph-lead {
    font-size: 13px;
    margin-top: 10px;
  }
  /* スマホは見出しに重ならないよう、右上の空いた場所に */
  .ph-mark {
    width: 170px;
    right: -16px;
    top: calc(var(--hd-h) + 8px);
    translate: none;
  }
  .bc {
    margin-bottom: 14px;
    font-size: 11px;
  }
  .pl {
    padding: 28px 0 72px;
  }
  .pl-grid,
  .pl-grid.is-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .pl-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .pl-count b {
    font-size: 26px;
  }
  .pl-of {
    display: none;
  }
  .pl-open {
    margin-left: auto;
  }
  .pl-sort {
    width: 100%;
    margin-left: 0;
  }
  .pl-sort select {
    flex: 1;
  }
  .pl-more-btn {
    width: 100%;
    min-width: 0;
  }
  .pl-cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0;
  }
  .pl-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .pd-top {
    width: calc(100% - 40px);
  }
  .pd-gallery {
    width: 100%;
  }
  .pd-shots {
    display: flex;
    aspect-ratio: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 4px;
    scrollbar-width: none;
  }
  .pd-shot {
    flex: none;
    width: 88%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: center;
  }
  .pd-shot:first-child {
    clip-path: none;
  }
  .pd-all {
    right: 12px;
    bottom: 12px;
    min-height: 40px;
    font-size: 12px;
  }
  .pd-layout {
    width: calc(100% - 40px);
    padding: 28px 0 64px;
    gap: 40px;
  }
  .pd-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-facts > div {
    padding: 12px 14px;
  }
  .pd-sec {
    margin-top: 64px;
  }
  .pd-points {
    grid-template-columns: 1fr;
  }
  .pd-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .pd-photo-cap {
    display: none;
  }
  .pd-plan {
    grid-template-columns: 1fr;
  }
  .pd-stations li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
  }
  .pd-line {
    grid-column: 1 / -1;
    font-size: 12px;
  }
  .pd-near {
    grid-template-columns: 1fr;
  }
  .pd-row {
    grid-template-columns: 110px minmax(0, 1fr);
    font-size: 12px;
  }
  .pd-row dt,
  .pd-row dd {
    padding: 12px;
  }
  .pd-faq-item summary {
    font-size: 14px;
  }
  .pd-articles .nl-grid.is-small {
    grid-template-columns: 1fr;
  }
  .pd-related-inner {
    width: calc(100% - 40px);
    padding: 56px 0 72px;
  }
  /* 物件詳細は「物件を探す」帯の代わりに価格つきの申し込み帯を出す */
  .page-pd .sp-cta {
    display: none !important;
  }
  .pd-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--ink);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease-expo);
  }
  .pd-bar.is-show {
    transform: none;
  }
  .pd-bar-price {
    color: var(--c-price);
    font-size: 13px;
    font-weight: 700;
  }
  .pd-bar-price b {
    font-size: 26px;
    font-weight: 600;
  }
  .pd-bar-btn {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 26px;
    font-size: 14px;
    font-weight: 500;
  }
  .lb-inner {
    padding: 64px 0 96px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 24px;
    translate: none;
  }
  .lb-prev {
    left: calc(50% - 64px);
  }
  .lb-next {
    right: calc(50% - 64px);
  }
  .lb-cap {
    padding: 0 20px;
  }

  .cg-nav {
    padding-top: 32px;
  }
  .cg-tiles {
    gap: 10px;
  }
  .cg-tiles a {
    padding: 16px 8px 16px;
  }
  .cg-tile-img {
    width: 96px;
  }
  .cg-tile-name {
    font-size: 15px;
  }
  .cg-tile-meta {
    font-size: 11px;
  }
  .cg-sec {
    padding: 64px 0;
  }
  .cg-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cg-illust {
    width: 200px;
  }
  .cg-block {
    margin-top: 44px;
  }
  .cg-empty {
    padding: 24px 20px;
  }

  .nl {
    padding: 32px 0 72px;
  }
  .nl-feature-label {
    margin-bottom: 16px;
  }
  .nl-feature a {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nl-filter {
    margin-top: 56px;
  }
  .nl-filter ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px 4px;
    scrollbar-width: none;
  }
  .nl-filter-btn {
    white-space: nowrap;
  }
  .nl-grid,
  .nl-grid.is-small {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nl-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cf-wrap {
    width: calc(100% - 40px);
    padding: 32px 0 80px;
  }
  .cf-routes {
    grid-template-columns: 1fr;
  }
  .cf-route {
    padding: 28px 22px 24px;
  }
  .cf-route-btn {
    width: 100%;
    justify-content: center;
  }
  .cf {
    margin-top: 56px;
  }
  .cf-field {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }
  .cf-field > :not(.cf-label) {
    grid-column: 1;
  }
  .cf-label {
    grid-row: auto;
    width: 100%;
    padding: 0 0 12px;
  }
  .cf-field > legend + * {
    clear: both;
  }
  .cf-btn {
    width: 100%;
    min-width: 0;
  }
}

/* fieldset の legend を通常の見出しと同じ余白にする */
.pf-group > legend {
  float: left;
  width: 100%;
}
.pf-group > legend + * {
  clear: both;
}
.cf-agree-txt {
  font-weight: 400;
}

/* ================= 8. プライバシーポリシー ================= */
.pv {
  width: var(--w);
  margin: 0 auto;
  padding: 64px 0 120px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.pv-toc {
  position: sticky;
  top: calc(var(--hd-h-s) + 24px);
}
.pv-toc-ttl {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pv-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px;
  padding: 12px 0 12px 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.6;
  color: var(--dark);
  transition: color 0.25s, background-color 0.25s;
}
.pv-toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--ink);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-expo);
}
.pv-toc .en {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.pv-toc a:hover {
  color: var(--ink);
}
.pv-toc a.is-current {
  color: var(--ink);
  font-weight: 700;
}
.pv-toc a.is-current::before {
  transform: scaleY(1);
}
.pv-toc a.is-current .en {
  color: var(--ink);
}
.pv-lead {
  padding: 28px 32px;
  background: var(--paper);
  border-left: 4px solid var(--marker);
  font-size: 15px;
  line-height: 2;
}
.pv-sec {
  margin-top: 64px;
  scroll-margin-top: calc(var(--hd-h-s) + 24px);
}
.pv-h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.pv-h2 .en {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  background: var(--ink);
  color: #fff;
}
.pv-h3 {
  margin: 36px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}
.pv-h3::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--ink);
}
.pv-sec p {
  font-size: 15px;
  line-height: 2.05;
  color: var(--dark);
}
.pv-sec p + p {
  margin-top: 1em;
}
.pv-list,
.pv-num,
.pv-links {
  margin: 16px 0;
  padding: 20px 24px;
  background: var(--paper);
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.8;
}
.pv-list li {
  display: flex;
  gap: 10px;
}
.pv-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.75em;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.pv-num {
  counter-reset: pv;
}
.pv-num li {
  display: flex;
  gap: 12px;
  counter-increment: pv;
}
.pv-num li::before {
  content: counter(pv);
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 0.2em;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
}
.pv-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.25s;
}
.pv-links a:hover {
  text-decoration-color: var(--ink);
}
.pv-links svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.pv-contact {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 28px 32px;
  border: 1px solid var(--ink);
}
.pv-contact-name {
  display: grid;
  font-size: 17px !important;
  font-weight: 700;
  color: var(--ink) !important;
  line-height: 1.6 !important;
}
.pv-contact-name small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.pv-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 36px;
  font-size: 14px;
  font-weight: 500;
}
.pv-contact-btn svg {
  width: 22px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.pv-dates {
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
.pv-dates div {
  display: flex;
  gap: 8px;
}

@media (max-width: 1100px) {
  .pv {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .pv-toc {
    position: static;
  }
  .pv-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}
@media (max-width: 767px) {
  .pv {
    padding: 36px 0 80px;
  }
  .pv-toc ol {
    grid-template-columns: 1fr;
  }
  .pv-lead {
    padding: 20px;
    font-size: 14px;
  }
  .pv-sec {
    margin-top: 48px;
  }
  .pv-sec p {
    font-size: 14px;
  }
  .pv-list,
  .pv-num,
  .pv-links {
    padding: 16px 18px;
  }
  .pv-contact {
    padding: 22px 20px;
  }
  .pv-contact-btn {
    width: 100%;
    justify-content: center;
  }
  .pv-dates {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* プライバシーポリシー：追加した部品 */
.pv-note {
  margin-top: 16px !important;
  padding: 16px 20px;
  border: 1px dashed #b5b5b5;
  font-size: 13px !important;
  line-height: 1.9 !important;
}
.pv-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pv-note svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.pv-dl {
  margin: 16px 0;
  border-top: 1px solid var(--rule);
}
.pv-dl > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.9;
}
.pv-dl dt {
  font-weight: 700;
}
.pv-dl dd {
  color: var(--dark);
}
.pv-table-wrap {
  margin: 16px 0;
  overflow-x: auto;
}
.pv-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.8;
}
.pv-table th,
.pv-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.pv-table thead th {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 0;
}
.pv-table tbody th {
  width: 26%;
  background: var(--paper);
  font-weight: 700;
}
.pv-table tbody th small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.pv-table td:last-child {
  width: 24%;
}
.pv-contact {
  display: grid;
  justify-items: start;
  gap: 24px;
}
.pv-contact-info {
  width: 100%;
}
.pv-contact-info > div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.8;
}
.pv-contact-info dt {
  font-size: 12px;
  color: var(--muted);
  padding-top: 2px;
}
.pv-contact-info a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 767px) {
  .pv-dl > div,
  .pv-contact-info > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.pv-contact-info {
  justify-self: stretch;
}

/* ================= 9. 記事詳細（コラム） ================= */
/* WP: single.php。本文 .ar-content は the_content() の出力（h2/h3/p/ul/ol/table/figure/blockquote）にそのまま効くようにする */
.ar-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  height: 3px;
  pointer-events: none;
}
.ar-progress span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ヒーローは「左：タイトル／右：アイキャッチ」の横並びにして高さを抑える */
.ar-head {
  padding: calc(var(--hd-h) + 4px) 0 48px;
  border-bottom: 1px solid var(--rule);
}
.ar-head-inner {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  column-gap: 56px;
  align-items: center;
}
.ar-head-inner > .bc {
  grid-column: 1 / -1;
}
.ar-series {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ar-series-name {
  padding: 4px 14px;
  background: var(--marker);
}
.ar-series .en {
  font-weight: 600;
  letter-spacing: 0.14em;
}
.ar-title {
  margin-top: 18px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.ar-title:first-child {
  margin-top: 0; /* 連載ラベルが無い記事（編集部の記事など） */
}
.ar-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.ar-meta .nl-meta span {
  font-family: var(--jp);
  font-size: 12px;
}
.ar-meta .nl-cats {
  margin-top: 0;
}
.ar-meta .nl-cats a {
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
}
.ar-meta .nl-cats a:hover {
  color: var(--ink);
}
/* アイキャッチは記事カードと同じ「家」の形で切り抜く */
.ar-eye {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray);
  clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
}
.ar-eye img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-layout {
  width: var(--w);
  margin: 0 auto;
  padding: 64px 0 104px;
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}
.ar-toc {
  position: sticky;
  top: calc(var(--hd-h-s) + 24px);
}
.ar-toc-ttl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  list-style: none;
  cursor: default;
}
.ar-toc-ttl::-webkit-details-marker {
  display: none;
}
.ar-toc-ttl .en {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.ar-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px;
  padding: 11px 0 11px 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.6;
  color: var(--dark);
  transition: color 0.25s;
}
.ar-toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  background: var(--ink);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-expo);
}
.ar-toc .en {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.ar-toc a:hover,
.ar-toc a.is-current {
  color: var(--ink);
}
.ar-toc a.is-current {
  font-weight: 700;
}
.ar-toc a.is-current::before {
  transform: scaleY(1);
}

/* ---- 本文 ---- */
.ar-content {
  counter-reset: ar-h2;
  font-size: 16px;
  line-height: 2.1;
  color: var(--dark);
}
.ar-content > * + * {
  margin-top: 1.6em;
}
.ar-content .ar-lead {
  padding: 24px 28px;
  background: var(--paper);
  border-left: 4px solid var(--marker);
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
}
.ar-content h2 {
  counter-increment: ar-h2;
  margin-top: 88px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
  scroll-margin-top: calc(var(--hd-h-s) + 24px);
}
.ar-content h2::before {
  content: counter(ar-h2, decimal-leading-zero);
  flex: none;
  padding: 2px 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  translate: 0 -2px;
}
.ar-content h2 + * {
  margin-top: 28px;
}
.ar-content h3 {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}
.ar-content h3::before {
  content: "";
  flex: none;
  width: 16px;
  height: 2px;
  background: var(--ink);
}
.ar-content h3 + * {
  margin-top: 16px;
}
.ar-content strong {
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(transparent 62%, var(--marker) 62%);
}
.ar-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-underline-offset: 5px;
}
.ar-content a:hover {
  text-decoration-color: var(--rule);
}
.ar-content ul,
.ar-content ol {
  padding: 22px 26px;
  background: var(--paper);
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.85;
}
.ar-content ul li {
  position: relative;
  padding-left: 19px;
}
.ar-content ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.72em;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.ar-content ol {
  counter-reset: ar-ol;
}
.ar-content ol li {
  position: relative;
  padding-left: 34px;
  counter-increment: ar-ol;
}
.ar-content ol li::before {
  content: counter(ar-ol);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 0.3em;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
}
/* 項目が太字で始まるリスト（手順・ポイント）：太字＝見出し行、続きの文＝説明として小さく。.is-lead は wp.js が付ける */
.ar-content ul:has(> li.is-lead),
.ar-content ol:has(> li.is-lead) {
  gap: 16px;
}
.ar-content li.is-lead {
  font-size: 0.93em;
  line-height: 1.8;
  color: var(--dark);
}
.ar-content li.is-lead > strong:first-child {
  font-size: 1.1em;
  letter-spacing: 0.02em;
}
.ar-content ol li.is-lead::before {
  margin-top: 0.25em;
}
.ar-content figure img {
  width: 100%;
}
.ar-content figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.ar-content blockquote {
  position: relative;
  padding: 24px 28px 24px 64px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--ink);
}
.ar-content blockquote::before {
  content: "“";
  position: absolute;
  left: 20px;
  top: 10px;
  font-family: var(--en);
  font-size: 48px;
  line-height: 1;
}
.ar-table-wrap {
  overflow-x: auto;
}
.ar-content table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}
.ar-content th,
.ar-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.ar-content thead th {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 0;
}
.ar-content tbody th {
  width: 22%;
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
}
/* 事例（WP: グループブロックに「事例」スタイルを当てる想定） */
.ar-case {
  padding: 26px 28px;
  border: 1px solid var(--ink);
  font-size: 15px;
  line-height: 2;
}
.ar-case > * + * {
  margin-top: 0.8em;
}
.ar-case-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.ar-case-label .en {
  padding: 2px 10px;
  background: var(--marker);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ---- 記事末のCV ---- */
.ar-cv {
  margin-top: 72px;
}
/* 見出しや短い文が語の途中で折り返さないよう、文節で改行する（対応ブラウザのみ） */
.ar-cv-ttl,
.ar-cv-bridge,
.ar-cv-note {
  word-break: auto-phrase;
}
/* 本文の締めから相談へつなぐ一言。罫線で本文と区切りつつ、語りかけの調子は本文のまま */
.ar-cv-bridge {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dark);
}
.ar-cv-bridge::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--ink);
}
.ar-cv-box {
  position: relative;
  margin-top: 24px;
  padding: 40px 44px;
  background: var(--marker);
}
.ar-cv-icon {
  position: absolute;
  right: 36px;
  top: 32px;
  width: 52px;
  height: auto;
}
.ar-cv-box .en-label {
  margin-bottom: 8px;
}
.ar-cv-ttl {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}
.ar-cv-txt {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
}
.ar-cv-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ar-cv-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}
.ar-cv-list li::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}
.ar-cv-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgb(22 22 22 / 0.2);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.ar-cv-btn {
  min-height: 60px;
  padding: 0 40px;
  font-size: 15px;
  gap: 14px;
}
.ar-cv-btn svg {
  width: 22px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.ar-cv-tel {
  display: grid;
  font-size: 12px;
}
.ar-cv-tel b {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.ar-cv-tel small {
  opacity: 0.75;
}
.ar-cv-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 13px;
}
.ar-cv-note a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ar-cv-note a:hover {
  text-decoration-color: rgb(22 22 22 / 0.3);
}

/* ---- 記事の下 ---- */
.ar-foot {
  margin-top: 64px;
}
.ar-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 20px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.ar-share-ttl {
  font-size: 13px;
  font-weight: 700;
}
.ar-share ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ar-share a,
.ar-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12px;
  transition: border-color 0.25s, background-color 0.25s;
}
.ar-copy {
  padding: 0 16px;
}
.ar-share a:hover,
.ar-copy:hover {
  border-color: var(--ink);
}
.ar-copy.is-done {
  background: var(--marker);
  border-color: var(--marker);
}
.ar-share svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ar-author {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px;
  background: var(--paper);
}
.ar-author-img {
  width: 96px;
  height: 96px;
  padding: 18px 12px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}
.ar-author-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ar-author-name {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
}
.ar-author-txt {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dark);
}
.ar-pn {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ar-pn-item {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px 8px;
}
.ar-pn-item.is-next {
  text-align: right;
}
.ar-pn-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.ar-pn-item.is-next .ar-pn-k {
  justify-content: flex-end;
}
.ar-pn-k .en {
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.ar-pn-k svg {
  width: 6px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.ar-pn-ttl {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  transition: opacity 0.25s;
}
a.ar-pn-item:hover .ar-pn-ttl {
  opacity: 0.65;
}
.ar-pn-item.is-empty {
  opacity: 0.4;
}
.ar-pn-back {
  display: grid;
  place-items: center;
  padding: 0 24px;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.25s;
}
.ar-pn-back:hover {
  background: var(--paper);
}

.ar-related {
  border-top: 1px solid var(--rule);
}
.ar-related-inner {
  width: var(--w);
  margin: 0 auto;
  padding: 88px 0 96px;
}
.ar-related-more {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1100px) {
  .ar-head-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    column-gap: 32px;
  }
  .ar-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    gap: 40px;
  }
  /* 目次は本文の前に、開閉できる箱で出す */
  .ar-toc {
    position: static;
  }
  .ar-toc-box {
    border: 1px solid var(--ink);
  }
  .ar-toc-ttl {
    padding: 16px 20px;
    border-bottom: 0;
    cursor: pointer;
  }
  .ar-toc-ttl::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.3s;
  }
  .ar-toc-ttl .en {
    margin-left: auto;
  }
  .ar-toc-box[open] .ar-toc-ttl::after {
    transform: translateY(1px) rotate(-135deg);
  }
  .ar-toc ol {
    padding: 0 20px 8px;
    border-top: 1px solid var(--rule);
  }
  .ar-toc li:last-child a {
    border-bottom: 0;
  }
}
@media (max-width: 767px) {
  /* スマホはタイトルの下にアイキャッチ。比率を横長にして高さを抑える */
  .ar-head {
    padding: calc(var(--hd-h) + 4px) 0 28px;
  }
  .ar-head-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .ar-title {
    margin-top: 12px;
  }
  .ar-meta {
    margin-top: 12px;
  }
  .ar-eye {
    margin-top: 20px;
    aspect-ratio: 16 / 9;
  }
  .ar-layout {
    padding: 36px 0 72px;
    gap: 32px;
  }
  .ar-content {
    font-size: 15px;
    line-height: 2;
  }
  .ar-content .ar-lead {
    padding: 18px 20px;
    font-size: 14px;
  }
  .ar-content h2 {
    margin-top: 64px;
    gap: 12px;
  }
  .ar-content h2::before {
    font-size: 12px;
  }
  .ar-content h3 {
    margin-top: 44px;
    font-size: 16px;
  }
  .ar-content ul,
  .ar-content ol,
  .ar-case {
    padding: 18px 20px;
    font-size: 14px;
  }
  .ar-content blockquote {
    padding: 20px 16px 20px 48px;
    font-size: 15px;
  }
  .ar-content blockquote::before {
    left: 12px;
  }
  .ar-cv {
    margin-top: 56px;
  }
  .ar-cv-bridge {
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
  }
  .ar-cv-bridge::before {
    width: 16px;
    margin-top: 0.95em;
  }
  .ar-cv-box {
    margin-top: 18px;
    padding: 28px 20px;
  }
  .ar-cv-icon {
    right: 16px;
    top: 20px;
    width: 40px;
  }
  .ar-cv-ttl {
    padding-right: 44px;
    font-size: 19px;
  }
  .ar-cv-txt {
    font-size: 13px;
  }
  .ar-cv-list li {
    font-size: 12px;
    padding: 5px 12px;
  }
  .ar-cv-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ar-cv-btn {
    width: 100%;
  }
  .ar-cv-tel {
    justify-items: center;
    text-align: center;
  }
  .ar-cv-note {
    justify-content: center;
    text-align: center;
  }
  .ar-foot {
    margin-top: 48px;
  }
  .ar-author {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }
  .ar-author-img {
    width: 64px;
    height: 64px;
    padding: 12px 8px;
  }
  .ar-pn {
    grid-template-columns: 1fr 1fr;
  }
  .ar-pn-back {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 48px;
    border: 0;
    border-top: 1px solid var(--rule);
  }
  .ar-pn-ttl {
    font-size: 13px;
  }
  .ar-related-inner {
    padding: 64px 0 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ar-progress {
    display: none;
  }
}

/* ================= 10. スタッフ紹介 ================= */
/* 写真は物件カード（.pc-img）と同じ「家の形」に切り抜く */
.sf-face,
.sf-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray);
  clip-path: polygon(50% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
}
.sf-face img,
.sf-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1s var(--ease-expo),
    opacity 0.5s var(--ease-out);
}
.sf-face .is-alt,
.sf-photo .is-alt {
  opacity: 0;
}
@media (hover: hover) {
  .sf-roster-list a:hover .sf-face .is-alt,
  .sf-photo:hover .is-alt {
    opacity: 1;
  }
  .sf-roster-list a:hover .sf-face img {
    transform: scale(1.04);
  }
}
/* 写真がないスタッフは名前の頭文字 */
.sf-face.is-initial,
.sf-photo.is-initial {
  display: grid;
  place-items: center;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, #1111110d 1px, #0000 1px), linear-gradient(#1111110d 1px, #0000 1px);
  background-size: 32px 32px;
}
.is-initial span {
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  color: #b4b4b4;
}
.sf-photo.is-initial span {
  font-size: clamp(96px, 12vw, 180px);
}

/* スタッフ一覧 */
.sf-roster {
  width: var(--w);
  margin: 0 auto;
  padding: 80px 0 96px;
}
.sf-roster-head {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  column-gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}
.sf-roster-head .en-label {
  grid-column: 1;
  margin-bottom: 8px;
}
.sf-h2 {
  grid-column: 1;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.09em;
}
.sf-roster-txt {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 14px;
  line-height: 2;
  color: var(--dark);
}
.sf-roster-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.sf-roster-list a {
  position: relative;
  display: grid;
  padding-bottom: 4px;
}
.sf-roster-no {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.sf-roster-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.sf-roster-count {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.sf-roster-count b {
  margin: 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.sf-roster-list .hex {
  position: absolute;
  right: 0;
  bottom: 6px;
}

/* 1人ずつの紹介 */
.sf-prof {
  border-top: 1px solid var(--rule);
}
.sf-prof-main {
  width: var(--w);
  margin: 0 auto;
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: center;
}
.sf-prof.is-rev .sf-prof-main {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.sf-prof.is-rev .sf-visual {
  order: 2;
}
.sf-visual {
  position: relative;
}
.sf-bignum {
  position: absolute;
  right: -20px;
  bottom: -36px;
  font-size: clamp(96px, 11vw, 168px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  pointer-events: none;
}
.sf-prof.is-rev .sf-bignum {
  right: auto;
  left: -20px;
}
.sf-name {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}
.sf-company {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.sf-stats {
  margin-top: 32px;
  border-top: 1px solid var(--ink);
}
.sf-stats > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.sf-stats dt {
  font-size: 13px;
  font-weight: 700;
}
.sf-stat-count dd {
  font-size: 14px;
}
.sf-stat-count b {
  margin-right: 4px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}
.sf-bar {
  display: flex;
  gap: 2px;
  height: 10px;
}
.sf-bar span {
  width: var(--pct);
}
.k-ms {
  --k: var(--ink);
}
.k-house {
  --k: #8c8c8c;
}
.k-land {
  --k: var(--c-single);
}
.sf-bar span,
.sf-legend i {
  background: var(--k);
}
.sf-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--dark);
}
.sf-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sf-legend i {
  width: 10px;
  height: 10px;
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.sf-legend b {
  margin-left: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sf-sns {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sf-sns li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
  border: 1px dashed #c4c4c4;
}
.sf-sns-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.sf-sns-ico .dot {
  fill: currentColor;
  stroke: none;
}
.sf-sns-id {
  display: grid;
  min-width: 0;
  line-height: 1.4;
}
.sf-sns-id small {
  font-size: 11px;
  color: var(--muted);
}
.sf-sns-id .en {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-sns em {
  flex: none;
  margin-left: auto;
  padding: 2px 8px;
  background: var(--gray);
  font-size: 11px;
  font-style: normal;
  color: var(--dark);
}
.sf-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.sf-btn {
  min-height: 60px;
  padding: 0 40px;
  gap: 14px;
  font-size: 15px;
}
.sf-btn svg {
  width: 22px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.sf-tel {
  display: grid;
  font-size: 12px;
  line-height: 1.4;
}
.sf-tel b {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 担当物件 */
.sf-props {
  background: var(--paper);
}
.sf-props-inner {
  width: var(--w);
  margin: 0 auto;
  padding: 64px 0 88px;
}
.sf-props-ttl {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}
.sf-props-ttl .en-label {
  width: 100%;
  margin-bottom: 0;
}
.sf-props-ttl small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.sf-props-ttl small b {
  margin-right: 2px;
  font-size: 16px;
  color: var(--ink);
}
.sf-grid .pc[hidden] {
  display: none;
}
.sf-more[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .sf-roster-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sf-prof-main {
    gap: 48px;
  }
  .sf-sns {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .sf-roster {
    padding: 56px 0 64px;
  }
  .sf-roster-head {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 28px;
  }
  .sf-roster-txt {
    grid-column: 1;
    grid-row: auto;
    margin-top: 12px;
    font-size: 13px;
  }
  /* スマホは横にスクロールして選ぶ */
  .sf-roster-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 42%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: 20px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--ink) var(--rule);
  }
  .sf-roster-list li {
    scroll-snap-align: start;
  }
  .sf-roster-name {
    font-size: 15px;
  }
  .sf-prof-main,
  .sf-prof.is-rev .sf-prof-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 56px 0 48px;
  }
  .sf-prof.is-rev .sf-visual {
    order: 0;
  }
  .sf-visual {
    width: 72%;
    margin: 0 auto;
  }
  .sf-bignum,
  .sf-prof.is-rev .sf-bignum {
    left: auto;
    right: -24%;
    bottom: -20px;
    font-size: 88px;
  }
  .sf-stats > div {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .sf-stat-count b {
    font-size: 30px;
  }
  .sf-actions {
    display: grid;
    justify-items: stretch;
  }
  .sf-btn {
    width: 100%;
  }
  .sf-tel {
    justify-items: center;
    text-align: center;
  }
  .sf-props-inner {
    padding: 48px 0 64px;
  }
}

/* ================= 11. ホバー（反応がなかったリンク・ボタン） =================
   どれも位置は動かさず、線・色・その場での回転で反応させる */
.pv-note a,
.pv-contact-info a,
.cg-empty a,
.cf-agree-txt a,
.pf-more,
.pf-clear {
  transition: text-decoration-color 0.3s;
}
.pv-note a:hover,
.pv-contact-info a:hover,
.cg-empty a:hover,
.cf-agree-txt a:hover,
.pf-more:hover,
.pf-clear:hover {
  text-decoration-color: rgb(22 22 22 / 0.3);
}
/* 市区町村のチェックボックス：枠が濃くなる */
.pf-check span::before {
  transition:
    background-color 0.2s,
    background-size 0.25s var(--ease-expo),
    border-color 0.2s;
}
.pf-check:hover span::before {
  border-color: var(--ink);
}
/* 都道府県・詳しい条件の開閉 */
.pf-pref summary,
.pf-adv > summary {
  transition: opacity 0.3s;
}
.pf-pref summary:hover,
.pf-adv > summary:hover {
  opacity: 0.6;
}
/* よくあるご質問：＋／−がその場で回る */
.pd-faq-item:not([open]) summary:hover::before {
  transform: rotate(270deg);
}
.pd-faq-item:not([open]) summary:hover::after,
.pd-faq-item[open] summary:hover::before,
.pd-faq-item[open] summary:hover::after {
  transform: rotate(180deg);
}
/* スマホ・タブレットの絞り込みパネル */
.pf-close span {
  transition: transform 0.5s var(--ease-expo);
}
.pf-close:hover span {
  transform: rotate(135deg);
}
.pf-close:hover span + span {
  transform: rotate(45deg);
}
.pl-open {
  transition: background-color 0.3s;
}
.pl-open:hover {
  background: var(--paper);
}
/* 間取り図：枠が濃くなり、図が枠の中で少し拡大 */
.pd-plan-img {
  overflow: hidden;
  transition: border-color 0.3s;
}
.pd-plan-img img {
  transition: transform 1s var(--ease-expo);
}
.pd-plan-img:hover {
  border-color: var(--ink);
}
.pd-plan-img:hover img {
  transform: scale(1.03);
}
/* スタッフ紹介の説明文：スマホなど自動で折り返すときも、文節の途中で切らない */
.page-sf .ph-lead,
.sf-roster-txt {
  word-break: auto-phrase;
}
/* PCは2行で見せる（右の kj マークに重なってもよい）。改行は HTML の <br class="pc"> の位置だけ */
@media (min-width: 1101px) {
  .page-sf .ph-lead {
    max-width: none;
    white-space: nowrap;
  }
}
