/* ============================================================================
   LitoWorks トップページ専用スタイル
   ----------------------------------------------------------------------------
   ⚠ このファイルはトップページ（/index.html）からのみ読み込む。
     下層ページ（/apps/ /privacy/ /support/）は従来どおり /assets/style.css を使う。
     共通の style.css はこのデザイン移植では一切変更していない。

   元データ: 確認用 Next.js サイトの app/globals.css
   移植で変えたのは次の3点のみ。見た目に関わる指定はそのまま。
     ・Tailwind の preflight（リセット）に依存していたので、その相当分を下に直接置いた
     ・Next.js のフォント変数を実際のフォント名に置き換えた
     ・このコメントを足した
   ========================================================================== */

/* --- Tailwind preflight 相当の最小リセット ---------------------------------
   元CSSは h1/p/ul などに margin を書いていない。preflight が消していたため。
   同じ前提を満たすものだけを置く（ユーティリティクラスは使っていないので不要）。 */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid;
}

* {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

ol, ul, menu {
  list-style: none;
  padding: 0;
}

dl, dd {
  margin: 0;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

button, input, optgroup, select, textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: transparent;
}

button {
  cursor: pointer;
}


:root {
  --ink: #141414;
  --paper: #f3efe5;
  --paper-light: #faf8f2;
  --blue: #3155e7;
  --coral: #ff6657;
  --lime: #d9f34a;
  --line: rgba(20, 20, 20, 0.18);
  --white: #fffef9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 3px;
}

main {
  overflow: hidden;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.wordmark {
  position: relative;
  justify-self: start;
  width: max-content;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
}

.wordmark span {
  color: var(--lime);
}

.wordmark i {
  position: absolute;
  top: -0.12em;
  right: -0.43em;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  font-family: "Manrope", sans-serif;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-nav a,
.site-footer nav a {
  position: relative;
}

.site-nav a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta:hover {
  background: var(--white);
  color: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  min-height: 820px;
  padding: 174px clamp(24px, 6vw, 112px) 124px;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 15%, rgba(255, 255, 255, 0.11) 0 1px, transparent 1.5px) 0 0 / 20px 20px,
    var(--blue);
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: -16vw;
  left: -17vw;
  width: 48vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -17vw;
  width: 38vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 650px;
  padding-bottom: 42px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  font-family: "Manrope", sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.hero h1 {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(3rem, 5.4vw, 6.35rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.18;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  color: var(--ink);
  font-style: normal;
}

.hero h1 em::before {
  position: absolute;
  z-index: -1;
  right: -0.14em;
  bottom: 0.02em;
  left: -0.13em;
  height: 0.82em;
  border-radius: 48% 52% 46% 54%;
  background: var(--lime);
  content: "";
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 580px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 58px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  min-width: 208px;
  background: var(--coral);
  box-shadow: 0 14px 32px rgba(27, 24, 67, 0.25);
  color: var(--white);
}

.button--primary:hover {
  box-shadow: 0 18px 38px rgba(27, 24, 67, 0.35);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 0.79rem;
  font-weight: 700;
}

.text-link span,
.product-card__link span,
.button span {
  font-family: "Manrope", sans-serif;
  transition: transform 180ms ease;
}

.text-link:hover span,
.product-card__link:hover span,
.button:hover span {
  transform: translate(3px, -3px);
}

.button--primary:hover span {
  transform: translate(3px, -3px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: 520px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit--one {
  width: 450px;
  height: 450px;
}

.orbit--two {
  width: 570px;
  height: 310px;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.visual-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(360px, 60%);
  aspect-ratio: 0.88;
  padding: 24px;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 24px;
  background: var(--paper-light);
  box-shadow: 0 34px 70px rgba(17, 19, 72, 0.34);
  color: var(--ink);
  transform: translate(-50%, -50%) rotate(5deg);
}

.visual-card::before,
.visual-card::after {
  position: absolute;
  width: 62px;
  height: 17px;
  background: rgba(216, 243, 74, 0.86);
  content: "";
  transform: rotate(-36deg);
}

.visual-card::before {
  top: 16px;
  left: -24px;
}

.visual-card::after {
  right: -27px;
  bottom: 19px;
}

.visual-card__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.visual-card__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100% - 68px);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.visual-card__center p {
  margin: 0;
}

.visual-arrow {
  margin: 14px 0;
  color: var(--coral);
  font-size: 2rem;
  transform: rotate(90deg);
}

.spark {
  position: absolute;
  color: var(--blue);
  font-size: 1.4rem;
}

.spark--one {
  top: 22%;
  right: 8%;
}

.spark--two {
  bottom: 20%;
  left: 9%;
  color: var(--coral);
  font-size: 0.9rem;
}

.visual-card__note {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-icon {
  position: absolute;
  z-index: 4;
  display: block;
  border-radius: 25%;
  box-shadow: 0 22px 40px rgba(19, 18, 70, 0.32);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease;
}

.floating-icon img {
  display: block;
  width: clamp(70px, 6.5vw, 104px);
  height: auto;
  border-radius: 23%;
}

.floating-icon:hover {
  z-index: 6;
  box-shadow: 0 28px 48px rgba(19, 18, 70, 0.42);
}

.floating-icon--1 {
  top: -3%;
  left: 11%;
  transform: rotate(-10deg);
}

.floating-icon--1 img {
  width: clamp(96px, 8.7vw, 136px);
  outline: 4px solid var(--lime);
  outline-offset: 5px;
}

.floating-icon--1:hover {
  transform: rotate(-4deg) translateY(-9px) scale(1.05);
}

.floating-icon--2 {
  top: 24%;
  right: 2%;
  transform: rotate(8deg);
}

.floating-icon--2:hover {
  transform: rotate(2deg) translateY(-9px) scale(1.05);
}

.floating-icon--3 {
  bottom: 4%;
  right: 20%;
  transform: rotate(10deg);
}

.floating-icon--3:hover {
  transform: rotate(4deg) translateY(-9px) scale(1.05);
}

.floating-icon--4 {
  bottom: 12%;
  left: 2%;
  transform: rotate(-8deg);
}

.floating-icon--4:hover {
  transform: rotate(-2deg) translateY(-9px) scale(1.05);
}

.visual-label {
  position: absolute;
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.visual-label--top {
  top: 3%;
  right: 20%;
}

.visual-label--bottom {
  bottom: 0;
  left: 24%;
  transform: rotate(180deg);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 112px);
  bottom: 34px;
  left: clamp(24px, 6vw, 112px);
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-family: "Manrope", sans-serif;
}

.hero-stats > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-stats strong {
  font-size: clamp(0.9rem, 1.3vw, 1.3rem);
  letter-spacing: -0.03em;
}

.hero-stats span,
.hero-stats p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-stats p {
  margin: 0 0 0 auto;
}

.section {
  padding: clamp(92px, 10vw, 160px) clamp(24px, 6vw, 112px);
}

.products {
  position: relative;
  background:
    linear-gradient(rgba(20, 20, 20, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}

.eyebrow--dark {
  margin-bottom: 22px;
}

.eyebrow--dark > span {
  background: var(--blue);
}

.section-heading h2,
.philosophy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1.1;
}

.section-heading > p {
  max-width: 460px;
  margin: 0 0 4px auto;
  color: #4f4c46;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.9;
}

.game-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  min-height: 650px;
  overflow: hidden;
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 34px 70px rgba(44, 36, 26, 0.18);
  color: var(--white);
}

.game-feature__visual {
  position: relative;
  display: grid;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 16%, rgba(255, 255, 255, 0.08) 0 2px, transparent 2.5px) 0 0 / 24px 24px,
    #202a3f;
  isolation: isolate;
  place-items: center;
}

.game-feature__visual::after {
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.game-board {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(520px, 78%);
  aspect-ratio: 1.5;
  gap: 10px;
  transform: rotate(-8deg) skewY(2deg);
}

.tile {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 18px 28px rgba(0, 0, 0, 0.18);
}

.tile--red {
  background: #ff554d;
}

.tile--blue {
  background: #4d6dff;
}

.tile--green {
  background: #48c96d;
}

.tile--yellow {
  background: #f4d44f;
}

.tile--purple {
  background: #8759e8;
}

.tile--orange {
  background: #ff914d;
}

.game-feature__visual img {
  position: relative;
  z-index: 2;
  width: clamp(150px, 15vw, 208px);
  height: auto;
  border-radius: 24%;
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.42);
  transform: rotate(5deg);
}

.countdown {
  position: absolute;
  z-index: 3;
  top: 9%;
  left: 8%;
  display: grid;
  width: 78px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  transform: rotate(-9deg);
}

.roblox-stamp {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 9%;
  padding: 11px 18px;
  border: 2px solid var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  transform: rotate(-5deg);
}

.game-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 76px);
}

.game-feature__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 54px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.game-feature__platform {
  margin: 0 0 14px;
  color: var(--lime);
  font-family: "Manrope", sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.game-feature h3 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.game-feature__reading {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  font-weight: 600;
}

.game-feature__description {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.9;
}

.game-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.game-facts div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.game-facts dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.43);
  font-family: "Manrope", sans-serif;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.game-facts dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.game-feature__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.button--lime {
  min-width: 205px;
  background: var(--lime);
  color: var(--ink);
}

.button--lime:hover {
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
}

.game-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
}

.game-detail-link span {
  transition: transform 180ms ease;
}

.game-detail-link:hover span {
  transform: translate(3px, -3px);
}

.roblox-forward {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1.3fr 0.72fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  margin-top: 22px;
  padding: 38px clamp(26px, 3vw, 44px);
  border: 1px solid rgba(20, 20, 20, 0.13);
  border-radius: 24px;
  background: var(--coral);
}

.roblox-forward__label,
.roblox-forward__status {
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.roblox-forward h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.roblox-forward p {
  margin: 0;
  color: rgba(20, 20, 20, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.75;
}

.roblox-forward__status {
  justify-self: end;
  padding: 11px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-align: center;
}

.utility-section {
  margin-top: clamp(100px, 11vw, 170px);
}

.utility-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 46px;
}

.utility-heading h3 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.3rem);
  letter-spacing: -0.065em;
  line-height: 1.15;
}

.utility-heading > p {
  max-width: 410px;
  margin: 0 0 4px auto;
  color: #5e5a52;
  font-size: 0.86rem;
  line-height: 1.85;
}

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

.utility-grid .product-card {
  min-height: 485px;
}

.utility-grid .product-card__icon {
  width: clamp(84px, 7vw, 106px);
}

.utility-grid .product-card__body {
  max-width: 100%;
  padding-top: 142px;
  padding-bottom: 48px;
}

.utility-grid .product-card h3 {
  font-size: clamp(1.45rem, 2.25vw, 2.35rem);
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 450px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 28px;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card::after {
  position: absolute;
  z-index: -1;
  top: -100px;
  right: -80px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 50%;
  content: "";
}

.product-card:hover {
  box-shadow: 0 28px 58px rgba(55, 45, 28, 0.13);
  transform: translateY(-6px);
}

.product-card--violet {
  background: #e1ddff;
}

.product-card--orange {
  background: #ffe2be;
}

.product-card--pink {
  background: #ffd9e8;
}

.product-card--navy {
  background: #d8e2fa;
}

.product-card__meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-self: start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.product-card__icon {
  position: absolute;
  z-index: -1;
  top: 90px;
  right: clamp(24px, 3vw, 42px);
  width: clamp(86px, 8vw, 120px);
  height: auto;
  border-radius: 23%;
  box-shadow: 0 18px 32px rgba(36, 30, 26, 0.18);
  transform: rotate(4deg);
  transition: transform 220ms ease;
}

.product-card:hover .product-card__icon {
  transform: rotate(0) scale(1.05);
}

.product-card__body {
  grid-column: 1 / -1;
  align-self: end;
  max-width: 76%;
  padding-top: 118px;
}

.product-card__platform {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.22;
}

.product-card__reading {
  margin: 6px 0 0;
  color: rgba(20, 20, 20, 0.58);
  font-size: 0.73rem;
  font-weight: 600;
}

.product-card__description {
  margin: 22px 0 0;
  color: rgba(20, 20, 20, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.75;
}

.product-card__link {
  position: absolute;
  right: clamp(26px, 3vw, 42px);
  bottom: clamp(26px, 3vw, 42px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 800;
}

.philosophy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(50px, 9vw, 150px);
  background: var(--ink);
  color: var(--white);
}

.philosophy::before {
  position: absolute;
  top: -80px;
  left: -50px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.eyebrow--light > span {
  background: var(--coral);
}

.philosophy-intro > p:last-child {
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 2;
}

.principles {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.principles li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.principles li > span {
  color: var(--lime);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.principles h3 {
  margin: -5px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.principles p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.8;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  overflow: hidden;
  background: var(--lime);
}

.contact::after {
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 50%;
  content: "";
}

.contact-mark {
  position: relative;
  display: grid;
  width: clamp(120px, 14vw, 200px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-size: clamp(4.3rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  transform: rotate(-8deg);
}

.contact-mark i {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
}

.contact .eyebrow {
  margin-bottom: 20px;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy p {
  margin: 0 0 34px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.9;
}

.button--dark {
  min-width: 215px;
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  box-shadow: 0 15px 30px rgba(20, 20, 20, 0.18);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding: 72px clamp(24px, 6vw, 112px) 34px;
  background: var(--paper-light);
}

.wordmark--footer {
  color: var(--ink);
}

.wordmark--footer span {
  color: var(--blue);
}

.site-footer > p {
  margin: 0;
  color: #5b5851;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.8;
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 36px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: #6f6a62;
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-bottom span:nth-child(2) {
  justify-self: center;
}

.footer-bottom a {
  justify-self: end;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero-visual {
    transform: scale(0.86);
  }

  .visual-label--top {
    right: 8%;
  }

  .product-card__body {
    max-width: 88%;
  }

  .game-feature {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  }

  .game-feature__copy {
    padding: 44px;
  }

  .roblox-forward {
    grid-template-columns: 0.5fr 1fr 1.5fr;
  }

  .roblox-forward__status {
    display: none;
  }

  .contact {
    grid-template-columns: 0.45fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    width: min(620px, 100%);
    min-height: 560px;
    margin: 20px auto 48px;
    transform: none;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1;
    margin-top: 10px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    margin-left: 0;
  }

  .game-feature {
    grid-template-columns: 1fr;
  }

  .game-feature__visual {
    min-height: 520px;
  }

  .game-feature__copy {
    padding: 54px;
  }

  .roblox-forward {
    grid-template-columns: 0.42fr 1fr;
  }

  .roblox-forward p {
    grid-column: 2;
  }

  .utility-heading {
    grid-template-columns: 1fr;
  }

  .utility-heading > p {
    margin-left: 0;
  }

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

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

  .product-card {
    min-height: 420px;
  }

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

  .contact {
    grid-template-columns: auto 1fr;
  }

  .contact-copy {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 5rem;
  }

  .site-header {
    min-height: 72px;
    padding-inline: 20px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.65rem;
  }

  .hero {
    min-height: auto;
    padding: 126px 20px 58px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12.5vw, 4rem);
    line-height: 1.25;
  }

  .hero-lead {
    margin-top: 28px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 34px;
  }

  .hero-visual {
    min-height: 440px;
    margin-top: 44px;
  }

  .orbit--one {
    width: 320px;
    height: 320px;
  }

  .orbit--two {
    width: 390px;
    height: 230px;
  }

  .visual-card {
    width: 235px;
    border-radius: 18px;
  }

  .visual-card__center {
    font-size: 1.75rem;
  }

  .floating-icon img {
    width: 70px;
  }

  .floating-icon--1 {
    top: 0;
    left: 9%;
  }

  .floating-icon--1 img {
    width: 92px;
    outline-width: 3px;
    outline-offset: 4px;
  }

  .floating-icon--2 {
    right: 1%;
  }

  .floating-icon--3 {
    right: 12%;
  }

  .visual-label {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-top: 20px;
  }

  .hero-stats p {
    flex-basis: 100%;
    margin: 0;
  }

  .section {
    padding: 86px 20px;
  }

  .section-heading {
    gap: 26px;
    margin-bottom: 42px;
  }

  .section-heading h2,
  .philosophy h2,
  .contact h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .game-feature {
    border-radius: 24px;
  }

  .game-feature__visual {
    min-height: 390px;
  }

  .game-board {
    width: 330px;
    gap: 7px;
  }

  .tile {
    border-radius: 12px;
  }

  .game-feature__visual img {
    width: 140px;
  }

  .countdown {
    width: 58px;
    font-size: 1.75rem;
  }

  .roblox-stamp {
    right: 6%;
    bottom: 8%;
    padding: 8px 12px;
    font-size: 0.58rem;
  }

  .game-feature__copy {
    padding: 32px 26px 38px;
  }

  .game-feature__meta {
    margin-bottom: 38px;
  }

  .game-facts {
    gap: 9px;
  }

  .game-facts div + div {
    padding-left: 9px;
  }

  .game-facts dd {
    font-size: 0.7rem;
  }

  .game-feature__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .roblox-forward {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 26px;
  }

  .roblox-forward p {
    grid-column: 1;
  }

  .utility-section {
    margin-top: 92px;
  }

  .utility-heading {
    gap: 22px;
    margin-bottom: 38px;
  }

  .utility-heading h3 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .product-card {
    display: block;
    min-height: 480px;
    padding: 26px;
    border-radius: 22px;
  }

  .product-card__icon {
    top: 84px;
    right: 26px;
    width: 92px;
  }

  .product-card__body {
    max-width: 100%;
    padding-top: 164px;
    padding-bottom: 54px;
  }

  .product-card__description {
    max-width: 92%;
  }

  .product-card__link {
    right: auto;
    bottom: 26px;
    left: 26px;
  }

  .philosophy {
    gap: 56px;
  }

  .principles li {
    grid-template-columns: 38px 1fr;
    gap: 15px;
  }

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

  .contact-mark {
    width: 115px;
    margin-bottom: 10px;
  }

  .contact-copy {
    grid-column: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 58px 20px 28px;
  }

  .site-footer nav {
    grid-column: 1;
    grid-row: auto;
    flex-wrap: wrap;
    gap: 18px 26px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .footer-bottom span:nth-child(2),
  .footer-bottom a {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   移植時の調整（元デザインからの唯一の変更）
   ----------------------------------------------------------------------------
   「ちゃんと面白い。／ ちゃんと使える。」の見出しが、1100〜1600px あたりで
   文の途中（"ちゃんと面白" ／ "い。"）で折り返してしまう。
   左カラムの幅に対して文字が大きすぎるため。実測すると 1440px で
   カラム510px に対し文字列が約569px 必要だった。
   この見出しだけ、カラム幅に収まる大きさに抑える。
   ほかの見出し（.section-heading h2 / .contact h2）は元のまま。
   ========================================================================== */
.philosophy h2 {
  font-size: clamp(2.5rem, 4.3vw, 5.2rem);
}
