/* ============================================================
   みなとみらい不動産株式会社（PORTFOLIO DEMO）  style.css

   目次
     1.  トークン / リセット / ベース
     2.  レイアウト共通（container / section / 見出し）
     3.  ボタン・バッジ・フォームパーツ共通
     4.  画像フレーム（プレースホルダー）
     5.  ポートフォリオ表記バー
     6.  ヘッダー / ナビ
     7.  ファーストビュー
     8.  クイック物件検索
     9.  物件カード / 物件グリッド
     10. 物件詳細
     11. ステップ（購入の流れ）
     12. 目的別タブ（RENT）
     13. 売却訴求（SELL）/ フォーム
     14. AREA GUIDE
     15. WHY US（選ばれる理由）
     16. STAFF
     17. VOICE（お客様の声）
     18. FAQ
     19. COMPANY / ACCESS
     20. 最終CTA（CONTACT）
     21. フッター
     22. スマートフォン固定CTA
     23. スクロールアニメーション
     24. レスポンシブ
   ============================================================ */

/* ============ 1. トークン / リセット / ベース ============ */
:root {
  --navy: #10233f;
  --navy-2: #17325a;
  --navy-deep: #0a1830;
  --white: #ffffff;
  --paper: #f5f6f8;
  --paper-2: #eceef2;
  --line: #dfe3e9;
  --line-2: #c9cfd8;
  --ink: #1c232d;
  --ink-soft: #5b6572;
  --ink-faint: #8b93a0;

  --accent: #1f7a72;
  --accent-dark: #175f59;
  --accent-tint: #e6f1ef;
  --beige: #cdbfa0;
  --beige-tint: #f6f1e6;
  --danger: #b3261e;
  --danger-tint: #fbeceb;
  --ok: #1c7a43;

  --container: 1240px;
  --container-narrow: 760px;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 1px 3px rgba(16, 35, 63, 0.07);
  --shadow-md: 0 12px 32px rgba(16, 35, 63, 0.12);
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --dur: 0.25s;

  --f-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  --f-head: "Zen Kaku Gothic New", var(--f-jp);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-jp);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 3000;
  padding: 10px 18px;
  background-color: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pc-only { display: inline; }
.sp-only { display: none; }

/* ============ 2. レイアウト共通 ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--muted { background-color: var(--paper); }
.section--navy { background-color: var(--navy); color: rgba(255, 255, 255, 0.9); }

.section__head { margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
}
.section--navy .eyebrow { color: #8fd6cc; }

.section__title {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  letter-spacing: 0.01em;
}
.section--navy .section__title { color: var(--white); }

.section__desc {
  margin-top: 16px;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.section__head--center .section__desc { margin-left: auto; margin-right: auto; }
.section--navy .section__desc { color: rgba(255, 255, 255, 0.78); }

.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--ink-soft); border-bottom: 1px solid var(--line-2); }
.breadcrumb a:hover { color: var(--accent); }

/* ============ 3. ボタン・バッジ・フォームパーツ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.86rem; }
.btn--block { width: 100%; }

.btn--primary { background-color: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background-color: var(--accent-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--navy { background-color: var(--navy); color: var(--white); }
.btn--navy:hover { background-color: var(--navy-2); color: var(--white); transform: translateY(-1px); }

.btn--outline { background-color: var(--white); border-color: var(--line-2); color: var(--navy); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--outline-light { background-color: transparent; border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--outline-light:hover { background-color: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn--text { min-height: auto; padding: 0; border: 0; color: var(--accent); font-size: 0.92rem; }
.btn--text::after { content: "→"; margin-left: 6px; transition: transform var(--dur) var(--ease); display: inline-block; }
.btn--text:hover::after { transform: translateX(3px); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.badge--demo { background-color: var(--navy); color: var(--white); }
.badge--purpose-buy { background-color: var(--accent-tint); color: var(--accent-dark); }
.badge--purpose-rent { background-color: var(--beige-tint); color: #6b5a33; }

.field {
  display: block;
  margin-bottom: 20px;
}
.field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.field__req {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: var(--danger-tint);
  color: var(--danger);
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background-color: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field__input.is-invalid,
.field__select.is-invalid,
.field__textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-tint);
}
.field__textarea { resize: vertical; min-height: 120px; }
.field__error {
  margin: 7px 0 0;
  min-height: 1.1em;
  font-size: 0.82rem;
  color: var(--danger);
}
.field__hint { margin-top: 7px; font-size: 0.82rem; color: var(--ink-faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form__note {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}
.form__note.is-error { color: var(--danger); }
.form__note.is-ok { color: var(--ok); }
.form__demo-notice {
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ============ 4. 画像フレーム（プレースホルダー） ============ */
.frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--paper-2);
}
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--1x1 { aspect-ratio: 1 / 1; }
.frame--3x4 { aspect-ratio: 3 / 4; }
.frame--4x5 { aspect-ratio: 4 / 5; }

.frame__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.frame img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.frame.has-image img { opacity: 1; }
.frame.has-image .frame__label { display: none; }

/* ============ 5. ポートフォリオ表記バー ============ */
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 18px;
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  text-align: center;
}
.demo-bar__tag {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ============ 6. ヘッダー / ナビ ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__jp { font-size: 0.98rem; font-weight: 700; color: var(--navy); }
.brand__en { font-size: 0.62rem; letter-spacing: 0.14em; color: var(--ink-faint); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 700; }
.nav__link:hover { color: var(--accent); }

.header__side {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: right;
}
.header__phone-label {
  font-size: 0.66rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.header__phone-num {
  font-family: var(--f-head);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--navy);
}
.header__phone-num:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background-color: var(--white);
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background-color: var(--navy);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
}

/* ============ 7. ファーストビュー ============ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--ease), transform 4s var(--ease);
}
.hero__media.has-image img { opacity: 1; transform: scale(1); }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10, 20, 38, 0.92) 0%, rgba(10, 20, 38, 0.72) 46%, rgba(10, 20, 38, 0.4) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 11vw, 108px) 24px clamp(48px, 8vw, 80px);
}
.hero__eyebrow {
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #8fd6cc;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(1.9rem, 5.4vw, 3.1rem);
  line-height: 1.5;
  color: var(--white);
  max-width: 14em;
}
.hero__lead {
  margin-top: 22px;
  max-width: 32em;
  font-size: 1.02rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.86);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.hero__quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-family: var(--f-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.hero__quicklinks a:hover { background-color: rgba(255, 255, 255, 0.12); color: var(--white); }
.hero__quicklinks .qtag {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.66rem;
}

/* ============ 8. クイック物件検索 ============ */
.search {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  margin-top: clamp(-56px, -6vw, -40px);
}
.search__card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.search__tabs {
  display: flex;
}
.search__tab {
  flex: 1;
  padding: 16px 12px;
  border: 0;
  background-color: var(--paper);
  font-family: var(--f-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
}
.search__tab .en { display: block; font-size: 0.68rem; letter-spacing: 0.14em; opacity: 0.7; margin-bottom: 2px; }
.search__tab.is-active {
  background-color: var(--white);
  color: var(--navy);
  border-bottom-color: var(--accent);
}
.search__body { padding: 24px clamp(18px, 4vw, 30px) 28px; }
.search__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.search__grid .field { margin-bottom: 0; }
.search__actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* 物件種別フィルターチップ（buy.html） */
.chip-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chip {
  padding: 9px 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background-color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.chip.is-active { background-color: var(--navy); border-color: var(--navy); color: var(--white); }
.chip:hover:not(.is-active) { border-color: var(--accent); color: var(--accent); }

/* ============ 9. 物件カード / 物件グリッド ============ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-grid--2 { grid-template-columns: repeat(2, 1fr); }

.property-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.property-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.property-card__media { position: relative; }
.property-card__media .frame { aspect-ratio: 4 / 3; }
.property-card__media .frame img { transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.property-card:hover .frame.has-image img { transform: scale(1.045); }

.property-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.property-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.property-card__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.property-card__fav:hover { color: #c23b4a; }
.property-card__fav.is-active { color: #c23b4a; }
.property-card__fav.is-active svg { fill: currentColor; }

.property-card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 18px 20px 20px; }
.property-card__price {
  font-family: var(--f-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.property-card__price .unit { font-size: 0.72rem; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.property-card__title { margin-top: 8px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.property-card__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.property-card__meta span { white-space: nowrap; }
.property-card__features {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.property-card__features li {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: var(--paper);
  color: var(--ink-soft);
}
.property-card__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.property-card__link {
  font-family: var(--f-head);
  font-size: 0.88rem;
  font-weight: 700;
}

.grid-actions { margin-top: 36px; text-align: center; }
.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-soft);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}

/* ============ 10. 物件詳細 ============ */
.pd-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.pd-hero .frame--main { aspect-ratio: 4 / 3; }
.pd-hero__thumbs { display: grid; grid-template-rows: repeat(2, 1fr); gap: 8px; }
.pd-hero__thumbs .frame { aspect-ratio: 4 / 3; }

.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 44px; }
.pd-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pd-title { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.pd-price { font-family: var(--f-head); font-size: 2rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.pd-price .unit { font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); }

.pd-table {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.pd-table > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.pd-table dt { color: var(--ink-soft); }
.pd-table dd { margin: 0; color: var(--ink); font-weight: 500; }

.pd-block { margin-top: 36px; }
.pd-block h2 { font-size: 1.1rem; margin-bottom: 12px; }
.pd-block p { color: var(--ink-soft); font-size: 0.95rem; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pd-tags li { font-size: 0.82rem; padding: 5px 12px; border-radius: 999px; background-color: var(--accent-tint); color: var(--accent-dark); }

.pd-side {
  align-self: start;
  position: sticky;
  top: 100px;
  padding: 24px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pd-side h2 { font-size: 1.02rem; margin-bottom: 6px; }
.pd-side p { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.pd-side .btn { margin-bottom: 10px; }
.pd-side__phone { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); text-align: center; }
.pd-side__phone-num { display: block; font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.pd-side__fav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  font-family: var(--f-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.pd-side__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pd-side__fav:hover { border-color: #c23b4a; color: #c23b4a; }
.pd-side__fav.is-active { border-color: #c23b4a; color: #c23b4a; }
.pd-side__fav.is-active svg { fill: currentColor; }

/* ============ 11. ステップ（購入の流れ） ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.step {
  position: relative;
  padding: 24px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.step__title { margin-top: 8px; font-size: 0.96rem; }
.step p.step__text { margin-top: 8px; font-size: 0.82rem; color: var(--ink-soft); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--line-2);
  border-right: 2px solid var(--line-2);
  transform: translateY(-50%) rotate(45deg);
}

/* ============ 12. 目的別タブ（RENT） ============ */
.purpose-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.purpose-tab {
  padding: 10px 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background-color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.purpose-tab.is-active { background-color: var(--navy); border-color: var(--navy); color: var(--white); }
.purpose-tab:hover:not(.is-active) { border-color: var(--accent); color: var(--accent); }

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.usecase {
  padding: 26px 24px;
  background-color: var(--paper);
  border-radius: var(--radius);
}
.usecase__icon { color: var(--accent); margin-bottom: 14px; }
.usecase__icon svg { width: 28px; height: 28px; }
.usecase h3 { font-size: 1.02rem; margin-bottom: 8px; }
.usecase p { font-size: 0.88rem; color: var(--ink-soft); }

/* ============ 13. 売却訴求（SELL）/ フォーム ============ */
.sell-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.sell-worries {
  margin-top: 20px;
  display: grid;
  gap: 2px;
}
.sell-worries li {
  padding: 14px 0 14px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.sell-worries li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}
.sell-reassure {
  margin-top: 24px;
  padding: 18px 20px;
  background-color: var(--accent-tint);
  border-radius: var(--radius-sm);
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.sell-flow-mini {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.sell-flow-mini span { display: inline-flex; align-items: center; gap: 8px; }
.sell-flow-mini b { color: var(--navy); }

.form-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ============ 14. AREA GUIDE ============ */
.area-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.area-feature .frame { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.area-feature__tag { font-family: var(--f-head); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.area-feature h3 { margin-top: 8px; font-size: 1.5rem; }
.area-feature p { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; }
.area-feature__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.85rem;
}
.area-feature__meta dt { display: inline; font-weight: 700; color: var(--navy); }
.area-feature__meta dd { display: inline; margin: 0 0 0 4px; color: var(--ink-soft); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.area-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background-color: var(--white); }
.area-card .frame { aspect-ratio: 4 / 3; }
.area-card__body { padding: 18px 20px 22px; }
.area-card__body h3 { font-size: 1.05rem; }
.area-card__body p { margin-top: 8px; font-size: 0.86rem; color: var(--ink-soft); }
.area-card__body dl { margin-top: 12px; font-size: 0.8rem; color: var(--ink-soft); display: grid; gap: 4px; }
.area-card__body dt { display: inline; font-weight: 700; color: var(--navy); }
.area-card__body dd { display: inline; margin: 0; }

/* ============ 15. WHY US ============ */
.reasons { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.reason {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.reason__num {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.reason h3 { font-size: 1.02rem; margin-bottom: 6px; }
.reason p { font-size: 0.9rem; color: var(--ink-soft); }

/* ============ 16. STAFF ============ */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.staff-card { display: flex; flex-direction: column; }
.staff-card .frame { border-radius: var(--radius); overflow: hidden; }
.staff-card__role { margin-top: 16px; font-family: var(--f-head); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.staff-card__name { margin-top: 4px; font-size: 1.15rem; }
.staff-card__jp { font-size: 0.84rem; color: var(--ink-soft); }
.staff-card__area { margin-top: 10px; font-size: 0.82rem; color: var(--ink-soft); }
.staff-card__area b { color: var(--navy); }
.staff-card__quote {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}
.staff-note { margin-top: 36px; text-align: center; font-size: 0.8rem; color: var(--ink-faint); }

/* ============ 17. VOICE ============ */
.voice-disclaimer {
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 12px 18px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-item { padding: 24px 22px; background-color: var(--paper); border-radius: var(--radius); }
.voice-item p { font-size: 0.94rem; color: var(--ink); }
.voice-item footer { margin-top: 14px; font-size: 0.78rem; color: var(--ink-faint); }

/* ============ 18. FAQ ============ */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background-color: var(--white); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  font-family: var(--f-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}
.faq__q:hover { background-color: var(--paper); }
.faq__mark { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; background-color: var(--accent); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.faq__mark::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__mark::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__mark::after { transform: scaleY(0); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq__a p { margin: 0 20px 18px; font-size: 0.92rem; color: var(--ink-soft); }

/* ============ 19. COMPANY / ACCESS ============ */
.company-table { border-top: 1px solid var(--line); }
.company-table > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.company-table dt { color: var(--ink-soft); font-weight: 700; }
.company-table dd { margin: 0; }

.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.map-holder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-faint);
}
.map-holder span { font-family: var(--f-head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.85rem; }
.map-holder p { font-size: 0.8rem; }

/* ============ 20. 最終CTA（CONTACT） ============ */
.final-cta {
  padding: clamp(56px, 9vw, 96px) 0;
  background-color: var(--navy);
  color: var(--white);
  text-align: center;
}
.final-cta__title { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.2rem); }
.final-cta__lead { margin: 18px auto 0; max-width: 560px; color: rgba(255, 255, 255, 0.82); }
.final-cta__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.final-cta__phone {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
.final-cta__phone-num { font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.final-cta__phone small { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.65); }

/* ============ 21. フッター ============ */
.footer { background-color: var(--navy-deep); color: rgba(255, 255, 255, 0.72); }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 72px) 24px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__brand { font-family: var(--f-head); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.footer__addr { margin-top: 14px; font-size: 0.84rem; line-height: 2; }
.footer__col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: #8fd6cc; margin-bottom: 14px; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); }
.footer__nav a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px));
}
.footer__demo { max-width: var(--container); margin: 0 auto; font-size: 0.76rem; color: rgba(255, 255, 255, 0.5); text-align: center; }
.footer__copy { max-width: var(--container); margin: 10px auto 0; font-size: 0.74rem; color: rgba(255, 255, 255, 0.45); text-align: center; }

/* ============ 22. スマートフォン固定CTA ============ */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  display: none;
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.mobile-cta a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
}
.mobile-cta a svg { width: 18px; height: 18px; }
.mobile-cta__reserve { flex: 1.5; background-color: var(--accent); border-color: var(--accent) !important; color: var(--white) !important; font-size: 0.82rem; }

/* ============ 23. スクロールアニメーション ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .frame img, .hero__media img { transition: opacity 0.3s linear; transform: none !important; }
  .property-card:hover .frame.has-image img { transform: none; }
}

/* ============ 24. レスポンシブ ============ */
@media (max-width: 1100px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .staff-grid, .voice-grid, .usecase-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .search__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .header__phone { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; }
  .header__side .btn { display: none; }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1500;
    background-color: var(--white);
    padding: 90px 24px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav__list { display: grid; gap: 4px; }
  .mobile-nav__list a {
    display: block;
    padding: 16px 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav__cta { margin-top: 24px; }
  .mobile-nav__phone { margin-top: 20px; text-align: center; }
  .mobile-nav__phone-num { display: block; font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-top: 6px; }

  .pd-hero { grid-template-columns: 1fr; }
  .pd-hero__thumbs { grid-template-rows: unset; grid-template-columns: repeat(2, 1fr); }
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .pd-side { position: static; }
  .sell-hero, .area-feature, .access-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  body { font-size: 0.98rem; }
  .section { padding: 56px 0; }
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .hero__inner { padding-top: 44px; padding-bottom: 44px; }
  .hero__title { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .search { margin-top: 24px; }
  .search__grid { grid-template-columns: 1fr 1fr; }
  .search__tab .en { display: none; }

  .property-grid, .property-grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .staff-grid, .voice-grid, .usecase-grid, .area-grid { grid-template-columns: 1fr; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .reason { grid-template-columns: 44px 1fr; gap: 14px; }
  .reason__num { font-size: 1.2rem; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }

  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
  .company-table > div, .pd-table > div { grid-template-columns: 1fr; gap: 4px; }
  .search__grid { grid-template-columns: 1fr; }
}
