@charset "UTF-8";

/* ==========================================================================
   桑田不動産 デザインシステム
   ========================================================================== */

:root {
  /* 主要カラー */
  --ink: #222a30; /* 上部バー / フッター背景 */
  --ink-soft: #333b42;
  --brand: #0f5298; /* KUWATA ロゴブルー */
  --brand-dark: #0b3f76;
  --accent: #940a18; /* CTA 赤 */
  --accent-dark: #7a0713;
  --price: #d8471f; /* 価格のオレンジ赤 */
  --tag: #e8552a; /* お知らせタグ */
  --leaf: #8cc63f; /* マスコット吹き出しグリーン */

  /* テキスト */
  --text: #22282d;
  --text-mid: #5c666f;
  --text-sub: #8a949d;

  /* 面・線 */
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-warm: #f7f5f1;
  --line: #e4e7ea;
  --line-strong: #d3d8dd;

  /* かたち */
  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 14px;
  --shadow-s: 0 1px 3px rgba(20, 30, 40, 0.06);
  --shadow: 0 4px 18px rgba(20, 30, 40, 0.08);
  --shadow-panel: 0 12px 40px rgba(15, 25, 35, 0.16);

  /* 寸法 */
  --container: 1100px;
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   上部ユーティリティバー
   ========================================================================== */

.utility-bar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

.utility-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 0 0 20px;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 34px;
}

.utility-bar__badge {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.utility-bar__lead {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.utility-bar__spacer {
  flex: 1 1 auto;
}

.utility-bar__tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.utility-bar__tel i {
  color: #fff;
  font-size: 13px;
}

.utility-bar__hours {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.utility-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}

.utility-bar__cta:hover {
  background: var(--accent-dark);
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 46px;
  width: auto;
}

.global-nav {
  margin-left: auto;
  background: #eaf5fc;
}

.global-nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.global-nav__list > li {
  position: relative;
}

.global-nav__link {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.global-nav__link::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.global-nav__link:hover {
  color: var(--accent);
}

.global-nav__link:hover::before,
.global-nav__link.is-active::before {
  transform: scaleX(1);
}

.global-nav__link.is-active {
  color: var(--accent);
  font-weight: 700;
}

/* 売買ドロップダウン */
.has-dropdown > .global-nav__link i {
  margin-left: 5px;
  font-size: 9px;
  opacity: 0.6;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 216px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  border-radius: var(--radius-s);
  color: var(--text);
  transition: background 0.16s, color 0.16s;
}

.nav-dropdown a:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

/* モバイルトグル */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
  position: relative;
  background: #1a2228;
  min-height: 470px;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(12, 20, 27, 0.86) 0%,
    rgba(12, 20, 27, 0.66) 34%,
    rgba(12, 20, 27, 0.18) 62%,
    rgba(12, 20, 27, 0.08) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__body {
  max-width: var(--container);
  margin: 0 auto;
  padding: 62px 20px 0;
  color: #fff;
}

.hero__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.42;
  margin: 0 0 20px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.hero__lead {
  font-size: 13.5px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 26px;
  letter-spacing: 0.02em;
}

.hero__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 20px;
  background: rgba(8, 12, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  line-height: 1.3;
}

.hero__badge-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero__badge-mark i {
  font-size: 13px;
  opacity: 0.9;
}

.hero__badge-sub {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   検索パネル（ヒーローに重なる）
   ========================================================================== */

.search-panel-wrap {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: -222px auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
}

.search-panel-wrap > .search-panel {
  width: 100%;
  max-width: 700px;
}

.search-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.search-tabs {
  display: flex;
  background: #eceef1;
  border-bottom: 1px solid var(--line);
}

.search-tabs__btn {
  flex: 0 0 128px;
  padding: 13px 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  position: relative;
  transition: color 0.18s, background 0.18s;
}

.search-tabs__btn.is-active {
  background: #fff;
  color: var(--accent);
}

.search-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.search-form {
  padding: 24px 26px 26px;
}

.search-form[hidden] {
  display: none;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.search-field__label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.06em;
}

.search-field select,
.search-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
}

.search-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23808a93' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
  cursor: pointer;
}

.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 82, 152, 0.1);
}

.search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: 48px;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.search-submit:hover {
  background: var(--accent-dark);
}

/* ==========================================================================
   ニュースバー
   ========================================================================== */

.news-bar {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.news-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  min-height: 62px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.news-bar__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  padding: 10px 22px 10px 0;
  border-right: 1px solid var(--line);
  align-self: stretch;
}

.news-bar__label i {
  color: var(--brand);
  font-size: 14px;
}

/* 最新ニュースは常に最大4件まで縦に並べて表示する（それ以降は一覧ページへ） */
.news-bar__list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.news-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 7px 0;
}

.news-bar__item + .news-bar__item {
  border-top: 1px dashed var(--line);
}

.news-bar .link-more {
  align-self: center;
  padding-left: 6px;
}

.news-bar__date {
  font-size: 12.5px;
  color: var(--text-mid);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  padding-top: 2px;
}

.news-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  background: var(--tag);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}

.news-bar__title {
  font-size: 13.5px;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.5;
  min-width: 0;
  flex: 1;
  transition: color 0.18s;
}

.news-bar__title:hover {
  color: var(--brand);
}

/* 共通「一覧を見る」リンク */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  margin-left: auto;
  transition: color 0.18s, gap 0.18s;
}

.link-more i {
  font-size: 10px;
}

.link-more:hover {
  color: var(--accent);
  gap: 10px;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */

.section {
  padding: 52px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}

.section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.section__title i {
  color: var(--brand);
  font-size: 17px;
}

.section__sub {
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   物件カード
   ========================================================================== */

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.property-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* トップページの「新着賃貸物件」など、件数が可変のセクション用。
   カード最小幅を確保しつつ、PCの広い画面では列数を自動で増やして
   折り返しを減らし、対象物件をできるだけ1〜2行で見渡せるようにする。 */
.property-grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.property-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-card__media img {
  transform: scale(1.04);
}

.property-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.16);
  color: var(--text-sub);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s, transform 0.18s;
}

.property-card__fav:hover,
.property-card__fav.is-on {
  color: var(--price);
  transform: scale(1.1);
}

.property-card__body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.property-card__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13.5px * 1.5 * 2);
  word-break: break-word;
}

.property-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.property-card__plan {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mid);
}

.property-card__price {
  font-size: 19px;
  font-weight: 700;
  color: var(--price);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.property-card__price small {
  font-size: 12px;
  font-weight: 700;
  margin-left: 1px;
}

.property-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}

.property-card__meta span {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-mid);
  line-height: 1.55;
}

.property-card__meta i {
  color: var(--text-sub);
  font-size: 10.5px;
  width: 12px;
  flex-shrink: 0;
  margin-top: 3px;
  text-align: center;
}

.property-card__meta span em {
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* ==========================================================================
   売買カテゴリタイル
   ========================================================================== */

.sale-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sale-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-s);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
}

.sale-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sale-tile:hover img {
  transform: scale(1.07);
}

.sale-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: rgba(38, 44, 40, 0.9);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sale-tile__label i:first-child {
  font-size: 11px;
  opacity: 0.9;
  flex-shrink: 0;
}

.sale-tile__label span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sale-tile__label .arrow {
  font-size: 9px;
  opacity: 0.75;
  transition: transform 0.2s;
}

.sale-tile:hover .sale-tile__label .arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   プロモカード（資金計画 / 入居までの流れ）
   ========================================================================== */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.promo-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  align-items: stretch;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
}

.promo-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.promo-card__media {
  overflow: hidden;
}

.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 128px;
}

.promo-card__body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 20px 22px;
}

.promo-card__text {
  flex: 1;
  min-width: 0;
}

.promo-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.promo-card__desc {
  font-size: 11.5px;
  color: var(--text-mid);
  line-height: 1.75;
}

.promo-card__go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.promo-card:hover .promo-card__go {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==========================================================================
   会社セクション（3カラム）
   ========================================================================== */

.company-block {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1.92fr;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-block__col {
  padding: 26px 24px;
}

.company-block__col + .company-block__col {
  border-left: 1px solid var(--line);
}

.company-block__col--map {
  padding: 0;
  background: var(--bg-soft);
  min-height: 250px;
  position: relative;
}

.company-block__col--map iframe,
.company-block__col--map img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
  object-fit: cover;
  display: block;
}

.company-block__title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.company-block__desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 18px;
}

.company-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-line i {
  font-size: 11px;
  color: var(--brand);
}

.btn-line:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #f4f8fc;
}

.btn-fill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  grid-column: 1 / -1;
  height: 44px;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.btn-fill:hover {
  background: var(--accent-dark);
}

.company-block__col--info {
  display: flex;
  gap: 18px;
  align-items: stretch;
  padding: 26px 0 0 24px;
}

.company-outline {
  flex: 1;
  min-width: 0;
}

.company-outline__label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.company-outline table th,
.company-outline table td {
  font-size: 11.5px;
  text-align: left;
  vertical-align: top;
  padding: 6px 0;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}

.company-outline table th {
  width: 66px;
  font-weight: 700;
  color: var(--text-mid);
  white-space: nowrap;
}

.company-outline table td {
  color: var(--text);
}

.company-shop {
  width: 168px;
  flex-shrink: 0;
  margin: 0;
}

.company-shop img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
}

.company-shop figcaption {
  display: none;
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  padding: 34px 0 0;
}

.site-footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 24px;
  display: grid;
  grid-template-columns: 226px 1fr auto;
  gap: 30px;
  align-items: start;
}

.site-footer__logo {
  background: #fff;
  border-radius: var(--radius-s);
  padding: 9px 12px;
  display: inline-block;
}

.site-footer__logo img {
  height: 42px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.18s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-info {
  font-size: 11.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.62);
}

.footer-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-s);
  color: #fff;
  line-height: 1.3;
}

.footer-badge strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.footer-badge span {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.site-footer__bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom-links {
  display: flex;
  gap: 18px;
}

.site-footer__bottom-links a:hover {
  color: #fff;
}

/* トップへ戻る */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 42, 48, 0.86);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s, visibility 0.24s, background 0.2s;
  z-index: 70;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--accent);
}

/* ==========================================================================
   下層ページ共通
   ========================================================================== */

.page-head {
  background: var(--ink);
  color: #fff;
  padding: 34px 0;
  position: relative;
}

.page-head__title {
  font-size: 25px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 11px;
}

.page-head__title i {
  font-size: 19px;
  opacity: 0.85;
}

.page-head__sub {
  margin-top: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-mid);
}

.breadcrumb ol {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  color: var(--text-sub);
  font-size: 10px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* 一覧レイアウト */
.list-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 28px;
  align-items: start;
}

.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: calc(var(--header-h) + 14px);
}

.sidebar__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.result-bar__count {
  font-size: 13px;
  color: var(--text-mid);
}

.result-bar__count strong {
  font-size: 21px;
  color: var(--accent);
  margin: 0 3px;
  font-variant-numeric: tabular-nums;
}

.sort-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sort-nav a {
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 11.5px;
  color: var(--text-mid);
  background: #fff;
  transition: all 0.18s;
}

.sort-nav a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.sort-nav a.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 700;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  font-size: 12.5px;
  color: var(--text);
  transition: all 0.18s;
}

.pagination a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.pagination .is-current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 700;
}

.pagination .is-disabled {
  opacity: 0.4;
}

/* カテゴリページ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: #fff;
  font-size: 13px;
  transition: all 0.18s;
}

.tag-list a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.tag-list a .count {
  font-size: 11px;
  color: var(--text-sub);
}

.tag-list a:hover .count {
  color: rgba(255, 255, 255, 0.82);
}

.station-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.station-group__name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 11px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-strong);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.feature-grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-grid a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-grid span {
  display: block;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
}

/* 物件詳細 */
.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: start;
}

.gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* メイン画像上の前後矢印ボタン（サムネイルを使わず素早く画像を切り替えられるように） */
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.45);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, opacity 0.18s;
  z-index: 2;
}

.gallery__arrow:hover {
  background: var(--brand);
}

.gallery__arrow--prev {
  left: 12px;
}

.gallery__arrow--next {
  right: 12px;
}

.gallery__counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.55);
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  z-index: 2;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.gallery__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumbs button.is-active {
  border-color: var(--brand);
}

.detail-headline {
  margin-bottom: 18px;
}

.detail-headline__type {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 9px;
}

.detail-headline__name {
  font-size: 23px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.detail-headline__price {
  font-size: 30px;
  font-weight: 700;
  color: var(--price);
  font-variant-numeric: tabular-nums;
}

.detail-headline__price small {
  font-size: 15px;
}

.spec-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.spec-table table {
  width: 100%;
}

.spec-table th,
.spec-table td {
  font-size: 12.5px;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 33%;
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text-mid);
}

.facility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.facility-tags span {
  padding: 5px 12px;
  border-radius: 100px;
  background: #eef4fa;
  border: 1px solid #d6e5f2;
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 500;
}

.content-block {
  margin-top: 34px;
}

.content-block__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.map-embed--leaflet {
  height: 380px;
}

/* 駐車場ピンの外側ラッパー（Leafletが位置決めのtransformを直接
   当てる要素なので、デフォルトの背景・枠線だけ打ち消す） */
.map-pin-parking {
  background: transparent;
  border: none;
}

/* 駐車場ピンのアイコン本体（Leafletが位置決めに使うtransformと
   衝突しないよう、回転は内側の __shape 要素だけに適用する） */
.map-pin-parking__shape {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.map-pin-parking__shape span {
  transform: rotate(-45deg);
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.prose {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text);
}

.prose p {
  margin: 0 0 1em;
}

/* 静的ページ */
.info-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.info-table th,
.info-table td {
  font-size: 13px;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table th {
  width: 28%;
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text-mid);
  white-space: nowrap;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  align-items: start;
}

.step-item__no {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-s);
  padding: 9px 0;
}

.step-item__no small {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

.step-item__no strong {
  font-size: 22px;
  line-height: 1.1;
}

.step-item__title {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item__desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
}

/* FAQ（よくある質問） */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-s);
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 10px;
}

.faq-item__q i {
  margin-top: 3px;
  color: var(--brand);
  flex-shrink: 0;
}

.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-mid);
  margin: 0;
}

.faq-item__a i {
  margin-top: 3px;
  color: var(--leaf);
  flex-shrink: 0;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.link-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-s);
}

.link-card i {
  color: var(--brand);
}

.link-card span {
  font-size: 13px;
  font-weight: 500;
}

/* フォーム */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.form-row:last-of-type {
  border-bottom: 0;
}

.form-row > label {
  font-size: 13px;
  font-weight: 700;
  padding-top: 10px;
}

.form-row .req {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 82, 152, 0.1);
}

textarea.form-control {
  min-height: 148px;
  resize: vertical;
  line-height: 1.8;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 232px;
  height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 168px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.form-error {
  padding: 12px 16px;
  border-radius: var(--radius-s);
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #a4131f;
  font-size: 13px;
  margin-bottom: 16px;
}

.form-note {
  font-size: 11.5px;
  color: var(--text-sub);
  margin-top: 6px;
  line-height: 1.7;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 7px 14px;
}

.checkbox-grid label,
.check-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  cursor: pointer;
}

/* 空状態 / 404 */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.empty-state i {
  font-size: 38px;
  color: var(--line-strong);
  margin-bottom: 16px;
}

.empty-state h2 {
  font-size: 18px;
  margin-bottom: 9px;
}

.empty-state p {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0 0 22px;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 1040px) {
  .search-panel-wrap {
    justify-content: center;
    margin-top: 20px;
  }

  .search-panel-wrap > .search-panel {
    max-width: 780px;
  }

  .company-block {
    grid-template-columns: 1fr 1fr;
  }

  .company-block__col--info {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 0 0 24px;
  }

  .list-layout {
    grid-template-columns: 232px 1fr;
    gap: 20px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .utility-bar__lead {
    display: none;
  }

  .property-grid,
  .property-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-grid--auto {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .sale-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 400px;
  }

  .hero__title {
    font-size: 31px;
  }

  /* モバイルナビ */
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 24, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s, visibility 0.24s;
    z-index: 90;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .global-nav__list {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(310px, 84vw);
    background: #eaf5fc;
    flex-direction: column;
    gap: 0;
    padding: 18px 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.26s ease;
    box-shadow: -6px 0 26px rgba(0, 0, 0, 0.2);
  }

  .global-nav.is-open .global-nav__list {
    transform: translateX(0);
  }

  .global-nav__link {
    height: auto;
    padding: 15px 22px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .global-nav__link::before {
    display: none;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: var(--bg-soft);
  }

  .nav-dropdown a {
    padding: 12px 34px;
    border-radius: 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }

  .list-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row > label {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .utility-bar__inner {
    padding-left: 0;
    min-height: 30px;
  }

  .utility-bar__badge {
    display: none;
  }

  .utility-bar__hours {
    display: none;
  }

  .utility-bar__cta {
    margin-left: 8px;
    padding: 0 13px;
    font-size: 11.5px;
  }

  .utility-bar__tel {
    font-size: 13.5px;
    padding-left: 12px;
  }

  .hero {
    min-height: 330px;
  }

  .hero__body {
    padding-top: 34px;
  }

  .hero__title {
    font-size: 24px;
    margin-bottom: 13px;
  }

  .hero__lead {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 16px;
  }

  .hero__badge {
    padding: 9px 15px;
  }

  .hero__badge-mark {
    font-size: 13.5px;
  }

  .search-panel-wrap {
    margin-top: 16px;
    justify-content: stretch;
  }

  .search-panel-wrap > .search-panel {
    max-width: none;
  }

  .company-block__col--info {
    flex-direction: column;
    padding: 22px 18px;
  }

  .company-shop {
    width: 100%;
  }

  .company-shop img {
    min-height: 180px;
  }

  .search-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .search-form {
    padding: 18px 16px 20px;
  }

  .search-tabs__btn {
    flex: 1;
  }

  .section {
    padding: 34px 0;
  }

  .section__head {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .section__title {
    font-size: 18px;
  }

  .property-grid,
  .property-grid--3 {
    grid-template-columns: 1fr;
  }

  .property-grid--auto {
    grid-template-columns: 1fr;
  }

  .sale-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-bar__inner {
    flex-wrap: wrap;
    padding: 12px 20px;
    gap: 8px 14px;
  }

  .news-bar__label {
    border-right: 0;
    padding: 0;
    align-self: auto;
  }

  .news-bar__list {
    flex-basis: 100%;
  }

  .news-bar__item {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .news-bar__title {
    white-space: normal;
    flex-basis: 100%;
  }

  .news-bar .link-more {
    flex-basis: 100%;
    justify-content: flex-end;
  }

  .company-block {
    grid-template-columns: 1fr;
  }

  .company-block__col + .company-block__col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .company-block__col--info {
    flex-direction: column;
  }

  .company-shop {
    width: 100%;
    max-width: 220px;
  }

  .promo-card {
    grid-template-columns: 118px 1fr;
  }

  .promo-card__body {
    padding: 15px;
  }

  .promo-card__title {
    font-size: 15px;
  }

  .page-head {
    padding: 24px 0;
  }

  .page-head__title {
    font-size: 20px;
  }

  .detail-headline__name {
    font-size: 19px;
  }

  .detail-headline__price {
    font-size: 25px;
  }

  .gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery__arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .gallery__arrow--prev {
    left: 8px;
  }

  .gallery__arrow--next {
    right: 8px;
  }

  .spec-table th {
    width: 38%;
  }

  .info-table th,
  .info-table td {
    padding: 11px 13px;
    font-size: 12.5px;
  }

  .step-item {
    grid-template-columns: 56px 1fr;
    gap: 13px;
    padding: 15px;
  }

  .form-card {
    padding: 18px;
  }

  .btn-primary,
  .btn-outline,
  .btn-ghost {
    min-width: 0;
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   追加：サイドバー検索フォーム / ギャラリー / ナビ開時のスクロール抑止
   ========================================================================== */

.sidebar-search {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sidebar-search .search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-search .search-field__label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}

.sidebar-search select,
.sidebar-search input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text);
}

.sidebar-search select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23808a93' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 28px;
  cursor: pointer;
}

.sidebar-search select:focus,
.sidebar-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 82, 152, 0.1);
}

.sidebar-facilities {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-soft);
  padding: 10px 12px;
}

.sidebar-facilities summary {
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-mid);
}

.sidebar-facilities .checkbox-grid {
  margin-top: 11px;
  grid-template-columns: 1fr;
  max-height: 260px;
  overflow-y: auto;
}

.sidebar-search .btn-primary,
.sidebar-search .btn-ghost {
  width: 100%;
  min-width: 0;
  height: 44px;
  font-size: 13px;
}

.gallery {
  position: sticky;
  top: calc(var(--header-h) + 14px);
}

@media (max-width: 1040px) {
  .gallery {
    position: static;
  }
}

body.is-nav-open {
  overflow: hidden;
}

/* 詳細ページの問い合わせボタンをブロック幅で */
.detail-layout .content-block .btn-primary,
.detail-layout .content-block .btn-ghost {
  width: 100%;
  min-width: 0;
}

.detail-layout .content-block {
  margin-top: 20px;
}

/* ==========================================================================
   アパート経営相談ページ（/apartment-management）専用
   ========================================================================== */

/* AI回答用要約ボックス（AIO/GEO対策：結論を先出しする要約） */
.am-summary {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 8px;
}

.am-summary__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.am-summary p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 0.6em;
}

.am-summary p:last-child {
  margin-bottom: 0;
}

/* 悩みカード */
.am-worry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.am-worry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-s);
}

.am-worry-card i {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 10px;
  display: block;
}

.am-worry-card h3 {
  font-size: 14.5px;
  margin: 0 0 8px;
}

.am-worry-card p {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0;
}

/* サービス詳細（H3ごとのブロック） */
.am-service-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
}

.am-service-block:last-child {
  margin-bottom: 0;
}

.am-service-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--brand-dark);
  margin: 0 0 10px;
}

.am-service-block h3 i {
  color: var(--brand);
  font-size: 15px;
}

.am-service-block .am-lead {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 10px;
}

.am-service-block ul {
  margin: 10px 0 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.am-service-block ul li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}

.am-service-block ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--leaf);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 11px;
}

/* 空室対策・収益改善の7手順 */
.am-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am-step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  align-items: start;
}

.am-step-item__no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.am-step-item h4 {
  font-size: 14px;
  margin: 0 0 4px;
}

.am-step-item p {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0;
}

/* 比較表（賃貸継続／管理変更／リフォーム／建替／売却／相続対策） */
.am-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.am-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 12.5px;
}

.am-compare-table th,
.am-compare-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  line-height: 1.7;
  vertical-align: top;
}

.am-compare-table th:last-child,
.am-compare-table td:last-child {
  border-right: 0;
}

.am-compare-table tr:last-child th,
.am-compare-table tr:last-child td {
  border-bottom: 0;
}

.am-compare-table thead th {
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.am-compare-table tbody th {
  background: var(--bg-soft);
  font-weight: 700;
  white-space: nowrap;
  width: 130px;
}

/* 相続前／相続後の確認事項リスト */
.am-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.am-check-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.am-check-block h4 {
  font-size: 14px;
  color: var(--brand-dark);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.am-check-block ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.am-check-block li {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.am-check-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* 事例カード */
.am-case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}

.am-case-card:last-child {
  margin-bottom: 0;
}

.am-case-card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-soft);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.am-case-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
  margin: 0;
}

/* CTAブロック（各セクション末尾の相談導線） */
.am-cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 20px;
}

.am-cta-inline p {
  font-size: 13px;
  margin: 0;
  color: var(--text-mid);
}

.am-cta-inline .btn-primary {
  min-width: 200px;
  flex-shrink: 0;
}

/* モバイル固定CTA（電話／相談フォーム） */
.am-fixed-cta {
  display: none;
}

@media (max-width: 900px) {
  .am-fixed-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    box-shadow: 0 -4px 16px rgba(20, 30, 40, 0.14);
  }

  .am-fixed-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }

  .am-fixed-cta a:first-child {
    background: var(--brand-dark);
  }

  .am-fixed-cta a:last-child {
    background: var(--accent);
  }

  /* 固定CTAバーの高さだけ本文の下に余白を作る */
  body.has-am-fixed-cta {
    padding-bottom: 54px;
  }
}

@media (max-width: 900px) {
  .am-worry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .am-check-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .am-worry-grid {
    grid-template-columns: 1fr;
  }

  .am-cta-inline {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .am-service-block,
  .am-check-block,
  .am-case-card {
    padding: 18px 16px;
  }
}
