/* Möbius.Dot 公式サイト — 白と青の静けさに、紅をひと匙 */
:root {
  --bg: #F6F8FD;
  --surface: #FFFFFF;
  --desk: #EAEEF7;
  --ink: #121833;
  --text: #475070;
  --muted: #56607A;
  --line: #D8DEEC;
  --line-soft: #E6EAF4;
  --blue: #1D56C9;
  --blue-deep: #0F3A99;
  --crimson: #A8203F;
  --on-dark: #C3CBE0;
  --font-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-display: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-dot: 'DotGothic16', 'Osaka-Mono', monospace;
  --font-hand: 'Klee One', 'Zen Kaku Gothic New', cursive;
}

*, *::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-body);
  font-size: 16px;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ヘッダー */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; justify-content: space-between; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 44px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }

/* 見出し・共通 */
.eyebrow { font-family: var(--font-dot); font-size: 14px; letter-spacing: 0.1em; color: var(--blue); }
.section { padding-block: 64px; }
.section-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.4; }
.page-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 40px); font-weight: 900; line-height: 1.4; }
.lead { color: var(--text); max-width: 36em; }
.more { font-size: 14px; font-weight: 700; padding: 10px 0; }
.note-small { font-size: 14px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; font-size: 15px; font-weight: 700; text-decoration: none; }
.btn-solid { background: var(--ink); color: #FFFFFF; }
.btn-solid:hover { color: #FFFFFF; background: #1E2752; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { color: var(--blue); border-color: var(--blue); }
.empty { padding: 28px; border: 1px dashed var(--line); color: var(--muted); font-size: 15px; background: rgba(255, 255, 255, 0.6); }

/* ヒーロー：揺らぐ光 */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.aura { position: absolute; border-radius: 50%; pointer-events: none; }
.a1 { width: 900px; height: 900px; right: -260px; bottom: -520px; background: radial-gradient(circle, rgba(36,112,255,.55), rgba(36,112,255,0) 65%); animation: drift1 26s ease-in-out infinite alternate; }
.a2 { width: 780px; height: 780px; right: 120px; top: -460px; background: radial-gradient(circle, rgba(110,196,255,.5), rgba(110,196,255,0) 65%); animation: drift2 32s ease-in-out infinite alternate; }
.a3 { width: 600px; height: 600px; right: -220px; top: 40px; background: radial-gradient(circle, rgba(138,98,230,.32), rgba(138,98,230,0) 65%); animation: drift3 22s ease-in-out infinite alternate; }
.a4 { width: 900px; height: 900px; left: -300px; top: -240px; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 65%); animation: drift2 28s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-90px, -70px); } }
@keyframes drift2 { to { transform: translate(70px, 90px); } }
@keyframes drift3 { to { transform: translate(-60px, 110px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .aura { animation: none; } }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 88px 80px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 img { display: block; width: 100%; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status-panel { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.status-panel.light { background: rgba(255,255,255,.5); border: 1px solid rgba(29,86,201,.22); color: var(--ink); }
.status-panel.on-dark { background: var(--bg); color: var(--ink); aspect-ratio: 16 / 9; }
.redact { display: flex; gap: 6px; }
.redact span { width: 28px; height: 10px; background: var(--crimson); }
.status-word { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5vw, 64px); letter-spacing: 0.2em; padding-left: 0.2em; line-height: 1.2; }
.status-sub { font-family: var(--font-dot); font-size: 13px; letter-spacing: 0.24em; color: var(--blue); }

/* TIMELINE */
.band-white { background: var(--surface); border-block: 1px solid var(--line); }
.tl-mini { list-style: none; margin: 0; padding: 0; }
.tl-mini li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.tl-mini time { flex: 0 0 150px; font-family: var(--font-dot); font-size: 14px; color: var(--blue); font-variant-numeric: tabular-nums; }
.tl-mini p { flex: 1 1 420px; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { min-height: 40px; padding: 0 16px; border: 1px solid var(--ink); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.tl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.post { background: var(--surface); border: 1px solid var(--line); padding: 24px 24px 12px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.post:target { border-color: var(--blue); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.post-meta time { font-family: var(--font-dot); font-size: 14px; color: var(--blue); }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 2px 10px; }
.tag-progress { background: #DCE7FD; color: #153E93; }
.tag-news { background: #E9E2FA; color: #4A2F96; }
.tag-memo { background: var(--line-soft); color: #39405A; }
.post-body { white-space: pre-line; overflow-wrap: anywhere; }
.share { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; border-top: 1px solid var(--line-soft); padding-top: 6px; }
.share-label { font-size: 13px; color: var(--muted); margin-right: 8px; }
.share a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.share a:hover { color: var(--blue); }
.share svg { width: 16px; height: 16px; }

/* スナップ */
.desk { background: var(--desk); }
.snap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 44px 32px; padding: 12px 8px 0; align-items: start; }
.snap { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 18px; background: var(--surface); border: 0; box-shadow: 0 6px 18px rgba(18,24,51,.14); color: var(--ink); text-align: left; font: inherit; cursor: zoom-in; text-decoration: none; }
.snap:nth-child(4n+1) { transform: rotate(-2deg); }
.snap:nth-child(4n+2) { transform: rotate(1.5deg); margin-top: 18px; }
.snap:nth-child(4n+3) { transform: rotate(-1deg); margin-top: 6px; }
.snap:nth-child(4n) { transform: rotate(2deg); margin-top: 22px; }
.snap::before { content: ""; position: absolute; top: -10px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: rgba(184,204,240,.75); transform: rotate(-3deg); }
.snap img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--line-soft); }
.snap-memo { font-family: var(--font-hand); font-size: 16px; font-weight: 600; line-height: 1.6; }
.snap-foot { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-dot); font-size: 12px; color: var(--muted); }
.snap-dialog { border: 0; padding: 0; max-width: min(880px, calc(100vw - 32px)); width: 100%; background: var(--surface); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.snap-dialog::backdrop { background: rgba(18,24,51,.72); }
.dialog-body { display: flex; flex-wrap: wrap; gap: 24px; padding: 20px; }
.dialog-body img { flex: 1 1 380px; min-width: 0; max-height: 70vh; object-fit: contain; background: var(--line-soft); }
.dialog-text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dialog-text h2 { font-family: var(--font-hand); font-weight: 600; font-size: 22px; line-height: 1.6; }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* 作品 */
.band-dark { background: var(--ink); color: var(--bg); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.work-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid #2C3557; color: var(--bg); text-decoration: none; }
.work-card:hover { color: #FFFFFF; border-color: #8FB4FF; }
.work-status { font-family: var(--font-dot); font-size: 13px; color: #8FB4FF; }
.work-status.purple { color: #C2B2F5; }
.work-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.5; }
.work-desc { font-size: 15px; color: var(--on-dark); }
.works-hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 72px; }
.works-hero h1 img { display: block; width: 100%; max-width: 520px; }
.works-hero p { color: var(--on-dark); max-width: 32em; }
.btn-ghost { border: 1px solid #8A93AD; color: var(--on-dark); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.feature h3 { font-size: 18px; line-height: 1.6; }
.feature p { font-size: 15px; color: var(--text); }
.chara-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 16px; }
.chara { display: flex; flex-direction: column; gap: 10px; }
.chara-ph { aspect-ratio: 3 / 4; max-width: 100%; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.chara-ph .redact span { width: 18px; height: 7px; }
.chara-ph .label { font-family: var(--font-dot); font-size: 12px; letter-spacing: 0.24em; color: var(--on-dark); }
.chara-role { font-family: var(--font-dot); font-size: 13px; color: var(--blue); }
.chara h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.spec { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px 16px; font-size: 15px; margin: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.prev-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.prev-card:hover { border-color: var(--blue); color: var(--ink); }

/* note */
.note-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.note-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.note-card:hover { border-color: var(--blue); color: var(--ink); }
.note-thumb { aspect-ratio: 1.91 / 1; width: 100%; object-fit: cover; background: var(--line-soft); display: block; }
.note-card time { padding: 0 20px; font-family: var(--font-dot); font-size: 13px; color: var(--blue); }
.note-card span { padding: 0 20px 22px; font-weight: 700; line-height: 1.6; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; padding-block: 40px 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 8px; }
.foot-brand img { height: 52px; width: auto; align-self: flex-start; }
.foot-brand span { font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 14px; }
.foot-links a, .foot-links span { padding: 10px 0; }
.foot-links span { color: var(--muted); }
.foot-meta { flex-basis: 100%; font-size: 13px; color: var(--muted); }
