:root{
  --bg:#f5f6f8;        /* page base */
  --panel:#ffffff;     /* cards/panels */
  --text:#111827;      /* main text */
  --muted:#6b7280;     /* secondary text */
  --line:#e5e7eb;      /* borders */
  --accent:#374151;    /* dark gray (accent) */
  --accent2:#9ca3af;   /* light gray (secondary accent) */
  --link:#111827;      /* links (simple) */
  --shadow: 0 10px 30px rgba(17,24,39,.10);
  --radius: 16px;
  --max: 980px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 500px at 20% 10%, rgba(17,24,39,.05), transparent 55%),
    radial-gradient(900px 400px at 85% 20%, rgba(17,24,39,.04), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg) 35%, #eef0f3 100%);
  line-height:1.7;
}
a{color:var(--link); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px}
a:hover{opacity:.85}
.wrap{max-width:var(--max); margin:0 auto; padding:24px}
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0 18px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  letter-spacing:.04em;
}
.mark{
  width:42px; height:42px;
  border-radius:12px;
  box-shadow: var(--shadow);
  object-fit: contain;
  display:block;
  background: transparent;
}
.brand h1{
  font-size:16px; margin:0;
}
.nav{
  display:flex; flex-wrap:wrap; gap:10px;
  font-size:13px; color:var(--muted);
}
.nav a{color:var(--muted)}
.nav a:hover{color:var(--text)}
.hero{
  border:1px solid var(--line);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(520px 200px at 15% 20%, rgba(17,24,39,.07), transparent 62%),
    radial-gradient(520px 200px at 85% 30%, rgba(17,24,39,.05), transparent 66%);
  pointer-events:none;
  opacity:.65;
}
.hero > *{position:relative}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px;
  color:#1f3a6d;
  border:1px solid var(--line);
  padding:6px 10px; border-radius:999px;
  background: linear-gradient(
    180deg,
    rgba(17,24,39,.06),
    rgba(17,24,39,.03)
  );
}
.dot{width:8px; height:8px; border-radius:99px; background: var(--accent)}
.hero h2{
  margin:14px 0 10px;
  font-size:26px;
  letter-spacing:.02em;
}
.hero p{margin:0 0 14px; color:var(--text)}
.ctaRow{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:14px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(17,24,39,.06),
    rgba(17,24,39,.03)
  );
  color:var(--text);
  font-weight:600;
  font-size:14px;
}
.btn.primary{
  border-color: rgba(17,24,39,.22);
  background: linear-gradient(
    180deg,
    rgba(17,24,39,.06),
    rgba(17,24,39,.03)
  );
}
.btn small{font-weight:500; color:var(--muted)}
.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  margin-top:16px;
}
@media (max-width: 860px){
  .grid{grid-template-columns:1fr}
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(17,24,39,.10);
}
.card h3{
  margin:0 0 10px; font-size:16px;
  display:flex; align-items:center; gap:10px;
}
.badge{
  font-size:12px;
  color:#1f3a6d;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(17,24,39,.06),
    rgba(17,24,39,.03)
  );
}
ul{margin:10px 0 0; padding-left:18px}
li{margin:6px 0; color:var(--text)}
.muted{color:var(--muted)}
.line{height:1px; background:var(--line); margin:14px 0}
.foot{
  margin:22px 0 8px;
  color:var(--muted);
  font-size:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
}
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}


/* --- video embed --- */
.videoCard{
  margin-top:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.65);
  border-radius: 14px;
  padding:12px;
}
.videoHead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.videoWrap{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow:hidden;
  background: rgba(17,24,39,.06);
  border:1px solid rgba(17,24,39,.08);
}
.videoWrap video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.videoNote{
  margin-top:8px;
  font-size:12px;
}

/* === Hero CTA buttons: hover transforms to fixed blue/green button style (only these 3) === */
.ctaRow .btn{
  position: relative;
  align-items: baseline;   /* keep main text + small on one line baseline */
  line-height: 1.15;
  text-decoration: none;   /* prevent default underline */
}

.ctaRow .btn small{
  display: inline-block;
  line-height: 1.15;
  vertical-align: baseline;
  position: relative;
  top: 0;
}

/* On hover: become the "fixed" button style from the latest CSS */
.ctaRow .btn:hover{
  background: linear-gradient(135deg, rgba(96,165,250,.10), rgba(134,239,172,.08));
  border-color: rgba(34,76,143,.55);
  color: #224c8f; /* slightly blue navy */
  filter: saturate(.95) brightness(.98);
  text-decoration: none;
}

.ctaRow .btn:hover small{
  color: rgba(34,76,143,.85);
}

/* Single straight underline across the button on hover */
.ctaRow .btn:hover::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  height:1px;
  bottom:9px;
  background: currentColor;
  opacity:.35;
  pointer-events:none;
  border-radius:1px;
}

/* === Titles initial color navy === */
.hero h2,
.card h3,
#recruit,
#about h3,
#next h3,
#contact h3 {
  color: #1f3a6d;
}

/* === Header title navy tone === */
.brand h1 {
  color: #1f3a6d;
}

.brand .muted {
  color: rgba(31,58,109,.75);
}

