/* GameLaunch JP — デザイン言語
   「ゲーム誌の新作発売カレンダー」：生成りの紙 × 墨 × 朱。
   境界は影ではなく罫線で引く。角はほぼ直角。見出しは明朝、
   日付と数値は Space Grotesk で「記録」の質感を出す。 */

:root {
  --paper: #F6F1E7;
  --paper-2: #EFE7D3;
  --ink: #191612;
  --ink-2: #57503F;
  --ink-3: #8A8271;
  --hair: #D8D0BA;
  --red: #D63A1F;
  --red-dark: #AE2C14;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --mono: "Space Grotesk", "Zen Kaku Gothic New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
}
a { color: inherit; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ===== ヘッダー ===== */
.site-header {
  border-bottom: 3px double var(--ink);
  background: var(--paper);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.wordmark-mark {
  width: 26px; height: 26px; flex: none;
  background: var(--ink); position: relative;
}
.wordmark-mark::before {
  content: ""; position: absolute; left: 50%; top: 5px;
  width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: var(--paper);
}
.wordmark-mark::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 5px;
  height: 3.5px; background: var(--red);
}
.wordmark-text {
  font-family: var(--mono); font-weight: 700; font-size: 20px;
  letter-spacing: .02em; line-height: 1;
}
.wordmark-jp { color: var(--red); }
.wordmark-suffix { font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--ink-2); margin-left: 2px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  text-decoration: none; font-size: 13.5px; font-weight: 700;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--red); }

/* ===== 共通の見出し作法 ===== */
.kicker {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .22em; color: var(--red); text-transform: uppercase;
  margin: 0 0 6px;
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; border-bottom: 1.5px solid var(--ink);
  padding-bottom: 8px; margin: 44px 0 20px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 800; font-size: 24px;
  margin: 0; line-height: 1.3; letter-spacing: .01em;
}
.section-head .head-note { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }

/* ===== ヒーロー ===== */
.hero { padding: 40px 0 6px; border-bottom: 1.5px solid var(--ink); }
.hero-date {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .18em; margin: 0 0 10px;
}
.hero-date .dow { color: var(--red); }
.hero h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(30px, 5.6vw, 46px); line-height: 1.32;
  margin: 0 0 12px; letter-spacing: .01em;
}
.hero h1 .accent { color: var(--red); }
.hero p.lede { margin: 0 0 22px; color: var(--ink-2); font-size: 14.5px; max-width: 640px; }
.hero-meta {
  display: flex; gap: 26px; flex-wrap: wrap; padding-bottom: 20px;
  font-size: 13px;
}
.hero-meta b { font-family: var(--mono); font-size: 17px; font-weight: 700; margin-right: 5px; }

/* ===== 作品カード ===== */
.launch-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.card {
  border: 1.5px solid var(--ink); background: #FDFBF6;
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
}
.card:hover { outline: 2px solid var(--red); outline-offset: -2px; }
.card-thumb {
  aspect-ratio: 16 / 9; overflow: hidden; position: relative;
  border-bottom: 1.5px solid var(--ink); background: var(--paper-2);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 画像なし作品のタイポカード（ジャンル色の無地＋明朝の大文字） */
.thumb-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 16px 18px; color: #F6F1E7;
}
.thumb-fallback .tf-genre {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .24em; opacity: .85; margin-bottom: 6px;
}
.thumb-fallback .tf-title {
  font-family: var(--serif); font-weight: 800; font-size: 25px;
  line-height: 1.3; letter-spacing: .01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-tags { display: flex; gap: 8px; align-items: center; font-size: 11.5px; }
.tag {
  border: 1px solid var(--ink); padding: 0 7px; line-height: 1.7;
  font-weight: 700; letter-spacing: .04em; background: var(--paper);
}
.tag-price { border-color: var(--ink-3); color: var(--ink-2); }
.card h3 {
  font-family: var(--serif); font-weight: 800; font-size: 20px;
  line-height: 1.4; margin: 0;
}
.card .tagline { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.card-foot {
  margin-top: auto; padding-top: 10px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.card-date { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }

/* ===== 応援ボタン（スタンプ風） ===== */
.boost-btn {
  font-family: var(--sans); font-weight: 900; font-size: 13px;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink);
  padding: 6px 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  letter-spacing: .03em; line-height: 1.4;
}
.boost-btn .b-count { font-family: var(--mono); font-weight: 700; }
.boost-btn:hover { background: var(--paper-2); }
.boost-btn:active { transform: translateY(1px); }
.boost-btn.boosted {
  background: var(--red); border-color: var(--red-dark); color: #FFF7EA;
  cursor: default;
}
.boost-btn.large { font-size: 15px; padding: 11px 22px; }

/* ===== ランキング ===== */
.rank-table { border-top: 1.5px solid var(--ink); }
.rank-row {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  padding: 11px 4px; border-bottom: 1px solid var(--hair);
  text-decoration: none; color: var(--ink);
}
.rank-row:hover { background: #FDFBF6; }
.rank-num {
  font-family: var(--serif); font-weight: 800; font-size: 27px;
  line-height: 1; text-align: center; color: var(--ink);
}
.rank-row:nth-child(1) .rank-num { color: var(--red); }
.rank-title { font-weight: 700; font-size: 15px; line-height: 1.45; }
.rank-sub { font-size: 12px; color: var(--ink-2); }
.rank-boost { text-align: right; }
.rank-boost .n { font-family: var(--mono); font-weight: 700; font-size: 19px; }
.rank-boost .u { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; color: var(--ink-3); }

/* ===== アーカイブ ===== */
.archive-list { display: flex; flex-wrap: wrap; gap: 9px; }
.archive-list a {
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  border: 1px solid var(--ink); padding: 5px 12px; text-decoration: none; background: #FDFBF6;
}
.archive-list a:hover { background: var(--ink); color: var(--paper); }
.archive-list a.today { border-color: var(--red); color: var(--red); }

/* ===== 作品ページ ===== */
.product-hero { padding: 34px 0 0; }
.product-hero .card-thumb { border: 1.5px solid var(--ink); }
.product-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(27px, 4.6vw, 38px); line-height: 1.35; margin: 20px 0 8px;
}
.product-tagline { font-size: 16px; color: var(--ink-2); margin: 0 0 18px; }
.product-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair); padding: 12px 0; font-size: 13.5px;
}
.product-meta .m-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-3); display: block; }
.product-meta .m-value { font-weight: 700; }
.product-desc { padding: 22px 0 6px; font-size: 15px; white-space: pre-wrap; max-width: 720px; }
.product-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding: 18px 0 8px; }
.btn-play {
  display: inline-block; background: var(--ink); color: var(--paper);
  font-weight: 900; font-size: 15.5px; text-decoration: none;
  padding: 13px 30px; letter-spacing: .04em;
}
.btn-play:hover { background: var(--red); }
.x-link { font-size: 13px; font-weight: 700; }
.back-link { display: inline-block; margin-top: 26px; font-size: 13.5px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 1px; }

/* ===== フォーム ===== */
.form-page { max-width: 680px; padding: 34px 0 10px; }
.form-page h1 {
  font-family: var(--serif); font-weight: 800; font-size: 30px; margin: 0 0 8px; line-height: 1.35;
}
.form-page .lede { color: var(--ink-2); font-size: 14px; margin: 0 0 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 900; font-size: 13.5px; margin-bottom: 6px; }
.field label .req { color: var(--red); font-family: var(--mono); font-size: 11px; margin-left: 6px; letter-spacing: .1em; }
.field .hint { font-size: 12px; color: var(--ink-2); margin: 4px 0 0; }
.field input[type="text"], .field input[type="url"], .field input[type="date"],
.field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: #FDFBF6; border: 1.5px solid var(--ink); border-radius: 0;
  padding: 10px 12px; line-height: 1.5;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 3px 3px 0 var(--red);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  background: var(--red); color: #FFF7EA; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 900; font-size: 15.5px;
  padding: 13px 34px; letter-spacing: .04em;
}
.btn-submit:hover { background: var(--red-dark); }
.btn-submit:disabled { opacity: .5; cursor: wait; }
.form-msg { margin-top: 16px; font-size: 14px; font-weight: 700; }
.form-msg.err { color: var(--red-dark); }
.form-msg.ok { color: var(--ink); }
.notice-box {
  border: 1.5px solid var(--ink); background: var(--paper-2);
  padding: 14px 18px; font-size: 13.5px; margin: 0 0 26px;
}
.notice-box b { font-weight: 900; }

/* ===== About ===== */
.about-page { max-width: 720px; padding: 34px 0 10px; }
.about-page h1 { font-family: var(--serif); font-weight: 800; font-size: 30px; margin: 0 0 14px; line-height: 1.35; }
.about-page h2 { font-family: var(--serif); font-weight: 800; font-size: 20px; margin: 34px 0 8px; }
.about-page p { font-size: 14.5px; }

/* ===== 空状態・その他 ===== */
.empty {
  border: 1.5px dashed var(--ink-3); padding: 34px 22px; text-align: center;
  color: var(--ink-2); font-size: 14px; background: #FDFBF6;
}
.empty a { font-weight: 900; color: var(--red-dark); }
.loading { padding: 50px 0; text-align: center; color: var(--ink-3); font-family: var(--mono); letter-spacing: .2em; font-size: 12px; }

/* ===== フッター ===== */
.site-footer { margin-top: 64px; background: var(--ink); color: var(--paper); }
.footer-in { padding: 34px 20px 40px; }
.footer-name { font-family: var(--mono); font-weight: 700; font-size: 17px; margin: 0 0 10px; }
.footer-note { font-size: 12.5px; color: #CFC8B4; margin: 0 0 14px; line-height: 1.8; }
.footer-links { font-size: 13px; margin: 0; }
.footer-links a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 1px; }
.footer-links .sep { margin: 0 10px; color: #6E675A; }
.site-footer .footer-note a { color: var(--paper); }

/* 広告枠（収益化の器：有効化するまで非表示） */
.ad-slot { display: none; }

@media (max-width: 720px) {
  .launch-grid { grid-template-columns: 1fr; }
  .header-in { padding-top: 11px; padding-bottom: 11px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 12.5px; }
  .wordmark-text { font-size: 17px; }
  .hero { padding-top: 28px; }
  .section-head h2 { font-size: 20px; }
  .rank-row { grid-template-columns: 40px 1fr auto; }
  .rank-num { font-size: 22px; }
}
