:root {
  --color-bg: #fbf7f5;
  --color-bg-muted: #f3edf0;
  --color-surface: #fffdfb;
  --color-main: #2d344f;
  --color-main-soft: #4c4165;
  --color-accent: #bd788d;
  --color-accent-strong: #9f5d73;
  --color-sage: #839a95;
  --color-ink: #23283b;
  --color-text: #4c4f5e;
  --color-border: #e6dadd;
  --shadow-soft: 0 18px 45px rgba(45, 52, 79, 0.1);
  --shadow-lift: 0 24px 52px rgba(45, 52, 79, 0.16);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  scroll-padding-top: 92px;
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    linear-gradient(180deg, rgba(251, 247, 245, 0.96), rgba(246, 239, 241, 0.98)),
    var(--color-bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  min-height: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
}

body:has(.skip-link:focus) {
  scroll-behavior: auto;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul:not(.site-nav ul) {
  list-style-position: outside;
  padding-left: 1.3em;
}

ul:not(.site-nav ul) li::marker {
  content: "・";
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--color-main);
  color: #ffffff;
  padding: 10px 14px;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(230, 218, 221, 0.86);
  background: rgba(251, 247, 245, 0.94);
  backdrop-filter: blur(16px);
  transition:
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 245, 0.98);
  box-shadow: 0 12px 30px rgba(45, 52, 79, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--color-main);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-main);
  color: #ffffff;
  font-weight: 800;
}

.brand-mark-light {
  background: #ffffff;
  color: var(--color-main);
}

.brand-text {
  color: var(--color-main);
}

.brand-footer .brand-text {
  color: #ffffff;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-main);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  position: relative;
  align-items: center;
  min-height: 74svh;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--color-border);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 253, 251, 0.98) 0%, rgba(244, 237, 240, 0.88) 55%, rgba(234, 241, 238, 0.74) 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 247, 245, 0.9) 0%, rgba(251, 247, 245, 0.7) 32%, rgba(251, 247, 245, 0.7) 68%, rgba(251, 247, 245, 0.9) 100%),
    linear-gradient(180deg, rgba(251, 247, 245, 0.48), rgba(243, 237, 240, 0.68));
  content: "";
}

.hero-thumbnail-art {
  position: absolute;
  inset: -90px -54px -70px;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  opacity: 0.52;
  filter: saturate(0.82) contrast(0.95);
  pointer-events: none;
  transform: rotate(-4deg) scale(1.08);
  transform-origin: center;
}

.hero-thumbnail-art img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(45, 52, 79, 0.16);
  object-fit: cover;
}

.hero-thumbnail-art img:nth-child(3n + 2) {
  transform: translateY(36px);
}

.hero-thumbnail-art img:nth-child(4n) {
  transform: translateY(-20px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.avatar-frame {
  width: 180px;
  height: 180px;
  margin: 0 auto 26px;
  border: 1px solid rgba(189, 120, 141, 0.18);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 10px;
}

.avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.section-kicker {
  margin: 0 0 10px;
  color: #8e5268;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.82);
}

.hero .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #8e5268;
  font-size: 0.8rem;
}

.hero .section-kicker::before,
.hero .section-kicker::after {
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(142, 82, 104, 0.42);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-main);
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 3rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: #252b45;
  line-height: 1.22;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 650px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: #443d5f;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.65;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-lead {
  max-width: 700px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 156px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 14px 28px rgba(45, 52, 79, 0.12);
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-accent-strong);
}

.button-secondary {
  border-color: rgba(45, 52, 79, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-main);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--color-main);
  background: #ffffff;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--color-bg-muted);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.news-band {
  background: var(--color-accent);
  color: #ffffff;
}

.news-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 34px 0;
}

.news-band h2 {
  margin-bottom: 0;
  color: #ffffff;
}

.news-list {
  display: grid;
  gap: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.news-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.news-list time {
  font-weight: 800;
  white-space: nowrap;
}

.activity-section {
  padding: 72px 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.96), rgba(251, 247, 245, 0.98)),
    var(--color-bg);
}

.activity-heading {
  margin-bottom: 28px;
}

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

.activity-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  color: var(--color-main);
  padding: 18px;
  text-decoration: none;
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.activity-card:hover,
.activity-card:focus-visible {
  border-color: rgba(189, 120, 141, 0.68);
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}

.activity-card:hover .activity-icon,
.activity-card:focus-visible .activity-icon {
  transform: rotate(-4deg) scale(1.04);
}

.activity-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: rgba(189, 120, 141, 0.12);
  color: var(--color-accent-strong);
  transition: transform 180ms ease;
}

.activity-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.activity-card strong,
.activity-card small {
  display: block;
}

.activity-card strong {
  margin-bottom: 2px;
  color: var(--color-main);
  font-size: 1.02rem;
  line-height: 1.35;
}

.activity-card small {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.service-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-panel,
.video-card,
.about-panel,
.contact-card,
.game-feature {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.service-panel {
  min-height: 218px;
  padding: 26px;
}

.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  border: 1px solid rgba(189, 120, 141, 0.26);
  border-radius: 6px;
  background: rgba(189, 120, 141, 0.11);
  color: var(--color-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 3px 9px;
}

.service-panel p {
  margin-bottom: 0;
}

.video-card {
  overflow: hidden;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.video-card:hover,
.video-card:focus-within {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.video-card a {
  display: block;
  background: #efe6e8;
}

.video-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 420ms ease;
}

.video-card:hover img,
.video-card:focus-within img {
  transform: scale(1.035);
}

.video-body {
  padding: 18px 20px 22px;
}

.video-meta {
  margin-bottom: 6px;
  color: var(--color-sage);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.video-body h3 {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: start;
}

.about-copy p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.about-panel {
  padding: 28px;
}

.profile-card {
  display: grid;
  gap: 18px;
}

.profile-image {
  width: 100%;
  max-height: 460px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255, 253, 251, 0.96), rgba(243, 237, 240, 0.88)),
    var(--color-surface);
  object-fit: contain;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.check-list {
  display: grid;
  gap: 12px;
}

.game-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  overflow: hidden;
  padding: 24px;
}

.game-media {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #efe6e8;
}

.game-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 616 / 353;
  object-fit: cover;
  transition: transform 520ms ease;
}

.game-media:hover img,
.game-media:focus-visible img {
  transform: scale(1.025);
}

.game-copy p:last-child {
  margin-bottom: 0;
}

.game-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.game-title-row .video-meta,
.game-title-row h3 {
  margin-bottom: 0;
}

.game-store-button {
  min-width: 138px;
  white-space: nowrap;
}

.creator-videos {
  border-top: 1px solid var(--color-border);
  margin-top: 24px;
  padding-top: 20px;
}

.creator-videos h4 {
  margin: 0 0 12px;
  color: var(--color-main);
  font-size: 0.98rem;
  line-height: 1.55;
}

.creator-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.creator-video-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-main);
  font-weight: 700;
  text-decoration: none;
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.creator-video-card:hover,
.creator-video-card:focus-visible {
  border-color: rgba(189, 120, 141, 0.7);
  box-shadow: 0 14px 28px rgba(45, 52, 79, 0.12);
  transform: translateY(-1px);
}

.creator-video-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.creator-video-card span {
  display: block;
  padding: 9px 10px 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.contact-card {
  padding: 28px;
}

.contact-card p {
  margin-bottom: 22px;
}

.contact-mail-button {
  width: 100%;
}

.contact-mail-address {
  margin: 14px 0 0;
  color: var(--color-main-soft);
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.contact-mail-address span {
  display: block;
  margin-top: 4px;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--color-main);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #d8ccd0;
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-ink);
  padding: 11px 12px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-field input,
.form-field select {
  min-height: 48px;
}

.form-field textarea {
  min-height: 172px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(189, 120, 141, 0.16);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--color-main-soft);
  font-weight: 700;
}

.site-footer {
  background: var(--color-main);
  color: rgba(255, 255, 255, 0.82);
}

.copyright {
  padding: 22px 0;
  text-align: center;
}

@keyframes heroThumbDrift {
  0% {
    transform: rotate(-4deg) translate3d(-10px, 0, 0) scale(1.08);
  }

  100% {
    transform: rotate(-3deg) translate3d(18px, -14px, 0) scale(1.11);
  }
}

@keyframes avatarFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-thumbnail-art {
    animation: heroThumbDrift 30s ease-in-out infinite alternate;
  }

  .avatar-frame {
    animation: avatarFloat 6.8s ease-in-out infinite;
  }

  .hero-inner > * {
    animation: heroEntrance 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-inner > *:nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-inner > *:nth-child(3) {
    animation-delay: 150ms;
  }

  .hero-inner > *:nth-child(4) {
    animation-delay: 220ms;
  }

  .hero-inner > .avatar-frame {
    animation:
      heroEntrance 760ms cubic-bezier(0.22, 1, 0.36, 1) both,
      avatarFloat 6.8s ease-in-out 900ms infinite;
  }

  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 48px;
  }

  .hero-thumbnail-art {
    inset: -58px -120px -42px;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 14px;
    opacity: 0.42;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .news-inner,
  .about-layout,
  .contact-layout,
  .game-feature {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .video-grid,
  .activity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand {
    white-space: normal;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 12px;
  }

  .site-nav a {
    min-height: 38px;
  }

  .avatar-frame {
    width: 148px;
    height: 148px;
  }

  .hero-thumbnail-art {
    inset: -40px -180px -30px;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    opacity: 0.38;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .game-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }

  .activity-section {
    padding: 56px 0;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-grid,
  .video-grid,
  .form-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .about-panel,
  .service-panel,
  .game-feature {
    padding: 22px;
  }

  .creator-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
