/* 営業時間外の電話パネル（修理LP）。2026-11-12。枠・角・閉じるボタン・上の帯は LINE案内（#lm）と同じ作り。 */
#tp{position:fixed;width:calc(100% - 32px);max-width:440px;max-height:calc(100dvh - 32px);margin:auto;padding:30px 24px 18px;border:0;border-radius:18px;background:#fff;color:#1a1a1a;text-align:left;box-shadow:0 24px 60px #0005;overflow:auto;font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif}
#tp::before{content:'';position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#ffd98f,#f4763a 60%,#d90429)}
#tp::backdrop{background:#0c10169e;backdrop-filter:blur(2px)}
#tp *,#tp *::before,#tp *::after{box-sizing:border-box}
#tp .tp-x{position:absolute;top:9px;right:8px;width:38px;height:38px;padding:0;border:0;border-radius:50%;font-size:23px;line-height:1;color:#757575;background:transparent;cursor:pointer}
#tp .tp-x:hover,#tp .tp-x:focus-visible{background:#f1f1f1;color:#1a1a1a}
#tp h2{margin:4px 28px 0 0;font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:1.3rem;font-weight:800;line-height:1.5;letter-spacing:0;color:#1a1a1a}
#tp .tp-keep{display:inline-block}
#tp .tp-hours{margin:6px 0 0;font-size:.95rem;font-weight:700;color:#263449}

#tp .tp-form,#tp .tp-done{margin:14px 0 0;padding:14px 16px 12px;border-radius:12px;background:#fff8d6;border:1px solid #f0d67a}
#tp .tp-form-title,#tp .tp-done-title{margin:0 0 8px;font-size:1.05rem;font-weight:800;color:#202837}
#tp .tp-field{display:block;margin:0 0 10px}
#tp .tp-label{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:.95rem;font-weight:700;color:#263449}
#tp .tp-label b,#tp .tp-label i{padding:1px 7px;border-radius:4px;font-size:.75rem;font-style:normal;font-weight:800}
#tp .tp-label b{background:#c83224;color:#fff}
#tp .tp-label i{background:#e3e8ec;color:#53616b}
#tp input[type=tel],#tp select{display:block;width:100%;min-height:50px;padding:8px 14px;border:2px solid #c8d3da;border-radius:8px;background:#fff;font:inherit;font-size:1.15rem;color:#1a1a1a}
#tp select{font-size:1rem;appearance:auto}
#tp input[type=tel]:focus,#tp select:focus{outline:3px solid #286ac2;outline-offset:1px;border-color:#286ac2}
#tp .tp-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
#tp .tp-error{margin:0 0 10px;font-size:.95rem;font-weight:700;color:#c83224;line-height:1.6}
#tp .tp-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;padding:12px;border:0;border-radius:12px;background:#fadf53;color:#202837;font:inherit;font-size:1.15rem;font-weight:800;box-shadow:0 3px 0 #d8b91f;cursor:pointer}
#tp .tp-submit:hover{background:#f7d63a}
#tp .tp-submit:disabled{opacity:.7;cursor:default}
#tp .tp-note{margin:8px 0 0;font-size:.875rem;color:#53616b;line-height:1.6}
#tp .tp-note a{color:#53616b}
#tp .tp-done p{margin:0;font-size:1rem;line-height:1.7;color:#263449}

#tp .tp-alt{margin:12px 0 0;padding:12px 16px 14px;border-radius:12px;background:#f4f7f9;border:1px solid #dce4e8}
#tp .tp-alt-title{margin:0 0 8px;font-size:.95rem;font-weight:800;color:#263449}
#tp .tp-alt-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#tp .tp-alt-actions a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:50px;padding:6px;border-radius:10px;font-size:.95rem;font-weight:800;text-decoration:none;white-space:nowrap}
#tp .tp-line{background:#06c755;color:#fff}
#tp .tp-line img{width:28px;height:28px;object-fit:contain}
#tp .tp-web{border:2px solid #202837;background:#fff;color:#202837}

#tp .tp-call{margin:12px 0 0;font-size:.875rem;line-height:1.7;color:#53616b;text-align:center}
#tp .tp-call span{display:inline-block}
#tp .tp-call a{display:block;width:max-content;margin:0 auto;padding:4px 6px;font-size:1rem;font-weight:800;color:#c62235}

@media(max-width:400px){
 #tp{padding:28px 18px 16px}
 #tp h2{font-size:1.2rem}
 #tp .tp-form,#tp .tp-alt{padding:14px 12px}
}
#tp .tp-done .tp-done-note{margin-top:6px;font-size:.875rem;line-height:1.6;color:#53616b}
