/* LoQ-it User Guide (static) - HTML5/CSS3 only */
:root{
  --bg0:#061a2b;
  --bg1:#0c2c46;
  --bg2:#0b1f35;
  --card:#ffffff;
  --card2:#f6f8fb;
  --text:#0d1b2a;
  --muted:#5b6b7a;
  --line:#16b34a;
  --blue:#2f6df6;
  --blue2:#1f53c8;
  --ink:#0b1220;
  --border:#e6edf5;
  --shadow: 0 18px 50px rgba(0,0,0,.25);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
  --font: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 800px at 20% 10%, rgba(46,169,255,.14), transparent 60%),
              radial-gradient(900px 600px at 80% 25%, rgba(47,109,246,.18), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg2));
}

a{color:inherit}
img{max-width:100%;display:block}

.skip{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip:focus{left:12px}

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter: blur(10px);
  background: rgba(6,26,43,.62);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:18px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:260px}
.brand--sm{min-width:unset}
.brand__mark{position:relative;width:36px;height:36px}
.brand__mark .logo{width:36px;height:36px;display:block}
.mark__ring{
  position:absolute;inset:0;
  border-radius:50%;
  border:3px solid rgba(173,220,255,.9);
  border-left-color: rgba(47,109,246,.95);
  transform: rotate(-18deg);
}
.mark__dot{
  position:absolute;
  width:10px;height:10px;border-radius:50%;
  background: linear-gradient(180deg, #ffb067, #ff7a39);
  right:-1px; top:6px;
  box-shadow:0 8px 18px rgba(255,129,60,.35);
}
.brand__name{color:#eaf3ff;font-weight:800;letter-spacing:.2px;font-size:18px;line-height:1}
.brand__sub{color:rgba(234,243,255,.72);font-size:12px;margin-top:4px}
.brand__text{display:flex;flex-direction:column}

.topnav{display:flex;gap:14px;align-items:center;flex:1}
.topnav__link{
  color:rgba(234,243,255,.82);
  text-decoration:none;
  font-weight:600;
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
}
.topnav__link:hover{background: rgba(255,255,255,.08)}
.topbar__cta{display:flex;gap:10px}

.page{min-height:100%}

.hero{
  position:relative;
  padding:44px 0 26px;
}
.hero__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:center;
}
.hero__glow{
  position:absolute;
  inset:-240px -240px auto -240px;
  height:520px;
  background: radial-gradient(closest-side at 40% 40%, rgba(47,109,246,.22), transparent 65%);
  pointer-events:none;
  filter: blur(2px);
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,243,255,.9);
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  font-size:12px;
}
.pill__dot{width:8px;height:8px;border-radius:50%;background:rgba(47,109,246,.95);box-shadow:0 0 0 6px rgba(47,109,246,.18)}
.hero__title{
  margin:14px 0 10px;
  color:#f3f7ff;
  font-weight:900;
  letter-spacing:-.02em;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height:1.15;
}
.hero__title--sub{color:rgba(234,243,255,.78);font-weight:800}
.hero__lead{
  margin:0 0 18px;
  color:rgba(234,243,255,.82);
  line-height:1.7;
  font-size:14.5px;
}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap}
.hero__mini{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.mini{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,243,255,.86);
  border-radius:14px;
  padding:12px 14px;
  min-width:160px;
}
.mini__k{font-size:11px;opacity:.8}
.mini__v{font-size:14px;font-weight:800;margin-top:6px}

.device{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.device__bar{
  padding:10px 12px;
  display:flex;
  gap:8px;
  background: rgba(255,255,255,.06);
}
.dot{width:10px;height:10px;border-radius:50%;background: rgba(255,255,255,.25)}
.device__screen{background:#0a2036}
.device__screen img{width:100%;height:auto}
.hero__floating{position:absolute;right:18px;bottom:18px}
.hero__visual{position:relative}
.floatcard{
  width:240px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  padding:14px 14px 12px;
  box-shadow: 0 16px 44px rgba(0,0,0,.25);
}
.floatcard__title{font-weight:900;font-size:13px;margin-bottom:10px}
.floatcard__list{margin:0;padding-left:18px;color:#334155;font-weight:700;font-size:12.5px;line-height:1.7}

.section{padding:34px 0}
.section--alt{
  background: radial-gradient(1000px 800px at 20% 10%, rgba(47,109,246,.10), transparent 55%),
              rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__inner{max-width:var(--max);margin:0 auto;padding:0 18px}
.section__head{margin-bottom:16px}
.section__title{margin:0;color:#f3f7ff;font-size:22px;letter-spacing:-.01em}
.section__sub{margin:8px 0 0;color:rgba(234,243,255,.72);font-size:13.5px;line-height:1.6}

.stepper{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 14px;
}
.step{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:rgba(234,243,255,.85);
  border-radius:999px;
  padding:10px 12px;
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
  font-family:inherit;
  font-weight:800;
}
.step__num{
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  background: rgba(255,255,255,.12);
  font-size:12px;
}
.step--active{
  background: rgba(47,109,246,.18);
  border-color: rgba(47,109,246,.35);
}
.step--active .step__num{background: rgba(47,109,246,.45)}
.stepcontent__panel{display:none}
.stepcontent__panel.is-active{display:block}

.card{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.70);
  border-radius: var(--radius2);
  box-shadow: 0 16px 44px rgba(0,0,0,.20);
  overflow:hidden;
}
.card__body{padding:18px}
.card__title{margin:0 0 10px;font-weight:900;font-size:18px;color:#0a1a2b}
.card__text{margin:0;color:#344256;line-height:1.7;font-size:14px}
.card__cta{margin-top:14px}
.split{display:grid;grid-template-columns: 1fr .9fr;gap:16px;align-items:start}
.bullets{margin:12px 0 0;padding-left:18px;color:#334155;font-weight:600;font-size:13.5px;line-height:1.7}
.shot{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
}
.shot__zoom{
  position:absolute;
  right:10px;bottom:10px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  border-radius:999px;
  padding:8px 10px;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
}
.shot__zoom:hover{background:#fff}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border:1px solid transparent;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  font-size:13.5px;
  cursor:pointer;
  user-select:none;
  font-family:inherit;
}
.btn--lg{padding:12px 16px;font-size:14px}
.btn--sm{padding:8px 12px;font-size:12.5px}
.btn--block{width:100%}
.btn--primary{
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color:#fff;
  box-shadow: 0 14px 26px rgba(47,109,246,.28);
}
.btn--primary:hover{filter:brightness(1.05)}
.btn--ghost{
  background: rgba(255,255,255,.08);
  color:rgba(234,243,255,.92);
  border-color: rgba(255,255,255,.14);
}
.btn--ghost:hover{background: rgba(255,255,255,.12)}
.btn--line{
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color:#fff;
  box-shadow: 0 14px 26px rgba(34,197,94,.22);
}
.btn__icon{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:6px;background: rgba(255,255,255,.18)}

.demoGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.note{
  margin-top:14px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
/*  color: rgba(234,243,255,.82);*/
  border-radius: 18px;
  padding:12px 14px;
}
.note__icon{
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  background: rgba(47,109,246,.35);
  font-weight:900;
}
.note__text{font-size:13px;line-height:1.6}

.faq{display:grid;gap:10px}
.faq__item{
  background: rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.70);
  border-radius: 18px;
  padding:12px 14px;
}
.faq__q{
  cursor:pointer;
  font-weight:900;
  color:#0a1a2b;
  list-style:none;
}
.faq__q::-webkit-details-marker{display:none}
.faq__a{margin-top:10px;color:#344256;line-height:1.7;font-size:14px}

/* === Footer (LPと同じ見た目/構造に寄せる) === */
.container{
  width:min(var(--max),92vw);
  margin:0 auto;
}

.footer{
  padding:26px 0;
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  color:rgba(234,243,255,.70);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.footer__right{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.footer__right a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:999px;
  color:rgba(234,243,255,.70);
}
.footer__right a:hover{background: rgba(255,255,255,.08); color:rgba(255,255,255,.92)}

.footer .brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer .brand__mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
}
.footer .logo--mini{width:34px;height:34px}
.footer .brand--mini .brand__sub{display:none}
.footer .small{font-size:.92rem;color:rgba(234,243,255,.70);margin:8px 0 0}

/* Modals */
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:2000;
}
.modal.is-open{display:flex}
.modal__overlay{
  position:absolute;inset:0;
  background: rgba(0,0,0,.55);
}
.modal__panel{
  position:relative;
  width:min(940px, 96vw);
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__panel--wide{width:min(1100px, 96vw)}
.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(0,0,0,.06);
  background: linear-gradient(180deg, rgba(15,35,55,.06), rgba(255,255,255,.92));
}
.modal__title{font-weight:1000;color:#0a1a2b}
.modal__sub{font-size:12.5px;color:#5b6b7a;margin-top:2px}
.modal__foot{
  padding:12px 16px;
  border-top:1px solid rgba(0,0,0,.06);
  display:flex;
  justify-content:flex-end;
  gap:10px;
  background: rgba(255,255,255,.96);
}
.iconbtn{
  width:38px;height:38px;border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
.iconbtn:hover{background:#f7fafc}

#zoomModal .modal__panel{padding:10px;background:#0b1220}
#zoomModal img{width:100%;height:auto;border-radius:16px}

/* Wizard */
.wizard{padding:12px 16px 16px}
.wizard__steps{display:flex;gap:8px;margin-bottom:12px}
.wstep{
  flex:0 0 auto;
  display:flex;align-items:center;gap:10px;
  border-radius:999px;
  padding:10px 12px;
  background: rgba(47,109,246,.08);
  border:1px solid rgba(47,109,246,.14);
}
.wstep__n{
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  background: rgba(47,109,246,.30);
  font-weight:900;color:#0b1f35;
}
.wstep__t{font-weight:900;color:#0b1f35;font-size:13px}
.wstep--active{background: rgba(47,109,246,.16);border-color: rgba(47,109,246,.28)}
.wpanel{display:none}
.wpanel.is-active{display:block}
.wgrid{display:grid;grid-template-columns: 1fr .9fr;gap:14px;align-items:start}

.wform__title{margin:0 0 8px;font-weight:1000;color:#0a1a2b}
.wform__desc{margin:0 0 12px;color:#4b5a69;line-height:1.6;font-size:13.5px}

.field{display:block;margin-bottom:10px}
.field__label{display:flex;align-items:center;gap:8px;font-weight:900;color:#0a1a2b;font-size:13px}
.req{color:#e11d48;font-weight:1000;font-size:12px}
.input{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid #dbe6f2;
  outline:none;
  font-size:14px;
}
.input:focus{border-color: rgba(47,109,246,.55);box-shadow:0 0 0 4px rgba(47,109,246,.10)}
.field__hint{display:block;margin-top:6px;font-size:12px;color:#64748b}

.form__actions{margin-top:12px}
.form__note{margin-top:8px;color:#64748b;font-size:12.5px;line-height:1.5}

.toast{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  display:none;
  font-weight:800;
  color:#0a1a2b;
}
.toast.is-show{display:block}
.toast.is-error{border-color: rgba(225,29,72,.25);background: rgba(225,29,72,.06)}
.toast.is-ok{border-color: rgba(34,197,94,.25);background: rgba(34,197,94,.06)}

.wpreview{
  background: #0b1f35;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.previewHead{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;
  background: rgba(255,255,255,.06);
}
.previewHead__label{color:rgba(234,243,255,.88);font-weight:900;font-size:12.5px}
.seg{display:flex;gap:6px}
.seg__btn{
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:rgba(234,243,255,.86);
  font-weight:900;
  font-size:12px;
  padding:8px 10px;
  cursor:pointer;
}
.seg__btn.is-active{background: rgba(47,109,246,.30);border-color: rgba(47,109,246,.40)}
.previewFrame{padding:10px;background:#0b1f35}
.previewFrame img{border-radius:14px;border:1px solid rgba(255,255,255,.10)}
.previewFoot{
  padding:10px 12px;
  background: rgba(255,255,255,.06);
  display:flex;
  justify-content:flex-end;
}

.wdone__title{margin:0 0 8px;font-weight:1000}
.wdone__desc{margin:0 0 12px;color:#4b5a69;line-height:1.6}
.receipt{
  border-radius:16px;
  border:1px solid #dbe6f2;
  background:#f5f9ff;
  padding:12px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.receipt__label{font-weight:900;color:#0a1a2b}
.receipt__value{font-weight:1000;color:#0a1a2b;letter-spacing:.04em}

.linebox{
  margin-top:12px;
  border-radius:16px;
  border:1px solid rgba(34,197,94,.25);
  background: rgba(34,197,94,.06);
  padding:12px 14px;
}
.linebox__head{font-weight:1000;color:#0a1a2b;margin-bottom:6px}
.linebox__desc{margin:0 0 10px;color:#4b5a69;line-height:1.6;font-size:13.5px}
.linebox__steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:999px;
  padding:8px 10px;
  font-weight:900;
  font-size:12.5px;
}
.chip__n{
  width:18px;height:18px;border-radius:50%;
  display:grid;place-items:center;
  background: rgba(34,197,94,.22);
  color:#14532d;
}
.linebox__actions{display:flex;gap:10px;flex-wrap:wrap}
.codeRow{margin-top:10px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.codePill{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight:900;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:10px 12px;
}
.codeHint{color:#4b5a69;font-size:12.5px}

.wdone__actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}

.lineDemo{
  padding:14px 16px 16px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.lineDemo__card{
  border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  overflow:hidden;
}
.lineDemo__label{
  padding:10px 12px;
  background:#f6f8fb;
  border-bottom:1px solid rgba(0,0,0,.06);
  font-weight:900;
  color:#0a1a2b;
  font-size:12.5px;
}
.lineDemo__actions{padding:12px}
.lineDemo__hint{margin-top:8px;color:#64748b;font-size:12.5px}

.scanWrap{padding:14px 16px 16px}
.scanWrap img{border-radius:18px;border:1px solid rgba(0,0,0,.06)}
.scanTips{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.tip{
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  padding:12px 12px;
}
.tip__t{font-weight:1000;color:#0a1a2b}
.tip__d{margin-top:6px;color:#4b5a69;line-height:1.6;font-size:13.5px}

/* Responsive */
@media (max-width: 980px){
  .hero__inner{grid-template-columns: 1fr;gap:18px}
  .hero__floating{position:static;margin-top:12px}
  .split{grid-template-columns:1fr}
  .demoGrid{grid-template-columns:1fr}
  .wgrid{grid-template-columns:1fr}
  .lineDemo{grid-template-columns:1fr}
  .scanTips{grid-template-columns:1fr}
  .brand{min-width:unset}
  .topnav{display:none}
}



/* --- MyPage section (pure CSS tabs) --- */
.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.tabs__radio{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.tabs__tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  color:blue;
  font-weight:700;
  cursor:pointer;
  user-select:none;
}
.tabs__tab:hover{ background:rgba(255,255,255,.10); }

.tabs__panes{
  width:100%;
  margin-top:12px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
}
.tabs__pane{ display:none; padding:14px; }
.shot{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

/* selected state */
#tab_terms:checked ~ label[for="tab_terms"],
#tab_activate:checked ~ label[for="tab_activate"],
#tab_index:checked ~ label[for="tab_index"],
#tab_event:checked ~ label[for="tab_event"],
#tab_q:checked ~ label[for="tab_q"]{
  background:linear-gradient(180deg, rgba(47,109,246,.98), rgba(31,83,200,.98));
  border-color:rgba(255,255,255,.18);
  color:#fff;
}
#tab_terms:checked ~ .tabs__panes [data-pane="tab_terms"],
#tab_activate:checked ~ .tabs__panes [data-pane="tab_activate"],
#tab_index:checked ~ .tabs__panes [data-pane="tab_index"],
#tab_event:checked ~ .tabs__panes [data-pane="tab_event"],
#tab_q:checked ~ .tabs__panes [data-pane="tab_q"]{
  display:block;
}
