@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Inter:wght@400;600;700&family=Poppins:wght@700&family=RocknRoll+One&family=Roboto:wght@400;700&family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+SC:wght@400;700&family=M+PLUS+Rounded+1c:wght@700&family=Shippori+Mincho+B1:wght@700&family=Yusei+Magic&family=Dela+Gothic+One&display=swap');

@font-face {
  font-family: 'LogoTypeGothic';
  src: url('../font/07LogoTypeGothic7.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LXGWMarkerGothic';
  src: url('../font/@LXGWMarkerGothic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0d10;
  --panel: #13161a;
  --text: #e6f0e9;
  --muted: #a9b9b0;
  --brand: #6bd16f;
  --brand-2: #3aa84a;
  --max: 1000px;
  --radius: 14px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  background:
    linear-gradient(rgba(11, 13, 16, .88), rgba(11, 13, 16, .88)),
    url("../img/back.webp") right 100%/cover no-repeat,
    var(--bg);
  background-attachment: fixed, fixed;
  background-size: auto, 180% auto;
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--brand);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(11, 13, 16, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* Game local sub header */
.subheader {
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(11, 13, 16, .6);
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

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

.brand-mark {
  height: 28px;
  width: auto;
  display: block
}

.brand h1 {
  font-size: 18px;
  margin: 0
}

.brand img {
  height: 28px;
  width: auto;
  display: block
}

/* Use LogoTypeGothic (local) for titles and brand text */
h1,
h2,
h3,
.brand h1,
.site-title {
  font-family: 'LogoTypeGothic', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

/* zh-CN: prefer Noto Sans SC for Chinese glyphs */
html[lang="zh-CN"] body {
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .brand h1,
html[lang="zh-CN"] .site-title {
  font-family: 'LXGWMarkerGothic', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

html[lang="zh-CN"] .section-title {
  font-family: 'LXGWMarkerGothic', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

html[lang="zh-CN"] .card.game-horizontal .info h3 {
  font-family: 'LXGWMarkerGothic', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

.nav a {
  color: var(--text);
  opacity: .9;
  margin-left: 18px
}

.nav a.active {
  color: var(--brand)
}

.nav .brand a {
  margin-left: 0
}

/* Ensure brand stays flush-left and SNS spacing starts after the first icon */
.nav .brand>a {
  margin-left: 0 !important
}

.nav .sns a:first-child {
  margin-left: 0
}

/* Header SNS icons */
.nav .sns a {
  margin-left: 12px;
  text-decoration: none
}

.nav .sns a:hover {
  text-decoration: none
}

.nav .sns .inline-logo {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle
}

/* Place SNS and Language together on the right */
.nav .sns {
  margin-left: auto;
  display: flex;
  align-items: center
}

.nav .lang {
  margin-left: 16px
}

/* Hover/Focus emphasis for SNS links */
.nav .sns a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 8px;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease
}

.nav .sns a:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateY(-1px)
}

.nav .sns a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(107, 209, 111, .35);
  background: rgba(255, 255, 255, .06)
}

.nav .sns .inline-logo {
  transition: filter .15s ease
}

.nav .sns a:hover .inline-logo,
.nav .sns a:focus-visible .inline-logo {
  filter: brightness(1.15) drop-shadow(0 1px 2px rgba(0, 0, 0, .25))
}

/* Language dropdown (details/summary) */
.nav details.lang {
  position: relative
}

.nav details.lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  height: 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  opacity: .9;
  transition: background-color .15s ease, box-shadow .15s ease;
  font-size: 14px
}

.nav details.lang summary::-webkit-details-marker {
  display: none
}

.nav details.lang summary:hover,
.nav details.lang summary:focus-visible {
  background: rgba(255, 255, 255, .06);
  outline: none;
  box-shadow: 0 0 0 2px rgba(107, 209, 111, .35)
}

.nav details.lang summary .icon {
  width: 16px;
  height: 16px;
  display: inline-block
}

.nav details.lang .menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  margin: 0;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35)
}

.nav details.lang[open] .menu {
  display: block
}

.nav details.lang .menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px
}

.nav details.lang .menu a:hover,
.nav details.lang .menu a:focus-visible {
  background: rgba(255, 255, 255, .06);
  outline: none
}

@media (max-width: 820px) {
  .nav .lang {
    margin-left: 12px
  }

  .nav .sns a {
    margin-left: 10px
  }

  .nav details.lang .menu {
    min-width: 140px
  }
}

/* Mobile tweaks: tighter header on small screens */
@media (max-width: 600px) {

  /* Smaller SNS icons and spacing */
  .nav .sns a {
    margin-left: 8px;
    padding: 2px
  }

  .nav .sns .inline-logo {
    height: 14px
  }

  /* Language switcher: icon-only on mobile */
  .nav details.lang summary {
    gap: 0;
    padding: 0;
    width: 28px;
    height: 28px;
    justify-content: center
  }

  .nav details.lang summary .current {
    display: none
  }

  .nav details.lang summary .icon {
    width: 16px;
    height: 16px
  }
}

.hero {
  background:
    radial-gradient(1200px 600px at 80% -40%, rgba(107, 209, 111, .25), transparent 60%),
    radial-gradient(1200px 600px at -10% -20%, rgba(58, 168, 74, .15), transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hero .inner {
  padding: 16px 0 0px
}

/* Hero KV wrapper: center the block, align content to left */
.hero .kv-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: left
}

.hero .kv-wrap .cta {
  justify-content: flex-start
}

.hero .kv-wrap .title {
  display: block;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 12px
}

.hero .hero-copy .title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px
}

.hero .hero-copy .title .title-logo {
  height: 48px;
  width: auto;
  display: inline-block;
  vertical-align: middle
}

.hero .visual {
  position: relative
}

.hero .visual img {
  width: auto;
  max-width: 160px;
  height: auto;
  border-radius: var(--radius);
  display: block;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  margin-left: auto
}

.hero-inline-logo {
  display: none
}

.hero .visual img.logo-mark {
  background: rgba(255, 255, 255, .02);
  padding: 10px
}

.kicker {
  color: var(--brand);
  letter-spacing: .08em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px
}

h2.title {
  font-size: 32px;
  line-height: 1.2;
  margin: 10px 0 10px
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 780px
}

.cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  background: transparent
}

/* Link-like ghost style: between plain link and button */
.btn.ghost {
  background: transparent;
  border: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-decoration: none;
  text-underline-offset: 3px
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  outline: none
}

/* Override generic .btn hover lift */
.btn.ghost:hover {
  transform: none
}

/* Inline SVG icon size for buttons */
.btn .icon-svg {
  width: 16px;
  height: 16px;
  display: inline-block
}

/* Compact spacing in subheader */
.subnav .btn.ghost {
  padding: 6px 8px
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  color: #0b0d10;
  font-weight: 700
}

/* Store button icon */
.btn.store img {
  height: 32px;
  width: auto;
  display: block
}

/* Steam brand button (icon only) */
.btn.steam {
  background: #1b2838;
  /* Steam navy */
  border: none;
}

.btn.steam:hover {
  filter: brightness(1.06)
}

/* Epic brand button (icon only) */
.btn.epic {
  background: #121212;
  border: none;
}

.btn.epic:hover {
  filter: brightness(1.06)
}

.btn:hover {
  transform: translateY(-1px)
}

.small {
  font-size: 13px;
  color: var(--muted)
}

/* Icon-only button (used in subheader back-to-top) */
.btn.icon {
  padding: 6px 8px;
  border: none;
  background: transparent
}

.btn.icon img {
  height: 24px;
  width: auto;
  display: block
}

/* Section title (Lineup) */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'LogoTypeGothic', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.section-title .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.section-title .kicker .inline-logo {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  opacity: .95;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2))
}

.section-title .kicker {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase
}

.section-title .sub {
  color: var(--muted);
  font-size: 12px
}

.grid {
  display: grid;
  gap: 18px
}

.cards {
  grid-template-columns: 1fr;
  margin-top: 26px
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 18px
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px
}

/* Underline for card headings */
.cards .card>h3 {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 10px
}

.gallery {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 14px
}

.thumb {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b2026, #0f1216);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .06);
  color: #7d8b85;
  font-size: 14px
}

.gallery figure {
  margin: 0
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  display: block
}

/* Card images (game list) */
.card figure {
  margin: 0
}

.card figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  display: block
}

/* Make feature images a bit smaller on desktop to reduce prominence (only for features section) */
@media (min-width: 821px) {
  .features .card figure img {
    width: 88%;
    margin: 0 auto
  }
}

/* Features list: slightly smaller bullet text */
.features .card .info ul,
.features .card .info li {
  font-size: 15px;
}

.features .card .info li {
  line-height: 2;
}

/* Features list: square bullets */
.features .card .info ul {
  list-style-type: square;
  margin-left: 36px;
}

/* Font compare grid */
.font-compare {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 14px
}

.font-compare .title {
  font-size: 28px;
  margin: 0;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.font-compare .subtitle {
  font-size: 20px;
  margin: 4px 0 0
}

/* Font family utilities */
.font-mplus {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif
}

.font-shippori {
  font-family: 'Shippori Mincho B1', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', serif
}

.font-yusei {
  font-family: 'Yusei Magic', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif
}

.font-dela {
  font-family: 'Dela Gothic One', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif
}

/* Horizontal game card */
.card.game-horizontal {
  display: grid;
  grid-template-columns: 1.8fr 2.2fr;
  align-items: start;
  gap: 18px
}

.card.game-horizontal>h3 {
  grid-column: 1 / -1
}

.card.game-horizontal .info h3 {
  margin-top: 0;
  font-family: 'LogoTypeGothic', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 0px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 10px;
  font-size: 22px
}

/* English only: shrink game title to avoid wrapping */
html[lang="en"] .card.game-horizontal .info h3 {
  font-size: 19px;
}

.card.game-horizontal .info p {
  margin: 6px 0 0
}

/* Game description: control font size and line spacing */
.game-desc {
  font-size: 15px;
  /* 文字サイズ */
  line-height: 1.8;
  /* 行間 */
}

.card.game-horizontal .cta {
  margin-top: 14px
}

.card.game-horizontal figure.thumb-wide img {
  aspect-ratio: 16/9
}

.card.game-horizontal .compare {
  grid-column: 1 / -1;
  margin-top: 16px
}

.card.game-horizontal .compare>h3 {
  margin: 0 0 8px
}

section {
  padding: 34px 0
}

/* Font sample section */
.font-samples {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px
}

.font-card .sample {
  font-size: 20px;
  margin: 8px 0
}

.font-card .sample.small {
  font-size: 16px;
  color: var(--muted)
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif
}

.font-inter {
  font-family: 'Inter', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif
}

.font-poppins {
  font-family: 'Poppins', sans-serif
}

.font-rocknroll {
  font-family: 'RocknRoll One', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif
}

.font-roboto {
  font-family: 'Roboto', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif
}

.font-noto {
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif
}

footer.site {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

footer .inner {
  padding: 26px 0;
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap
}

/* Presskit info table */
.info-table {
  width: 100%;
  border-collapse: collapse
}

.info-table th,
.info-table td {
  padding: 10px 12px;
  vertical-align: top
}

.info-table th {
  width: 240px;
  color: var(--muted);
  text-align: left;
  letter-spacing: .02em;
  white-space: nowrap
}

.info-table td {
  color: var(--text)
}

.info-table tr+tr td,
.info-table tr+tr th {
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.info-table a {
  color: var(--brand)
}

/* Prevent horizontal overflow on small screens: allow long URLs/text to wrap in presskit tables */
.info-table td,
.info-table td a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width:820px) {
  .info-table th {
    width: 160px
  }
}

@media (max-width: 820px) {
  body {
    background-attachment: scroll, scroll;
    background-size: auto, cover;
    background-position: right top;
  }

  .cards {
    grid-template-columns: 1fr
  }

  .gallery {
    grid-template-columns: 1fr
  }

  h2.title {
    font-size: 32px
  }

  .hero .inner {
    gap: 14px
  }

  .hero .visual img {
    max-width: 120px;
    margin: 10px 0 0 auto
  }

  .card.game-horizontal {
    grid-template-columns: 1fr
  }

  /* Mobile: remove left indent for features list */
  .features .card .info ul {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside
  }
}

/* Overview typography only (keep default card background) */
.card.overview p {
  max-width: 100ch;
  padding-left: 1em;
  letter-spacing: 1px;
}

/* Overview paragraph initial cap */
.card.overview p::first-letter {
  color: var(--brand);
  font-size: 1.5em;
  line-height: 1;
  margin-right: 0.06em;
}