/* ============================================================
   下層ページ共通スタイル（V260801）
   トップページのデザイン言語を継承：暗い背景・白文字・赤アクセント・細い罫線
============================================================ */
:root{
  --base:#F5F1E8; --cream:#EBE5D6;
  /* 下層ページは提案PowerPoint「パターンD」に統一 */
  --ink:#141822;            /* ダーク（パターンD） */
  --ink-2:#11141A;          /* さらに濃いダーク */
  --red:#0AD3E8;            /* アクセント＝シアン（クラス名は互換のため据え置き） */
  --cyan:#0AD3E8; --sky:#2AA8E6; --blue:#1E74E0; --violet:#5B4FDC; --purple:#7A3FD4;
  --sub-light:#C5CCD8; --sub-mid:#8A92A0;
  --grad: linear-gradient(90deg,#0AD3E8 0%,#1E74E0 50%,#7A3FD4 100%);
  --line-dark:rgba(255,255,255,.18);
  --font:"Meiryo","メイリオ",sans-serif;
  --font-display:Arial,"Helvetica Neue",sans-serif;
  --maxw:1080px;
}
*{ margin:0; padding:0; box-sizing:border-box; font-style:normal; }
html{ scroll-behavior:smooth; }
body{
  background:var(--ink); color:#fff; font-family:var(--font); font-weight:500;
  line-height:1.9; -webkit-font-smoothing:antialiased; letter-spacing:.02em;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 7vw; }

/* HEADER */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; justify-content:space-between; align-items:center;
  padding:1.2rem 5vw; background:rgba(17,20,26,.94); backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.1); gap:1rem;
}
.brand img{ height:34px; width:auto; display:block; }
nav{ display:flex; align-items:center; }
nav a{ font-weight:500; font-size:.8rem; color:rgba(255,255,255,.85); margin-left:1.5rem; letter-spacing:.04em; transition:color .3s; white-space:nowrap; }
nav a:hover{ color:#fff; }
nav a.nav-cta{ background:var(--red); color:#0b1016; padding:.5rem 1.1rem; border-radius:2px; font-weight:700; }
nav a.nav-cta:hover{ opacity:.85; color:#0b1016; }
@media(max-width:860px){ nav a:not(.nav-cta){ display:none; } }

/* PAGE HEAD */
.page-head{ padding:22vh 0 8vh; border-bottom:1px solid var(--line-dark); }
.breadcrumb{ font-size:.78rem; color:rgba(255,255,255,.55); letter-spacing:.04em; margin-bottom:1.6rem; }
.breadcrumb a{ color:rgba(255,255,255,.7); }
.breadcrumb a:hover{ color:#fff; }
.breadcrumb span{ color:var(--red); padding:0 .5rem; }
.page-eyebrow{ font-family:var(--font-display); font-weight:700; font-size:.85rem; letter-spacing:.14em; color:var(--red); margin-bottom:1rem; }
.page-head h1{ font-weight:700; font-size:clamp(1.9rem,4.4vw,3.2rem); line-height:1.4; letter-spacing:.02em; margin-bottom:1.4rem; }
.page-lead{ color:rgba(255,255,255,.85); max-width:42em; font-size:1.02rem; line-height:2.0; }

/* SECTION */
section{ padding:10vh 0; }
.sec-title{ font-weight:700; font-size:clamp(1.4rem,3vw,2.1rem); line-height:1.5; margin-bottom:1.2rem; letter-spacing:.02em; }
.body-text{ color:rgba(255,255,255,.88); font-size:1rem; line-height:2.0; max-width:42em; margin-bottom:1.6rem; }
.body-text a{ color:var(--red); text-decoration:underline; text-underline-offset:.2em; }

/* リスト（STEP・対象企業などの編集的な行） */
.row-list{ border-top:1px solid var(--line-dark); }
.row-item{ display:grid; grid-template-columns:auto 1fr; gap:2.4rem; padding:2.6rem 0; border-bottom:1px solid var(--line-dark); }
.row-num{ font-family:var(--font-display); font-weight:700; font-size:1.7rem; color:var(--red); line-height:1.2; }
.row-body h2, .row-body h3{ font-family:var(--font-display); font-weight:700; font-size:1.45rem; letter-spacing:.04em; margin-bottom:.2rem; color:#fff; }
.row-body .row-jp{ font-weight:700; font-size:1.05rem; color:#fff; margin-bottom:1rem; }
.row-body p{ color:rgba(255,255,255,.82); font-size:.97rem; line-height:1.9; max-width:44em; }
.row-body .issue{ display:flex; gap:.7rem; align-items:flex-start; margin-top:.8rem; }
.row-body .issue::before{ content:"課題"; flex:none; font-size:.68rem; font-weight:700; letter-spacing:.1em; color:#0b1016; background:var(--red); padding:.15rem .5rem; border-radius:2px; margin-top:.45rem; }
@media(max-width:560px){ .row-item{ grid-template-columns:1fr; gap:.8rem; } }

/* ケースページ（症状 → 見立て → 打ち手の一部） */
.case-tag{ display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.1em; color:#0b1016; background:var(--red); padding:.2rem .6rem; border-radius:2px; margin-bottom:1.2rem; }
.sym-list{ list-style:none; margin-top:1rem; max-width:44em; }
.sym-list li{ position:relative; padding:1.1rem 0 1.1rem 2rem; border-bottom:1px solid var(--line-dark); color:rgba(255,255,255,.88); font-size:.98rem; line-height:1.9; }
.sym-list li::before{ content:"✓"; position:absolute; left:0; top:1.1rem; color:var(--red); font-weight:700; }
.approach{ counter-reset:a; margin-top:1.4rem; max-width:46em; }
.approach li{ list-style:none; position:relative; padding:1.6rem 0 1.6rem 3.4rem; border-bottom:1px solid var(--line-dark); }
.approach li::before{ counter-increment:a; content:"0" counter(a); position:absolute; left:0; top:1.7rem; font-family:var(--font-display); font-weight:700; color:var(--red); }
.approach li strong{ display:block; font-size:1.05rem; color:#fff; margin-bottom:.4rem; font-weight:700; }
.approach li span{ display:block; color:rgba(255,255,255,.78); font-size:.94rem; line-height:1.85; }
.veil{ margin-top:2rem; padding:1.4rem 1.6rem; border:1px dashed rgba(255,255,255,.3); border-radius:3px; color:rgba(255,255,255,.65); font-size:.87rem; line-height:1.85; max-width:46em; }
.rel-links{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.4rem; }
.rel-links a{ display:inline-block; font-size:.85rem; font-weight:700; padding:.6rem 1.2rem; border:1px solid var(--line-dark); border-radius:2px; color:rgba(255,255,255,.9); transition:border-color .3s,background .3s; }
.rel-links a:hover{ border-color:var(--red); background:rgba(10,211,232,.12); }
.other-cases{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.5rem; }
.other-cases a{ display:block; background:rgba(255,255,255,.04); border:1px solid var(--line-dark); border-radius:3px; padding:1.4rem 1.5rem; font-size:.92rem; line-height:1.7; color:rgba(255,255,255,.85); transition:border-color .3s,background .3s; }
.other-cases a:hover{ border-color:var(--red); background:rgba(255,255,255,.07); }
@media(max-width:760px){ .other-cases{ grid-template-columns:1fr; } }

/* 定義表 */
.def-table{ width:100%; max-width:44em; border-collapse:collapse; }
.def-table th, .def-table td{ text-align:left; vertical-align:top; padding:1.1rem 0; border-bottom:1px solid var(--line-dark); font-size:.97rem; }
.def-table th{ width:11em; font-weight:700; color:#fff; }
.def-table td{ color:rgba(255,255,255,.85); }
.placeholder-note{ color:var(--cream); font-size:.85rem; }
@media(max-width:520px){ .def-table th{ width:7.5em; font-size:.9rem; display:block; padding-bottom:.3rem; border:none; } .def-table td{ display:block; padding-top:0; } }

/* CTA */
.cta-row{ display:flex; flex-wrap:wrap; gap:1rem; margin-top:2.5rem; }
.btn{ display:inline-flex; align-items:center; font-weight:700; font-size:.95rem; letter-spacing:.04em; padding:1.05rem 2.1rem; border-radius:2px; transition:opacity .3s,background .3s; }
.btn-primary{ background:var(--red); color:#0b1016; box-shadow:0 8px 24px rgba(10,211,232,.28); }
.btn-primary:hover{ opacity:.85; }
.btn-ghost{ border:1px solid rgba(255,255,255,.6); color:#fff; }
.btn-ghost:hover{ background:rgba(255,255,255,.12); }

/* CTAバンド */
.cta-band{ background:var(--ink-2); border-top:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); }
.cta-band h2{ font-weight:700; font-size:clamp(1.3rem,2.6vw,1.9rem); line-height:1.6; margin-bottom:1rem; }
.cta-band p{ color:rgba(255,255,255,.8); max-width:40em; }

/* FOOTER */
footer{ background:var(--ink-2); color:var(--base); padding:5rem 7vw 7rem; }
.footer-inner{ max-width:var(--maxw); margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:2.5rem; }
.footer-brand img{ height:44px; width:auto; display:block; margin-bottom:.8rem; }
.footer-brand small{ display:block; font-weight:500; font-size:.8rem; color:#9b8f7e; letter-spacing:.05em; line-height:1.9; }
.footer-links{ display:flex; gap:3rem; flex-wrap:wrap; }
.footer-col a{ display:block; font-weight:500; font-size:.85rem; color:#bcae9c; margin-bottom:.8rem; transition:color .3s; }
.footer-col a:hover{ color:var(--base); }
.footer-col .f-head{ font-size:.72rem; letter-spacing:.12em; color:#6e655a; margin-bottom:1.1rem; font-weight:700; }
.copyright{ max-width:var(--maxw); margin:3rem auto 0; padding-top:2rem; border-top:1px solid rgba(255,255,255,.1); font-weight:400; font-size:.75rem; color:#8a7e6d; letter-spacing:.05em; }

/* スマホ固定CTA */
.sticky-cta{ display:none; position:fixed; left:0; right:0; bottom:0; z-index:110; background:var(--red); color:#0b1016; text-align:center; padding:1.05rem; font-weight:700; font-size:1rem; letter-spacing:.05em; box-shadow:0 -6px 20px rgba(0,0,0,.35); }
@media(max-width:760px){ .sticky-cta{ display:block; } body{ padding-bottom:3.6rem; } }

/* パターンDのグラデーション装飾 */
.grad-line{ height:3px; width:88px; background:var(--grad); border-radius:2px; margin-bottom:1.6rem; }
.nb{ display:inline-block; }

/* 7つのSTEPを見る：シアンの枠線＋アイコンで、相談ボタンと同格に見せる */
.btn-outline-cyan{
  display:inline-flex; align-items:center; gap:.6rem;
  border:2px solid var(--cyan); color:var(--cyan); background:rgba(10,211,232,.08);
  font-weight:700; transition:background .3s, color .3s, transform .3s;
}
.btn-outline-cyan svg{ width:19px; height:19px; flex:none; }
.btn-outline-cyan:hover{ background:var(--cyan); color:#0b1016; transform:translateY(-2px); }
