:root {
  --bg: #07111d;
  --text: #f5f8fb;
  --muted: rgba(245, 248, 251, .72);
  --line: rgba(255,255,255,.16);
  --blue: #39a7e8;
  --blue2: #75d8ff;
  --shadow: 0 28px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--bg);
  line-height: 1.85;
  letter-spacing: .02em;
}
a { color: inherit; text-decoration: none; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(110deg, rgba(5,12,22,.97), rgba(8,19,31,.76)), url("bg.jpg") center / cover no-repeat;
}
.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(80,178,255,.22), transparent 32%),
    radial-gradient(circle at 25% 74%, rgba(47,142,216,.18), transparent 28%),
    linear-gradient(90deg, rgba(4,12,22,.98) 0%, rgba(4,12,22,.78) 46%, rgba(4,12,22,.36) 100%);
}
.cursor-light {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(70,181,255,.14), transparent 64%);
  transform: translate(-50%, -50%);
  opacity: .72;
  transition: opacity .3s ease;
}

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 72px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 76px;
}
.brand img {
  width: 112px;
  height: auto;
  display: block;
}
.global-nav {
  display: flex;
  gap: 28px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.global-nav a { transition: color .2s ease; }
.global-nav a:hover { color: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: 74px;
  align-items: center;
  min-height: 680px;
}
.eyebrow,
.section-label {
  color: rgba(183, 218, 244, .78);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1 {
  margin: 22px 0 28px;
  font-size: clamp(46px, 6.2vw, 86px);
  line-height: 1.08;
  letter-spacing: -.075em;
  font-weight: 900;
}
.lead {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.8;
}
.body-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: #fff; color: #07111d; }
.button.secondary {
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.hero-visual { perspective: 900px; }
.angle-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.055));
  border-radius: 42px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform-style: preserve-3d;
  overflow: hidden;
}
.angle-card::before {
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:42px;
  background: linear-gradient(135deg, rgba(117,216,255,.30), transparent 42%, rgba(255,255,255,.12));
  pointer-events:none;
}
.angle-card svg {
  position: relative;
  width: 100%;
  display: block;
  filter: drop-shadow(0 20px 36px rgba(0,0,0,.22));
}
.angle-meta {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(6,16,28,.74);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--blue2);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.angle-meta.top { top: 38px; right: 38px; }
.angle-meta.bottom { bottom: 38px; left: 38px; }

.grid-fade { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.05); }
.grid-lines path { stroke: rgba(255,255,255,.035); stroke-width: 1; }
.pulse {
  fill: url(#glow);
  animation: pulse 4s ease-in-out infinite;
  transform-origin: 260px 286px;
}
.orbit {
  fill:none;
  stroke: rgba(255,255,255,.22);
  stroke-width:1.3;
  stroke-dasharray: 4 12;
  transform-origin: 260px 286px;
  animation: spin 28s linear infinite;
}
.orbit-2 { animation-duration: 38s; animation-direction: reverse; opacity: .7; }
.orbit-3 { animation-duration: 54s; opacity: .45; }
.arc-path {
  fill:none;
  stroke: rgba(255,255,255,.44);
  stroke-width: 2.2;
  stroke-dasharray: 8 12;
}
.tangent-line {
  fill:none;
  stroke: url(#lineGrad);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 16px rgba(57,167,232,.85));
}
.secondary-line {
  fill:none;
  stroke: rgba(117,216,255,.20);
  stroke-width: 2;
  stroke-linecap: round;
}
.point { filter: drop-shadow(0 0 12px rgba(255,255,255,.8)); }
.point-main {
  fill: var(--blue);
  opacity:.88;
  filter: drop-shadow(0 0 26px rgba(57,167,232,.9));
}
.point-a,
.point-b,
.point-c { fill:#7fdcff; }
.angle-sweep {
  fill: rgba(117,216,255,.08);
  stroke: rgba(117,216,255,.18);
}
.visual-word {
  fill: rgba(255,255,255,.40);
  font-size: 12px;
  letter-spacing: .18em;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{opacity:.72; transform: scale(1)} 50%{opacity:1; transform:scale(1.07)} }

.section,
.concept,
.contact,
.trust {
  margin-top: 96px;
}
.intro {
  max-width: 920px;
  margin-top: 72px;
  padding: 28px 32px 30px;
  color: var(--muted);
  font-size: 18px;
  border: 1px solid rgba(117,216,255,.18);
  border-left: 4px solid var(--blue);
  border-radius: 24px;
  background: rgba(6, 18, 32, .50);
  backdrop-filter: blur(14px);
}
.intro__label {
  margin-bottom: 10px;
  color: var(--blue2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.intro p {
  max-width: 820px;
  margin: 0 0 .85em;
  line-height: 1.9;
}
.intro p:last-child { margin-bottom: 0; }

.section-head {
  margin-bottom: 28px;
  max-width: 820px;
}
.section h2,
.concept h2,
.contact h2,
.trust h2 {
  margin: 10px 0 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.25;
  letter-spacing: -.045em;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.04));
  backdrop-filter: blur(18px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(117,216,255,.42);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
}
.service-card span {
  color: var(--blue2);
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 800;
}
.service-card h3 {
  margin: 18px 0 12px;
  font-size: 20px;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust {
  padding: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  background: rgba(6, 18, 32, 0.62);
  backdrop-filter: blur(18px);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.trust-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.trust-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue2);
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.trust-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.05rem;
}
.trust-card p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}
.trust-note {
  margin: 28px 0 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.9;
}

.concept {
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 32px;
  padding: 54px;
  border: 1px solid rgba(117,216,255,.18);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(57,167,232,.14), rgba(255,255,255,.055));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.concept__line {
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(var(--blue2), transparent);
}
.concept__body {
  min-width: 0;
}
.concept-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 46px;
  color: rgba(245,248,251,.82);
}
.concept-text p {
  margin: 0 0 1.25em;
  line-height: 1.95;
}

.split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 54px;
  align-items: start;
}
.business-list {
  display: grid;
  gap: 14px;
}
.business-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
}
.business-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.business-list p {
  margin: 0;
  color: var(--muted);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.link-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  transition: transform .2s ease, border-color .2s ease;
}
.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(117,216,255,.4);
}
.link-card strong {
  display:block;
  font-size: 22px;
  margin-bottom: 8px;
}
.link-card span {
  color: var(--muted);
}

.table-wrap {
  overflow-x:auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
}
.company-table {
  width:100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align:left;
  vertical-align:top;
}
.company-table th {
  width: 190px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.035);
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.contact {
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff, #dff4ff);
  color: #07111d;
}
.contact .section-label {
  color: #207cac;
}
.contact p {
  max-width: 820px;
  margin: 0 0 18px;
  color: rgba(7,17,29,.78);
  font-weight: 600;
}
.contact .button.primary {
  margin-top: 10px;
  background: #07111d;
  color:#fff;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
  }
  .hero-visual { max-width: 560px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .concept-text { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .intro {
    margin-top: 52px;
    padding: 22px 20px 24px;
    font-size: 16px;
  }

  .site-shell {
    width: min(100% - 32px, 1180px);
    padding-top: 28px;
  }
  .site-header {
    margin-bottom: 56px;
    align-items:flex-start;
  }
  .global-nav { display:none; }
  .brand img { width: 92px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .lead { font-size: 19px; }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .button { width: 100%; }
  .service-grid,
  .link-grid { grid-template-columns: 1fr; }
  .trust { padding: 28px 22px; }
  .concept {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 18px;
  }
  .concept__line {
    width: 64px;
    height: 4px;
  }
  .angle-meta {
    font-size: 10px;
    padding: 10px 12px;
  }
  .angle-meta.top { top: 24px; right: 24px; }
  .angle-meta.bottom { bottom: 24px; left: 24px; }
  .company-table th,
  .company-table td {
    display:block;
    width:100%;
    padding: 13px 16px;
  }
  .company-table th { border-bottom: 0; }
  .contact { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit,
  .pulse {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================
   Layout stability fixes 2026-05-11
   余白・Concept・Hero visual の崩れ対策
========================================= */
html, body {
  width: 100%;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
}

.site-shell {
  width: min(1120px, calc(100% - 56px));
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 56px;
  min-height: 620px;
}

.hero-copy,
.hero-visual,
.angle-card {
  min-width: 0;
}

.hero-visual {
  width: 100%;
  justify-self: end;
}

.angle-card {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.angle-card svg {
  aspect-ratio: 1 / 1;
  height: auto;
}

.hero h1 {
  max-width: 820px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lead,
.body-copy {
  max-width: 740px;
}

/* Conceptは横崩れを避け、本文を1カラムで安定表示 */
.concept {
  grid-template-columns: 5px minmax(0, 1fr);
  align-items: stretch;
}

.concept__line,
.concept__body,
.concept-text,
.concept-text p {
  min-width: 0;
}

.concept-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 920px;
}

.concept-text p {
  overflow-wrap: break-word;
}

.trust,
.concept,
.contact,
.table-wrap,
.link-card,
.service-card,
.business-list article {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
  }

  .hero-visual {
    justify-self: start;
    max-width: 520px;
  }

  .angle-card {
    margin-left: 0;
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .intro {
    margin-top: 52px;
    padding: 22px 20px 24px;
    font-size: 16px;
  }

  .site-shell {
    width: min(100% - 32px, 1120px);
    padding: 28px 0 56px;
  }

  .site-header {
    margin-bottom: 48px;
  }

  .hero {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.12;
    letter-spacing: -.06em;
  }

  .lead {
    font-size: 18px;
    line-height: 1.75;
  }

  .body-copy {
    font-size: 15px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .angle-card {
    border-radius: 28px;
    padding: 20px;
  }

  .angle-card::before {
    border-radius: 28px;
  }

  .visual-word {
    display: none;
  }

  .section,
  .concept,
  .contact,
  .trust {
    margin-top: 72px;
  }

  .section h2,
  .concept h2,
  .contact h2,
  .trust h2 {
    font-size: clamp(27px, 8vw, 38px);
    letter-spacing: -.035em;
  }

  .trust,
  .concept,
  .contact {
    border-radius: 24px;
  }

  .concept {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .concept__line {
    width: 64px;
    height: 4px;
  }

  .company-table th,
  .company-table td {
    overflow-wrap: anywhere;
  }
}


/* =========================================
   Mobile page navigation 2026-05-12
   スマホ表示でもページ内リンクを表示
========================================= */
@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .global-nav {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    color: rgba(255,255,255,.82);
    font-size: 11px;
    letter-spacing: .10em;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .global-nav::-webkit-scrollbar {
    display: none;
  }

  .global-nav a {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
  }

  .global-nav a:hover {
    color: #fff;
    border-color: rgba(117,216,255,.45);
  }
}


/* =========================================
   Site enhancements 2026-05-12
   SEO補助・PC/スマホ導線・アクセシビリティ調整
========================================= */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #07111d;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(117,216,255,.9);
  outline-offset: 4px;
}

.cursor-light {
  left: var(--x, 50vw);
  top: var(--y, 50vh);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background: rgba(7,17,29,.62);
  backdrop-filter: blur(18px);
}

.global-nav a {
  position: relative;
  padding-bottom: 4px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue2);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}

.global-nav a:hover::after,
.global-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.global-nav a.is-active {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(7,17,29,.72);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-sticky-cta {
  display: none;
}

.contact-section {
  position: relative;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff, #dff4ff);
  color: #07111d;
  box-shadow: var(--shadow);
}

.contact-section .section-label {
  color: #207cac;
}

.contact-section p {
  color: rgba(7,17,29,.78);
  font-weight: 600;
}

@media (min-width: 721px) {
  .global-nav a[href="#contact"] {
    padding: 8px 14px;
    border: 1px solid rgba(117,216,255,.34);
    border-radius: 999px;
    background: rgba(117,216,255,.10);
  }

  .global-nav a[href="#contact"]::after {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    top: 8px;
    padding: 12px;
    border-radius: 20px;
  }

  .global-nav a::after {
    display: none;
  }

  .global-nav a.is-active {
    border-color: rgba(117,216,255,.56);
    background: rgba(117,216,255,.14);
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: #fff;
    color: #07111d;
    font-weight: 900;
    box-shadow: 0 18px 44px rgba(0,0,0,.32);
  }

  .back-to-top {
    right: 18px;
    bottom: 82px;
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .contact-section {
    padding: 32px 24px;
  }
}


/* =========================================
   Requested rollback 2026-05-12
   ・スマホ下部固定のお問い合わせボタンを非表示
   ・ロゴまわり／ヘッダー外観を前バージョンに戻す
========================================= */
.site-header {
  position: static;
  top: auto;
  z-index: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.mobile-sticky-cta {
  display: none !important;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    margin-bottom: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .global-nav {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    color: rgba(255,255,255,.82);
    font-size: 11px;
    letter-spacing: .10em;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .global-nav::-webkit-scrollbar {
    display: none;
  }

  .global-nav a {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
  }

  .global-nav a:hover,
  .global-nav a.is-active {
    color: #fff;
    border-color: rgba(117,216,255,.45);
    background: rgba(117,216,255,.14);
  }

  .back-to-top {
    right: 18px;
    bottom: 24px;
    width: 42px;
    height: 42px;
    font-size: 19px;
  }
}

/* =========================================
   Company table fix
   dl / div / dt / dd 構造に合わせた表示調整
========================================= */
.company-table {
  display: grid;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.055);
}

.company-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.company-table div:last-child {
  border-bottom: none;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
}

.company-table dt {
  color: rgba(255,255,255,.78);
  font-weight: 700;
  background: rgba(255,255,255,.035);
}

.company-table dd {
  color: var(--text);
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .company-table div {
    grid-template-columns: 1fr;
  }

  .company-table dt {
    padding: 14px 16px 6px;
    border-bottom: none;
  }

  .company-table dd {
    padding: 0 16px 16px;
  }
}

/* =========================================
   Brand gimmicks revised
   ・Servicesカードの斜め線ホバーを削除
   ・ロゴホバー時に中央の青い点だけを小さく震わせる
   ・Hero図形のマウス反応は維持
========================================= */
@media (pointer: fine) {
  .brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    isolation: isolate;
  }
  }

  .angle-card {
    transition: transform .18s ease-out, box-shadow .24s ease, border-color .24s ease;
    will-change: transform;
  }

  .angle-card.is-pointer-active {
    border-color: rgba(117,216,255,.34);
    box-shadow:
      var(--shadow),
      0 0 42px rgba(57,167,232,.14);
  }

  .angle-card::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: var(--gimmick-x, 50%);
    top: var(--gimmick-y, 50%);
    border-radius: 999px;
    background: rgba(117,216,255,.92);
    box-shadow: 0 0 22px rgba(117,216,255,.86);
    opacity: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 4;
  }

  .angle-card.is-pointer-active::after {
    opacity: .72;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .angle-card::after {
    display: none;
  }

  .angle-card {
    transform: none !important;
  }
}

/* =========================================
   Logo true-dot animation
   ロゴ画像を「本体」と「青い点」に分離し、青い点そのものを震わせる
========================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brand-logo-wrap {
  position: relative;
  display: block;
  width: 112px;
  line-height: 0;
}

.brand-logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.brand .brand-logo-base {
  width: 100%;
}

.brand .brand-logo-dot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  transform-origin: center center;
}

@media (pointer: fine) {
  .brand:hover .brand-logo-dot {
    animation: logo-dot-shake .42s linear infinite;
  }

  @keyframes logo-dot-shake {
    0% {
      transform: translate(0, 0) scale(1);
      filter: drop-shadow(0 0 0 rgba(117,216,255,0));
    }
    20% {
      transform: translate(1px, -1px) scale(1.025);
      filter: drop-shadow(0 0 4px rgba(117,216,255,.46));
    }
    40% {
      transform: translate(-1px, 1px) scale(.995);
      filter: drop-shadow(0 0 2px rgba(117,216,255,.28));
    }
    60% {
      transform: translate(1px, 1px) scale(1.018);
      filter: drop-shadow(0 0 5px rgba(117,216,255,.42));
    }
    80% {
      transform: translate(-1px, -1px) scale(1);
      filter: drop-shadow(0 0 2px rgba(117,216,255,.24));
    }
    100% {
      transform: translate(0, 0) scale(1);
      filter: drop-shadow(0 0 0 rgba(117,216,255,0));
    }
  }
}

@media (max-width: 720px) {
  .brand-logo-wrap {
    width: 92px;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .brand .brand-logo-dot {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================
   Mobile interaction enhancements
   ・スマホではタップ時のみ控えめに反応
========================================= */
.brand.is-logo-shaking .brand-logo-dot {
  animation: logo-dot-shake .46s linear 2;
}

@media (pointer: coarse) {
  .angle-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }

  .angle-card.is-touch-active {
    transform: translateY(-2px) scale(1.006);
    border-color: rgba(117,216,255,.32);
    box-shadow:
      var(--shadow),
      0 0 34px rgba(57,167,232,.13);
  }

  .hero-actions .button:active,
  .global-nav a:active,
  .related-card:active,
  .service-card:active {
    transform: translateY(1px) scale(.99);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand.is-logo-shaking .brand-logo-dot,
  .angle-card.is-touch-active {
    animation: none !important;
    transform: none !important;
  }
}
