:root {
  --rr-bg: #071019;
  --rr-panel: #0f1a24;
  --rr-panel-2: #162534;
  --rr-text: #f6fbff;
  --rr-muted: #c3ccd6;
  --rr-line: rgba(255, 255, 255, .18);
  --rr-cyan: #00d5ff;
  --rr-green: #35f089;
  --rr-gold: #f7c84b;
  --rr-danger: #ff5b5b;
  --rr-shadow: 0 18px 70px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #0b1620 0%, var(--rr-bg) 46%, #0c1720 100%);
  color: var(--rr-text);
  font-family: "Noto Sans JP", "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.rr-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.rr-grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, #000 42%, transparent 78%);
}

.rr-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.rr-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 14, 21, .88);
  border-bottom: 1px solid var(--rr-line);
  backdrop-filter: blur(18px);
}

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

.rr-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.rr-brand__logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(260px, 54vw);
  object-fit: contain;
}

.rr-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--rr-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rr-nav a:hover {
  color: var(--rr-text);
}

.rr-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rr-line);
  border-radius: 6px;
  background: transparent;
  color: var(--rr-text);
  cursor: pointer;
}

.rr-menu-button span,
.rr-menu-button::before,
.rr-menu-button::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.rr-lang {
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 70;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  background: rgba(6, 14, 21, .88);
  box-shadow: var(--rr-shadow);
  backdrop-filter: blur(18px);
}

.rr-lang a {
  min-width: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--rr-muted);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.rr-lang a[aria-current="true"] {
  background: var(--rr-text);
  color: #05070a;
}

.rr-hero {
  position: relative;
  min-height: clamp(520px, calc(100vh - 150px), 640px);
  display: grid;
  align-items: center;
  padding: 72px 0 58px;
  isolation: isolate;
}

.rr-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.rr-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  filter: saturate(1.05) contrast(1.02);
}

.rr-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 10, 16, .72) 0%, rgba(5, 10, 16, .28) 48%, rgba(5, 10, 16, .48) 100%),
    linear-gradient(180deg, rgba(5, 10, 16, .08) 0%, rgba(7, 16, 25, .62) 100%);
}

.rr-hero__content {
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .48);
}

.rr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 213, 255, .36);
  border-radius: 999px;
  background: rgba(0, 213, 255, .1);
  color: var(--rr-cyan);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.rr-display {
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 850;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 850;
}

.rr-lead {
  max-width: 740px;
  margin: 0 0 30px;
  color: var(--rr-muted);
  font-size: 18px;
}

.rr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.rr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--rr-line);
  border-radius: 6px;
  color: var(--rr-text);
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.rr-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .34);
}

.rr-button--primary {
  border-color: transparent;
  background: var(--rr-cyan);
  color: #001018;
}

.rr-button--green {
  border-color: transparent;
  background: var(--rr-green);
  color: #02140b;
}

.rr-button--gold {
  border-color: transparent;
  background: var(--rr-gold);
  color: #171003;
}

.rr-section {
  padding: 70px 0;
}

.rr-hero + .rr-section {
  padding-top: 34px;
}

.rr-section--tight {
  padding: 52px 0;
}

.rr-section--soft {
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(20, 34, 47, .62), rgba(9, 20, 30, .42));
}

.rr-section__head {
  max-width: 760px;
  margin-bottom: 34px;
}

.rr-kicker {
  margin: 0 0 10px;
  color: var(--rr-cyan);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rr-muted {
  color: var(--rr-muted);
}

.rr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: 40px;
  align-items: center;
}

.rr-panel {
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 37, 52, .94), rgba(11, 22, 32, .94));
  box-shadow: var(--rr-shadow);
}

.rr-panel--pad {
  padding: 28px;
}

.rr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rr-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: rgba(15, 26, 36, .9);
  transition: transform .2s ease, border-color .2s ease;
}

.rr-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .28);
}

.rr-card p {
  margin: 0;
  color: var(--rr-muted);
}

.rr-card__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--rr-muted);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rr-card-grid--media .rr-card {
  overflow: hidden;
  padding: 0;
  background: rgba(15, 26, 36, .94);
}

.rr-card__image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #05070a;
}

.rr-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.rr-card:hover .rr-card__image img {
  transform: scale(1.04);
}

.rr-card__body {
  padding: 22px;
}

.rr-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.rr-fact {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.rr-fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--rr-text);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rr-fact span {
  color: var(--rr-muted);
  font-size: 14px;
}

.rr-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rr-photo-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: rgba(15, 26, 36, .94);
  box-shadow: var(--rr-shadow);
}

.rr-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rr-photo-card figcaption {
  padding: 16px 18px;
  color: var(--rr-muted);
  font-size: 14px;
  font-weight: 700;
}

.rr-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.rr-feature-list .rr-card {
  padding: 20px;
}

.rr-accent-cyan {
  color: var(--rr-cyan);
}

.rr-accent-green {
  color: var(--rr-green);
}

.rr-accent-gold {
  color: var(--rr-gold);
}

.rr-accent-danger {
  color: var(--rr-danger);
}

.rr-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: #05070a;
  box-shadow: var(--rr-shadow);
}

.rr-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.rr-image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .24));
  pointer-events: none;
}

.rr-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rr-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--rr-muted);
}

.rr-list li::before {
  width: 8px;
  height: 8px;
  margin-top: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rr-cyan);
  content: "";
}

.rr-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.rr-process__item {
  padding: 22px;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: rgba(15, 26, 36, .84);
  counter-increment: step;
}

.rr-process__item::before {
  display: block;
  margin-bottom: 14px;
  color: var(--rr-cyan);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 900;
  content: "0" counter(step);
}

.rr-footer {
  padding: 38px 0;
  border-top: 1px solid var(--rr-line);
  background: #071019;
  color: var(--rr-muted);
}

.rr-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rr-form {
  display: grid;
  gap: 16px;
}

.rr-form label {
  display: grid;
  gap: 7px;
  color: var(--rr-text);
  font-size: 14px;
  font-weight: 800;
}

.rr-form input,
.rr-form textarea,
.rr-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--rr-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: var(--rr-text);
  font: inherit;
}

.rr-form textarea {
  min-height: 140px;
  resize: vertical;
}

.rr-form ::placeholder {
  color: rgba(174, 185, 198, .7);
}

.rr-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rr-status {
  display: none;
  margin-top: 12px;
  color: var(--rr-green);
  font-weight: 800;
}

.rr-status.is-visible {
  display: block;
}

.rr-ja-switch {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(5, 7, 10, .88);
  color: #f6fbff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px);
}

.rr-ja-switch:hover {
  border-color: var(--rr-cyan);
  color: var(--rr-cyan);
}

@media (max-width: 900px) {
  .rr-header__inner {
    min-height: 64px;
  }

  .rr-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(5, 7, 10, .96);
    border-bottom: 1px solid var(--rr-line);
  }

  .rr-nav.is-open {
    display: flex;
  }

  .rr-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rr-line);
  }

  .rr-menu-button {
    display: block;
  }

  .rr-brand__logo {
    height: 38px;
    max-width: min(230px, 58vw);
  }

  .rr-hero {
    min-height: 600px;
    padding-top: 54px;
  }

  .rr-split,
  .rr-card-grid,
  .rr-facts,
  .rr-photo-grid,
  .rr-feature-list,
  .rr-process,
  .rr-form__grid {
    grid-template-columns: 1fr;
  }

  .rr-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .rr-container {
    width: min(100% - 28px, 1160px);
  }

  .rr-lang {
    top: auto;
    right: 14px;
    bottom: 14px;
  }

  .rr-ja-switch {
    right: 14px;
    bottom: 14px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .rr-lead {
    font-size: 16px;
  }

  .rr-section {
    padding: 48px 0;
  }

  .rr-hero__media img {
    opacity: .78;
  }

  .rr-hero__shade {
    background:
      linear-gradient(90deg, rgba(5, 10, 16, .78), rgba(5, 10, 16, .42)),
      linear-gradient(180deg, rgba(5, 10, 16, .12), rgba(7, 16, 25, .72));
  }

  .rr-actions {
    flex-direction: column;
  }

  .rr-button {
    width: 100%;
  }
}

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