:root{
  --bg:#0b1020;
  --surface:#0f1733;
  --text:#e9ecf5;
  --muted:#b7c0da;
  --line:rgba(255,255,255,.12);
  --accent:#67d4ff;
  --accent2:#7cffb2;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --max: 1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(103,212,255,.20), transparent 60%),
    radial-gradient(700px 500px at 90% 0%, rgba(124,255,178,.12), transparent 55%),
    linear-gradient(180deg, var(--bg), #070a14 55%, #060813);
  line-height:1.7;
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.9}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(11,16,32,.65);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:700; letter-spacing:.02em;
}
.logo{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}
.brand small{display:block; font-weight:600; color:var(--muted); margin-top:-2px}
.menu{
  display:flex; gap:18px; align-items:center;
}
.menu a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
}
.menu a.active, .menu a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}
.cta{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(103,212,255,.18), rgba(124,255,178,.12));
  border:1px solid rgba(103,212,255,.22);
  color:var(--text);
}
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
}
.burger span{
  display:block; width:18px; height:2px; margin:5px auto;
  background: var(--text);
  border-radius:2px;
}
@media (max-width: 920px){
  .menu{display:none}
  .burger{display:block}
  .cta{display:none}
}

/* mobile drawer */
.drawer{
  position:fixed; inset:0; z-index:60;
  display:none;
  background: rgba(0,0,0,.55);
}
.drawer.open{display:block}
.drawer-panel{
  position:absolute; top:0; right:0; height:100%; width:min(360px, 86vw);
  background: rgba(15,23,51,.98);
  border-left:1px solid var(--line);
  box-shadow: var(--shadow);
  padding:18px;
}
.drawer-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px}
.drawer-links a{
  display:block; padding:12px 12px; border-radius:14px;
  color:var(--muted);
}
.drawer-links a:hover{color:var(--text); background: rgba(255,255,255,.06)}
.drawer-cta{margin-top:12px}
.drawer-cta a{display:flex; justify-content:center; width:100%}

/* hero */
.hero{padding:64px 0 26px}
.hero-grid{
  display:grid; grid-template-columns: 1.2fr .8fr;
  gap:28px; align-items:start;
}
@media (max-width: 920px){
  .hero{padding:42px 0 18px}
  .hero-grid{grid-template-columns:1fr}
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:600;
}
h1{font-size:44px; line-height:1.15; margin:16px 0 14px}
@media (max-width: 920px){
  h1{font-size:34px}
}
.lead{color:var(--muted); font-size:16px; margin:0 0 22px}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(103,212,255,.28), rgba(124,255,178,.20));
  border:1px solid rgba(103,212,255,.26);
}
.card{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.side{
  padding:18px;
}
.side h3{margin:0 0 10px; font-size:16px}
.side ul{margin:0; padding-left:18px; color:var(--muted)}
.side li{margin:6px 0}

/* sections */
section{padding:26px 0}
.section-title{
  display:flex; align-items:end; justify-content:space-between;
  gap:16px; margin:0 0 12px;
}
.section-title h2{margin:0; font-size:22px}
.section-title p{margin:0; color:var(--muted)}
.grid3{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:14px;
}
@media (max-width: 920px){
  .grid3{grid-template-columns:1fr}
}
.feature{
  padding:18px;
}
.feature .tag{
  display:inline-block; font-size:12px; color:var(--muted);
  padding:4px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  margin-bottom:10px;
}
.feature h3{margin:4px 0 8px; font-size:18px}
.feature p{margin:0; color:var(--muted)}

.split{
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
@media (max-width: 920px){ .split{grid-template-columns:1fr} }
.panel{padding:18px}
.panel h3{margin:0 0 10px}
.panel p{margin:0; color:var(--muted)}

.footer{
  padding:28px 0 44px;
  border-top:1px solid var(--line);
  margin-top:18px;
  color:var(--muted);
}
.footer-grid{
  display:grid; grid-template-columns: 1.2fr .8fr;
  gap:12px;
}
@media (max-width: 920px){ .footer-grid{grid-template-columns:1fr} }
.footer a{color:var(--muted)}
.small{font-size:12px; color:rgba(183,192,218,.85)}

/* page header */
.pagehead{padding:34px 0 10px}
.pagehead h1{font-size:32px; margin:8px 0 8px}
.pagehead p{margin:0; color:var(--muted)}

/* tables */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.table th{color:var(--muted); font-weight:700}
.table tr:last-child td{border-bottom:none}

/* bottom fixed CTA on mobile */
.bottom-cta{
  position:fixed; left:12px; right:12px; bottom:12px;
  display:none; gap:10px;
  z-index:55;
}
.bottom-cta a{
  flex:1;
  text-align:center;
  padding:12px 10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(15,23,51,.92);
  backdrop-filter: blur(10px);
}
.bottom-cta a.primary{
  background: linear-gradient(135deg, rgba(103,212,255,.32), rgba(124,255,178,.22));
  border:1px solid rgba(103,212,255,.28);
}
@media (max-width: 920px){
  .bottom-cta{display:flex}
}


.brand img{display:block; height:38px; width:auto}
@media (max-width: 920px){.brand img{height:34px}}


/* === EXECOM White Base Override === */
:root{
  --bg:#ffffff;
  --panel:#ffffff;
  --text:#0B2A55;
  --muted:#5c6f8a;
  --line:#d9e1ec;
}
body{background:#ffffff;color:var(--text);}
.card,.panel{background:#ffffff;}
header{background:#ffffff;border-bottom:1px solid var(--line);}
.menu a{color:#0B2A55;}
.menu a.cta{background:#1E5FBF;color:#ffffff;}
footer{background:#f5f8fc;color:#0B2A55;}
.drawer{background:#ffffff;}
.drawer a{color:#0B2A55;}


/* === Header subtle gradient & active menu === */
header{
  background: linear-gradient(90deg, #f6faff 0%, #ffffff 60%);
}

.menu a{
  position: relative;
}

.menu a.active{
  color:#1E5FBF;
  font-weight:600;
}

.menu a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:3px;
  border-radius:2px;
  background:#1E5FBF;
}


/* === Header menu: normalize CTA === */
.menu a.cta{
  background:none;
  color:#0B2A55;
  font-weight:500;
}
.menu a.cta:hover{
  color:#1E5FBF;
}

/* === Normalize all header menu items === */
.menu a{
  background:none;
  border-radius:0;
}

/* === Header menu border reset === */
.menu a,
.menu a.cta{
  border:none !important;
  box-shadow:none !important;
  outline:none !important;
}


/* === Mobile drawer (hamburger) visibility fix for white theme === */
.drawer-backdrop{
  background: rgba(11, 42, 85, 0.18);
}

.drawer{
  background: #ffffff !important;
  color: var(--text) !important;
  border-left: 1px solid var(--line);
}

.drawer-head{
  background: linear-gradient(90deg, #f6faff 0%, #ffffff 60%);
  border-bottom: 1px solid var(--line);
}

.drawer .drawer-links a{
  color: var(--text) !important;
  background: transparent !important;
  border: none !important;
}

.drawer .drawer-links a:hover{
  color: #1E5FBF !important;
  background: rgba(30, 95, 191, 0.06) !important;
}

.drawer .drawer-links a.active{
  color:#1E5FBF !important;
  font-weight:600;
}

.drawer .drawer-links a.active::after{
  content:"";
  display:block;
  height:3px;
  border-radius:2px;
  background:#1E5FBF;
  margin-top:8px;
}

.drawer button,
.drawer .btn,
.drawer .iconbtn,
.drawer .close,
.drawer [aria-label="閉じる"]{
  color: var(--text) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.drawer svg{
  fill: currentColor;
  stroke: currentColor;
}


/* === FINAL mobile drawer hard override === */
@media (max-width: 980px){
  .drawer,
  .drawer *{
    background-color: #ffffff !important;
    color: #0B2A55 !important;
  }

  .drawer .drawer-links a{
    padding: 14px 6px;
    font-size: 16px;
  }

  .drawer .drawer-links a.active{
    color:#1E5FBF !important;
  }

  .drawer .drawer-links a.active::after{
    background:#1E5FBF !important;
  }

  .drawer .btn,
  .drawer button{
    background:#ffffff !important;
    color:#0B2A55 !important;
    border:1px solid var(--line) !important;
  }
}
