:root {
  color-scheme: light;
  --ink: #20202a;
  --muted: #696877;
  --line: #e3e1ea;
  --surface: #ffffff;
  --bg: #fbfbfe;
  --nogi: #6f4cc3;
  --saku: #f4a6c8;
  --hina: #55b7df;
  --dark: #171622;
  --shadow: 0 18px 44px rgba(36, 34, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 251, 254, 0.96) 54%),
    radial-gradient(circle at 16% 16%, rgba(111, 76, 195, 0.2), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(85, 183, 223, 0.2), transparent 32%),
    radial-gradient(circle at 72% 78%, rgba(244, 166, 200, 0.18), transparent 28%),
    var(--bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.hero,
.apps {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
  align-items: center;
  gap: 34px;
  padding: 34px 0;
}

.hero__copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--nogi);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6.8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero__points span {
  min-height: 38px;
  border: 1px solid rgba(111, 76, 195, 0.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(36, 34, 58, 0.06);
  font-size: 0.88rem;
  font-weight: 800;
}

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

.quick-app {
  min-height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  animation: cardEnter 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.quick-app:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(36, 34, 58, 0.18);
}

.quick-app img {
  width: min(100%, 142px);
  height: auto;
  margin-bottom: 18px;
  border-radius: 28%;
  box-shadow: 0 18px 32px rgba(26, 20, 44, 0.22);
  transition: transform 220ms ease;
}

.quick-app:hover img {
  transform: scale(1.025);
}

.quick-app span {
  font-size: 0.92rem;
  font-weight: 800;
  opacity: 0.86;
}

.quick-app strong {
  font-size: clamp(1.42rem, 2.35vw, 2.15rem);
  line-height: 1.05;
}

.quick-app p {
  min-height: 42px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.formation {
  position: relative;
  width: min(100%, 190px);
  display: grid;
  gap: 7px;
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 16px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.formation::after {
  content: "";
  position: absolute;
  inset: -10px -40%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.2) 48%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.2) 52%,
    transparent 65%
  );
  transform: translateX(-70%);
  animation: formationSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

.formation div {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.formation i {
  width: 18px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 4px 10px rgba(22, 18, 38, 0.14);
  opacity: 0;
  transform: translateY(6px);
  animation: dotEnter 520ms ease both;
}

.quick-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 18px;
}

.quick-actions a {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: #171720;
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.quick-actions a + a {
  color: #fff;
  background: rgba(23, 22, 34, 0.2);
}

.quick-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 18, 34, 0.18);
}

.quick-app--nogi {
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(145deg, #9271e0, #4d2a9f 72%);
}

.quick-app--saku {
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(145deg, #f9c0d8, #d85e98 72%);
  animation-delay: 90ms;
}

.quick-app--hina {
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(145deg, #76cfef, #2083b5 72%);
  animation-delay: 180ms;
}

.formation div:nth-child(1) i:nth-child(2) {
  animation-delay: 120ms;
}

.formation div:nth-child(1) i:nth-child(3) {
  animation-delay: 240ms;
}

.formation div:nth-child(1) i:nth-child(4) {
  animation-delay: 360ms;
}

.formation div:nth-child(1) i:nth-child(5) {
  animation-delay: 480ms;
}

.formation div:nth-child(2) i:nth-child(1) {
  animation-delay: 600ms;
}

.formation div:nth-child(2) i:nth-child(2) {
  animation-delay: 720ms;
}

.formation div:nth-child(2) i:nth-child(3) {
  animation-delay: 840ms;
}

.formation div:nth-child(2) i:nth-child(4) {
  animation-delay: 960ms;
}

.formation div:nth-child(3) i:nth-child(1) {
  animation-delay: 1080ms;
}

.formation div:nth-child(3) i:nth-child(2) {
  animation-delay: 1200ms;
}

.formation div:nth-child(3) i:nth-child(3) {
  animation-delay: 1320ms;
}

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

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

@keyframes dotEnter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

@keyframes formationSweep {
  0%,
  42% {
    transform: translateX(-70%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  64%,
  100% {
    transform: translateX(70%);
    opacity: 0;
  }
}

.apps {
  padding: 42px 0 76px;
}

.section-heading {
  max-width: 740px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.app-card {
  min-height: 220px;
  border: 1px solid rgba(227, 225, 234, 0.86);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(36, 34, 58, 0.08);
}

.app-card::before {
  content: "";
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: var(--app-color);
}

.app-card--nogi {
  --app-color: var(--nogi);
}

.app-card--saku {
  --app-color: var(--saku);
}

.app-card--hina {
  --app-color: var(--hina);
}

.app-card__top {
  display: grid;
  gap: 12px;
}

.app-card__group {
  margin: 0;
  color: var(--app-color);
  font-size: 0.9rem;
  font-weight: 800;
}

.app-card p:not(.app-card__group) {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 40px;
  }

  .hero__panel {
    grid-template-columns: 1fr;
  }

  .quick-app {
    min-height: auto;
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .quick-app img {
    width: 96px;
    margin: 0;
    grid-row: span 5;
  }

  .quick-app p {
    min-height: auto;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .formation {
    max-width: 220px;
    margin-top: 8px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .hero,
  .apps {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 30px 0 28px;
  }

  .quick-app {
    grid-template-columns: 82px 1fr;
    padding: 20px;
  }

  .quick-app img {
    width: 72px;
  }

  .formation i {
    width: 13px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .apps {
    padding: 42px 0 52px;
  }

  .app-card {
    min-height: auto;
    padding: 22px;
  }
}

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