@charset "UTF-8";
/* ==========================================================================
   base.css — リセット + 要素ベース（モバイルファースト / Rules準拠）
   旧テーマ由来の旧CSSを撤去し、トークン(variables.css)で組み直したベース。
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  font-size: var(--base-font-size);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  min-height: 100dvh;
  font-family: var(--font-family);
  font-size: var(--font-base);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
  color: var(--color-text-main);
  background: var(--color-bg-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
  font-feature-settings: "palt";
}

h1, h2, h3, h4, h5, h6, dt, th, strong, b { font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p { line-height: var(--line-height-normal); }

a { color: inherit; text-decoration: none; transition: color var(--transition-fast), opacity var(--transition-fast); }
a:hover { color: var(--color-text-sub); }

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

img, svg, video, picture { max-width: 100%; height: auto; vertical-align: bottom; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

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

/* 数字（賃料・面積など）は等幅で桁を揃える */
.num, .font-num, .__lang-en { font-family: var(--ff-num); }
.num, .font-num { font-variant-numeric: tabular-nums; letter-spacing: 0; }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
