:root {
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ink: #25231f;
  --paper: #eee9dc;
  --surface: #f8f5ed;
  --line: #777064;
  --muted: #6d675d;
  --accent: #785c26;
  --header-height: 70px;
  --footer-height: 54px;
}
*, *::before, *::after { box-sizing: border-box; font-weight: 100 !important; }
html { background: var(--paper); }
body, button, input, select, textarea { font-family: var(--font); }
body { margin: 0; color: var(--ink); background: var(--paper); font-weight: 100; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }
.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; }
.site-header { min-height: var(--header-height); padding: 10px clamp(18px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.site-logo { font-size: 18px; font-weight: 700; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.global-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px clamp(14px, 2.4vw, 32px); font-size: 12px; font-weight: 500; }
.global-nav a { padding: 7px 1px; text-decoration: none; border-bottom: 2px solid transparent; }
.global-nav a[aria-current="page"] { border-color: var(--ink); }
.catalog { min-height: 100svh; padding: calc(clamp(22px, 4vh, 42px) + 76px) clamp(18px, 4vw, 56px) clamp(42px, 8vh, 86px); display: grid; grid-template-columns: minmax(220px, .7fr) minmax(600px, 2.3fr); align-items: stretch; gap: clamp(24px, 4vw, 62px); }
.catalog-heading { align-self: center; }
.label { margin: 0 0 14px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.catalog-heading h1 { margin: 0; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.4; font-weight: 600; letter-spacing: .04em; }
.catalog-heading > p:last-child { margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 2; }
.list-catalog { align-items: start; }
.list-catalog .catalog-heading { position: sticky; top: 26px; align-self: start; padding-top: 18px; }
.app-index .list-catalog { display: block; width: min(1120px, 100%); margin: 0 auto; }
.app-index .work-media { display: flex; align-items: center; background: #e3ded2; }
.app-index .work-media img { height: auto; min-height: 0; object-fit: contain; }
.platform-index .work-media { justify-content: center; padding: clamp(10px, 2vw, 22px); }
.platform-index .work-media img { max-height: 430px; object-fit: contain; }
.work-list { align-self: start; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); box-shadow: 5px 5px 0 rgba(69,62,51,.12); }
.work-row { display: grid; grid-template-columns: minmax(280px, 1.05fr) minmax(260px, .95fr); min-height: 240px; border-bottom: 1px solid var(--line); }
.work-row:last-child { border-bottom: 0; }
.work-media { display: block; min-width: 0; border-right: 1px solid var(--line); overflow: hidden; background: #d8d1c4; }
.work-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform .2s ease; }
.work-media:hover img { transform: scale(1.012); }
.work-copy { min-width: 0; padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; justify-content: center; }
.work-copy h2 { margin: 0; font-size: clamp(21px, 2.1vw, 31px); line-height: 1.55; letter-spacing: .025em; }
.work-copy > p:not(.label) { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.work-copy .button-link { margin-top: 21px; }
.work-row-stars { background: #101a43; color: #f2f4ff; }
.work-row-stars .work-copy > p:not(.label) { color: #c9d0ec; }
.work-row-stars .label { color: #9bb7ff; }
.work-row-stars .button-link { border-color: #eef2ff; background: #eef2ff; color: #101a43; }
.work-row-camera { background: #fff7f3; }
.work-row-camera .label { color: #a14f60; }
.work-row-politics { background: #f8f4ef; }
.work-row-politics .label { color: #6f4d58; }
.work-row-fonts { background: #fff8ef; }
.work-row-fonts .label { color: #885b35; }
.work-row-werewolf { background: #111936; color: #f3f0f8; }
.work-row-werewolf .work-copy > p:not(.label) { color: #c8c9dc; }
.work-row-werewolf .label { color: #e88cbb; }
.work-row-werewolf .button-link { border-color: #f1eaf5; background: #f1eaf5; color: #151a34; }
.work-row-observation { background: #f2f8fb; }
.work-row-observation .label { color: #34698a; }
.work-row-trpg { background: #2b1729; color: #fff4f8; }
.work-row-trpg .work-copy > p:not(.label) { color: #ead0df; }
.work-row-trpg .label { color: #ff9ec9; }
.work-row-trpg .button-link { border-color: #fff0f6; background: #fff0f6; color: #31192d; }
.work-row-train { background: #f0f5f9; }
.work-row-train .label { color: #315f7a; }
.work-row-operation { background: #fff8ed; }
.work-row-operation .label { color: #7f572f; }
.work-row-posting { background: #fff5f5; }
.work-row-posting .label { color: #9a5262; }
.work-row-lanmap { background: #f2f7fb; }
.work-row-lanmap .label { color: #35658a; }
.work-row-pray { background: #fff7f2; }
.work-row-pray .label { color: #8f4c45; }
.section-page { min-height: 100svh; padding: calc(clamp(22px, 4vh, 42px) + 76px) clamp(18px, 4vw, 56px) clamp(42px, 8vh, 86px); }
.section-shell { width: min(1080px, 100%); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: clamp(24px, 5vw, 70px); align-items: end; margin-bottom: 24px; }
.section-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.35; letter-spacing: .04em; }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.section-page .work-row { grid-template-columns: minmax(300px, .95fr) minmax(300px, 1.05fr); }
.work-row-art .work-media { display: grid; place-items: center; padding: 18px; background: #071029; }
.work-row-art .work-media img { width: min(100%, 430px); height: auto; min-height: 0; aspect-ratio: 1; object-fit: contain; border: 1px solid rgba(255,255,255,.2); }
.work-row-art { background: #0a1730; color: #f7f2e9; }
.work-row-art .work-copy > p:not(.label) { color: #c8cfda; }
.work-row-art .label { color: #e6a657; }
.work-row-art .button-link { background: #f1e6d2; border-color: #f1e6d2; color: #172036; }
.work-placeholder { min-height: 260px; height: 100%; display: grid; place-items: center; padding: 24px; border-right: 1px solid var(--line); background: #ded8cb; color: var(--accent); font-size: clamp(28px, 5vw, 58px); letter-spacing: .13em; text-align: center; }
.work-placeholder small { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; letter-spacing: .18em; }
.video-embed { min-width: 0; display: grid; place-items: center; padding: 14px; border-right: 1px solid var(--line); background: #171612; }
.video-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.tab-box { min-width: 0; display: flex; flex-direction: column; align-self: center; border: 1px solid var(--line); background: var(--surface); box-shadow: 5px 5px 0 rgba(69,62,51,.12); }
.tab-list { display: flex; border-bottom: 1px solid var(--line); background: #ddd7ca; }
.tab-list button { flex: 1; min-height: 44px; padding: 9px 16px; border: 0; border-right: 1px solid var(--line); background: transparent; font-size: 12px; font-weight: 500; cursor: pointer; }
.tab-list button:last-child { border-right: 0; }
.tab-list button[aria-selected="true"] { position: relative; background: var(--surface); font-weight: 700; }
.tab-list button[aria-selected="true"]::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--surface); }
.tab-list button:focus-visible, .button-link:focus-visible, a:focus-visible { outline: 3px solid #3267b0; outline-offset: 2px; }
.tab-panel { min-height: 400px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr); }
.tab-panel[hidden] { display: none; }
.tab-panel > img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; border-right: 1px solid var(--line); }
.panel-copy { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.panel-copy h2 { margin: 0; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.55; font-weight: 600; letter-spacing: .025em; }
.panel-copy > p:not(.label) { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.button-link { display: flex; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 12px 14px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.panel-stars { background: #101a43; color: #f2f4ff; }
.panel-stars .panel-copy > p:not(.label) { color: #c9d0ec; }
.panel-stars .label { color: #9bb7ff; }
.panel-stars .button-link { border-color: #eef2ff; background: #eef2ff; color: #101a43; }
.site-footer { min-height: var(--footer-height); padding: 0 clamp(18px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.product-page { --accent: #785c26; }
.product-page.stars { --accent: #5476c9; }
.product-page.camera { --accent: #a14f60; }
.product-page.camera .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.politics { --accent: #6f4d58; }
.product-page.politics .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.fonts { --accent: #885b35; }
.product-page.fonts .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.werewolf { --accent: #7d4770; }
.product-page.werewolf .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.observation { --accent: #34698a; }
.product-page.observation .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.trpg { --accent: #934b7b; }
.product-page.trpg .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.train { --accent: #315f7a; }
.product-page.train .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.operation { --accent: #7f572f; }
.product-page.operation .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.posting { --accent: #9a5262; }
.product-page.posting .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.lanmap { --accent: #35658a; }
.product-page.lanmap .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-page.pray { --accent: #8f4c45; }
.product-page.pray .product-visual img { aspect-ratio: 1; object-fit: contain; }
.product-main { min-height: 100svh; padding: calc(clamp(18px, 3vh, 30px) + 76px) clamp(18px, 4vw, 56px) clamp(42px, 8vh, 86px); display: grid; grid-template-columns: minmax(380px, 1.15fr) minmax(380px, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.product-visual { border: 1px solid var(--line); background: var(--surface); box-shadow: 5px 5px 0 rgba(69,62,51,.12); }
.product-visual img { width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover; border-bottom: 1px solid var(--line); }
.visual-caption { display: flex; justify-content: space-between; gap: 20px; padding: 10px 14px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.product-info { min-width: 0; }
.product-info h1 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 52px); line-height: 1.45; font-weight: 600; letter-spacing: .035em; }
.product-title-nowrap { white-space: nowrap; }
.product-lead { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.status { display: inline-block; margin-bottom: 24px; padding: 7px 10px; border: 1px solid var(--line); background: var(--surface); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.info-tabs { border: 1px solid var(--line); background: var(--surface); }
.info-tabs .tab-list button { font-size: 11px; }
.info-panel { min-height: 170px; padding: 23px 25px; }
.info-panel[hidden] { display: none; }
.info-panel h2 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.info-panel p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 7px 0; border-bottom: 1px dotted #aaa398; color: var(--muted); font-size: 11px; line-height: 1.5; }
.feature-list li:last-child { border: 0; }
.feature-list strong { color: var(--ink); }
.store-note { display: inline-block; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.works-nav { width: min(1080px, calc(100% - 36px)); margin: 0 auto -52px; padding-top: 88px; position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.works-nav a { padding: 6px 2px; border-bottom: 1px solid transparent; color: #4f4941; font-size: 11px; letter-spacing: .08em; text-decoration: none; }
.works-nav a[aria-current="page"] { border-color: currentColor; color: #231d1b; }
.os-hero { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; margin-bottom: 28px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); background: rgba(248,245,237,.94); box-shadow: 5px 5px 0 rgba(69,62,51,.12); }
.os-icon { width: 100%; border-radius: 22%; box-shadow: 0 12px 30px rgba(39,25,31,.15); }
.os-copy h1 { margin: 0; font-size: clamp(30px, 4.5vw, 58px); line-height: 1.35; }
.os-copy p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.os-shot { margin: 0; padding: 12px; border: 1px solid var(--line); background: rgba(248,245,237,.94); box-shadow: 5px 5px 0 rgba(69,62,51,.12); }
.os-shot img { width: 100%; height: auto; }
.os-shot figcaption { padding: 10px 4px 2px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.os-features { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border: 1px solid var(--line); background: rgba(248,245,237,.94); }
.os-feature { padding: clamp(20px, 3vw, 32px); border-right: 1px solid var(--line); }
.os-feature:last-child { border-right: 0; }
.os-feature h2 { margin: 0; font-size: 18px; }
.os-feature p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
@media (max-width: 950px) {
  .catalog { grid-template-columns: 1fr; align-content: start; }
  .catalog-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; align-items: end; }
  .catalog-heading .label { grid-column: 1 / -1; margin-bottom: 0; }
  .catalog-heading > p:last-child { margin: 0; }
  .product-main { grid-template-columns: 1fr; align-content: start; }
  .product-visual { max-width: 760px; }
  .list-catalog .catalog-heading { position: static; padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 650px) {
  :root { --header-height: 62px; }
  .site-logo { font-size: 15px; }
  .site-header { align-items: flex-start; }
  .global-nav { gap: 4px 12px; font-size: 10px; }
  .catalog { padding-top: 112px; }
  .catalog-heading { display: block; }
  .catalog-heading h1 { font-size: 29px; }
  .catalog-heading > p:last-child { margin-top: 14px; }
  .tab-panel { min-height: 0; grid-template-columns: 1fr; }
  .tab-panel > img { min-height: 0; aspect-ratio: 1024 / 500; border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-copy { padding: 24px 20px; }
  .panel-copy h2 { font-size: 25px; }
  .site-footer { min-height: 74px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
  .product-main { padding-top: 112px; }
  .product-info h1 { font-size: 30px; }
  .product-title-nowrap { font-size: clamp(24px, 8vw, 30px) !important; }
  .info-panel { min-height: 196px; }
  .work-row, .section-page .work-row { grid-template-columns: 1fr; }
  .work-media, .work-placeholder, .video-embed { border-right: 0; border-bottom: 1px solid var(--line); }
  .work-media img { min-height: 0; aspect-ratio: 1024 / 500; }
  .work-row-art .work-media img { aspect-ratio: 1; }
  .work-copy { padding: 22px 19px 25px; }
  .section-page { padding-top: 112px; }
  .works-nav { margin-bottom: -72px; padding-top: 78px; gap: 5px 13px; }
  .os-hero { grid-template-columns: 1fr; text-align: center; }
  .os-icon { width: min(190px, 62vw); margin: 0 auto; }
  .os-features { grid-template-columns: 1fr; }
  .os-feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .os-feature:last-child { border-bottom: 0; }
}
