@font-face { font-family: "TOA Space Grotesk"; font-weight: 300 700; font-display: swap; src: url(../schrift/toa-space-grotesk.woff2) format("woff2"); }
.toa-pop[hidden] { display: none !important; }
.toa-bar, .toa-pop { --toa-ink: #16161d; --toa-tx: #565668; --toa-edge: #16161d1a; --toa-grad: linear-gradient(100deg, #00b4e6, #ff1f9e 52%, #ffb800); font-family: "TOA Space Grotesk", var(--font); }
.toa-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; color: var(--toa-ink); }
.toa-logo b { font-weight: 700; background: var(--toa-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toa-orb { width: 26px; height: 26px; overflow: visible; }
.toa-orb__r { fill: none; stroke: currentColor; stroke-opacity: .22; stroke-width: 1.2; }
.toa-spin { transform-origin: 15px 15px; animation: toaSpin 9s linear infinite; }
.toa-spin--rev { animation-duration: 13s; animation-direction: reverse; }
@keyframes toaSpin { to { transform: rotate(360deg); } }

.toa-bar { position: relative; display: block; background: var(--toa-ink); color: #fff; text-decoration: none; padding-bottom: env(safe-area-inset-bottom); }
.toa-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--toa-grad); }
.toa-bar__in { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 22px var(--gutter); }
.toa-bar .toa-logo { color: #fff; }
.toa-bar__txt { flex: 1; font-size: 1.05rem; color: rgba(255, 255, 255, .75); min-width: 220px; }
.toa-bar__txt b { color: #fff; font-weight: 600; background: var(--toa-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toa-bar__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding: 10px 18px; border-radius: 99px; background: #fff; color: var(--toa-ink); transition: transform .3s var(--ease); }
.toa-bar:hover .toa-bar__go { transform: translateX(4px); }

.toa-pop { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(22, 22, 29, .62); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); opacity: 0; transition: opacity .5s; overscroll-behavior: none; }
.toa-pop::before { content: ""; position: absolute; width: min(900px, 140vw); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 200deg, rgba(0, 180, 230, .45), rgba(255, 31, 158, .4), rgba(255, 184, 0, .4), rgba(0, 180, 230, .45)); filter: blur(90px); opacity: .55; pointer-events: none; animation: toaSpin 30s linear infinite; }
.toa-pop.is-in { opacity: 1; }
.toa-pop__card { position: relative; width: min(560px, 100%); padding: clamp(28px, 5vw, 48px); border-radius: 26px; color: var(--toa-ink); background: rgba(255, 255, 255, .94); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--toa-edge), 0 40px 120px -30px rgba(0, 0, 0, .6); transform: translateY(40px) scale(.96); transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.toa-pop.is-in .toa-pop__card { transform: none; }
.toa-pop__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--toa-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.toa-pop .toa-logo { font-size: 1.15rem; }
.toa-pop .toa-orb { width: 32px; height: 32px; }
.toa-pop__x { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(22, 22, 29, .05); color: var(--toa-tx); display: grid; place-items: center; }
.toa-pop__x:hover { background: rgba(22, 22, 29, .1); color: var(--toa-ink); }
.toa-pop__tag { margin-top: 28px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: .04em; color: var(--toa-tx); }
.toa-pop__title { margin-top: 8px; font-size: clamp(2.1rem, 5.4vw, 3.2rem); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
.toa-pop__title span { background: var(--toa-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toa-pop__txt { margin-top: 14px; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.5; color: var(--toa-tx); max-width: 40ch; }
.toa-pop__cta { margin-top: 28px; display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 58px; border-radius: 99px; background: var(--toa-ink); color: #fff; font-size: 1.08rem; font-weight: 600; text-decoration: none; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.toa-pop__cta::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--toa-grad); }
.toa-pop__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(255, 31, 158, .55); }
.toa-pop__tel { display: block; margin-top: 14px; text-align: center; font-size: 15px; color: var(--toa-tx); text-decoration: none; }
.toa-pop__tel:hover { color: var(--toa-ink); }
.toa-pop__hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--toa-edge); font-size: 13px; color: var(--toa-tx); }
.toa-pop__hint span { width: 16px; height: 24px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; }
.toa-pop__hint span::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: toaWheel 1.6s ease-in-out infinite; }
@keyframes toaWheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
body.toa-pop-open .totop { opacity: 0; pointer-events: none; }
body.toa-bar-in .totop { transform: translateY(calc(-1 * var(--toa-bar-h, 90px))); }
@media (max-width: 560px) {
  .toa-pop__card { border-radius: 22px; }
  .toa-bar__go { width: 100%; justify-content: center; }
}

