/* ABLENET /security/ 共通（ヘッダー・フッター・ベース） */
:root {
  --bg: #ffffff;
  --soft: #f4f7fa;
  --ink: #16202e;
  --slate: #586374;
  --mute: #8b97a6;
  --line: #e5eaf0;
  --navy: #0e2236;
  --navy2: #15314c;
  --orange: #1f5fb5;
  --orange-dk: #16458c;
  --orange-tint: #e9f1fc;
  --green: #1f9d63;
  --red: #d64545;
  --maxw: 1120px;
  --gut: 24px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--gothic);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  z-index: 200;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.serif { font-family: var(--serif); }

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(20, 40, 70, 0.4);
}
.header-sp-cta { display: none; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: 0.04em; }
.brand .logo { height: 26px; width: auto; display: block; }
.brand .sub { font-size: 16px; color: var(--orange-dk); letter-spacing: 0.12em; font-weight: 800; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu nav { display: flex; gap: 16px; }
.menu nav a { font-size: 13.5px; font-weight: 500; color: var(--slate); transition: color 0.2s; }
.menu nav a:hover { color: var(--orange-dk); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(31, 95, 181, 0.45);
}
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dk); }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.hamb {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamb span { width: 24px; height: 2px; background: var(--ink); transition: 0.3s; }
.mobile { display: none; }

/* footer */
footer.sec-site-footer,
footer {
  background: #0a1a2b;
  color: rgba(255, 255, 255, 0.7);
  padding: 54px 0 28px;
  font-size: 13.5px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 32px;
  margin-bottom: 22px;
}
@media (min-width: 760px) {
  .foot-top {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
  }
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot-top .brand {
  color: #fff;
  align-items: center;
}
.foot-top .brand .sub {
  color: #7fb4e6;
}
.foot-top .brand .logo,
.foot-top .brand .logo-white {
  height: 28px;
  width: auto;
}
.foot-tagline {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}
.foot-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.foot-services li {
  font-size: 12px;
  font-weight: 700;
  color: #cfe0ee;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 11px;
  letter-spacing: 0.02em;
}
.foot-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: color 0.2s;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
}
.foot-legal a {
  color: rgba(255, 255, 255, 0.6);
}
.foot-legal a:hover { color: #fff; }
.copy { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 90;
  box-shadow: 0 8px 20px -8px rgba(31, 95, 181, 0.6);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--orange-dk); }

@media (max-width: 1100px) {
  .nav {
    height: auto;
    min-height: 56px;
    padding: 8px var(--gut);
    gap: 8px;
  }
  header .nav {
    padding-left: calc(var(--gut) + 4px);
  }
  .brand {
    flex: 1;
    min-width: 0;
    gap: 8px;
  }
  .brand .sub {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .menu nav { display: none; }
  .menu .menu-cta { display: none; }
  .menu { gap: 0; flex-shrink: 0; }
  .hamb { display: flex; flex-shrink: 0; }
  .header-sp-cta {
    display: flex;
    justify-content: flex-end;
    padding: 8px calc(var(--gut) + 8px) 10px var(--gut);
    margin-top: 2px;
    border-bottom: 1px solid var(--line);
  }
  .header-sp-cta .btn {
    width: auto;
    justify-content: center;
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  header.scrolled .header-sp-cta {
    border-bottom-color: var(--line);
  }
  .mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px var(--gut) 24px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 20px 40px -24px rgba(20, 40, 70, 0.4);
    z-index: 99;
  }
  .mobile.open { display: flex; }
  .mobile a { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--soft); }
}

@media (max-width: 400px) {
  header .nav {
    padding-left: var(--gut);
    padding-right: 16px;
  }
  .brand .logo { height: 22px; }
  .brand .sub { font-size: 12px; letter-spacing: 0.06em; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
