/* パワコンのエラー番号検索 2026-10-26 */
.err-hd{padding-bottom:56px}
.err-hd h1{font-size:clamp(28px,3.2vw,46px)}
.err-hd .nb{font-family:var(--ff-d);font-weight:700;color:#e4e8e5;margin-left:4px}
.err-w{max-width:920px}

/* 検索の部品 */
.ers{background:#fff;border:1px solid var(--line-d);border-radius:28px;overflow:hidden;color:var(--ink)}
.ers-in{padding:clamp(22px,3.4vw,40px);scroll-margin-top:100px}
.ers-lb{font-family:var(--ff-d);font-weight:700;font-size:11px;letter-spacing:.22em;color:var(--grn)}
.ers-h{font-size:clamp(21px,2.2vw,28px);line-height:1.45;margin-top:6px}
.ers-h .sp{display:none}
.ers-g{border:0;margin:22px 0 0;padding:0}
.ers-g legend{font-size:13px;font-weight:700;margin-bottom:8px}
.ers-gc{display:flex;flex-wrap:wrap;gap:8px}
.ers-gc label{cursor:pointer}
.ers-gc input{position:absolute;opacity:0;pointer-events:none}
.ers-gc span{display:block;font-size:13px;font-weight:700;line-height:1.5;padding:9px 14px;border:1px solid var(--line-d);border-radius:12px;background:#fff;transition:.2s}
.ers-gc input:checked + span{background:var(--ink);border-color:var(--ink);color:#fff}
.ers-gc input:focus-visible + span{outline:2px solid var(--amb);outline-offset:2px}
.ers-gn{font-size:12px;color:var(--mut-d);margin-top:8px;line-height:1.7}
.ers-f{margin-top:22px}
.ers-ql{display:block;font-size:13px;font-weight:700;margin-bottom:8px}
.ers-qw{position:relative}
.ers-q{width:100%;font:inherit;font-family:var(--ff-d);font-weight:700;font-size:clamp(22px,2.6vw,30px);letter-spacing:.04em;padding:16px 56px 16px 20px;border:2px solid var(--ink);border-radius:16px;background:var(--paper);color:var(--ink);outline:none;text-transform:uppercase}
.ers-q::placeholder{font-family:var(--ff);font-weight:500;font-size:16px;letter-spacing:0;color:#9aa19d;text-transform:none}
.ers-q:focus{background:#fff;box-shadow:0 0 0 4px rgba(245,179,1,.35)}
.ers-x{position:absolute;right:12px;top:50%;margin-top:-18px;width:36px;height:36px;border-radius:50%;border:0;background:#e2e1dc;color:var(--ink);font-size:18px;cursor:pointer}
.ers-hint{font-size:12.5px;color:var(--mut-d);margin-top:8px;line-height:1.7}
.ers-out:empty{display:none}
.ers-out{margin-top:22px}
.ers-m{font-size:13.5px;font-weight:700;color:var(--mut-d);margin-bottom:10px}

/* 結果 */
.ers-r{border:1px solid var(--line-d);border-radius:20px;padding:22px 24px;background:#fff;border-left:6px solid #5d6661}
.ers-r + .ers-r{margin-top:12px}
.ers-r.lv-auto{border-left-color:#1fa37f}
.ers-r.lv-retry{border-left-color:#2f7fd1}
.ers-r.lv-call{border-left-color:#e08a00}
.ers-r.lv-stop{border-left-color:#d0342c}
.ers-rh{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px 16px;align-items:center}
.ers-r .cd{white-space:nowrap;font-family:var(--ff-d);font-weight:800;font-size:clamp(26px,3vw,34px);line-height:1}
.ers-r .t{font-size:17px;font-weight:700;line-height:1.5}
.ers-r .g{font-size:12px;color:var(--mut-d);margin-top:2px}
.ers-r .cs{margin-top:14px;font-size:15px;line-height:1.9}
.ers-a{margin-top:14px;background:var(--paper);border-radius:14px;padding:14px 18px}
.ers-a .h{font-size:13px;font-weight:700;color:var(--ink)}
.ers-a ol{margin:6px 0 0;padding-left:1.5em;list-style:decimal}
.ers-a li{font-size:14.5px;line-height:1.85}
.ers-note{font-size:13px;color:var(--mut-d);margin-top:12px}
.ers-c{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line-d)}
.ers-c p{font-size:13.5px;line-height:1.85}
.ers-c .bts{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:12px}
.ers-c .tel{font-family:var(--ff-d);font-weight:800;font-size:20px;color:var(--ink);display:flex;flex-direction:column;line-height:1.2}
.ers-c .tel small{font-family:var(--ff);font-weight:500;font-size:11px;color:var(--mut-d)}
.ers-c2{font-size:13px;color:var(--mut-d);margin-top:12px}
.ers-c2 a{color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-left:6px}
.ers-s{margin-top:10px;font-size:12px}
.ers-s a{color:var(--mut-d);text-decoration:underline;text-underline-offset:3px}

.ers-lv{display:inline-block;font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap;line-height:1.4}
.ers-lv.auto{background:#e8f4ee;color:#1b6b45}
.ers-lv.retry{background:#e7f1fb;color:#1f5f9e}
.ers-lv.call{background:#fdf0dc;color:#8a5300}
.ers-lv.stop{background:#fbe6e4;color:#a3231c}

/* 候補・見つからない */
.ers-cand{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.ers-cand button{font:inherit;text-align:left;display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line-d);border-radius:14px;background:#fff;color:var(--ink);cursor:pointer;transition:.2s}
.ers-cand button:hover,.ers-cand button:focus-visible{border-color:var(--ink)}
.ers-cand b{font-family:var(--ff-d);font-size:17px}
.ers-cand span{font-size:12.5px;color:var(--mut-d);line-height:1.5}
.ers-none{border:1px solid var(--line-d);border-radius:18px;padding:20px 22px;background:var(--paper)}
.ers-none .h{font-weight:700;font-size:15px}
.ers-none ul{margin:10px 0 16px;padding-left:1.3em;list-style:disc}
.ers-none li{font-size:14px;line-height:1.85}

/* 全件 */
.ers-all{border-top:1px solid var(--line-d);background:#fbfbf9}
.ers-all summary{cursor:pointer;list-style:none;padding:18px clamp(22px,3.4vw,40px);font-weight:700;font-size:15px;display:flex;justify-content:space-between;align-items:center}
.ers-all summary::-webkit-details-marker{display:none}
.ers-all summary::after{content:"＋";font-family:var(--ff-d);font-size:18px}
.ers-all[open] summary::after{content:"−"}
.ers-tg{padding:0 clamp(22px,3.4vw,40px) 28px}
.ers-tg h3{font-size:15px;margin:8px 0 10px;line-height:1.6}
.ers-tg h3 small{display:block;font-size:12px;font-weight:500;color:var(--mut-d)}
.ers-tw{overflow-x:auto;border:1px solid var(--line-d);border-radius:14px;background:#fff}
.ers-t{width:100%;border-collapse:collapse;min-width:560px;font-size:14px;line-height:1.6}
.ers-t th,.ers-t td{padding:11px 14px;border-bottom:1px solid var(--line-d);text-align:left;vertical-align:top}
.ers-t thead th{background:var(--ink);color:#fff;font-size:12px}
.ers-t tbody tr:last-child > *{border-bottom:0}
.ers-t td span{display:block;font-size:12.5px;color:var(--mut-d);margin-top:2px}
.ers-pick{font:inherit;font-family:var(--ff-d);font-weight:800;font-size:15px;background:none;border:0;padding:0;color:var(--ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.ers-more{padding:0 clamp(22px,3.4vw,40px) 22px;font-size:14px;font-weight:700}
.ers-more a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.ers-src{padding:14px clamp(22px,3.4vw,40px) 20px;font-size:12px;line-height:1.8;color:var(--mut-d);border-top:1px solid var(--line-d)}

/* ページ本文 */
.err-sec{margin-top:64px}
.err-sec h2{font-size:clamp(20px,2vw,26px);line-height:1.5;margin-bottom:18px}
.err-steps{list-style:none;margin:0;padding:0;counter-reset:s;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.err-steps li{counter-increment:s;background:#fff;border:1px solid var(--line-d);border-radius:18px;padding:20px 22px 20px 64px;position:relative}
.err-steps li::before{content:counter(s,decimal-leading-zero);position:absolute;left:20px;top:18px;font-family:var(--ff-d);font-weight:800;font-size:20px;color:var(--grn)}
.err-steps b{display:block;font-size:16px}
.err-steps span{display:block;font-size:13.5px;line-height:1.85;color:var(--mut-d);margin-top:4px}
.err-warn{background:#fff;border:1px solid var(--line-d);border-radius:20px;padding:24px 26px}
.err-warn h2{font-size:17px;margin-bottom:10px}
.err-warn p{font-size:13.5px;line-height:1.95;color:var(--mut-d)}
.err-warn p + p{margin-top:8px}
.err-p{font-size:15px;line-height:1.95}
.err-next{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.err-next a{position:relative;display:flex;flex-direction:column;gap:2px;background:var(--ink);color:#fff;border-radius:20px;padding:20px 60px 20px 22px;transition:.25s}
.err-next a:hover{transform:translateY(-2px)}
.err-next small{font-family:var(--ff-d);font-size:11px;letter-spacing:.16em;color:var(--amb)}
.err-next b{font-size:17px}
.err-next span{font-size:12.5px;color:#b9c2be}
.err-next i{position:absolute;right:18px;top:50%;margin-top:-18px;width:36px;height:36px;border-radius:50%;background:var(--amb);color:var(--ink);display:grid;place-items:center;font-style:normal;font-family:var(--ff-d)}
.err-arts{list-style:none;margin:20px 0 0;padding:0;border-top:1px solid var(--line-d)}
.err-arts a{display:block;padding:14px 4px;border-bottom:1px solid var(--line-d);font-size:14.5px;font-weight:700;color:var(--ink)}
.err-arts a:hover{color:var(--grn)}
.err-oth{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:24px}
.err-oth p{font-size:13px;font-weight:700;color:var(--mut-d);margin-right:6px}
.err-oth a{font-size:13px;font-weight:700;color:var(--ink);border:1px solid var(--line-d);background:#fff;border-radius:999px;padding:7px 14px}
.err-oth a:hover{border-color:var(--ink)}

/* パワコンのメーカー別ページに埋め込むとき */
.pcm-err .ers{margin-top:8px}

@media (max-width:720px){
  .ers{border-radius:22px}
  .ers-h .sp{display:inline}
  .ers-r{padding:18px 18px}
  .ers-rh{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"cd lv" "t t"}
  .ers-r .cd{grid-area:cd}
  .ers-rh > .ers-lv{grid-area:lv}
  .ers-rh > div{grid-area:t}
  .err-steps,.err-next{grid-template-columns:minmax(0,1fr)}
}
.ers-warn{background:#fff6dc;border:1px solid #f1dc9b;border-radius:16px;padding:16px 20px 16px 20px;margin-bottom:24px}
.ers-wh{font-weight:700;font-size:14.5px;color:#7a4b00;display:flex;align-items:center;gap:8px}
.ers-wh::before{content:"!";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e08a00;color:#fff;font-family:var(--ff-d);font-weight:800;font-size:13px;flex:0 0 auto}
.ers-warn ul{margin:8px 0 0;padding-left:1.3em;list-style:disc}
.ers-warn li{font-size:13px;line-height:1.85;color:#4a3a14}
.ers-warn li + li{margin-top:4px}
.ers-warn b{color:#2b2208}
.ers-rem{font-size:12.5px;color:#7a4b00;background:#fff6dc;border-radius:10px;padding:8px 12px;margin-top:10px;line-height:1.75}
.ers-d{border:1px solid var(--line-d);border-radius:16px;background:#fff}
.ers-d + .ers-d{margin-top:8px}
.ers-d summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:'b t lv';gap:4px 12px;align-items:center;padding:14px 16px;font-size:13.5px}
.ers-d summary::-webkit-details-marker{display:none}
.ers-d summary b{font-size:13.5px;grid-area:b}
.ers-d summary .ers-lv{grid-area:lv}
.ers-d summary span:not(.ers-lv){grid-area:t}
.ers-d summary span:not(.ers-lv){color:var(--mut-d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ers-d[open] summary{border-bottom:1px solid var(--line-d)}
.ers-d .ers-r{border:0;border-radius:0 0 16px 16px;border-left:6px solid #5d6661}
.ers-d .ers-r.lv-auto{border-left-color:#1fa37f}.ers-d .ers-r.lv-retry{border-left-color:#2f7fd1}.ers-d .ers-r.lv-call{border-left-color:#e08a00}.ers-d .ers-r.lv-stop{border-left-color:#d0342c}
@media (max-width:720px){.ers-d summary{grid-template-columns:minmax(0,1fr);grid-template-areas:'b' 't' 'lv'}.ers-d summary .ers-lv{justify-self:start}.ers-d summary span:not(.ers-lv){white-space:normal}}
.ers-gs{margin-top:22px}
.ers-sel{width:100%;max-width:520px;font:inherit;font-size:15px;font-weight:700;padding:12px 40px 12px 14px;border:1px solid var(--line-d);border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a0d0c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;appearance:none;color:var(--ink)}
.ers-sel:focus{outline:2px solid var(--amb);outline-offset:2px}
