/* Vibe Coach LP 複数ページ化（2026-09-18）。全ページ・全言語共通 */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
[id]{scroll-margin-top:110px}

/* 共通の見出し：画面上部に固定し、どこからでも各ページへ移れるようにする */
.vc-header{position:sticky;top:0;z-index:60;max-width:none;background:var(--bg);padding:14px max(32px,calc((100vw - 1376px)/2))}
.vc-main-nav{gap:4px}
.vc-main-nav a{padding:8px 10px;border-bottom:2px solid transparent;white-space:nowrap}
.vc-main-nav a[aria-current="page"]{color:var(--brand);border-bottom-color:var(--brand)}
@media (max-width:1180px){
 .vc-header{flex-wrap:wrap;row-gap:6px}
 .vc-header>.vcx-header-login{margin-left:auto}
 /* メニューは画面の端まで伸ばし、右端をぼかして「続きがある」と分かるようにする */
 .vc-header .vc-main-nav{display:flex;order:5;flex:0 0 calc(100% + 32px);max-width:none;margin:0 -16px;padding:0 40px 0 16px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .vc-header .vc-main-nav::-webkit-scrollbar{display:none}
 .vc-header>.vc-language-switch{margin-left:0}
}
@media (max-width:560px){
 .vc-header{padding:10px 16px 0}
 .vc-main-nav a{padding:8px 9px 9px;font-size:13px}
}

/* サブページの頭 */
.vcx-pagehead{max-width:1180px;margin:0 auto;padding:28px 24px 0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.vcx-crumb{margin:0;font:700 12px/1.4 var(--font-mono,ui-monospace,monospace);letter-spacing:.08em;color:var(--text-muted)}
.vcx-crumb a{color:var(--text-muted);text-decoration:underline;text-underline-offset:3px}
.vcx-pagehead h1{margin:0;font:700 12px/1.4 var(--font-mono,ui-monospace,monospace);letter-spacing:.08em;color:var(--text)}
.vcx-pagehead .vcx-crumb span{margin:0 2px}
/* ページ名は小さく添え、各節の大見出しを主役にする。詳細度を上げて既存の .vl section の余白に勝たせる */
body .vcx-pagehead+section{border-top:0!important;padding-top:28px!important}
body .vcx-pagehead+section .secno{display:none}
@media (max-width:560px){.vcx-pagehead{padding:26px 18px 0}.vcx-pagehead+section{padding-top:28px}}

/* ホームの案内カード */
.vcx-tiles{border-top:1px solid var(--line);padding-top:64px;padding-bottom:64px}
.vcx-tilegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
a.vcx-tile{position:relative;display:grid;gap:8px;align-content:start;padding:0 0 18px;border:1px solid var(--line-strong,var(--line));background:var(--surface);color:var(--text);transition:transform .15s ease,box-shadow .15s ease}
a.vcx-tile:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--text)}
a.vcx-tile:focus-visible{outline:3px solid var(--positive);outline-offset:4px}
.vcx-tile img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-bottom:1px solid var(--line);background:#f4f3ef}
.vcx-tile-label{margin:8px 18px 0;font:700 12px/1.4 var(--font-mono,ui-monospace,monospace);letter-spacing:.1em;color:var(--brand)}
.vcx-tile strong{margin:0 44px 0 18px;font-size:18px;line-height:1.5;font-weight:850;text-wrap:balance}
.vcx-tile-go{position:absolute;right:16px;bottom:14px;font-size:20px;color:var(--brand)}
@media (max-width:900px){.vcx-tilegrid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.vcx-tiles{padding-top:40px;padding-bottom:40px}.vcx-tilegrid{grid-template-columns:1fr 1fr;gap:12px}.vcx-tile strong{font-size:14px;margin:0 12px}.vcx-tile-label{margin:4px 12px 0;font-size:11px}.vcx-tile-go{display:none}a.vcx-tile{padding-bottom:14px}}

/* サブページの足：前後のページとログイン */
.vcx-pagefoot{display:grid;gap:8px;padding-top:48px;padding-bottom:72px}
.vcx-pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:3px solid var(--text);padding-top:16px}
.vcx-pager a{font-weight:800;font-size:15px;color:var(--text)}
.vcx-pager a:hover{color:var(--brand)}
.vcx-pager .vcx-next{margin-left:auto;font-size:18px}

/* 実例ページ：入れ子だった節を単独で置くための余白 */
.vcx-example{border-top:0}

/* 実例ページ：白い箱の内側に余白を戻す（.vl section{padding:72px 0} に負けていた） */
body .vcx-example{padding-top:20px!important}
body .vcx-example .vc-pitch-guide{margin-top:0;padding:40px clamp(18px,4vw,48px)}

/* 表紙：見出しを4行に割らず、ログインを最初の画面に入れる */
body.vl main .editorialHero{grid-template-columns:minmax(420px,1fr) minmax(0,1.1fr);padding-top:44px;padding-bottom:56px}
body.vl .editorialHero h1{font-size:clamp(30px,2.7vw,46px);text-wrap:balance;margin:18px 0 14px}
body.vl .editorialHero .heroCopy{max-width:620px}
body.vl .editorialHero .heroSub{max-width:52ch}
@media (max-width:900px){body.vl main .editorialHero{grid-template-columns:1fr}}

/* 30分野：PCは4列、最初は一部だけ見せる */
@media (min-width:1200px){.ve-industry-grid,.vc-sectors{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}}
.vcx-collapsed>*:nth-child(n+9){display:none!important}
@media (max-width:1199px){.vcx-collapsed>*:nth-child(n+7){display:none!important}}
.vcx-more{display:block;margin:24px auto 0;min-height:52px;padding:12px 28px;border:1px solid var(--text);background:var(--surface);color:var(--text);font:800 15px/1.4 var(--font);cursor:pointer;box-shadow:4px 4px 0 var(--text)}
.vcx-more:hover{background:var(--text);color:var(--bg)}
.vcx-more:focus-visible{outline:3px solid var(--positive);outline-offset:4px}

/* ===== レビュー反映（2026-09-18） ===== */
/* 日本語ページの埋め込み .vl section{padding:72px 0} が新しい節の左右余白を消していた */
body.vl .vcx-section{padding:88px 24px}
body.vl .vcx-tiles{padding-top:56px;padding-bottom:56px}
body.vl .vcx-pagefoot{padding-top:40px;padding-bottom:64px}
@media (max-width:560px){
 body.vl .vcx-section,.vcx-section{padding:44px 18px}
 body.vl .vcx-tiles,.vcx-tiles{padding-top:32px;padding-bottom:32px}
 body.vl .vcx-pagefoot,.vcx-pagefoot{padding-top:32px;padding-bottom:48px}
 /* 指で押しやすい大きさ（44px以上） */
 .vc-header>.vcx-header-login,.vc-header .vc-language-switch summary{min-height:44px}
 .vc-main-nav a{min-height:44px;display:inline-flex;align-items:center}
 .vcx-pager a{min-height:44px;display:inline-flex;align-items:center}
 /* 使いどころ：写真カードの群は横へ送る */
 .vl .smallCaseGrid{display:flex!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -18px;padding:0 18px 10px}
 .vl .smallCase{flex:0 0 78%;scroll-snap-align:start}
 .vc-applications-grid{display:flex!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:0 20px 10px}
 .vc-application-card{flex:0 0 84%;scroll-snap-align:start}
 .vc-cases{display:flex!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:0 20px 10px}
 .vc-cases>.vc-case{flex:0 0 86%;scroll-snap-align:start}
 /* 新機能：図は左の小さなサムネイルに */
 #updates .vcx-card{display:grid;grid-template-columns:104px 1fr;gap:2px 12px;align-items:start}
 #updates .vcx-thumb{grid-row:1/span 4;width:104px;margin:0}
 #updates .vcx-card .vcx-date{justify-self:start;margin-bottom:4px}
 #updates .vcx-grid{gap:22px!important}
 /* ヘッダーの言語切替と重複する言語リンクの列 */
 .vc-multilingual-languages{display:none!important}
 /* フッターは2列に */
 .vl .siteFooter .footGrid{grid-template-columns:1fr 1fr;gap:24px 16px}
 .vl .siteFooter .footBrand{grid-column:1/-1}
}
/* 使いどころ：PCは3列、写真を少し低く */
@media (min-width:1100px){.vc-applications-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.vc-application-image{aspect-ratio:3/2;object-fit:cover}
/* 実例ページ：見出しを1段上げた分の見た目を元に合わせる */
.vcx-example .vc-pitch-guide>header h2{font-size:clamp(26px,3.4vw,42px);line-height:1.3;margin:0;max-width:28ch}
.vcx-example .vc-guide-step h3{font-size:22px;line-height:1.4;margin:0 0 12px;max-width:none}
/* 本文へ移動 */
.vcx-skip{position:absolute;left:-9999px;top:0;z-index:100;padding:10px 14px;background:var(--text);color:var(--bg);font-weight:800}
.vcx-skip:focus{left:8px;top:8px}
@media (max-width:560px){body.vl .editorialHero .ve-model-badge{order:7;align-self:flex-start}}

/* ===== セキュリティと動作環境（2026-09-18） ===== */
.vcx-trust{border-top:1px solid var(--line)}
.vcx-trustgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:28px;border:1px solid var(--line-strong,var(--line));background:var(--surface)}
.vcx-trustgrid article{padding:20px 18px;border-right:1px solid var(--line);display:grid;gap:8px;align-content:start}
.vcx-trustgrid article:last-child{border-right:0}
.vcx-trustgrid b{font-size:16px;line-height:1.45;font-weight:850;border-top:3px solid var(--brand);padding-top:10px}
.vcx-trustgrid span{font-size:13.5px;line-height:1.8;color:var(--text-muted)}
.vcx-h3{font-size:22px;font-weight:900;margin:48px 0 18px}
.vcx-diagram{margin:36px 0 0;padding:20px;border:1px solid var(--line-strong,var(--line));background:var(--surface);color:var(--text);overflow-x:auto}
.vcx-diagram svg{display:block;width:100%;min-width:760px;height:auto}
.vcx-diagram figcaption{margin-top:12px;font-size:12px;color:var(--text-muted)}
.vcx-diagram a,.vcx-table a{color:var(--text);text-decoration:underline;text-underline-offset:3px;font-weight:700}
.vcx-section .vcx-grid:has(>.vcx-card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.vcx-tablewrap{margin-top:28px;overflow-x:auto;border:1px solid var(--line-strong,var(--line));background:var(--surface)}
.vcx-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.8;min-width:640px}
.vcx-table th,.vcx-table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.vcx-table thead th{white-space:nowrap;font:700 12px/1.4 var(--font-mono,ui-monospace,monospace);letter-spacing:.08em;color:var(--text-muted);background:var(--bg)}
.vcx-table tbody th{font-weight:850;white-space:nowrap;width:1%}
.vcx-table tbody tr:last-child>*{border-bottom:0}
.vcx-table td.ok,.vcx-table td.part,.vcx-table td.todo{font-size:18px;font-weight:900;text-align:center;width:1%;white-space:nowrap}
.vcx-table td.ok{color:var(--positive)}.vcx-table td.part{color:var(--text)}.vcx-table td.todo{color:var(--brand)}
@media (max-width:900px){.vcx-trustgrid{grid-template-columns:1fr 1fr}.vcx-trustgrid article:nth-child(2){border-right:0}.vcx-trustgrid article:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media (max-width:560px){.vcx-trustgrid{grid-template-columns:1fr}.vcx-trustgrid article{border-right:0;border-bottom:1px solid var(--line)}.vcx-trustgrid article:last-child{border-bottom:0}.vcx-section .vcx-grid:has(>.vcx-card:nth-child(4):last-child){grid-template-columns:1fr}.vcx-table tbody th{white-space:normal;width:auto}.vcx-table{min-width:0;font-size:13px}.vcx-table th,.vcx-table td{padding:10px}}

/* ===== セキュリティページ v2：絵とアイコンで見せる（2026-09-18） ===== */
.vcx-visual{margin:32px 0 0;border:1px solid var(--line-strong,var(--line));background:#f4f3ef}
.vcx-visual img{display:block;width:100%;height:auto}
.vcx-visual figcaption{padding:10px 16px;font-size:12px;color:var(--text-muted);background:var(--surface);border-top:1px solid var(--line)}
.vcx-pillars,.vcx-envgrid{display:grid;gap:16px;margin-top:28px}
.vcx-pillars{grid-template-columns:repeat(4,minmax(0,1fr))}
.vcx-envgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.vcx-pillars article,.vcx-envgrid article{display:grid;gap:8px;align-content:start;padding:22px 20px;border:1px solid var(--line-strong,var(--line));background:var(--surface)}
.vcx-pillars svg,.vcx-envgrid svg{width:44px;height:44px;fill:none;stroke:var(--text);stroke-width:2;stroke-linecap:square}
.vcx-pillars svg .a,.vcx-envgrid svg .a{stroke:var(--brand);stroke-width:2.5}
.vcx-section .vcx-pillars h3,.vcx-section .vcx-envgrid h3{font-size:17px;line-height:1.5;margin:4px 0 0;font-weight:850}
.vcx-section .vcx-pillars p,.vcx-section .vcx-envgrid p{font-size:13.5px;line-height:1.85;margin:0;color:var(--text-muted);max-width:none}
.vcx-section .vcx-envgrid p.vcx-env-main{font-size:15px;line-height:1.6;font-weight:800;color:var(--text)}
.vcx-envgrid a{color:var(--text);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.vcx-callout{display:flex;flex-wrap:wrap;gap:20px 32px;align-items:center;justify-content:space-between;margin-top:32px;padding:24px 28px;border:2px solid var(--text);background:var(--surface)}
.vcx-callout b{font-size:18px;font-weight:900}
.vcx-section .vcx-callout p{margin:6px 0 0;font-size:14px;line-height:1.85;color:var(--text-muted);max-width:56ch}
.vcx-status{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;margin-top:28px}
.vcx-status-col{border:1px solid var(--line-strong,var(--line));background:var(--surface);padding:24px}
.vcx-section .vcx-status-col h3{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:900;margin:0 0 14px}
.vcx-status-col h3 svg{width:26px;height:26px;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.vcx-status-col.done{border-top:4px solid var(--positive)}.vcx-status-col.done h3 svg{stroke:var(--positive)}
.vcx-status-col.plan{border-top:4px solid var(--brand)}.vcx-status-col.plan h3 svg{stroke:var(--brand)}
.vcx-status-col ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
.vcx-status-col li{padding:12px 0;border-top:1px solid var(--line);font-size:13.5px;line-height:1.8;color:var(--text-muted)}
.vcx-status-col li b{display:block;font-size:15px;color:var(--text);font-weight:800}
body p.vcx-note.vcx-note-strong{font-size:14.5px;color:var(--text);font-weight:700;border-left:4px solid var(--brand);padding:4px 0 4px 14px;margin-top:24px}
@media (max-width:1000px){.vcx-pillars{grid-template-columns:1fr 1fr}.vcx-envgrid{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.vcx-status{grid-template-columns:1fr}}
@media (max-width:560px){.vcx-pillars,.vcx-envgrid{grid-template-columns:1fr}.vcx-callout{padding:20px 18px}.vcx-callout .vcx-login{width:100%}}
.vcx-visual-arch img{aspect-ratio:2/1;object-fit:cover}
.vcx-visual-dev img{aspect-ratio:5/2;object-fit:cover;object-position:50% 45%}
