:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #151515;
  --muted: #6d675d;
  --line: #e8e0d4;
  --line-strong: #d7c7aa;
  --gold: #bd8a18;
  --gold-dark: #8f650f;
  --gold-soft: #fbf3e2;
  --shadow: 0 12px 28px rgba(36, 27, 10, 0.08);
  --radius: 8px;
  --page-width: 90vw;
  --bottom-nav-space: calc(104px + env(safe-area-inset-bottom, 0px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 8px clamp(22px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 145px;
  height: auto;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-actions > a,
.header-actions > button {
  display: grid;
  gap: 2px;
  place-items: center;
  border: 0;
  color: #111;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.header-actions > a::before,
.header-actions > button::before {
  color: var(--gold-dark);
  font-size: 23px;
  line-height: 1;
}

.header-actions > a[href*="contact"]::before {
  content: "?";
}

.header-actions > a[href*="account"]::before,
.header-actions > a[href*="admin"]::before {
  content: "○";
}

.header-actions > a[href*="upload"]::before,
.header-actions > a[href="/"]::before {
  content: "⌂";
}

.header-actions > a[href*="design"]::before {
  content: "□";
}

.menu-mark::before {
  content: "☰";
}

.header-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(300px, calc(100vw - 28px));
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(36, 27, 10, 0.14);
  backdrop-filter: blur(10px);
}

.header-menu[hidden] {
  display: none;
}

.header-menu a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  color: var(--text);
  text-align: left;
}

.header-menu a::before {
  content: attr(data-menu-icon);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--gold-soft);
  font-size: 16px;
}

.header-menu a:hover {
  background: #fbf6ec;
}

.header-menu strong,
.header-menu span {
  display: block;
}

.header-menu strong {
  font-size: 13px;
  line-height: 1.3;
}

.header-menu span {
  color: var(--muted);
  font-size: 11px;
}

main {
  padding-bottom: var(--bottom-nav-space);
}

main > section:not(.hero),
.panel,
.section-card,
.land-results-panel,
.admin-panel {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.3;
}

h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.muted,
.page-title p,
.hero-copy p {
  color: var(--muted);
}

.gold {
  color: var(--gold-dark);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: clamp(18px, 3vw, 36px);
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px) 0 22px;
}

.home-main {
  display: grid;
  align-items: stretch;
  min-height: calc(100vh - 72px);
}

.home-main .hero {
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: var(--page-width);
  min-height: min(720px, calc(100vh - 160px));
  padding: clamp(34px, 5vw, 70px) 0 clamp(34px, 5vw, 70px);
}

.hero-copy {
  align-self: center;
}

.home-main .hero-copy {
  justify-self: center;
  max-width: 620px;
}

.home-main .hero-media {
  justify-self: center;
  width: 100%;
}

.hero-copy h1 {
  max-width: 470px;
  font-size: clamp(36px, 4.8vw, 58px);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.home-main .hero-media {
  min-height: clamp(430px, 48vw, 620px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ddd4c6;
}

.slider-dots span:first-child {
  width: 20px;
  background: var(--gold);
}

.hero-badges,
.feature-row,
.bottom-nav,
.stepper,
.mini-designs,
.info-grid {
  display: grid;
  gap: 10px;
}

.hero-badges {
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0;
}

.badge,
.feature-item,
.support-list li,
.info-tile,
.summary-box,
.panel,
.side-card,
.land-card,
.cta-strip,
.design-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.badge {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.badge strong {
  display: block;
  color: var(--gold-dark);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.button-row.end {
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fff;
  color: var(--gold-dark);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #d9ab3f, #a37310);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 10px 22px rgba(163, 115, 16, 0.2);
}

.button.danger {
  border-color: #b83b32;
  color: #b83b32;
}

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.button.full {
  width: 100%;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.76fr) minmax(320px, 0.9fr);
  gap: 18px;
  width: var(--page-width);
  margin: 0 auto 18px;
}

.section-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

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

.mini-designs img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 6px;
}

.mini-designs span {
  display: block;
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
}

.steps-list b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-dark);
}

.property-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.property-row article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.property-row img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.property-row div {
  padding: 10px;
}

.cta-strip {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 18px;
  align-items: center;
  width: var(--page-width);
  margin: 12px auto 0;
  padding: 12px;
  background: #fffaf2;
}

.cta-strip img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 6px;
}

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
  padding: 22px 0 0;
}

.page-title {
  margin-bottom: 14px;
}

.page-title.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.stepper {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  margin: 0 0 18px;
}

.stepper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #777;
  font-size: 13px;
  font-weight: 800;
}

.stepper span.is-active {
  color: #fff;
  border-color: var(--gold);
  background: linear-gradient(180deg, #cf9b2e, #a57212);
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.panel,
.side-card,
.result-card {
  box-shadow: var(--shadow);
}

.panel {
  padding: clamp(18px, 3vw, 32px);
}

.side-card {
  overflow: hidden;
}

.side-card .side-body {
  padding: 16px;
}

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

.support-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding: 14px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.support-list li:last-child {
  border-bottom: 0;
}

.support-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.form-stack {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

.required {
  display: inline-flex;
  width: fit-content;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

.password-field,
.auth-input-icon {
  position: relative;
}

.password-field {
  display: block;
}

.password-field input,
.auth-input-icon input {
  padding-right: 74px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 50px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-dark);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.password-toggle.icon {
  right: 12px;
}

textarea {
  resize: vertical;
}

.upload-drop {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: #fffaf2;
  text-align: center;
  cursor: pointer;
}

.upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-drop span {
  color: var(--gold-dark);
  font-size: 18px;
}

.upload-drop small {
  color: var(--muted);
}

.preview-frame {
  position: relative;
  display: grid;
  min-height: 280px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f2eee7;
  color: var(--muted);
}

.preview-frame img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
}

.preview-frame.is-empty img {
  display: none;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

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

.design-card {
  position: relative;
  overflow: hidden;
  padding: 6px;
  cursor: pointer;
}

.design-card input {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

.design-card img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
  border-radius: 6px;
}

.design-card strong,
.design-card span {
  display: block;
  text-align: center;
}

.design-card strong {
  margin-top: 6px;
  font-size: 13px;
}

.design-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.design-card:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft);
}

.conditions-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.conditions-panel .page-title {
  margin-bottom: 0;
}

.page-title.compact h2 {
  margin: 4px 0 2px;
}

.promo-panel {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.promo-panel img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.info-tile {
  padding: 16px;
}

.land-card {
  overflow: hidden;
}

.land-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.land-card div {
  padding: 14px;
}

.land-search-page {
  display: grid;
  gap: 18px;
}

.land-search-hero,
.land-search-panel,
.land-results-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.land-search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
}

.land-search-hero h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.land-search-hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.land-hero-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.86fr) 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.land-hero-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
}

.land-hero-card span,
.land-hero-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.land-hero-card strong {
  display: block;
  margin: 4px 0;
  font-size: 17px;
  font-weight: 900;
}

.land-search-panel {
  padding: 18px;
}

.land-region-form,
.land-search-form {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 0.7fr)) auto;
  gap: 12px;
  align-items: end;
}

.land-region-form {
  grid-template-columns: repeat(2, minmax(220px, 1fr)) auto;
}

.land-detail-search-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.land-search-form label {
  gap: 6px;
}

.land-region-form label,
.land-detail-search-form label {
  display: grid;
  gap: 6px;
}

.land-search-form label span {
  font-size: 12px;
  color: var(--muted);
}

.land-region-form label span,
.land-detail-search-form label span {
  font-size: 12px;
  color: var(--muted);
}

.land-search-form input,
.land-search-form select {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 800;
}

.land-region-form input,
.land-region-form select,
.land-detail-search-form input,
.land-detail-search-form select {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 800;
}

.land-detail-search-form input[type="range"] {
  min-height: auto;
  accent-color: var(--gold);
}

.land-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.land-filter-chips button {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-dark);
  background: #fffdf7;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.land-filter-chips button.is-active {
  border-color: var(--gold);
  color: #fff;
  background: linear-gradient(180deg, #d9a223, #9f6d09);
}

.land-filter-chips small {
  margin-left: 4px;
  opacity: 0.72;
}

.land-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
}

.land-pagination:last-of-type {
  margin: 16px 0 0;
}

.land-pagination button {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-dark);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.land-pagination button.is-active {
  border-color: var(--gold);
  color: #fff;
  background: linear-gradient(180deg, #d9a223, #9f6d09);
}

.land-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.land-search-layout {
  display: block;
}

.land-results-panel {
  padding: 20px;
}

.land-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.land-results-head h2 {
  margin: 0;
  font-size: 25px;
}

.land-results-head b {
  color: var(--gold-dark);
  font-size: 34px;
}

.land-results-head select {
  width: min(220px, 100%);
  border-radius: 999px;
  font-weight: 800;
}

.land-results-list {
  display: grid;
  gap: 12px;
}

.land-result-card {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.land-result-card:hover,
.land-result-card.is-selected {
  border-color: var(--gold);
  box-shadow: 0 12px 22px rgba(163, 115, 16, 0.12);
  transform: translateY(-1px);
}

.land-result-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 9px;
}

.land-result-body {
  min-width: 0;
}

.land-result-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.land-result-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.land-result-title button {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-dark);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}

.land-result-title button.is-favorite,
.favorite-action.is-favorite {
  border-color: rgba(189, 138, 24, 0.42);
  color: #fff;
  background: linear-gradient(135deg, #d9a223, #9f6d09);
}

.favorite-action {
  gap: 8px;
}

.favorite-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.empty-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 18px;
  border: 1px dashed rgba(189, 138, 24, 0.38);
  border-radius: 16px;
  background: #fffdf8;
  text-align: center;
}

.empty-panel h2 {
  margin: 0;
  font-size: 24px;
}

.land-price {
  margin: 4px 0 8px;
  color: var(--gold-dark);
  font-size: 25px;
  font-weight: 900;
}

.land-price span {
  margin-left: 10px;
  color: #2b2824;
  font-size: 14px;
}

.land-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #403a31;
  font-size: 13px;
  font-weight: 800;
}

.land-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.land-tags span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.is-modal-open {
  overflow: hidden;
}

.land-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
}

.land-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 10, 0.46);
  backdrop-filter: blur(8px);
}

.land-detail-sheet {
  position: relative;
  z-index: 1;
  width: 85vw;
  height: 85vh;
  overflow: auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(232, 224, 212, 0.9);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(24, 20, 12, 0.24);
}

.land-detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.94);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.land-detail-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 56px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(189, 138, 24, 0.36);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(24, 20, 12, 0.16);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.land-detail-nav-prev {
  left: 18px;
}

.land-detail-nav-next {
  right: 18px;
}

.land-detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.land-detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.land-detail-hero h2 {
  margin: 4px 52px 8px 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.land-detail-hero strong {
  display: block;
  color: var(--gold-dark);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.2;
}

.land-detail-hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.land-detail-media-panel {
  display: grid;
  gap: 14px;
}

.land-detail-media-panel > img {
  width: 100%;
  max-height: 48vh;
  object-fit: cover;
  border-radius: 18px;
  background: #f5efe5;
}

.land-detail-caption {
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--muted);
  font-weight: 800;
}

.land-detail-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.land-detail-thumbs button {
  flex: 0 0 112px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.land-detail-thumbs button.is-active {
  border-color: var(--gold);
}

.land-detail-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.land-detail-heading {
  margin-top: 22px;
}

.land-detail-heading h2 {
  margin: 4px 52px 8px 0;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
}

.land-detail-heading strong {
  display: block;
  color: var(--gold-dark);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.2;
}

.land-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.land-detail-specs div {
  display: grid;
  grid-template-columns: minmax(128px, 0.42fr) minmax(0, 1fr);
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}

.land-detail-specs div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.land-detail-specs div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.land-detail-specs dt,
.land-detail-specs dd {
  margin: 0;
  padding: 13px 14px;
  font-weight: 800;
}

.land-detail-specs dt {
  color: var(--gold-dark);
  background: #fffaf2;
}

.land-detail-specs dd {
  color: var(--ink);
}

.land-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 16px;
}

.land-detail-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
}

.land-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.land-detail-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 900;
}

.land-detail-gallery {
  margin: 24px 0 18px;
}

.land-detail-gallery h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.land-detail-gallery > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.land-detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
}

.land-detail-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.land-detail-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.land-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.land-detail-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.land-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.land-detail-actions .auth-gold-button {
  margin: 0;
}

.loader {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 7px solid var(--gold-soft);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.center {
  text-align: center;
}

.generating-visual {
  overflow: hidden;
  margin-top: 22px;
  border-radius: var(--radius);
}

.generating-visual img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.result-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.result-card {
  padding: 14px;
}

.result-main img,
.result-card img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.result-main img {
  aspect-ratio: 16 / 10;
}

.result-card img {
  aspect-ratio: 16 / 9;
}

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

.result-grid figure {
  margin: 0;
}

figcaption {
  padding-top: 8px;
  font-size: 13px;
  font-weight: 800;
}

.summary-box {
  margin-top: 12px;
  padding: 14px;
}

.summary-box dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
}

.summary-box dt {
  color: var(--muted);
  font-weight: 800;
}

.summary-box dd {
  margin: 0;
}

.auth-layout,
.account-dashboard,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 22px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4efe7;
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.is-active {
  background: #fff;
  color: var(--gold-dark);
  box-shadow: 0 8px 16px rgba(50, 37, 15, 0.08);
}

.auth-verify-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf2;
}

.auth-verify-panel p {
  margin: 0;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 28% 18%, rgba(189, 138, 24, 0.05), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 16px clamp(34px, 6vw, 78px);
  border-bottom: 1px solid #ebe5dc;
  background: rgba(255, 255, 255, 0.96);
}

.auth-logo img {
  width: 198px;
  height: auto;
}

.auth-header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.auth-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.auth-nav-icon {
  font-size: 22px;
  line-height: 1;
}

.auth-nav-divider {
  width: 1px;
  height: 28px;
  background: #ddd6cc;
}

.auth-page-main {
  width: var(--page-width);
  margin: 0 auto;
  padding: 24px 0 44px;
}

.mypage-dashboard {
  display: grid;
  gap: 24px;
}

.mypage-hero,
.mypage-card {
  border: 1px solid #eee7dd;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(39, 32, 20, 0.08);
}

.mypage-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 170px;
  padding: 34px 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 246, 0.92) 52%, rgba(255, 255, 255, 0.72) 100%),
    url("/assets/tatemiru-hero-home.jpg") right center / 420px auto no-repeat;
}

.mypage-hero h1 {
  margin: 2px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.mypage-hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.mypage-logout {
  min-width: 138px;
  min-height: 48px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  cursor: pointer;
}

.mypage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.mypage-card {
  padding: 28px;
}

.mypage-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.mypage-card-head.compact {
  margin-bottom: 16px;
}

.mypage-card-head h2,
.mypage-action-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.mypage-card-head p,
.mypage-action-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mypage-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-dark);
  background: linear-gradient(180deg, #fff8e8, #f6ead3);
  font-size: 24px;
  font-weight: 900;
}

.mypage-form {
  display: grid;
  gap: 18px;
}

.mypage-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mypage-form input {
  min-height: 50px;
  border-color: #e3d9cc;
  border-radius: 8px;
  font-weight: 600;
}

.auth-gold-button.compact {
  width: auto;
  min-width: 230px;
  padding-inline: 28px;
}

.mypage-side {
  display: grid;
  gap: 18px;
}

.mypage-stats {
  display: grid;
  gap: 10px;
}

.mypage-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #eee7dd;
  border-radius: 10px;
  background: #fffdf8;
}

.mypage-stats strong {
  color: var(--gold-dark);
  font-size: 28px;
  line-height: 1;
}

.mypage-stats span {
  color: #29241e;
  font-size: 13px;
  font-weight: 900;
}

.mypage-action-card {
  overflow: hidden;
}

.mypage-action-card img {
  width: calc(100% + 56px);
  max-width: none;
  height: 190px;
  margin: -28px -28px 20px;
  object-fit: cover;
}

.mypage-action-card .auth-outline-button {
  margin-top: 16px;
}

.auth-layout-v2 {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: start;
}

.auth-form-card {
  min-height: 594px;
  padding: 30px 34px 24px;
  border: 1px solid #eee7dd;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(39, 32, 20, 0.08);
}

.auth-form-v2 {
  display: grid;
  gap: 14px;
}

.auth-form-v2 h1 {
  margin: 0;
  text-align: center;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.auth-lead {
  margin: 0 0 12px;
  text-align: center;
  color: #2b2824;
  font-size: 15px;
  font-weight: 500;
}

.auth-field {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: #101010;
  font-size: 15px;
  font-weight: 900;
}

.auth-login-form .auth-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 16px;
}

.auth-field > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.auth-field b,
.auth-field em {
  display: inline-grid;
  min-width: 32px;
  min-height: 22px;
  place-items: center;
  border: 1px solid #bd8a18;
  border-radius: 4px;
  color: #9c6d11;
  background: #fffdf7;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.auth-field em {
  border-color: #d6d0c8;
  color: #817970;
  background: #fff;
}

.auth-field input {
  min-height: 42px;
  padding: 10px 16px;
  border-color: #ddd7d0;
  border-radius: 7px;
  color: #1e1b16;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.auth-login-form .auth-field input {
  min-height: 56px;
  padding-left: 48px;
  font-size: 15px;
}

.auth-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-input-icon {
  position: relative;
  display: block;
}

.auth-input-icon i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #827a70;
  font-style: normal;
  transform: translateY(-50%);
}

.auth-input-icon.left i:first-child {
  right: auto;
  left: 16px;
}

.auth-input-icon.left i:last-child {
  right: 16px;
  left: auto;
}

.auth-input-icon input,
.auth-field .auth-input-icon input {
  padding-right: 76px;
}

.auth-login-form .auth-field .auth-input-icon input {
  padding-right: 76px;
}

.auth-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 0;
  color: #312c24;
  font-size: 14px;
  font-weight: 700;
}

.auth-check input {
  width: 22px;
  min-height: 22px;
  accent-color: #bd8a18;
}

.auth-check a,
.auth-forgot,
.auth-note a {
  color: #9a6b12;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-keep {
  justify-content: flex-start;
  margin: 0;
}

.auth-forgot {
  width: fit-content;
  font-size: 14px;
  font-weight: 800;
}

.auth-gold-button,
.auth-outline-button,
.auth-line-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 47px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.auth-login-form .auth-gold-button,
.auth-login-form .auth-outline-button,
.auth-login-form .auth-line-button {
  min-height: 54px;
}

.auth-gold-button {
  border: 1px solid #ad7b13;
  color: #fff;
  background: linear-gradient(180deg, #e4bd55 0%, #b48218 44%, #9d6b0e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 12px 22px rgba(149, 101, 9, 0.24);
}

.auth-gold-button span,
.auth-outline-button span {
  position: absolute;
  right: 22px;
  font-size: 31px;
  line-height: 1;
}

.auth-outline-button {
  border: 1px solid #b48522;
  color: #9a6b12;
  background: #fff;
}

.auth-line-button {
  gap: 14px;
  border: 1px solid #ded9d2;
  color: #111;
  background: #fff;
  box-shadow: 0 4px 12px rgba(37, 28, 12, 0.04);
}

.auth-line-button strong {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #05c755;
  font-size: 9px;
}

.auth-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  color: #37322b;
  font-size: 14px;
  font-weight: 700;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  height: 1px;
  background: #e2ddd5;
}

.auth-note {
  margin: 2px 0 0;
  text-align: center;
  color: #3c3832;
  font-size: 14px;
}

.auth-side {
  display: grid;
  gap: 12px;
}

.auth-house-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(38, 29, 12, 0.08);
}

.auth-benefit-card {
  padding: 22px 30px;
  border: 1px solid #eee1ca;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px rgba(38, 29, 12, 0.08);
}

.auth-benefit-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  color: #a67415;
  font-size: 19px;
}

.auth-benefit-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-benefit-card li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px dashed #e2d9c9;
  font-weight: 900;
}

.auth-benefit-card li:last-child {
  border-bottom: 0;
}

.auth-benefit-card b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #c99426, #9c6d11);
  font-size: 13px;
}

.auth-safe-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid #f0dfc0;
  border-radius: 8px;
  background: #fffaf3;
}

.auth-safe-card::before {
  content: "♜";
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #a67415;
  border: 3px solid #be8a18;
  border-radius: 50%;
  font-size: 24px;
}

.auth-safe-card strong,
.auth-safe-card span {
  grid-column: 2;
}

.auth-safe-card strong {
  color: #9a6b12;
  font-size: 16px;
}

.auth-safe-card span {
  color: #6d675d;
  font-size: 13px;
}

.auth-login-form {
  padding-top: 28px;
  gap: 16px;
}

.login-hero {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  border-radius: 10px;
}

.login-hero img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.login-hero h2 {
  position: absolute;
  top: 44px;
  left: 34px;
  margin: 0;
  color: #1c1a16;
  font-size: 28px;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.login-hero h2 span {
  color: #bd8a18;
}

.login-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.login-feature-grid article {
  min-height: 172px;
  padding: 24px 18px;
  border: 1px solid #eee7dd;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 22px rgba(39, 32, 20, 0.07);
}

.login-feature-grid b {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #a67415;
  background: #fff9ee;
  font-size: 27px;
  font-weight: 500;
}

.login-feature-grid h3 {
  font-size: 16px;
}

.login-feature-grid p {
  margin: 0;
  color: #2d2923;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.admin-body {
  background: #f7f3ec;
}

.admin-header {
  position: sticky;
}

.admin-shell {
  width: var(--page-width);
  margin: 0 auto;
  padding: 24px 0 var(--bottom-nav-space);
}

.admin-key-panel {
  max-width: 560px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-tabs button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.is-active {
  border-color: var(--gold);
  color: #fff;
  background: linear-gradient(180deg, #d9a223, #9f6d09);
}

.admin-section {
  display: block;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.admin-stat-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
}

.admin-stat-grid strong,
.admin-stat-grid span {
  display: block;
}

.admin-stat-grid strong {
  color: var(--gold-dark);
  font-size: 30px;
  line-height: 1.2;
}

.admin-stat-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.account-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.account-toolbar h2,
.account-toolbar p {
  margin-bottom: 0;
}

.account-toolbar input {
  max-width: 320px;
}

.admin-grid.wide {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.7fr);
}

.admin-property-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-upload-preview {
  display: block;
  min-height: 42px;
}

.image-upload-preview img {
  display: block;
  width: min(180px, 100%);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.image-list-editor,
.appeal-point-editor {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
}

.gallery-image-row {
  display: grid;
  grid-template-columns: 112px minmax(160px, 0.8fr) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.gallery-image-row:first-child {
  border-top: 0;
}

.gallery-image-preview {
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.gallery-image-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--gold);
}

.maintenance-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.maintenance-list article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
}

.maintenance-list p {
  margin: 4px 0 10px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  background: #fbf8f2;
  font-size: 12px;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tr.is-selected td {
  background: #fff8e8;
}

.admin-table tr[data-select-customer],
.admin-table tr[data-select-property] {
  cursor: pointer;
}

.admin-table tr[data-select-customer]:hover td,
.admin-table tr[data-select-property]:hover td,
.admin-table tr[data-select-customer]:focus td,
.admin-table tr[data-select-property]:focus td {
  background: #fffaf0;
}

.admin-property-cell {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.admin-property-cell img {
  width: 74px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--paper);
}

.admin-property-cell span {
  min-width: 0;
}

.admin-detail-stack {
  display: grid;
  gap: 10px;
}

.admin-detail-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.admin-detail-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-detail-card strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.admin-detail-list {
  display: grid;
  gap: 8px;
}

.admin-detail-list button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.admin-detail-list button small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.appeal-point-editor {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
}

.appeal-point-editor .account-toolbar {
  margin: 0;
}

.appeal-point-editor strong {
  font-weight: 900;
}

.appeal-point-editor p {
  margin: 2px 0 0;
}

#tatemiruAppealPointList {
  display: grid;
  gap: 8px;
}

.appeal-point-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.appeal-point-row input {
  min-height: 44px;
}

.table-action {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fff;
  color: var(--gold-dark);
  font-weight: 800;
  cursor: pointer;
}

.maintenance-calendar-heading {
  margin: 12px 0 8px;
  font-weight: 900;
}

.maintenance-weekdays,
.maintenance-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.maintenance-weekdays span,
.maintenance-day {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  font-size: 0.75rem;
}

.maintenance-weekdays span {
  min-height: auto;
  text-align: center;
  font-weight: 800;
  background: var(--paper);
}

.maintenance-day {
  background: #fff;
}

.maintenance-day.has-maintenance {
  border-color: var(--gold);
  background: #fff7df;
}

.maintenance-day.is-empty {
  visibility: hidden;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e9f7e8;
  color: #216b2a;
  font-weight: 900;
}

.status-pill.is-muted {
  background: #f1ece8;
  color: #866251;
}

.bottom-nav {
  position: fixed;
  right: clamp(16px, 4vw, 48px);
  left: clamp(16px, 4vw, 48px);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  grid-template-columns: repeat(4, 1fr);
  width: auto;
  min-height: 58px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(24, 20, 12, 0.08);
  backdrop-filter: blur(10px);
}

.bottom-nav a {
  display: grid;
  gap: 2px;
  place-items: center;
  min-width: 0;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.bottom-nav a::before {
  color: var(--gold-dark);
  font-size: 22px;
  line-height: 1;
}

.bottom-nav a:nth-child(1)::before { content: "⌂"; }
.bottom-nav a:nth-child(2)::before { content: "⌕"; }
.bottom-nav a:nth-child(3)::before { content: "♡"; }
.bottom-nav a:nth-child(4)::before { content: "○"; }

@media (max-width: 980px) {
  .hero,
  .home-grid,
  .app-layout,
  .land-search-hero,
  .land-search-layout,
  .land-search-form,
  .land-region-form,
  .land-detail-search-form,
  .land-detail-hero,
  .land-detail-grid,
  .land-detail-specs,
  .gallery-image-row,
  .auth-layout,
  .account-dashboard,
  .admin-grid,
  .promo-panel,
  .result-layout,
  .cta-strip {
    grid-template-columns: 1fr;
  }

  .hero,
  .home-grid,
  .cta-strip,
  .page-shell {
    width: min(100% - 28px, 720px);
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-badges,
  .property-row,
  .form-grid,
  .land-result-card,
  .info-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .account-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .account-toolbar input {
    max-width: none;
  }

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

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

  .header-actions {
    gap: 16px;
  }

  .header-actions > a {
    font-size: 10px;
  }

  .bottom-nav {
    right: 10px;
    left: 10px;
  }

  .land-search-hero,
  .land-search-panel,
  .land-results-panel {
    padding: 16px;
  }

  .land-hero-card {
    grid-template-columns: 110px 1fr;
  }

  .land-results-head {
    align-items: stretch;
    flex-direction: column;
  }

  .land-results-head select {
    width: 100%;
  }

  .land-result-card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .land-detail-modal {
    align-items: stretch;
    padding: 10px;
  }

  .land-detail-sheet {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    border-radius: 18px;
  }

  .land-detail-hero h2 {
    margin-right: 46px;
  }

  .land-detail-gallery > div {
    grid-template-columns: 1fr;
  }

  .land-detail-specs div,
  .land-detail-specs div:nth-child(odd) {
    border-right: 0;
  }

  .gallery-image-row {
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 120px;
  }

  .header-actions > a:nth-child(1) {
    display: none;
  }

  .button-row,
  .button-row.end {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .bottom-nav a {
    font-size: 10px;
  }

  .land-search-hero h2 {
    font-size: 25px;
  }

  .land-hero-card {
    grid-template-columns: 1fr;
  }

  .land-filter-chips button {
    flex: 1 1 calc(50% - 8px);
    padding-inline: 10px;
  }

  .land-result-title {
    align-items: center;
  }

  .land-price {
    font-size: 22px;
  }

  .land-detail-sheet {
    padding: 18px;
  }

  .land-detail-close {
    top: 12px;
    right: 12px;
  }

  .land-detail-nav {
    top: auto;
    bottom: 86px;
    width: 48px;
    height: 56px;
    font-size: 34px;
    transform: none;
  }

  .land-detail-nav-prev {
    left: 16px;
  }

  .land-detail-nav-next {
    right: 16px;
  }

  .land-detail-grid {
    gap: 8px;
  }

  .land-detail-grid article {
    padding: 14px;
  }

  .land-detail-specs div {
    grid-template-columns: 1fr;
  }

  .land-detail-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .land-detail-actions .button,
  .land-detail-actions .auth-gold-button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .auth-header {
    padding: 14px 20px;
  }

  .auth-logo img {
    width: 150px;
  }

  .auth-page-main {
    width: min(100% - 28px, 720px);
  }

  .auth-layout-v2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mypage-hero,
  .mypage-grid,
  .mypage-form-grid {
    grid-template-columns: 1fr;
  }

  .mypage-hero {
    align-items: flex-start;
    flex-direction: column;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 246, 0.94) 100%),
      url("/assets/tatemiru-hero-home.jpg") right bottom / 320px auto no-repeat;
  }

  .mypage-grid {
    display: grid;
  }

  .auth-form-card {
    min-height: auto;
  }

  .login-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .auth-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .auth-header-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .auth-nav-link {
    font-size: 12px;
  }

  .auth-nav-icon {
    font-size: 18px;
  }

  .auth-form-card {
    padding: 24px 18px;
  }

  .mypage-hero,
  .mypage-card {
    padding: 22px 18px;
  }

  .mypage-hero h1 {
    font-size: 30px;
  }

  .mypage-logout,
  .auth-gold-button.compact {
    width: 100%;
  }

  .mypage-action-card img {
    width: calc(100% + 36px);
    height: 160px;
    margin: -22px -18px 18px;
  }

  .auth-form-v2 h1 {
    font-size: 27px;
  }

  .auth-field,
  .auth-login-form .auth-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .auth-name-grid {
    grid-template-columns: 1fr;
  }

  .auth-benefit-card,
  .login-feature-grid article {
    padding: 18px;
  }

  .login-hero,
  .login-hero img {
    min-height: 280px;
    height: 280px;
  }

  .login-hero h2 {
    top: 28px;
    left: 22px;
    font-size: 22px;
  }
}
