/*
  株式会社ピクセル・フォージ（架空）コーポレートサイト
  題材の特色：鉄を鍛えるように1ドット・1フレームを打ち込むインディースタジオ。
  見本：ゲーム会社・インディースタジオ8件を sample.js で測った（2026-11-21、PC 1440px）
    inti.co.jp・vanillaware.co.jp・gamefreak.co.jp・pocketpair.jp・supergiantgames.com・
    motiontwin.com・dotemu.com・acquire.co.jp
  - 最初の画面の主役はゲームの絵（8件中7件）。会社の一文は脇 → キービジュアルに 1.618 を渡す
  - 色はゲームの絵が持ち、画面の地と文字はほぼ無彩色（地 #fff・#f2efec・#e7e7e7、暗い地は Vanillaware #11143a）
  - 英字は幾何学的なゴシック（Outfit＝pocketpair・URW DIN＝gamefreak・Poppins＝dotemu）、和文は Noto Sans JP。
    ドット書体は0件 → ドット絵らしさは絵に任せ、書体には持たせない
  - ボタンは0〜7個、角0〜4px（gamefreak だけ 25px）。全幅の罫は8件中6件で0本
  色は3色：地＝紙の白、主＝鉄の黒、差し色＝焼けた鉄の橙（会社名の「鍛える」から。ボタン・日付・現在地だけ）。
*/
:root {
  --paper: #f6f5f2;
  --iron: #1c1a17;
  --ember: #b23c12;
  --ember-lit: #f08a55; /* 暗い地の上の橙（同じ色相を明るく） */
  --ink: #1c1a17;
  --ink-sub: #4a463f;
  --line: #dad7d0;
  --on-iron: #f2eee6;
  --on-iron-sub: #c9c2b5;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-dot: "Outfit", "Noto Sans JP", sans-serif; /* 英字の章題・ナビ・ロゴ */
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
  word-break: auto-phrase; /* 日本語を文節で折り返す */
  text-wrap: pretty;
}
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 8px; top: -60px; background: var(--ember); color: #fff;
  padding: 8px 12px; z-index: 100;
}
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

/* ===== ヘッダー（隠さない薄い帯） ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 26, 23, .94);
  color: var(--on-iron);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--font-dot); font-weight: 700; font-size: 20px;
  letter-spacing: .08em; white-space: nowrap;
}
.logo img { height: 36px; width: auto; }
.logo small { font-size: 13px; color: var(--on-iron-sub); }
.gnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav a {
  display: block; padding: 8px 12px; text-decoration: none;
  font-family: var(--font-dot); font-size: 15px; letter-spacing: .06em;
}
.gnav a span { display: block; font-family: var(--font-ja); font-size: 13px; color: var(--on-iron-sub); letter-spacing: 0; line-height: 1.2; }
.gnav a:hover, .gnav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--ember); }
.gnav .nav-entry a { background: var(--ember); color: #fff; }
.gnav .nav-entry a span { color: #fff; }
.menu-btn {
  display: none; background: none; border: 0; color: var(--on-iron);
  font-family: var(--font-dot); font-size: 15px; padding: 10px 4px; cursor: pointer;
}

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 64px 0 auto 0; background: var(--iron);
    max-height: calc(100vh - 64px); overflow-y: auto;
    display: none; padding: 8px var(--gutter) 24px;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid #3a3631; }
  .gnav a span { font-size: 13px; }
  .gnav .nav-entry a { margin-top: 16px; text-align: center; border: 0; }
}

.btn {
  border-radius: 2px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; font-weight: 700; font-size: 16px; text-decoration: none;
  background: var(--ember); color: #fff; border: 0; cursor: pointer;
}
.btn:hover { background: #a93a14; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }

/* ===== 章 ===== */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { padding-top: 0; }
.sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 36px; }
.sec-head h2 { font-family: var(--font-dot); font-weight: 600; font-size: clamp(32px, 4vw, 48px); letter-spacing: .02em; line-height: 1.2; }
.sec-head p { color: var(--ink-sub); font-size: 15px; }
.page-head { background: var(--iron); color: var(--on-iron); padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); }
.page-head h1 { font-family: var(--font-dot); font-weight: 600; font-size: clamp(40px, 6vw, 72px); letter-spacing: .02em; line-height: 1.15; }
.page-head h1 span { display: block; font-family: var(--font-ja); font-weight: 700; font-size: 16px; color: var(--on-iron-sub); letter-spacing: .06em; margin-top: 8px; }
.page-head .catch { margin-top: 24px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.page-head .lead { margin-top: 16px; max-width: 42em; color: var(--on-iron-sub); }
.crumb { font-size: 13px; color: var(--on-iron-sub); margin-bottom: 20px; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb li + li::before { content: "/"; margin-right: 8px; }

/* NEWS */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.news-list li { display: grid; grid-template-columns: 8.5em 1fr; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-list time { font-family: var(--font-dot); font-weight: 500; font-size: 16px; color: var(--ember); }
@media (max-width: 600px) { .news-list li { grid-template-columns: 1fr; gap: 2px; } }

/* 代表メッセージ */
.message { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.message .portrait { aspect-ratio: 4 / 5; background: #312d28; }
.message .portrait img { width: 100%; height: 100%; object-fit: cover; }
.message h3 { font-size: clamp(22px, 2.6vw, 30px); }
.message blockquote { margin: 24px 0 0; padding: 0; }
.message blockquote p { font-size: 16px; line-height: 2; }
.message .sign { margin-top: 24px; font-size: 15px; color: var(--ink-sub); }
.message .sign strong { display: block; font-size: 20px; color: var(--ink); }

/* ===== 開発タイトル ===== */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; }
.filter fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter legend { float: left; margin-right: 8px; font-size: 15px; color: var(--ink-sub); }
.chip {
  font: inherit; font-size: 15px; padding: 6px 14px; cursor: pointer;
  background: #ebe9e4; color: var(--ink); border: 0;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter .count { font-size: 15px; color: var(--ink-sub); margin-left: auto; }
.filter .count strong { font-family: var(--font-dot); font-size: 20px; color: var(--ember); font-weight: 600; }
.chip .n { margin-left: 6px; font-size: 13px; opacity: .75; }

/* 1タイトル＝1本の帯。ゲーム画面を暗くして背景に敷き、タイトル画面を左に（Supergiant の型） */
.game-list { display: grid; gap: 4px; }
.game { position: relative; overflow: hidden; background: var(--iron); color: var(--on-iron); }
.game[hidden] { display: none; }
.game-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px); transform: scale(1.04); opacity: .35; }
.game-inner {
  position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start;
}
.shots { margin: 0; display: grid; gap: 4px; }
.shots img { width: 100%; aspect-ratio: 1200 / 655; object-fit: cover; }
.game .kind { display: inline-block; padding: 2px 8px; background: var(--ember); color: #fff; font-size: 13px; font-weight: 700; }
.game h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 12px; }
.game h2 .en { display: block; font-family: var(--font-dot); font-weight: 600; font-size: 15px; color: var(--on-iron-sub); letter-spacing: .06em; }
.game .catch { margin-top: 12px; font-weight: 700; font-size: 17px; color: var(--ember-lit); }
.game .spec { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 4px 12px; margin: 20px 0 0; font-size: 15px; }
.game .spec dt { color: var(--on-iron-sub); }
.game .spec dd { margin: 0; }
.game .summary { margin-top: 20px; color: #e6e1d8; }
.game .role { margin-top: 16px; font-size: 15px; padding-left: 12px; box-shadow: inset 3px 0 0 var(--ember-lit); }
.empty { padding: 48px 0; }

/* ===== 会社概要 ===== */
.outline { display: grid; grid-template-columns: 10em 1fr; margin: 0; border-top: 2px solid var(--ink); }
.outline dt, .outline dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.outline dt { font-weight: 700; }
.outline dd ul { margin: 0; padding-left: 1.2em; }
.map { margin-top: 32px; aspect-ratio: 16 / 7; background: #ebe9e4; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-note { margin-top: 8px; font-size: 13px; color: var(--ink-sub); }
@media (max-width: 600px) {
  .outline { grid-template-columns: 1fr; }
  .outline dt { padding-bottom: 0; border-bottom: 0; }
  .map { aspect-ratio: 4 / 3; }
}

/* ===== 採用 ===== */
.persona { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.persona li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; }
.persona li::before { content: ""; position: absolute; left: 0; top: 27px; width: 10px; height: 10px; background: var(--ember); }
.job { padding: 40px 0; border-top: 2px solid var(--ink); }
.job h3 { font-size: clamp(20px, 2.4vw, 26px); }
.job h3 small { display: block; font-size: 15px; font-weight: 700; color: var(--ember); }
.job dl { display: grid; grid-template-columns: 9em 1fr; margin: 20px 0 0; }
.job dt, .job dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.job dt { font-weight: 700; }
.job dd ul { margin: 0; padding-left: 1.2em; }
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.voice .who { font-size: 15px; color: var(--ink-sub); }
.voice .who strong { display: block; font-size: 20px; color: var(--ink); }
.voice h3 { font-size: 20px; margin: 12px 0 14px; }
.voice .face { aspect-ratio: 3 / 2; background: #312d28; margin-bottom: 20px; }
.voice .face img { width: 100%; height: 100%; object-fit: cover; }
.conditions { display: grid; grid-template-columns: 9em 1fr; margin: 0; border-top: 2px solid var(--ink); }
.conditions dt, .conditions dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.conditions dt { font-weight: 700; }
.conditions dd ul { margin: 0; padding-left: 1.2em; }
.flow { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.flow li { counter-increment: step; background: #ebe9e4; padding: 18px 16px; font-weight: 700; font-size: 15px; }
.flow li::before { content: "STEP " counter(step); display: block; font-family: var(--font-dot); font-weight: 600; font-size: 13px; color: var(--ember); }
.flow li:last-child { background: var(--ember); color: #fff; }
.flow li:last-child::before { color: #fff; }
.flow-note { margin-top: 8px; font-size: 15px; color: var(--ink-sub); }
.entry-band { background: var(--iron); color: var(--on-iron); padding: clamp(56px, 8vw, 96px) 0; }
.entry-band .wrap { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.entry-band h2 { font-family: var(--font-dot); font-weight: 600; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
.entry-band p { margin-top: 16px; color: var(--on-iron-sub); }
.entry-band .btn { font-size: 20px; padding: 18px 28px; justify-self: start; }
@media (max-width: 900px) {
  .persona, .voices { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .job dl, .conditions { grid-template-columns: 1fr; }
  .job dt, .conditions dt { padding-bottom: 0; border-bottom: 0; }
}

/* ===== お問い合わせ ===== */
.notes { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.notes li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.notes strong { display: block; }
.form { max-width: 760px; }
.field { padding: 20px 0; border-bottom: 1px solid var(--line); }
.field > label, .field > .label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; }
.req, .opt { font-size: 13px; font-weight: 700; padding: 1px 8px; }
.req { background: var(--ember); color: #fff; }
.opt { background: #ddd6c9; color: var(--ink-sub); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  background: #fff; color: var(--ink); border: 1px solid #a8a092; border-radius: 0;
}
.field textarea { min-height: 200px; resize: vertical; }
.field .hint { margin-top: 6px; font-size: 13px; color: var(--ink-sub); }
.field .err { margin-top: 6px; font-size: 15px; font-weight: 700; color: #a3300c; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #a3300c; box-shadow: 0 0 0 1px #a3300c; }
.field[hidden] { display: none; }
.agree label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.agree input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--ember); }
.form-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.confirm-table { display: grid; grid-template-columns: 11em 1fr; margin: 0; border-top: 2px solid var(--ink); }
.confirm-table dt, .confirm-table dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.confirm-table dt { font-weight: 700; }
.confirm-table dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.step-bar { list-style: none; display: flex; gap: 4px; margin: 0 0 32px; padding: 0; font-size: 15px; }
.step-bar li { flex: 1; padding: 10px 12px; background: #ebe9e4; color: var(--ink-sub); }
.step-bar li[aria-current="step"] { background: var(--ink); color: var(--paper); font-weight: 700; }
.demo-note { margin-top: 16px; font-size: 15px; color: var(--ink-sub); }
@media (max-width: 600px) {
  .confirm-table { grid-template-columns: 1fr; }
  .confirm-table dt { padding-bottom: 0; border-bottom: 0; }
}

/* ===== フッター ===== */
.site-footer { background: var(--iron); color: var(--on-iron); padding: 56px 0 32px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: 32px; }
.site-footer .name { font-weight: 700; font-size: 16px; }
.site-footer address { font-style: normal; margin-top: 8px; color: var(--on-iron-sub); }
.site-footer .contact-cta { margin-top: 20px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.site-footer nav a { text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .bottom { grid-column: 1 / -1; border-top: 1px solid #3a3631; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--on-iron-sub); }

/* ===== 幅が狭いとき ===== */
@media (max-width: 900px) {
  .message, .game-inner, .entry-band .wrap, .site-footer .wrap { grid-template-columns: 1fr; }
  .message .portrait { max-width: 360px; }
}
.done-title { font-size: 24px; }
.done-text { margin-top: 16px; }

/* ===== 画像（課題素材） ===== */
.logo img { width: 32px; height: 36px; object-fit: contain; }
.door-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 20px; }
.recruit-photo { margin: 0; }
.recruit-photo img { width: 100%; max-height: 420px; object-fit: cover; }
.wide-photo { margin: 40px 0 0; }
.wide-photo img { width: 100%; }

/* ===== 会社概要 ===== */
.page-head .catch-en { display: block; margin-top: 8px; font-family: var(--font-dot); font-weight: 500; font-size: 16px; color: var(--ember-lit); }
.mission { font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; line-height: 1.6; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.values h3 { font-size: 20px; }
.values h3 span { display: block; font-family: var(--font-dot); font-weight: 600; font-size: 24px; color: var(--ember); margin-bottom: 6px; }
.values p { margin-top: 12px; }
.message blockquote p + p { margin-top: 1em; }
.sign small { font-size: 15px; font-weight: 400; color: var(--ink-sub); }
.history { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.history li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.history time { font-family: var(--font-dot); font-weight: 600; color: var(--ember); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .history li { grid-template-columns: 1fr; } }

/* ===== トップ：ゲームの絵を敷き詰める ===== */
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mosaic {
  position: relative; background: var(--iron);
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr;
  gap: 4px; height: min(calc(100vh - 120px), 780px); min-height: 480px;
}
.hero-strip { background: var(--iron); color: var(--on-iron); border-top: 1px solid #3a3631; }
.hero-strip .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding-top: 14px; padding-bottom: 14px; }
.hero-strip h1 { font-size: clamp(16px, 1.6vw, 20px); }
.hero-strip p { font-family: var(--font-dot); font-weight: 600; font-size: 14px; letter-spacing: .08em; color: var(--ember-lit); }
.tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.tile-main { grid-row: 1 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 8, .85), rgba(10, 9, 8, 0) 55%); }
.tile-text { position: absolute; z-index: 1; left: clamp(16px, 2.4vw, 32px); right: 16px; bottom: clamp(16px, 2.4vw, 32px); }
.tile-tag { display: inline-block; padding: 2px 8px; background: var(--ember); font-size: 13px; font-weight: 700; }
.tile-name { display: block; margin-top: 6px; font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.3; }
.tile-main .tile-name { font-size: clamp(24px, 2.4vw, 34px); }
.tile-meta { display: block; margin-top: 8px; font-size: 15px; color: #e6e1d8; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile:hover img, .game-grid a:hover img, .door:hover img { transform: scale(1.04); }
}
@media (max-width: 900px) {
  .hero-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; }
  .tile-main { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 5; }
  .tile { aspect-ratio: 1 / 1; }
  .tile-main .tile-name { font-size: 22px; }
  .tile-name { font-size: 17px; }
  .tile-tag { font-size: 12px; }
}

/* NEWS：写真つきの札 */
.news-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-cards li { position: relative; }
.news-cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; }
.news-cards time { font-family: var(--font-dot); font-weight: 600; color: var(--ember); }
.news-cards p { margin-top: 4px; }
.stretch { position: absolute; inset: 0; }
.news-cards li:hover p { text-decoration: underline; }
@media (max-width: 900px) { .news-cards { grid-template-columns: 1fr; gap: 28px; } }

/* GAMES：絵の格子（端まで） */
.games-band { background: var(--iron); color: var(--on-iron); padding-top: clamp(64px, 9vw, 112px) !important; }
.games-band .sec-head p { color: var(--on-iron-sub); }
.game-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.game-grid a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; color: #fff; text-decoration: none; background: #26231f; }
.game-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.game-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 8, .85), rgba(10, 9, 8, 0) 50%); }
.game-grid span { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; font-weight: 700; font-size: 20px; line-height: 1.35; }
.game-grid small { display: block; font-family: var(--font-dot); font-weight: 500; font-size: 14px; color: #e6e1d8; }
.grid-more a { background: var(--ember); display: flex; align-items: flex-end; }
.grid-more a::after { display: none; }
.grid-more small { color: #fff; }
@media (max-width: 900px) { .game-grid { grid-template-columns: 1fr 1fr; } .game-grid span { font-size: 16px; left: 12px; bottom: 12px; } }

/* 代表メッセージ */
.message-lead { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.6; }
.more-link { margin-top: 16px; font-weight: 700; }

/* 会社概要・採用への入口：写真の札 */
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
.door { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; text-decoration: none; }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.door::after { content: ""; position: absolute; inset: 0; background: rgba(10, 9, 8, .45); }
.door-text { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); font-weight: 700; font-size: 17px; }
.door-text .en { display: block; font-family: var(--font-dot); font-weight: 700; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; }
@media (max-width: 600px) { .doors { grid-template-columns: 1fr; } }

.logo-band { margin: 0; background: #0d1530; }
.logo-band img { width: 100%; max-height: 520px; object-fit: cover; }
.page-head .catch-sub { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; color: var(--on-iron-sub); }
