:root {
    --bg: #000000;
    --text: #f8f6ff;
    --muted: #bcb5cc;
    --purple: #9b5cff;
    --purple2: #d7b8ff;
    --max: 1280px
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    line-height: 1.7
}

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 72px;
    padding: 0 clamp(18px, 3vw, 44px);
    background: rgba(5, 4, 10, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .04em
}

.meta {
    font-size: 13px;
    letter-spacing: .14em;
    color: #e2dbf1;
    white-space: nowrap
}

.nav {
    margin-left: auto;
    display: flex;
    gap: 26px;
    font-size: 13px;
    color: #d4cee0
}

.nav .current {
    color: #fff;
    padding-bottom: 22px;
    border-bottom: 2px solid var(--purple)
}

section {
    position: relative;
    z-index: 1;
    padding: 0 clamp(18px, 3vw, 44px);
    border-bottom: none;
}

.inner {
    width: min(100%, var(--max));
    margin: 0 auto
}

.visual-frame {
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: 0 32px;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: center;
  gap: 40px;
}

.hero-inner > div {
  min-width: 0;
}

.hero-inner h1 {
  font-size: 50pt;
  line-height: 1.15;
  margin: 24px 0;
}

.hero-inner p {
  font-size: 18px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.hero-inner > div:first-child img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.hero-inner > div:last-child img {
  width: 100%;
  max-width: 680px;
  height: auto;
  margin-left: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 48px 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-inner h1 {
    font-size: 32px;
  }

  .hero-inner > div:last-child img {
    margin: 0 auto;
  }
}

.concept .visual-frame img,
.hardware .visual-frame img {
    width: 100%;
    height: auto;
    object-fit: cover
}

.personalize {
    padding-bottom: 90px
}

.pe-intro {
    position: sticky;
    top: 72px;
    z-index: 10;
    margin-bottom: 24px;
    padding: 18px 22px;
    border-radius: 20px;
    backdrop-filter: blur(18px)
}

.pe-intro h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.22;
    letter-spacing: .02em
}

.pe-intro p {
    margin: 10px 0 0;
    color: #ddd7ea;
    font-size: clamp(14px, 1.5vw, 18px);
    max-width: 900px
}

.pe-stage {
    position: relative;
    height: 360vh
}

.pe-sticky {
    position: sticky;
    top: 280px;
    height: calc(100vh - 220px);
    min-height: 560px;
    display: grid;
    grid-template-columns: 290px 360px minmax(340px, 1fr);
    gap: 22px;
    align-items: stretch
}

.pe-box {
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    box-shadow: 0 26px 90px rgba(45, 20, 100, .2)
}

.product-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
}

.device {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 560px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.device::after {
    display: none;
    content: none;
}

.device-screen {
    display: none;
}

.device-screen .screen-title {
    font-size: 10px;
    color: #c9afff;
    letter-spacing: .08em;
    margin-bottom: 7px
}

.scene-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    height: 18px;
    margin: 5px 0;
    padding: 0 5px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .05);
    font-size: 9px;
    color: #bdb6ca
}

.scene-mini.active {
    background: linear-gradient(90deg, rgba(141, 77, 255, .7), rgba(141, 77, 255, .18));
    color: #fff;
    box-shadow: 0 0 12px rgba(155, 92, 255, .2)
}

.usbc {
    display: none;
}

.toggle-rail {
    display: none;
}

.toggle-thumb {
    position: absolute;
    left: 2px;
    top: 40px;
    width: 12px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(#dcc8ff, #9455ff);
    box-shadow: 0 0 18px rgba(148, 85, 255, .75);
    transform: translateY(0);
    transition: transform .24s cubic-bezier(.2, .8, .2, 1)
}

.toggle-thumb.up {
    transform: translateY(-22px)
}

.toggle-thumb.down {
    transform: translateY(22px)
}

.menu-panel {
    padding: 22px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.menu-header strong {
    font-size: 16px
}

.status {
    font-size: 12px;
    color: #ba9cff
}

.menu-list {
    display: grid;
    gap: 10px
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    color: #c9c1d5;
    transition: all .28s ease
}

.menu-item.active {
    background: linear-gradient(90deg, rgba(141, 77, 255, .68), rgba(141, 77, 255, .20));
    border-color: rgba(176, 110, 255, .8);
    color: #fff;
    transform: translateX(3px);
    box-shadow: 0 0 22px rgba(155, 92, 255, .18)
}

.menu-item small {
    display: block;
    color: inherit;
    opacity: .78;
    font-size: 11px
}

.detail-panel {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.detail-copy {
    padding: 28px 28px 18px
}

.mode-label {
    font-size: 14px;
    letter-spacing: .08em;
    color: var(--purple2);
    font-weight: 700
}

.mode-title {
    margin: 14px 0 0;
    font-size: clamp(30px, 3.5vw, 50px);
    line-height: 1.24
}

.mode-body {
    margin: 14px 0 0;
    color: #ddd7ea;
    font-size: 16px;
    max-width: 650px
}

.mode-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px
}

.mode-tags span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-size: 12px;
    color: #d7d0e6
}

.detail-image {
    padding: 0 22px 22px;
    min-height: 0
}

.detail-image .visual-frame {
    height: 100%;
    border-radius: 22px
}

.detail-image .visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.progress {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    gap: 10px
}

.progress span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22)
}

.progress span.active {
    background: var(--purple);
    box-shadow: 0 0 12px rgba(155, 92, 255, .8)
}

.hardware .visual-frame {
    position: relative
}

.hardware .visual-frame:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(155, 92, 255, .32), rgba(155, 92, 255, .08) 36%, transparent 68%);
    animation: pulse 2.2s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: .35;
        transform: translate(-50%, -50%) scale(.86)
    }

    50% {
        opacity: .8;
        transform: translate(-50%, -50%) scale(1.08)
    }
}

.closing {
    min-height: 55vh;
    display: flex;
    align-items: center;
    text-align: center
}

.closing h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.28
}

.closing p {
    margin: 20px auto 0;
    max-width: 760px;
    color: #d8d1e7;
    font-size: clamp(15px, 1.5vw, 18px)
}

@media(max-width:1100px) {
    .nav {
        display: none
    }

    .pe-intro {
        position: relative;
        top: auto
    }

    .pe-stage {
        height: auto
    }

    .pe-sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr
    }

    .progress {
        display: none
    }
}

@media(max-width:720px) {
    .header {
        height: 64px;
        padding: 0 18px
    }

    .logo {
        font-size: 24px
    }

    .meta {
        font-size: 10px;
        letter-spacing: .07em;
        white-space: normal;
        line-height: 1.35
    }

    section {
        padding: 42px 18px
    }

    .visual-frame {
        border-radius: 20px
    }

    .hero {
        padding-top: 24px
    }

    .hero .visual-frame {
        min-height: auto
    }

    .pe-intro {
        padding: 18px
    }

    .product-panel {
        min-height: 380px
    }

    .device {
        transform: scale(.9) perspective(800px) rotateY(-8deg);
        transform-origin: center
    }

    .detail-copy {
        padding: 22px 20px 14px
    }

    .detail-image {
        padding: 0 16px 16px
    }

    .mode-body {
        font-size: 15px
    }
}

.device{
    position:relative;
}

.device-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .3s ease;
}

.device-img.active{
    opacity:1;
}

.device-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .3s ease;
}

.device-img.active {
    opacity: 1;
}

.np-fusion {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 36px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: #000;
}

.np-fusion-panel {
    min-height: 460px;
    padding: 36px;
    border: 1px solid rgba(155, 92, 255, .65);
    border-radius: 30px;
    background: rgba(0, 0, 0, .45);
}

.np-fusion-panel h3 {
    margin: 0 0 10px;
    color: #9b5cff;
    font-size: 40px;
    line-height: 1.1;
}

.np-fusion-panel p {
    margin: 0 0 28px;
    color: #fff;
    font-size: 16px;
}

.np-fusion-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
}

.np-fusion-panel li {
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
}

.np-fusion-center {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 24px;
    min-height: 520px;
    background: #000;
}

.np-fusion-center video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .75;
}



.np-fusion-center h3,
.np-fusion-center p,
.np-experience {
    position: relative;
    z-index: 1;
}

.np-fusion-center h3 {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
}

.np-fusion-center p {
    margin: 12px 0 0;
    color: #fff;
    font-size: 18px;
}

.np-experience {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: #9b5cff;
    font-size: 36px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .np-fusion {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 48px 0;
    }

    .np-fusion-panel {
        min-height: auto;
    }

    .np-fusion-center {
        min-height: 420px;
    }
}

.np-fusion-text {
    text-align: center;
}

.np-fusion-movie {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.np-experience {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
}