/* 案件受付システム 共通スタイル */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

:root{
  --bg:#F4F7FC; --bg-deep:#EAF0F9; --card:#fff; --line:#E3EAF5; --line-strong:#D3DDEB;
  --ink:#14224A; --ink-2:#3A4768; --ink-3:#5B6785; --ink-4:#8A94AD;
  --blue:#0B63E5; --blue-dark:#084FB8; --blue-soft:#EAF3FF; --blue-line:#C9DCFA;
  --orange:#E07A14; --orange-soft:#FFF1E3; --orange-line:#F6D2A8;
  --purple:#6E44D6; --purple-soft:#F1ECFD;
  --green:#178A5E; --green-soft:#E4F6EE;
  --red:#D93F31; --red-soft:#FDECEA;
  --gray-soft:#EEF2F8;
  --radius:14px; --radius-s:10px;
  --shadow:0 1px 2px rgba(20,34,74,.04),0 4px 16px rgba(20,34,74,.05);
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:"Noto Sans JP",sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-dark);text-decoration:underline}
h1,h2,h3,p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
img{max-width:100%;display:block}

/* ボタン */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:var(--radius-s);border:1.5px solid transparent;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap;text-decoration:none}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark);color:#fff}
.btn-outline{background:#fff;color:var(--blue);border-color:var(--blue)}
.btn-outline:hover{background:var(--blue-soft);color:var(--blue)}
.btn-ghost{background:#fff;color:var(--ink-2);border-color:var(--line-strong)}
.btn-danger{background:#fff;color:var(--red);border-color:#F2C1BB}
.btn-sm{height:34px;padding:0 12px;font-size:13px;border-radius:8px}
.btn-lg{height:52px;font-size:16px;border-radius:12px}
.btn-block{width:100%}
.btn[disabled],.btn.is-disabled{background:#B9C3D3;border-color:#B9C3D3;color:#fff;cursor:not-allowed}

/* フォーム部品 */
.field{display:flex;flex-direction:column;gap:6px}
.field-label{font-size:13px;font-weight:700;color:var(--ink-2)}
.req{color:var(--red);margin-left:2px}
.input,.select,.textarea{width:100%;border:1.5px solid var(--line-strong);border-radius:var(--radius-s);background:#fff;padding:0 12px;font-size:14px;color:var(--ink)}
.input,.select{height:44px}
.textarea{padding:10px 12px;min-height:88px;line-height:1.6;resize:vertical}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,99,229,.12)}
.input[readonly]{background:var(--gray-soft);color:var(--ink-3)}
.input.is-warn,.textarea.is-warn{border-color:var(--orange)}
.input.is-error{border-color:var(--red)}
.help{font-size:12px;color:var(--ink-3)}

/* ラベル */
.tag{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.tag::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.tag.no-dot::before{display:none}
.tag-blue{background:var(--blue-soft);color:var(--blue)}
.tag-orange{background:var(--orange-soft);color:var(--orange)}
.tag-purple{background:var(--purple-soft);color:var(--purple)}
.tag-green{background:var(--green-soft);color:var(--green)}
.tag-red{background:var(--red-soft);color:var(--red)}
.tag-gray{background:var(--gray-soft);color:var(--ink-3)}

/* 注意 */
.notice{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:var(--radius-s);font-size:13px;line-height:1.6}
.notice-icon{flex-shrink:0;width:20px;height:20px;border-radius:50%;border:2px solid currentColor;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;line-height:1}
.notice-warn{background:var(--orange-soft);color:#9A520B;border:1px solid var(--orange-line)}
.notice-info{background:var(--blue-soft);color:#1D4E9E}
.notice-error{background:var(--red-soft);color:#A8291D;border:1px solid #F2C1BB}
.notice-success{background:var(--green-soft);color:#11694A}

.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
