/* =========================================================
   sell.css — 売却相談ページ（/sell/）専用スタイル
   - /sell/ でしか読み込まれない（inc/sell-page.php）
   - すべて .ph-sell / body.ph-sell-page 配下に限定し、他ページへ影響させない
   - 主ボタン色は既存サイトと同じ --ph-accent-deep（#0f6b7d）
   ========================================================= */

.ph-sell {
  --sell-ground: #f7f5f0;
  --sell-white: #ffffff;
  --sell-ink: #243d48;
  --sell-text: #33454e;
  --sell-sub: #4a5b62;
  --sell-muted: #5a6b72;
  --sell-sage: #8d9b8a;
  --sell-sage-ink: #4f5d4c;
  --sell-sage-tint: #e7ece5;
  --sell-sage-ground: #eef1ec;
  --sell-sand: #c3aa89;
  --sell-sand-ink: #6b5233;
  --sell-sand-tint: #efe7da;
  --sell-num: #a88b62;
  --sell-cta: var(--ph-accent-deep, #0f6b7d);
  --sell-cta-hover: #0d5d6d;
  --sell-line: rgba(36, 61, 72, 0.12);
  --sell-radius: 24px;
  --sell-gutter: clamp(20px, 4vw, 48px);
  --sell-section-y: clamp(64px, 8vw, 120px);

  background: var(--sell-ground);
  color: var(--sell-text);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  line-height: 1.8;
}

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

.ph-sell h1,
.ph-sell h2,
.ph-sell h3,
.ph-sell p,
.ph-sell ul,
.ph-sell ol,
.ph-sell dl,
.ph-sell dd,
.ph-sell figure {
  margin: 0;
}

.ph-sell img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

.ph-sell #sell-form,
.ph-sell [id] {
  scroll-margin-top: clamp(72px, 10vw, 104px);
}

/* ---------- 共通 ---------- */
.ph-sell-container {
  width: 100%;
  max-width: calc(1160px + var(--sell-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--sell-gutter);
}

.ph-sell-container--mid {
  max-width: calc(960px + var(--sell-gutter) * 2);
}

.ph-sell-container--narrow {
  max-width: calc(860px + var(--sell-gutter) * 2);
}

.ph-sell-section {
  padding-block: var(--sell-section-y);
}

.ph-sell-section--white {
  background: var(--sell-white);
}

.ph-sell-section--sage {
  background: var(--sell-sage-ground);
}

.ph-sell-head--center {
  text-align: center;
}

.ph-sell-eyebrow {
  display: inline-block;
  font-family: var(--ph-font-en, "Cormorant Garamond", serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sell-sage-ink);
  padding: 5px 16px;
  border: 1px solid rgba(93, 107, 90, 0.4);
  border-radius: 999px;
  background: var(--sell-white);
  line-height: 1.4;
}

.ph-sell-title {
  margin-top: 18px !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--sell-ink);
}

.ph-sell-lead {
  margin-top: 16px !important;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 2;
  color: var(--sell-text);
}

.ph-sell-head--center .ph-sell-lead {
  max-width: 40em;
  margin-inline: auto;
  text-align: left;
}

@media (min-width: 768px) {
  .ph-sell-head--center .ph-sell-lead {
    text-align: center;
  }
}

.ph-sell-small {
  margin-top: 14px !important;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--sell-muted);
}

.ph-sell-center {
  text-align: center;
}

.ph-sell-pc {
  display: none;
}

@media (min-width: 768px) {
  .ph-sell-pc {
    display: inline;
  }

  .ph-sell-sp {
    display: none;
  }
}

.ph-sell-lead,
.ph-sell-worries__bridge,
.ph-sell-hero__sub {
  text-wrap: pretty;
}

/* ボタン */
.ph-sell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ph-sell-btn:focus-visible {
  outline: 2px solid var(--ph-accent, #2aa3b8);
  outline-offset: 3px;
}

.ph-sell-btn--primary {
  background: var(--sell-cta);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 107, 125, 0.28);
}

.ph-sell-btn--primary:hover {
  background: var(--sell-cta-hover);
  color: #fff;
  transform: translateY(-2px);
}

.ph-sell-btn--ghost {
  background: var(--sell-white);
  color: var(--sell-ink);
  border: 1px solid rgba(36, 61, 72, 0.25);
  font-weight: 600;
}

.ph-sell-btn--ghost:hover {
  border-color: var(--sell-cta);
  color: var(--sell-cta);
}

.ph-sell-btn--white {
  background: #fff;
  color: var(--sell-cta);
}

.ph-sell-btn--white:hover {
  color: var(--sell-cta-hover);
}

.ph-sell-btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-weight: 600;
}

.ph-sell-btn--outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ph-sell-num {
  font-family: var(--ph-font-jp, "IBM Plex Sans JP", sans-serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ph-sell-textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sell-cta);
}

.ph-sell-textlink::after {
  content: "→";
  margin-left: 6px;
}

/* ---------- パンくず ---------- */
.ph-sell-breadcrumb {
  padding-top: 16px;
  font-size: 13px;
  color: var(--sell-muted);
}

.ph-sell-breadcrumb a {
  color: var(--sell-muted);
}

.ph-sell-breadcrumb span[aria-hidden] {
  margin: 0 8px;
}

/* ---------- ① メインビジュアル ---------- */
.ph-sell-hero {
  padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 7vw, 104px);
}

.ph-sell-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.ph-sell-hero__text {
  flex: 1 1 440px;
  min-width: 0;
}

.ph-sell-hero__media {
  flex: 1 1 440px;
  min-width: 0;
}

.ph-sell-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--sell-radius);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.ph-sell-hero__lead {
  margin-top: 18px !important;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sell-sage-ink);
  letter-spacing: 0.08em;
}

.ph-sell-hero__title {
  margin-top: 10px !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--sell-ink);
}

.ph-sell-hero__sub {
  margin-top: 22px !important;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2;
  max-width: 34em;
}

.ph-sell-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ph-sell-hero__actions .ph-sell-btn--primary {
  min-height: 58px;
  font-size: 17px;
}

.ph-sell-hero__points {
  list-style: none;
  padding: 0;
  margin-top: 28px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
}

.ph-sell-hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-sell-hero__points li::before {
  content: "";
  width: 14px;
  height: 8px;
  border-left: 2.2px solid var(--sell-sage-ink);
  border-bottom: 2.2px solid var(--sell-sage-ink);
  transform: rotate(-45deg) translateY(-2px);
  flex: none;
}

.ph-sell-hero__note {
  margin-top: 12px !important;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--sell-muted);
}

@media (max-width: 767px) {
  .ph-sell-hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .ph-sell-hero__media {
    order: -1;
    flex-basis: auto;
  }

  .ph-sell-hero__media img {
    aspect-ratio: 3 / 2;
    border-radius: 18px;
  }

  .ph-sell-hero__text {
    flex-basis: auto;
  }

  .ph-sell-hero__actions {
    flex-direction: column;
  }

  .ph-sell-hero__actions .ph-sell-btn {
    width: 100%;
  }

  .ph-sell-hero__points {
    flex-direction: column;
    gap: 6px;
  }
}

/* ---------- ② お悩み ---------- */
.ph-sell-worries {
  list-style: none;
  padding: 0;
  margin-top: 44px !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.ph-sell-worry {
  background: var(--sell-ground);
  border: 1px solid rgba(36, 61, 72, 0.06);
  border-radius: 20px;
  padding: 30px 26px;
}

.ph-sell-worry__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sell-sage-tint);
  color: var(--sell-sage-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-sell-worry__title {
  margin-top: 18px !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--sell-ink);
}

.ph-sell-worry__text {
  margin-top: 10px !important;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--sell-sub);
}

.ph-sell-worries__bridge {
  margin: 44px auto 0 !important;
  max-width: 40em;
  text-align: center;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-weight: 500;
  font-size: clamp(16.5px, 1.6vw, 21px);
  line-height: 1.9;
  color: var(--sell-ink);
}

@media (max-width: 767px) {
  .ph-sell-worries {
    gap: 12px;
  }

  .ph-sell-worry {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    padding: 20px 18px;
  }

  .ph-sell-worry__icon {
    width: 52px;
    height: 52px;
    grid-row: span 2;
  }

  .ph-sell-worry__icon svg {
    width: 28px;
    height: 28px;
  }

  .ph-sell-worry__title {
    margin-top: 0 !important;
    font-size: 16.5px;
  }

  .ph-sell-worry__text {
    margin-top: 4px !important;
  }
}

/* ---------- ③ 相談できること ---------- */
.ph-sell-support {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 72px);
  align-items: flex-start;
}

.ph-sell-support__main {
  flex: 1.3 1 480px;
  min-width: 0;
}

.ph-sell-steps {
  list-style: none;
  padding: 0;
  margin-top: 32px !important;
  border-top: 1px solid var(--sell-line);
}

.ph-sell-steps li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sell-line);
}

.ph-sell-steps__num {
  font-family: var(--ph-font-en, "Cormorant Garamond", serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--sell-num);
  min-width: 40px;
}

.ph-sell-steps h3 {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--sell-ink);
}

.ph-sell-steps p {
  margin-top: 6px !important;
  font-size: 15px;
  line-height: 1.9;
  color: var(--sell-sub);
}

.ph-sell-notebox {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--sell-white);
  border: 1px solid rgba(36, 61, 72, 0.1);
  font-size: 14px;
  line-height: 1.9;
  color: var(--sell-sub);
}

.ph-sell-notebox__title {
  font-weight: 700;
  color: var(--sell-ink);
  font-size: 15px;
  margin-bottom: 6px !important;
}

.ph-sell-message {
  flex: 1 1 320px;
  min-width: 0;
  margin-top: 88px;
  background: var(--sell-white);
  border: 1px solid rgba(36, 61, 72, 0.08);
  border-radius: var(--sell-radius);
  padding: 30px 28px;
}

.ph-sell-message__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ph-sell-message__head img {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
}

.ph-sell-message__en {
  display: block;
  font-family: var(--ph-font-en, "Cormorant Garamond", serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sell-sage-ink);
  font-weight: 600;
}

.ph-sell-message__name {
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--sell-ink);
}

.ph-sell-message__text {
  margin-top: 18px !important;
  font-size: 15px;
  line-height: 2;
}

@media (max-width: 767px) {
  .ph-sell-steps li {
    gap: 16px;
    padding: 18px 0;
  }

  .ph-sell-steps__num {
    font-size: 26px;
    min-width: 32px;
  }

  .ph-sell-steps h3 {
    font-size: 16px;
  }

  .ph-sell-steps p {
    font-size: 14.5px;
  }

  .ph-sell-message {
    margin-top: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .ph-sell-message__head img {
    width: 64px;
    height: 64px;
  }

  .ph-sell-message__name {
    font-size: 17px;
  }
}

/* ---------- ④ 売却方法 ---------- */
.ph-sell-methods {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ph-sell-broker {
  flex: 1.4 1 520px;
  min-width: 0;
  border-radius: var(--sell-radius);
  background: var(--sell-ink);
  color: #d6e0e3;
  padding: clamp(28px, 3.5vw, 48px);
  font-size: 15.5px;
  line-height: 2;
}

.ph-sell-broker__en {
  font-family: var(--ph-font-en, "Cormorant Garamond", serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sell-sand);
  font-weight: 600;
}

.ph-sell-broker__title {
  margin: 6px 0 12px !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-size: 26px;
  line-height: 1.45;
  color: #fff;
}

.ph-sell-broker__cols {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ph-sell-broker__cols > div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 22px;
}

.ph-sell-broker__label {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.ph-sell-broker ul {
  margin-top: 8px !important;
  padding-left: 1.2em;
  font-size: 14.5px;
  line-height: 1.9;
}

.ph-sell-methods__side {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ph-sell-card {
  border-radius: var(--sell-radius);
  background: var(--sell-ground);
  padding: 30px 28px;
  font-size: 15px;
  line-height: 2;
}

.ph-sell-card h3 {
  font-size: 18px;
  color: var(--sell-ink);
  margin-bottom: 8px !important;
}

.ph-sell-card p + p {
  margin-top: 10px !important;
}

.ph-sell-card--dashed {
  background: transparent;
  border: 1px dashed rgba(36, 61, 72, 0.3);
  font-size: 14px;
  line-height: 1.9;
  color: var(--sell-sub);
}

.ph-sell-card--dashed h3 {
  font-size: 16px;
}

@media (max-width: 767px) {
  .ph-sell-methods {
    margin-top: 28px;
    gap: 16px;
  }

  .ph-sell-broker {
    border-radius: 20px;
    padding: 26px 22px;
    font-size: 14.5px;
  }

  .ph-sell-broker__title {
    font-size: 21px;
  }

  .ph-sell-broker__cols > div {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .ph-sell-card {
    border-radius: 20px;
    padding: 24px 20px;
  }

  .ph-sell-methods__side {
    gap: 16px;
  }
}

/* ---------- ⑤ 流れ ---------- */
.ph-sell-flow {
  list-style: none;
  padding: 0;
  margin-top: 52px !important;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  counter-reset: none;
}

.ph-sell-flow li {
  position: relative;
  padding: 0 10px;
  text-align: center;
}

.ph-sell-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--sell-sand);
  z-index: 0;
}

.ph-sell-flow__num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--sell-white);
  border: 2px solid var(--sell-cta);
  color: var(--sell-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ph-font-en, "Cormorant Garamond", serif);
  font-size: 24px;
  font-weight: 600;
}

.ph-sell-flow li:first-child .ph-sell-flow__num {
  background: var(--sell-cta);
  color: #fff;
}

.ph-sell-flow li:last-child .ph-sell-flow__num {
  background: var(--sell-ink);
  border-color: var(--sell-ink);
  color: #fff;
}

.ph-sell-flow h3 {
  margin-top: 16px !important;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sell-ink);
}

.ph-sell-flow p {
  margin-top: 8px !important;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--sell-sub);
  text-align: left;
}

@media (max-width: 1023px) {
  .ph-sell-flow {
    grid-template-columns: 1fr;
    margin-top: 28px !important;
  }

  .ph-sell-flow li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    padding: 0 0 22px;
    text-align: left;
  }

  .ph-sell-flow li:not(:last-child)::after {
    top: 44px;
    left: 21px;
    width: 2px;
    height: calc(100% - 44px);
  }

  .ph-sell-flow__num {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin: 0;
    grid-row: span 2;
  }

  .ph-sell-flow h3 {
    margin-top: 8px !important;
  }

  .ph-sell-flow p {
    margin-top: 4px !important;
    font-size: 14.5px;
  }
}

/* ---------- 中間の相談帯 ---------- */
.ph-sell-band__inner {
  border-radius: 28px;
  background: var(--sell-ink);
  padding: clamp(30px, 4vw, 56px) clamp(22px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ph-sell-band__inner > div:first-child {
  flex: 1 1 380px;
  min-width: 0;
}

.ph-sell-band__title {
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

.ph-sell-band__sub {
  margin-top: 8px !important;
  font-size: 15px;
  color: #d6e0e3;
}

.ph-sell-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 767px) {
  .ph-sell-band__inner {
    border-radius: 22px;
    text-align: center;
  }

  .ph-sell-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .ph-sell-band__actions .ph-sell-btn {
    width: 100%;
  }
}

/* ---------- ⑥ 費用 ---------- */
.ph-sell-costs {
  margin-top: 40px !important;
  background: var(--sell-white);
  border-radius: var(--sell-radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.ph-sell-costs__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(36, 61, 72, 0.1);
  align-items: baseline;
}

.ph-sell-costs__row:last-child {
  border-bottom: 0;
}

.ph-sell-costs dt {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-weight: 700;
  color: var(--sell-ink);
  font-size: 16px;
}

.ph-sell-costs dd {
  flex: 1 1 360px;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--sell-sub);
}

.ph-sell-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sell-cta);
  color: #fff;
  white-space: nowrap;
}

.ph-sell-tag--sand {
  background: var(--sell-sand-tint);
  color: var(--sell-sand-ink);
}

.ph-sell-free {
  margin-top: 24px;
  padding: 22px 26px 22px 58px;
  border-radius: 16px;
  background: var(--sell-sage-tint);
  position: relative;
}

.ph-sell-free::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 28px;
  width: 16px;
  height: 9px;
  border-left: 2.4px solid var(--sell-sage-ink);
  border-bottom: 2.4px solid var(--sell-sage-ink);
  transform: rotate(-45deg);
}

.ph-sell-free__title {
  font-weight: 700;
  color: var(--sell-ink);
  font-size: 16px;
}

.ph-sell-free__note {
  margin-top: 4px !important;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sell-sub);
}

@media (max-width: 767px) {
  .ph-sell-costs {
    border-radius: 18px;
    margin-top: 24px !important;
  }

  .ph-sell-costs__row {
    padding: 18px;
    gap: 6px;
  }

  .ph-sell-costs dt {
    flex-basis: 100%;
  }

  .ph-sell-costs dd {
    flex-basis: 100%;
  }

  .ph-sell-free {
    padding: 18px 18px 18px 50px;
  }

  .ph-sell-free::before {
    left: 20px;
    top: 24px;
  }

  .ph-sell-free__title {
    font-size: 15.5px;
  }
}

/* ---------- ⑦ 対応エリア ---------- */
.ph-sell-area {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.ph-sell-area__text {
  flex: 1.25 1 480px;
  min-width: 0;
}

.ph-sell-area__media {
  flex: 1 1 380px;
  min-width: 0;
}

.ph-sell-area__media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--sell-radius);
}

.ph-sell-area__media figcaption {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.9;
}

.ph-sell-area__media strong {
  color: var(--sell-ink);
}

.ph-sell-area__label {
  margin-top: 26px !important;
  font-size: 14px;
  font-weight: 700;
  color: var(--sell-sage-ink);
  letter-spacing: 0.06em;
}

.ph-sell-chips {
  list-style: none;
  padding: 0;
  margin-top: 10px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ph-sell-chips li {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--sell-white);
  border: 1px solid rgba(36, 61, 72, 0.12);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--sell-ink);
  font-weight: 500;
}

.ph-sell-chips li.is-office {
  background: var(--sell-ink);
  border-color: var(--sell-ink);
  color: #fff;
  font-weight: 600;
}

.ph-sell-area__other {
  margin-top: 24px !important;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .ph-sell-area {
    flex-direction: column;
    align-items: stretch;
  }

  .ph-sell-area__text,
  .ph-sell-area__media {
    flex-basis: auto;
  }

  .ph-sell-area__media img {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .ph-sell-chips li {
    padding: 6px 13px;
  }
}

/* ---------- ⑧ FAQ ---------- */
.ph-sell-faq {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-sell-faq details {
  background: var(--sell-white);
  border-radius: 16px;
  border: 1px solid rgba(36, 61, 72, 0.1);
}

.ph-sell-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 700;
  color: var(--sell-ink);
  font-size: 16px;
  line-height: 1.6;
}

.ph-sell-faq summary::-webkit-details-marker {
  display: none;
}

.ph-sell-faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--sell-muted);
  border-bottom: 2px solid var(--sell-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}

.ph-sell-faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.ph-sell-faq summary:focus-visible {
  outline: 2px solid var(--ph-accent, #2aa3b8);
  outline-offset: -2px;
  border-radius: 16px;
}

.ph-sell-faq__q,
.ph-sell-faq__a > span {
  font-family: var(--ph-font-en, "Cormorant Garamond", serif);
  font-size: 24px;
  line-height: 1;
  flex: none;
}

.ph-sell-faq__q {
  color: var(--sell-cta);
}

.ph-sell-faq__question {
  flex: 1;
}

.ph-sell-faq__a {
  display: flex;
  gap: 16px;
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.95;
}

.ph-sell-faq__a > span {
  color: var(--sell-num);
  line-height: 1.3;
}

.ph-sell-faq__a p {
  flex: 1;
}

/* ---------- ⑨ フォーム ---------- */
.ph-sell-formwrap {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.ph-sell-form {
  flex: 1.6 1 520px;
  min-width: 0;
  background: var(--sell-ground);
  border-radius: var(--sell-radius);
  padding: clamp(24px, 3.5vw, 48px);
}

.ph-sell-form__after {
  margin-top: 12px !important;
  text-align: center;
  font-size: 14px;
  color: var(--sell-sub);
}

.ph-sell-form__missing {
  padding: 16px;
  border-radius: 12px;
  background: #fbf0dc;
  color: #7a4f12;
  font-size: 14px;
}

.ph-sell-formside {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ph-sell-telcard {
  border-radius: var(--sell-radius);
  background: var(--sell-ink);
  color: #fff;
  padding: 30px 28px;
}

.ph-sell-telcard__label {
  font-size: 14px;
  color: var(--sell-sand);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ph-sell-telcard__num {
  display: block;
  margin-top: 8px;
  font-family: var(--ph-font-jp, "IBM Plex Sans JP", sans-serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #fff !important;
  text-decoration: none;
}

.ph-sell-telcard__hours {
  margin-top: 8px !important;
  font-size: 14px;
  color: #d6e0e3;
}

.ph-sell-telcard__line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.ph-sell-telcard__line:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ph-sell-afterflow {
  border-radius: var(--sell-radius);
  background: var(--sell-ground);
  padding: 26px 28px;
}

.ph-sell-afterflow__title {
  font-weight: 700;
  color: var(--sell-ink);
  font-size: 16px;
}

.ph-sell-afterflow ol {
  list-style: none;
  padding: 0;
  margin-top: 12px !important;
  counter-reset: sellafter;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.8;
}

.ph-sell-afterflow li {
  counter-increment: sellafter;
  display: flex;
  gap: 12px;
}

.ph-sell-afterflow li::before {
  content: counter(sellafter);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sell-white);
  border: 1px solid var(--sell-cta);
  color: var(--sell-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 767px) {
  .ph-sell-formwrap {
    margin-top: 24px;
    gap: 24px;
  }

  .ph-sell-form {
    padding: 0;
    background: transparent;
  }

  .ph-sell-telcard {
    text-align: center;
    border-radius: 20px;
    padding: 24px 22px;
  }

  .ph-sell-telcard__num {
    font-size: 34px;
  }
}

/* ----- Contact Form 7 の中身（売却相談フォームのみ） ----- */
.ph-sell-form .wpcf7 p {
  margin: 0;
}

.ph-sell-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ph-sell-form .ph-sell-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ph-sell-form .wpcf7-form-control-wrap {
  display: block;
}

.ph-sell-form .ph-sell-field > br,
.ph-sell-form .ph-sell-submit > br {
  display: none;
}

.ph-sell-form .ph-sell-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-weight: 700;
  color: var(--sell-ink);
  font-size: 15px;
}

.ph-sell-form .ph-sell-req,
.ph-sell-form .ph-sell-opt {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
  padding: 1px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.ph-sell-form .ph-sell-req {
  background: #b4441c;
  color: #fff;
}

.ph-sell-form .ph-sell-opt {
  background: #e3e8e6;
  color: var(--sell-sub);
}

.ph-sell-form .ph-sell-help {
  font-size: 13px;
  color: var(--sell-muted);
}

.ph-sell-form input[type="text"],
.ph-sell-form input[type="email"],
.ph-sell-form input[type="tel"],
.ph-sell-form select,
.ph-sell-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px; /* iPhone で拡大されないよう 16px 以上 */
  color: var(--sell-ink);
  background: var(--sell-white);
  border: 1px solid rgba(36, 61, 72, 0.22);
  border-radius: 12px;
  box-shadow: none;
}

.ph-sell-form textarea {
  min-height: 150px;
  padding: 14px 16px;
  line-height: 1.8;
  resize: vertical;
}

.ph-sell-form input:focus,
.ph-sell-form select:focus,
.ph-sell-form textarea:focus {
  outline: 2px solid var(--ph-accent, #2aa3b8);
  outline-offset: 1px;
  border-color: var(--sell-cta);
}

.ph-sell-form .wpcf7-not-valid {
  border: 2px solid #b4441c !important;
}

.ph-sell-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #a3360f;
}

/* 物件の種類（チェックボックスの単一選択） */
.ph-sell-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-sell-form .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.ph-sell-form .wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sell-white);
  border: 1px solid rgba(36, 61, 72, 0.22);
  font-size: 15px;
  color: var(--sell-ink);
  cursor: pointer;
}

.ph-sell-form .wpcf7-checkbox label:has(input:checked) {
  border-color: var(--sell-cta);
  background: #eef6f7;
}

.ph-sell-form .wpcf7-checkbox input,
.ph-sell-form .wpcf7-acceptance input {
  accent-color: var(--sell-cta);
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
}

/* プライバシーポリシー同意 */
.ph-sell-form .ph-sell-field--consent {
  padding-top: 18px;
  border-top: 1px solid var(--sell-line);
}

.ph-sell-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.ph-sell-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--sell-ink);
  cursor: pointer;
}

.ph-sell-form .wpcf7-acceptance input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.ph-sell-form .wpcf7-acceptance .ph-sell-req {
  margin-left: 8px;
  vertical-align: 1px;
}

/* 送信ボタン */
.ph-sell-form .ph-sell-submit {
  position: relative;
}

.ph-sell-form .wpcf7-submit {
  display: block;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 999px;
  background: var(--sell-cta);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 107, 125, 0.28);
  transition: background 0.2s ease;
}

.ph-sell-form .wpcf7-submit:hover {
  background: var(--sell-cta-hover);
}

.ph-sell-form .wpcf7-submit:disabled {
  background: #5d8e98;
  cursor: not-allowed;
  box-shadow: none;
}

.ph-sell-form .wpcf7-form.submitting .wpcf7-submit {
  background: #5d8e98;
  pointer-events: none;
}

.ph-sell-form .wpcf7-spinner {
  position: absolute;
  right: 18px;
  top: 50%;
  margin: -12px 0 0;
}

.ph-sell-form .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.ph-sell-form .wpcf7 form.invalid .wpcf7-response-output,
.ph-sell-form .wpcf7 form.unaccepted .wpcf7-response-output {
  border: 1px solid #e9b9a6;
  background: #fcede7;
  color: #8a2e10;
}

.ph-sell-form .wpcf7 form.failed .wpcf7-response-output,
.ph-sell-form .wpcf7 form.aborted .wpcf7-response-output,
.ph-sell-form .wpcf7 form.spam .wpcf7-response-output {
  border: 1px solid #e9b9a6;
  background: #fcede7;
  color: #8a2e10;
}

@media (max-width: 767px) {
  .ph-sell-form .wpcf7-checkbox {
    gap: 8px;
  }

  .ph-sell-form .wpcf7-checkbox label {
    padding: 0 14px;
    font-size: 14.5px;
  }

  .ph-sell-form .wpcf7-acceptance label {
    padding: 16px;
    border-radius: 12px;
    background: var(--sell-ground);
  }

  .ph-sell-form .ph-sell-field--consent {
    border-top: 0;
    padding-top: 0;
  }

  .ph-sell-form input[type="text"],
  .ph-sell-form input[type="email"],
  .ph-sell-form input[type="tel"],
  .ph-sell-form select,
  .ph-sell-form textarea {
    background: var(--sell-ground);
  }
}

/* スマホ：固定ボタン分の余白（既存の body padding に加えて、フォーム下に余白） */
@media (max-width: 920px) {
  body.ph-sell-page .ph-sell-formsec {
    padding-bottom: calc(var(--sell-section-y) + 24px);
  }
}

/* 電話番号が途中で折り返さないようにする（スマホ表示の修正） */
.ph-sell-num,
.ph-sell-telcard__num {
  white-space: nowrap;
}

.ph-sell-btn--ghost {
  flex-wrap: wrap;
  row-gap: 2px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .ph-sell-btn--ghost {
    padding: 10px 20px;
    gap: 8px;
  }

  .ph-sell-btn--ghost .ph-sell-num {
    font-size: 18px;
    letter-spacing: 0.02em;
  }

  .ph-sell-telcard__num {
    font-size: clamp(26px, 8vw, 32px);
    letter-spacing: 0.02em;
  }
}

/* ===================================================================
 * 地域別の売却相談ページ（/sell/oamishirasato/ など）
 * =================================================================== */
.ph-sell .ph-sell-hero__title--area {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.45;
  text-wrap: balance;
}

.ph-sell .ph-sell-checklist {
  list-style: none;
  padding: 0;
  margin: 8px auto 0 !important;
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.ph-sell .ph-sell-checklist li {
  position: relative;
  padding: 16px 20px 16px 52px;
  border-radius: 14px;
  background: var(--sell-ground);
  border: 1px solid rgba(36, 61, 72, 0.08);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--sell-ink);
  font-weight: 500;
}

.ph-sell .ph-sell-checklist li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 21px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--sell-sage-ink);
  border-bottom: 2px solid var(--sell-sage-ink);
  transform: rotate(-45deg);
}

.ph-sell .ph-sell-areafeat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.ph-sell .ph-sell-areafeat__item {
  background: var(--sell-white);
  border: 1px solid rgba(36, 61, 72, 0.08);
  border-radius: var(--sell-radius);
  padding: 26px 26px 24px;
}

.ph-sell .ph-sell-areafeat__item h3 {
  margin: 0 0 10px !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sell-ink);
  padding-left: 14px;
  border-left: 3px solid var(--sell-sand);
}

.ph-sell .ph-sell-areafeat__item p {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.85;
  color: var(--sell-text);
}

.ph-sell .ph-sell-areachecks ul {
  margin: 4px 0 0 !important;
  padding-left: 1.3em;
  display: grid;
  gap: 2px;
}

.ph-sell .ph-sell-flow--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ph-sell .ph-sell-small a,
.ph-sell .ph-sell-chips li.is-link a {
  color: var(--sell-cta);
}

.ph-sell .ph-sell-chips li.is-link {
  padding: 0;
  border-color: var(--sell-cta);
}

.ph-sell .ph-sell-chips li.is-link a {
  display: block;
  padding: 7px 15px;
  font-weight: 600;
  text-decoration: none;
}

.ph-sell .ph-sell-chips li.is-link a::after {
  content: " →";
}

.ph-sell .ph-sell-afterflow__company {
  margin-top: 8px !important;
  font-size: 14px;
  line-height: 1.85;
  color: var(--sell-sub);
}

.ph-sell--area .ph-sell-free {
  margin-top: 8px;
}

.ph-sell--area .ph-sell-free__note + .ph-sell-free__note {
  margin-top: 6px !important;
}

@media (max-width: 1023px) {
  .ph-sell .ph-sell-flow--5 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ph-sell .ph-sell-checklist li {
    font-size: 15px;
    padding: 14px 16px 14px 46px;
  }

  .ph-sell .ph-sell-checklist li::before {
    left: 17px;
    top: 19px;
  }
}

.ph-sell .ph-sell-hero__title--area .ph-sell-hero__title-main {
  display: block;
  font-size: clamp(27px, 3.6vw, 48px);
  line-height: 1.35;
}

.ph-sell .ph-sell-hero__title--area .ph-sell-hero__title-sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--sell-sub);
}

.ph-sell .ph-sell-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 地域別ページ：タケシ最終原稿に合わせた調整 */
.ph-sell .ph-sell-title--area {
  font-size: clamp(22px, 2.4vw, 32px);
  text-wrap: balance;
}

.ph-sell .ph-sell-worries__bridge p {
  margin: 0 !important;
}

.ph-sell .ph-sell-areafeat--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ph-sell .ph-sell-areafeat__item p + p {
  margin-top: 8px !important;
}

.ph-sell .ph-sell-prose {
  max-width: 40em;
  margin: 0 auto;
}

.ph-sell .ph-sell-prose p {
  margin: 0 0 12px !important;
  font-size: 16px;
  line-height: 1.95;
  color: var(--sell-text);
  text-wrap: pretty;
}

.ph-sell .ph-sell-prose p:last-child {
  margin-bottom: 0 !important;
  font-weight: 600;
  color: var(--sell-ink);
}

.ph-sell--area .ph-sell-free__note {
  font-size: 14px;
}

.ph-sell .ph-sell-form__name {
  margin: 0 0 18px !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--sell-ink);
}

@media (max-width: 767px) {
  .ph-sell .ph-sell-areafeat--2 {
    grid-template-columns: 1fr;
  }

  .ph-sell .ph-sell-prose p {
    font-size: 15px;
  }
}

.ph-sell--area .ph-sell-checklist,
.ph-sell--area .ph-sell-areafeat,
.ph-sell--area .ph-sell-prose {
  margin-top: 28px !important;
}

/* 対応エリア：事務所所在地（一宮町）がリンクになった場合 */
.ph-sell .ph-sell-chips li.is-office.is-link {
  background: var(--sell-ink);
  border-color: var(--sell-ink);
}

.ph-sell .ph-sell-chips li.is-office.is-link a {
  color: #fff;
}

/* H1小見出し：「・」で区切った語の途中で改行しない */
.ph-sell .ph-sell-nowrap {
  display: inline-block;
}

/* 売却の流れ：番号を高さの揃う数字に（英字フォントの数字は「1」が「I」に見え、3〜5が下にずれるため） */
.ph-sell .ph-sell-flow__num {
  font-family: var(--ph-font-jp, "IBM Plex Sans JP", sans-serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 1023px) {
  .ph-sell .ph-sell-flow__num {
    font-size: 18px;
  }
}

/* 売却の流れ：見出しを言葉の区切りで改行（対応ブラウザのみ。非対応でも従来どおり表示） */
.ph-sell .ph-sell-flow h3 {
  word-break: auto-phrase;
}

/* =========================================================
   船橋市本町1〜7丁目ページ（/sell/funabashi-honcho/）専用
   ========================================================= */

/* ファーストビュー本文（3文を段落で） */
.ph-sell--honcho .ph-honcho-lead p {
  margin: 0 0 6px !important;
}

.ph-sell--honcho .ph-honcho-lead p:last-child {
  margin-bottom: 0 !important;
}

.ph-sell--honcho .ph-honcho-ctanote {
  margin: 14px 0 0 !important;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--sell-sub);
}

/* ファーストビュー右：対象エリアのカード（写真の代わり） */
.ph-honcho-scope {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  background: var(--sell-white);
  border: 1px solid var(--sell-line);
  border-radius: var(--sell-radius);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.ph-honcho-scope__label {
  margin: 0 0 10px !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sell-sand-ink);
}

.ph-honcho-scope__label:not(:first-child) {
  margin-top: 24px !important;
}

.ph-honcho-scope__place {
  margin: 0 0 14px !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--sell-ink);
}

.ph-honcho-scope__place strong {
  display: block;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ph-honcho-scope__chome,
.ph-honcho-scope__types {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ph-honcho-scope__chome li {
  min-width: 4.6em;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sell-sage-tint);
  color: var(--sell-sage-ink);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: lining-nums;
}

.ph-honcho-scope__types li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(36, 61, 72, 0.16);
  font-size: 14px;
  color: var(--sell-ink);
}

.ph-honcho-scope__note {
  margin: 20px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--sell-line);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--sell-muted);
}

/* 物件の種類ごとのポイント：パソコンでは2列 */
@media (min-width: 768px) {
  .ph-sell .ph-sell-areafeat--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 船橋で暮らした経験を活かして：補足情報として控えめに */
.ph-honcho-bondsec {
  padding-block: 0 clamp(56px, 7vw, 96px);
}

.ph-honcho-bond {
  max-width: 40em;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px);
  background: var(--sell-sand-tint);
  border-left: 4px solid var(--sell-sand);
  border-radius: 0 16px 16px 0;
}

.ph-sell .ph-honcho-bond__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: var(--ph-font-serif, "Zen Kaku Gothic New", sans-serif);
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--sell-sand-ink);
}

.ph-sell .ph-honcho-bond__title::before,
.ph-sell .ph-honcho-bond__title::after {
  content: none !important;
}

.ph-honcho-bond p {
  margin: 0 0 8px !important;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--sell-text);
}

.ph-honcho-bond p:last-child {
  margin-bottom: 0 !important;
}

/* 見出しを言葉の区切りで改行（対応ブラウザのみ） */
.ph-sell--honcho .ph-sell-title,
.ph-sell--honcho .ph-honcho-scope__place,
.ph-sell--honcho .ph-sell-faq__question {
  word-break: auto-phrase;
}

/* 査定の進め方：「査定だけのご依頼も歓迎です」 */
.ph-sell .ph-sell-prose p.ph-honcho-assess-note {
  margin: 22px 0 0 !important;
  font-weight: 400;
  padding: 16px 20px;
  border-radius: 14px;
  background: #eef6f7;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--sell-ink);
}

.ph-honcho-assess-note strong {
  color: var(--sell-cta);
  margin-right: 0.3em;
}

/* 締め：ボタンを中央に */
.ph-honcho-close__actions {
  justify-content: center;
}

@media (max-width: 767px) {
  .ph-honcho-scope {
    max-width: none;
  }

  .ph-honcho-close__actions .ph-sell-btn {
    width: 100%;
  }
}

/* ---------- 船橋本町：写真（2026-10-19 追加） ---------- */
/* ファーストビュー右の写真 */
.ph-honcho-heromedia {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 540px;
  margin-inline: auto;
}

.ph-honcho-heromedia:not(:has(figure)) {
  display: none;
}

.ph-honcho-fig {
  margin: 0;
}

.ph-honcho-fig__frame {
  overflow: hidden;
  border-radius: var(--sell-radius);
  background: var(--sell-sage-tint);
}

.ph-honcho-fig__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-honcho-fig figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sell-muted);
}

.ph-honcho-fig__credit {
  display: block;
  font-size: 11.5px;
}

.ph-honcho-heromedia .ph-honcho-fig__frame {
  aspect-ratio: 3 / 2;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* 対象エリア：本文の下に、駅周辺の画像を補助的に（小さめ） */
.ph-honcho-areamain .ph-honcho-fig--station {
  margin-top: 24px;
  max-width: 420px;
}

.ph-honcho-areamain .ph-honcho-fig--station .ph-honcho-fig__frame {
  aspect-ratio: 3 / 2;
  border-radius: 16px;
}

/* マンションのカード：写真＋文章（パソコンでは横並び・横幅いっぱい） */
.ph-honcho-fig--house2 {
  margin-bottom: 18px;
}

@media (min-width: 900px) {
  .ph-sell .ph-sell-areafeat--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ph-sell .ph-honcho-typecard--feature {
    grid-column: 1 / -1;
  }

  .ph-sell .ph-honcho-typecard--feature:has(.ph-honcho-fig) {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: center;
  }

  .ph-honcho-typecard--feature .ph-honcho-fig--house2 {
    margin-bottom: 0;
  }
}

.ph-honcho-fig--house2 .ph-honcho-fig__frame {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

/* 査定の進め方：見出し下の写真（文章幅に合わせる） */
.ph-sell .ph-honcho-fig--docs {
  max-width: 640px;
  margin: 0 auto 28px !important;
}

.ph-honcho-fig--docs .ph-honcho-fig__frame {
  aspect-ratio: 5 / 2;
  border-radius: 16px;
}

/* 写真が未登録のとき（管理者のみ表示） */
.ph-honcho-fig--empty .ph-honcho-fig__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 2px dashed rgba(36, 61, 72, 0.25);
  background: repeating-linear-gradient(45deg, #f3f1ec, #f3f1ec 12px, #ece9e2 12px, #ece9e2 24px);
  box-shadow: none;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sell-sub);
}

/* 対象エリア：本文と対象エリアのカードを横並び */
.ph-honcho-areagrid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.ph-honcho-areagrid .ph-sell-prose {
  margin: 0;
}

@media (min-width: 900px) {
  .ph-honcho-areagrid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

@media (max-width: 1023px) {
  .ph-honcho-heromedia {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .ph-honcho-heromedia .ph-honcho-fig__frame {
    aspect-ratio: 3 / 2;
  }

  .ph-honcho-fig--docs .ph-honcho-fig__frame {
    aspect-ratio: 16 / 9;
  }
}

/* /sell/ 対応エリア：船橋市本町への控えめな案内リンク */
.ph-sell-area__extra {
  margin-top: 14px !important;
  font-size: 13.5px;
  line-height: 1.9;
  color: #5b5b5b;
}
.ph-sell-area__extra a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ph-sell-area__extra a:hover,
.ph-sell-area__extra a:focus-visible {
  color: var(--sell-cta);
}

/* 船橋LP：対象エリアの囲み（本町＋周辺の地域） */
.ph-honcho-scope__sublabel {
  margin: 4px 0 8px !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--sell-muted);
}
.ph-honcho-scope__subnote {
  margin: 10px 0 0 !important;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--sell-muted);
}
