/* よしもとハウス不動産（/fudosan/）だけで使う部品。
   色・書体・ボタンは本体の style.css をそのまま使う。ここでは fd- で始まるものだけ足す */

/* 不動産の小見出しバー（本体ヘッダーの下） */
.fd-subnav { background: var(--dark-bg); color: #fff; }
.fd-subnav-inner { max-width: 1280px; margin: 0 auto; padding: 10px 32px; display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; }
.fd-subnav b { font-family: var(--serif); font-size: 15px; font-weight: 900; letter-spacing: .04em; margin-right: auto; }
.fd-subnav b small { font-size: 11px; font-weight: 700; color: var(--sand); margin-left: 8px; letter-spacing: 0; }
.fd-subnav a { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); white-space: nowrap; }
.fd-subnav a:hover, .fd-subnav a.on { color: var(--gold-light); }

/* 入口のヒーロー */
.fd-hero { background: linear-gradient(180deg, #F3E3C6, var(--base)); }
.fd-hero-grid { max-width: 1280px; margin: 0 auto; padding: 56px 32px 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.fd-hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 54px); line-height: 1.22; letter-spacing: -.02em; color: var(--black); }
.fd-hero .fd-lead { margin-top: 18px; font-size: 16px; color: var(--text); line-height: 1.95; max-width: 34em; }
.fd-hero img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px; box-shadow: 0 10px 40px rgba(30,27,24,.15); }

/* 売りたい／買いたいの扉 */
.fd-doors { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; z-index: 1; }
.fd-door { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: 22px; box-shadow: 0 8px 30px rgba(30,27,24,.08); transition: transform .2s ease, box-shadow .2s ease; color: inherit; }
.fd-door:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(30,27,24,.12); }
.fd-door img { width: 120px; height: 120px; object-fit: cover; border-radius: 20px; }
.fd-door .k { font-size: 12px; font-weight: 900; letter-spacing: .12em; color: var(--gold); }
.fd-door h2 { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin: 4px 0 6px; color: var(--black); }
.fd-door p { font-size: 14px; color: var(--text); line-height: 1.8; }
.fd-door .go { display: inline-block; margin-top: 8px; font-weight: 900; color: var(--green); font-size: 14px; }
.fd-door.sell .go { color: var(--gold); }

/* 免許などの帯 */
.fd-band { background: var(--gold); color: #fff; }
.fd-band ul { list-style: none; margin: 0 auto; max-width: 1280px; padding: 12px 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-size: 13px; font-weight: 900; }

/* 見出しまわり */
.fd-sec { padding: 72px 0; }
.fd-sec.tight { padding-top: 24px; }
.fd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.fd-head h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -.02em; color: var(--black); }
.fd-head p { margin-top: 10px; color: var(--text); font-size: 15px; max-width: 46em; }
.fd-more { font-weight: 900; color: var(--gold); white-space: nowrap; }

/* 強み3つ・柱4つ・売り方3つ */
.fd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fd-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fd-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.fd-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.fd-card .k { align-self: flex-start; background: rgba(139,107,58,.12); color: var(--gold); font-weight: 900; font-size: 13px; padding: 3px 14px; border-radius: 999px; }
.fd-card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--black); }
.fd-card p { font-size: 14px; color: var(--text); line-height: 1.85; }
.fd-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fd-card li { background: var(--base); border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font-size: 13px; }

.fd-dark { background: var(--dark-bg); color: #fff; border-radius: 32px; padding: 48px 44px; }
.fd-dark .eyebrow { color: var(--gold-light); }
.fd-dark h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.25; color: #fff; }
.fd-dark p { color: rgba(255,255,255,.8); }
.fd-dark .fd-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.fd-dark .fd-card h3 { color: #fff; }
.fd-dark .fd-card p { color: rgba(255,255,255,.78); }
.fd-dark .fd-card .k { background: var(--gold); color: #fff; }
.fd-note { font-size: 12px; margin-top: 16px; }

.fd-message { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; }
.fd-message .body p + p { margin-top: 1em; }
/* 代表の写真は切り抜かず、空と街並みまで見せる（2026-10-12）。元が幅540pxなので、それより大きくしない */
.fd-ceo { margin: 26px 0 0; display: grid; gap: 10px; max-width: 540px; }
.fd-ceo img { width: 100%; height: auto; aspect-ratio: 540 / 300; object-fit: cover; border-radius: 18px; border: 2px solid var(--gold-light); }
.fd-ceo figcaption { color: #fff; font-weight: 900; font-size: 15px; }

/* 流れ */
.fd-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fd-step { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.fd-step .n { font-family: var(--serif); font-weight: 900; font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.fd-step h3 { font-size: 17px; margin: 4px 0 8px; color: var(--black); }
.fd-step ol { margin: 0; padding-left: 1.2em; font-size: 13px; color: var(--text); line-height: 1.8; }

/* FAQ */
.fd-faq { display: grid; gap: 10px; }
.fd-faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; }
.fd-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 12px; align-items: baseline; color: var(--black); }
.fd-faq summary::before { content: "Q"; font-family: var(--serif); color: var(--gold); font-weight: 900; }
.fd-faq summary::after { content: "＋"; margin-left: auto; color: var(--gold); }
.fd-faq details[open] summary::after { content: "－"; }
.fd-faq summary::-webkit-details-marker { display: none; }
.fd-faq details p { margin-top: 8px; color: var(--text); font-size: 14px; line-height: 1.85; }

/* 会社概要 */
.fd-outline { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 14px; }
.fd-outline th, .fd-outline td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fd-outline th { width: 10em; background: var(--beige); color: var(--black); }
.fd-outline tr:last-child th, .fd-outline tr:last-child td { border-bottom: none; }

/* 物件カード（一覧・入口の新着で共通） */
.bk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bk-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.bk-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,27,24,.10); }
.bk-ph { aspect-ratio: 4 / 3; background: var(--beige); position: relative; overflow: hidden; }
.bk-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-status { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--black); }
.bk-status.done { background: var(--green); color: #fff; }
.bk-status.wip { background: var(--gold); color: #fff; }
.bk-status.raw { background: var(--black); color: #fff; }
.bk-new { position: absolute; right: 12px; top: 12px; font-size: 11px; font-weight: 900; padding: 3px 10px; border-radius: 999px; background: #B5452B; color: #fff; }
.bk-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bk-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.bk-badge { font-size: 11px; font-weight: 700; border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; color: var(--text); }
.bk-badge.own { border-color: var(--green); color: var(--green); }
.bk-badge.partner { border-color: var(--gold); color: var(--gold); }
.bk-title { font-size: 16px; font-weight: 700; color: var(--black); line-height: 1.5; }
.bk-price { font-family: var(--serif); font-size: 28px; font-weight: 900; color: var(--green); line-height: 1.2; }
.bk-price small { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--black); margin-left: 2px; }
.bk-spec { font-size: 13px; color: var(--text); }
.bk-catch { font-size: 13px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk-visit { font-size: 12px; font-weight: 700; color: var(--gold); }
.bk-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--text); }
.bk-more { font-weight: 700; color: var(--green); white-space: nowrap; }
.bk-empty { padding: 60px 20px; text-align: center; color: var(--text); background: var(--white); border: 1px dashed var(--line); border-radius: 18px; grid-column: 1 / -1; }

/* お問い合わせフォーム */
.fd-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.fd-contact .big-tel { display: block; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: #fff; margin-top: 18px; }
.fd-contact small { color: rgba(255,255,255,.65); }
.fd-contact .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fd-line { background: #06C755; color: #fff; box-shadow: 0 6px 24px rgba(6,199,85,.25); }
.fd-form { display: grid; gap: 14px; }
.fd-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; }
.fd-form label .req { color: var(--gold-light); font-size: 11px; margin-left: 6px; }
.fd-form input, .fd-form select, .fd-form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: #fff; border-radius: 12px; width: 100%; }
.fd-form select option { color: var(--black); }
.fd-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fd-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-seg label { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.22); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 500; }
.fd-seg input { width: auto; accent-color: var(--gold-light); }
.fd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fd-privacy { font-size: 12px; color: rgba(255,255,255,.65); }
.fd-form button { justify-self: start; border: none; cursor: pointer; font: inherit; }
.fd-msg { border-radius: 10px; padding: 12px 16px; font-size: 14px; }
.fd-msg.ok { background: rgba(255,255,255,.1); border-left: 4px solid var(--gold-light); color: #fff; }
.fd-msg.ng { background: rgba(181,69,43,.25); border-left: 4px solid #E0755A; color: #fff; }
.fd-listing { font-size: 13px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 14px; color: #fff; }

@media (max-width: 1024px) {
  .fd-hero-grid { grid-template-columns: 1fr; padding-top: 36px; }
  .fd-doors { grid-template-columns: 1fr; }
  .fd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-message, .fd-contact { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fd-subnav-inner { padding: 8px 16px; gap: 6px 14px; }
  .fd-subnav b { width: 100%; }
  .fd-subnav b small { display: none; }
  .fd-hero-grid { padding: 28px 16px 28px; gap: 20px; }
  .fd-doors { padding: 0 16px; }
  .fd-door { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .fd-door img { width: 84px; height: 84px; }
  .fd-door h2 { font-size: 20px; }
  .fd-band ul { padding: 10px 16px; font-size: 12px; gap: 4px 16px; }
  .fd-sec { padding: 48px 0; }
  .fd-cards, .fd-cards.two, .fd-flow, .bk-grid { grid-template-columns: 1fr; }
  .fd-dark { padding: 32px 20px; border-radius: 24px; }
  .fd-form .two { grid-template-columns: 1fr; }
  .fd-outline th { width: 7em; }
  .fd-outline th, .fd-outline td { padding: 10px 12px; font-size: 13px; }
}
