:root {
  --navy: #0b2a66;
  --blue: #1f6fe0;
  --sky: #e8f3ff;
  --sky2: #cfe6ff;
  --yellow: #ffc83d;
  --pink: #ff9fae;
  --text: #1d2433;
  --muted: #5b6577;
  --line: #06c755;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.85;
  font-size: 16px;
}
/* 言葉の途中で改行しない（文の中の <wbr> の所で折り返す） */
.hero h1, .lead, .bubble, .card h3, .card p, .video-box h3, .video-box p,
.greeting p, .section-title h2, .access-info p, .contact-card .sub, .profile dd {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.doc p, .doc li { word-break: auto-phrase; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

/* ヘッダー */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e6ecf5;
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.header .logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; font-weight: 700; font-size: 15px; }
.nav a { color: var(--navy); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .tel-btn {
  background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}
.nav .tel-btn:hover { color: #fff; background: var(--blue); }

/* トップ */
.hero { background: var(--sky); }
.hero-inner {
  max-width: 1120px; margin: 0 auto; padding: 40px 16px 48px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.35; margin: 0 0 14px; color: var(--navy);
}
.hero h1 .accent { color: var(--blue); }
.hero .lead { font-size: 17px; margin: 0 0 24px; }
.hero .hero-img img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11, 42, 102, .15); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.badges li {
  background: #fff; border: 2px solid var(--sky2); color: var(--navy);
  font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px;
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 17px;
}
.btn-tel { background: var(--navy); color: #fff; }
.btn-line { background: var(--line); color: #fff; }
.btn:hover { opacity: .88; }

/* 共通の区切り */
.section { padding: 72px 16px; }
.section.alt { background: #f6f9fd; }
.container { max-width: 1120px; margin: 0 auto; }
.section-title { text-align: center; margin: 0 0 40px; }
.section-title .en {
  display: block; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .2em;
}
.section-title h2 { margin: 4px 0 0; font-size: clamp(24px, 3.2vw, 32px); color: var(--navy); }

/* まるお部長の吹き出し */
.maruo-talk { display: flex; align-items: flex-end; gap: 14px; max-width: 760px; margin: 0 auto 36px; }
.maruo-talk img { width: 110px; flex: none; }
.bubble {
  position: relative; background: #fff; border: 3px solid var(--sky2); border-radius: var(--radius);
  padding: 14px 18px; font-weight: 700; color: var(--navy);
}
.bubble::before {
  content: ""; position: absolute; left: -14px; bottom: 22px;
  border: 8px solid transparent; border-right: 12px solid var(--sky2);
}

/* 事業内容 */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 2px solid #e3ecf8; border-radius: var(--radius); padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.card h3 .icon {
  width: 38px; height: 38px; border-radius: 12px; background: var(--sky); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 動画 */
.video-box {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 28px; border: 2px solid #e3ecf8;
}
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thumbs img { border-radius: 10px; }
.video-box h3 { margin: 0 0 10px; font-size: 22px; color: var(--navy); }
.video-box p { margin: 0 0 18px; }
.btn-yt { background: #e62117; color: #fff; }
.btn-ig { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }

/* あいさつ */
.greeting { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.greeting img { width: 200px; margin: 0 auto; }
.greeting p { margin: 0 0 1em; }
.greeting .sign { text-align: right; font-weight: 700; }
.profile {
  background: var(--sky); border-radius: var(--radius); padding: 18px 22px; margin-top: 18px; font-size: 15px;
}
.profile dl { margin: 0; display: grid; grid-template-columns: 7em 1fr; gap: 4px 12px; }
.profile dt { font-weight: 800; color: var(--navy); }
.profile dd { margin: 0; }

/* 会社概要 */
.company-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.company-table th, .company-table td { padding: 14px 18px; border-bottom: 1px solid #e6ecf5; text-align: left; vertical-align: top; }
.company-table th { width: 28%; background: var(--sky); color: var(--navy); font-weight: 800; white-space: nowrap; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table ul { margin: 0; padding-left: 1.2em; }

/* アクセス */
.access { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 2px solid #e3ecf8; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.access-info { background: #fff; border-radius: var(--radius); padding: 24px; border: 2px solid #e3ecf8; }
.access-info h3 { margin: 0 0 8px; color: var(--navy); }
.access-info p { margin: 0 0 12px; }

/* お問い合わせ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; border: 2px solid #e3ecf8; }
.contact-card h3 { margin: 0 0 6px; color: var(--navy); }
.contact-card .big { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: var(--navy); text-decoration: none; display: block; }
.contact-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.contact-card .qr { width: 140px; margin: 12px auto 0; }

/* フッター */
.footer { background: var(--navy); color: #dfe8f7; padding: 40px 16px 24px; font-size: 14px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer a { color: #fff; }
.footer .name { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.footer p { margin: 0 0 4px; }
.copy { text-align: center; margin-top: 28px; font-size: 12px; color: #9fb2d6; }

/* プライバシーポリシーなど文章のページ */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 16px 72px; }
.doc h1 { color: var(--navy); font-size: 28px; }
.doc h2 { color: var(--navy); font-size: 19px; margin-top: 32px; }

/* 別ページへの案内 */
.page-title { margin: 4px 0 0; font-size: clamp(26px, 3.6vw, 36px); color: var(--navy); }
.page-lead { text-align: center; margin: 0 0 24px; word-break: keep-all; overflow-wrap: anywhere; }
.to-page { text-align: center; }
.to-page p { margin: 0 0 20px; word-break: keep-all; overflow-wrap: anywhere; }

/* 物件一覧 */
.filters { margin-bottom: 28px; background: #f6f9fd; border: 2px solid #e3ecf8; border-radius: var(--radius); padding: 18px 20px; }
.filter-kinds { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.filter-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 16px; }
.filter-field { display: block; min-width: 0; }
.filter-label { display: block; font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.filter-select {
  width: 100%; font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 10px;
  border: 2px solid var(--sky2); background: #fff; color: var(--text); cursor: pointer;
}
.filter-select:disabled { background: #eef1f6; color: var(--muted); cursor: default; }
.filter-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; word-break: auto-phrase; }
.property-name, .detail-name, .detail-ask, .detail-sold-note { word-break: auto-phrase; }
.filter-foot { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.filter-count { margin: 0; font-weight: 800; color: var(--navy); }
.filter-reset { font: inherit; font-size: 14px; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--navy); border: 2px solid var(--sky2); cursor: pointer; }
.filter-reset[hidden] { display: none; }
.filter-btn {
  font: inherit; font-weight: 800; padding: 8px 22px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--navy); border: 2px solid var(--sky2);
}
.filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.property-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.property-card { background: #fff; border: 2px solid #e3ecf8; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.property-photo { position: relative; aspect-ratio: 16 / 10; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.property-photo img { width: 100%; height: 100%; object-fit: cover; }
.is-sold .property-photo img { filter: grayscale(.7); opacity: .75; }
.no-photo { color: var(--muted); font-size: 14px; }
.kind-badge { position: absolute; top: 10px; left: 10px; padding: 2px 12px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 13px; }
.kind-badge.is-rent { background: var(--blue); }
.kind-badge.is-sale { background: #e0781e; }
.sold-badge { position: absolute; top: 10px; right: 10px; padding: 2px 12px; border-radius: 999px; background: #444; color: #fff; font-weight: 800; font-size: 13px; }
.property-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.property-name { margin: 0 0 4px; font-size: 18px; color: var(--navy); line-height: 1.5; }
.property-price { margin: 0 0 10px; font-size: 24px; font-weight: 800; color: #d9480f; }
.price-label { font-size: 13px; color: var(--muted); margin-right: 8px; font-weight: 700; }
.property-spec { margin: 0 0 14px; display: grid; grid-template-columns: 5.5em 1fr; gap: 3px 10px; font-size: 14px; }
.property-spec dt { color: var(--muted); font-weight: 700; }
.property-spec dd { margin: 0; overflow-wrap: anywhere; }
.property-buttons { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.property-more, .property-video { font-size: 15px; padding: 9px 16px; }
.property-checked { margin: 10px 0 0; color: var(--muted); font-size: 12px; text-align: right; }
.property-empty { grid-column: 1 / -1; text-align: center; padding: 32px 16px; background: var(--sky); border-radius: var(--radius); margin: 0; }
.property-empty p { margin: 0 0 8px; word-break: auto-phrase; overflow-wrap: anywhere; }
.property-empty-title { font-size: 19px; font-weight: 800; color: var(--navy); }
.property-empty-btns { justify-content: center; margin-top: 14px; }
.property-note { margin: 28px 0 0; color: var(--muted); font-size: 13px; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }

/* トップの最新の物件 */
.latest-heading { text-align: center; font-size: 20px; color: var(--navy); margin: 0 0 16px; }
.latest-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 820px; margin: 0 auto 32px; }

/* 動画で内見のサムネイル */
.thumbs:empty { display: none; }
.video-thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sky); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.video-thumb:hover img { opacity: .88; }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 32px; transform: translate(-50%, -50%);
  background: rgba(230, 33, 23, .92); border-radius: 9px; pointer-events: none;
}
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff;
}

/* 物件の詳しいページ */
.detail-section { padding-top: 36px; }
.detail-back { display: inline-block; margin-bottom: 16px; font-weight: 700; text-decoration: none; }
.detail-tags { display: flex; gap: 8px; margin-bottom: 6px; }
.detail-tag { padding: 2px 14px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 13px; }
.detail-tag.is-rent { background: var(--blue); }
.detail-tag.is-sale { background: #e0781e; }
.detail-tag.is-closed { background: #444; }
.detail-name { margin: 0 0 6px; line-height: 1.45; }
.detail-head .property-price { font-size: 30px; margin-bottom: 18px; }
.detail-sold-note { background: #f1f1f4; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-weight: 700; word-break: auto-phrase; overflow-wrap: anywhere; }
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.detail-gallery.is-single { grid-template-columns: minmax(0, 640px); }
.detail-gallery.is-sold img { filter: grayscale(.7); opacity: .75; }
.detail-photo { display: block; padding: 0; border: 0; background: var(--sky); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 16 / 10; width: 100%; }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-photo:hover img { opacity: .88; }
.detail-no-photo { background: var(--sky); border-radius: 12px; padding: 40px 16px; text-align: center; color: var(--muted); margin: 0 0 28px; }
.detail-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.detail-columns > :only-child { grid-column: 1 / -1; }
.detail-heading { font-size: 20px; color: var(--navy); margin: 0 0 12px; }
.detail-heading-more { margin-top: 28px; }
.detail-spec { font-size: 15px; grid-template-columns: 6.5em 1fr; gap: 6px 12px; }
.detail-spec dt, .detail-spec dd { padding-bottom: 6px; border-bottom: 1px solid #e6ecf5; }
.detail-video .video-thumb { margin-bottom: 12px; }
.detail-video-btn { width: 100%; font-size: 16px; }
.detail-ask { text-align: center; font-weight: 800; font-size: 18px; color: var(--navy); margin: 0 0 20px; overflow-wrap: anywhere; }

/* 写真の拡大 */
body.viewer-open { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 28, .93); display: flex; align-items: center; justify-content: center; }
.viewer-img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.viewer-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-weight: 800; border-radius: 999px; cursor: pointer; width: 48px; height: 48px; font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.viewer-close { top: 12px; right: 12px; }
.viewer-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 12px; top: 50%; transform: translateY(-50%); }
.viewer-count { position: absolute; bottom: 10px; left: 0; right: 0; margin: 0; text-align: center; color: #fff; font-weight: 700; }

/* まるお部長の歴史 */
.history { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; display: grid; gap: 28px; }
.history-item {
  position: relative; display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: center;
  background: #fff; border: 2px solid #e3ecf8; border-radius: var(--radius); padding: 24px 28px;
}
.history-item:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%);
  border: 11px solid transparent; border-top: 13px solid var(--sky2); border-bottom: 0;
}
.history-item.is-now { background: var(--sky); border-color: var(--sky2); }
.history-media img { margin: 0 auto; max-height: 300px; width: auto; border-radius: 12px; }
.history-media-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-items: center; }
.history-media-trio img { width: 100%; max-height: none; border-radius: 0; }
.history-label {
  display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 13px;
}
.history-item h2 { margin: 8px 0 6px; font-size: 22px; line-height: 1.45; color: var(--navy); }
.history-item h2, .history-item p { word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
.history-item p { margin: 0; }
.history-btns { margin-top: 16px; }

/* フォーム */
.form-page { max-width: 720px; }
.mail-form { background: #fff; border: 2px solid #e3ecf8; border-radius: var(--radius); padding: 24px; }
.form-field { display: block; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.form-field input, .form-field select, .form-field textarea {
  display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400; font-size: 16px; color: var(--text);
  padding: 10px 12px; border: 2px solid var(--sky2); border-radius: 10px; background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.form-need, .form-any { display: inline-block; font-size: 12px; font-weight: 800; padding: 0 8px; border-radius: 999px; margin-left: 4px; }
.form-need { background: #d9480f; color: #fff; }
.form-any { background: var(--sky); color: var(--navy); }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-note { margin: 0 0 12px; font-size: 14px; color: var(--muted); word-break: auto-phrase; overflow-wrap: anywhere; }
.form-agree { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-weight: 700; }
.form-agree input { width: 22px; height: 22px; flex: none; }
.form-message { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #fdeee9; color: #b3261e; font-weight: 700; overflow-wrap: anywhere; }
.form-submit { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.form-submit:disabled { opacity: .6; cursor: default; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { background: var(--sky); border-radius: var(--radius); padding: 24px; text-align: center; margin-top: 24px; }
.form-done { margin-top: 0; }
.form-done h2 { margin: 0 0 10px; color: var(--navy); font-size: 22px; }
.form-done p { word-break: auto-phrase; overflow-wrap: anywhere; }
.page-lead-link, .contact-more { text-align: center; margin-top: 24px; }
.contact-more .btn { margin: 0 6px 8px; }

/* スマホの下に付いてくる問い合わせボタン */
.sp-bar { display: none; }

/* メニューが1行に収まるように */
.nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) {
  .nav { gap: 10px; font-size: 13px; }
  .nav .tel-btn { padding: 6px 12px; }
}

/* スマホ */
@media (max-width: 860px) {
  body { padding-bottom: 56px; }
  .sp-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    box-shadow: 0 -2px 10px rgba(11, 42, 102, .2);
  }
  .sp-bar a { display: flex; align-items: center; justify-content: center; height: 56px; color: #fff; font-weight: 800; text-decoration: none; }
  .sp-tel { background: var(--navy); }
  .sp-line { background: var(--line); }
  .sp-mail { background: var(--blue); }
  .mail-form { padding: 18px 14px; }
  .history-item { grid-template-columns: 1fr; gap: 16px; padding: 20px 18px; }
  .history-media img { max-height: 260px; }
  .history-media-trio img { max-height: none; }
  html { scroll-padding-top: 112px; }
  .header-inner { flex-wrap: wrap; gap: 4px; position: relative; padding-bottom: 4px; }
  .nav { width: 100%; gap: 16px; font-size: 13px; overflow-x: auto; white-space: nowrap; padding: 2px 0 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav .tel-btn { position: absolute; top: 10px; right: 16px; font-size: 14px; }
  .header .logo img { height: 42px; }
  .property-list, .latest-list, .detail-columns { grid-template-columns: 1fr; }
  .filters { padding: 14px; }
  .filter-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .detail-gallery { grid-template-columns: 1fr 1fr; }
  .detail-gallery.is-single { grid-template-columns: 1fr; }
  .filter-btn { padding: 8px 18px; }
  .hero-inner, .video-box, .greeting, .access, .contact { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 24px; gap: 24px; }
  .hero .hero-img { order: -1; }
  .services { grid-template-columns: 1fr; }
  .section { padding: 52px 16px; }
  .greeting img { width: 150px; }
  .company-table th { width: 32%; white-space: normal; padding: 12px; }
  .company-table td { padding: 12px; }
  .btn { width: 100%; }
}

/* 最初の画面の「物件を探す」 */
.btn-search { background: var(--blue); color: #fff; }
.btn-search:hover { background: var(--navy); color: #fff; }

/* スマホのメニュー：事業内容・会社概要・お問い合わせは出さない（お問い合わせは画面下、会社概要はページの下にある） */
@media (max-width: 860px) {
  .nav a[href$="#service"], .nav a[href="company.html"], .nav a[href$="#contact"] { display: none; }
}

/* もっと絞り込む */
.filter-more-toggle { display: block; margin: 12px auto 0; padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 800; color: var(--blue); background: none; border: 0; cursor: pointer; }
.filter-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; margin-top: 8px; align-items: end; }
.filter-more[hidden] { display: none; }
.filter-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--navy); cursor: pointer; }
.filter-check input { width: 20px; height: 20px; flex: none; }

/* 物件ページ：問い合わせボタンと、写真のすぐ下の動画 */
.detail-ask-btn { margin-bottom: 18px; }
.detail-section > .container > .detail-video { max-width: 560px; margin: 0 0 28px; }

@media (max-width: 860px) {
  .filter-more-toggle { font-size: 13px; padding: 6px 0; }
  .filter-more { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .filter-more .filter-field { grid-column: 1 / -1; }
  .detail-section > .container > .detail-video { max-width: none; }
  /* スマホの物件一覧は短く：写真・家賃・間取り・交通だけ */
  .property-list { gap: 16px; }
  .property-list .spec-extra { display: none; }
  .property-list .property-photo { aspect-ratio: 16 / 9; }
  .property-list .property-body { padding: 12px 14px 14px; }
  .property-list .property-name { font-size: 16px; }
  .property-list .property-price { font-size: 21px; margin-bottom: 6px; }
  .property-list .property-spec { margin-bottom: 10px; }
  .property-list .property-buttons { flex-direction: row; }
  .property-list .property-buttons .btn { width: auto; flex: 1; padding: 9px 4px; font-size: 14px; }
}

/* 物件一覧のページ分け */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.pager:empty { display: none; }
.pager-btn { min-width: 44px; min-height: 44px; padding: 6px 12px; font: inherit; font-weight: 800; color: var(--navy); background: #fff; border: 2px solid var(--sky2); border-radius: 12px; cursor: pointer; }
.pager-btn.is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager-gap { color: var(--muted); font-weight: 800; }

/* 物件ページの動画：押すとその場で再生 */
.video-play-btn { width: 100%; padding: 0; border: 0; cursor: pointer; font: inherit; }
.video-thumb.is-sold img { filter: grayscale(.7); opacity: .75; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; margin-bottom: 12px; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* トップの最初の画面：3つのボタンと動画（2026-11-07） */
.hero-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 4px; border-radius: 16px; color: #fff; font-weight: 800; font-size: 20px;
  line-height: 1.25; text-decoration: none; box-shadow: 0 4px 12px rgba(11, 42, 102, .18);
}
.hero-choice small { font-size: 12px; font-weight: 700; }
.hero-choice-go {
  display: block; margin-top: 6px; padding: 3px 8px; border-radius: 999px; white-space: nowrap;
  background: #fff; font-size: 13px; font-weight: 800; line-height: 1.4;
}
.hero-choice.is-rent .hero-choice-go { color: var(--blue); }
.hero-choice.is-buy .hero-choice-go { color: #b9560f; }
.hero-choice.is-sell .hero-choice-go { color: var(--navy); }
.hero-choice:hover { opacity: .88; color: #fff; }
.hero-choice.is-rent { background: var(--blue); }
.hero-choice.is-buy { background: #e0701a; }
.hero-choice.is-sell { background: var(--navy); }
.hero-sub { margin: 10px 0 0; text-align: right; font-size: 14px; font-weight: 700; }
.hero-sub a { color: var(--navy); }
.hero-contact { margin-top: 16px; }
.hero-contact .btn { padding: 10px 20px; font-size: 15px; }

.hero-movie { background: #fff; border-bottom: 1px solid #dbe7f5; }
.hero-movie-inner {
  max-width: 1120px; margin: 0 auto; padding: 36px 16px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center;
}
.hero-movie-text { display: flex; align-items: center; gap: 16px; }
.hero-maruo { width: 130px; height: auto; flex: none; }
.hero-movie h2 { margin: 0 0 6px; font-size: 30px; line-height: 1.3; color: var(--blue); word-break: keep-all; overflow-wrap: anywhere; }
.hero-movie p { margin: 0; font-weight: 700; color: var(--navy); word-break: keep-all; overflow-wrap: anywhere; }
.hero-video-name { margin: 8px 0 0 !important; font-size: 14px; font-weight: 700; }
.hero-video-name a { color: var(--navy); }
#hero-video .video-thumb, #hero-video .video-frame { border-radius: var(--radius); margin: 0; box-shadow: 0 10px 30px rgba(11, 42, 102, .15); }
#hero-video .video-play { width: 68px; height: 48px; border-radius: 12px; }
#hero-video .video-play::after { border-width: 10px 0 10px 18px; }
.thumbs .video-frame { grid-column: 1 / -1; margin: 0; }
.thumbs .video-play-btn { background: var(--sky); }

@media (max-width: 860px) {
  .hero-inner { padding: 10px 16px 16px; gap: 10px; }
  .hero .hero-img { text-align: center; }
  .hero .hero-img img { width: 72%; margin: 0 auto; box-shadow: 0 4px 14px rgba(11, 42, 102, .12); }
  .hero h1 { font-size: 24px; margin-bottom: 8px; text-align: center; }
  .hero .lead { display: none; }
  .hero .badges { margin: 0 0 10px; gap: 5px; justify-content: center; }
  .hero .badges li { font-size: 12px; padding: 3px 8px; white-space: nowrap; }
  .hero-sub { margin-top: 8px; font-size: 13px; text-align: center; }
  .hero-contact { display: none; }
  .hero-movie-inner { grid-template-columns: 1fr; padding: 14px 16px 22px; gap: 10px; }
  .badge-note { display: none; }
  .hero-choices { gap: 6px; }
  .hero-choice { padding: 10px 3px; }
  .hero-choice-go { padding: 3px 5px; font-size: 11px; letter-spacing: -.02em; }
  .hero-maruo { width: 62px; }
  .hero-movie-text { gap: 10px; }
  .hero-movie h2 { font-size: 21px; margin-bottom: 2px; }
  .hero-movie p { font-size: 14px; }
  .nav a[href$="#video"] { display: none; }
}
