/*
Theme Name: Rockxxee Theme
Author: Rockxxee
Version: 1.0
*/

:root {
  --rx-black: #050507;
  --rx-panel: rgba(12, 13, 18, 0.82);
  --rx-line: rgba(255, 255, 255, 0.16);
  --rx-text: #f4f5f7;
  --rx-muted: #a9afbd;
  --rx-red: #ff314f;
  --rx-cyan: #21dcff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--rx-black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rx-text);
  background: var(--rx-black);
  font-family: "Inter", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
}

a {
  color: inherit;
}

.rx-site {
  min-height: 100vh;
  overflow-x: hidden;
}

body .rx-site {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body .entry-content .rx-site,
body .wp-block-post-content .rx-site,
body .wp-site-blocks .rx-site {
  margin-top: 0;
}

.rx-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 22px clamp(18px, 4vw, 58px) 28px;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  background:
    linear-gradient(110deg, rgba(5, 5, 7, 0.98) 0%, rgba(5, 5, 7, 0.86) 42%, rgba(5, 5, 7, 0.58) 100%),
    url("./rockxxee-assets/banner.jpg") center / cover no-repeat;
}

.rx-hero::before,
.rx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.rx-hero::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 92px),
    linear-gradient(135deg, transparent 0 42%, rgba(255, 49, 79, 0.18) 42% 43%, transparent 43% 100%);
}

.rx-hero::after {
  background:
    radial-gradient(circle at 78% 22%, rgba(33, 220, 255, 0.2), transparent 24%),
    radial-gradient(circle at 12% 96%, rgba(255, 49, 79, 0.2), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
}

.rx-nav,
.rx-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
}

.rx-logo {
  display: inline-flex;
  align-items: center;
  width: min(210px, 44vw);
}

.rx-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.rx-x-link,
.rx-inline-link,
.rx-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rx-x-link:hover,
.rx-inline-link:hover,
.rx-back-link:hover,
.rx-x-link:focus-visible,
.rx-inline-link:focus-visible,
.rx-back-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--rx-cyan);
  background: rgba(33, 220, 255, 0.12);
  outline: none;
}

.rx-x-link--primary {
  min-height: 48px;
  padding-inline: 24px;
  border-color: var(--rx-red);
  background: var(--rx-red);
  box-shadow: 0 0 32px rgba(255, 49, 79, 0.25);
}

.rx-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: clamp(22px, 4vw, 62px);
  min-height: 0;
}

.rx-copy {
  max-width: 700px;
}

.rx-kicker,
.rx-series {
  margin: 0 0 12px;
  color: var(--rx-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rx-copy h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 142px);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rx-jp {
  margin: 12px 0 0;
  color: var(--rx-red);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 900;
}

.rx-tagline {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.18;
  font-weight: 850;
}

.rx-story {
  margin: 18px 0 0;
  max-width: 650px;
  color: var(--rx-muted);
  font-size: 15px;
  line-height: 1.85;
}

.rx-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.rx-mantra {
  color: #d7dbe4;
  font-size: 14px;
  font-weight: 800;
}

.rx-product-panel {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--rx-line);
  background: var(--rx-panel);
  backdrop-filter: blur(18px);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.45);
}

.rx-product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 49, 79, 0.18), transparent 28%),
    linear-gradient(300deg, rgba(33, 220, 255, 0.16), transparent 38%);
  pointer-events: none;
}

.rx-panel-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  color: #eef2f8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rx-line);
}

.rx-product-visual {
  position: absolute;
  inset: 44px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0.94;
}

.rx-product-visual img {
  width: min(76%, 460px);
  height: 390px;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 42px 42px rgba(0, 0, 0, 0.7));
  transition: opacity 160ms ease, transform 160ms ease;
}

.rx-product-panel.is-switching .rx-product-visual img {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

.rx-product-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 76px 28px 28px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.94) 34%, rgba(5, 5, 7, 0.98));
}

.rx-product-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 68px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.rx-product-copy p:not(.rx-series) {
  max-width: 680px;
  margin: 16px 0 18px;
  color: #dce1ea;
  line-height: 1.72;
}

.rx-carousel-wrap {
  min-width: 0;
}

.rx-carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.rx-carousel-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.rx-carousel-controls {
  display: flex;
  gap: 8px;
}

.rx-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--rx-line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rx-arrow:hover,
.rx-arrow:focus-visible {
  transform: translateY(-1px);
  border-color: var(--rx-cyan);
  background: rgba(33, 220, 255, 0.12);
  outline: none;
}

.rx-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 30vw);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 8px;
}

.rx-card {
  position: relative;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--rx-line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--rx-text);
  text-decoration: none;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 49, 79, 0.22), transparent 58%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.rx-card:hover,
.rx-card:focus-visible,
.rx-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 49, 79, 0.9);
  background: rgba(255, 49, 79, 0.12);
  outline: none;
}

.rx-card:hover::before,
.rx-card:focus-visible::before,
.rx-card.is-active::before {
  opacity: 1;
}

.rx-card-index,
.rx-card-name,
.rx-card-tone,
.rx-card-cta {
  position: relative;
  display: block;
}

.rx-card-index {
  color: var(--rx-cyan);
  font-size: 12px;
  font-weight: 950;
}

.rx-card-name {
  margin-top: 12px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.04;
  font-weight: 950;
}

.rx-card-tone {
  margin-top: 8px;
  color: var(--rx-muted);
  font-size: 12px;
  font-weight: 800;
}

.rx-card-cta {
  margin-top: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  width: max-content;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.rx-card-cta:hover,
.rx-card-cta:focus-visible {
  color: var(--rx-cyan);
  outline: none;
}

.rx-card--empty {
  border-style: dashed;
}

.rx-detail-page {
  min-height: 100vh;
  padding: 22px clamp(18px, 4vw, 58px) 54px;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.82), #050507 56%),
    url("./rockxxee-assets/banner.jpg") top center / cover no-repeat;
}

.rx-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: start;
  max-width: 1380px;
  margin: 54px auto 0;
}

.rx-detail-media {
  position: sticky;
  top: 24px;
  border: 1px solid var(--rx-line);
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.rx-detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.rx-detail-copy h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 128px);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rx-detail-lead {
  margin: 24px 0 0;
  color: #e4e7ef;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
  font-weight: 800;
}

.rx-detail-body {
  margin-top: 26px;
  color: var(--rx-muted);
  font-size: 15px;
  line-height: 1.9;
}

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

.rx-detail-box {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--rx-line);
  background: rgba(255, 255, 255, 0.055);
}

.rx-detail-box h2 {
  margin: 0 0 12px;
  color: var(--rx-cyan);
  font-size: 12px;
  text-transform: uppercase;
}

.rx-detail-box p {
  margin: 0;
  color: #dce1ea;
  font-size: 14px;
  line-height: 1.7;
}

.rx-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

@media (max-width: 1060px) {
  .rx-hero {
    min-height: auto;
  }

  .rx-stage,
  .rx-detail {
    grid-template-columns: 1fr;
  }

  .rx-product-panel {
    min-height: 590px;
  }

  .rx-detail-media {
    position: static;
  }

  .rx-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rx-hero,
  .rx-detail-page {
    padding: 18px 16px 34px;
  }

  .rx-nav,
  .rx-detail-nav {
    align-items: flex-start;
  }

  .rx-logo {
    width: 162px;
  }

  .rx-x-link--top {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .rx-story {
    font-size: 14px;
  }

  .rx-product-panel {
    min-height: 570px;
  }

  .rx-product-visual img {
    width: min(88%, 360px);
    height: 370px;
  }

  .rx-product-copy {
    padding: 78px 20px 22px;
  }

  .rx-carousel {
    grid-auto-columns: minmax(238px, 82vw);
  }
}
