@charset "utf-8";

/* ---------------------------------------------------------------
   officem2.net/rent/ 共通スタイル
   前提: 外壁のQRから、路上・モバイル回線で開かれる。
   → モバイルファースト。外部フォント・外部JSは読み込まない（表示速度優先）。
   --------------------------------------------------------------- */

:root {
  --ink:        #1b1d21;   /* 本文 */
  --ink-soft:   #5a6068;   /* 補足 */
  --line:       #dcdfe4;   /* 罫線 */
  --bg:         #ffffff;
  --bg-soft:    #f5f6f8;   /* 表・カードの下地 */
  --accent:     #1f3a68;   /* 濃紺。見出しと発信ボタン */
  --accent-dk:  #16294a;
  --vacant:     #1a6b4a;   /* 募集中 */
  --full:       #8a8f96;   /* 満室 */
  --callbar:    72px;      /* 下部固定バーの高さ */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 0 calc(var(--callbar) + env(safe-area-inset-bottom));
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 17px;          /* 屋外・スマホでの可読性を優先して大きめ */
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--accent); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---- ヘッダー ---- */

.site-head {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.site-head .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.site-head b { font-size: 15px; letter-spacing: .04em; }
.site-head span { font-size: 13px; color: var(--ink-soft); }

/* ---- 物件見出し ---- */

.hero { padding: 28px 0 4px; }
.hero h1 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: .01em;
}
.hero .addr { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* .card p より後で上書きされないよう、詳細度を上げてある（.card .status）。
   下げると「募集中」バッジの文字色が本文グレーに戻り、緑地に埋もれて読めなくなる。 */
.status,
.card .status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--vacant);
}
.status.is-full,
.card .status.is-full { background: var(--full); }

/* ---- 見出し ---- */

h2 {
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  font-size: 19px;
  letter-spacing: .02em;
}

h3 {
  margin: 26px 0 8px;
  font-size: 16px;
  color: var(--accent);
}

/* ---- 条件表 ---- */

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec th, .spec td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  white-space: nowrap;
}
.spec .rent { font-size: 20px; font-weight: 700; color: var(--accent); }

/* ---- 設備 ---- */

.equip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.equip li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  background: var(--bg-soft);
}

/* ---- 周辺情報 ---- */

.around {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.around th, .around td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.around th { font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.around td.dist { width: 5.5em; text-align: right; color: var(--ink-soft); white-space: nowrap; }

/* ---- 写真 ---- */

.shots { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 4px; font-size: 13px; color: var(--ink-soft); }
@media (min-width: 560px) { .shots { grid-template-columns: 1fr 1fr; } }

/* ---- 物件一覧カード（トップ用） ---- */

.cards { display: grid; gap: 18px; margin: 18px 0 8px; }
.card {
  display: block;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}
.card h2 {
  margin: 8px 0 4px;
  padding: 0;
  border: 0;
  font-size: 20px;
  color: var(--accent);
}
.card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.card .more { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---- 問い合わせ ---- */

.contact { margin: 34px 0 8px; padding: 20px; border-radius: 4px; background: var(--bg-soft); }
.contact p { margin: 0 0 12px; font-size: 15px; }
.contact .hours { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); }

.tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 4px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
}
.tel-btn:active { background: var(--accent-dk); }

/* ---- 下部固定の発信バー（QR来訪者の主導線） ---- */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.97);
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
}
.callbar a:active { background: var(--accent-dk); }

/* ---- フッター ---- */

.site-foot {
  margin-top: 40px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.site-foot p { margin: 0 0 4px; }
.site-foot a { color: var(--ink-soft); }

/* 印刷時は固定バーを消す */
@media print {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}
