.rics-brand-page {
  --rb-bg: #fbfaf7;
  --rb-paper: #fff;
  --rb-soft: #f3eee7;
  --rb-soft-2: #ede6dc;
  --rb-line: #ded5c8;
  --rb-ink: #2f2b26;
  --rb-muted: #6f665b;
  --rb-gold: #a48552;
  --rb-gold-dark: #71562b;
  --rb-focus: #5e4622;
  color: var(--rb-ink);
  background: var(--rb-bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.85;
}

body.rb-body {
  margin: 0;
  color: #2f2b26;
  background: #fbfaf7;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.8;
}

.rb-site-header,
.rb-site-footer {
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid #ded5c8;
}

.rb-site-footer {
  margin-top: 0;
  border-top: 1px solid #ded5c8;
  border-bottom: 0;
}

.rb-site-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.rb-site-header__inner,
.rb-site-footer__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rb-site-brand {
  color: #2f2b26;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: .03em;
  text-decoration: none;
}

.rb-site-nav {
  display: flex;
  gap: 22px;
  color: #6f665b;
  font-size: .93rem;
}

.rb-site-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.rb-site-nav a:hover {
  border-color: currentColor;
}

.rb-skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10;
  padding: 8px 12px;
  background: #2f2b26;
  color: #fff;
}

.rb-skip-link:focus {
  top: 12px;
}

.rb-breadcrumb {
  margin: 22px auto 0;
  color: #6f665b;
  font-size: .9rem;
}

.rb-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rb-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #aaa096;
}

.rb-breadcrumb a {
  color: inherit;
}

.rics-brand-page *,
.rics-brand-page *::before,
.rics-brand-page *::after {
  box-sizing: border-box;
}

.rics-brand-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rics-brand-page a {
  color: inherit;
  text-underline-offset: .22em;
}

.rics-brand-page a:focus-visible {
  outline: 3px solid var(--rb-focus);
  outline-offset: 4px;
}

.rb-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.rb-eyebrow {
  margin: 0 0 8px;
  color: var(--rb-gold-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rb-section {
  padding: 72px 0;
}

.rb-section + .rb-section {
  border-top: 1px solid rgba(222, 213, 200, .72);
}

.rb-heading {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: 0;
}

.rb-lead {
  max-width: 760px;
  margin: 0;
  color: var(--rb-muted);
  font-size: 1.02rem;
}

.rb-hero {
  padding: 34px 0 76px;
}

.rb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
}

.rb-hero__copy {
  padding: 30px 0;
}

.rb-hero h1 {
  margin: 8px 0 20px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

.rb-hero__main {
  margin: 0 0 12px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.65;
}

.rb-hero__sub {
  margin: 0 0 22px;
  color: #4f473f;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.rb-hero__desc {
  max-width: 560px;
  margin: 0;
  color: var(--rb-muted);
}

.rb-hero__image {
  overflow: hidden;
  background: var(--rb-soft);
  border: 1px solid var(--rb-line);
}

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

.rb-intro {
  padding: 28px 0 0;
}

.rb-intro__box {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  background: var(--rb-paper);
  border: 1px solid var(--rb-line);
}

.rb-intro__box p {
  margin: 0;
  color: var(--rb-muted);
}

.rb-concern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.rb-concern-card {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: var(--rb-paper);
  border: 1px solid var(--rb-line);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.rb-concern-card:hover {
  border-color: var(--rb-gold);
  transform: translateY(-2px);
}

.rb-concern-card__num {
  color: var(--rb-gold-dark);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.rb-concern-card__series {
  color: var(--rb-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rb-concern-card h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.rb-concern-card p {
  margin: 0;
  color: var(--rb-muted);
  font-size: .96rem;
}

.rb-series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.rb-series-card {
  display: grid;
  grid-template-columns: minmax(180px, .82fr) minmax(0, 1fr);
  min-height: 310px;
  overflow: hidden;
  background: var(--rb-paper);
  border: 1px solid var(--rb-line);
}

.rb-series-card:nth-child(3n) {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
}

.rb-series-card__image {
  background: var(--rb-soft);
}

.rb-series-card__image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.rb-series-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px;
}

.rb-series-card h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.rb-series-card h3 span {
  color: var(--rb-muted);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.rb-series-card__label {
  width: fit-content;
  margin: 0;
  padding: 3px 9px;
  border: 1px solid rgba(164, 133, 82, .5);
  color: var(--rb-gold-dark);
  font-size: .82rem;
  font-weight: 700;
}

.rb-series-card__catch {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  line-height: 1.65;
}

.rb-series-card__text,
.rb-series-card__meta {
  margin: 0;
  color: var(--rb-muted);
  font-size: .96rem;
}

.rb-button {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid var(--rb-gold);
  background: #fffaf1;
  color: var(--rb-gold-dark);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.rb-compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  border: 1px solid var(--rb-line);
  background: var(--rb-paper);
}

.rb-compare th,
.rb-compare td {
  padding: 16px;
  border: 1px solid var(--rb-line);
  color: var(--rb-muted);
  text-align: left;
  vertical-align: top;
}

.rb-compare th {
  color: var(--rb-ink);
  font-weight: 700;
}

.rb-compare thead th {
  background: var(--rb-soft);
  font-size: .9rem;
}

.rb-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rb-category-chips a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  background: var(--rb-paper);
  border: 1px solid var(--rb-line);
  color: #4f473f;
  text-decoration: none;
}

.rb-category-chips a:hover {
  border-color: var(--rb-gold);
}

.rb-message {
  background: linear-gradient(180deg, var(--rb-bg), #f5f0e8);
}

.rb-message__body {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.rb-message__body p {
  margin: 18px 0 0;
  color: var(--rb-muted);
}

.rb-store-intro {
  padding-bottom: 34px;
}

.rb-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.rb-journal-link {
  background: #fffdf8;
}

.rb-journal-link__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.rb-button--primary {
  background: var(--rb-gold-dark);
  color: #fff;
  border-color: var(--rb-gold-dark);
}

@media (max-width: 920px) {
  .rb-hero__grid,
  .rb-intro__box,
  .rb-series-card,
  .rb-series-card:nth-child(3n) {
    grid-template-columns: 1fr;
  }

  .rb-concern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-series-grid {
    grid-template-columns: 1fr;
  }

  .rb-series-card:nth-child(3n) {
    grid-column: auto;
  }

  .rb-compare,
  .rb-compare thead,
  .rb-compare tbody,
  .rb-compare tr,
  .rb-compare th,
  .rb-compare td {
    display: block;
  }

  .rb-compare {
    border: 0;
    background: transparent;
  }

  .rb-compare thead {
    display: none;
  }

  .rb-compare tr {
    padding: 18px;
    margin-top: 14px;
    background: var(--rb-paper);
    border: 1px solid var(--rb-line);
  }

  .rb-compare th,
  .rb-compare td {
    padding: 0;
    border: 0;
  }

  .rb-compare td + td,
  .rb-compare th + td {
    margin-top: 10px;
  }

  .rb-compare td::before {
    content: attr(data-label) "：";
    font-weight: 700;
    color: var(--rb-ink);
  }

  .rb-journal-link__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .rb-site-shell,
  .rb-shell {
    width: min(100% - 28px, 1120px);
  }

  .rb-site-header__inner,
  .rb-site-footer__inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .rb-site-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .rb-section {
    padding: 54px 0;
  }

  .rb-hero {
    padding: 20px 0 56px;
  }

  .rb-hero__grid {
    gap: 24px;
  }

  .rb-hero__copy,
  .rb-intro__box,
  .rb-series-card__body {
    padding: 20px 0;
  }

  .rb-intro__box {
    padding: 22px;
  }

  .rb-concern-grid {
    grid-template-columns: 1fr;
  }

  .rb-concern-card {
    min-height: 0;
  }

  .rb-category-chips a {
    width: 100%;
  }

  .rb-store-actions .rb-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rb-concern-card {
    transition: none;
  }
}
