/* Preserve the original blue / white identity and angular, kinetic composition. */
:root {
  --text: #183754;
  --muted: #47617b;
  --on-sky: #062b55;
  --line: #cfdded;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --header-height: 84px;
}
html { scroll-padding-top: calc(var(--header-height) + 24px); scroll-behavior: smooth; }
html, body { cursor: auto; }
body { line-height: 1.7; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 5px;
  box-shadow: 0 0 0 7px white;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100000; background: white; color: var(--ink); padding: 12px 20px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.topbar { gap: 24px; padding: 14px clamp(20px,3vw,48px); background: rgba(255,255,255,.96); }
.topbar .brand { flex-shrink: 0; gap: 14px; }
.topbar .brand .mark { width: 44px; height: 44px; border: 0; color: var(--on-sky); line-height: 1; transition: transform .2s var(--ease-out); }
.topbar .brand .mark:hover { transform: rotate(0) scale(1.05); }
.brand-home { display: flex; flex-direction: column; justify-content: center; min-height: 44px; }
.topbar .brand .name { font-family: "Zen Kaku Gothic New",sans-serif; font-weight: 900; font-size: 22px; line-height: 1.2; }
.topbar .brand .sub { font-size: 12px; letter-spacing: .06em; color: var(--muted); line-height: 1.5; }
.topbar nav { margin-left: auto; gap: 2px; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; padding: 9px 13px; letter-spacing: .06em; }
.topbar nav a .num { font-size: 12px; color: var(--accent); }
.topbar nav a:hover { color: var(--ink); transform: translateY(-1px); }
.topbar nav a:hover::before { background: var(--bone); }
.topbar nav a[aria-current="location"] { background: var(--ink); color: white; }
.topbar nav a[aria-current="location"]:hover::before { content: none; }
.topbar nav a[aria-current="location"]:hover { color: white; }
.topbar nav a[aria-current="location"] .num { color: var(--accent-sky); }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: white; color: var(--ink); font-size: 12px; font-weight: 700; }
.motion-toggle::before { content: "Ⅱ"; font-size: 14px; }
.motion-toggle[aria-pressed="false"]::before { content: "▶"; font-size: 10px; }
.motion-toggle:disabled { cursor: default; }
.hero.video-hero { min-height: max(740px,94svh); padding-top: calc(var(--header-height) + 120px); }
.hero-bgv { transition: transform .6s var(--ease-out); }
.hero-front { max-width: 1380px; padding: 0 clamp(28px,4.4vw,64px) 54px; }
.vh-copy { font-size: clamp(32px,3.5vw,54px); line-height: 1.4; letter-spacing: .01em; margin-bottom: 24px; }
.vh-copy .phrase, .hero-description .phrase { display: inline-block; max-width: 100%; }
.hero-description { color: white; font-size: clamp(14px,1.3vw,17px); line-height: 1.9; max-width: 38em; margin: -8px 0 24px; text-shadow: 0 2px 14px #04101f; }
.vh-name { padding: 18px 24px 21px; }
.vh-name .role { font-size: 12px; letter-spacing: .08em; line-height: 1.6; }
.vh-name .nm { font-size: clamp(30px,3.6vw,46px); margin-top: 8px; }
.btn { min-height: 52px; font-size: 15px; color: var(--on-sky); }
.btn.ghost { color: white; }
.btn .arrow { transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:focus-visible, .handle:focus-visible { filter: drop-shadow(0 0 4px white); outline: 4px solid var(--accent); }
.vh-social { gap: 10px; margin-top: 18px; }
.vh-social a { min-height: 44px; padding: 9px 12px; font-size: 12px; letter-spacing: .03em; background: rgba(4,16,31,.82); border-width: 1px; }
.vh-social a:hover { background: var(--red); color: var(--on-sky); }
.vh-social a::after { content: "↗"; font-size: 14px; margin-left: 2px; color: var(--accent-sky); }
.vh-social a:hover::after { color: var(--on-sky); }
.vh-badge { top: calc(var(--header-height) + 34px); right: 36px; }
.vh-sticker { top: calc(var(--header-height) + 154px); }
.vh-scroll { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: white; font-size: 12px; letter-spacing: .16em; flex-shrink: 0; }
.video-hero .ticker { margin-top: 0; color: var(--on-sky); }
.ticker-track { font-size: 23px; line-height: 1.5; }
.section { padding: clamp(80px,8vw,124px) clamp(24px,5.6vw,80px); }
.section .wrap { max-width: 1280px; }
.sec-head { gap: 28px; margin-bottom: 48px; }
.sec-title { font-size: clamp(38px,5.7vw,80px); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; }
.sec-eyebrow { font-size: 12px; letter-spacing: .14em; }
.sec-index { font-size: clamp(80px,11vw,144px); align-self: start; line-height: 1; }
.work .sec-index .slash, .skills .sec-index .slash { color: var(--ink); }
.work .bg-kana { right: 0; top: -30px; font-size: clamp(160px,25vw,340px); opacity: .55; }
.about-grid { gap: 52px; }
.about-lead { font-size: clamp(24px,2.35vw,34px); line-height: 1.65; letter-spacing: -.04em; }
.about-lead em { color: #85d6ff; }
.about-body p { font-size: 16px; line-height: 2; color: var(--text); max-width: 40em; margin-top: 24px; }
.about-body p + p { margin-top: 20px; }
.profile-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.profile-proof-label { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.profile-proof a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 13px; line-height: 1.8; text-decoration: underline; text-underline-offset: 5px; }
.stat-grid { gap: 16px; }
.stat { min-width: 0; padding: 26px 22px; min-height: 172px; }
.stat.red { color: var(--on-sky); }
.stat .num { font-size: clamp(48px,5.3vw,76px); line-height: 1.1; }
.stat .u { letter-spacing: 0; }
.stat:last-child .num { font-family: "Zen Kaku Gothic New",sans-serif; font-size: clamp(34px,3.2vw,46px); font-weight: 900; }
.stat .lbl { margin-top: 12px; font-size: 14px; line-height: 1.7; opacity: 1; }
.work { border-top: 1px solid var(--line); }
.live-demo { margin: 0 0 36px; }
.live-lead { gap: 14px; margin-bottom: 28px; }
.live-lead .lv { color: var(--accent); border-color: var(--accent); font-size: 12px; flex-shrink: 0; }
.live-lead p { font-size: 16px; color: var(--text); max-width: 56em; line-height: 1.9; }
.demo-note { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.demo-duo { gap: 32px; }
.device { border-color: rgba(0,56,168,.16); box-shadow: 0 12px 28px rgba(0,30,80,.12), 0 2px 5px rgba(0,30,80,.06); transform: perspective(1400px) rotateY(-1.4deg); }
.demo-duo > div:nth-child(2) .device { transform: perspective(1400px) rotateY(1.4deg); }
.device .bar { min-height: 48px; padding: 12px 16px; line-height: 1.5; flex-wrap: wrap; }
.device .dbody { height: 470px; padding: 20px; justify-content: flex-start; overflow: hidden; overscroll-behavior: auto; }
.device .dbody:focus-visible { outline-offset: -4px; box-shadow: none; }
.msg, .lmsg { flex-shrink: 0; }
.msg .tx, .lmsg .bub { font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.msg .nm { font-size: 13px; }
.msg .nm span { font-size: 12px; color: #acafb5; }
.msg .tx .mention { color: #75d2fb; background: #183441; }
.msg .file { font-size: 12px; overflow-wrap: anywhere; }
.msg .file .fi { flex-shrink: 0; }
.lmsg .bub { max-width: 90%; }
.lmsg .mcard { max-width: 92%; }
.lmsg .mcard .meishi .co, .lmsg .mcard .meishi .rl2, .lmsg .mcard .cap { font-size: 12px; color: #5b554a; }
.lmsg .bub .chk, .md-done, .inv-done { color: #07734f; }
.night .bar .nz, .nline .t { color: #a3afc7; font-size: 12px; letter-spacing: 0; }
.nline { white-space: normal; overflow: visible; font-size: 13px; line-height: 1.9; color: #d5dfed; }
.nbody { gap: 14px !important; }
.mail-in .mt, .md-text, .voc-latest, .inv-table td { font-size: 14px; }
.mail-in .mh, .mail-draft .mh2, .vbar .lb, .voc-latest .who2, .inv-lead, .inv-table td:nth-child(2) { font-size: 12px; }
.voc-latest .who2 { color: #53657b; }
.inv-table td { padding: 12px 4px; }
.inv-table td:last-child { white-space: nowrap; }
.inv-table td:first-child { min-width: 0; }
.demo-cap { font-family: "Noto Sans JP",sans-serif; font-size: 13px; line-height: 1.8; letter-spacing: .01em; color: var(--muted); padding: 0 2px; margin-top: 18px; }
.demo-cap b { margin-right: 6px; }
.ongoing-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.ongoing .row { grid-template-columns: 1fr; gap: 16px; padding: 0 24px 26px; border-left-width: 4px; position: relative; }
.ongoing .theme-card { grid-template-rows: auto 1fr auto; }
.theme-art { object-position: 50% 65%; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 2.1; object-fit: cover; margin: 0 -24px; background: white; }
.ongoing .row .no { position: absolute; top: 18px; left: 18px; font-size: 32px; line-height: 1; background: white; padding: 8px 10px; transform: rotate(-5deg); box-shadow: 3px 3px 0 var(--red); }
.row h3 { font-family: "Zen Kaku Gothic New",sans-serif; font-weight: 900; font-size: 22px; line-height: 1.6; margin-bottom: 12px; overflow-wrap: anywhere; }
.row p { font-size: 15px; line-height: 1.95; color: var(--text); }
.row .meta { writing-mode: horizontal-tb; color: var(--accent); font-size: 12px; letter-spacing: .06em; align-self: end; padding-top: 6px; }
.project-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 0; margin-top: 16px; color: var(--ink); border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.project-link.secondary { margin-top: 0; font-size: 13px; font-weight: 500; }
.project-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
/* Keep activity text above the blue section decoration, on an opaque surface. */
.recent-activity { position: relative; z-index: 2; margin-top: 36px; padding: 28px 32px; background: #fff; color: var(--text); border-top: 4px solid var(--ink); }
.recent-activity h3 { font-size: 40px; line-height: 1.4; margin-bottom: 20px; color: var(--ink); }
.recent-activity ul { list-style: none; }
.recent-activity li { display: grid; grid-template-columns: 5em minmax(0,1fr); gap: 24px; align-items: baseline; border-top: 1px solid var(--line); font-size: 30px; padding: 20px 0; }
.recent-activity time { color: var(--muted); font-family: "JetBrains Mono",monospace; font-size: 30px; line-height: 1.8; }
.recent-activity a { display: block; min-height: 64px; color: var(--text); font-size: 30px; line-height: 1.7; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: #8ba4bc; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.recent-activity a:hover { color: var(--ink); text-decoration-color: currentColor; }
.recent-activity a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; box-shadow: none; }
@media(max-width:640px) { .recent-activity { padding: 24px 20px; } .recent-activity li { grid-template-columns: 1fr; gap: 8px; } }
.ongoing .row.recruit { grid-column: 1 / -1; padding: 28px 32px; grid-template-columns: 1fr auto; align-items: center; margin-top: 8px; }
.row.recruit .no { display: none; }
.recruit a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid #88caff; color: white; font-size: 14px; }
.recruit a:hover { background: var(--red); color: var(--on-sky); }
.skill-grid { gap: 24px; }
.skill { outline: none; border: 1px solid var(--line); border-bottom: 3px solid var(--ink); padding: 28px 24px; }
.skill:hover { transform: translateY(-3px); border-color: var(--accent); }
.skill .stripe { height: 5px; }
.skill .num { font-size: 12px; margin-bottom: 12px; }
.skill h3 { font-family: "Zen Kaku Gothic New",sans-serif; font-size: 24px; line-height: 1.5; font-weight: 900; margin-bottom: 18px; }
.skill h3 .jp { display: block; font-family: "Oswald",sans-serif; font-size: 14px; letter-spacing: .06em; color: var(--accent); margin-top: 4px; }
.skill li { font-size: 12px; line-height: 1.7; letter-spacing: 0; padding: 7px 9px; overflow-wrap: anywhere; }
.contact .sec-title, .contact .sec-eyebrow, .contact .sec-index { color: var(--on-sky); }
.contact-card { padding: 48px; gap: 32px; }
.contact-card h3 .phrase { display: inline-block; }
.contact-card h3 { font-size: clamp(28px,3vw,42px); line-height: 1.55; }
.contact-card .handle { color: var(--on-sky); font-size: 16px; letter-spacing: .05em; min-height: 54px; }
.contact-hint { font-size: 12px; color: #d4eaff !important; margin-top: 12px !important; }
footer { padding: 36px clamp(24px,5.6vw,80px); font-size: 12px; line-height: 1.8; letter-spacing: .04em; }
footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
footer a:hover { color: #94dbff; }
footer .red { color: #94dbff; }
.siderail { font-size: 10px; opacity: .55; }
.progress span { background: var(--accent); }
.cursor-ring, .cursor-dot { display: none; }
@media (hover:hover) and (pointer:fine) {
  html[data-motion="on"] .cursor-ring { display: block; width: 28px; height: 28px; opacity: 0; background: radial-gradient(circle,#0a1a3a 0 4px,#0038a8 4px 7px,#0ab4ff 7px 10px,#fff 10px 12px,transparent 12px); border: 1px solid rgba(10,180,255,.7); box-shadow: 0 0 10px rgba(10,180,255,.22); }
  html[data-motion="on"] .cursor-ring.visible { opacity: .8; }
  .cursor-ring::before { inset: -4px; border-color: rgba(10,180,255,.35); }
  html[data-motion="on"] .cursor-ring.hot { width: 34px; height: 34px; opacity: .45; }
}
.loader { pointer-events: none; animation: loaderOut .2s 1s forwards; }
.loader .stamp .en { font-size: clamp(12px,2vw,20px); letter-spacing: .2em; }
.loader .shutter.top, .loader .shutter.bot { animation-duration: .65s; animation-delay: .25s; }
.loader .stamp { animation-delay: .6s; }
.cutin { inset: 0; width: auto; height: auto; z-index: 9500; }
.cutin .slice { height: 50vh; animation-duration: .85s; }
.cutin .dots { opacity: .45; }
.cutin .card-in { padding: 22px 44px; outline-width: 3px; box-shadow: 10px 10px 0 var(--red); animation-duration: .8s; }
.cutin .card-in .kana { font-size: 56px; }
.cutin .card-in .en { font-size: 12px; }
.flash { display: block; }
.flash-word.quote { pointer-events: auto; max-height: calc(100svh - var(--header-height) - 60px); overflow-y: auto; left: 26px; top: 98px; width: min(480px,calc(100vw - 52px)); max-width: none; font-size: 15px; padding: 22px; line-height: 1.9; transform: rotate(-2deg); }
.flash-word.quote.pop { animation: quoteIn .25s var(--ease-out) both; }
.flash-word.quote.click-quote { pointer-events: none; left: 0; top: 0; width: max-content; max-width: min(80vw,640px); font-size: clamp(14px,1.5vw,20px); }
.flash-word.quote.click-quote.pop { animation: wordPop 5.2s forwards; }
.flash-word.quote.click-quote .quote-close { display: none; }
.flash-word.quote.click-quote .quote-content { padding-right: 0; }
.flash-word.quote.quote-clipped::after { content: "左上のYで全文を読む"; position: absolute; inset: auto 0 0; padding: 8px 16px; background: var(--paper); border-top: 1px solid var(--accent); color: var(--ink); font-size: 12px; line-height: 1.5; text-align: right; }
.flash-word.quote .qby { font-size: 12px; }
.flash-word.quote .quote-close { pointer-events: auto; position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; color: var(--ink); background: transparent; font-size: 22px; }
.flash-word.quote .quote-content { display: block; padding-right: 18px; }
@keyframes quoteIn { from { opacity: 0; transform: translateY(-12px) rotate(-4deg); } to { opacity: 1; transform: rotate(-2deg); } }
.reveal { opacity: 1; transform: none; }
html[data-motion="on"] .reveal.pending { opacity: 0; transform: translateY(20px); }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] .loader, html[data-motion="off"] .cutin, html[data-motion="off"] .spotlight { display: none; }
html[data-motion="off"] .hero-cta, html[data-motion="off"] .ticker, html[data-motion="off"] .msg, html[data-motion="off"] .lmsg, html[data-motion="off"] .nline { opacity: 1; transform: none; }
html[data-motion="off"] .hero-bgv { transform: none !important; }
html[data-motion="off"] .md-text::after, html[data-motion="off"] .typing { display: none; }
@media (max-width:1100px) {
  .topbar { gap: 14px; padding-inline: 24px; }
  .topbar nav a { padding-inline: 9px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .stat { padding: 20px 16px; }
  .stat .num { font-size: 48px; }
  .stat:last-child .num { font-size: 32px; }
  .stat .lbl { font-size: 13px; }
  .ongoing-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ongoing .row.recruit { grid-column: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  .skill-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:800px) {
  :root { --header-height: 124px; }
  .topbar { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 20px 8px; }
  .topbar nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); grid-column: 1 / -1; grid-row: 2; margin: 0; gap: 3px; }
  .topbar nav a { justify-content: center; padding: 8px 4px; font-size: 13px; letter-spacing: 0; }
  .topbar nav a .num { font-size: 10px; margin-right: 4px; }
  .topbar .brand .name { font-size: 20px; }
  .topbar .brand .sub { font-size: 11px; }
  .motion-toggle { font-size: 12px; padding-inline: 10px; }
  .hero.video-hero { min-height: 880px; min-height: max(840px,100svh); padding-top: 330px; }
  .hero-bgv { object-position: 72% 25%; }
  .hero-veil2 { background: linear-gradient(180deg,rgba(4,10,24,.1) 12%,rgba(4,10,24,.05) 28%,rgba(4,10,24,.82) 58%,#040d1d 94%); }
  .hero-front { padding: 0 28px 36px; }
  .vh-badge { width: 72px; height: 72px; right: 22px; top: calc(var(--header-height) + 24px); font-size: 10px; }
  .vh-badge b { font-size: 20px; }
  .vh-sticker { display: none; }
  .vh-scroll { display: none; }
  .vh-copy { font-size: clamp(29px,4.5vw,40px); }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat { min-height: 162px; padding: 24px 20px; }
  .stat .num { font-size: clamp(46px,7vw,64px); }
  .stat:last-child .num { font-size: 38px; }
  .sec-head { gap: 16px; }
  .sec-title { font-size: clamp(34px,6vw,48px); }
  .sec-index { font-size: 80px; }
  .sec-eyebrow { letter-spacing: .06em; }
  .demo-duo { grid-template-columns: 1fr; gap: 32px; }
  .device, .demo-duo > div:nth-child(2) .device { transform: none; }
  .contact-card { grid-template-columns: 1fr; padding: 34px 28px; }
  .contact-card .right { text-align: left; }
  .contact-card .big-x { font-size: 72px; }
  .contact-card .right { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
  .contact-card .handle { margin-top: 0; }
  .contact-hint { flex-basis: 100%; }
  .flash-word.quote { top: 142px; }
}
@media (max-width:540px) {
  .section { padding: 72px 22px; }
  .topbar { padding-inline: 16px; }
  .topbar .brand { gap: 10px; }
  .hero-front { padding-inline: 22px; display: block; }
  .hero-front > div { width: 100%; min-width: 0; }
  .vh-badge { right: auto; left: 22px; }
  .vh-copy { font-size: clamp(25px,6.7vw,34px); }
  .vh-name { padding: 16px 18px 19px; }
  .vh-name .role { font-size: 11px; letter-spacing: .02em; }
  .vh-name .nm { font-size: clamp(26px,7.5vw,36px); }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1; justify-content: center; padding-inline: 14px; gap: 8px; font-size: 13px; letter-spacing: 0; min-width: 0; }
  .hero-cta .btn span { white-space: nowrap; }
  .hero-cta .btn .arrow { font-size: 16px; flex-shrink: 0; }
  .vh-social { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .vh-social a { font-size: 11px; padding: 8px; gap: 5px; letter-spacing: 0; }
  .vh-social a::after { margin-left: auto; font-size: 12px; }
  .ticker-track { font-size: 18px; }
  .sec-head { position: relative; display: block; padding-right: 0; margin-bottom: 32px; }
  .heading-tail { display: block; }
  .sec-title { font-size: 39px; max-width: 100%; padding-right: 32px; }
  .sec-index { position: absolute; right: -3px; top: -6px; font-size: 52px; opacity: .24; pointer-events: none; }
  .sec-eyebrow { font-size: 11px; }
  .about-lead { font-size: 23px; }
  .about-body p { font-size: 16px; }
  .stat { padding: 20px 15px; min-height: 155px; }
  .stat .num { font-size: clamp(40px,12vw,54px); }
  .stat:last-child .num { font-size: clamp(29px,8.8vw,40px); }
  .stat .lbl { font-size: 12px; }
  .stat-grid { gap: 12px; }
  .stat .u { margin-left: 3px; font-size: 13px; }
  .device .dbody { padding: 16px 14px; height: 490px; }
  .device .bar { font-size: 13px; gap: 4px; }
  .slack .bar .ch { font-size: 11px; }
  .msg { gap: 8px; }
  .msg .av { width: 30px; height: 30px; font-size: 13px; }
  .msg .tx, .lmsg .bub { font-size: 13px; }
  .inv-table td { font-size: 12px; }
  .inv-table td:nth-child(2) { font-size: 11px; }
  .ongoing-list, .skill-grid { grid-template-columns: 1fr; }
  .ongoing .row.recruit { padding: 28px 24px; }
  .theme-art { aspect-ratio: 2.1; }
  .row p { font-size: 16px; }
  .contact-card { padding: 30px 24px 36px; }
  .contact-card h3 { font-size: 28px; }
  .contact-card .handle { font-size: 14px; padding: 14px 22px; }
  .contact-card .big-x { font-size: 58px; }
  .contact-card .right { column-gap: 16px; }
  footer { padding: 30px 22px; overflow-wrap: anywhere; }
  footer .col { max-width: 100%; }
  footer .col:last-child { text-align: left !important; }
  .cutin { inset: 0; width: auto; height: auto; }
  .cutin .card-in .kana { font-size: 40px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .loader, .cutin, .cursor-ring, .spotlight { display: none !important; }
  .reveal, .hero-cta, .ticker { opacity: 1 !important; transform: none !important; }
}
@media (prefers-contrast:more) {
  .topbar { background: white; }
  .skill { border-color: var(--ink); }
  .sec-index { opacity: 1; }
  .vh-social a { background: #04101f; }
}
@media (prefers-reduced-transparency:reduce) { .topbar { background: white; backdrop-filter: none; } }

html[data-motion="off"] .flash-word.quote:not([hidden]) { opacity: 1; transform: none; }
.stat .phrase { display: inline-block; }

.row h3 .phrase { display: inline-block; max-width: 100%; }
@media(max-width:360px) { .row h3 { font-size: 20px; } .hero-cta .btn { font-size: 12px; padding-inline: 10px; gap: 6px; } .hero-cta .btn .arrow { font-size: 14px; } .sec-title { font-size: 36px; } }
@keyframes message-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html[data-motion="on"] .msg.on, html[data-motion="on"] .lmsg.on, html[data-motion="on"] .nline.on, html[data-motion="on"] .inv-table tr.on { animation: message-arrive .35s var(--ease-out) both; }
.live-lead p { text-wrap: pretty; }
@media(max-width:360px) {
  .topbar nav a { flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
  .topbar nav a .num { margin-right: 0; line-height: 1; }
  .vh-badge { display: none; }
  .vh-social { grid-template-columns: 1fr; }
  .vh-social a { font-size: 12px; padding-inline: 12px; }
}
