/* まちと部屋。スマホで見られる前提（インスタのリンクから来る人がほとんど）で組む

   ノンデザイナーズ・デザインブックの 4 原則で組んでいる。
   整列   すべての中身は .wrap の左端（スマホ 20px・PC 40px）にそろえる。中央寄せは DM の箱だけ
   近接   関係するものは近く（8〜12px）、別のまとまりは遠く（セクションの間 56〜96px）
   反復   セクションの頭は「英字の小見出し＋見出し」、数字の強調はネイビーの太字、札は丸いチップ
   コントラスト  大きさは 3 段（見出し・強調・本文）に絞り、中間のサイズを作らない。アンバーは強調にだけ使う
*/
:root {
  --navy: #1f3864;
  --deep: #0f1c33;
  --amber: #f2aa3c;
  --amber-light: #ffc85c;
  --cream: #f6f1e8;
  --paper: #fffdf9;
  --ink: #16202f;
  --muted: #5d6675;
  --line: #e6dfd2;
  --gutter: 20px;
  --radius: 16px;
}
@media (min-width: 760px) { :root { --gutter: 40px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-feature-settings: "palt";
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
.pc { display: none; }
@media (min-width: 760px) { .pc { display: inline; } }

/* 整列の基準。ヘッダーからフッターまで、全部この左端に乗せる */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* ヘッダー */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { font-weight: 900; font-size: 22px; color: var(--ink); text-decoration: none; line-height: 1; letter-spacing: 0.02em; }
.logo-sub { display: block; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 3px; }
.top nav { display: none; gap: 28px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink); }
.top nav a:hover { color: var(--navy); }
.top .btn.small { margin-left: auto; }
@media (min-width: 760px) {
  .top .wrap { height: 68px; }
  .top nav { display: flex; }
  .top .btn.small { margin-left: 0; }
}

/* ボタン。主（DM）は塗り、副は線。2 種類だけ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 900; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-dm { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(31, 56, 100, 0.22); }
.btn-dm::before { content: "✉"; margin-right: 8px; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 英字の小見出し。ヒーローと各セクションの頭で繰り返す */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--amber); }

/* ヒーロー */
.hero { padding: 56px 0 64px; background: var(--cream); }
.hero h1 { margin: 0; font-size: 36px; font-weight: 900; line-height: 1.32; letter-spacing: 0.01em; }
.hero h1 span { color: var(--navy); background: linear-gradient(transparent 64%, var(--amber-light) 64%); }
.hero-lead { margin: 20px 0 32px; color: var(--muted); font-size: 15px; max-width: 34em; }
.hero-cities { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cities li { font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border-radius: 999px; padding: 4px 14px; }
@media (min-width: 760px) {
  .hero { padding: 104px 0 112px; }
  .hero h1 { font-size: 60px; }
  .hero-lead { font-size: 17px; }
}

/* セクション */
.section { padding: 56px 0; }
.section.alt { background: var(--cream); }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.4; }
.sec-head p.lead { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
@media (min-width: 760px) {
  .section { padding: 96px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-head h2 { font-size: 34px; }
}
.note { color: var(--muted); font-size: 14px; margin: 24px 0 0; }
.empty {
  margin: 0; padding: 32px 24px; border-radius: var(--radius); border: 2px dashed var(--line);
  color: var(--muted); text-align: center;
}

/* 物件カード */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(15, 28, 51, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 14px 32px rgba(15, 28, 51, 0.1); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: var(--cream); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.draft { background: var(--ink); color: #fff; }
.card-body { padding: 16px 20px 20px; }

/* 場所の行（カード・物件ページで繰り返す） */
.place { margin: 0; font-size: 13px; color: var(--muted); font-weight: 700; }
.place b { color: var(--navy); }

/* 家賃（数字だけを大きく。単位と管理費は小さく、すぐ隣に） */
.rent { margin: 6px 0 0; font-size: 14px; font-weight: 700; line-height: 1.2; }
.rent b { font-size: 32px; font-weight: 900; color: var(--navy); margin-right: 2px; letter-spacing: -0.01em; }
.rent small { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; font-size: 13px; }

/* 間取り・面積・築年（札にして並べる） */
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.facts li { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 6px; background: var(--cream); }

/* エリア。都市ごとに 1 枚の箱にまとめる（近接） */
.cities { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .cities { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1040px) { .cities { grid-template-columns: repeat(3, 1fr); } }
.city { padding: 20px; border-radius: var(--radius); background: #fff; }
.city-name { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 18px; font-weight: 900; }
.city-name small { font-size: 12px; font-weight: 700; color: var(--muted); }
.city.main { box-shadow: inset 0 0 0 2px var(--navy); }
.city.main .city-name::after { content: "配信中"; margin-left: auto; font-size: 11px; color: #fff; background: var(--navy); padding: 1px 8px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--cream); font-weight: 700; font-size: 13px; }

/* 流れ */
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.steps b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-light); font-size: 18px; font-weight: 900; }
.steps h3 { margin: 6px 0 4px; font-size: 16px; font-weight: 900; line-height: 1.4; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* 締めの呼びかけ（ページの最後にもう一度 DM へ） */
.cta { padding: 56px 0; background: var(--navy); color: #fff; }
.cta h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; line-height: 1.4; }
.cta p { margin: 0 0 24px; color: #c9d4e8; }
.cta .eyebrow { color: #c9d4e8; }
.cta .btn-dm { background: var(--amber-light); color: var(--ink); box-shadow: none; }
@media (min-width: 760px) { .cta { padding: 80px 0; } .cta h2 { font-size: 30px; } }

/* 物件ページ */
.crumbs { margin: 0; padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.room { padding-bottom: 64px; }
.room h1 { font-size: 24px; font-weight: 900; margin: 6px 0 0; line-height: 1.4; }
.room h2 { font-size: 18px; font-weight: 900; margin: 48px 0 12px; display: flex; align-items: center; gap: 10px; }
.room h2::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--amber); }
.draft-note { margin: 16px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; }
.gallery {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 16px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px;
  scroll-padding: 0 var(--gutter);
}
.gallery figure { flex: none; width: 86%; margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.gallery figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
@media (min-width: 760px) { .gallery figure { width: calc(50% - 5px); } }
.room-body { max-width: 760px; }
.room-head { margin-top: 24px; }
/* PC では、家賃と DM の箱を右に並べて追いかけさせる（値段と問い合わせを近くに置く） */
@media (min-width: 960px) {
  .room-body { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; margin-top: 32px; }
  .room-side { grid-column: 2; grid-row: 1; position: sticky; top: 92px; align-self: start; }
  .room-main { grid-column: 1; grid-row: 1; }
  .room-side .room-head { margin-top: 0; }
  .room-main > h2:first-child { margin-top: 0; }
  .room-side .dm-box { margin-top: 24px; }
}
.room-head .rent b { font-size: 40px; }
@media (min-width: 760px) and (max-width: 959px) { .room h1 { font-size: 30px; } }
.dm-box { margin-top: 32px; padding: 28px 20px; border-radius: var(--radius); background: var(--cream); text-align: center; }
.dm-box p { margin: 0; }
.dm-box .small { margin-top: 14px; }
.dm-lead { font-size: 14px; color: var(--muted); }
.dm-word { margin-top: 6px !important; font-size: 19px; font-weight: 900; line-height: 1.5; }
.dm-word b { color: var(--navy); background: linear-gradient(transparent 60%, var(--amber-light) 60%); }
.dm-box .actions { justify-content: center; margin-top: 20px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs tr:first-child th, .specs tr:first-child td { border-top: 1px solid var(--line); }
.specs th { width: 32%; padding-right: 12px; color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feats li { padding: 4px 12px; border-radius: 999px; background: var(--cream); font-size: 14px; font-weight: 700; }
.notice { margin-top: 40px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.9; }
.back { margin-top: 24px; font-size: 14px; font-weight: 700; }

/* 運営会社 */
.page-title { padding: 40px 0 0; }
.page-title h1 { margin: 0; font-size: 28px; font-weight: 900; }

/* フッター */
.foot { background: var(--deep); color: #c9d0dc; padding: 48px 0; font-size: 13px; }
.foot .wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 1fr 2fr; gap: 40px; } }
.foot p { margin: 0 0 6px; }
.foot-brand { font-weight: 900; font-size: 20px; color: #fff; }
.foot nav { display: flex; gap: 20px; margin-top: 10px; }
.foot nav a { color: #fff; font-weight: 700; text-decoration: none; }
.foot .small { color: #9aa5b8; }
.small { font-size: 12px; }
