
.labx { --blue: #2f6fb3; --grid: #c9dcef; --tape: #f5c400; --mono: Consolas, "Courier New", monospace; position: relative;
  background: #fdfdfb linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(#e3edf7 1px, transparent 1px), linear-gradient(90deg, #e3edf7 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px; overflow: hidden; }
.labx__tape { position: relative; z-index: 2; height: 26px; background: repeating-linear-gradient(135deg, #1d1d1d 0 16px, var(--tape) 16px 32px); }
.labx__tape span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--tape); color: #1d1d1d; font: 900 12px/1 var(--mono); letter-spacing: .25em; padding: 5px 12px; white-space: nowrap; }
.labx__page { position: relative; }
.labx__margin { position: absolute; top: 0; bottom: 0; left: 56px; width: 2px; background: #f3a6a0; }
.labx__wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 18px 28px 72px 92px; }
.labx__crumb { margin-bottom: 14px; }
.labx__prop { position: absolute; pointer-events: none; height: auto; }


.labx__hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 10px 30px; align-items: end; }
.labx__noteline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font: 700 13px var(--mono); color: var(--blue); letter-spacing: .1em; }
.labx__date { display: inline-flex; align-items: center; border: 2px solid var(--red); color: var(--red); border-radius: 4px; padding: 0 8px; transform: rotate(-3deg); }
.labx h1 { margin: 6px 0; font-size: clamp(32px, 5vw, 56px); color: var(--navy); letter-spacing: .04em; }
.labx h1 small { display: block; font: 700 13px var(--mono); letter-spacing: .4em; color: #6b7c8f; }
.labx__h1side { width: 40px; vertical-align: -4px; margin-left: 10px; transform: rotate(18deg); }
.labx__lead { max-width: 34em; margin: 0; }
.labx__purpose { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 14px; max-width: 36em; }
.labx__purpose dt { font: 700 12px var(--mono); color: #fff; background: var(--blue); padding: 0 6px; border-radius: 3px; align-self: start; margin-top: 4px; letter-spacing: .08em; }
.labx__purpose dd { margin: 0; }
.labx__set { position: absolute; right: 290px; bottom: -6px; display: flex; align-items: flex-end; gap: 14px; opacity: .9; pointer-events: none; }
.labx__set img:nth-child(1) { width: 96px; } .labx__set img:nth-child(2) { width: 64px; } .labx__set img:nth-child(3) { width: 70px; }
.labx__nui { position: relative; justify-self: end; margin: 0; }
.labx__nui img { display: block; width: 230px; height: auto; }
.labx__bubble { position: absolute; left: -46px; top: 4px; margin: 0; background: #fff; border: 2px solid var(--navy); border-radius: 14px; padding: 2px 12px; font-family: var(--head); font-weight: 900; font-size: 15px; white-space: nowrap; }
.labx__bubble::after { content: ""; position: absolute; right: 22px; bottom: -9px; width: 14px; height: 14px; background: #fff; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }


.labx__caution { display: flex; gap: 12px; align-items: center; margin: 30px 0 0; background: #fff8d6; border: 2px solid #1d1d1d; border-left: 14px solid var(--tape); padding: 8px 14px; font-weight: 700; font-size: 14px; max-width: 760px; }
.labx__sign { flex: none; width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-bottom: 26px solid #1d1d1d; position: relative; }
.labx__sign::before { content: "!"; position: absolute; left: -5px; top: 4px; width: 10px; text-align: center; color: var(--tape); font: 900 17px/1 var(--mono); }
.labx__divider { display: flex; align-items: center; gap: 14px; margin: 34px 0 0; }
.labx__divider::before, .labx__divider::after { content: ""; flex: 1; border-top: 2px dashed #b7c7d6; }
.labx__divider img { height: 44px; width: auto; }


.labx__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 34px; align-items: start; }
.labx__card { position: relative; background: #fff; border: 1.5px solid #9fb6cc; padding: 22px 22px 22px; box-shadow: 0 10px 24px #2f6fb31a; }
.labx__card h2 { font-size: clamp(22px, 2.4vw, 27px); color: var(--navy); margin: 16px 0 2px; }
.labx__label { display: grid; grid-template-columns: auto 1fr auto; border: 1.5px solid var(--ink); font: 700 12px var(--mono); margin: 0 0 16px; }
.labx__label > * { padding: 4px 8px; border-right: 1.5px solid var(--ink); }
.labx__label > *:last-child { border-right: 0; }
.labx__id { background: var(--ink); color: #fff; letter-spacing: .1em; }
.labx__bar { background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); min-width: 60px; }
.labx__photo { position: relative; margin: 0; background: #eef2f6; border: 1px solid #c8d3de; padding: 8px 8px 30px; transform: rotate(-1.2deg); box-shadow: 0 6px 12px #0000001a; }
.labx__photo img { display: block; width: 100%; height: 230px; object-fit: cover; object-position: 50% 30%; }
.labx__photo figcaption { position: absolute; left: 12px; bottom: 6px; font: 700 12px var(--mono); color: #6b7c8f; }
.labx__pin { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a80, var(--red) 60%, #8f1e18); box-shadow: 0 3px 3px #0004; }
.labx__pin--navy { background: radial-gradient(circle at 35% 35%, #8b95c9, #1E1B3A 65%); left: 18%; }
.labx__stamp { position: absolute; right: 16px; top: 70px; width: 90px; height: 90px; margin: 0; border: 3px solid var(--red); border-radius: 50%; color: var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(14deg); font-family: var(--head); font-weight: 900; background: #ffffffcc; line-height: 1.15; }
.labx__stamp small { font: 700 10px var(--mono); letter-spacing: .12em; }
.labx__stamp i { font: 700 9px var(--mono); font-style: normal; border-top: 1.5px solid var(--red); margin-top: 2px; padding-top: 1px; }
.labx__ask { color: var(--red-d); font-weight: 700; margin: 0 0 8px; }
.labx__proc { margin: 12px 0; padding: 0; list-style: none; counter-reset: s; }
.labx__proc li { position: relative; padding-left: 64px; margin-bottom: 5px; font-size: 15px; }
.labx__proc li::before { counter-increment: s; content: "PROC." counter(s); position: absolute; left: 0; top: 4px; font: 700 11px/1.5 var(--mono); color: #fff; background: var(--blue); padding: 0 5px; border-radius: 3px; }
.labx__memo { position: relative; margin: 0; background: #fffbe6; border: 1px solid #e9d98a; padding: 8px 12px 8px 14px; font-size: 14px; transform: rotate(.6deg); }
.labx__memo b { font: 700 12px var(--mono); color: #8a6d00; letter-spacing: .1em; display: block; }
.labx__v { font: 700 17px var(--mono); color: var(--ink); }
.labx__btns { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 18px 0 0; }
.labx__corner { right: -22px; bottom: -26px; width: 64px; transform: rotate(-12deg); }
.labx__corner--r { width: 72px; transform: rotate(14deg); }
.labx__env { margin: 30px 0 0; font-size: 14px; color: var(--ink-2); }


.labx__form { position: relative; margin-top: 56px; background: #fff; border: 1.5px solid #9fb6cc; padding: 24px; max-width: 780px; }
.labx__form h2 { font-size: clamp(24px, 3vw, 30px); color: var(--navy); margin: 0 0 8px; }
.labx__loupe { width: 34px; vertical-align: -6px; margin-left: 8px; }
.labx__seals { position: absolute; right: 18px; top: -26px; display: flex; gap: 8px; }
.labx__seal { width: 64px; height: 64px; margin: 0; border: 2.5px solid var(--red); border-radius: 50%; color: var(--red); font-family: var(--head); font-weight: 900; font-size: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; line-height: 1.1; transform: rotate(-8deg); }
.labx__seal small { font: 700 9px var(--mono); }
.labx__seal--blank { border-style: dashed; color: #b9c3cd; border-color: #b9c3cd; transform: none; }
.labx__formnui { position: absolute; right: -150px; bottom: -6px; width: 128px; height: auto; pointer-events: none; }
.lab-anchor { position: absolute; top: -90px; }
.fb { border-top: 1px dashed #b7c7d6; padding-top: 14px; }
.fb__set { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.fb__set legend, .fb__label { display: block; font-weight: 700; color: #6b7c8f; font-size: 14px; margin-bottom: 8px; padding: 0; }
.fb__pick { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fb__pick label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.fb__pick input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.fb__stars { display: flex; gap: 4px; }
.fb__stars label { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; cursor: pointer; font-size: 34px; line-height: 1; color: #d7dee6; border-radius: 8px; }
.fb__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb__stars label.on { color: #f2b705; }
.fb__stars label:focus-within { outline: 3px solid var(--navy); outline-offset: 1px; }
.fb textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 28px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 0; resize: vertical;
  background: #fff repeating-linear-gradient(transparent 0 27px, #dbe6f1 27px 28px); }
.fb textarea:focus { outline: 3px solid var(--red); outline-offset: 1px; }
.fb__count { margin: 4px 0 0; text-align: right; font-size: 13px; color: var(--ink-2); }
.fb__count.over { color: var(--red-d); font-weight: 700; }
.fb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb__with { font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
.fb__kids { font-size: 14px; background: #fff8d6; border-left: 6px solid var(--tape); padding: 8px 12px; }
.fb__btns { margin: 16px 0 0; }
.fb__btns .btn { border: 2px solid var(--navy); cursor: pointer; }
.fb__btns .btn:disabled { opacity: .5; cursor: default; transform: none; }
.fb__msg { margin: 12px 0 0; font-weight: 700; min-height: 1.85em; }
.fb__msg.ok { color: #2E6B3A; }
.fb__msg.ng { color: var(--red-d); }
.fb__policy { font-size: 14px; margin-top: 14px; }
.labx__foot { margin: 40px 0 0; font: 12px var(--mono); color: #6b7c8f; letter-spacing: .1em; }


.labx__side { display: none; }
@media (min-width: 1360px) {
  .labx__side { display: block; opacity: .55; width: 54px; }
  .labx__side--1 { left: 18px; top: 640px; } .labx__side--2 { right: 42px; top: 300px; width: 26px; }
  .labx__side--3 { right: 30px; top: 1220px; } .labx__side--4 { left: 14px; top: 1560px; }
}
@media (max-width: 1100px) {
  .labx__set { display: none; }
  .labx__formnui { right: 10px; bottom: 14px; width: 96px; }
}
@media (max-width: 860px) {
  .labx__hero { grid-template-columns: minmax(0, 1fr) 132px; }
  .labx__nui img { width: 120px; }
  .labx__bubble { left: auto; right: 60px; top: -18px; font-size: 13px; }
  .labx__cards { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 700px) {
  .labx__margin { left: 12px; }
  .labx__wrap { padding: 14px 14px 56px 26px; }
  .labx__hero { grid-template-columns: 1fr; }
  .labx__nui { justify-self: end; margin: -6px 6px -10px 0; }
  .labx__nui img { width: 112px; }
  .labx__bubble { right: 124px; top: 46px; }
  .labx__bubble::after { right: -9px; bottom: 10px; transform: rotate(-45deg); }
  .labx__h1side { width: 28px; }
  .labx__divider img { height: 32px; } .labx__divider img:nth-child(n+4) { display: none; }
  .labx__corner { right: 2px; bottom: -22px; width: 44px; } .labx__corner--r { width: 50px; }
  .labx__card { padding: 18px 16px; }
  .labx__photo img { height: 190px; }
  .labx__stamp { width: 74px; height: 74px; top: 62px; right: 8px; font-size: 14px; }
  .labx__form { padding: 20px 16px 24px; }
  .labx__formnui { right: -6px; bottom: -10px; width: 84px; }
  .fb__btns { padding-right: 70px; }
}

.labx__h1side, .labx__loupe { display: inline-block; }

.fb__nopii { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--red-d); }
.fbdlg { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(30, 27, 58, .55); }
.fbdlg[hidden] { display: none; }
.fbdlg__box { width: min(460px, 100%); background: #fff; border: 2px solid var(--navy); border-radius: 12px; padding: 20px 20px 18px; box-shadow: 4px 5px 0 var(--red); }
.fbdlg__msg { margin: 0 0 16px; font-size: 16px; line-height: 1.8; font-weight: 700; color: var(--ink); }
.fbdlg__btns { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 0; }
.fbdlg__btns .btn { border: 2px solid var(--navy); cursor: pointer; }
@media (max-width: 700px) { .fbdlg__btns .btn { flex: 1 1 100%; text-align: center; } }
