:root {
  --br-navy: #102a56;
  --br-navy-deep: #091a39;
  --br-teal: #079aaa;
  --br-teal-dark: #087b88;
  --br-teal-soft: #e5f5f5;
  --br-yellow: #f5b82e;
  --br-paper: #f7f6f2;
  --br-white: #fff;
  --br-ink: #17233a;
  --br-muted: #627086;
  --br-line: #dbe1e7;
  --br-shell: min(1160px, calc(100% - 40px));
  --br-shadow: 0 14px 38px rgba(16, 42, 86, .09);
}

.byemo-renewal-front,
.byemo-renewal-front #body_wrap { background: var(--br-paper) !important; color: var(--br-ink); }
.byemo-renewal-front .l-content,
.byemo-renewal-front .l-mainContent,
.byemo-renewal-front .l-mainContent__inner { width: 100%; max-width: none; margin: 0; padding: 0; }

.br-main, .br-main * { box-sizing: border-box; }
.br-main { overflow: hidden; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.br-shell { width: var(--br-shell); margin-inline: auto; }

.br-market-hero { border-bottom: 1px solid var(--br-line); background: linear-gradient(122deg, rgba(7,154,170,.08), transparent 52%), #fff; }
.br-market-hero__inner { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 54px; padding: 60px 0 56px; }
.br-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; color: var(--br-teal-dark); font-size: .72rem; font-weight: 900; letter-spacing: .11em; }
.br-kicker::before { width: 27px; height: 3px; border-radius: 99px; background: var(--br-yellow); content: ""; }
.br-market-hero h1 { margin: 0; color: var(--br-navy); font-size: clamp(2.65rem, 5vw, 4.65rem); font-weight: 900; line-height: 1.12; letter-spacing: -.065em; }
.br-market-hero h1 em { color: var(--br-teal); font-style: normal; }
.br-market-hero__copy > p:last-child { max-width: 520px; margin: 22px 0 0; color: #44536a; font-size: .9rem; font-weight: 500; line-height: 1.9; }
.br-quick-search { padding: 28px; border: 1px solid var(--br-line); border-radius: 20px; background: #fff; box-shadow: 0 24px 55px rgba(16,42,86,.13); }
.br-quick-search > strong { display: block; margin-bottom: 17px; color: var(--br-navy); font-size: 1.08rem; }
.br-quick-search__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 10px; }
.br-quick-search label span { display: block; margin: 0 0 6px 2px; color: var(--br-muted); font-size: .66rem; font-weight: 800; }
.br-quick-search input, .br-quick-search select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #ccd5df; border-radius: 9px; background: #fafbfc; color: var(--br-ink); font-size: .82rem; }
.br-quick-search button { align-self: end; height: 48px; padding: 0 18px; border: 0; border-radius: 9px; background: var(--br-navy); color: #fff; font-size: .78rem; font-weight: 900; cursor: pointer; white-space: nowrap; }
.br-quick-search button span { margin-left: 8px; color: var(--br-yellow); }
.br-quick-search__links { display: flex; gap: 20px; margin-top: 15px; }
.br-quick-search__links a { color: var(--br-teal-dark); font-size: .7rem; font-weight: 800; text-decoration: none; }

.br-livebar { background: var(--br-navy); color: #fff; }
.br-livebar__inner { display: flex; min-height: 48px; align-items: center; gap: 20px; overflow: hidden; white-space: nowrap; }
.br-livebar__inner > strong { flex: 0 0 auto; padding: 5px 9px; border-radius: 4px; background: var(--br-yellow); color: var(--br-navy); font-size: .69rem; }
.br-livebar__track { display: flex; color: #e5ebf4; font-size: .74rem; font-weight: 700; }
.br-livebar__track span::after { margin: 0 20px; color: var(--br-teal); content: "●"; font-size: .48rem; vertical-align: middle; }

.br-latest { padding: 72px 0 80px; }
.br-makes { padding: 0 0 80px; }
.br-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.br-section-heading > div > span, .br-section-heading > span { color: var(--br-teal-dark); font-size: .64rem; font-weight: 900; letter-spacing: .2em; }
.br-section-heading h2 { margin: 7px 0 0; color: var(--br-navy); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; letter-spacing: -.045em; }
.br-section-heading p { max-width: 440px; margin: 0; color: var(--br-muted); font-size: .8rem; line-height: 1.75; }
.br-section-heading__side { display: flex; align-items: end; gap: 23px; }
.br-section-heading__side a { color: var(--br-teal-dark); font-size: .76rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.br-car-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.br-car-grid .byemo-card { overflow: hidden; border: 1px solid var(--br-line) !important; border-radius: 13px !important; box-shadow: 0 8px 24px rgba(16,42,86,.07) !important; transition: transform .18s, box-shadow .18s; }
.br-car-grid .byemo-card:hover { box-shadow: var(--br-shadow) !important; transform: translateY(-4px); }
.br-more { margin-top: 29px; text-align: center; }
.br-empty { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px; border: 1px solid var(--br-line); border-radius: 16px; background: #fff; }

.br-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 16px; padding: 12px 23px; border: 2px solid var(--br-navy); border-radius: 10px; font-size: .82rem; font-weight: 900; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.br-button:hover { transform: translateY(-2px); }
.br-button--navy { background: var(--br-navy); color: #fff; }
.br-button--navy:hover { color: #fff; }
.br-button--yellow { border-color: var(--br-yellow); background: var(--br-yellow); color: var(--br-navy); }
.br-button--yellow:hover { color: var(--br-navy); }
.br-button--light { border-color: rgba(255,255,255,.5); background: #fff; color: var(--br-navy); }
.br-button--light:hover { color: var(--br-navy); }

.br-make-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.br-make-list a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 17px; border: 1px solid var(--br-line); border-radius: 11px; background: #fff; color: var(--br-navy); text-decoration: none; transition: border .18s, transform .18s; }
.br-make-list a:hover { border-color: var(--br-teal); color: var(--br-navy); transform: translateY(-2px); }
.br-make-list span { color: var(--br-muted); font-size: .68rem; }
.br-make-list b { color: var(--br-teal-dark); }

.br-paths { padding: 78px 0 88px; background: #fff; }
.br-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.br-path-card { position: relative; display: flex; min-height: 350px; overflow: hidden; align-items: center; padding: 36px; border-radius: 22px; }
.br-path-card > div:first-child { position: relative; z-index: 3; width: 62%; }
.br-path-card small { color: var(--br-teal-dark); font-size: .66rem; font-weight: 900; letter-spacing: .18em; }
.br-path-card h3 { margin: 12px 0; color: var(--br-navy); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.25; letter-spacing: -.045em; }
.br-path-card p { margin: 0 0 22px; color: #506078; font-size: .82rem; line-height: 1.8; }
.br-path-card a { color: var(--br-navy); font-size: .82rem; font-weight: 900; text-decoration: none; }
.br-path-card--seller { background: var(--br-teal-soft); }
.br-path-card--seller img { position: absolute; right: -105px; bottom: -20px; width: 65%; max-width: none; }
.br-path-card--buyer { background: #f7e8b9; }
.br-path-card__mark { position: absolute; right: 38px; display: grid; width: 125px !important; height: 125px; place-items: center; border: 12px solid rgba(16,42,86,.13); border-radius: 50%; color: var(--br-navy); font-size: 4.2rem; font-weight: 900; transform: rotate(8deg); }

.br-community { padding: 79px 0; background: linear-gradient(135deg, var(--br-navy), var(--br-navy-deep)); color: #fff; }
.br-community__inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 65px; }
.br-community__inner > div > span { color: var(--br-yellow); font-size: .64rem; font-weight: 900; letter-spacing: .18em; }
.br-community h2 { margin: 10px 0 14px; color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; line-height: 1.22; letter-spacing: -.05em; }
.br-community p { margin: 0; color: #dce5f1; font-size: .84rem; line-height: 1.9; }
.br-community ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.br-community li { min-height: 155px; padding: 23px 19px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.08); }
.br-community li strong { display: block; margin-bottom: 11px; color: #fff; font-size: 1rem; }
.br-community li span { color: #d2dcea; font-size: .71rem; line-height: 1.7; }

.br-dual-cta { background: var(--br-teal); color: #fff; }
.br-dual-cta__inner { display: grid; grid-template-columns: 1fr 1fr; }
.br-dual-cta__inner > div { padding: 54px 7%; }
.br-dual-cta__inner > div:first-child { border-right: 1px solid rgba(255,255,255,.28); }
.br-dual-cta small { color: var(--br-yellow); font-size: .62rem; font-weight: 900; letter-spacing: .18em; }
.br-dual-cta h2 { margin: 8px 0; color: #fff; font-size: 2rem; font-weight: 900; }
.br-dual-cta p { min-height: 46px; margin: 0 0 20px; color: #e8f7f8; font-size: .8rem; }

@media (max-width: 960px) {
  .br-market-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .br-quick-search__row { grid-template-columns: repeat(3, 1fr); }
  .br-quick-search button { grid-column: 1 / -1; }
  .br-car-grid { grid-template-columns: repeat(3, 1fr); }
  .br-community__inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 650px) {
  :root { --br-shell: min(100% - 28px, 1160px); }
  .br-market-hero__inner { padding: 39px 0 37px; }
  .br-market-hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .br-quick-search { padding: 19px; }
  .br-quick-search__row { grid-template-columns: 1fr; }
  .br-quick-search button { grid-column: auto; }
  .br-quick-search__links { display: grid; gap: 9px; }
  .br-livebar__inner { width: 100%; padding-inline: 14px; }
  .br-livebar__track { overflow: hidden; }
  .br-latest { padding-top: 56px; }
  .br-section-heading, .br-section-heading__side { display: block; }
  .br-section-heading p, .br-section-heading__side a { display: inline-block; margin-top: 11px; }
  .br-car-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .br-make-list { grid-template-columns: 1fr 1fr; }
  .br-path-grid { grid-template-columns: 1fr; }
  .br-path-card { min-height: 300px; padding: 27px; }
  .br-path-card > div:first-child { width: 70%; }
  .br-path-card--seller img { right: -85px; width: 72%; }
  .br-path-card__mark { right: 22px; width: 90px !important; height: 90px; font-size: 3rem; }
  .br-community ul { grid-template-columns: 1fr; }
  .br-community li { min-height: 0; }
  .br-dual-cta__inner { grid-template-columns: 1fr; }
  .br-dual-cta__inner > div { padding: 45px 4%; }
  .br-dual-cta__inner > div:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
}
