:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --bg: #000;
  --ink: #f2f2f0;
  --ink-2: #a2a2a2;
  --ink-3: #5c5c5c;
  --hair: rgba(255,255,255,0.13);
  --gold: #d9c08a;
  --dot: 190, 210, 235;
  --dot-hot: 236, 206, 150;
  --line: 100, 118, 170;
  --en: "Inter", "Zen Kaku Gothic New", system-ui, sans-serif;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-weight: 400; font-size: 15px; line-height: 2.1; letter-spacing: 0.06em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
#sphere { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, footer { position: relative; z-index: 2; }

/* 字間の広い英字 */
.caps { font-family: var(--en); font-weight: 300; text-transform: uppercase; letter-spacing: 0.5em; }
.label { font-family: var(--en); font-size: 11px; font-weight: 400; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-3); }
.label.gold { color: var(--gold); }

/* ---- 上部ナビ ---- */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 56px); transition: background .4s; }
.nav.solid { background: var(--nav-bg); backdrop-filter: blur(12px); }
.brand { font-family: var(--en); font-weight: 400; font-size: 15px; letter-spacing: 0.6em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); font-family: var(--en); font-size: 10px; font-weight: 400; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-2); }
.menu a { transition: color .3s; } .menu a:hover, .menu a.on { color: var(--ink); }
.menu a.on::before { content: "● "; color: var(--gold); font-size: 7px; vertical-align: 2px; }
.nav .contact-link { font-family: var(--en); font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase; padding: 13px 22px 13px 26px; border: 1px solid var(--ink); transition: all .3s; }
.nav .contact-link:hover { background: var(--ink); color: var(--bg); }
.burger { display: none; background: none; border: 1px solid var(--hair); color: var(--ink); cursor: pointer; font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; padding: 12px 14px 12px 18px; }
@media (max-width: 1080px) {
  .menu, .nav .contact-link { display: none; } .burger { display: block; }
  .nav.open { background: var(--bg); }
  .nav.open .menu { display: flex; flex-direction: column; align-items: flex-start; position: fixed; inset: calc(84px + env(safe-area-inset-top,0px)) 0 0; padding: 48px clamp(20px,4vw,56px); background: var(--bg); gap: 30px; font-size: 14px; }
}

/* ---- 左の目次（参考サイトのインデックス） ---- */
.index { position: fixed; left: clamp(20px, 4vw, 56px); top: 50%; transform: translateY(-50%); z-index: 10; display: flex; flex-direction: column; gap: 14px; font-size: 11px; letter-spacing: 0.12em; }
.index a { display: flex; align-items: center; gap: 12px; color: var(--ink-3); transition: color .3s; }
.index a::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s; }
.index a.on { color: var(--ink); } .index a.on::before { width: 32px; background: var(--gold); }
.index a:hover { color: var(--ink-2); }
@media (max-width: 1280px) { .index { display: none; } }

.backtop { position: fixed; right: clamp(20px, 4vw, 56px); bottom: calc(28px + env(safe-area-inset-bottom,0px)); z-index: 10; font-family: var(--en); font-size: 9px; letter-spacing: 0.42em; color: var(--ink-3); writing-mode: vertical-rl; opacity: 0; pointer-events: none; transition: opacity .4s; }
.backtop.show { opacity: 1; pointer-events: auto; }
.backtop:hover { color: var(--ink); }

/* ---- 共通 ---- */
.sec { padding: clamp(110px, 13vw, 190px) clamp(24px, 7vw, 120px); }
.wrap { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 820px; margin: 0 auto; }
.shead { margin-bottom: clamp(56px, 7vw, 96px); }
.shead .jp { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.shead h2 { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 48px); letter-spacing: 0.55em; line-height: 1.3; margin: 18px 0 0; }
.shead p { color: var(--ink-2); max-width: 32em; margin: 28px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--en); font-size: 11px; font-weight: 400; letter-spacing: 0.5em; text-transform: uppercase; padding: 20px 40px 20px 46px; border: 1px solid var(--ink); transition: all .35s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.fill { background: var(--ink); color: var(--bg); }
.btn.fill:hover { background: transparent; color: var(--ink); }

/* ---- トップ：ヒーロー ---- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 0 24px clamp(48px, 8vh, 96px); }
.hero-copy { will-change: opacity, transform; }
.hero .word { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(26px, 4.6vw, 58px); letter-spacing: 0.62em; margin: 0 -0.62em 0 0; line-height: 1.2; }
.hero h1 { font-weight: 500; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: 0.32em; margin: 26px 0 0; }
.hero .sub { color: var(--ink-3); font-family: var(--en); font-size: 10px; letter-spacing: 0.44em; text-transform: uppercase; margin-top: 18px; }
.scroll-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 1px; height: clamp(28px, 6vh, 64px); background: linear-gradient(transparent, var(--ink-3)); }
.spacer { height: 70svh; }

/* ---- 爆発の先のコピー ---- */
.statement { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.statement h2 { font-weight: 500; font-size: clamp(24px, 3.4vw, 46px); line-height: 1.8; letter-spacing: 0.18em; margin: 36px 0 0; }
.statement p { color: var(--ink-2); line-height: 2.4; margin: 40px 0 0; }

/* ---- 事業一覧（大きな番号） ---- */
.rows { border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: clamp(90px, 13vw, 180px) 1fr 40px; gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(36px, 4.4vw, 60px) 0; border-bottom: 1px solid var(--hair); position: relative; }
.row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--ink); transition: width .8s cubic-bezier(.2,.7,.2,1); }
a.row:hover::after { width: 100%; }
.row .n { font-family: var(--en); font-weight: 200; font-size: clamp(56px, 8vw, 112px); line-height: 0.85; color: transparent; -webkit-text-stroke: 1px var(--ink-3); transition: -webkit-text-stroke-color .4s; }
a.row:hover .n { -webkit-text-stroke-color: var(--gold); }
.row h3 { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(16px, 1.9vw, 24px); letter-spacing: 0.48em; margin: 0; }
.row h3 small { display: block; font-family: var(--jp); text-transform: none; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; color: var(--gold); margin: 10px 0 0; }
.row p { color: var(--ink-2); font-size: 13px; margin: 14px 0 0; max-width: 40em; }
.row .arr { color: var(--ink-3); font-family: var(--en); transition: transform .4s, color .4s; justify-self: end; }
a.row:hover .arr { color: var(--ink); transform: translateX(8px); }
@media (max-width: 700px) { .row { grid-template-columns: 1fr 24px; } .row .n { grid-column: 1 / -1; font-size: 56px; } }

/* ---- キーワードの並び（PURPOSEのような） ---- */
.words { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.words div { border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.words b { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: 0.32em; line-height: 1.7; }
.words span { font-size: 11px; color: var(--ink-3); letter-spacing: 0.14em; }
@media (max-width: 860px) { .words { grid-template-columns: 1fr 1fr; } }

/* ---- ミッション・引用 ---- */
.mission { text-align: center; }
.mission h2 { font-weight: 500; font-size: clamp(22px, 3vw, 40px); line-height: 1.8; letter-spacing: 0.2em; margin: 0 0 40px; }
.mission p { color: var(--ink-2); max-width: 34em; margin: 0 auto; line-height: 2.4; }
.quote { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.quote blockquote { margin: 0; font-weight: 500; font-size: clamp(18px, 2vw, 26px); line-height: 2.1; letter-spacing: 0.14em; }
.quote .who { margin-top: 32px; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }

.profile { display: grid; grid-template-columns: 150px 1fr; margin: 0; border-top: 1px solid var(--hair); }
.profile dt, .profile dd { padding: 20px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.profile dt { font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; color: var(--ink-3); padding-top: 25px; }
.profile dd { font-size: 14px; }
@media (max-width: 560px) { .profile { grid-template-columns: 1fr; } .profile dt { border-bottom: 0; padding-bottom: 0; } }

/* ---- 下層ヒーロー ---- */
.page-hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 140px clamp(24px, 7vw, 120px) clamp(64px, 10vh, 120px); }
.page-hero .inner { max-width: 1120px; width: 100%; margin: 0 auto; }
.page-hero .crumb { font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; color: var(--ink-3); text-transform: uppercase; }
.page-hero .crumb a:hover { color: var(--ink); }
.page-hero h1 { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(30px, 5.6vw, 76px); letter-spacing: 0.42em; line-height: 1.25; margin: 30px 0 22px; }
.page-hero .jp { font-size: clamp(14px, 1.4vw, 17px); font-weight: 500; letter-spacing: 0.26em; color: var(--gold); }
.page-hero .lead { max-width: 30em; margin: 34px 0 0; color: var(--ink-2); line-height: 2.3; }
@media (max-width: 900px) { .page-hero { padding-top: 58svh; } }

/* ---- 章 ---- */
.intro { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 10vw, 140px); }
.intro p.big { font-weight: 500; font-size: clamp(22px, 2.8vw, 38px); line-height: 1.9; letter-spacing: 0.16em; margin: 30px 0 0; }
.intro p.big em { font-style: normal; color: var(--gold); }
.chapter { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(36px, 6vw, 100px); padding: clamp(80px, 9vw, 130px) 0; border-top: 1px solid var(--hair); }
.chapter .head .n { font-family: var(--en); font-weight: 200; font-size: clamp(48px, 5vw, 72px); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--ink-3); }
.chapter .head h2 { font-weight: 500; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.8; letter-spacing: 0.16em; margin: 28px 0 10px; }
.chapter .head .en { font-family: var(--en); font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-3); }
.chapter .body p { color: var(--ink-2); margin: 0 0 1.5em; }
.chapter .body h3 { font-weight: 500; font-size: 16px; letter-spacing: 0.12em; margin: 2.2em 0 0.8em; }
.chapter .body h3:first-child { margin-top: 0; }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; gap: 24px; } }

.ph { color: var(--ink-3); font-size: 13px; padding-left: 18px; border-left: 1px solid var(--gold); margin: 0 0 1.5em; }
.ph::before { content: "入稿待ち — "; color: var(--gold); }
.ph-img { aspect-ratio: 16 / 10; border: 1px solid var(--hair); display: grid; place-items: center; margin: 0 0 1.5em; font-family: var(--en); font-size: 10px; letter-spacing: 0.42em; color: var(--ink-3); }

.feats { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin: 8px 0 1.5em; }
.feats > div { background: var(--bg); padding: clamp(28px, 3vw, 44px); }
.feats .k { font-family: var(--en); font-size: 11px; letter-spacing: 0.3em; color: var(--gold); }
.feats h4 { font-weight: 500; font-size: 16px; letter-spacing: 0.12em; margin: 16px 0 10px; }
.feats p { color: var(--ink-2); font-size: 13px; margin: 0; }
.feats.big h4 { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: 0.4em; margin: 18px 0 6px; }
.feats.big .sub { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 16px; }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr !important; } }

.bullets { list-style: none; padding: 0; margin: 0 0 1.5em; border-top: 1px solid var(--hair); }
.bullets li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); font-size: 14px; }
.bullets li b { color: var(--ink); font-weight: 500; letter-spacing: 0.12em; }
@media (max-width: 560px) { .bullets li { grid-template-columns: 1fr; gap: 4px; } }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.5em; }
.tags li { font-size: 12px; letter-spacing: 0.14em; padding: 8px 18px; border: 1px solid var(--hair); color: var(--ink-2); }
.list { border-top: 1px solid var(--hair); margin: 8px 0 1.5em; }
.list a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.list a b { font-family: var(--en); font-weight: 300; text-transform: uppercase; letter-spacing: 0.4em; font-size: 14px; }
.list a small { color: var(--ink-2); font-size: 12px; flex: 1; }
.list a::after { content: "→"; color: var(--ink-3); }
.list a:hover b { color: var(--gold); }

.steps-sec { padding: 0 clamp(24px, 7vw, 120px) clamp(100px, 12vw, 170px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.steps div { border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: clamp(24px, 2.6vw, 36px); }
.steps .n { font-family: var(--en); font-weight: 200; font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.steps h4 { font-weight: 500; font-size: 15px; letter-spacing: 0.12em; margin: 24px 0 10px; }
.steps p { color: var(--ink-2); font-size: 13px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); margin-bottom: 1.5em; }
.team .ph-img { aspect-ratio: 3 / 4; margin-bottom: 16px; }
.team h4 { font-weight: 500; font-size: 15px; margin: 0; }
.team p { color: var(--ink-3); font-family: var(--en); font-size: 10px; letter-spacing: 0.3em; margin: 4px 0 0; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin-bottom: 1.5em; }
.works > div { background: var(--bg); padding: 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.works .cat { font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; color: var(--gold); }
.works h4 { font-weight: 500; font-size: 15px; margin: 20px 0 8px; }
.works p { color: var(--ink-3); font-size: 12px; margin: 0; }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; } }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.partners div { border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); aspect-ratio: 2/1; display: grid; place-items: center; font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; color: var(--ink-3); }
@media (max-width: 700px) { .partners { grid-template-columns: 1fr 1fr; } }
.map { width: 100%; aspect-ratio: 16/9; border: 0; filter: grayscale(1) invert(0.92) contrast(0.85); margin-top: 24px; }
.note { font-size: 12px; color: var(--ink-3); }

/* ---- CTA ---- */
.cta-band { text-align: center; padding: clamp(110px, 13vw, 190px) clamp(24px, 7vw, 120px); border-top: 1px solid var(--hair); position: relative; z-index: 2; }
.cta-band h2 { font-weight: 500; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.2em; line-height: 2; margin: 30px 0 48px; }

/* ---- フォーム ---- */
.form { display: grid; gap: 36px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 700px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 10px; font-family: var(--en); font-size: 10px; letter-spacing: 0.36em; color: var(--ink-3); }
.form input, .form select, .form textarea { font-family: var(--jp); font-size: 15px; letter-spacing: 0.04em; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.22); padding: 10px 0 12px; outline: none; width: 100%; border-radius: 0; }
.form select option { background: var(--bg); }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form .agree { display: flex; align-items: center; gap: 12px; font-family: var(--jp); font-size: 13px; letter-spacing: 0.06em; color: var(--ink-2); }
.form .agree input { width: auto; }
.form .agree a { border-bottom: 1px solid var(--ink-2); }
.form button { justify-self: start; cursor: pointer; }
.legal h2 { font-weight: 500; font-size: 17px; letter-spacing: 0.1em; margin: 56px 0 16px; }
.legal h2:first-child { margin-top: 0; }

/* ---- フッター ---- */
footer { padding: clamp(90px, 11vw, 150px) clamp(24px, 7vw, 120px) 44px; border-top: 1px solid var(--hair); background: var(--bg); font-size: 12px; color: var(--ink-2); }
.foot { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.foot .big { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); letter-spacing: 0.5em; line-height: 1.8; color: var(--ink); margin: 0 0 28px; }
.foot h4 { font-family: var(--en); font-size: 10px; font-weight: 400; letter-spacing: 0.42em; color: var(--ink-3); margin: 0 0 20px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot a:hover { color: var(--ink); }
.copy { max-width: 1120px; margin: 90px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--en); font-size: 9px; letter-spacing: 0.42em; color: var(--ink-3); text-transform: uppercase; }
@media (max-width: 960px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
/* 左の目次が出る幅では、本文を右に逃がして重ならないように */
@media (min-width: 1281px) {
  .sec, .page-hero, .steps-sec { padding-left: 250px; padding-right: clamp(60px, 7vw, 120px); }
}
.shead p { max-width: 36em; }

/* ================= WORLDS（事業ごとの世界観） ================= */
body { transition: background .6s, color .6s; }
body[data-world="signal"] { --bg: #f3f2ee; --ink: #0c0c0e; --ink-2: #4f5058; --ink-3: #93949b; --hair: rgba(12,12,14,0.12); --gold: #2f5bff; background: #f3f2ee; color: #0c0c0e; }
body[data-world="machine"] { --bg: #0b0d0e; --ink: #e9ebe6; --ink-2: #9ba09a; --ink-3: #5b605b; --hair: rgba(233,235,230,0.12); --gold: #ff5b1f; background: #0b0d0e; }
body[data-world="stage"] { --bg: #0a0410; --ink: #fff; --ink-2: #c4b8d6; --ink-3: #75688a; --hair: rgba(255,255,255,0.14); --gold: #ff3da5; background: #0a0410; }
body[data-world="signal"] .nav.solid { background: rgba(243,242,238,0.85); }
body[data-world="machine"] .nav.solid { background: rgba(11,13,14,0.85); }
body[data-world="stage"] .nav.solid { background: rgba(10,4,16,0.8); }
body[data-world="signal"] .nav .contact-link:hover, body[data-world="signal"] .btn:hover { color: #f3f2ee; }
body[data-world="signal"] .btn.fill { color: #f3f2ee; }
body[data-world="signal"] .feats > div, body[data-world="signal"] .works > div { background: #f3f2ee; }
body[data-world="machine"] .feats > div { background: #0b0d0e; }
body[data-world="stage"] .feats > div { background: #0a0410; }
body[data-world="signal"] .chapter .head .n, body[data-world="signal"] .steps .n { -webkit-text-stroke-color: #0c0c0e; }
footer { background: #000 !important; color: #a2a2a2; --ink: #f2f2f0; --ink-3: #5c5c5c; --hair: rgba(255,255,255,0.13); }
footer .big { color: #f2f2f0 !important; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* ---- 共通：ビジュアルヒーロー ---- */
.vhero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 120px clamp(24px, 6vw, 96px) 80px; overflow: hidden; }
.vhero .copy-col { position: relative; z-index: 2; }
.vhero .crumb { font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; color: var(--ink-3); text-transform: uppercase; }
.vhero h1 { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 64px); letter-spacing: 0.32em; line-height: 1.2; margin: 28px 0 22px; }
.vhero .jp { font-size: clamp(14px, 1.3vw, 16px); font-weight: 500; letter-spacing: 0.22em; color: var(--gold); }
.vhero .lead { max-width: 30em; margin: 30px 0 0; color: var(--ink-2); line-height: 2.2; }
.vhero .visual { position: relative; z-index: 1; height: min(72svh, 640px); }
@media (max-width: 960px) { .vhero { grid-template-columns: 1fr; padding-top: 110px; } .vhero .visual { height: 56svh; order: -1; } }
@media (min-width: 1281px) { .vhero { padding-left: 250px; } }

/* ================= SIGNAL：AIマーケティング ================= */
.chatmock { position: absolute; inset: 0; margin: auto; width: min(100%, 520px); height: fit-content; background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(20,30,80,0.28), 0 0 0 1px rgba(12,12,14,0.06); padding: 22px 22px 18px; font-size: 13px; line-height: 1.85; letter-spacing: 0.02em; color: #1a1a1f; }
.chatmock .bar { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,0.06); margin-bottom: 16px; font-family: var(--en); font-size: 11px; letter-spacing: 0.08em; color: #8a8b93; }
.chatmock .bar i { width: 8px; height: 8px; border-radius: 50%; background: #e4e4e8; display: inline-block; }
.chatmock .bar span { margin-left: auto; }
.chatmock .q { margin-left: auto; width: fit-content; max-width: 80%; background: #f0f0f3; border-radius: 16px 16px 4px 16px; padding: 10px 16px; min-height: 42px; }
.chatmock .a { margin-top: 16px; min-height: 120px; }
.chatmock .a b { color: #2f5bff; font-weight: 500; }
.chatmock .cite { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 9px; background: #e8edff; color: #2f5bff; font-size: 10px; font-family: var(--en); margin: 0 2px; vertical-align: 1px; }
.chatmock .srcs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; opacity: 0; transform: translateY(6px); transition: all .5s; }
.chatmock .srcs.on { opacity: 1; transform: none; }
.chatmock .srcs span { font-family: var(--en); font-size: 10.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.08); color: #6b6c74; }
.chatmock .srcs span.me { border-color: #2f5bff; color: #2f5bff; background: #f3f6ff; }
.chatmock .ad { margin-top: 16px; border-radius: 14px; border: 1px solid rgba(0,0,0,0.07); padding: 14px 16px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; opacity: 0; transform: translateY(10px); transition: all .6s; }
.chatmock .ad.on { opacity: 1; transform: none; }
.chatmock .ad .logo { width: 40px; height: 40px; border-radius: 10px; background: #0c0c0e; color: #fff; display: grid; place-items: center; font-family: var(--en); font-size: 11px; letter-spacing: 0.1em; }
.chatmock .ad small { display: block; font-family: var(--en); font-size: 9.5px; letter-spacing: 0.14em; color: #9a9ba2; text-transform: uppercase; }
.chatmock .ad .go { font-family: var(--en); font-size: 11px; background: #0c0c0e; color: #fff; padding: 8px 14px; border-radius: 999px; }
.chatmock .agent { margin-top: 12px; font-family: var(--en); font-size: 11px; color: #16a34a; display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .5s; }
.chatmock .agent.on { opacity: 1; }
.chatmock .agent::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #16a34a; box-shadow: inset 0 0 0 3px #dcfce7; }
.caret::after { content: "▍"; color: #2f5bff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sig-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(47,91,255,0.18) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%); }
.tag-float { position: absolute; font-family: var(--en); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; background: #fff; border-radius: 999px; padding: 8px 14px; box-shadow: 0 10px 30px -12px rgba(20,30,80,0.3); color: #2f5bff; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 1.5em; }
.funnel > div { position: relative; padding: clamp(28px, 3vw, 44px); background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px rgba(12,12,14,0.08); }
.funnel > div + div { margin-left: -1px; }
.funnel > div:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #2f5bff; color: #fff; display: grid; place-items: center; font-family: var(--en); font-size: 13px; z-index: 2; }
.funnel .step { font-family: var(--en); font-size: 11px; letter-spacing: 0.3em; color: #2f5bff; }
.funnel h4 { font-family: var(--en); font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: 0.06em; margin: 14px 0 4px; }
.funnel .verb { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; margin-bottom: 14px; }
.funnel p { color: var(--ink-2); font-size: 13px; margin: 0; }
@media (max-width: 860px) { .funnel { grid-template-columns: 1fr; } .funnel > div + div { margin: -1px 0 0; } .funnel > div:not(:last-child)::after { right: 50%; top: auto; bottom: -14px; transform: translateX(50%) rotate(90deg); } }
.cmp { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 1.5em; }
.cmp-wrap { overflow-x: auto; }
.cmp th, .cmp td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.cmp thead th { font-family: var(--en); font-weight: 400; font-size: 11px; letter-spacing: 0.24em; color: var(--ink-3); text-transform: uppercase; }
.cmp thead th.hi { color: #2f5bff; }
.cmp tbody th { font-weight: 500; white-space: nowrap; }
.cmp td { color: var(--ink-2); min-width: 160px; }
.cmp td.hi { color: var(--ink); background: rgba(47,91,255,0.05); }

/* ================= MACHINE：ロボティクス ================= */
body[data-world="machine"] main::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(233,235,230,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(233,235,230,0.035) 1px, transparent 1px); background-size: 40px 40px; }
.robot-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud { position: absolute; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.12em; color: var(--ink-2); line-height: 1.7; pointer-events: none; }
.hud b { color: var(--gold); font-weight: 400; }
.hud.tl { left: 0; top: 4%; } .hud.br { right: 0; bottom: 4%; text-align: right; } .hud.tr { right: 0; top: 4%; text-align: right; }
.bracket { position: absolute; inset: 2% 6%; pointer-events: none; }
.bracket::before, .bracket::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--gold); }
.bracket::before { left: 0; top: 0; border-width: 1px 0 0 1px; } .bracket::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.spec { width: 100%; border-collapse: collapse; font-family: "IBM Plex Mono", monospace; font-size: 12px; margin-bottom: 1.5em; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px dashed var(--hair); }
.spec th { width: 34%; font-weight: 400; color: var(--ink-3); letter-spacing: 0.14em; }
.spec td { color: var(--ink-2); }
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 1.5em; position: relative; }
.modules > div { border: 1px solid var(--hair); padding: 22px 22px 20px; position: relative; background: var(--panel); }
.modules > div::before { content: attr(data-k); position: absolute; top: -9px; left: 14px; padding: 0 8px; background: var(--bg); font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--gold); }
.modules h4 { font-weight: 500; font-size: 15px; margin: 4px 0 6px; letter-spacing: 0.08em; }
.modules p { color: var(--ink-2); font-size: 12.5px; margin: 0; }
.modules .core { grid-column: 1 / -1; text-align: center; border-color: var(--gold); }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); margin-bottom: 1.5em; }
.tiles > div { border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 22px 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s; }
.tiles > div:hover { background: rgba(255,91,31,0.06); }
.tiles small { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: var(--gold); letter-spacing: 0.14em; }
.tiles b { font-weight: 500; font-size: 14px; letter-spacing: 0.1em; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }
body[data-world="machine"] .chapter .head .n { font-family: "IBM Plex Mono", monospace; font-weight: 300; -webkit-text-stroke: 0; color: var(--gold); font-size: 14px; letter-spacing: 0.2em; }
body[data-world="machine"] .chapter .head .n::before { content: "MODULE / "; color: var(--ink-3); }
body[data-world="machine"] .label, body[data-world="machine"] .shead .jp { font-family: "IBM Plex Mono", monospace; }

/* ================= STAGE：AIエンタメIP ================= */
.aurora { position: absolute; inset: -10%; width: 120%; height: 120%; filter: blur(40px) saturate(1.2); opacity: 0.9; }
.stage-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px clamp(24px, 6vw, 96px) 0; overflow: hidden; }
.stage-hero .grain { position: absolute; inset: 0; opacity: 0.12; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
.stage-hero .copy-col { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vh, 72px); }
.stage-hero .crumb { font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.stage-hero h1 { font-family: var(--en); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(52px, 11vw, 190px); line-height: 0.86; letter-spacing: -0.03em; margin: 22px 0 26px; }
.stage-hero h1 span { display: block; -webkit-text-stroke: 1.5px #fff; color: transparent; }
.stage-hero .jp { font-weight: 500; letter-spacing: 0.24em; }
.stage-hero .lead { max-width: 30em; color: rgba(255,255,255,0.78); margin: 18px 0 0; }
.marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); padding: 18px 0; white-space: nowrap; margin: 0 calc(-1 * clamp(24px, 6vw, 96px)); background: rgba(10,4,16,0.35); backdrop-filter: blur(6px); }
.marquee div { display: inline-block; animation: mq 28s linear infinite; font-family: var(--en); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(18px, 2.4vw, 30px); letter-spacing: 0.02em; }
.marquee div span { margin: 0 28px; } .marquee div i { font-style: normal; color: #ff3da5; }
@keyframes mq { to { transform: translateX(-50%); } }
.artists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 1.5em; }
.artists > div { aspect-ratio: 3 / 4; border-radius: 18px; position: relative; overflow: hidden; background: linear-gradient(160deg, #3b1260, #12051f 60%); }
.artists > div::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,61,165,0.55), transparent 55%), radial-gradient(circle at 80% 80%, rgba(139,92,255,0.5), transparent 55%); }
.artists > div:nth-child(2)::before { background: radial-gradient(circle at 70% 25%, rgba(0,220,255,0.45), transparent 55%), radial-gradient(circle at 20% 80%, rgba(255,61,165,0.45), transparent 55%); }
.artists > div:nth-child(3)::before { background: radial-gradient(circle at 50% 30%, rgba(255,190,60,0.45), transparent 55%), radial-gradient(circle at 50% 90%, rgba(139,92,255,0.55), transparent 55%); }
.artists .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.artists .cap b { display: block; font-family: var(--en); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; }
.artists .cap small { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 0.12em; }
@media (max-width: 760px) { .artists { grid-template-columns: 1fr 1fr; } }
.orbit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.5em; }
.orbit > div { border-radius: 999px; border: 1px solid var(--hair); padding: 14px 18px; text-align: center; font-size: 13px; letter-spacing: 0.12em; transition: all .3s; }
.orbit > div:hover { border-color: #ff3da5; background: rgba(255,61,165,0.08); }
.orbit .core { grid-column: 1 / -1; background: linear-gradient(90deg, #ff3da5, #8b5cff); border: 0; font-family: var(--en); font-weight: 800; font-style: italic; font-size: 18px; letter-spacing: 0.04em; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pills a { border-radius: 999px; padding: 12px 22px; border: 1px solid var(--hair); font-family: var(--en); font-size: 12px; letter-spacing: 0.16em; transition: all .3s; }
.pills a:hover { background: #ff3da5; border-color: #ff3da5; color: #fff; }
body[data-world="stage"] .chapter .head .n { font-weight: 800; font-style: italic; -webkit-text-stroke: 1px #ff3da5; }
body[data-world="stage"] .chapter .head h2 { font-weight: 500; }

/* ================= CORE：受託開発の構造図 ================= */
.stack { display: grid; gap: 8px; margin: 8px 0 1.5em; position: relative; padding-right: 54px; }
.stack > div { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 16px; border: 1px solid var(--hair); padding: 18px 20px; background: var(--panel); transition: border-color .3s, transform .4s; }
.stack > div:hover { border-color: var(--gold); transform: translateX(6px); }
.stack b { font-family: var(--en); font-weight: 300; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.stack span { font-size: 13px; color: var(--ink-2); }
.stack span em { font-style: normal; color: var(--ink); }
.stack .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stack .chips i { font-style: normal; font-family: var(--en); font-size: 11px; padding: 4px 10px; border: 1px solid var(--hair); color: var(--ink-2); }
.stack .chips i.on { border-color: var(--gold); color: var(--gold); }
.stack::after { content: "YOUR ENVIRONMENT — データは社内に留まる"; position: absolute; right: 0; top: 0; bottom: 0; width: 38px; border: 1px solid var(--gold); border-left: 0; writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: 0.24em; color: var(--gold); }
@media (max-width: 600px) { .stack > div { grid-template-columns: 1fr; gap: 8px; } }

/* ================= ABOUT：地球儀 ================= */
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ================= HOME：事業パネル ================= */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { position: relative; min-height: 360px; border-radius: 6px; overflow: hidden; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.panel:hover { transform: translateY(-6px); }
.panel .art { position: absolute; inset: 0; z-index: -1; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.panel:hover .art { transform: scale(1.06); }
.panel .top { display: flex; justify-content: space-between; font-family: var(--en); font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; }
.panel h3 { font-family: var(--en); font-weight: 300; text-transform: uppercase; letter-spacing: 0.3em; font-size: clamp(20px, 2.2vw, 30px); margin: 0 0 8px; }
.panel .jp { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; margin-bottom: 14px; }
.panel p { font-size: 13px; margin: 0; max-width: 28em; opacity: 0.78; }
.panel.core { background: #050505; color: #f2f2f0; border: 1px solid rgba(255,255,255,0.1); }
.panel.core .art { background: radial-gradient(circle at 75% 35%, rgba(236,206,150,0.22), transparent 40%), radial-gradient(rgba(236,206,150,0.5) 1px, transparent 1.2px) 0 0 / 14px 14px; -webkit-mask-image: radial-gradient(circle at 75% 35%, #000 0 30%, transparent 55%); mask-image: radial-gradient(circle at 75% 35%, #000 0 30%, transparent 55%); }
.panel.core .jp { color: #d9c08a; }
.panel.signal { background: #f3f2ee; color: #0c0c0e; }
.panel.signal .art { background: radial-gradient(rgba(47,91,255,0.25) 1px, transparent 1.2px) 0 0 / 18px 18px; }
.panel.signal .art::after { content: "AIの回答に、あなたの会社を。"; position: absolute; right: 8%; top: 22%; background: #fff; border-radius: 16px 16px 4px 16px; padding: 12px 18px; font-size: 12px; box-shadow: 0 20px 40px -18px rgba(20,30,80,0.35); color: #0c0c0e; }
.panel.signal .jp { color: #2f5bff; }
.panel.machine { background: #0b0d0e; color: #e9ebe6; }
.panel.machine .art { background: linear-gradient(rgba(233,235,230,0.06) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(233,235,230,0.06) 1px, transparent 1px) 0 0 / 28px 28px, radial-gradient(circle at 78% 40%, rgba(255,91,31,0.35), transparent 35%); }
.panel.machine .art::after { content: ""; position: absolute; left: 0; right: 0; top: 40%; height: 1px; background: #ff5b1f; box-shadow: 0 0 18px #ff5b1f; animation: scan 4s ease-in-out infinite; }
@keyframes scan { 50% { top: 70%; } }
.panel.machine .jp { color: #ff5b1f; }
.panel.stage { background: #0a0410; color: #fff; }
.panel.stage .art { background: radial-gradient(circle at 20% 30%, #ff3da5, transparent 40%), radial-gradient(circle at 80% 70%, #8b5cff, transparent 45%), radial-gradient(circle at 70% 20%, #00d4ff, transparent 30%); filter: blur(30px); opacity: 0.75; }
.panel.stage h3 { font-weight: 800; font-style: italic; letter-spacing: 0; font-size: clamp(26px, 3vw, 40px); }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } .panel { min-height: 300px; } }

@media (min-width: 1281px) { .stage-hero { padding-left: 250px; } }
.vhero .visual[data-visual="globe"] { overflow: hidden; }

/* ===== HOME v6 ===== */
.vision { min-height: 100svh; display: flex; align-items: center; padding: 0 clamp(24px, 7vw, 120px); }
.vision .inner { max-width: 1120px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.vision h2 { font-weight: 500; font-size: clamp(28px, 4vw, 56px); line-height: 1.6; letter-spacing: 0.14em; margin: 28px 0 0; }
.vision h2 em { font-style: normal; color: var(--gold); }
.vision p { color: var(--ink-2); line-height: 2.3; margin: 0 0 1.4em; }
.vision p b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .vision .inner { grid-template-columns: 1fr; } }
@media (min-width: 1281px) { .vision { padding-left: 250px; } }

.layers { position: relative; display: grid; gap: 14px; padding-left: 36px; }
.layers::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--gold), rgba(217,192,138,0.15)); }
.layers::after { content: ""; position: absolute; left: 3px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: flow 4s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes flow { 0% { top: 10px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 16px); opacity: 0; } }
.layer { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 44px); border: 1px solid var(--hair); padding: clamp(26px, 3vw, 40px); position: relative; background: var(--panel); backdrop-filter: blur(6px); }
.layer::before { content: ""; position: absolute; left: -34px; top: 38px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); }
.layer .lh .tag { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.3em; color: #000; background: var(--gold); padding: 3px 10px 3px 13px; }
.layer .lh h3 { font-family: var(--en); font-weight: 300; text-transform: uppercase; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: 0.4em; margin: 20px 0 8px; }
.layer .lh p { color: var(--ink-2); font-size: 13px; margin: 0; }
.layer .items { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.layer .items > div { background: var(--bg); padding: 22px 20px; transition: background .3s; }
.layer .items > div:hover { background: var(--hover); }
.layer .items b { display: block; font-family: var(--en); font-weight: 400; font-size: 14px; letter-spacing: 0.14em; color: var(--ink); }
.layer .items small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--gold); margin: 6px 0 10px; }
.layer .items p { font-size: 12.5px; color: var(--ink-2); margin: 0; line-height: 1.9; }
.layer .items .star { position: relative; }
.layer .items .star::after { content: "ORIGINAL"; position: absolute; top: 14px; right: 14px; font-family: var(--en); font-size: 8.5px; letter-spacing: 0.24em; color: var(--gold); border: 1px solid var(--gold); padding: 2px 6px; }
@media (max-width: 1000px) { .layer { grid-template-columns: 1fr; } .layer .items { grid-template-columns: 1fr; } }

.oneteam { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; border: 1px solid var(--gold); }
.oneteam > div { padding: 18px 22px; font-size: 13px; letter-spacing: 0.12em; border-right: 1px solid var(--hair); }
.oneteam > div b { font-family: var(--en); font-weight: 300; letter-spacing: 0.3em; font-size: 11px; color: var(--gold); display: block; }
.oneteam > a { padding: 18px 26px; font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; background: var(--gold); color: #000; height: 100%; display: flex; align-items: center; }
@media (max-width: 860px) { .oneteam { grid-template-columns: 1fr; } .oneteam > div { border-right: 0; border-bottom: 1px solid var(--hair); } }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.why > div { background: var(--bg); padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px); }
.why .n { font-family: var(--en); font-weight: 200; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ink-3); }
.why h4 { font-weight: 500; font-size: 16px; letter-spacing: 0.1em; margin: 26px 0 12px; line-height: 1.7; }
.why p { color: var(--ink-2); font-size: 13px; margin: 0; }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

.flowline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 40px; border-top: 1px solid var(--hair); }
.flowline > div { padding: 22px 16px 0 0; position: relative; }
.flowline > div::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.flowline b { font-family: var(--en); font-weight: 300; font-size: 11px; letter-spacing: 0.32em; color: var(--gold); text-transform: uppercase; }
.flowline p { font-size: 13px; margin: 8px 0 0; color: var(--ink); letter-spacing: 0.08em; }
@media (max-width: 760px) { .flowline { grid-template-columns: 1fr 1fr; row-gap: 24px; } }

.mainbiz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.mainbiz .badge { display: inline-block; font-family: var(--en); font-size: 10px; letter-spacing: 0.4em; padding: 7px 12px 7px 16px; border: 1px solid var(--gold); color: var(--gold); text-transform: uppercase; }
.mainbiz h3 { font-weight: 500; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.6; letter-spacing: 0.12em; margin: 26px 0 20px; }
.mainbiz p { color: var(--ink-2); }
@media (max-width: 900px) { .mainbiz { grid-template-columns: 1fr; } }

.panels.v2 { grid-template-columns: repeat(3, 1fr); }
.panels.v2 .panel { min-height: 340px; }
@media (max-width: 960px) { .panels.v2 { grid-template-columns: 1fr; } }
.vision .inner { grid-template-columns: 1.25fr 1fr; }
.vision h2 { font-size: clamp(24px, 3.2vw, 46px); }
.mainbiz h3 { font-size: clamp(20px, 2.2vw, 30px); }
.layer { grid-template-columns: 210px 1fr; }
.layer .lh h3 { font-size: clamp(15px, 1.4vw, 19px); letter-spacing: 0.3em; }
.layer .items .star::after { top: -1px; right: -1px; transform: translateY(-50%); background: var(--bg); }
.layer .items .star { overflow: visible; }


/* ================= v7：白基調・読みやすさ優先 ================= */
:root {
  --bg: #f5f5f2; --ink: #111113; --ink-2: #3a3b40; --ink-3: #85868c; --hair: rgba(17,17,19,0.14);
  --gold: #55565c; --hover: #ecebe6; --panel: rgba(245,245,242,0.86); --nav-bg: rgba(245,245,242,0.88);
  --dot: 34, 34, 40; --dot-hot: 0, 145, 255; --line: 70, 72, 84;
  --vis-ink: 30,30,36; --vis-hot: 0,145,255;
  --mk: rgba(0,145,255,0.16); --light: #0091ff;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: light; }
body { font-size: 16px; line-height: 2; letter-spacing: 0.04em; background: var(--bg); color: var(--ink); }
body::before { background: var(--bg); }
.nav.open, .nav.open .menu { background: var(--bg); }
.menu { font-size: 11px; color: var(--ink-2); }
.brand { font-weight: 500; }
.nav .contact-link { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav .contact-link::after { content: " ▸"; }
.nav .contact-link:hover { background: transparent; color: var(--ink); }

/* 見出し：日本語を主役に、英字は小さなラベルへ */
.shead { display: flex; flex-direction: column; }
.shead h2 { order: -1; font-size: 12px; letter-spacing: 0.42em; color: var(--gold); margin: 0 0 18px; font-weight: 400; line-height: 1.6; }
.shead h2 br { display: none; }
.shead .jp { font-family: var(--jp); font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: 0.06em; color: var(--ink); line-height: 1.5; }
.shead p { font-size: 16px; color: var(--ink-2); max-width: 38em; line-height: 2.1; }
.label { font-size: 12px; }
.chapter .head h2 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; }
.chapter .head .en { font-size: 11px; color: var(--gold); }
.chapter .body p { color: var(--ink-2); font-size: 16px; line-height: 2.1; }
.chapter .body h3 { font-size: 18px; font-weight: 700; }
.chapter .head .n { -webkit-text-stroke-color: var(--ink-3); }
.intro p.big { font-weight: 700; letter-spacing: 0.08em; }
b.mk, .mk { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, var(--mk) 0); padding: 0 2px; }
.feats p, .why p, .steps p, .works p { font-size: 14px; color: var(--ink-2); }
.feats h4, .why h4, .steps h4 { font-size: 17px; font-weight: 700; }
.bullets li { font-size: 15px; color: var(--ink-2); }
.bullets li b { font-weight: 700; }
.ph { color: var(--ink-2); }

/* ボタン：黒い四角（参考画像のラベル風） */
.btn { background: var(--ink); color: var(--bg); border-color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 0.3em; padding: 18px 34px 18px 38px; }
.btn::after { content: "▸"; margin-left: 14px; letter-spacing: 0; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.fill { background: var(--ink); color: var(--bg); }

/* トップ：ヒーローの背景にノードと線 */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000' fill='none' stroke='%23111' stroke-width='1' font-family='Inter,Arial' font-size='12'%3E%3Cpath d='M66 49 H159 V99 H252'/%3E%3Cpath d='M66 49 V133 H106 V218'/%3E%3Cpath d='M113 397 H171 V403 H229'/%3E%3Cpath d='M73 570 H170 V594 H267'/%3E%3Cpath d='M73 570 V666 H45 V762'/%3E%3Cpath d='M45 762 H154 V732 H264'/%3E%3Cpath d='M45 762 V859 H90 V957'/%3E%3Cpath d='M90 957 H163 V941 H236'/%3E%3Cpath d='M252 99 V164 H289 V229'/%3E%3Cpath d='M289 229 H354 V223 H420'/%3E%3Cpath d='M229 403 H338 V416 H446'/%3E%3Cpath d='M267 594 V663 H264 V732'/%3E%3Cpath d='M264 732 H352 V738 H441'/%3E%3Cpath d='M236 941 H356 V925 H475'/%3E%3Cpath d='M437 95 V159 H420 V223'/%3E%3Cpath d='M420 223 V319 H446 V416'/%3E%3Cpath d='M436 593 H536 V560 H636'/%3E%3Cpath d='M441 738 H534 V769 H626'/%3E%3Cpath d='M441 738 V832 H475 V925'/%3E%3Cpath d='M625 87 H730 V61 H835'/%3E%3Cpath d='M625 87 V168 H636 V248'/%3E%3Cpath d='M636 248 H718 V225 H799'/%3E%3Cpath d='M616 434 H718 V408 H819'/%3E%3Cpath d='M616 434 V497 H636 V560'/%3E%3Cpath d='M636 560 H705 V580 H773'/%3E%3Cpath d='M626 769 H726 V780 H826'/%3E%3Cpath d='M626 769 V861 H637 V953'/%3E%3Cpath d='M637 953 H715 V922 H793'/%3E%3Cpath d='M799 225 H879 V241 H959'/%3E%3Cpath d='M819 408 H890 V384 H961'/%3E%3Cpath d='M773 580 H871 V590 H970'/%3E%3Cpath d='M826 780 H917 V785 H1009'/%3E%3Cpath d='M826 780 V851 H793 V922'/%3E%3Cpath d='M793 922 H903 V947 H1012'/%3E%3Cpath d='M952 51 V146 H959 V241'/%3E%3Cpath d='M959 241 H1055 V223 H1152'/%3E%3Cpath d='M961 384 H1047 V404 H1133'/%3E%3Cpath d='M1009 785 V866 H1012 V947'/%3E%3Cpath d='M1152 64 V144 H1152 V223'/%3E%3Cpath d='M1152 223 H1245 V231 H1338'/%3E%3Cpath d='M1152 223 V314 H1133 V404'/%3E%3Cpath d='M1120 565 H1216 V557 H1313'/%3E%3Cpath d='M1169 732 H1240 V761 H1312'/%3E%3Cpath d='M1169 732 V835 H1150 V938'/%3E%3Cpath d='M1150 938 H1246 V959 H1342'/%3E%3Cpath d='M1329 47 H1438 V71 H1548'/%3E%3Cpath d='M1329 47 V139 H1338 V231'/%3E%3Cpath d='M1338 231 V330 H1360 V428'/%3E%3Cpath d='M1360 428 H1445 V421 H1531'/%3E%3Cpath d='M1313 557 V659 H1312 V761'/%3E%3Cpath d='M1312 761 H1417 V749 H1521'/%3E%3Cpath d='M1312 761 V860 H1342 V959'/%3E%3Cpath d='M1342 959 H1443 V928 H1543'/%3E%3Cpath d='M1548 71 V158 H1542 V244'/%3E%3Cpath d='M1542 244 V332 H1531 V421'/%3E%3Cpath d='M1499 580 V665 H1521 V749'/%3E%3Cpath d='M1521 749 V839 H1543 V928'/%3E%3Crect x='14' y='35' width='103' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='66' y='53' text-anchor='middle' fill='%23111' stroke='none'%3EWorld Model%3C/text%3E%3Crect x='84' y='204' width='44' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='106' y='222' text-anchor='middle' fill='%23111' stroke='none'%3ESLM%3C/text%3E%3Crect x='68' y='383' width='89' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='113' y='401' text-anchor='middle' fill='%23111' stroke='none'%3EInference%3C/text%3E%3Crect x='29' y='556' width='89' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='73' y='574' text-anchor='middle' fill='%23111' stroke='none'%3EInference%3C/text%3E%3Crect x='12' y='748' width='66' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='45' y='766' text-anchor='middle' fill='%23111' stroke='none'%3EPolicy%3C/text%3E%3Crect x='57' y='943' width='66' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='90' y='961' text-anchor='middle' fill='%23111' stroke='none'%3EPrompt%3C/text%3E%3Crect x='222' y='85' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='252' y='103' text-anchor='middle' fill='%23111' stroke='none'%3ELocal%3C/text%3E%3Crect x='259' y='215' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='289' y='233' text-anchor='middle' fill='%23111' stroke='none'%3ELocal%3C/text%3E%3Crect x='207' y='389' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='229' y='407' text-anchor='middle' fill='%23111' stroke='none'%3ERAG%3C/text%3E%3Crect x='244' y='580' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='267' y='598' text-anchor='middle' fill='%23111' stroke='none'%3ERAG%3C/text%3E%3Crect x='220' y='718' width='89' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='264' y='736' text-anchor='middle' fill='%23111' stroke='none'%3EEmbedding%3C/text%3E%3Ccircle cx='236' cy='941' r='20' fill='%23f5f5f2'/%3E%3Ctext x='236' y='945' text-anchor='middle' fill='%23111' stroke='none'%3EAI%3C/text%3E%3Crect x='404' y='81' width='66' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='437' y='99' text-anchor='middle' fill='%23111' stroke='none'%3EMotion%3C/text%3E%3Crect x='368' y='209' width='103' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='420' y='227' text-anchor='middle' fill='%23111' stroke='none'%3EWorld Model%3C/text%3E%3Crect x='416' y='402' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='446' y='420' text-anchor='middle' fill='%23111' stroke='none'%3ELearn%3C/text%3E%3Crect x='414' y='579' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='436' y='597' text-anchor='middle' fill='%23111' stroke='none'%3ERAG%3C/text%3E%3Crect x='411' y='724' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='441' y='742' text-anchor='middle' fill='%23111' stroke='none'%3EAgent%3C/text%3E%3Crect x='441' y='911' width='66' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='475' y='929' text-anchor='middle' fill='%23111' stroke='none'%3EDevice%3C/text%3E%3Crect x='591' y='73' width='66' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='625' y='91' text-anchor='middle' fill='%23111' stroke='none'%3ESensor%3C/text%3E%3Crect x='606' y='234' width='59' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='636' y='252' text-anchor='middle' fill='%23111' stroke='none'%3ECloud%3C/text%3E%3Crect x='594' y='420' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='616' y='438' text-anchor='middle' fill='%23111' stroke='none'%3EIoT%3C/text%3E%3Crect x='603' y='546' width='66' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='636' y='564' text-anchor='middle' fill='%23111' stroke='none'%3EPolicy%3C/text%3E%3Ccircle cx='626' cy='769' r='20' fill='%23f5f5f2'/%3E%3Ctext x='626' y='773' text-anchor='middle' fill='%23111' stroke='none'%3EAI%3C/text%3E%3Crect x='615' y='939' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='637' y='957' text-anchor='middle' fill='%23111' stroke='none'%3ELLM%3C/text%3E%3Crect x='813' y='47' width='44' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='835' y='65' text-anchor='middle' fill='%23111' stroke='none'%3ERAG%3C/text%3E%3Crect x='770' y='211' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='799' y='229' text-anchor='middle' fill='%23111' stroke='none'%3EAgent%3C/text%3E%3Ccircle cx='819' cy='408' r='20' fill='%23f5f5f2'/%3E%3Ctext x='819' y='412' text-anchor='middle' fill='%23111' stroke='none'%3EYES%3C/text%3E%3Crect x='744' y='566' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='773' y='584' text-anchor='middle' fill='%23111' stroke='none'%3EAgent%3C/text%3E%3Crect x='803' y='766' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='826' y='784' text-anchor='middle' fill='%23111' stroke='none'%3EAct%3C/text%3E%3Ccircle cx='793' cy='922' r='20' fill='%23f5f5f2'/%3E%3Ctext x='793' y='926' text-anchor='middle' fill='%23111' stroke='none'%3ENO%3C/text%3E%3Crect x='926' y='37' width='52' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='952' y='55' text-anchor='middle' fill='%23111' stroke='none'%3EPlan%3C/text%3E%3Crect x='937' y='227' width='44' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='959' y='245' text-anchor='middle' fill='%23111' stroke='none'%3EAPI%3C/text%3E%3Ccircle cx='961' cy='384' r='20' fill='%23f5f5f2'/%3E%3Ctext x='961' y='388' text-anchor='middle' fill='%23111' stroke='none'%3EIN%3C/text%3E%3Crect x='947' y='576' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='970' y='594' text-anchor='middle' fill='%23111' stroke='none'%3EAct%3C/text%3E%3Crect x='979' y='771' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1009' y='789' text-anchor='middle' fill='%23111' stroke='none'%3ERobot%3C/text%3E%3Crect x='968' y='933' width='89' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='1012' y='951' text-anchor='middle' fill='%23111' stroke='none'%3EFine-tune%3C/text%3E%3Ccircle cx='1152' cy='64' r='20' fill='%23f5f5f2'/%3E%3Ctext x='1152' y='68' text-anchor='middle' fill='%23111' stroke='none'%3EOUT%3C/text%3E%3Crect x='1123' y='209' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1152' y='227' text-anchor='middle' fill='%23111' stroke='none'%3ERobot%3C/text%3E%3Crect x='1111' y='390' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1133' y='408' text-anchor='middle' fill='%23111' stroke='none'%3ERAG%3C/text%3E%3Crect x='1094' y='551' width='52' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1120' y='569' text-anchor='middle' fill='%23111' stroke='none'%3EData%3C/text%3E%3Crect x='1125' y='718' width='89' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1169' y='736' text-anchor='middle' fill='%23111' stroke='none'%3EEmbedding%3C/text%3E%3Crect x='1106' y='924' width='89' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1150' y='942' text-anchor='middle' fill='%23111' stroke='none'%3EEmbedding%3C/text%3E%3Ccircle cx='1329' cy='47' r='20' fill='%23f5f5f2'/%3E%3Ctext x='1329' y='51' text-anchor='middle' fill='%23111' stroke='none'%3EOK%3C/text%3E%3Crect x='1316' y='217' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1338' y='235' text-anchor='middle' fill='%23111' stroke='none'%3ERAG%3C/text%3E%3Ccircle cx='1360' cy='428' r='20' fill='%23f5f5f2'/%3E%3Ctext x='1360' y='432' text-anchor='middle' fill='%23111' stroke='none'%3EOUT%3C/text%3E%3Crect x='1287' y='543' width='52' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='1313' y='561' text-anchor='middle' fill='%23111' stroke='none'%3EData%3C/text%3E%3Crect x='1279' y='747' width='66' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1312' y='765' text-anchor='middle' fill='%23111' stroke='none'%3EDevice%3C/text%3E%3Crect x='1320' y='945' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1342' y='963' text-anchor='middle' fill='%23111' stroke='none'%3EAct%3C/text%3E%3Crect x='1522' y='57' width='52' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1548' y='75' text-anchor='middle' fill='%23111' stroke='none'%3EData%3C/text%3E%3Crect x='1509' y='230' width='66' height='28' rx='14' fill='%23f5f5f2'/%3E%3Ctext x='1542' y='248' text-anchor='middle' fill='%23111' stroke='none'%3ESensor%3C/text%3E%3Crect x='1501' y='407' width='59' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1531' y='425' text-anchor='middle' fill='%23111' stroke='none'%3ECloud%3C/text%3E%3Crect x='1477' y='566' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1499' y='584' text-anchor='middle' fill='%23111' stroke='none'%3EGPU%3C/text%3E%3Crect x='1499' y='735' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1521' y='753' text-anchor='middle' fill='%23111' stroke='none'%3ELLM%3C/text%3E%3Crect x='1521' y='914' width='44' height='28' rx='2' fill='%23f5f5f2'/%3E%3Ctext x='1543' y='932' text-anchor='middle' fill='%23111' stroke='none'%3EAct%3C/text%3E%3C/svg%3E") center / cover no-repeat; opacity: 0.75; top: 90px;
  -webkit-mask-image: radial-gradient(ellipse 48% 58% at 50% 50%, transparent 58%, #000 88%); mask-image: radial-gradient(ellipse 48% 58% at 50% 50%, transparent 58%, #000 88%); }
.hero { z-index: 0; }
.hero .word { font-weight: 500; color: var(--ink); }
.hero .word + h1::before { content: ""; display: block; width: min(560px, 78vw); height: 1px; background: var(--ink); margin: 0 auto 24px; position: relative; }
.hero h1 { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; letter-spacing: 0.24em; }
.hero .sub { color: var(--ink-3); }
.scroll-hint { background: linear-gradient(transparent, var(--ink)); }
.vision h2 { font-weight: 700; }
.vision p { font-size: 16px; color: var(--ink-2); }
.statement h2, .mission h2, .quote blockquote { font-weight: 700; }

/* 能力の3層 */
.layer { background: #fff; border-color: var(--hair); }
.layer .items { background: var(--hair); }
.layer .items > div { background: #fff; }
.layer .items > div:hover { background: #faf8f2; }
.layer .items b { font-weight: 500; font-size: 15px; }
.layer .items small { font-size: 13px; font-weight: 700; color: var(--gold); }
.layer .items p { font-size: 14px; color: var(--ink-2); }
.layer .lh .tag { color: #fff; background: var(--ink); }
.layer .lh h3 { color: var(--ink); font-weight: 400; }
.layer .lh p { font-size: 14px; font-weight: 700; color: var(--ink); }
.layer::before { background: var(--bg); }
.oneteam { border-color: var(--ink); background: #fff; }
.oneteam > div { font-weight: 700; }
.oneteam > a { background: var(--ink); color: #fff; }
.why { background: var(--hair); } .why > div { background: #fff; }
.flowline > div::before { background: var(--ink); }
.flowline p { font-weight: 700; }
.mainbiz h3 { font-weight: 700; }
.profile dd { font-size: 15px; }

/* 事業パネル */
.panel { box-shadow: 0 0 0 1px var(--hair); }
.panel.core { background: #0b0b0d; }
.panel h3 { font-weight: 400; }
.panel p { font-size: 14px; }
.panel .jp { font-weight: 700; }
.panel.signal { background: #fff; }
.panel.machine { background: #e8e9e4; color: #121417; }
.panel.machine .art { background: linear-gradient(rgba(18,20,23,0.07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(18,20,23,0.07) 1px, transparent 1px) 0 0 / 28px 28px, radial-gradient(circle at 78% 40%, rgba(255,91,31,0.25), transparent 35%); }
.panel.machine .jp { color: #e2531c; }

/* 下層ヒーロー */
.vhero h1, .page-hero h1 { font-weight: 400; color: var(--ink); }
.vhero .jp, .page-hero .jp { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: 0.12em; color: var(--ink); }
.vhero .lead, .page-hero .lead { font-size: 16px; color: var(--ink-2); }
.vhero .crumb, .page-hero .crumb { color: var(--ink-3); }
.index a { color: var(--ink-3); font-size: 12px; }
.index a.on { color: var(--ink); font-weight: 700; }
.stack > div { background: #fff; }
.stack span em { font-weight: 700; }
.form input, .form select, .form textarea { border-bottom-color: rgba(17,17,19,0.25); }
.form select option { background: #fff; }
.cta-band h2 { font-weight: 700; }

/* ===== 世界観：ロボティクスは白い設計図 ===== */
body[data-world="machine"] { --bg: #e9eae5; --ink: #121417; --ink-2: #3c4045; --ink-3: #868a8e; --hair: rgba(18,20,23,0.14); --gold: #e2531c; --hover: #e1e2dc; --panel: rgba(233,234,229,0.9); --nav-bg: rgba(233,234,229,0.9); --vis-ink: 20,22,26; --vis-hot: 226,83,28; --mk: rgba(226,83,28,0.22); background: #e9eae5; color: #121417; }
body[data-world="machine"] main::before { background-image: linear-gradient(rgba(18,20,23,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18,20,23,0.06) 1px, transparent 1px); }
body[data-world="machine"] .modules > div::before { background: var(--bg); }
body[data-world="machine"] .feats > div { background: #f1f2ee; }
/* ===== 世界観：マーケティングは真っ白×ブルー ===== */
body[data-world="signal"] { --bg: #ffffff; --ink: #0c0c0e; --ink-2: #3d3e45; --ink-3: #8c8d94; --hair: rgba(12,12,14,0.12); --gold: #2f5bff; --hover: #f4f6ff; --panel: rgba(255,255,255,0.9); --nav-bg: rgba(255,255,255,0.9); --mk: rgba(47,91,255,0.18); background: #fff; }
body[data-world="signal"] .feats > div, body[data-world="signal"] .works > div { background: #fff; }
body[data-world="signal"] .funnel > div { background: #f6f7fb; }
/* ===== 世界観：エンタメは暗いステージのまま ===== */
body[data-world="stage"] { --bg: #0a0410; --ink: #fff; --ink-2: #d2c8e2; --ink-3: #8a7da0; --hair: rgba(255,255,255,0.16); --gold: #ff3da5; --hover: #140a1e; --panel: rgba(10,4,16,0.7); --nav-bg: rgba(10,4,16,0.82); --mk: rgba(255,61,165,0.35); color-scheme: dark; }
body[data-world="stage"] .layer, body[data-world="stage"] .why > div { background: var(--bg); }
/* ===== About の地球儀 ===== */
body[data-world="core"] { --vis-ink: 30,30,36; --vis-hot: 0,145,255; }

/* v8：UIの文字はグレー系、光はブルー */
.layer .items small, .chapter .head .en, .shead h2, .label.gold, .vhero .jp ~ x { color: var(--gold); }
.vision h2 em, .intro p.big em, .statement h2 em { color: var(--ink); background: linear-gradient(transparent 64%, var(--mk) 0); }
.index a.on::before { background: var(--ink); }
.layers::before { background: linear-gradient(var(--ink), rgba(17,17,19,0.12)); }
.layers::after { background: var(--light); box-shadow: 0 0 14px 3px rgba(0,145,255,0.55); }
.layer::before { border-color: var(--ink); }
.menu a.on::before { color: var(--light); }
.panel.core .art { background: radial-gradient(circle at 75% 35%, rgba(0,145,255,0.28), transparent 40%), radial-gradient(rgba(150,205,255,0.6) 1px, transparent 1.2px) 0 0 / 14px 14px; }
.panel.core .jp { color: #b9c2cf; }
.index { padding: 0; background: none; }

/* v9：ヒーローだけ暗い夜空・白い光 */
.hero .word, .hero h1 { color: #f2f2f0; }
.hero .word + h1::before { background: rgba(242,242,240,0.7); }
.hero .sub { color: #8d8e95; }
.hero::before { filter: invert(1); opacity: 0.42; }
.scroll-hint { background: linear-gradient(transparent, #f2f2f0); }
body.on-dark .nav, body.idx-dark .index, body.idx-dark .backtop { --ink: #f2f2f0; --ink-2: #b9bac0; --ink-3: #7c7d84; --bg: #050507; --hair: rgba(255,255,255,0.15); }
body.on-dark .nav { color: #f2f2f0; }
body.on-dark .nav.solid { background: rgba(5,5,7,0.7); }
body.idx-dark .index { background: none; }
body.on-dark::before { background: #050507; }

/* v11：フローチャートをSVGに。線に沿って暖色のLEDが流れる */
.hero::before { display: none; }
.flow { position: absolute; left: 0; right: 0; top: 90px; bottom: 0; width: 100%; height: calc(100% - 90px); z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 48% 58% at 50% 46%, transparent 52%, #000 86%); mask-image: radial-gradient(ellipse 48% 58% at 50% 46%, transparent 52%, #000 86%); }
.flow .lines path { fill: none; stroke: rgba(255,255,255,0.26); stroke-width: 1; }
.flow .nodes rect, .flow .nodes circle { fill: #050507; stroke: rgba(255,255,255,0.32); stroke-width: 1; }
.flow .nodes text { fill: rgba(255,255,255,0.5); font: 12px Inter, Arial, sans-serif; text-anchor: middle; }
.flow .led { fill: none; stroke: #ffc878; stroke-width: 6; stroke-linecap: round; filter: url(#ledglow);
  stroke-dasharray: 0.1px var(--len); stroke-dashoffset: 0.1px; animation: led var(--dur) linear var(--delay) infinite; }
.flow .led.rev { animation-direction: reverse; }
@keyframes led { from { stroke-dashoffset: 0.1px; } to { stroke-dashoffset: calc(var(--len) * -1); } }
.flow .n.lit rect, .flow .n.lit circle { animation: nodeglow 7s ease-in-out var(--d) infinite; }
.flow .n.lit text { animation: nodetext 7s ease-in-out var(--d) infinite; }
@keyframes nodeglow { 0%, 100% { stroke: rgba(255,255,255,0.32); filter: none; } 50% { stroke: #ffb056; filter: drop-shadow(0 0 6px rgba(255,170,80,0.8)); } }
@keyframes nodetext { 0%, 100% { fill: rgba(255,255,255,0.5); } 50% { fill: #ffd29a; } }
@media (prefers-reduced-motion: reduce) { .flow .led, .flow .n.lit rect, .flow .n.lit circle, .flow .n.lit text { animation: none; } .flow .led { display: none; } }
.hero .word { white-space: nowrap; }
@media (max-width: 700px) { .hero .word { letter-spacing: 0.4em; margin-right: -0.4em; } }
.menu a.on::before { color: currentColor !important; }

/* 受託開発：暗いヒーロー・球体は右寄り */
.dark-end { height: 55svh; }
.page-hero.dark { position: relative; z-index: 0; }
.page-hero.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,7,0.92) 0 34%, rgba(5,5,7,0) 62%); pointer-events: none; }
.page-hero.dark h1, .page-hero.dark .jp { color: #f2f2f0; }
.page-hero.dark .lead { color: #b9bac0; }
.page-hero.dark .crumb { color: #7c7d84; }
.flow.side { top: 90px; -webkit-mask-image: radial-gradient(ellipse 34% 50% at 72% 46%, transparent 78%, #000 100%); mask-image: radial-gradient(ellipse 34% 50% at 72% 46%, transparent 78%, #000 100%); }

/* 受託開発：ページ全体を黒に */
body[data-world="dark"] { --bg: #050507; --ink: #f2f2f0; --ink-2: #b4b5bb; --ink-3: #75767d; --hair: rgba(255,255,255,0.14); --gold: #9fa0a6; --hover: #0e0e12; --panel: rgba(5,5,7,0.85); --nav-bg: rgba(5,5,7,0.8); --mk: rgba(255,255,255,0.16); color-scheme: dark; background: #050507; color: #f2f2f0; }
body[data-world="dark"] .stack > div { background: var(--panel); }
body[data-world="dark"] .stack .chips i.on { border-color: #f2f2f0; color: #f2f2f0; }
body[data-world="dark"] .stack::after { border-color: rgba(255,255,255,0.4); color: #b4b5bb; }
body[data-world="dark"] .page-hero.dark::after { display: none; }
body[data-world="dark"] .form input, body[data-world="dark"] .form select, body[data-world="dark"] .form textarea { border-bottom-color: rgba(255,255,255,0.28); color: #f2f2f0; }
body[data-world="dark"] .form input:focus, body[data-world="dark"] .form select:focus, body[data-world="dark"] .form textarea:focus { border-bottom-color: #f2f2f0; }
body[data-world="dark"] .form select option { background: #050507; color: #f2f2f0; }
body[data-world="dark"] .form .agree a { border-bottom-color: #b4b5bb; }

/* ================= v18：ロボティクス（明るいグレー×ピル型UI） ================= */
body[data-world="machine"] { --bg: #f4f4f4; --ink: #0d0d0e; --ink-2: #4a4a50; --ink-3: #9a9aa0; --hair: rgba(0,0,0,0.1); --gold: #0d0d0e; --hover: #ececec; --panel: #fff; --nav-bg: rgba(244,244,244,0.88); --mk: rgba(255,38,56,0.16); --jp: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif; --en: "Inter", "Noto Sans JP", system-ui, sans-serif; background: #f4f4f4; color: #0d0d0e; }
body[data-world="machine"] main::before { display: none; }
body[data-world="machine"] .index { display: none; }
/* Header uses the shared site navigation styles. */

/* ヒーロー */
.rhero { position: relative; min-height: 100svh; overflow: hidden; padding: 0 clamp(20px, 3vw, 48px); }
.rvis { position: absolute; inset: 0; }
.rtop { position: absolute; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); top: 120px; display: flex; justify-content: space-between; font-family: var(--en); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2); z-index: 2; }
.rcopy { position: absolute; left: clamp(20px, 3vw, 48px); bottom: clamp(32px, 6vh, 64px); z-index: 2; }
.rtag { display: flex; align-items: center; gap: 14px; font-size: clamp(15px, 1.3vw, 20px); color: var(--ink-2); letter-spacing: 0.12em; margin: 0 0 26px; }
.rtag i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.rhero h1 { font-family: "Noto Sans JP", sans-serif; font-weight: 300; font-size: clamp(46px, 7.4vw, 124px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 clamp(30px, 4vh, 48px); color: var(--ink); }
.rhero h1 b { font-weight: 700; }
.ractions, .rpills { display: flex; gap: 14px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 22px; border-radius: 999px; border: 1.5px solid rgba(0,0,0,0.18); padding: 18px 34px; font-size: 16px; letter-spacing: 0.04em; color: var(--ink); background: rgba(255,255,255,0.4); backdrop-filter: blur(6px); transition: all .3s; }
.pill:hover { border-color: var(--ink); background: #fff; }
.pill.dark { background: var(--ink); color: #fff; border-color: var(--ink); padding: 22px 40px 22px 44px; }
.pill.dark:hover { background: #2a2a2e; }
.pill i { font-style: normal; font-size: 18px; }
.rcopy .pill { padding: 22px 44px; font-size: 17px; }
.rside { position: absolute; right: clamp(20px, 3vw, 48px); bottom: clamp(32px, 6vh, 64px); z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 40px; }
.rscroll { font-family: var(--en); font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--ink-2); }
.rscroll span { margin-left: 24px; font-size: 16px; letter-spacing: 0; }
.rexplore { position: absolute; right: clamp(24px, 3.4vw, 54px); top: 44%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; font-family: var(--en); font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--ink-3); }
.rexplore::before { content: ""; width: 1px; height: 90px; background: var(--ink-3); }
.rexplore span { writing-mode: vertical-rl; }
.rexplore b { font-weight: 300; font-size: 22px; letter-spacing: 0; }
@media (max-width: 900px) { .rside { display: none; } .rexplore { display: none; } .rtop span:last-child { display: none; } .rvis { bottom: 34%; } }

/* 本文：丸いカード */
.rlead { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); }
.rlead p { font-family: "Noto Sans JP", sans-serif; font-weight: 300; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.8; letter-spacing: 0.02em; margin: 20px 0 0; max-width: 28em; }
.rlead b { font-weight: 700; }
body[data-world="machine"] .chapter { background: #fff; border: 0; border-radius: 32px; padding: clamp(32px, 5vw, 72px); margin-bottom: 18px; }
body[data-world="machine"] .chapter + .chapter { border-top: 0; }
body[data-world="machine"] .chapter .head .n { font-family: var(--en); font-weight: 300; font-size: 14px; letter-spacing: 0.24em; color: var(--ink-3); -webkit-text-stroke: 0; }
body[data-world="machine"] .chapter .head .n::before { content: ""; }
body[data-world="machine"] .chapter .head h2 { font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: 0; }
body[data-world="machine"] .chapter .head .en { color: var(--ink-3); }
body[data-world="machine"] .ph-img { border-radius: 22px; background: #f1f1f2; border: 0; }
body[data-world="machine"] .modules > div { border-radius: 20px; background: #f4f4f5; border: 0; }
body[data-world="machine"] .modules > div::before { position: static; display: block; padding: 0; background: none; color: var(--ink-3); margin-bottom: 6px; }
body[data-world="machine"] .modules .core { background: #0d0d0e; color: #fff; }
body[data-world="machine"] .modules .core p { color: #b9b9bf; }
body[data-world="machine"] .tiles { border: 0; gap: 10px; }
body[data-world="machine"] .tiles > div { border: 0; border-radius: 18px; background: #f4f4f5; }
body[data-world="machine"] .tiles > div:hover { background: #0d0d0e; color: #fff; }
body[data-world="machine"] .tiles small { color: var(--ink-3); }
body[data-world="machine"] .spec th { color: var(--ink-3); }
body[data-world="machine"] .steps { border: 0; gap: 12px; }
body[data-world="machine"] .steps div { border: 0; border-radius: 24px; background: #fff; }
body[data-world="machine"] .steps .n { -webkit-text-stroke-color: var(--ink); }
body[data-world="machine"] .btn { border-radius: 999px; }
body[data-world="machine"] .label, body[data-world="machine"] .shead .jp { font-family: var(--en); }
body[data-world="machine"] .nav.solid { background: rgba(244,244,244,0.85); }
@media (min-width: 1281px) { body[data-world="machine"] .sec, body[data-world="machine"] .steps-sec { padding-left: clamp(24px, 7vw, 120px); } }
body[data-world="machine"] .chapter .head h2 br { display: none; }

/* ===== v19：AIマーケティング — スマホの中のAI回答 ===== */
.phone-stage { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; }
.phone-stage .tag-float { z-index: 2; transform: translate(var(--px, 0), var(--py, 0)); animation: none; transition: transform .2s; }
.phone-stage .t1 { left: 4%; top: 18%; } .phone-stage .t2 { right: 2%; top: 10%; } .phone-stage .t3 { left: 8%; bottom: 12%; }
.phone { width: min(330px, 78vw); aspect-ratio: 9 / 19.2; border-radius: 52px; background: #0d0d10; padding: 11px; position: relative; transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 0 0 1.5px #2a2b30, 0 0 0 3px #0d0d10, 40px 60px 90px -30px rgba(20,30,80,0.45), 0 30px 60px -20px rgba(0,0,0,0.25); animation: phonein 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes phonein { from { opacity: 0; translate: 0 80px; scale: 0.92; } to { opacity: 1; translate: 0 0; scale: 1; } }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: 52px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.18) 0%, transparent 28%, transparent 70%, rgba(255,255,255,0.06) 100%); }
.phone .screen { position: relative; height: 100%; border-radius: 42px; background: #fff; overflow: hidden; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.75; letter-spacing: 0.01em; color: #17171c; }
.phone .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0d0d10; z-index: 3; }
.phone .status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-family: var(--en); font-size: 12px; font-weight: 500; height: 42px; }
.phone .status .ic { font-size: 8px; letter-spacing: 1px; }
.phone .appbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; border-bottom: 1px solid #f0f0f3; font-family: var(--en); font-size: 13px; }
.phone .appbar .back, .phone .appbar .dots { color: #9a9ba2; font-size: 18px; }
.phone .conv { flex: 1; padding: 14px 14px 0; overflow: hidden; display: flex; flex-direction: column; }
.phone .q { align-self: flex-end; max-width: 82%; background: #f0f0f3; border-radius: 18px 18px 5px 18px; padding: 9px 14px; min-height: 38px; }
.phone .a { margin-top: 12px; min-height: 96px; }
.phone .a b { color: #0c0c0e; font-weight: 700; background: linear-gradient(transparent 60%, rgba(47,91,255,0.22) 0); }
.phone .cite { display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; border-radius: 9px; background: #e8edff; color: #2f5bff; font-size: 9.5px; font-family: var(--en); margin: 0 2px; vertical-align: 1px; }
.phone .srcs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; opacity: 0; transform: translateY(6px); transition: all .5s; }
.phone .srcs.on { opacity: 1; transform: none; }
.phone .srcs span { font-family: var(--en); font-size: 9.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.08); color: #6b6c74; }
.phone .srcs span.me { border-color: #2f5bff; color: #2f5bff; background: #f3f6ff; }
.phone .ad { margin-top: 12px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.08); padding: 11px 12px; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; opacity: 0; transform: translateY(10px); transition: all .6s; box-shadow: 0 10px 24px -14px rgba(20,30,80,0.3); }
.phone .ad.on { opacity: 1; transform: none; }
.phone .ad .logo { width: 34px; height: 34px; border-radius: 9px; background: #0c0c0e; color: #fff; display: grid; place-items: center; font-family: var(--en); font-weight: 700; font-size: 15px; }
.phone .ad small { display: block; font-family: var(--en); font-size: 8.5px; letter-spacing: 0.14em; color: #9a9ba2; text-transform: uppercase; }
.phone .ad .adtext { font-size: 11.5px; font-weight: 700; line-height: 1.5; display: block; }
.phone .ad .go { font-size: 10.5px; background: #2f5bff; color: #fff; padding: 6px 11px; border-radius: 999px; }
.phone .agent { margin-top: 10px; font-size: 10.5px; color: #16a34a; display: flex; align-items: center; gap: 7px; opacity: 0; transition: opacity .5s; }
.phone .agent.on { opacity: 1; }
.phone .agent.on::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: 9px; }
.phone .inputbar { margin: 10px 12px 6px; border-radius: 999px; background: #f3f3f5; padding: 10px 8px 10px 16px; display: flex; justify-content: space-between; align-items: center; color: #9a9ba2; font-size: 11.5px; }
.phone .inputbar i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: #0c0c0e; color: #fff; display: grid; place-items: center; font-size: 12px; }
.phone .note { text-align: center; font-size: 9px; color: #b0b1b8; padding-bottom: 12px; }
body[data-world="signal"] .vhero .visual { height: min(78svh, 720px); }

/* ===== v21：実物に近いスマートフォン ===== */
.phone { width: min(320px, 74vw); aspect-ratio: 71.6 / 146.6; border-radius: 54px; padding: 3px; background:
  linear-gradient(135deg, #8d8f95 0%, #d9dadf 18%, #6d6f75 34%, #b9bbc1 52%, #5c5e64 70%, #c9cbd0 86%, #7a7c82 100%);
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.6), inset 0 0 2px rgba(0,0,0,0.6); }
.phone::after { display: none; }
.phone .depth i { position: absolute; inset: 0; border-radius: 54px; background: linear-gradient(135deg, #5d5f65, #a7a9ae 40%, #4b4d52 75%, #8e9095); }
.phone .depth i:last-child { box-shadow: 0 40px 80px -20px rgba(15,20,40,0.45); }
.phone .btn-side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5f6166, #c4c6cb 50%, #6b6d72); transform: translateZ(-5px); }
.phone .b1 { left: -3px; top: 17%; height: 4.5%; } .phone .b2 { left: -3px; top: 24.5%; height: 8%; } .phone .b3 { left: -3px; top: 34%; height: 8%; } .phone .b4 { right: -3px; top: 27%; height: 12%; }
.phone .bezel { position: relative; height: 100%; border-radius: 51px; background: #050506; padding: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); transform: translateZ(1px); }
.phone .screen { border-radius: 42px; font-family: -apple-system, "SF Pro Text", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
.phone .island { top: 11px; width: 96px; height: 28px; border-radius: 20px; background: #000; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; }
.phone .island i { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3550, #0a0c12 60%); box-shadow: 0 0 0 1px #111; }
.phone .status { padding: 15px 28px 0 30px; height: 46px; align-items: flex-start; }
.phone .status .time { font-family: -apple-system, "SF Pro Text", Inter, sans-serif; font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; }
.phone .status .ic { display: flex; gap: 5px; align-items: center; color: #0b0b0d; fill: #0b0b0d; padding-top: 3px; }
.phone .appbar { font-family: -apple-system, "SF Pro Text", Inter, sans-serif; font-weight: 600; font-size: 15px; padding: 6px 16px 10px; border-bottom: 0.5px solid #e6e6ea; }
.phone .appbar b { font-weight: 600; }
.phone .appbar .back { color: #2f5bff; font-size: 26px; line-height: 1; font-weight: 300; }
.phone .conv { font-size: 13px; line-height: 1.7; }
.phone .q { background: #e9e9ee; font-size: 13px; }
.phone .inputbar { border: 0.5px solid #dcdce2; background: #f6f6f8; }
.phone .homebar { width: 118px; height: 5px; border-radius: 3px; background: #0b0b0d; margin: 0 auto 8px; }
.phone .note { padding-bottom: 6px; }
.phone .glare { position: absolute; inset: 0; border-radius: 42px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) calc(var(--gl, 50%) - 30%), rgba(255,255,255,0.28) var(--gl, 50%), rgba(255,255,255,0) calc(var(--gl, 50%) + 18%)); mix-blend-mode: soft-light; }
.phone-shadow { position: absolute; left: 50%; top: 50%; width: 260px; height: 46px; margin: 330px 0 0 -130px; border-radius: 50%; background: radial-gradient(ellipse, rgba(15,20,40,0.32), transparent 70%); filter: blur(10px); }
@media (max-width: 960px) { .phone-shadow { margin-top: 280px; } }

/* v22：スマホがスクロールについてくる */
body[data-world="signal"] .vhero { overflow: visible; z-index: 3; }
.phone-travel { position: relative; display: grid; place-items: center; will-change: transform; transform-style: preserve-3d; }
.phone-travel .phone-shadow { position: absolute; left: 50%; top: 50%; }
.mk-concept { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 780px; }
.mk-concept .intro { padding-bottom: 30px; }
.mk-sub { font-size: 17px; color: var(--ink-2); line-height: 2.2; max-width: 28em; margin: 0; }
.phone-dock { height: 720px; }
@media (max-width: 960px) { .mk-concept { grid-template-columns: 1fr; min-height: 0; } .phone-dock { display: none; } }

/* v23：裏面（回転時に画面が透けないように） */
.phone .bezel { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.phone .back { position: absolute; inset: 0; border-radius: 54px; transform: translateZ(-11px) rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(120% 80% at 30% 10%, #565960 0%, #33353a 45%, #24262a 100%); box-shadow: inset 0 0 0 3px #8d8f95, inset 0 0 0 4px rgba(0,0,0,0.4); }
.phone .back::after { content: ""; position: absolute; inset: 0; border-radius: 54px; background: linear-gradient(120deg, rgba(255,255,255,0.10), transparent 40%); }
.phone .cam { position: absolute; top: 4.5%; left: 7%; width: 44%; aspect-ratio: 1; border-radius: 30%; background: linear-gradient(145deg, #4a4c52, #2b2d31); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 2px 6px rgba(0,0,0,0.35); }
.phone .cam i { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #3d5a8a 0%, #0f1520 28%, #050607 60%); box-shadow: 0 0 0 3px #1b1c20, 0 0 0 4.5px #6b6d73; }
.phone .cam .l1 { top: 7%; left: 7%; } .phone .cam .l2 { bottom: 7%; left: 7%; } .phone .cam .l3 { top: 31%; right: 7%; }
.phone .cam .fl { position: absolute; top: 12%; right: 14%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(#fff6dc, #b8a97a); }
.phone .cam .mic { position: absolute; bottom: 14%; right: 18%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: #111; }
.phone .btn-side { backface-visibility: visible; }
/* 真横から見たときの側面 */
.phone { --pw: min(320px, 74vw); width: var(--pw); }
.phone .edge { position: absolute; top: 52px; bottom: 52px; left: 50%; width: 11px; margin-left: -5.5px; background: linear-gradient(90deg, #6d6f75, #cfd1d6 45%, #8b8d93 70%, #5a5c61); }
.phone .edge.er { transform: translateZ(-5.5px) rotateY(90deg) translateZ(calc(var(--pw) / 2 - 1px)); }
.phone .edge.el { transform: translateZ(-5.5px) rotateY(-90deg) translateZ(calc(var(--pw) / 2 - 1px)); }
.phone.flipped .bezel { visibility: hidden; }
.phone:not(.flipped) .back { visibility: hidden; }
.phone .back, .phone .bezel { backface-visibility: visible !important; -webkit-backface-visibility: visible !important; }
.phone.flipped .depth { visibility: hidden; }
.phone.flipped .back { transform: translateZ(-11px) rotateY(180deg); z-index: 5; }

/* ===== v24：写真のスマートフォン（表・裏・側面の3枚） ===== */
.phone.photo { --pw: min(330px, 74vw); --t: calc(var(--pw) * 0.1); width: var(--pw); aspect-ratio: 380 / 745; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.phone.photo .face { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.phone.photo .front { transform: translateZ(calc(var(--t) / 2)); }
.phone.photo .back { transform: translateZ(calc(var(--t) / -2)) rotateY(180deg); box-shadow: none; border-radius: 0; background: none; inset: auto; visibility: visible; }
.phone.photo .back::after { display: none; }
.phone.photo .side { width: calc(var(--pw) * 0.171); left: 50%; margin-left: calc(var(--pw) * -0.0855); visibility: hidden; }
.phone.photo .sr { transform: rotateY(90deg) translateZ(calc(var(--pw) / 2 - 3px)) translateX(calc(var(--pw) * 0.0276)); }
.phone.photo .sl { transform: rotateY(-90deg) translateZ(calc(var(--pw) / 2 - 3px)) translateX(calc(var(--pw) * -0.0276)) scaleX(-1); }
.phone.photo.edgeon .side { visibility: visible; }
.phone.photo .screen { position: absolute; left: 4.47%; right: 4.47%; top: 2.15%; bottom: 2.15%; height: auto; border-radius: 12.7% / 6.2%; transform: translateZ(calc(var(--t) / 2 + 0.5px)); }
.phone.photo .island { top: 1.6%; left: 37.9%; transform: none; width: 20.2%; height: 3.4%; padding: 0; }
.phone.photo .island i { display: none; }
.phone.photo .screen::before { content: ""; position: absolute; z-index: 4; top: 2.35%; left: 61.2%; width: 3.3%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 38%, #2c3a58, #07090d 62%); box-shadow: 0 0 0 1.5px #000; }
.phone.photo .status { padding: 4.6% 9% 0 10%; height: auto; }
.phone.photo.flipped .front, .phone.photo.flipped .screen { visibility: hidden; }
.phone.photo:not(.flipped) .back { visibility: hidden; }
.phone.photo .depth, .phone.photo .btn-side, .phone.photo .edge { display: none; }
.phone .appbar .bk { color: #2f5bff; font-size: 26px; line-height: 1; font-weight: 300; }

/* v25：厚みのある立体に（本体の形で切り抜いた金属の層を重ねる） */
.phone.photo .slices { position: absolute; inset: 0; transform-style: preserve-3d; }
.phone.photo .slices i { position: absolute; inset: 0; transform: translateZ(calc(var(--t) * var(--k)));
  -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat;
  background: linear-gradient(90deg, #1f2023 0%, #6e7076 5%, #3a3b3f 12%, #2a2b2e 50%, #3a3b3f 88%, #6e7076 95%, #1f2023 100%); }
.phone.photo .side { visibility: visible !important; }
.phone.photo { aspect-ratio: 370 / 743; }
.phone.photo .screen { left: 3.3%; right: 3.3%; top: 2.05%; bottom: 2.05%; }
.phone.photo .side { width: calc(var(--pw) * 0.165); margin-left: calc(var(--pw) * -0.0825); }
/* 立体がつぶれる原因（本体のフェードイン）を外側へ移す */
.phone, .phone.photo { animation: none; }
.phone-stage { animation: phonein 1.4s cubic-bezier(.2,.8,.2,1) backwards; }
.phone.photo { --t: calc(var(--pw) * 0.1186); }
.phone.photo .side { width: calc(var(--pw) * 0.1644); margin-left: calc(var(--pw) * -0.0822); }
.phone.photo .sr { transform: rotateY(90deg) translateZ(calc(var(--pw) / 2 - 2px)) translateX(calc(var(--pw) * 0.004)); }
.phone.photo .sl { transform: rotateY(-90deg) translateZ(calc(var(--pw) / 2 - 2px)) translateX(calc(var(--pw) * -0.004)) scaleX(-1); }
.phone.photo .side { visibility: hidden !important; }
.phone.photo.show-r .sr, .phone.photo.show-l .sl { visibility: visible !important; }
.phone.photo .screen { transform: translateZ(calc(var(--t) / 2 + 1.5px)); }
/* 側面の写真は、角の丸みにかからない真っすぐな部分だけを使う（角の突起を防ぐ） */
.phone.photo .side { clip-path: inset(7.5% 0 7.5% 0); }
/* v27：側面は写真の板をやめ、本体の形に沿った金属の層を密に重ねて表現（縞や突起が出ないように） */
.phone.photo .side { display: none !important; }
.phone.photo .slices i { background-image: none; }

/* General AI consultation entry beside Contact; mobile entry inside menu. */
.nav-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-ai-link{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid var(--hair);color:var(--ink);font-size:12px;letter-spacing:.08em;white-space:nowrap;transition:background .2s,color .2s}
.nav-ai-link:hover{background:var(--ink);color:var(--bg)}
.nav-ai-link[aria-current="page"]{border-color:var(--ink)}
.nav-ai-mobile{display:none}
.nav-ai-link:focus-visible,.nav-ai-mobile:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(min-width:1081px) and (max-width:1350px){.nav{gap:20px}.nav .menu{gap:18px;letter-spacing:.18em;font-size:10px}.nav .contact-link{letter-spacing:.22em;padding:13px 16px}.nav .brand{letter-spacing:.45em}}
@media(max-width:1080px){.nav-actions{display:none}.nav.open .menu .nav-ai-mobile{display:block;border-top:1px solid var(--hair);padding-top:22px;width:100%}.nav.open .menu{overflow-y:auto}}
