/* ============ 株式会社medier — B案「SOURCE」源点から広がる光・エディトリアル ============ */
:root {
  --bg: #07080c;
  --bg2: #0e1017;
  --card: rgba(255, 255, 255, .035);
  --line: rgba(230, 233, 245, .09);
  --line2: rgba(230, 233, 245, .2);
  --fg: #eef0f6;
  --mute: #8b90a3;
  --acc: oklch(0.7 0.17 262);
  --acc2: oklch(0.7 0.17 200);
  --pad: 22px;
  --r: 20px;
  --jp: "Zen Kaku Gothic New", sans-serif;
  --serif: "Instrument Serif", serif;
  --en: "Manrope", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); font-family: var(--jp); font-size: 15px; line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acc); color: #fff; }
.sf { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.en { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.acc { color: var(--acc); }
main, header, footer { position: relative; z-index: 1; }

/* 全体に漂う光 */
.glow { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .5; }
.glow.g1 { width: 80vw; height: 80vw; left: -30vw; top: -20vw; background: radial-gradient(circle, oklch(0.45 0.16 262 / .55), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow.g2 { width: 70vw; height: 70vw; right: -30vw; bottom: -20vw; background: radial-gradient(circle, oklch(0.45 0.14 200 / .35), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(10vw, 8vh); } }

/* ---------- header ---------- */
.hd { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid transparent; transition: all .4s; }
body.scrolled .hd, body.menu-open .hd { background: rgba(14, 16, 23, .6); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.logo { font-family: var(--en); font-weight: 700; font-size: 21px; letter-spacing: -.03em; display: flex; align-items: center; gap: 7px; }
.logo i { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); display: block; }
.hd-nav { display: none; }
.hd .hd-cta { display: none; } /* スマホでは隠す（.btn の display に負けないよう .hd を付けている） */
.burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); display: grid; place-items: center; cursor: pointer; position: relative; }
.burger span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--fg); transition: transform .4s cubic-bezier(.6,0,.2,1), width .4s, border-radius .4s; }
.burger span:nth-child(1) { transform: translateX(-5px); }
.burger span:nth-child(2) { transform: translateX(5px); }
body.menu-open .burger span { width: 16px; height: 1.5px; border-radius: 1px; }
body.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: rgba(7, 8, 12, .92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 110px var(--pad) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.menu ol { list-style: none; }
.menu li { overflow: hidden; }
.menu li a { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 0; transform: translateY(100%); transition: transform .7s cubic-bezier(.2,.7,.1,1); }
body.menu-open .menu li a { transform: none; }
.menu li:nth-child(2) a { transition-delay: .05s; } .menu li:nth-child(3) a { transition-delay: .1s; } .menu li:nth-child(4) a { transition-delay: .15s; } .menu li:nth-child(5) a { transition-delay: .2s; } .menu li:nth-child(6) a { transition-delay: .25s; }
.menu li .t { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: 1.1; }
.menu li .ja { font-size: 12px; color: var(--mute); }
.menu li a.is-current .t { color: var(--acc); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 12px 0 26px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--fg); color: var(--bg); transition: transform .3s, background .3s, box-shadow .3s; cursor: pointer; border: 0; }
.btn .ar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); color: var(--fg); display: grid; place-items: center; font-size: 13px; transition: transform .4s; }
.btn:hover .ar { transform: rotate(45deg); }
.btn:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.btn-acc { background: var(--acc); color: #fff; }
.btn-acc .ar { background: #fff; color: var(--acc); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line2); }
.btn-ghost .ar { background: rgba(255,255,255,.1); }
.btn-block { display: flex; width: 100%; justify-content: space-between; }

/* ---------- common ---------- */
.sec { padding: 110px var(--pad); position: relative; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.h-big { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: .95; font-weight: 400; letter-spacing: -.01em; }
.h-ja { font-size: 28px; font-weight: 700; line-height: 1.55; letter-spacing: .04em; text-wrap: pretty; }
.lead { color: #c3c7d4; line-height: 2.05; text-wrap: pretty; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ph { position: relative; border-radius: var(--r); background: repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 1px, transparent 1px 10px), var(--bg2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.ph span { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .06em; color: var(--mute); padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.5); border: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid var(--line2); color: #c3c7d4; letter-spacing: .06em; }
.pill.on { background: color-mix(in oklch, var(--acc) 22%, transparent); border-color: color-mix(in oklch, var(--acc) 50%, transparent); color: #dfe4ff; }

/* reveal */
.js .rv, .js .rv-now { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.1s; }
.rv.in, .rv-now.in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; }

/* ============ TOP ============ */
.hero { min-height: 100svh; padding: 100px var(--pad) 32px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.rings { position: absolute; left: 50%; top: 38%; width: 0; height: 0; }
.rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(160, 175, 255, .16); transform: translate(-50%, -50%) scale(.2); opacity: 0; animation: ring-in 2.2s cubic-bezier(.2,.7,.1,1) forwards; }
.rings i:nth-child(1) { width: 90px; height: 90px; animation-delay: .1s; border-color: rgba(160,175,255,.5); }
.rings i:nth-child(2) { width: 200px; height: 200px; animation-delay: .25s; border-color: rgba(160,175,255,.3); }
.rings i:nth-child(3) { width: 340px; height: 340px; animation-delay: .4s; }
.rings i:nth-child(4) { width: 520px; height: 520px; animation-delay: .55s; }
.rings i:nth-child(5) { width: 740px; height: 740px; animation-delay: .7s; border-color: rgba(160,175,255,.08); }
.rings i:nth-child(6) { width: 1000px; height: 1000px; animation-delay: .85s; border-color: rgba(160,175,255,.05); }
@keyframes ring-in { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.rings .core { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 20px 6px var(--acc), 0 0 80px 30px oklch(0.6 0.18 262 / .5); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 26px 8px var(--acc), 0 0 120px 50px oklch(0.6 0.18 262 / .35); } }
.rings .wave { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; border-radius: 50%; border: 1px solid var(--acc); transform: translate(-50%, -50%); animation: wave 4.5s cubic-bezier(.2,.6,.3,1) 1.6s infinite; opacity: 0; }
.rings .wave.w2 { animation-delay: 3.85s; }
@keyframes wave { 0% { opacity: .8; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(9); } }
.hero-lbl { position: absolute; left: 50%; top: calc(38% + 22px); transform: translateX(-50%); white-space: nowrap; }
.hero h1 { font-size: 36px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; position: relative; }
.hero h1 .sf { font-size: 1.15em; }
.hero h1 b { font-weight: 700; background: linear-gradient(90deg, #fff, var(--acc) 60%, var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 18px; color: #c3c7d4; font-size: 14px; }
.hero-foot { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; }
.scroll-ind { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; }
.scroll-ind i { width: 4px; height: 4px; border-radius: 50%; background: var(--fg); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); opacity: .3; } }

/* statement */
.statement { text-align: left; }
.statement .h-ja { font-size: 26px; }
.statement .h-ja span { color: var(--mute); transition: color .8s; }
.statement.in .h-ja span, .statement .h-ja span.in { color: var(--fg); }
.flow { display: flex; align-items: center; gap: 6px; margin: 40px 0 28px; flex-wrap: nowrap; }
.flow div { flex: 1; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 14px; font-weight: 700; position: relative; }
.flow div:last-child { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 30px oklch(0.6 0.18 262 / .6); }
.flow em { font-style: normal; color: var(--mute); font-size: 12px; flex: none; }

/* philosophy system — 同心円 */
.orb-sys { position: relative; aspect-ratio: 1; max-width: 420px; margin: 48px auto 0; }
.orb-sys .o { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid var(--line2); }
.orb-sys .o1 { width: 100%; height: 100%; background: radial-gradient(circle, transparent 60%, oklch(0.5 0.15 262 / .08)); }
.orb-sys .o2 { width: 66%; height: 66%; background: oklch(0.5 0.15 262 / .08); border-color: color-mix(in oklch, var(--acc) 40%, transparent); }
.orb-sys .o3 { width: 32%; height: 32%; background: var(--acc); border: 0; box-shadow: 0 0 60px oklch(0.6 0.18 262 / .6); }
.orb-sys .lb { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; line-height: 1.3; }
.orb-sys .lb b { display: block; font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.orb-sys .lb small { font-family: var(--en); font-size: 9px; letter-spacing: .2em; color: var(--mute); font-weight: 700; }
.orb-sys .l1 { top: 5%; } .orb-sys .l2 { top: 22%; } .orb-sys .l3 { top: 50%; transform: translate(-50%, -50%); } .orb-sys .l3 small { color: rgba(255,255,255,.75); }
.sys-list { list-style: none; margin-top: 40px; display: grid; gap: 10px; }
.sys-list li { padding: 18px 20px; display: grid; grid-template-columns: 64px 1fr; align-items: center; }
.sys-list b { font-size: 18px; }

/* mission / vision */
.mv-card { padding: 32px 24px 36px; margin-top: 14px; position: relative; overflow: hidden; }
.mv-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, oklch(0.6 0.18 262 / .35), transparent 70%); }
.mv-card .h-big { font-size: 44px; margin-bottom: 20px; }
.mv-card h3 { font-size: 23px; font-weight: 700; line-height: 1.6; margin-bottom: 16px; }
.mv-card .tag { margin-top: 22px; font-size: 13px; color: #dfe4ff; display: flex; gap: 10px; align-items: center; }
.mv-card .tag::before { content: ""; width: 18px; height: 1px; background: var(--acc); }

/* redefine — 横スクロール */
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 40px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 12px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.rd-card { flex: 0 0 76%; scroll-snap-align: start; padding: 26px 22px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.rd-card .num { font-family: var(--serif); font-style: italic; font-size: 60px; line-height: 1; color: var(--acc); }
.rd-card .h4 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.rd-card p { font-size: 14px; color: #c3c7d4; }
.hs-hint { display: flex; gap: 6px; margin-top: 18px; }
.hs-hint i { width: 18px; height: 3px; border-radius: 3px; background: var(--line2); }
.hs-hint i.on { background: var(--fg); }

/* service teaser */
.svc { display: block; padding: 10px; overflow: hidden; } /* スマホは縦積み、PCは下の @media で2列 */
.svc .ph { aspect-ratio: 1 / 1; border-radius: 14px; }
.svc .body { padding: 22px 14px 14px; }
.svc .name { font-family: var(--en); font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 14px 0 12px; }

/* FastBuzz ロゴビジュアル（黒背景JPEGを screen で抜く） */
.fb-visual { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); display: grid; place-items: center; isolation: isolate; }
.fb-visual.big { aspect-ratio: 4/5; }
.fb-visual img { position: relative; width: 108%; max-width: none; mix-blend-mode: screen; z-index: 1; transition: transform 1.2s cubic-bezier(.2,.7,.1,1); }
.fb-visual:hover img, a:hover .fb-visual img { transform: scale(1.04); }
.fb-glow { position: absolute; left: 50%; top: 42%; width: 90%; height: 70%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 110, 80, .28), rgba(190, 60, 255, .14) 45%, transparent 70%); filter: blur(30px); animation: fbpulse 5s ease-in-out infinite; }
@keyframes fbpulse { 50% { opacity: .55; transform: translate(-50%, -50%) scale(1.08); } }
.fb-visual::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); pointer-events: none; z-index: 2; }
.name small, .prod-name small { display: block; font-family: var(--jp); font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--mute); margin-top: 10px; }
.pill.fb { background: linear-gradient(90deg, rgba(255,150,60,.2), rgba(190,60,255,.2)); border-color: rgba(255,120,120,.4); color: #ffd9cc; }

/* news */
.news { list-style: none; }
.news a, .news .item { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.news a:hover { opacity: .7; }
.news .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.news .date { font-family: var(--en); font-size: 12px; color: var(--mute); letter-spacing: .06em; font-weight: 600; }
.news .t { font-size: 15px; line-height: 1.75; }

/* recruit teaser */
.rec { padding: 40px 24px; position: relative; overflow: hidden; text-align: center; }
.rec .h-big { font-size: 58px; margin: 12px 0 20px; }
.rec .rec-orb { position: absolute; left: 50%; bottom: -260px; width: 520px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, oklch(0.62 0.18 262 / .55), transparent 65%); pointer-events: none; }
.rec > *:not(.rec-orb) { position: relative; }

/* cta */
.cta { margin: 0 var(--pad) 0; padding: 56px 24px; border-radius: 28px; text-align: center; background: radial-gradient(120% 90% at 50% 0%, oklch(0.55 0.18 262), oklch(0.32 0.12 262) 55%, #0e1017); position: relative; overflow: hidden; }
.cta .h-big { font-size: 60px; margin: 10px 0 18px; }
.cta .en { color: rgba(255,255,255,.7); }
.cta p { color: rgba(255,255,255,.85); font-size: 14px; }
.cta .btn { margin-top: 28px; }

/* footer */
.ft { padding: 72px var(--pad) 28px; }
.ft-top { display: grid; gap: 32px; }
.ft-nav { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ft-nav a { font-size: 13px; color: #c3c7d4; }
.ft-mark { font-family: var(--en); font-weight: 800; font-size: 25vw; letter-spacing: -.06em; line-height: .8; margin-top: 56px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; }
.ft-bottom { display: flex; justify-content: space-between; margin-top: 16px; font-size: 11px; color: var(--mute); }

/* ============ SUB ============ */
.pg-hero { padding: 140px var(--pad) 56px; position: relative; overflow: hidden; }
.pg-hero .rings { top: 150px; left: 88%; }
.pg-hero h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 84px; line-height: .9; letter-spacing: -.01em; position: relative; }
.pg-hero .ja { position: relative; margin-top: 14px; font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 10px; }
.pg-hero .ja::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.pg-hero .lead { position: relative; margin-top: 36px; }

.why-eq { display: grid; gap: 10px; margin-top: 36px; }
.why-eq .card { padding: 22px; }
.why-eq .card:last-child { border-color: color-mix(in oklch, var(--acc) 50%, transparent); background: color-mix(in oklch, var(--acc) 10%, transparent); }
.why-eq b { display: block; font-size: 20px; margin-top: 6px; }
.why-arrow { text-align: center; color: var(--acc); font-size: 18px; line-height: 1; }

.vals { list-style: none; display: grid; gap: 10px; margin-top: 40px; }
.vals li { padding: 26px 22px; position: relative; overflow: hidden; }
.vals .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--acc); }
.vals .h4 { font-size: 22px; font-weight: 700; margin: 8px 0 2px; }
.vals .s { font-size: 13px; color: #dfe4ff; margin-bottom: 12px; }
.vals .d { font-size: 13px; color: #a9aebd; line-height: 1.9; }

.evo { margin-top: 40px; display: grid; gap: 10px; }
.evo .card { padding: 22px; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px; }
.evo .st { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.evo .card:last-child .st { background: var(--acc); border-color: var(--acc); }
.evo b { font-size: 17px; display: block; }
.evo small { font-size: 12px; color: var(--mute); }

.co { margin-top: 40px; padding: 8px 22px; }
.co dl { display: grid; grid-template-columns: 1fr; }
.co dt { font-size: 11px; color: var(--mute); padding-top: 18px; letter-spacing: .1em; }
.co dd { font-size: 14px; padding: 2px 0 18px; border-bottom: 1px solid var(--line); white-space: pre-line; }
.co dd:last-child { border-bottom: 0; }

.steps { list-style: none; display: grid; gap: 10px; margin-top: 40px; counter-reset: s; }
.steps .card { padding: 20px 22px; display: flex; align-items: center; gap: 18px; }
.steps .num { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--acc); width: 44px; }
.steps b { font-family: var(--en); font-weight: 700; font-size: 17px; letter-spacing: -.01em; display: block; }
.steps small { font-size: 13px; color: #a9aebd; }

.prod { padding: 10px; margin-top: 32px; overflow: hidden; }
.prod .ph { aspect-ratio: 4/5; border-radius: 14px; background: radial-gradient(80% 60% at 50% 40%, oklch(0.5 0.17 262 / .5), transparent), repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 1px, transparent 1px 10px), var(--bg2); }
.prod .body { padding: 26px 14px 16px; }
.prod-name { font-family: var(--en); font-size: 58px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 16px 0 12px; }
.feat { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.feat li { padding: 22px; }
.feat .n { font-family: var(--serif); font-style: italic; color: var(--acc); font-size: 18px; }
.feat .h4 { font-size: 17px; margin: 4px 0 6px; }
.feat p { font-size: 13px; color: #a9aebd; }

.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--pad)) 16px; padding: 0 var(--pad) 6px; scrollbar-width: none; }
.tabs button { flex: none; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .3s; }
.tabs button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--en); font-size: 13px; font-weight: 700; }
.pager span.on { background: var(--fg); color: var(--bg); }

.rec-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.rec-photos .ph { aspect-ratio: 4/3; }
.rec-photos .ph:nth-child(1) { grid-column: 1 / -1; }
.jobs { list-style: none; display: grid; gap: 10px; margin-top: 40px; }
.jobs a { display: block; padding: 22px; position: relative; transition: border-color .3s, background .3s; }
.jobs a:hover { border-color: color-mix(in oklch, var(--acc) 60%, transparent); }
.jobs .h4 { font-size: 17px; margin: 12px 0 4px; padding-right: 40px; line-height: 1.6; }
.jobs p { font-size: 13px; color: #a9aebd; }
.jobs .ar { position: absolute; right: 18px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 13px; transition: all .4s; }
.jobs a:hover .ar { background: var(--acc); transform: rotate(45deg); }

.form-wrap { padding: 28px 20px; }
.form { display: grid; gap: 22px; }
.fld label, .fld-lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.fld .req { font-size: 10px; padding: 1px 8px; border-radius: 999px; background: color-mix(in oklch, var(--acc) 25%, transparent); color: #dfe4ff; }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 54px; padding: 14px 18px; background: rgba(0,0,0,.35); border: 1px solid var(--line2); border-radius: 14px; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none; }
.fld textarea { min-height: 160px; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 4px oklch(0.6 0.18 262 / .2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); cursor: pointer; font-weight: 500; transition: all .3s; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { background: var(--acc); border-color: var(--acc); color: #fff; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.agree input { width: 18px; height: 18px; accent-color: var(--acc); }
.sent-msg { display: none; text-align: center; padding: 40px 0; }
.form-wrap.sent .form { display: none; }
.form-wrap.sent .sent-msg { display: block; }
.sent-msg .core { width: 16px; height: 16px; border-radius: 50%; background: #fff; margin: 0 auto 28px; box-shadow: 0 0 20px 6px var(--acc), 0 0 80px 30px oklch(0.6 0.18 262 / .5); }

/* ============ DESKTOP ============ */
@media (min-width: 900px) {
  /* 中身は最大1000pxで中央寄せ（左右の余白 = 56px か「画面幅−1000px」の半分の大きい方）。背景の光や円は画面いっぱいのまま */
  :root { --max: 1000px; --pad: max(56px, calc((100% - var(--max)) / 2)); --r: 24px; }
  body { font-size: 16px; }
  .hd { left: 0; right: 0; margin-inline: auto; width: calc(100% - 48px); max-width: calc(var(--max) + 48px); top: 18px; height: 64px; padding: 0 10px 0 28px; }
  .hd-nav { display: flex; gap: 6px; list-style: none; }
  .hd-nav a { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; transition: background .3s; }
  .hd-nav a:hover, .hd-nav a.is-current { background: rgba(255,255,255,.08); }
  .hd .hd-cta { display: inline-flex; min-height: 44px; padding-left: 20px; }
  .hd-cta .ar { width: 28px; height: 28px; }
  .burger { display: none; }
  .sec { padding: 120px var(--pad); }
  /* 見出しは 900〜1440px のあいだ画面幅に合わせて縮む。
     大きさの段: ページタイトル120 > 英字見出し・採用/お問い合わせ100 > トップのキャッチ・カード内の英字60 > 日本語見出し34 */
  .h-big { font-size: clamp(72px, 7vw, 100px); }
  .h-ja { font-size: clamp(28px, 2.4vw, 34px); }
  .hero { justify-content: center; text-align: center; }
  .rings { top: 50%; }
  .rings i:nth-child(5) { width: 1100px; height: 1100px; } .rings i:nth-child(6) { width: 1500px; height: 1500px; }
  .hero-lbl { display: none; }
  .hero h1 { font-size: clamp(48px, 4.2vw, 60px); line-height: 1.4; }
  .hero .sub { font-size: 16px; }
  .hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 32px; }
  .wide { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .statement .h-ja { font-size: clamp(24px, 2.1vw, 30px); } /* 「情報・人・テクノロジーをつなぎ、」が右の列で1行に収まる大きさ */
  .flow { max-width: 560px; }
  .mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .mv-card { padding: 44px 40px; margin: 0; }
  .mv-card .h-big { font-size: clamp(48px, 4.2vw, 60px); }
  .mv-card h3 { font-size: 22px; }
  .hscroll { margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .rd-card { min-height: 300px; }
  .rd-card .num { font-size: 52px; }
  .rd-card .h4 { font-size: 22px; }
  .hs-hint { display: none; }
  .svc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .svc .ph, .svc .fb-visual { aspect-ratio: auto; min-height: 400px; }
  .prod .fb-visual { aspect-ratio: auto; min-height: 520px; }
  .svc .body { padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; }
  .svc .name { font-size: clamp(48px, 4.2vw, 60px); }
  .news a, .news .item { display: grid; grid-template-columns: 200px 1fr; padding: 24px 0; }
  .rec { padding: 88px 48px; }
  .rec .h-big { font-size: clamp(72px, 7vw, 100px); }
  .rec .rec-orb { width: 900px; height: 900px; bottom: -500px; }
  .cta { padding: 88px 48px; border-radius: var(--r); } /* 角の丸みを上の採用タイルと揃える */
  .cta .h-big { font-size: clamp(72px, 7vw, 100px); }
  /* フッターは「ロゴ・キャッチ｜会社情報｜メニュー」の3列。メニューは縦3行×2列（以前は左の列の高さまで伸びて、行の間が120pxも空いていた） */
  .ft-top { grid-template-columns: 1fr 1fr auto; column-gap: 56px; align-items: start; }
  .ft-nav { grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 48px; row-gap: 12px; }
  .ft-mark { font-size: 22vw; }
  .pg-hero { padding: 160px var(--pad) 72px; }
  .pg-hero h1 { font-size: clamp(88px, 8.3vw, 120px); }
  .pg-hero .rings { left: 80%; top: 50%; }
  .pg-hero .lead { max-width: 640px; }
  .why-eq { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .vals { grid-template-columns: repeat(6, 1fr); }
  .vals li { grid-column: span 2; }
  .vals li:nth-child(4) { grid-column: 2 / span 2; }
  .evo { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .card { flex-direction: column; align-items: flex-start; padding: 32px 26px; min-height: 220px; justify-content: space-between; }
  .prod { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .prod .ph { aspect-ratio: auto; min-height: 520px; }
  .prod .body { padding: 40px 28px; }
  .prod-name { font-size: clamp(52px, 4.6vw, 66px); }
  .tabs { margin-inline: 0; padding-inline: 0; }
  .feat { grid-template-columns: 1fr; }
  .rec-photos { grid-template-columns: 2fr 1fr; }
  .rec-photos .ph:nth-child(1) { grid-column: auto; grid-row: 1 / span 2; aspect-ratio: auto; }
  .jobs { grid-template-columns: 1fr 1fr; }
  .contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; }
  .form-wrap { padding: 48px; }
  .co { padding: 16px 40px; }
  .co dl { grid-template-columns: 200px 1fr; }
  .co dt { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .co dd { padding: 22px 0; }
  .co dt:nth-last-child(2) { border-bottom: 0; }
}

/* medier ロゴ */
.logo img { height: 40px; width: auto; display: block; }
/* フッター: 大きいロゴ（背景）を上に置き、その下に会社情報・メニューを並べる。ロゴは下へ消えていくので、消えきるあたりから情報を始める */
.ft-mark { display: block; width: 100%; max-width: 800px; margin: 0 auto; font-size: 0; line-height: 0; opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 88%); mask-image: linear-gradient(180deg, #000 20%, transparent 88%); }
.ft-mark img { display: block; width: 100%; height: auto; filter: grayscale(1) brightness(1.6); }
.ft-info { position: relative; z-index: 1; margin-top: -4%; } /* ロゴの高さ≒幅の56%なので、-4%でロゴの上から9割あたり（ほぼ透明になった所）から情報が始まる */
.ft-logo img { height: 48px; }
.ft-addr { font-size: 13px; color: var(--mute); line-height: 1.9; }
.ft-lbl { margin-bottom: 14px; } /* 「Company」「Menu」の小見出し */
.ft-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .logo img { height: 40px; } .ft-logo img { height: 64px; } }

/* トップの採用タイルとお問い合わせタイル: 同じ箱に入れて高さを大きい方に揃え、中身は上下中央 */
.tile-pair { display: grid; grid-auto-rows: 1fr; gap: 32px; }
.tile-pair > .rec, .tile-pair > .cta { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (min-width: 900px) { .tile-pair { gap: 40px; } }

/* 改行をこのかたまり単位でだけ許す（スマホで採用タイルの「ます。」だけが次の行に落ちるのを防ぐ） */
.nw { display: inline-block; }

/* 矢印アイコン（SVG・Safariの絵文字化回避） */
.ic { width: 14px; height: 14px; display: block; flex: none; }
.btn .ar .ic, .jobs .ar .ic { width: 13px; height: 13px; }
.hd-cta .ar .ic { width: 12px; height: 12px; }
.flow em { display: grid; place-items: center; }
.flow em .ic { width: 12px; height: 12px; }
.why-arrow { display: grid; place-items: center; }
.why-arrow .ic { width: 20px; height: 20px; }
.pager span .ic { width: 14px; height: 14px; }
@media (min-width: 900px) { .why-arrow .ic { transform: rotate(-90deg); } }

/* ============ 静的サイト化に伴う追加 ============ */
.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; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }
.news li[hidden] { display: none; }

/* フォーム */
fieldset.fld { border: 0; min-width: 0; }
.fld-lbl { padding: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 13px; color: #ffb4a8; line-height: 1.8; }
.form-msg:empty { display: none; }
.agree a, .tel, .policy a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, var(--acc) 70%, transparent); }
.agree a:hover, .tel:hover, .policy a:hover { color: #dfe4ff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* 地図（暗いトーンに寄せる） */
.map { margin-top: 12px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }

/* 採用写真 */
.rec-photos .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* プライバシーポリシー */
.policy { padding: 28px 22px; font-size: 14px; color: #c3c7d4; line-height: 2; }
.policy h2 { font-size: 17px; color: var(--fg); margin: 36px 0 8px; letter-spacing: .04em; }
.policy ul { padding-left: 1.4em; }
.policy .addr { margin-top: 12px; padding: 16px 20px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.policy .date { margin-top: 36px; font-size: 12px; color: var(--mute); text-align: right; }

/* フッターのリンク */
.ft-addr a:hover, .ft-bottom a:hover, .ft-nav a:hover { color: var(--fg); }

@media (min-width: 900px) {
  .policy { padding: 56px 64px; max-width: 920px; }
}

/* 動きを減らす設定の人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-now { opacity: 1; transform: none; filter: none; }
}

/* 種別チップ: 隠したラジオが .fld input の width:100% を拾ってスマホで横にはみ出すのを防ぐ */
.chips label { position: relative; }
.chips input { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; left: 0; top: 0; }
.chips label:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 3px; }
.fb-visual img { height: auto; } /* img の height 属性が効いて縦に伸びるのを防ぐ */
