:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #1a2332;
  --muted: #5c6b7a;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
[data-brand="hyosan"] {
  --accent: #1e5a9e;
  --accent-hover: #164a85;
  --accent-soft: #e8f1fb;
}
[data-brand="eroom"] {
  --accent: #5b21b6;
  --accent-hover: #4c1d95;
  --accent-soft: #f3e8ff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-page {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header-inner,
.site-main,
.site-footer-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  flex-wrap: wrap;
}
.site-logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: var(--accent); }
.site-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-left: 0.35rem;
  vertical-align: middle;
}
.site-main { padding: 1.5rem 1.25rem 3rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.breadcrumb-sep {
  color: var(--muted);
  user-select: none;
}
.nearby-regions .chip {
  border-color: var(--accent-soft);
  background: var(--surface);
}
.page-hero {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--surface) 55%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.page-hero-banner {
  position: relative;
  margin: -1.5rem -1.35rem 1rem;
  min-height: 220px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, white), #ffffff 58%),
    var(--accent-soft);
  overflow: hidden;
}
.page-hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  color: var(--text);
}
.page-hero-visual::before {
  content: "";
  width: min(190px, 32vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.page-hero-visual-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.1);
}
.page-hero-visual-title {
  margin: 0 0 0.45rem;
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.35rem);
  line-height: 1.35;
  word-break: keep-all;
}
.page-hero-visual-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.page-hero-banner img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 400;
  object-fit: contain;
  display: block;
}
.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  line-height: 1.35;
  word-break: keep-all;
}
.page-hero .lead { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.page-meta span {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.btn-row, .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn-outline {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--text);
}
.card p { margin: 0.4rem 0; color: var(--muted); font-size: 0.92rem; }
.card p strong { color: var(--text); }
.intro-card .category-note { font-size: 0.82rem; margin-top: 0.75rem; }
.listing-card-plain {
  grid-template-columns: 1fr;
}
.listing-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.listing-media {
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.listing-body {
  padding: 1.1rem 1.15rem;
}
.listing-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.45;
}
.listing-card h2 strong { color: var(--accent); font-size: 1.12rem; }
.section-title {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-soft);
}
.listings-section { margin: 1.5rem 0; }
.consult-card h2 { margin-top: 0; }
.listing-card dl {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.listing-card dt {
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.listing-card dd { margin: 0 0 0.5rem; color: var(--muted); }
.quick-consult {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
}
.quick-consult a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}
.quick-consult a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  margin: 1.5rem 0;
}
.faq h2 { margin-top: 0; font-size: 1.15rem; }
.faq dt {
  font-weight: 600;
  margin-top: 1rem;
  color: var(--text);
}
.faq dd { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 2rem 0 1rem;
}
.pagination a {
  min-width: 2.25rem;
  text-align: center;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.pagination a:hover,
.pagination a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}
.related-chips-section { margin: 1.5rem 0 0.5rem; }
.related-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.related-chips .chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.related-chips .chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}
.site-footer {
  background: #1a2332;
  color: #cbd5e1;
  margin-top: 2.5rem;
  padding: 2rem 0;
  font-size: 0.9rem;
}
.site-footer a { color: #93c5fd; }
.site-footer strong { color: #f8fafc; }
.site-footer-inner p { margin: 0.35rem 0; }
.site-footer .btn-primary { margin-top: 0.75rem; }
.coupang-wrap {
  margin: 1rem 0;
  padding: 0.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.coupang-wrap iframe { max-width: 100%; border-radius: 8px; }
.empty-listings {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  background: var(--accent-soft);
  border-radius: var(--radius);
  margin: 1rem 0;
}
.empty-listings-img {
  width: 100%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  margin: 0 auto 1rem;
  display: block;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .btn-row .btn { flex: 1 1 calc(50% - 0.3rem); min-width: 0; }
  .listing-card {
    grid-template-columns: 1fr;
  }
  .listing-body { padding: 1rem 1.1rem 1.15rem; }
  .listing-media img { max-width: 100%; }
}