:root {
  --rb-site-line: rgba(255, 255, 255, .18);
  --rb-site-max: 1180px;
  --rb-site-gold: var(--rb-gold, #73b6ed);
  --rb-site-bg: #050505;
  --rb-site-panel: #090909;
}

.reborn-information-site,
.reborn-conversion-lp {
  overflow-x: clip;
}

.reborn-information-site *,
.reborn-information-site *::before,
.reborn-information-site *::after,
.reborn-conversion-lp *,
.reborn-conversion-lp *::before,
.reborn-conversion-lp *::after {
  box-sizing: border-box;
}

.reborn-information-site :where(img, picture, video, iframe),
.reborn-conversion-lp :where(img, picture, video, iframe) {
  max-width: 100%;
}

.rb-site-inner {
  width: min(calc(100% - 40px), var(--rb-site-max));
  min-width: 0;
  margin-inline: auto;
}

/* The site header participates in normal page flow and never follows scroll. */
.site-header,
.admin-bar .site-header {
  position: relative;
  z-index: 1000;
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
  background: rgba(0, 0, 0, .98);
  border-bottom: 1px solid var(--rb-site-line);
  backdrop-filter: none;
}

/* TOP keeps the established HERO overlay but still scrolls away with the page. */
.reborn-site-top .site-header,
.admin-bar.reborn-site-top .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .98), rgba(0, 0, 0, .72) 66%, transparent);
  border-bottom: 0;
}

.admin-bar.reborn-site-top .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar.reborn-site-top .site-header {
    top: 46px;
  }
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), 1320px);
  min-width: 0;
  min-height: 74px;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
}

.site-brand {
  position: relative;
  display: block;
  width: 185px;
  height: 44px;
  min-width: 0;
  flex: 0 0 auto;
  overflow: hidden;
}

.site-brand img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
}

.site-nav {
  position: static;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-nav__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .06em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--rb-site-gold);
}

.site-nav a:focus-visible,
.site-menu-toggle:focus-visible {
  outline: 2px solid var(--rb-site-gold);
  outline-offset: 3px;
}

.site-nav__price,
.site-nav__reserve,
.site-nav__returning {
  min-height: 44px;
  padding: 9px 15px;
  border-radius: 0;
  background: #080808;
  box-shadow: none;
}

.site-nav__price {
	border: 1px solid #315f8c;
	background: linear-gradient(135deg, #173f6d 0%, #0a2039 55%, #050505 100%);
	color: #fff;
}

.site-nav__reserve,
.site-nav__returning {
	border: 1px solid var(--rb-site-gold);
	background: linear-gradient(135deg, #06155b 0%, #0a2bbd 100%);
	color: #fff;
}

.site-nav__price:hover,
.site-nav__price:focus-visible {
	border-color: #4d7ba8;
	background: linear-gradient(135deg, #205183 0%, #10304f 55%, #080808 100%);
	color: #fff;
}

.site-nav__reserve:hover,
.site-nav__reserve:focus-visible,
.site-nav__returning:hover,
.site-nav__returning:focus-visible {
	border-color: #aedcff;
	background: linear-gradient(135deg, #0a237d 0%, #123bd5 100%);
	color: #fff;
}

.site-menu-toggle {
  display: none;
  min-width: 72px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 0;
  background: #080808;
  color: #fff;
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
}

.site-header.is-menu-open .site-menu-toggle {
  border-color: var(--rb-site-gold);
  color: var(--rb-site-gold);
}

/* Large English label, compact Japanese H1. */
.rb-page-heading {
  padding: 38px 0 32px;
  border-bottom: 1px solid var(--rb-site-line);
  background: var(--rb-site-panel);
}

.rb-page-heading__title {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.rb-page-heading__title::before,
.rb-page-heading__title::after {
  content: none;
}

.rb-page-heading__title > span {
  display: block;
}

.rb-page-heading__en {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .12em;
  overflow-wrap: anywhere;
}

.rb-page-heading .rb-page-heading__jp {
  margin: 8px 0 0;
  color: var(--rb-site-gold);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .16em;
  overflow-wrap: anywhere;
}

.rb-page-heading .rb-page-heading__lead {
  max-width: 800px;
  margin: 22px 0 0;
  color: #d0d0d0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rb-breadcrumbs {
  display: none;
}

/* Suppress only an inner heading already represented by the dedicated page H1. */
.rb-dedicated-page-heading-duplicate {
  display: none !important;
}

.reborn-page-works #section-191,
.reborn-page-works [data-reborn-works-heading],
.reborn-page-price #section-48,
.reborn-page-price #section-110,
.reborn-page-price #section-111,
.reborn-page-access .reborn-access__header,
.reborn-page-contact .reborn-contact__header {
  display: none !important;
}

.reborn-page-contact .reborn-contact::before {
  display: none !important;
  content: none !important;
}

.reborn-page-works .reborn-works-v2,
.reborn-page-access .reborn-access,
.reborn-page-contact .reborn-contact {
  padding-top: 36px;
}

/* Analytics-only marker; PASONA terminology is never customer-facing. */
.reborn-pasona-marker {
  display: block !important;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

/* On /wash/, WORKS cards are modal buttons rather than navigation links. */
.reborn-conversion-lp button.reborn-works-v2__link {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
}

.rb-price-gateway {
  padding: 60px 0;
  border-top: 1px solid var(--rb-site-line);
  background: #070707;
  text-align: center;
}

.rb-price-gateway__button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 28px;
	border: 1px solid #315f8c;
	border-radius: 0;
	background: linear-gradient(135deg, #173f6d 0%, #0a2039 55%, #050505 100%);
	box-shadow: none;
	color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.rb-price-gateway__button:hover,
.rb-price-gateway__button:focus-visible {
	border-color: #4d7ba8;
	background: linear-gradient(135deg, #205183 0%, #10304f 55%, #080808 100%);
	color: #fff;
}

/* Protection-film services are separated from the wash conversion path. */
.rb-film-service {
	padding: clamp(44px, 7vw, 82px) 0;
	background: #050505;
}

.rb-film-service + .rb-film-service {
	padding-top: 0;
}

.rb-film-service__card {
	display: grid;
	grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
	min-width: 0;
	border: 1px solid var(--rb-site-line);
	background: #090909;
}

.rb-film-service__brand {
	display: flex;
	min-height: 260px;
	align-items: center;
	justify-content: center;
	padding: clamp(30px, 5vw, 64px);
	border-right: 1px solid var(--rb-site-line);
	background: radial-gradient(circle at 50% 50%, rgba(49, 95, 140, .2), transparent 70%), #070707;
}

.rb-film-service__brand img {
	display: block;
	width: min(100%, 330px);
	height: auto;
}

.rb-film-service__brand span {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: .12em;
}

.rb-film-service__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 5vw, 64px);
}

.rb-film-service__content h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	line-height: 1.45;
}

.rb-film-service__content p {
	margin: 20px 0 0;
	color: #d0d0d0;
	line-height: 1.9;
}

.rb-film-service__content a {
	display: inline-flex;
	width: fit-content;
	min-height: 50px;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	padding: 11px 20px;
	border: 1px solid var(--rb-site-gold);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.rb-film-service__content a:is(:hover, :focus-visible) {
	background: var(--rb-site-gold);
	color: #050505;
}

/* Price calculator: remove the orphan rule and the unequal gold left edge. */
#reborn-price-module {
  max-width: 100%;
  overflow: clip;
}

#reborn-price-module .reborn-sizeclass__heading-line {
  display: none;
}

#reborn-price-module .reborn-sizeclass__form {
  max-width: 100%;
  border: 1px solid var(--rb-site-line);
  border-left-width: 1px;
  background: #090909;
  box-shadow: none;
}

#reborn-price-module :where(select, input, textarea, button) {
  max-width: 100%;
}

.reborn-price-page #reborn-price-module {
  scroll-margin-top: 20px;
}

.reborn-price-page .reborn-price-module__summary,
.reborn-price-page [data-price-module-close],
#reborn-price-module[data-price-module-persistent-open] > .reborn-price-module__summary {
  display: none;
}

/* Keep inherited conversion surfaces within the established black/white/gold palette. */
:is(.reborn-information-site, .reborn-conversion-lp) .reborn-price-first {
  background:
    radial-gradient(circle at 50% 0, rgba(115, 182, 237, .12), transparent 520px),
    var(--rb-site-bg);
}

:is(.reborn-information-site, .reborn-conversion-lp) .reborn-direct-reservation__eyebrow {
  color: var(--rb-site-gold);
}

.reborn-information-site .journal-service-bridge {
  background:
    radial-gradient(circle at 50% 0, rgba(115, 182, 237, .11), transparent 42%),
    #070707;
}

/* Remove legacy blue from every public conversion control. */
:is(.reborn-information-site, .reborn-conversion-lp)
  :is(
    .reborn-adaptive-cta__button,
    .reborn-direct-reservation__button,
    .reborn-reservation-cta__button,
    .journal-reservation__button,
    .reborn-contact__submit
  ) {
  border: 1px solid var(--rb-site-gold) !important;
  border-radius: 0 !important;
  background: #080808 !important;
  box-shadow: none !important;
  color: #fff !important;
}

:is(.reborn-information-site, .reborn-conversion-lp)
  :is(
    .reborn-adaptive-cta__button,
    .reborn-direct-reservation__button,
    .reborn-reservation-cta__button,
    .journal-reservation__button,
    .reborn-contact__submit
  ):is(:hover, :focus-visible) {
  border-color: var(--rb-site-gold) !important;
  background: var(--rb-site-gold) !important;
  color: #050505 !important;
  filter: none !important;
  transform: none !important;
}

:is(.reborn-information-site, .reborn-conversion-lp)
  :is(
    .reborn-adaptive-cta__button,
    .reborn-direct-reservation__button,
    .reborn-reservation-cta__button,
    .journal-reservation__button
  ):is(:hover, :focus-visible)
  :is(span, small, strong, .reborn-reservation-cta__eyebrow) {
  color: #050505 !important;
}

:is(.reborn-information-site, .reborn-conversion-lp) .reborn-contact__submit:disabled,
:is(.reborn-information-site, .reborn-conversion-lp) .reborn-contact__submit:disabled:is(:hover, :focus-visible) {
  border-color: rgba(255, 255, 255, .24) !important;
  background: #202020 !important;
  box-shadow: none !important;
  color: #888 !important;
  cursor: not-allowed;
  filter: none !important;
  opacity: 1;
  transform: none !important;
}

/* Inline returning-customer routes stay secondary: blue-to-gold frame only. */
:is(.reborn-information-site, .reborn-conversion-lp) .reborn-direct-reservation__button {
	border: 1px solid transparent !important;
	background:
		linear-gradient(#080808, #080808) padding-box,
		linear-gradient(135deg, #0a2bbd 0%, #73b6ed 100%) border-box !important;
	color: #fff !important;
}

:is(.reborn-information-site, .reborn-conversion-lp) .reborn-direct-reservation__button:is(:hover, :focus-visible) {
	border: 1px solid transparent !important;
	background:
		linear-gradient(#101010, #101010) padding-box,
		linear-gradient(135deg, #315f8c 0%, #aedcff 100%) border-box !important;
	color: #fff !important;
}

:is(.reborn-information-site, .reborn-conversion-lp) .reborn-direct-reservation__button:is(:hover, :focus-visible) :is(span, small, strong) {
	color: #fff !important;
}

/* Every price-calculator launcher uses the same blue-to-black treatment. */
:is(.reborn-information-site, .reborn-conversion-lp) .reborn-adaptive-cta__button {
	border-color: #315f8c !important;
	background: linear-gradient(135deg, #173f6d 0%, #0a2039 55%, #050505 100%) !important;
	color: #fff !important;
}

:is(.reborn-information-site, .reborn-conversion-lp) .reborn-adaptive-cta__button:is(:hover, :focus-visible) {
	border-color: #4d7ba8 !important;
	background: linear-gradient(135deg, #205183 0%, #10304f 55%, #080808 100%) !important;
	color: #fff !important;
}

:is(.reborn-information-site, .reborn-conversion-lp) .reborn-adaptive-cta__button:is(:hover, :focus-visible) :is(span, small, strong) {
	color: #fff !important;
}

/* The calculator's final confirmation action uses the same blue hierarchy. */
:is(.reborn-information-site, .reborn-conversion-lp) #reborn-sizeclass-calculate.reborn-sizeclass__button--primary {
	border-color: #315f8c;
	background: linear-gradient(135deg, #173f6d 0%, #0a2039 55%, #050505 100%);
	color: #fff;
}

:is(.reborn-information-site, .reborn-conversion-lp) #reborn-sizeclass-calculate.reborn-sizeclass__button--primary:is(:hover, :focus-visible) {
	border-color: #4d7ba8;
	background: linear-gradient(135deg, #205183 0%, #10304f 55%, #080808 100%);
	color: #fff;
}

:is(.reborn-information-site, .reborn-conversion-lp) #reborn-sizeclass-calculate.reborn-sizeclass__button--primary:disabled {
	border-color: #333;
	background: #191919;
	color: #777;
}

/* JOURNAL's returning-customer reservation is the same blue-and-gold route. */
.reborn-information-site .journal-reservation__button {
	border-color: var(--rb-site-gold) !important;
	background: linear-gradient(135deg, #06155b 0%, #0a2bbd 100%) !important;
	color: #fff !important;
}

.reborn-information-site .journal-reservation__button:is(:hover, :focus-visible) {
	border-color: #aedcff !important;
	background: linear-gradient(135deg, #0a237d 0%, #123bd5 100%) !important;
	color: #fff !important;
}

.reborn-information-site .journal-reservation__button:is(:hover, :focus-visible) :is(span, small, strong) {
	color: #fff !important;
}

.reborn-conversion-lp .site-footer {
  padding: 24px 20px;
  border-top: 1px solid var(--rb-site-line);
  text-align: center;
}

.reborn-conversion-lp .site-footer__nav,
.reborn-conversion-lp .site-footer__brand {
  display: none;
}

.reborn-conversion-lp .site-footer__identity span {
  color: #aaa;
  font-size: .75rem;
}

/* TOP is an information hub: representative services, then one detail link. */
.rb-service-overview {
  padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid var(--rb-site-line);
  background: #050505;
  color: #fff;
}

.rb-service-overview__header {
  margin-bottom: 34px;
  text-align: center;
}

.rb-service-overview__title {
  margin: 0;
  font: inherit;
}

.rb-service-overview__title > span {
  display: block;
}

.rb-service-overview__en {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .12em;
}

.rb-service-overview__jp {
  margin-top: 8px;
  color: var(--rb-site-gold);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.rb-service-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.rb-service-overview__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--rb-site-line);
  background: #090909;
}

.rb-service-overview__card:first-child {
  grid-row: 1 / span 2;
}

.rb-service-overview__media {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--rb-site-line);
  background: #000;
}

.rb-service-overview__media--photo {
  aspect-ratio: 4 / 3;
}

.rb-service-overview__media--diagram {
  aspect-ratio: 4.1 / 1;
}

.rb-service-overview__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-service-overview__media--diagram img {
  object-fit: contain;
}

.rb-service-overview__body {
  flex: 1 1 auto;
  padding: 24px 22px 26px;
}

.rb-service-overview__body h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: .08em;
}

.rb-service-overview__body p {
  margin: 16px 0 0;
  color: #c8c8c8;
  font-size: .9rem;
  line-height: 1.9;
}

.rb-service-overview__link {
  display: flex;
  width: min(100%, 560px);
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 36px auto 0;
  padding: 14px 22px;
  border: 1px solid var(--rb-site-gold);
  background: #080808;
  color: var(--rb-site-gold);
  font-weight: 700;
  text-decoration: none;
}

.rb-service-overview__link:is(:hover, :focus-visible) {
  background: var(--rb-site-gold);
  color: #050505;
}

/* /wash/ removes the map column but keeps the visit conditions readable. */
.reborn-conversion-lp .reborn-access__main {
  grid-template-columns: minmax(0, 1fr);
}

.rb-work-detail__section {
  padding: 70px 0;
  border-top: 1px solid var(--rb-site-line);
}

.rb-work-detail__section h2 {
  margin: 60px 0 24px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.rb-work-detail__section article {
  margin: 0 0 54px;
}

.rb-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rb-before-after figure {
  min-width: 0;
  margin: 0;
}

.rb-before-after figcaption {
  margin-bottom: 7px;
  color: var(--rb-site-gold);
  font-size: .76rem;
  letter-spacing: .12em;
}

.rb-before-after picture,
.rb-before-after img {
  display: block;
  width: 100%;
}

.rb-before-after img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rb-work-point {
  padding-top: 30px;
  border-top: 1px solid var(--rb-site-line);
}

.rb-work-links {
  padding: 60px 0;
  border-top: 1px solid var(--rb-site-line);
}

.rb-work-links h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.rb-work-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.rb-work-links li {
  min-width: 0;
}

.rb-work-links a {
  display: flex;
  min-width: 0;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--rb-site-line);
  color: var(--rb-site-gold);
  text-decoration: none;
  overflow-wrap: anywhere;
}

@media (min-width: 1200px) and (max-width: 1439px) {
	.site-header__inner {
		width: calc(100% - 28px);
		gap: 12px;
	}

	.site-brand {
		width: 156px;
	}

	.site-nav {
		gap: 10px;
	}

	.site-nav a {
		font-size: .75rem;
		letter-spacing: .03em;
	}

	.site-nav__price,
	.site-nav__reserve,
	.site-nav__returning {
		padding-inline: 10px;
	}
}

@media (max-width: 1199px) {
  body.site-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-header__inner {
    width: calc(100% - 28px);
    min-height: 64px;
  }

  .site-brand {
    width: 155px;
    height: 38px;
  }

  /* With JavaScript disabled the links remain visible and usable. */
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    gap: 0;
    margin: 0;
    padding: 14px 20px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #050505;
    border-bottom: 1px solid var(--rb-site-line);
  }

  .admin-bar .site-nav {
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
  }

  .site-nav__actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .site-nav__actions > :is(.site-nav__price, .site-nav__reserve, .site-nav__returning) {
    grid-column: auto;
  }

  .site-header.site-menu-ready .site-nav {
    display: none;
  }

  .site-header.site-menu-ready.is-menu-open .site-nav {
    display: grid;
  }

  .site-header.site-menu-ready .site-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav a,
  .site-nav a:not(.site-nav__reserve) {
    display: flex !important;
    min-width: 0;
    min-height: 50px;
    justify-content: flex-start;
    padding: 12px;
    border: 0;
    border-bottom: 1px solid var(--rb-site-line);
    background: transparent;
    color: #fff;
    font-size: .82rem;
    text-align: left;
  }

  .site-nav__price,
  .site-nav__reserve,
  .site-nav__returning,
  .site-nav a.site-nav__price,
  .site-nav a.site-nav__reserve,
  .site-nav a.site-nav__returning {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 52px;
    margin-top: 0;
    border: 1px solid var(--rb-site-gold);
    background: #080808;
    text-align: center;
  }

	.site-nav a.site-nav__price {
		border-color: #315f8c;
		background: linear-gradient(135deg, #173f6d 0%, #0a2039 55%, #050505 100%);
		color: #fff;
  }

  .site-nav a.site-nav__reserve {
    border-color: rgba(255, 255, 255, .54);
    color: #fff;
  }

	.site-nav a.site-nav__returning {
		border-color: var(--rb-site-gold);
		background: linear-gradient(135deg, #06155b 0%, #0a2bbd 100%);
		color: #fff;
  }

	.site-nav a.site-nav__price:is(:hover, :focus-visible) {
		border-color: #4d7ba8;
		background: linear-gradient(135deg, #205183 0%, #10304f 55%, #080808 100%);
		color: #fff;
	}

	.site-nav a.site-nav__reserve:is(:hover, :focus-visible),
	.site-nav a.site-nav__returning:is(:hover, :focus-visible) {
		border-color: #aedcff;
		background: linear-gradient(135deg, #0a237d 0%, #123bd5 100%);
		color: #fff;
	}
}

@media (max-width: 1023px) {

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

	.rb-film-service__brand {
		min-height: 180px;
		border-right: 0;
		border-bottom: 1px solid var(--rb-site-line);
	}

  .rb-page-heading {
    padding: 32px 0 28px;
  }

  .rb-page-heading__en {
    font-size: clamp(1.9rem, 7vw, 2.7rem);
  }

  .rb-page-heading .rb-page-heading__lead {
    margin-top: 18px;
  }

  .rb-work-links ul {
    grid-template-columns: 1fr;
  }

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

  .rb-service-overview__card {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  }

  .rb-service-overview__card:first-child {
    grid-row: auto;
  }

  .rb-service-overview__media,
  .rb-service-overview__media--photo,
  .rb-service-overview__media--diagram {
    min-height: 180px;
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--rb-site-line);
    border-bottom: 0;
  }

  .rb-service-overview__media img {
    height: 100%;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-nav {
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
  }
}

@media (max-width: 640px) {
  .rb-site-inner {
    width: calc(100% - 28px);
  }

  .site-nav {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .site-nav__actions {
    grid-template-columns: 1fr;
  }

  .site-nav__price,
  .site-nav__reserve,
  .site-nav__returning,
  .site-nav a.site-nav__price,
  .site-nav a.site-nav__reserve,
  .site-nav a.site-nav__returning {
    grid-column: 1;
  }

  .rb-price-gateway {
    padding: 48px 0;
  }

  .rb-price-gateway__button {
    width: 100%;
  }

  .rb-page-heading {
    padding: 28px 0 24px;
  }

  .rb-page-heading__en {
    font-size: 1.9rem;
    letter-spacing: .1em;
  }

  .rb-page-heading .rb-page-heading__jp {
    font-size: .82rem;
  }

  .rb-before-after {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #reborn-price-module .reborn-sizeclass__form {
    padding-inline: 16px;
  }

  .rb-service-overview__card {
    display: block;
  }

  .rb-service-overview__media,
  .rb-service-overview__media--photo,
  .rb-service-overview__media--diagram {
    min-height: 0;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rb-site-line);
  }

  .rb-service-overview__media--photo {
    aspect-ratio: 4 / 3;
  }

  .rb-service-overview__media--diagram {
    aspect-ratio: 4.1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
