/* OkachanMan Games — site styles（デザイン案 G「Orbit」）
   ロゴファイルは支給素材を無加工で使用。ロゴの色をサイトの配色には使わず、紙色＋墨＋差し色1色で構成。 */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #EFEDE8;
  --card: #F6F5F1;
  --ink: #161616;
  --muted: #66645E;        /* 本文の補助テキスト。紙色上で 5.0:1 */
  --soft: #4B4A46;         /* 本文（少し薄い墨）。7.6:1 */
  --line: #D3D0C8;
  --field-border: #75736C; /* 入力欄の枠。非テキストUIなので 3:1 以上あればよい（4.1:1） */
  --pop: #FF5A1F;          /* 差し色。文字色には使わない（コントラスト不足のため） */
  --draft-bg: #FFF1CC;
  --draft-ink: #7A4B00;    /* 6.6:1 */
  --draft-line: #E0B34A;

  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --font-grot: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.site-footer a, .breadcrumb a, .form__note a, .draft-note a, .prose a, .field--check a { display: inline-block; padding: 4px 0; margin: -4px 0; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0 0.3em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.plain { list-style: none; padding: 0; margin: 8px 0 0; }
.plain li { margin: 4px 0; }

/* ---- 欧文ラベル（Unbounded） */
.lab, .section__en, .breadcrumb, .page-meta, .news-list time, .facts dt, .form__legend, .req, .opt, .cap, .tag-draft {
  font-family: var(--font-en); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

/* ---- 草案表示 */
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.draft-banner { background: var(--draft-bg); color: var(--draft-ink); border-bottom: 1px solid var(--draft-line); padding: 10px 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; align-items: center; }
.draft-banner strong { font-weight: 700; letter-spacing: 0.06em; }
.draft-note { background: var(--draft-bg); color: var(--draft-ink); border: 1px dashed var(--draft-line); border-radius: 12px; padding: 14px 18px; margin: 18px 0; font-size: 14px; line-height: 1.8; }
.draft-note p { margin: 0; }
.draft-note__label { font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; margin-bottom: 4px !important; }
.draft-note a { color: inherit; }
.tag-draft { display: inline-block; background: var(--draft-bg); color: var(--draft-ink); border: 1px solid var(--draft-line); border-radius: 999px; padding: 2px 10px; font-size: 10px; text-transform: none; letter-spacing: 0.08em; vertical-align: middle; }

/* ---- ヘッダー */
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; }
.site-logo { display: inline-flex; border-radius: 4px; }
.site-logo img { height: 24px; width: auto; }
.site-nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: none; position: relative; overflow: hidden; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--pop); transform: translateX(-102%); transition: transform .4s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: translateX(0); }
.language-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 6px; list-style: none; margin: 0; padding: 0; }
.language-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; padding: 0 4px; border-radius: 4px; font-family: var(--font-en); font-size: 10px; font-weight: 500; letter-spacing: 0.05em; text-decoration: none; color: var(--muted); }
.language-nav a:hover { color: var(--ink); text-decoration: underline; }
.language-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }

/* ---- ヒーロー（ホーム） */
.hero { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; padding: 56px 0 96px; }
.hero__eyebrow { margin: 0 0 18px; }
.hero__title { font-weight: 600; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.5; letter-spacing: 0.06em; margin: 0; text-wrap: balance; }
.hero__lead { max-width: 30em; margin: 26px 0 0; color: var(--soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; list-style: none; padding: 0; }

.orbit { position: relative; width: 420px; max-width: 100%; aspect-ratio: 1; justify-self: center; }
.orbit::before { content: ""; position: absolute; inset: 14%; border: 1px solid var(--line); border-radius: 50%; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbit-spin 36s linear infinite; transform-origin: 50% 50%; }
.orbit svg text { font-family: var(--font-en); font-weight: 500; font-size: 13px; letter-spacing: 0.3em; fill: var(--ink); }
.orbit__mark { position: absolute; inset: 0; margin: auto; width: 46%; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* ---- ボタン */
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-family: var(--font-en); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-decoration: none; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; position: relative; overflow: hidden; z-index: 0; }
.button::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .35s var(--ease); z-index: -1; }
.button:hover, .button:focus-visible { color: var(--bg); }
.button:hover::before, .button:focus-visible::before { transform: translateY(0); }
.button--ja { font-family: var(--font-ja); font-size: 14px; letter-spacing: 0.04em; font-weight: 600; }
.button[disabled] { opacity: .45; cursor: not-allowed; }
.button[disabled]::before { display: none; }
.button[disabled]:hover { color: var(--ink); }
.store-buttons { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.store-slot { font-weight: 600; }

/* ---- セクション */
.section { border-top: 1px solid var(--ink); padding: 64px 0 88px; }
.section__title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 24px; font-size: 16px; font-weight: 600; letter-spacing: 0.14em; }
.section__en { order: 2; text-align: right; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; margin: 0; }
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); flex: none; }

.game-title { font-family: var(--font-grot); font-weight: 700; font-size: clamp(38px, 7vw, 104px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 40px; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .5s; text-wrap: balance; }
.game-title:hover { color: var(--ink); }
.game-title, .page-title--en { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.3em; row-gap: 0.1em; }
.game-title__sep, .page-title__sep { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.game-title__sub { font-size: 0.4em; letter-spacing: -0.01em; line-height: 1.1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .5s; }
.game-title:hover .game-title__sub { color: var(--ink); }
.page-title__sub { font-size: 0.4em; letter-spacing: -0.01em; line-height: 1.1; }
.game-title a { text-decoration: none; }
.game-feature { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; }
.game-feature__text p { margin: 16px 0 0; color: var(--soft); }
.game-feature__text .pill { margin: 0; }
.game-feature__more { margin-top: 24px !important; }

.shot { margin: 0; aspect-ratio: 16/9; border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--card); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.thumbs li { aspect-ratio: 16/9; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cap { margin: 12px 0 0; text-transform: none; letter-spacing: 0.1em; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.placeholder { margin: 0; border: 1.5px dashed var(--field-border); border-radius: 20px; display: grid; place-items: center; background: repeating-linear-gradient(-45deg, transparent 0 16px, rgba(22, 22, 22, .05) 16px 17px); position: relative; aspect-ratio: 16 / 9; }
.placeholder__inner { display: none; }
.placeholder figcaption { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); background: var(--bg); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); text-align: center; }
.news-more { margin-top: 20px; }

/* ---- SNS カード */
.social-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.social-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 32px 36px; border: 1.5px solid var(--ink); border-radius: 24px; text-decoration: none; position: relative; overflow: hidden; z-index: 0; }
.social-card::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); z-index: -1; }
.social-card:hover, .social-card:focus-visible { color: var(--bg); }
.social-card:hover::before, .social-card:focus-visible::before { transform: scaleY(1); }
.social-card:hover .social-card__detail, .social-card:focus-visible .social-card__detail { color: var(--bg); }
.social-card__label { font-family: var(--font-en); font-weight: 700; font-size: 28px; letter-spacing: -0.01em; line-height: 1.2; }
.social-card__detail { display: block; color: var(--muted); font-size: 13px; transition: color .4s; margin-top: 4px; }
.social-card__arrow { font-family: var(--font-en); font-size: 22px; margin-left: auto; }
.social-card > span:first-child { display: flex; flex-direction: column; }

/* ---- お知らせ一覧 */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.news-list li a { display: grid; grid-template-columns: 140px 1fr; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease); }
.news-list li a:hover { padding-left: 12px; }
.news-list time { color: var(--ink); }

/* ---- 下層ページ */
.page-head { padding: 40px 0 32px; border-bottom: 1px solid var(--ink); }
.breadcrumb { margin: 0 0 24px; text-transform: none; letter-spacing: 0.1em; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-title { font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.4; letter-spacing: 0.06em; margin: 8px 0 0; text-wrap: balance; }
.page-title--en { font-family: var(--font-grot); font-weight: 700; font-size: clamp(36px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em; }
.page-lead { max-width: 36em; margin: 18px 0 0; color: var(--soft); }
.page-meta { margin: 14px 0 0; text-transform: none; letter-spacing: 0.1em; }
.page-body { padding: 40px 0 88px; }
.page-body--narrow > * { max-width: 720px; }
.page-body > section { padding: 24px 0 40px; border-bottom: 1px solid var(--line); }
.page-body > section:last-child { border-bottom: 0; }
.page-body h2, .prose h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; margin: 0 0 16px; }
.prose h2 { margin-top: 36px; }
.prose h3 { font-size: 15px; margin: 28px 0 8px; }
.prose p, .prose ul { color: var(--soft); }
.prose { max-width: 40em; }
.facts { display: grid; grid-template-columns: 160px 1fr; gap: 10px 24px; margin: 0; }
.facts dd { margin: 0; font-weight: 600; }

.faq { margin: 0; }
.faq__item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--ink); }
.faq dt { font-weight: 600; margin: 0 0 6px; }
.faq dd { margin: 0; color: var(--soft); }

.press-logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.press-logo img { background: #FAF7EE; border: 1px solid var(--line); border-radius: 16px; padding: 24px; width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.press-logo a { display: inline-block; margin-top: 10px; font-size: 14px; }

/* ---- フォーム */
.form { margin-top: 8px; }
.form__legend { margin: 0 0 20px; text-transform: none; letter-spacing: 0.1em; }
.field { margin: 0 0 22px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field__hint { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--field-border); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; margin: 6px 0 0; flex: none; accent-color: var(--ink); }
.field--check label { margin: 0; font-weight: 500; }
.req, .opt { display: inline-block; border-radius: 999px; padding: 1px 8px; font-size: 10px; letter-spacing: 0.12em; vertical-align: middle; margin-left: 4px; }
.req { background: var(--ink); color: var(--bg); }
.opt { border: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 28px; }
.form-status { margin: 16px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status[data-state="error"] { color: #8A2A0E; }
.form-disabled { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.form__note { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---- フッター */
.site-footer { border-top: 1px solid var(--ink); padding: 40px 0 64px; font-size: 13px; color: var(--muted); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: center; }
.site-footer__name { margin: 0; font-family: var(--font-en); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: 0.02em; }
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; grid-column: 2; grid-row: 1; justify-content: flex-end; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav { grid-column: 1; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__copy { margin: 0; grid-column: 2; text-align: right; }

/* ---- 幅の狭い画面 */
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .site-header__inner { min-height: 64px; flex-wrap: wrap; padding: 12px 0 4px; }
  .site-logo img { height: 20px; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 20px; white-space: nowrap; }
  .site-nav a { font-size: 13px; }
  .language-nav { width: 100%; }
  .language-nav ul { justify-content: space-between; gap: 0; }
  .language-nav a { min-width: 36px; }
  .hero { grid-template-columns: 1fr; padding: 24px 0 72px; gap: 32px; }
  .orbit { width: min(100%, 280px); order: -1; }
  .hero__title { font-size: 29px; }
  .section { padding: 48px 0 64px; }
  .section__title { flex-direction: column; align-items: flex-start; gap: 2px; }
  .section__en { order: 0; text-align: left; }
  .game-title { -webkit-text-stroke: 1px var(--ink); margin-bottom: 28px; }
  .game-feature { grid-template-columns: 1fr; gap: 24px; }
  .thumbs { gap: 8px; margin-top: 8px; }
  .shots { grid-template-columns: 1fr; }
  .social-cards { grid-template-columns: 1fr; }
  .social-card { padding: 24px; }
  .news-list li a { grid-template-columns: 1fr; gap: 2px; }
  .facts { grid-template-columns: 1fr; gap: 2px 0; }
  .facts dd { margin-bottom: 10px; }
  .page-body { padding: 28px 0 64px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-social, .site-footer__copy { grid-column: 1; grid-row: auto; justify-content: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Reports and feedback */
.report-cards {list-style:none; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.6rem 0;}
.report-card {display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.5rem; border:1px solid currentColor; border-radius:.5rem; text-decoration:none; font-weight:700; height:100%;}
.report-card:hover, .report-card:focus-visible {background:#fff; outline:2px solid currentColor; outline-offset:3px;}
.report-note {max-width:70ch; font-size:.95rem;}
.report-page {max-width:900px;}
.report-embed {display:block; width:100%; height:2100px; border:0; margin:2rem 0 0; background:#f0ebfa; border-radius:.5rem;}
@media(max-width:700px) {.report-cards {grid-template-columns:1fr;} .report-embed {height:2400px;} .report-card {padding:1.2rem;}}
