/*
 * くらしジャーナル TOP（v2）
 * 構成：tokens → base → components → sections（header / fv / property / category / newpost / roomtour / contact / footer）→ responsive → motion
 * WP化のときは sections ごとに template-parts と対応させる。
 */

/* ================= tokens ================= */
:root {
  --ink: #161616;
  --dark: #363636;
  --muted: #666; /* 白地で 5.7:1 */
  --rule: #dcdcdc;
  --gray: #efefef;
  --paper: #f7f7f5;
  --marker: #f3e3a3; /* FV「イエ」のマーカーと同じ黄 */
  --white: #fff;
  --focus: #1f6feb;

  /* カテゴリのアクセント（イラストの手書き文字の色に合わせる。文字色には使わない） */
  --c-single: #d4b13f;
  --c-couple: #c98fae;
  --c-family: #4fb3bf;
  --c-invest: #63c06f;
  --c-price: #c2402e; /* 物件価格。白地で 5.2:1 */

  --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --en: "Work Sans", "Noto Sans JP", sans-serif;

  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-in-out: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --hexagon: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0 50%);

  --w: min(1120px, calc(100% - 80px));
  --hd-h: 120px;
  --hd-h-s: 76px;
}

/* ================= base ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--hd-h-s);
}
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button,
input {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  cursor: pointer;
  background: none;
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.is-locked,
.is-locked body {
  overflow: hidden;
}
.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.en {
  font-family: var(--en);
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip:focus {
  transform: none;
}

/* ================= components ================= */
.grid-paper {
  background-color: #fff;
  background-image:
    linear-gradient(to right, #1111110d 1px, #0000 1px), linear-gradient(#1111110d 1px, #0000 1px),
    linear-gradient(to right, #11111106 1px, #0000 1px), linear-gradient(#11111106 1px, #0000 1px);
  background-size:
    64px 64px,
    64px 64px,
    8px 8px,
    8px 8px;
}

.ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  flex: none;
}

.en-label {
  font-family: var(--en);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
}

.lines {
  letter-spacing: 0.09em;
  justify-items: start;
  gap: 8px;
  font-weight: 500;
  display: grid;
}
.line {
  padding-bottom: 1px;
  display: block;
  position: relative;
  overflow: hidden;
}
.line::before {
  content: "";
  transform-origin: 0;
  height: 1px;
  transition: transform 1.2s var(--ease-expo) calc(var(--i, 0) * 0.13s + 0.26s);
  background: currentColor;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.line-in {
  transition: transform 1.2s var(--ease-expo) calc(var(--i, 0) * 0.13s);
  display: block;
}

.sec-head .lines {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.6;
}
.sec-lead {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
  color: var(--dark);
}
.sec-head.is-center {
  text-align: center;
  display: grid;
  justify-items: center;
}
.sec-head.is-center .lines {
  justify-items: center;
}

.hex {
  flex: none;
  place-items: center;
  width: 34px;
  height: 30px;
  display: inline-grid;
  position: relative;
}
.hex-bg {
  background: var(--ink);
  clip-path: var(--hexagon);
  transition:
    transform 0.5s var(--ease-out),
    background-color 0.3s var(--ease-out);
  position: absolute;
  inset: 0;
}
.hex-arrow {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4px;
  height: 11px;
  width: 7px;
  position: relative;
  transition:
    stroke 0.3s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.hex-arrow.is-up {
  transform: rotate(-90deg);
}
.hex-white .hex-bg {
  background: #fff;
}
.hex-white .hex-arrow {
  stroke: var(--ink);
}
a:hover .hex-bg {
  background: var(--rule);
  transform: rotate(60deg);
}
a:hover .hex-arrow {
  stroke: var(--ink);
  animation: kj-draw 0.6s var(--ease-expo);
}
/* ホバーの矢印は位置を変えず、線を描き直すだけ（要素を上下左右に動かさない）。
   dasharray は矢印の線の長さより長い値にして、どの矢印でも同じキーフレームで使う */
@keyframes kj-draw {
  from {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
  }
  to {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
  }
}

.readmore {
  align-items: center;
  gap: 16px;
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
}
.readmore-text {
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 500;
}
.readmore-text.en {
  font-size: 15px;
}

.hex-pill {
  --cut: 14px;
  background: var(--ink);
  clip-path: polygon(
    var(--cut) 0,
    calc(100% - var(--cut)) 0,
    100% 50%,
    calc(100% - var(--cut)) 100%,
    var(--cut) 100%,
    0 50%
  );
  color: #fff;
  letter-spacing: 0.08em;
  min-height: 44px;
  /* 地の色はすぐ戻す（離したときは黄色の塗りが右へ抜けて、元の色が現れる） */
  transition:
    background-color 0.01s,
    color 0.4s var(--ease-expo);
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 34px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  position: relative;
  isolation: isolate;
}
/* ホバー：ボタンは動かさず、黄色（マーカー色）が左から塗られ、文字が黒になる。
   離すと右へ抜けて元に戻る。白いボタン（.pl-cta-btn など）も同じ塗りで反応する */
.hex-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--marker);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-expo);
}
.hex-pill:not(:disabled):hover {
  color: var(--ink);
  /* 塗り終わったころに地の色も黄色にして、斜めの辺に元の色がにじんで残らないようにする */
  background-color: var(--marker);
  transition:
    background-color 0.01s linear 0.35s,
    color 0.4s var(--ease-expo);
}
.hex-pill:not(:disabled):hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
/* ボタン内の矢印・検索アイコンは、その場で線を描き直す */
.hex-pill:not(:disabled):hover > svg {
  animation: kj-draw 0.6s var(--ease-expo);
}
.hex-pill:focus-visible {
  outline: none;
  background: var(--focus);
}

.brk {
  font-family: var(--en);
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
}
.brk i {
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: 5px 0 0 5px;
  width: 4px;
  height: 14px;
}
.brk i:last-child {
  border-left: 0;
  border-right: 1px solid var(--ink);
  border-radius: 0 5px 5px 0;
}

/* reveal */
[data-rv] {
  transition:
    opacity 1s var(--ease-out) var(--d, 0s),
    transform 1.3s var(--ease-expo) var(--d, 0s);
}
.rv-ready [data-rv]:not(.is-in) {
  opacity: 0;
  transform: translateY(32px);
}
.rv-ready .lines[data-rv]:not(.is-in),
.rv-ready .np-list:not(.is-in) {
  opacity: 1;
  transform: none;
}
.rv-ready [data-rv]:not(.is-in) .line::before {
  transform: scaleX(0);
}
.rv-ready [data-rv]:not(.is-in) .line-in {
  transform: translateY(110%);
}

/* ================= header ================= */
.hd {
  height: var(--hd-h);
  z-index: 100;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 48px 0 52px;
  display: flex;
  position: fixed;
  inset: 0 0 auto;
  transition:
    height 0.6s var(--ease-expo),
    background-color 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    transform 0.7s var(--ease-expo);
}
.hd.is-scrolled {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffffeb;
  height: var(--hd-h-s);
  box-shadow: 0 1px #11111114;
}
.hd.is-hidden {
  box-shadow: none;
  transform: translateY(-100%);
}
.hd.is-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  background: none;
}
.hd-brand {
  align-items: center;
  gap: 26px;
  display: flex;
  flex: none;
}
.hd-logo img {
  width: 164px;
  transition: width 0.6s var(--ease-expo);
}
.is-scrolled .hd-logo img {
  width: 144px;
}
.hd-tag {
  letter-spacing: 0.06em;
  font-size: 12px;
  line-height: 1.7;
  /* 初期は非表示。FV見出しが隠れたら .show-tag で出す */
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.6s var(--ease-expo),
    visibility 0s 0.6s;
}
.hd.show-tag .hd-tag {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.6s var(--ease-expo);
}
.hd-right {
  margin-left: auto;
  align-items: center;
  gap: 20px;
  display: flex;
  flex: none;
}
.hd-cta {
  padding: 0 30px;
}
.burger {
  width: 64px;
  height: 44px;
  position: relative;
}
.burger span {
  background: var(--ink);
  height: 1px;
  width: 48px;
  position: absolute;
  left: 8px;
  top: 12px;
  transition:
    left 0.5s var(--ease-expo),
    top 0.5s var(--ease-expo),
    transform 0.5s var(--ease-expo),
    opacity 0.3s;
}
.burger span:nth-child(2) {
  top: 22px;
  left: 14px;
}
.burger span:nth-child(3) {
  top: 32px;
  left: 20px;
  width: 36px;
}
.hd:not(.is-open) .burger:hover span {
  animation: kj-wipe 0.7s var(--ease-expo) both;
}
.hd:not(.is-open) .burger:hover span:nth-child(2) {
  animation-delay: 0.06s;
}
.hd:not(.is-open) .burger:hover span:nth-child(3) {
  animation-delay: 0.12s;
}
@keyframes kj-wipe {
  0% {
    transform: scaleX(1);
    transform-origin: right;
  }
  45% {
    transform: scaleX(0);
    transform-origin: right;
  }
  55% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}
.is-open .burger span:first-child {
  top: 22px;
  left: 12px;
  transform: rotate(22deg);
}
.is-open .burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.is-open .burger span:nth-child(3) {
  top: 22px;
  left: 12px;
  width: 48px;
  transform: rotate(-22deg);
}

.menu {
  clip-path: inset(0 0 100%);
  visibility: hidden;
  z-index: 90;
  position: fixed;
  inset: 0;
  overflow-y: auto;
  transition:
    clip-path 0.8s var(--ease-quart),
    visibility 0s 0.8s;
}
.menu.is-open {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-quart);
}
.menu-inner {
  min-height: 100%;
  width: var(--w);
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
  gap: 90px;
  margin: 0 auto;
  padding: 150px 0 80px;
  display: grid;
}
.menu-side,
.menu-nav li {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.9s var(--ease-expo);
}
.menu.is-open .menu-side,
.menu.is-open .menu-nav li {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.35s + var(--i, 0) * 60ms);
}
.menu-side {
  align-self: start;
  position: sticky;
  top: 150px;
}
.menu-tag {
  letter-spacing: 0.09em;
  line-height: 1.9;
  margin-top: 24px;
  font-size: 14px;
  word-break: auto-phrase;
}
.menu-tag .nw {
  display: inline-block;
}
.menu-side > :first-child {
  margin-top: 0;
}
.menu-cta {
  margin-top: 40px;
  min-height: 56px;
  gap: 16px;
  padding: 0 28px 0 40px;
  font-size: 15px;
}
.menu-nav li a {
  border-bottom: 1px solid var(--ink);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 20px 0;
  display: grid;
}
.menu-label {
  letter-spacing: 0.09em;
  font-size: 21px;
  font-weight: 500;
  transition: opacity 0.3s var(--ease-out);
}
.menu-en {
  color: var(--muted);
  font-family: var(--en);
  letter-spacing: 0.1em;
  font-size: 12px;
}
.menu-nav li a:hover .menu-label {
  opacity: 0.5;
}
.menu-sub {
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-top: 28px;
  font-size: 13px;
  display: flex;
}
.menu-sub a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 7px;
  text-decoration: underline #1111114d;
}

.sp-cta {
  display: none;
}

/* ================= FV ================= */
.fv {
  padding: calc(var(--hd-h) + 8px) 0 0;
  position: relative;
  overflow: hidden;
}
.fv-main {
  width: min(1200px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 0 64px;
}

/* --- 左：コピー＋検索 --- */
.fv-content {
  min-width: 0;
}
.fv-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  animation: fade-in 1s var(--ease-out) 0.2s both;
}
.fv-mark {
  width: 64px;
  height: auto;
  animation: write 2s var(--ease-in-out) 0.4s both;
}
@keyframes write {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.fv-title {
  gap: 2px;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.fv-title .line::before {
  display: none; /* FVは下線なし（セクション見出しと差をつける） */
}
.fv-title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, #f3e3a3 66%, #f3e3a3 90%, transparent 90%);
}

.fv-search {
  margin-top: 32px;
  max-width: 600px;
  animation: rise 1.1s var(--ease-expo) 0.6s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.fv-search-head {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.fv-search-head b {
  font-family: var(--en);
  font-size: 20px;
  font-weight: 600;
  margin: 0 4px;
}
.fv-search-box {
  display: flex;
  height: 60px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.06);
  transition: box-shadow 0.3s var(--ease-out);
}
.fv-search-box:focus-within {
  box-shadow: 0 0 0 4px rgb(31 111 235 / 0.18);
}
.fv-search-box input {
  flex: 1;
  min-width: 0;
  padding: 0 18px 0 20px;
  font-size: 16px; /* iOSのズーム防止 */
  background: transparent;
  border-radius: 999px;
}
.fv-search-box input::placeholder {
  color: #767676;
}
.fv-search-box input:focus-visible {
  outline: none; /* 枠全体でフォーカスを示す */
}
.fv-search-box button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.3s var(--ease-out);
}
.fv-search-box button:hover {
  background: var(--dark);
}
.fv-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.fv-quick a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  background: #fff;
  white-space: nowrap;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}
.fv-quick a:hover {
  border-color: var(--ink);
  background: var(--paper);
}

/* --- 右：イラスト --- */
.fv-visual {
  position: relative;
  aspect-ratio: 1 / 0.86;
  animation: fade-in 1.2s var(--ease-out) 0.3s both;
}
.fv-house {
  position: absolute;
  inset: 0 6% 0 6%;
  background: var(--paper);
  clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
}
.fv-house img {
  position: absolute;
  left: 8%;
  bottom: 4%;
  width: 84%;
  height: auto;
  mix-blend-mode: multiply;
}

/* --- 下：悩みレール --- */
.fv-rail {
  margin-top: 56px;
  padding: 0 0 72px;
}
.fv-rail-head {
  width: min(1200px, calc(100% - 96px));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fv-rail-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.fv-track {
  width: max-content;
  display: flex;
  animation: rail 60s linear infinite;
}
.fv-rail:hover .fv-track,
.fv-rail:focus-within .fv-track,
.fv-rail.is-paused .fv-track {
  animation-play-state: paused;
}
@keyframes rail {
  to {
    transform: translateX(-50%);
  }
}
.slide {
  flex: none;
  width: 340px;
  margin-right: 16px;
}
.slide a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 128px;
  padding: 0 20px 0 0;
}
.slide a:hover .slide-txt {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.slide-img {
  flex: none;
  width: 120px;
  height: 100%;
  position: relative;
  background: var(--gray);
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
}
.slide-img img {
  position: absolute;
  inset: 22% 6% 2%;
  width: 88%;
  height: 76%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
}
.slide-txt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.slide-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.slide-cat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.rail-toggle {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}
.rail-toggle-pause {
  width: 10px;
  height: 12px;
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}
.rail-toggle[aria-pressed="true"] .rail-toggle-pause {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 3px;
}

@media (max-width: 1100px) {
  .fv-main,
  .fv-rail-head {
    width: var(--w);
  }
  .fv-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 0 32px;
  }
}
@media (max-width: 767px) {
  .fv {
    padding-top: calc(var(--hd-h) + 12px);
  }
  .fv-main {
    grid-template-columns: 1fr;
  }
  .fv-visual {
    display: none;
  }
  .fv-sub {
    margin-bottom: 18px;
    gap: 10px;
    font-size: 12px;
  }
  .fv-mark {
    width: 48px;
  }
  .fv-title {
    font-size: clamp(26px, 7.4vw, 32px);
  }
  .fv-search {
    margin-top: 28px;
  }
  .fv-search-box {
    height: 56px;
    padding: 4px;
  }
  .fv-search-box input {
    padding: 0 10px 0 16px;
  }
  .fv-search-box button {
    padding: 0 18px;
  }
  .fv-quick {
    /* 1行で横スクロール */
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 12px calc(var(--w-gutter, 20px) * -1) 0;
    padding: 0 var(--w-gutter, 20px) 4px;
    scrollbar-width: none;
  }
  .fv-quick::-webkit-scrollbar {
    display: none;
  }
  .fv-rail {
    margin-top: 40px;
    padding: 0 0 56px;
  }
  .fv-rail-head {
    margin-bottom: 14px;
  }
  .fv-rail-title {
    font-size: 14px;
  }
  .slide {
    width: 280px;
    margin-right: 12px;
  }
  .slide a {
    height: 112px;
    gap: 12px;
  }
  .slide-img {
    width: 96px;
  }
  .slide-txt {
    font-size: 14px;
  }
}

/* ================= property ================= */
.pp {
  padding: 130px 0 140px;
  background: var(--paper);
  position: relative;
}
.pp::before {
  /* FVの家形からつながる屋根 */
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 48px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 0, 50% 100%, 0 0);
}
.pp-inner {
  width: var(--w);
  margin: 0 auto;
}
.pp .sec-head {
  max-width: 880px; /* 説明文1行目が「土地。」で折り返さない幅 */
}
.pp-carousel {
  margin-top: 56px;
}
.pp-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.pc-owned {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--marker);
  color: var(--ink);
}
.pp-arrows {
  display: flex;
  gap: 10px;
}
.arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  transition:
    background-color 0.25s,
    opacity 0.25s;
}
.arrow svg {
  width: 8px;
  height: 12px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
}
.arrow:hover {
  background: var(--gray);
}
.arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.pp-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  /* ホバーで浮いたカードと影が切れないよう、上下に余白 */
  padding: 14px 4px 36px;
  margin: -14px -4px -16px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) var(--rule);
}
.pp-list:focus-visible {
  outline-offset: 2px;
}

/* 物件カード：家の形の写真＋白いカード */
.pc {
  scroll-snap-align: start;
  min-width: 0;
}
.pc > a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* カードは動かさず、ホバーでは影・写真のズーム・矢印の描き直しで反応させる */
.pc-img {
  position: relative;
  aspect-ratio: 4 / 3;
}
.pc-img picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: var(--gray);
  clip-path: polygon(50% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-expo);
}
.pc > a:hover .pc-img img {
  transform: scale(1.06);
}
.pc-owned {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 26px;
}
/* 新着（サイト掲載から24時間以内）。売主物件（左下・黄）・会員限定（右下・黒）と重ならないよう左上に */
.pc-new {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  background: var(--c-price);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.pc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition: box-shadow 0.7s var(--ease-expo);
}
.pc > a:hover .pc-body {
  box-shadow: 0 22px 32px -20px rgb(0 0 0 / 0.28);
}
.pc-kind {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pc-kind::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.pc-name {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-catch {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-meta {
  margin: 12px 0 16px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.pc-meta li {
  display: flex;
  gap: 7px;
}
.pc-meta li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.pc-meta .is-station {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.4' d='M4.5 1.8h7a1.7 1.7 0 0 1 1.7 1.7v6.8a1.7 1.7 0 0 1-1.7 1.7h-7a1.7 1.7 0 0 1-1.7-1.7V3.5a1.7 1.7 0 0 1 1.7-1.7ZM2.8 7h10.4M5.8 12l-1.6 2.6M10.2 12l1.6 2.6'/%3E%3Ccircle cx='5.6' cy='9.4' r='.9'/%3E%3Ccircle cx='10.4' cy='9.4' r='.9'/%3E%3C/svg%3E");
}
.pc-meta .is-plan {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.4' d='M2 2h12v12H2ZM8.5 2v5.5M2 8.5h3.5M8.5 10.5V14M11 8.5h3'/%3E%3C/svg%3E");
}
.pc-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pc-price {
  font-family: var(--en);
  color: var(--c-price);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.pc-price small {
  font-family: var(--jp);
  font-size: 13px;
  font-weight: 700;
  margin-left: 1px;
}
.pc-go {
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    background-color 0.4s var(--ease-out),
    color 0.4s var(--ease-out);
}
.pc-go svg {
  width: 14px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.pc > a:hover .pc-go {
  background: var(--ink);
  color: #fff;
}
.pc > a:hover .pc-go svg {
  animation: kj-draw 0.6s var(--ease-expo);
}
/* area */
.pp-area {
  margin-top: 104px;
}
.pp-area-ttl {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pp-area-ttl::before {
  content: "AREA";
  font-family: var(--en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  order: 2;
}
.pp-area-lead {
  margin-top: 8px;
  font-size: 13px;
  color: var(--dark);
}
.pp-area-body {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* 都県タブと市区町村の一覧 */
.ar-tabs {
  display: flex;
  border-bottom: 1px solid var(--ink);
}
.ar-tab {
  position: relative;
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.3s;
}
.ar-tab .en {
  font-size: 12px;
  font-weight: 500;
}
.ar-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-expo);
}
.ar-tab:hover {
  color: var(--ink);
}
.ar-tab[aria-selected="true"] {
  color: var(--ink);
}
.ar-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}
.ar-panel[hidden] {
  display: none;
}
.ar-panel {
  animation: fade-in 0.5s var(--ease-out);
}
.ar-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  counter-reset: ar;
}
.ar-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 40px;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  transition: background-color 0.25s;
}
.ar-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.ar-name small {
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.ar-bar {
  height: 4px;
  background: var(--gray);
}
.ar-bar i {
  display: block;
  height: 100%;
  width: calc(var(--r) * 100%);
  background: var(--ink);
  transform-origin: 0 50%;
  transition: background-color 0.25s;
}
.ar-n {
  text-align: right;
  font-size: 15px;
  font-weight: 600;
}
.ar-n small {
  margin-left: 1px;
  font-family: var(--jp);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.ar-list a:hover,
.ar-list a.is-active {
  background: var(--marker);
}
.ar-list a:hover .ar-bar,
.ar-list a.is-active .ar-bar {
  background: rgb(255 255 255 / 0.6);
}
.ar-all {
  margin-top: 24px;
  margin-left: auto;
  display: flex;
}
/* タブを切り替えると横棒が伸びる */
.ar-panel:not([hidden]) .ar-bar i {
  animation: bar-in 0.9s var(--ease-expo) both;
}
@keyframes bar-in {
  from {
    transform: scaleX(0);
  }
}

/* エリア地図 */
.mp {
  margin: 0;
}
.mp-wrap {
  position: relative;
  overflow: hidden;
  background: #e9eef0;
}
.mp-svg {
  display: block;
  width: 100%;
  height: auto;
}
.mp-sea {
  fill: #e8edef;
}
.mp-land {
  fill: #fff;
  stroke: #e2e2e2;
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mp-area {
  transition: opacity 0.5s var(--ease-out);
}
.mp-area .mp-land {
  stroke: #fff;
  stroke-width: 1.2;
  transition: fill 0.35s var(--ease-out);
}
/* 件数の多さはモノトーンの濃淡で。選んだところだけブランドの黄色 */
.mp-area.lv1 .mp-land { fill: #e3e3de; }
.mp-area.lv2 .mp-land { fill: #c8c8c1; }
.mp-area.lv3 .mp-land { fill: #a3a39b; }
.mp-area.lv4 .mp-land { fill: #74746c; }
.mp-area.is-dim,
.mp-pin.is-dim {
  opacity: 0.28;
}
.mp-area:focus {
  outline: none;
}
.mp-area:hover .mp-land,
.mp-area:focus-visible .mp-land,
.mp-area.is-active .mp-land {
  fill: var(--marker);
  stroke: var(--ink);
}
.mp-pin {
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.mp-pin-in {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s var(--ease-expo);
}
.mp-pin circle {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 2.5;
  transition: fill 0.3s, stroke 0.3s;
}
.mp-pin text {
  fill: #fff;
  font-family: var(--en);
  font-size: 19px;
  font-weight: 700;
  text-anchor: middle;
  transition: fill 0.3s;
}
.mp-pin.is-active .mp-pin-in {
  transform: scale(1.35);
}
.mp-pin.is-active circle {
  fill: var(--marker);
  stroke: var(--ink);
}
.mp-pin.is-active text {
  fill: var(--ink);
}
.mp-mark {
  fill: #b9b9b4;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.mp-mark.is-sea {
  fill: #93a6ad;
  letter-spacing: 0.5em;
}
/* 地図が見えたらピンが順番に出る（--pi は main.js が付与） */
.rv-ready .pp-area .mp-pin-in {
  transition: transform 0.8s var(--ease-expo) calc(var(--pi, 0) * 22ms + 0.4s);
}
.rv-ready .pp-area:not(.is-in) .mp-pin-in {
  transform: scale(0);
}
.rv-ready .pp-area.is-in .mp-pin.is-active .mp-pin-in {
  transition-delay: 0s;
}
.mp-tip {
  position: absolute;
  left: var(--tx, 50%);
  top: var(--ty, 50%);
  translate: -50% calc(-100% - 20px);
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--ink);
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.4s var(--ease-expo);
}
.mp-tip.is-below {
  translate: -50% 14px;
}
.mp-tip.is-show {
  opacity: 1;
  transform: none;
}
.mp-tip-count {
  font-family: var(--en);
  font-weight: 600;
  color: var(--c-price);
}
.mp-cap {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--muted);
}
.mp-legend {
  display: flex;
  align-items: center;
  gap: 2px;
}
.mp-legend i {
  width: 22px;
  height: 8px;
}
.mp-legend i:first-of-type {
  margin-left: 6px;
}
.mp-legend i:last-of-type {
  margin-right: 6px;
}
.mp-legend .lv1 { background: #e3e3de; }
.mp-legend .lv2 { background: #c8c8c1; }
.mp-legend .lv3 { background: #a3a39b; }
.mp-legend .lv4 { background: #74746c; }
.mp-cap small {
  font-size: 11px;
}

.pp-more {
  margin-top: 56px;
  text-align: center;
}
.pp-btn {
  --cut: 22px;
  min-height: 68px;
  padding: 0 56px;
  font-size: 16px;
  gap: 14px;
}
.pp-btn-count {
  font-size: 13px;
  margin-left: -8px;
}
.pp-btn svg,
.ct-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2px;
  width: 22px;
}
.pp-btn:hover svg,
.ct-btn:hover svg {
  animation: kj-draw 0.6s var(--ease-expo);
}

/* ================= category ================= */
.cat {
  padding: 140px 0 150px;
}
.cat-inner {
  width: var(--w);
  margin: 0 auto;
}
.cat-list {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.cat-card {
  border: 1px solid var(--ink);
  background: #fff;
  padding: 56px 44px 40px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-template-areas:
    "ttl img"
    "catch img"
    "txt txt"
    "tags tags"
    "links links";
  align-content: start;
  column-gap: 24px;
}
.cat-card::after {
  /* アクセントの帯 */
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 6px;
  background: var(--accent);
}
.cat-label {
  border: 1px solid var(--ink);
  letter-spacing: 0.06em;
  background: #fff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  position: absolute;
  top: -1px;
  left: -1px;
}
.cat-label span {
  border-right: 1px solid var(--ink);
  margin-right: 10px;
  padding-right: 10px;
}
.cat-img {
  grid-area: img;
  align-self: start;
  aspect-ratio: 514 / 427;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cat-ttl {
  grid-area: ttl;
  align-self: end;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.cat-ttl a::after {
  /* カード全体をクリック可能に（中の別リンクは z-index で前面へ） */
  content: "";
  position: absolute;
  inset: 0;
}
.cat-catch {
  grid-area: catch;
  word-break: auto-phrase;
  text-wrap: balance;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.cat-txt {
  grid-area: txt;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dark);
}
.cat-tags {
  grid-area: tags;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 12px;
  font-size: 13px;
  display: flex;
}
.cat-links {
  grid-area: links;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.cat-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}
.cat-link.is-sub {
  font-size: 13px;
  font-weight: 500;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  min-height: 40px;
  transition: background-color 0.25s;
}
.cat-link.is-sub::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  clip-path: var(--hexagon);
  margin-right: -6px;
}
.cat-link.is-sub:hover {
  background: var(--paper);
}
.cat-card:hover .hex-bg {
  background: var(--rule);
  transform: rotate(60deg);
}
.cat-card:hover .hex-arrow {
  stroke: var(--ink);
  animation: kj-draw 0.6s var(--ease-expo);
}

/* ================= new post ================= */
.np {
  padding: 150px 0 130px;
  position: relative;
  overflow: hidden;
}
.np-inner {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.np-head {
  position: sticky;
  top: calc(var(--hd-h-s) + 24px);
}
.np-icon {
  width: 80px;
  margin-bottom: 24px;
}
.np-head .lines {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.5;
}
.np-lead {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
  color: var(--dark);
}
.np-visual {
  margin-top: 40px;
  position: relative;
}
.np-preview {
  aspect-ratio: 16 / 9;
  background: var(--gray);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
}
.np-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.5s var(--ease-out),
    transform 1.2s var(--ease-expo);
}
.np-preview img.is-active {
  opacity: 1;
  transform: none;
}
.np-caption {
  position: absolute;
  right: -12px;
  bottom: -18px;
  background: #fff;
  border: 1px solid var(--ink);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  animation: pop 0.6s var(--ease-expo);
}
.np-caption span {
  font-family: var(--en);
  font-size: 12px;
  margin-right: 10px;
  color: var(--muted);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.np-list {
  border-top: 1px solid var(--ink);
}
.np-list li {
  opacity: 1;
  transition:
    opacity 0.8s var(--ease-out) calc(var(--i) * 80ms),
    transform 1s var(--ease-expo) calc(var(--i) * 80ms);
}
.rv-ready .np-list:not(.is-in) li {
  opacity: 0;
  transform: translateY(20px);
}
.np-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 8px 28px 0;
  border-bottom: 1px solid var(--ink);
  transition: background-color 0.3s;
}
.np-list a:hover {
  background: var(--paper);
}
.np-item {
  display: grid;
  gap: 6px;
}
.np-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.np-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.np-meta time {
  font-family: var(--en);
}
.np-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
}
.np-list a:hover .np-arrow {
  animation: kj-draw 0.6s var(--ease-expo);
}
.np-more {
  width: var(--w);
  margin: 48px auto 0;
  display: flex;
  justify-content: flex-end;
}

/* ================= room tour ================= */
.rt {
  background: var(--paper);
  padding: 120px 0;
}
.rt-inner {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.rt-head .lines {
  font-size: clamp(22px, 2.2vw, 28px);
}
.rt-copy {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.9;
}
.rt-text {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: var(--dark);
}
.rt-links {
  --sit-h: 140px; /* 腰掛けイラストの高さ */
  --sit-left: 22%; /* ボックスの左から22% */
  display: grid;
  gap: 16px;
  position: relative;
  padding-top: calc(var(--sit-h) * 0.6146); /* 上半身ぶんの余白。座面がボックスの上辺に来る */
}
.rt-sitter {
  position: absolute;
  top: 0;
  left: var(--sit-left);
  z-index: 2;
  width: auto;
  height: var(--sit-h);
  pointer-events: none; /* 脚の下のリンクを押せるように */
}
/* Instagramボックスの文字は、垂れた足先のすぐ下（足先＋4px）から始める。
   足先の長さ＝イラストの高さ × 座面より下の割合（1 − 0.6146） */
.rt-link:not(.is-sub) .rt-link-title {
  align-self: flex-start;
  padding-top: calc(var(--sit-h) * 0.3854 + 4px);
}
.rt-link {
  background-color: var(--dark);
  color: #fff;
  background-image:
    linear-gradient(to right, #ffffff0f 1px, #0000 1px), linear-gradient(#ffffff0f 1px, #0000 1px);
  background-size: 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 150px;
  padding: 0 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.rt-link.is-sub {
  height: 96px;
  align-items: center;
  background-color: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  background-image: none;
}
.rt-link-title {
  align-self: center;
  display: grid;
  gap: 6px;
}
.rt-link-en {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 500;
}
.rt-logo {
  flex: none;
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.rt-handle {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.rt-link-ja {
  letter-spacing: 0.09em;
  width: fit-content;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.8;
  position: relative;
}
.rt-link.is-sub .rt-link-ja {
  font-size: 17px;
}
.rt-link-ja::after {
  content: "";
  background: currentColor;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.rt-link:hover .rt-link-ja::after {
  animation: draw-line 0.9s var(--ease-expo);
}
@keyframes draw-line {
  0% {
    transform-origin: 100%;
    transform: scaleX(1);
  }
  45% {
    transform-origin: 100%;
    transform: scaleX(0);
  }
  46% {
    transform-origin: 0;
  }
  100% {
    transform-origin: 0;
    transform: scaleX(1);
  }
}
.rt-ext {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.rt-door {
  perspective: 600px;
  width: 80px;
  height: 120px;
  position: relative;
}
.rt-door-frame {
  background: #f4f4f4;
  border: 2px solid #fff;
  border-bottom: 0;
  position: absolute;
  inset: 0;
}
.rt-door-leaf {
  background: var(--dark);
  transform-origin: 0;
  border: 1.5px solid #fff;
  border-bottom: 0;
  position: absolute;
  inset: 2px 2px 0;
  transition: transform 0.9s var(--ease-expo);
}
.rt-door-leaf i {
  background: #fff;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 56%;
  right: 10px;
}
.rt-link:hover .rt-door-leaf {
  transform: rotateY(-42deg);
}

/* ================= contact ================= */
.ct {
  padding: 140px 0 150px;
}
.ct-inner {
  width: min(1000px, calc(100% - 80px));
  margin: 0 auto;
}
.ct-grid {
  margin-top: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.ct-box {
  border: 1px solid var(--ink);
  background: #fff;
  padding: 44px 40px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ct-box.is-main {
  background: var(--paper);
}
/* 左の箱の女性（assets/deco-single.webp）。配置の共通指定は「装飾イラスト（TOP）」の .deco */
.ct-person {
  width: 84px;
  left: 48px;
  bottom: 100%; /* 靴底が枠線の上にちょうど乗る（線が足に重ならない） */
}
.ct-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ct-ttl {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ct-lead {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dark);
}
.ct-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.ct-btn {
  --cut: 18px;
  min-height: 60px;
  padding: 0 40px;
  font-size: 15px;
  gap: 14px;
}
.ct-tel {
  display: grid;
  line-height: 1.4;
}
.ct-tel-label {
  font-size: 12px;
  color: var(--dark);
}
.ct-tel-num {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ct-tel-hours {
  font-size: 12px;
  color: var(--muted);
}
.ct-sub-link {
  margin-top: auto;
  padding-top: 24px;
}

/* ================= footer ================= */
.ft {
  border-top: 1px solid var(--rule);
  padding: 80px 0 32px;
}
.ft-inner {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
}
.ft-logo {
  display: inline-block;
}
.ft-logo img {
  width: 180px; /* ロゴマーク（kj） */
  height: auto;
}
.ft-company {
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dark);
}
.ft-company dt {
  font-size: 12px;
  color: var(--muted);
}
.ft-company a {
  text-decoration: underline #1111114d;
  text-underline-offset: 4px;
}
.ft-nav {
  display: flex;
  gap: 64px;
}
.ft-nav ul {
  display: grid;
  align-content: start;
  gap: 4px;
}
.ft-nav a {
  display: grid;
  min-height: 44px;
  align-content: center;
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s;
}
.ft-nav a span {
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 11px;
}
.ft-nav a:hover {
  opacity: 0.55;
}
.ft-sub a {
  font-size: 13px;
  font-weight: 400;
}
.ft-sns {
  display: flex !important;
  gap: 8px !important;
}
.ft-sns a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.ft-sns svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.ft-sns .dot {
  fill: var(--ink);
  stroke: none;
}
.ft-bottom {
  width: var(--w);
  margin: 64px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.ft-top .readmore-text {
  font-size: 12px;
}

/* ================= responsive ================= */
.pc-only,
br.pc {
  display: initial;
}

/* ヘッダーのナビを外したので、キャッチコピーはスマホ以外で表示 */
@media (max-width: 767px) {
  .hd-tag {
    display: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --w: calc(100% - 64px);
    --hd-h: 88px;
    --hd-h-s: 68px;
  }
  .hd {
    padding: 0 24px 0 32px;
  }
  .hd-right {
    margin-left: auto;
  }
  .pp-list {
    grid-auto-columns: calc((100% - 2 * 20px) / 3);
    gap: 20px;
  }
  .pp-area-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cat-card {
    padding: 52px 28px 32px;
    grid-template-columns: minmax(0, 1fr) 120px;
  }
  .cat-ttl {
    font-size: 21px;
  }
  .np-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .np-head {
    position: static;
  }
  .np-visual {
    display: none;
  }
  .rt-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* タブレット幅でも左右2列を保つ（縦積みにすると右側が大きく空くため） */
  .ft-inner {
    gap: 40px;
  }
  .ft-nav {
    gap: 32px;
  }
  .ft-logo img {
    width: 140px;
  }
}

@media (max-width: 767px) {
  :root {
    --w: calc(100% - 40px);
    --hd-h: 68px;
    --hd-h-s: 60px;
  }
  body {
    font-size: 15px;
  }
  br.pc {
    display: none;
  }
  .hd {
    padding: 0 8px 0 20px;
  }
  .hd-logo img,
  .is-scrolled .hd-logo img {
    width: 128px;
  }
  .hd-cta {
    display: none;
  }
  .burger {
    width: 56px;
  }
  .burger span {
    width: 34px;
    left: 11px;
  }
  .burger span:nth-child(2) {
    left: 15px;
  }
  .burger span:nth-child(3) {
    width: 26px;
    left: 19px;
  }
  .is-open .burger span:first-child,
  .is-open .burger span:nth-child(3) {
    width: 34px;
    left: 11px;
  }

  .menu-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 100px 0 120px;
  }
  .menu-side {
    order: 2;
    position: static;
  }
  .menu-label {
    font-size: 17px;
  }
  .menu-nav li a {
    padding: 14px 0;
    gap: 16px;
  }

  .sp-cta {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 80;
    display: inline-flex;
    min-height: 52px;
    padding: 0 40px;
    font-size: 15px;
    transform: translate(-50%, 140%);
    transition:
      transform 0.6s var(--ease-expo),
      background-color 0.3s;
    box-shadow: none;
  }
  .sp-cta.is-show {
    transform: translate(-50%, 0);
  }

  .pp {
    padding: 100px 0 96px;
  }
  .pp::before {
    height: 28px;
  }
  .sec-lead {
    font-size: 14px;
  }
  .pp-carousel {
    margin-top: 40px;
  }
  .pp-controls {
    display: none; /* スマホは矢印を出さずスワイプで送る */
  }
  .pp-list {
    grid-auto-columns: 76%;
    gap: 14px;
    margin: -14px -20px -16px;
    padding: 14px 20px 32px;
    scroll-padding: 0 20px;
  }
  .pc-price {
    font-size: 22px;
  }
  .pp-area {
    margin-top: 64px;
  }
  .pp-area-ttl {
    font-size: 19px;
  }
  /* スマホは横棒を省いて2列に詰める */
  .ar-list {
    column-gap: 20px;
  }
  .ar-list a {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 44px;
    font-size: 13px;
  }
  .ar-bar {
    display: none;
  }
  .ar-name {
    flex-direction: column;
    gap: 0;
    line-height: 1.4;
  }
  .ar-tab {
    font-size: 13px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 56px;
  }
  .pp-area-body {
    margin-top: 20px;
  }
  .mp-wrap {
    margin: 0 -20px; /* スマホは地図を画面幅いっぱいに */
  }
  /* 地図が小さくなる分、ピンと地名を大きく */
  .mp-pin-in {
    transform: scale(1.6);
  }
  .mp-pin.is-active .mp-pin-in {
    transform: scale(1.9);
  }
  .mp-mark {
    font-size: 36px;
  }
  .pp-more {
    margin-top: 40px;
  }
  .pp-btn {
    width: 100%;
    padding: 0 24px;
    min-height: 60px;
    font-size: 15px;
  }

  .cat {
    padding: 96px 0;
  }
  .cat-list {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cat-card {
    padding: 48px 20px 24px;
    grid-template-columns: minmax(0, 1fr) 104px;
  }
  .cat-ttl {
    font-size: 19px;
  }
  .cat-catch {
    font-size: 14px;
  }
  .cat-txt {
    margin-top: 16px;
  }

  .np {
    padding: 96px 0;
  }
  .np-list a {
    gap: 14px;
    padding: 20px 0;
  }
  .np-title {
    font-size: 15px;
  }
  .np-more {
    justify-content: center;
  }

  .rt {
    padding: 88px 0;
  }
  .rt-copy {
    font-size: 17px;
    margin-top: 24px;
  }
  .rt-link {
    height: 120px;
    padding: 0 24px 0 24px;
  }
  .rt-handle {
    display: none; /* 扉イラストと重なるため */
  }
  .rt-link.is-sub {
    height: 84px;
  }
  .rt-link-ja {
    font-size: 18px;
  }
  .rt-door {
    width: 64px;
    height: 96px;
  }
  .rt-links {
    --sit-h: 100px;
    --sit-left: 22%;
  }

  .ct {
    padding: 96px 0 110px;
  }
  .ct-inner {
    width: var(--w);
  }
  .ct-grid {
    margin-top: 110px;
    grid-template-columns: 1fr;
  }
  .ct-box {
    padding: 32px 22px 28px;
  }
  .ct-person {
    display: none; /* スマホでは女性のイラストを出さない */
  }
  .ct-btn {
    width: 100%;
  }
  .ct-tel {
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--rule);
    padding-top: 16px;
  }

  .ft {
    padding: 64px 0 100px;
  }
  .ft-inner {
    grid-template-columns: 1fr;
  }
  .ft-nav {
    flex-wrap: wrap;
    gap: 24px 40px;
  }
  .ft-bottom {
    margin-top: 40px;
    flex-direction: column-reverse;
    gap: 8px;
  }
}

/* 記事未設定時（中身が空）のキャプション枠を出さない */
.np-caption:empty {
  display: none;
}

/* ================= rich motion（js/motion.js と対） ================= */
/* FV見出し：1文字ずつせり上がる */
.rv-ready .fv-title.is-split:not(.is-in) .line-in {
  transform: none;
}
.fv-title .ch {
  display: inline-block;
  transform-origin: 0 100%;
  transition:
    transform 1.2s var(--ease-expo) calc(var(--c) * 38ms + 0.15s),
    opacity 0.7s var(--ease-out) calc(var(--c) * 38ms + 0.15s);
}
.fv-title.is-split:not(.is-in) .ch {
  opacity: 0;
  transform: translateY(105%) rotate(8deg);
}
/* 「イエ」のマーカーは文字が出そろってから引く */
.fv-title em {
  background: linear-gradient(#f3e3a3, #f3e3a3) no-repeat 0 87% / 100% 24%;
  transition: background-size 1.1s var(--ease-expo) calc(var(--chars, 0) * 38ms + 0.35s);
}
.fv-title.is-split:not(.is-in) em {
  background-size: 0% 24%;
}

/* FVイラスト：家が下から立ち上がり、家族がふわっと入る */
.fv-house {
  animation: house-in 1.7s var(--ease-expo) 0.2s both;
}
@keyframes house-in {
  from {
    clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%);
  }
}
.fv-house img {
  animation: img-in 1.8s var(--ease-expo) 0.75s both;
}
@keyframes img-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
}

/* 悩みレール */
.fv-track {
  will-change: transform;
}

/* 物件写真：順番に幕が上がる（--i は motion.js が付与） */
.rv-ready .pp-carousel .pc-img {
  transition: clip-path 1.3s var(--ease-expo) calc(var(--i, 0) * 90ms + 0.25s);
}
.rv-ready .pp-carousel:not(.is-in) .pc-img {
  clip-path: inset(100% 0 0 0);
}
.rv-ready .pp-carousel .pc-img img {
  transition:
    transform 0.9s var(--ease-expo),
    scale 1.8s var(--ease-expo) calc(var(--i, 0) * 90ms + 0.25s);
}
.rv-ready .pp-carousel:not(.is-in) .pc-img img {
  scale: 1.25;
}

/* カテゴリのイラスト：カードに続いて幕が上がる */
.rv-ready .cat-card .cat-img {
  transition: clip-path 1.3s var(--ease-expo) calc(var(--d, 0s) + 0.3s);
}
.rv-ready .cat-card:not(.is-in) .cat-img {
  clip-path: inset(100% 0 0 0);
}

/* ================= motion ================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fv-track {
    animation: none !important;
  }
  .rail-toggle {
    display: none;
  }
}

/* スマホ：フッターのロゴと運営会社はセンター揃え */
@media (max-width: 767px) {
  .ft-brand {
    text-align: center;
  }
  .ft-logo {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}

/* ================= hover（反応がなかったリンク・ボタン） =================
   どれも位置は動かさず、透明度・線・色で反応させる */
.hd-logo,
.ft-logo {
  transition: opacity 0.3s;
}
.hd-logo:hover,
.ft-logo:hover {
  opacity: 0.6;
}
.menu-sub a,
.ft-company a {
  transition: text-decoration-color 0.3s;
}
.menu-sub a:hover,
.ft-company a:hover {
  text-decoration-color: var(--ink);
}
/* 電話番号：数字の下に線が出る（下層ページの電話リンクもここでまとめる） */
.ct-tel-num,
.pl-cta-tel b,
.cf-route-tel b,
.ar-cv-tel b,
.sf-tel b {
  text-decoration: underline 1px transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.3s;
}
.ct-tel:hover .ct-tel-num,
.pl-cta-tel:hover b,
.cf-route-tel:hover b,
.ar-cv-tel:hover b,
.sf-tel:hover b {
  text-decoration-color: currentColor;
}
.rail-toggle {
  transition: background-color 0.3s;
}
.rail-toggle:hover {
  background: var(--marker);
}

/* ================= 装飾イラスト（TOP） =================
   線画の足元（画像の下端）を、カードや箱・区切りの線の上にちょうど乗せる（線が足に重ならない）。
   外側の白は透明、人物の中の白は残してあるので、方眼の上でも服が透けない */
.deco {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
}
/* カテゴリ：見出しの右、カード（2枚目）の上の線に立つ */
.cat .sec-head {
  position: relative;
}
.cat-deco {
  width: 130px; /* 顔の大きさを、お問い合わせのイラストにそろえた幅 */
  right: 40px;
  bottom: -64px; /* .cat-list の margin-top ぶん下げて、カードの上の線にちょうど乗せる */
}
/* お問い合わせ：右の箱の中、右下にしゃがむ。足元が箱の下の線に乗る。
   顔の大きさを左の女性にそろえた幅 */
.ct-deco {
  width: 100px;
  right: 24px;
  bottom: 0;
}
/* タブレット：右の箱が細く、リンクとイラストが横に並ばないので、リンクをイラストの上へ逃がす
   （左の箱と高さがそろうぶん縦に余裕がある） */
@media (min-width: 768px) and (max-width: 1100px) {
  .ct-deco ~ .ct-sub-link {
    margin-bottom: 84px;
  }
}
/* フッター：ロゴとメニューのあいだ、下の区切り線に足元が乗る */
.ft-bottom {
  position: relative;
}
.ft-deco {
  width: 124px;
  left: 20%;
  bottom: 100%;
}
/* タブレット：メニューが左へ寄ってくるので、割合ではなくロゴ側からの距離で置き、少し小さくする */
@media (max-width: 1100px) {
  .ft-deco {
    width: 110px;
    left: 90px;
  }
}
@media (max-width: 767px) {
  .ct-deco {
    width: 72px; /* 箱の中なので見出しと重ならない。スマホでも出す */
    right: 14px;
  }
  .cat-deco,
  .ft-deco {
    display: none; /* スマホでは見出しや説明文と重なるため出さない（左の箱の女性と同じ扱い） */
  }
}

/* ================= 物件サイト統合で足した共通部分（2026-11-13） =================
   メニューの電話、フッターの所在地・宅建業免許・電話（lp_suumo のヘッダー・フッターにあったもの） */
.menu-tel {
  margin-top: 32px;
  display: grid;
  gap: 2px;
  line-height: 1.4;
}
.menu-tel-label,
.menu-tel small {
  font-size: 12px;
  color: var(--muted);
}
.menu-tel b {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: underline 1px transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.3s;
}
.menu-tel:hover b {
  text-decoration-color: currentColor;
}
.ft-company {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
}
.ft-company dd {
  margin: 0;
}
@media (max-width: 600px) {
  .ft-company {
    grid-template-columns: 1fr;
  }
  .ft-company dd + dt {
    margin-top: 6px;
  }
}

/* タブレット（768〜1100px）のフッター：左右2列のままだと会社情報の列が細くなり、
   運営会社・免許番号・電話が細かく折り返して装飾イラストとも重なる。
   上段を「ロゴ＋会社情報」の横並び、下段をメニューにし、イラストは右の空いた側の区切り線に乗せる */
@media (min-width: 768px) and (max-width: 1100px) {
  .ft-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .ft-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 48px;
  }
  .ft-company {
    margin-top: 0;
  }
  .ft-deco {
    left: auto;
    right: 24px;
  }
}

/* スマホ（767px以下）のフッター：ロゴが中央揃えなので、会社情報・メニューも中央にそろえる。
   会社情報は「見出し｜値」の2列だと中央寄せで左右がずれるため、見出しの下に値を置く（600px以下と同じ形） */
@media (max-width: 767px) {
  .ft-company {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .ft-company dd + dt {
    margin-top: 8px;
  }
  .ft-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 24px 48px;
  }
  .ft-sns {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* スマホでもフッターのイラストを出す（タブレットと同じく右下、区切り線に足元を乗せる）。
   メニューは中央に寄せているので、右端の空きに置けば文字と重ならない */
@media (max-width: 767px) {
  .ft-deco {
    display: block;
    width: 110px; /* タブレットと同じ大きさ */
    left: auto;
    right: 0;
  }
  /* イラストの頭が「会員ログイン」に近づかないよう、区切り線までの間隔を広げる */
  .ft-bottom {
    margin-top: 64px;
  }
}

/* ================= フッターのメニュー：見出しごとのまとまり（2026-11-13） =================
   物件を探す（スタッフ紹介・会員ログイン）／暮らしから探す（4カテゴリ）／コラム・ルームツアー・お問い合わせ＋SNS。
   下位のページは左の細い線で字下げし、どの見出しの下にあるかを見てわかるようにする。
   プライバシーポリシーはコピーライトの横（.ft-legal）。マークアップは _m/tools/patch_footer_nav.py */
.ft-nav {
  display: flex;
  gap: 56px;
}
.ft-col {
  display: grid;
  align-content: start;
  gap: 8px;
}
.ft-nav .ft-sub {
  gap: 0;
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}
.ft-nav .ft-sub a {
  min-height: 36px;
  font-size: 13px;
  font-weight: 400;
  color: var(--dark);
}
.ft-col.is-main .ft-sns {
  margin-top: 20px;
}
.ft-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
}
.ft-legal a {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: underline 1px transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s;
}
.ft-legal a:hover {
  text-decoration-color: currentColor;
}
@media (max-width: 1100px) {
  .ft-nav {
    gap: 40px;
  }
}
/* スマホ：上段に「物件を探す」「暮らしから探す」の2列、下段にその他の3つを横並び＋SNS。すべて中央にそろえる */
@media (max-width: 767px) {
  .ft-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 32px 40px;
  }
  .ft-col.is-main {
    grid-column: 1 / -1;
    justify-items: center;
  }
  .ft-col.is-main .ft-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 24px;
  }
  .ft-col.is-main .ft-sns {
    grid-column: auto;
    margin-top: 16px;
  }
  .ft-legal {
    flex-direction: column;
    gap: 6px;
  }
}
/* フッターのイラスト（PC）：メニューがまとまって低くなったので、ロゴ側（会社情報の下）ではなく
   メニューの左隣の空きに置く。メニューの幅（約420px）＋余白ぶん右から離す */
@media (min-width: 1101px) {
  .ft-deco {
    left: auto;
    right: 460px;
  }
}
/* スマホ：イラストの頭が「お問い合わせ」に近づかないよう、区切り線までをもう少しあける */
@media (max-width: 767px) {
  .ft-bottom {
    margin-top: 80px;
  }
}

/* ================= 全ページ見直し（2026-11-13） ================= */
/* 見出し・カードの物件名：「…駅／へ。」のように語の途中や最後の1〜2文字だけで改行しない。
   文節で折り返し（対応ブラウザのみ）、行の長さをそろえる。長い英数字は枠内で折り返す */
h1,
h2,
h3,
.pc-name {
  word-break: auto-phrase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
/* 価格は「～5,680」「万円」に割れないよう、塊（.pc-pp）ごとに1行で。
   幅のある価格（「5,180万円～5,680万円」）は「～」の後ろでだけ折り返し、少し小さくする */
.pc-price {
  min-width: 0;
}
.pc-pp {
  display: inline-block;
  white-space: nowrap;
}
.pc-price.is-range {
  font-size: 20px;
}
/* 小さな文字リンクのタップ領域（WCAG 2.5.8 の 24px 以上）。見た目の位置は変えずに上下を広げる */
.bc a,
.ft-company a,
.ft-legal a {
  display: inline-block;
  padding-block: 4px;
}
.bc a {
  margin-block: -4px;
}
/* ヘッダーのロゴ：見た目の大きさはそのまま、押せる範囲を上下に広げる */
.hd-logo {
  display: inline-block;
  padding-block: 8px;
  margin-block: -8px;
}
/* 記事カードのタグ（#Family など）のリンク */
.nl-cats a {
  display: inline-block;
  padding-block: 4px;
}
