:root {
  --red: #ff0000;
  --pink: #ff1493;
  --ink: #261717;
  --bg: #150c0c;
  --fg: #f7ece9;
  --dim: #c9b3b0;
  --line: rgba(255, 255, 255, 0.14);
  --serif: 'Noto Serif JP', ui-serif, 'Songti SC', Georgia, serif;
  --sans: 'Noto Sans JP', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 104px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background: transparent;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 0%, #000 18%, transparent 86%);
  mask-image: radial-gradient(120% 95% at 50% 0%, #000 18%, transparent 86%);
}

.aurora {
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 22% 26%, rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0) 68%),
    radial-gradient(34% 30% at 78% 18%, rgba(255, 20, 147, 0.46), rgba(255, 20, 147, 0) 68%),
    radial-gradient(46% 40% at 64% 80%, rgba(255, 72, 90, 0.3), rgba(255, 72, 90, 0) 70%),
    radial-gradient(28% 26% at 10% 84%, rgba(255, 20, 147, 0.24), rgba(255, 20, 147, 0) 70%);
  filter: blur(30px) saturate(1.25);
  animation: auroraFlow 11s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes auroraFlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(2%, -3%, 0) scale(1.1) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(-3%, 2%, 0) scale(1.05) rotate(-3deg);
    opacity: 0.82;
  }
}

a {
  color: inherit;
}

.corner {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(38, 23, 23, 0.74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.corner img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

section {
  min-width: 0;
  padding-bottom: 32px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  min-height: 100svh;
  padding: 96px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 40px -12px 40px -12px;
  z-index: -1;
  border-radius: 10px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 10%, transparent 88%);
  mask-image: radial-gradient(75% 70% at 50% 50%, #000 10%, transparent 88%);
  opacity: 0.7;
}

.hero-art {
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 30% 20%, rgba(255, 0, 0, 0.5), transparent 70%),
    radial-gradient(60% 55% at 78% 82%, rgba(255, 20, 147, 0.5), transparent 70%),
    #1d1111;
}

.hero-art .hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.03);
}

.hero-copy {
  text-align: right;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.18;
  letter-spacing: 0.03em;
  color: transparent;
  background-image: linear-gradient(118deg, #ffffff 8%, #ffd7e8 34%, var(--pink) 62%, var(--red) 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  margin: 0 0 0 auto;
  max-width: 30em;
  color: var(--dim);
  font-size: 17px;
}

section > article:not(.hero) {
  padding: 46px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  scroll-margin-top: 84px;
}

section h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 3.2vw, 31px);
  line-height: 1.42;
  letter-spacing: 0.02em;
}

section h2::before {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--pink));
}

section h3 {
  margin: 30px 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.5;
  color: #ffe3ee;
}

section hr,
.rail hr {
  height: 1px;
  border: 0;
  margin: 0 0 18px;
  background: linear-gradient(90deg, var(--red), var(--pink) 45%, transparent);
}

.rail hr {
  width: 62px;
  margin-bottom: 14px;
}

section p {
  margin: 0 0 16px;
}

section > article > p,
section > article > ul,
section > article > ol,
section > article > blockquote {
  max-width: 38em;
}

section ul,
section ol {
  margin: 0 0 18px;
  padding-left: 1.3em;
}

section li {
  margin-bottom: 8px;
}

section :is(h2, h3, p, li) a,
section blockquote a {
  color: #ffc3dc;
  text-decoration: underline;
  text-decoration-color: rgba(255, 195, 220, 0.45);
  text-underline-offset: 3px;
}

section blockquote {
  margin: 0 0 20px;
  padding: 10px 0 10px 18px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--red), var(--pink)) 1;
  color: #e6d3d0;
  font-style: normal;
}

section figure {
  margin: 0 0 20px;
}

section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}

section strong {
  color: #fff;
  font-weight: 700;
}

.rail {
  position: sticky;
  top: 96px;
  align-self: start;
  margin-top: 46px;
  padding: 18px 18px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(38, 23, 23, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.rail h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.2em;
  color: #ffe3ee;
}

.rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--dim);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.rail li:last-child a {
  border-bottom: 0;
}

.rail a:hover {
  color: #fff;
}

.foot {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: rgba(21, 12, 12, 0.6);
  padding: 42px clamp(16px, 4vw, 40px) 26px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 34px;
  align-items: start;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: none;
}

.foot-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.08em;
}

.foot-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-form label {
  font-size: 16px;
  color: var(--dim);
}

.foot-line {
  display: flex;
  gap: 8px;
}

.foot-line input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.foot-line input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.foot-line button {
  min-height: 44px;
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--red), var(--pink));
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.foot-dls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-dls dt {
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: #ff9dc6;
}

.foot-dls dd {
  margin: 0;
}

.foot-dls dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-right: 14px;
  color: var(--dim);
  font-size: 16px;
  text-decoration: none;
}

.foot-dls dd a:hover {
  color: #fff;
}

.foot-base {
  max-width: 1100px;
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.foot-base p {
  margin: 0;
  color: var(--dim);
  font-size: 16px;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.dock-fold {
  position: relative;
  pointer-events: auto;
}

.dock-fold > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(38, 23, 23, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #f7ece9;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.dock-fold > summary::-webkit-details-marker {
  display: none;
}

.sum-ico {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.sum-ico::before,
.sum-ico::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.sum-ico::before {
  top: -5px;
}

.sum-ico::after {
  top: 5px;
}

.dock-fold > menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dock-fold > menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(38, 23, 23, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #f7ece9;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
}

.dock-fold > menu a:hover,
.dock-fold > menu a:focus-visible {
  border-color: var(--pink);
  color: #fff;
}

.dock-fold[open] > menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(94vw, 24rem);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(30, 18, 18, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.js section > article:not(.hero) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.js section > article.on {
  opacity: 1;
  transform: none;
}

@media (min-width: 820px) {
  .dock-fold > summary {
    display: none;
  }

  .dock-fold:not([open]) > menu,
  .dock-fold[open] > menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    position: static;
    transform: none;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 819px) {
  body {
    padding-bottom: 96px;
    font-size: 16px;
  }

  main {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 84px 0 34px;
  }

  .hero-art {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .hero::before {
    inset: 30px -6px;
  }

  section > article:not(.hero) {
    padding: 32px 0;
  }

  .rail {
    position: static;
    margin: 8px 0 40px;
  }

  .foot-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .foot-dls {
    gap: 14px;
  }

  .foot-dls dd a {
    margin-right: 10px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 30px;
  }

  .foot-dls dt {
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aurora {
    animation: none;
  }

  .js section > article:not(.hero) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
