.howto-wrapper dl.dl-width1 dd {
  margin-left: 115px;
}

.howto-wrapper dl.dl-width2 dd {
  margin-left: 152px;
}

.howto-column2-pc *:is(.howto-flex-left, .howto-flex-right) > *:first-child {
  width: 140px;
  @media (max-width: 800px){
    width: 100%;
  }
}

.howto-column2-pc *:is(.howto-flex-left, .howto-flex-right) {
  gap: 20px;
}

.howto-wrapper ul.howto-list-disc {
  margin:1.5em 0;
}

.howto-wrapper ul.howto-list-disc li {
  list-style-type:disc;
  margin-left:1.5em;
}

.howto-wrapper ul.howto-list-disc li + li {
  margin-top:.5em;
}

.howto-led-structure .howto-flex-right > *:first-child {width: 370px;}


.howto-attention ul {
  column-count: 2;
  column-gap: 30px;
  margin:1em 0;
  @media (max-width: 450px){
    column-count: 1;
  }
}

.howto-attention ul li + li {
  margin-top:1.5em;
}

/*-----------------simulator-------------------------------*/


/* ── page title ── */
.page-title {
    font-size: 13px;
    font-weight: bold;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* ── section card (wraps each simulator) ── */
.sim-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.75rem;
    max-width: 1152px;
}

.sim-card h2 {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    letter-spacing: -0.02em;
    margin-bottom: .4rem;
}

.sim-card .sub {
    margin-bottom: 1.5rem;
}

/* ── shared: range slider ── */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    width: 100%;
}
input[type="range"]::-webkit-slider-runnable-track {
    height: 6px; cursor: pointer;
    background: #e2e8f0; border-radius: 3px;
}
input[type="range"]::-moz-range-track {
    height: 6px; cursor: pointer;
    background: #e2e8f0; border-radius: 3px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 22px; width: 22px; border-radius: 4px;
    background: #eab308; cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 2px 10px rgba(234,179,8,.3);
}
input[type="range"]::-moz-range-thumb {
    height: 22px; width: 22px; border-radius: 4px;
    border: none; background: #eab308; cursor: pointer;
}

/* ══════════════════════════════════════
   SIMULATOR 1 — ルーメン・カンデラ・ルクス
   prefix: lcl-
══════════════════════════════════════ */
.lcl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .lcl-grid { grid-template-columns: 1fr 2fr; }
}

.lcl-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lcl-section {display: flex;flex-direction: column;gap: 0.7rem;}

.lcl-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.lcl-label {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #434343;
    margin-bottom: 0.3em;
    word-break: auto-phrase;
}

.lcl-val {
    font-size: 1.4rem; font-family: monospace; font-weight: bold;
}
.lcl-unit { font-size: 11px; color: #94a3b8; margin-left: 2px; }

.c-amber  { color: #d97706; }
.c-sky    { color: #0284c7; }
.c-emerald{ color: #059669; }

.lcl-divider {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.25rem;
    display: flex; flex-direction: column; gap: .75rem;
}

.lcl-result {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: .875rem; padding: .875rem;
}
.lcl-result .rl {font-weight: bold;text-transform: uppercase;/* letter-spacing: .04em; */word-break: auto-phrase;line-height: 1.5;margin-bottom: 0.3em;}
.lcl-result .rs {margin-top: 2px;}
.lcl-result .rv { font-size: 1.4rem; font-family: monospace; font-weight: bold; }
.lcl-result .ru { font-size: 10px; }

.lcl-right { display: flex; flex-direction: column; gap: .75rem; }

.lcl-stage {
    position: relative;
    height: 100%;
    min-height: 400px;
    width: 100%;
    background: linear-gradient(to bottom, #0f172a, #020617);
    border: 1px solid #1e293b;
    border-radius: 1.25rem;
    overflow: hidden;
}
.lcl-stage::before {
    content: ''; position: absolute; inset: 0; opacity: .1; pointer-events: none;
    background-image: radial-gradient(#94a3b8 1px, transparent 1px);
    background-size: 50px 50px;
}

.lcl-scalebar {
    position: absolute;
    bottom: 1.6rem;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: #474747;
    display: flex;
    justify-content: space-between;
    padding: 0 .5rem;
}
.lcl-scalebar span {font-size: 13px;color: #474747;font-family: monospace;margin-top: 4px;}

.lcl-fixture {
    position: absolute; left: 2rem; top: 50%; transform: translateY(-50%); z-index: 40;
}
.lcl-fixture-lbl {
    position: absolute; bottom: -1.5rem; left: 0;
    font-size: 9px; font-weight: bold; color: #64748b;
    text-transform: uppercase; letter-spacing: .1em;
}

#lcl-beam {
    position: absolute; left: 72px; top: 50%; transform: translateY(-50%);
    pointer-events: none; width: 0; height: 0;
}

#lcl-actor {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 30; display: flex; flex-direction: column; align-items: center;
}
.lcl-actor-svg { fill: #475569; transition: fill .1s; }

#lcl-lux-tag {
    margin-top: .5rem;
    background: rgba(16,185,129,.15); color: #34d399;
    font-size: 10px; font-family: monospace;
    padding: 1px 8px; border-radius: 4px;
    border: 1px solid rgba(16,185,129,.25);
}

.lcl-advice {
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: .875rem; padding: 1rem;
    display: flex; gap: .875rem; align-items: center;
}
.lcl-advice-icon {
    padding: .6rem; background: #fef3c7;
    border-radius: 9999px; color: #d97706; flex-shrink: 0;
}
#lcl-status-title {font-weight: bold;font-size: 16px;color: #1e293b;margin-bottom: .5em;}
#lcl-status-desc  {line-height: 1.5;margin-top: 2px;}


/* ══════════════════════════════════════
   SIMULATOR 2 — LEDの発光メカニズム
   prefix: led-
══════════════════════════════════════ */
.led-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.25rem;
}
@media (min-width: 640px) {
    .led-controls { grid-template-columns: 1fr 1fr; }
}

.led-ctrl-label {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: .5rem;
    display: block;
}

.led-slider-labels {
    display: flex; justify-content: space-between;
    font-size: 10px; color: #6b7280; font-weight: bold;
    text-transform: uppercase; letter-spacing: .05em; margin-top: 4px;
}

.led-btn-row { display: flex; gap: .5rem; }

.led-btn {
    flex: 1;
    padding: .5rem 1rem;
    border: none;
    border-radius: .5rem;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    transition: opacity .15s;
}
.led-btn:hover { opacity: .85; }
.led-btn.red   { background: #ef4444; }
.led-btn.green { background: #22c55e; }
.led-btn.blue  { background: #3b82f6; }

.led-junction {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    border-radius: .75rem;
    background: #1e293b;
    border: 3px solid #334155;
    margin-bottom: 1.5rem;
}

.led-zone-lbl-l, .led-zone-lbl-r {
    position: absolute;
    top: .75rem;
    z-index: 10;
    font-size: 10px;
    font-weight: bold;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgb(255 255 255 / 45%);
}
.led-zone-lbl-l { left: 1rem; }
.led-zone-lbl-r { right: 1rem; text-align: right; }

.led-divider {
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 1px; background: rgba(255,255,255,.1);
    border-left: 1px dashed rgba(255,255,255,.2);
}

.led-particle {
    position: absolute; border-radius: 50%;
    transition: transform .1s linear;
}
.led-p-type { background: #f87171; border: 1px solid #ef4444; }
.led-n-type { background: #60a5fa; border: 1px solid #3b82f6; }

.led-photon {
    position: absolute; pointer-events: none; border-radius: 50%;
    filter: blur(2px);
    animation: led-burst .8s ease-out forwards;
}
@keyframes led-burst {
    0%   { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

#led-status {
    padding: 1rem;
    border-radius: .75rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    min-height: 56px;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.led-note {
    line-height: 1.6;
    background: #eff6ff;
    padding: 1rem;
    border-radius: .75rem;
    border: 1px solid #dbeafe;
}
.led-note h3 {font-weight: bold;color: #1e40af;margin-bottom: .4rem;font-size: 16px;}

#led-status span { display: none; }
#led-status span.is-active { display: inline; }

.led-note ul { list-style: disc; padding-left: 1.25rem; }
.led-note li + li { margin-top: .25rem; }


@media (max-width: 800px){
  .led-ctrl-label {
    margin-bottom: 1rem;
  }

  .led-slider-labels {
    margin-top: 14px;
  }

  .lcl-right {
    gap: 1.5rem;
  }

  .howto-led-structure .howto-flex-right > *:first-child img {
    width: 320px;
  }
}