.elementor-14115 .elementor-element.elementor-element-caf3030{--display:flex;}/* Start custom CSS for html, class: .elementor-element-c777242 *//* Scoped to this 404 page */
.rv404,
.rv404 * {
  box-sizing: border-box;
}

.rv404 {
  --rv404-navy: #031d45;
  --rv404-blue: #006ba6;
  --rv404-orange: #ffa41c;

  width: 100%;
  padding: clamp(32px, 5vw, 72px) 20px;
  background: linear-gradient(
    180deg,
    #eef7ff 0%,
    #f7fbff 65%,
    #ffffff 100%
  );
  color: var(--rv404-navy);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}

.rv404 .rv404__inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* Main panel */
.rv404 .rv404__hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid #dce8f2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(3, 29, 69, 0.06);
}

/* 404 illustration */
.rv404 .rv404__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 50%;
  background: #eef7ff;
}

.rv404 .rv404__number {
  padding-right: 0.065em;
  color: var(--rv404-navy);
  font-family: Arial, sans-serif;
  font-size: clamp(100px, 11vw, 148px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
}

.rv404 .rv404__sign {
  margin-top: 12px;
  color: var(--rv404-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.rv404 .rv404__car {
  display: block;
  width: 112px;
  height: 56px;
  margin-top: 10px;
}

/* Message */
.rv404 .rv404__eyebrow {
  margin: 0 0 14px;
  color: var(--rv404-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rv404 #rv404-title {
  margin: 0 0 20px;
  color: var(--rv404-navy);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rv404 .rv404__description {
  margin: 0 0 26px;
  color: #475569;
  font-size: 15px;
  line-height: 1.95;
}

.rv404 a {
  text-decoration: none;
}

/* Orange homepage button */
.rv404 a.rv404__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 54px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--rv404-orange);
  color: var(--rv404-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 6px 16px rgba(240, 136, 4, 0.16);
  transition: background-color 160ms ease;
}

.rv404 a.rv404__home:hover {
  background: #ffbf4a;
  color: var(--rv404-navy);
}

/* Navigation cards */
.rv404 .rv404__navigation {
  margin-top: 34px;
}

.rv404 .rv404__nav-title {
  margin: 0 0 16px;
  color: var(--rv404-navy);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.rv404 .rv404__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rv404 a.rv404__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
  padding: 22px 48px 22px 22px;
  border: 1px solid #dce8f2;
  border-radius: 14px;
  background: #ffffff;
  color: var(--rv404-navy);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.rv404 a.rv404__card:hover {
  border-color: var(--rv404-blue);
  background: #f0f8ff;
  color: var(--rv404-navy);
}

.rv404 .rv404__card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.rv404 .rv404__card-description {
  margin-top: 6px;
  color: #475569;
  font-size: 12px;
  line-height: 1.7;
}

.rv404 .rv404__arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--rv404-blue);
  font-size: 22px;
}

/* Contact details */
.rv404 .rv404__support {
  margin-top: 30px;
  text-align: center;
}

.rv404 .rv404__support p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 14px;
}

.rv404 .rv404__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
}

.rv404 .rv404__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--rv404-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rv404 .rv404__contact a:hover {
  color: #004f7a;
}

.rv404 .rv404__contact a.rv404__phone {
  color: var(--rv404-navy);
  font-size: 20px;
  font-weight: 800;
}

.rv404 .rv404__divider {
  width: 1px;
  height: 18px;
  background: #cbd5e1;
}

.rv404 .rv404__hours {
  color: #475569;
  font-size: 12px;
}

.rv404 .rv404__support .rv404__report {
  margin-top: 10px;
  font-size: 12px;
}

/* Keyboard navigation */
.rv404 a:focus-visible {
  outline: 3px solid var(--rv404-blue);
  outline-offset: 4px;
}

/* Tablet */
@media (max-width: 900px) {
  .rv404 .rv404__hero {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .rv404 .rv404__visual {
    max-width: 240px;
  }

  .rv404 .rv404__number {
    font-size: 112px;
  }

  .rv404 .rv404__links {
    grid-template-columns: 1fr;
  }

  .rv404 a.rv404__card {
    min-height: 94px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .rv404 {
    padding: 28px 16px;
  }

  .rv404 .rv404__hero {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .rv404 .rv404__visual {
    max-width: 200px;
  }

  .rv404 .rv404__number {
    font-size: 94px;
  }

  .rv404 #rv404-title {
    font-size: 23px;
  }

  .rv404 .rv404__description {
    font-size: 14px;
  }

  .rv404 a.rv404__home {
    width: 100%;
    padding: 14px 16px;
    gap: 14px;
    font-size: 15px;
  }

  .rv404 .rv404__contact {
    flex-direction: column;
    gap: 2px;
  }

  .rv404 .rv404__divider {
    display: none;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .rv404 a {
    transition: none;
  }
}/* End custom CSS */