* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; color: #1c1917; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 32px 0; }
.hero-wrap { background: #fafaf9; border-bottom: 1px solid #e7e5e4; }
.topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(255,255,255,.92); border-bottom: 1px solid #e7e5e4; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.brand-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.brand-sub { margin-top: 4px; color: #78716c; font-size: 14px; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; padding: 14px 18px; font-weight: 700; transition: .2s ease; border: 1px solid transparent; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: #1c1917; color: #fff; }
.btn-dark-outline { border-color: #d6d3d1; background: #fff; color: #44403c; }
.btn-gold { background: #f59e0b; color: #1c1917; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 0.95fr; gap: 28px; padding: 36px 0; }
.hero-card { background: linear-gradient(135deg,#1c1917,#292524 55%,#44403c); color: white; padding: 36px; border-radius: 28px; box-shadow: 0 24px 50px rgba(0,0,0,.22); }
.hero-badge, .pill { display: inline-flex; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.hero-badge { background: rgba(255,255,255,.1); color: #e7e5e4; }
.hero-title { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 18px 0; white-space: pre-line; letter-spacing: -.03em; }
.hero-text { color: #d6d3d1; line-height: 1.9; max-width: 780px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.search-card { background: #fff; padding: 26px; border: 1px solid #e7e5e4; border-radius: 28px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.kicker { color: #b45309; font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.h2 { font-size: 36px; margin: 8px 0 0; letter-spacing: -.02em; }
.muted { color: #57534e; line-height: 1.9; }
.form-grid, .admin-form-grid { display: grid; gap: 14px; }
.input, .select, .textarea { width: 100%; border: 1px solid #d6d3d1; border-radius: 14px; padding: 13px 14px; background: #fff; }
.textarea { min-height: 150px; resize: vertical; }
.pills { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { border: 1px solid #d6d3d1; background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.04); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid #e7e5e4; border-radius: 28px; overflow: hidden; box-shadow: 0 14px 35px rgba(0,0,0,.08); }
.card-image { height: 220px; background: #e7e5e4; object-fit: cover; width: 100%; }
.card-body { padding: 24px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag { padding: 6px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; background: #1c1917; color: #fff; }
.tag-gold { background: #fef3c7; color: #92400e; }
.price { font-size: 22px; font-weight: 800; }
.card-title { font-size: 24px; font-weight: 800; line-height: 1.35; margin: 16px 0 8px; }
.card-meta { color: #78716c; font-size: 14px; line-height: 1.8; }
.alt-bg { background: #fafaf9; border-top: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4; }
.owner-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.owner-dark { background: #1c1917; color: white; padding: 34px; border-radius: 28px; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.owner-light { background: #fff; padding: 34px; border-radius: 28px; border: 1px solid #e7e5e4; box-shadow: 0 14px 35px rgba(0,0,0,.08); }
.owner-list { display: grid; gap: 10px; margin-top: 18px; }
.owner-item { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); padding: 12px 14px; border-radius: 16px; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; }
.contact-box { background: #fff; border: 1px solid #e7e5e4; border-radius: 20px; box-shadow: 0 8px 20px rgba(0,0,0,.05); padding: 18px; line-height: 1.9; color: #57534e; }
.flash { padding: 14px 16px; border-radius: 16px; margin-bottom: 14px; font-weight: 700; }
.flash-success { background: #ecfdf5; color: #166534; border: 1px solid #86efac; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.flash-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #93c5fd; }
.admin-wrap { background: #fffbeb; border-bottom: 1px solid #fde68a; }
.admin-panel { padding: 24px 0 36px; }
.admin-section { background: #fff; border: 1px solid #e7e5e4; border-radius: 24px; box-shadow: 0 10px 24px rgba(0,0,0,.05); padding: 22px; margin-bottom: 22px; }
.admin-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid #e7e5e4; text-align: left; vertical-align: top; font-size: 14px; }
.table th { color: #78716c; font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.help { font-size: 13px; color: #78716c; line-height: 1.7; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(180deg,#fafaf9,#f5f5f4); }
.login-card { width: min(460px, calc(100% - 32px)); background: #fff; border: 1px solid #e7e5e4; border-radius: 24px; padding: 28px; box-shadow: 0 20px 45px rgba(0,0,0,.08); }
@media (max-width: 960px) {
  .hero-grid, .owner-grid, .contact-grid, .cards, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .topbar-inner { align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; flex-wrap: wrap; }
  .brand-title { font-size: 24px; }
}


.site-footer{background:#1c1917;color:#fff;padding:54px 0 58px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:28px}
.footer-title{font-size:14px;font-weight:800;letter-spacing:.12em;color:#fde68a;text-transform:uppercase;margin-bottom:12px}
.footer-links{display:grid;gap:10px}
.footer-links a{color:#fff;text-decoration:none}
.footer-links a:hover{text-decoration:underline}
.footer-meta{display:grid;gap:10px;color:#d6d3d1}
.page-hero{max-width:860px}
.page-title{font-size:44px;line-height:1.15;margin:10px 0 0}
.page-lead{margin:18px 0 0;color:#57534e;font-size:18px;line-height:1.9;max-width:820px}
.page-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:26px}
.panel{background:#fff;border:1px solid #e7e5e4;border-radius:28px;padding:32px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.profile-table{display:grid;gap:0;margin-top:18px;border-top:1px solid #e7e5e4}
.profile-row{display:grid;grid-template-columns:180px 1fr;border-bottom:1px solid #e7e5e4}
.profile-th{background:#fafaf9;padding:16px 18px;font-weight:700}
.profile-td{padding:16px 18px;line-height:1.8}
.check-list{margin:18px 0 0;padding-left:22px;color:#44403c;line-height:1.9}
.check-list li{margin-bottom:8px}
.message-box{margin-top:24px;padding:22px;border-radius:22px;background:#fafaf9;border:1px solid #e7e5e4}
.cta-box{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e7e5e4;border-radius:28px;background:#fff;padding:28px 32px;box-shadow:0 10px 24px rgba(0,0,0,.04)}
.legal-panel{display:grid;gap:18px}
.legal-block{background:#fff;border:1px solid #e7e5e4;border-radius:24px;padding:24px 26px;box-shadow:0 8px 20px rgba(0,0,0,.04)}
.legal-block h2{margin:0 0 12px;font-size:24px}
.legal-block p,.legal-block li{color:#44403c;line-height:1.9}
.legal-block ul{margin:10px 0 0;padding-left:24px}
@media (max-width: 920px){
  .footer-grid,.page-grid{grid-template-columns:1fr}
  .profile-row{grid-template-columns:1fr}
  .cta-box{flex-direction:column;align-items:flex-start}
}
