/* Visual refinement layer. Keep screenshot localization and copy in index.html. */
:root{--muted2:#99a4b5}
section[id]{scroll-margin-top:86px}
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:3px solid #9edeee;outline-offset:5px}
h1,h2,.big{text-wrap:balance}
.nav-links a:last-child{background:#eef4fc;color:#122237;padding:8px 14px;border-radius:9px}
.nav-links{align-items:center}
.hero{position:relative;padding:46px 0 64px;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#1b365355,transparent 68%)}
.hero h1{margin-top:18px;font-size:clamp(34px,4.8vw,64px);line-height:1.22;max-width:1150px}
.hero h1 span:first-child{font-size:.55em;font-weight:650;color:#c8d5e5;letter-spacing:-.02em}
.hero h1 .mid{font-size:.4em;margin:14px 0 12px;color:#aab9ca;font-weight:500}
.hero h1 span:last-child{color:#f5f9ff}
.hero-shots{width:min(calc(100% - 64px),1100px);margin:44px auto 0;padding-bottom:9%;isolation:isolate}
.hero-shots::before{content:"";position:absolute;inset:5% -8% 0;z-index:-1;background:radial-gradient(ellipse,#2a8fbd2b,transparent 68%)}
.hero-shots .mac{width:86%}
.hero-shots .pc{width:46%;right:0;bottom:0;position:absolute}
.hero-shots .shot img{box-shadow:0 24px 70px #0008,0 0 0 1px #b5d1ec33}
.hero-shots .hero-os{margin:0 0 10px;color:#c6d9ed;font-size:11px;font-weight:700;letter-spacing:.1em}
.hero-shots .pc .hero-os{justify-content:flex-end;text-shadow:0 1px 8px #000}
.hero-actions{margin-top:34px}
.hero-sub{font-size:16px;line-height:1.9;font-weight:500;margin:0 auto;color:#bfcddd}
.hero-sub br{display:none}
.hero-actions .cta-row{margin-top:24px}
.hero-actions .cta{min-width:200px;font-size:14px;padding:14px 20px;border-radius:10px}
.cta.primary{background:#d7ecfc;color:#102b40;border-color:#d7ecfc;box-shadow:0 3px 18px #5dafdc14}
.cta{transition:background .18s,transform .18s}
.cta:hover{transform:translateY(-2px)}
.price-line{font-size:12px;color:#9caec3;margin-top:16px}
.case-index{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:0 0 72px}
.case-card{position:relative;min-width:0;overflow:hidden;border:1px solid #a3c9ed21;border-radius:14px;background:#111a26;text-decoration:none;transition:border-color .2s,transform .2s}
.case-card:hover{border-color:#8ecddd88;transform:translateY(-4px)}
.case-thumb{overflow:hidden;aspect-ratio:1.8;background:#18202a}
.case-thumb img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .3s}
.case-card:hover img{transform:scale(1.035)}
.case-label{display:block;padding:18px 32px 20px 16px;font-size:10px;letter-spacing:.12em;color:#92abc5;line-height:1.5}
.case-label em{display:block;margin-top:7px;font-style:normal;font-size:15px;font-weight:650;letter-spacing:0;color:#edf3fa}
.case-arrow{position:absolute;right:14px;bottom:22px;font-size:18px;color:#82bed7}
.sec{padding:100px 0}
.hero+.case-index+section{background:#0e1621}
.hero+.case-index+section>.wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px 72px}
.hero+.case-index+section .ask-list{grid-row:1 / 4;color:#8494a8;font-size:16px;margin:4px 0;padding-left:24px;border-left:1px solid #718ca43b}
.hero+.case-index+section h2{margin:0!important;font-size:clamp(28px,3.1vw,42px)}
.hero+.case-index+section .lead,.hero+.case-index+section .punch{margin:0}
.shot figcaption{line-height:1.65;align-items:baseline}
.shot figcaption .os{flex-shrink:0}
.usecase{padding:104px 0;background:radial-gradient(ellipse at 80% 15%,#164c5529,transparent 65%),#0c121a}
#web-work{background:radial-gradient(ellipse at 80% 15%,#35395d44,transparent 65%),#0b101a}
#meetings{background:radial-gradient(ellipse at 80% 15%,#1854553b,transparent 65%),#0b1419}
#production{background:radial-gradient(ellipse at 80% 15%,#6a432c29,transparent 65%),#111216}
.uc-head{display:grid;grid-template-columns:1fr 1fr;gap:64px;max-width:none;margin-bottom:44px}
.uc-title h2{font-size:clamp(32px,3.4vw,46px);line-height:1.35;margin-top:22px}
.uc-label{line-height:1.6;flex-wrap:wrap}
.uc-detail .lead{font-size:15px;line-height:1.9;margin-top:16px}
.uc-detail>.lead:first-child{margin-top:0}
.asks{gap:8px;margin-top:16px}
.asks li{font-size:13px;padding:8px 12px;border-radius:8px;background:#648db210;border-color:#648db22b}
.usecase>.wide{max-width:1180px;padding:22px;border:1px solid #a5c0d51a;border-radius:22px;background:linear-gradient(140deg,#a5cde50d,#a5cde503)}
.usecase .pair{gap:22px}
.steps{gap:0;row-gap:14px}
.steps span{border:0;border-radius:0;padding:0 20px 0 0;display:flex;align-items:center;line-height:1.5}
.steps b{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:25px;height:25px;margin-right:9px;border:1px solid #5ea0b352;border-radius:50%;font-size:11px}
.uc-punch{padding-top:28px;border-top:1px solid #92bbd52b;margin-top:32px}
.rail{scrollbar-color:#49657c #111a26;scrollbar-width:thin}
.formats div{position:relative;padding:32px 12px 22px;border-radius:5px 18px 5px 5px;border-top:3px solid #92b7ef}
.formats div:nth-child(2){border-top-color:#d29090}
.formats div:nth-child(3){border-top-color:#6ec4b7}
.formats div:nth-child(4){border-top-color:#b7a4da}
/* Native dialog keeps screenshots readable without inventing app UI. */
.shot-open{display:block;position:relative;width:100%;border:0;padding:0;background:transparent;border-radius:14px;cursor:zoom-in;text-align:inherit;color:inherit}
.shot-open::after{content:"↗";position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#0b172bdb;color:#e3f3ff;border:1px solid #b4d4ec55;font-size:18px;opacity:.7;transition:opacity .2s}
.shot-open:hover::after,.shot-open:focus-visible::after{opacity:1}
.shot-dialog{width:min(96vw,1800px);max-width:96vw;max-height:94dvh;padding:52px 18px 18px;border:1px solid #718aa652;border-radius:16px;background:#0d1520;color:#e7eef7;box-shadow:0 30px 100px #0009}
.shot-dialog::backdrop{background:#020711e8;backdrop-filter:blur(8px)}
.shot-dialog img{width:100%;height:auto;max-height:calc(94dvh - 135px);object-fit:contain}
.shot-dialog p{margin:16px 8px 0;font-size:13px;line-height:1.7;color:#c1cedd}
.shot-close{position:absolute;right:12px;top:10px;border:1px solid #718aa666;border-radius:8px;background:#202e40;color:#fff;padding:8px 14px;font:inherit;font-size:13px;cursor:pointer}
body:has(.shot-dialog[open]){overflow:hidden}
@media(min-width:1500px){.hero-shots{padding-bottom:110px}}
@media(max-width:980px){
 .hero-shots{padding-bottom:12%;width:calc(100% - 48px)}
 .hero-shots .mac{width:92%}
 .hero-shots .pc{width:45%;margin:0}
 .uc-head{grid-template-columns:1fr;gap:24px}
 .case-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .case-index>.case-card:last-child:nth-child(odd){grid-column:1 / -1}
 .hero+.case-index+section>.wrap{grid-template-columns:1fr;gap:26px}
 .hero+.case-index+section .ask-list{grid-row:auto;font-size:14px}
}
@media(max-width:700px){
 .hero{padding:32px 0 42px}
 .hero-eyebrow{font-size:10px;letter-spacing:.14em}
 .hero h1{font-size:clamp(29px,7vw,44px);margin-top:16px;line-height:1.3}
 .hero h1 span:first-child{font-size:.63em}
 .hero h1 .mid{font-size:.47em;margin:12px 0}
 .hero-shots{margin-top:26px;width:calc(100% - 32px);padding-bottom:16%}
 .hero-shots .mac{width:100%}
 .hero-shots .pc{width:48%}
 .hero-shots .hero-os{font-size:9px;margin-bottom:6px}
 .hero-actions{margin-top:24px}
 .hero-sub{font-size:14px;line-height:1.85}
 .hero-sub br{display:block}
 .hero-actions .cta-row{gap:8px}
 .hero-actions .cta{min-width:0;flex:1 1 calc(50% - 8px);width:auto;font-size:12px;padding:13px 8px}
 .hero-actions .cta:last-child{flex-basis:100%;border:0;background:transparent;padding:8px;text-decoration:underline;text-underline-offset:4px}
 .case-index{padding-bottom:46px;gap:10px}
 .case-label{padding:12px 25px 14px 12px;font-size:9px}
 .case-label em{font-size:13px}
 .case-arrow{right:10px;bottom:15px;font-size:16px}
 .sec,.usecase{padding:68px 0}
 .uc-title h2{font-size:30px}
 .usecase>.wide{padding:10px;border-radius:14px}
 .usecase .pair{gap:24px}
 .shot figcaption{font-size:11px;gap:6px;flex-wrap:wrap}
 .steps span{font-size:12px;padding-right:14px}
 .shot-open::after{width:26px;height:26px;font-size:16px;right:6px;bottom:6px}
 .shot-dialog{padding:52px 8px 14px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cta,.case-card,.case-thumb img{transition:none}}
@media(max-width:430px){
 .hero-actions .cta-row{display:grid;grid-template-columns:1fr}
 .hero-actions .cta{width:100%;min-height:44px;font-size:13px}
}

/* Compact brand lockup, redrawn as vectors from the existing VF mark. */
.hero-brand{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 auto 26px;width:fit-content;position:relative;isolation:isolate}
.hero-brand::before{content:"";position:absolute;inset:-24px -48px;z-index:-1;background:radial-gradient(ellipse,#6887ed20,transparent 70%);pointer-events:none}
.hero-brand>img{width:80px;height:70px;filter:drop-shadow(0 0 14px #839eff30)}
.hero-brand>span{font-size:42px;font-weight:400;letter-spacing:-.035em;line-height:1.2;color:#f3f6ff}
.flow-word{color:#a7a8fa;background:linear-gradient(110deg,#83b7ff,#ba8ee9);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero .hero-eyebrow{display:none}
@media(max-width:700px){
 .hero-brand{gap:14px;margin-bottom:24px}
 .hero-brand>img{width:58px;height:51px}
 .hero-brand>span{font-size:32px}
}

/* Hero composition: product identity and action on the left, workspace on the right. */
.hero{padding:64px max(28px,calc((100% - 1240px)/2)) 76px;display:grid;grid-template-columns:minmax(0, .9fr) minmax(0,1.3fr);column-gap:52px;row-gap:0;align-items:center;background:radial-gradient(ellipse at 77% 43%,#29395955,transparent 60%),linear-gradient(120deg,#0b1421,#0c1726)}
.hero-intro{grid-column:1;grid-row:1;width:100%;margin:0;align-self:end}
.hero-brand{justify-content:flex-start;gap:12px;margin:0 0 32px}
.hero-brand>img{width:48px;height:42px}
.hero-brand>span{font-size:28px}
.hero h1{display:flex;flex-direction:column;align-items:flex-start;text-align:left;margin:0;font-size:clamp(40px,4.1vw,58px);line-height:1.25;letter-spacing:-.045em}
.hero h1 span:last-child{order:-1;max-width:9em;margin-bottom:24px;text-wrap:balance}
.hero h1 span:first-child{font-size:18px;line-height:1.6;font-weight:600;letter-spacing:0}
.hero h1 .mid{font-size:14px;line-height:1.8;font-weight:400;letter-spacing:0;margin:7px 0 0}
.hero-shots{grid-column:2;grid-row:1 / 3;width:100%;margin:0;padding-bottom:100px;align-self:center}
.hero-shots .mac{width:100%}
.hero-shots .pc{width:57%;bottom:0;right:-8px}
.hero-shots .hero-os{color:#9babbd;font-weight:500;letter-spacing:.04em}
.hero-actions{grid-column:1;grid-row:2;width:100%;margin:22px 0 0;align-self:start}
.hero-sub{text-align:left;font-size:14px;line-height:1.9;color:#acb9ca}
.hero-sub br{display:block}
.hero-actions .cta-row{display:flex;justify-content:flex-start;gap:10px;margin-top:26px}
.hero-actions .cta{min-width:0;padding:13px 16px;font-size:12px;flex:0 1 auto}
.hero-actions .cta:last-child{flex-basis:100%;justify-content:flex-start;background:transparent;border:0;padding:4px 0;color:#b8c6d8;text-decoration:underline;text-underline-offset:4px}
.hero .price-line{text-align:left;font-size:11px;line-height:1.7;margin:12px 0 0}
.case-index{padding-top:28px}
@media(min-width:1101px){.hero{min-height:700px}.hero-shots .shot img{border-radius:10px}}
@media(max-width:1100px){
 .hero{display:flex;flex-direction:column;padding:42px 24px 52px}
 .hero-intro,.hero-actions{max-width:760px;align-self:center}
 .hero-brand{margin:0 auto 24px}
 .hero h1{align-items:center;text-align:center;font-size:clamp(34px,5vw,50px)}
 .hero h1 span:last-child{max-width:none;margin-bottom:16px}
 .hero h1 span:first-child{font-size:16px}
 .hero h1 .mid{font-size:13px}
 .hero-shots{width:100%;max-width:800px;margin-top:28px;padding-bottom:72px}
 .hero-shots .mac{width:94%}
 .hero-shots .pc{width:46%;right:0}
 .hero-actions{margin-top:26px}
 .hero-sub,.hero .price-line{text-align:center}
 .hero-actions .cta-row{justify-content:center}
 .hero-actions .cta:last-child{justify-content:center}
}
@media(max-width:700px){
 .hero{padding:30px 16px 38px}
 .hero-brand{margin-bottom:22px}
 .hero-brand>img{width:40px;height:35px}
 .hero-brand>span{font-size:25px}
 .hero h1{font-size:clamp(28px,6.9vw,40px)}
 .hero h1 span:first-child{font-size:14px}
 .hero h1 .mid{font-size:11px}
 .hero-shots{margin-top:24px;padding-bottom:58px}
 .hero-shots .mac{width:100%}
 .hero-actions .cta{padding:13px 12px}
 .case-index{padding-top:10px}
}
@media(max-width:430px){.hero-actions .cta-row{display:grid;grid-template-columns:1fr}.hero-actions .cta:last-child{justify-content:center}}

.hero-title-break{display:block}
@media(max-width:1100px){.hero-title-break{display:none}}

/* ロゴの下に、何の道具かを一言で（「ファイルネイティブ・ワークスペース」） */
.hero-kind{margin:-18px 0 30px;color:#9fb6cf;font-size:13px;font-weight:600;letter-spacing:.14em}
@media(max-width:1100px){.hero-kind{text-align:center}}
@media(max-width:700px){.hero-kind{margin:-14px 0 22px;font-size:11px;letter-spacing:.1em}}

/* 仕様：左に見出し、右に説明と、動く機械の印 */
.spec{background:#0b111a}
.spec .lead{margin-bottom:8px}
.spec-group{margin:56px 0 0;padding-top:22px;border-top:1px solid #6d8aa72e;font-size:15px;letter-spacing:.02em;color:#cfe0f0}
.spec-list{margin:0;display:grid;gap:0}
.spec-row{display:grid;grid-template-columns:minmax(0,.3fr) minmax(0,.7fr);gap:10px 40px;padding:16px 0;border-bottom:1px solid #6d8aa71f;align-items:start}
.spec-row dt{margin:0;font-size:14.5px;font-weight:650;color:#eaf1f8;line-height:1.6}
.spec-row dd{margin:0;display:flex;flex-direction:column;gap:9px;color:#9fb0c3;font-size:13.5px;line-height:1.9}
.spec-os{display:flex;flex-wrap:wrap;gap:6px}
.spec-os .os{font-size:10px;letter-spacing:.06em;color:#8fb6d3;border:1px solid #6d8aa747;border-radius:5px;padding:2px 7px}
@media(max-width:700px){
 .spec-row{grid-template-columns:1fr;gap:8px;padding:14px 0}
 .spec-group{margin-top:40px}
}

/* 履歴の章：写真を2枚、縦に */
.history-shots{display:grid;gap:26px}

/* Markdownって、なに？：書いたものと見え方を並べ、AIとの関係を3つ */
.about-md{background:#0c131d}
.md-example{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:18px;align-items:stretch;margin:34px 0 0}
.md-label{font-size:11px;letter-spacing:.12em;color:#8fb6d3;margin-bottom:10px}
.md-raw pre{margin:0;padding:20px 22px;border:1px solid #6d8aa733;border-radius:12px;background:#0a0f16;color:#d7e3ef;font:14px/1.9 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}
.md-arrow{align-self:center;color:#6fa8c8;font-size:22px}
.md-paper{padding:18px 24px;border-radius:12px;background:#fbfcfd;color:#1b2430;font-size:15px;line-height:1.8}
.md-paper h4{margin:0 0 8px;font-size:19px;font-weight:750;border-bottom:1px solid #d9e0e8;padding-bottom:6px}
.md-paper ul{margin:0;padding-left:1.3em}
.md-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:46px}
.md-point h3{margin:0 0 10px;font-size:16px;line-height:1.5;color:#eaf1f8}
.md-point p{margin:0;color:#9fb0c3;font-size:14px;line-height:1.9}
.about-md .lead code,.about-md code{font:0.92em ui-monospace,SFMono-Regular,Menlo,monospace;background:#6d8aa726;border-radius:4px;padding:1px 5px;color:#e3eef8}
@media(max-width:860px){
 .md-example{grid-template-columns:1fr}
 .md-arrow{transform:rotate(90deg);justify-self:center}
 .md-points{grid-template-columns:1fr;gap:22px}
}
