/* 人材紹介 免許申請書類 無料作成ツール - 求職者送客クラウドのトーンに合わせた配色 */
:root {
  --blue: #2457f5;
  --blue-dark: #1b42c4;
  --blue-soft: #eef3ff;
  --ink: #101a2e;
  --ink-2: #0f1b33;
  --text: #33405a;
  --muted: #5b6579;
  --line: #e3e7ef;
  --bg: #f7f8fc;
  --white: #ffffff;
  --orange: #ff6b2c;
  --green: #1a7f45;
  --green-soft: #e7f7ee;
  --red: #c0392b;
  --red-soft: #fdecea;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(16, 26, 46, 0.06);
}
* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.35; margin: 0 0 .5em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
.container { max-width: 880px; margin: 0 auto; padding: 0 16px; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: .95rem; }
.brand span { color: var(--blue); }
.header-link { font-size: .85rem; color: var(--muted); text-decoration: none; }

/* hero */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); padding: 48px 0 32px; }
.hero h1 { font-size: 2rem; }
.hero .lead { font-size: 1.05rem; color: var(--text); max-width: 640px; }
.badge { display: inline-block; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }

/* buttons */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 14px 24px; border-radius: 10px; transition: background .15s, transform .05s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--blue-soft); }
.btn-ghost { background: transparent; color: var(--muted); padding: 10px 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero h1 { font-size: 1.5rem; } }

/* forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field .hint { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.req { color: var(--orange); font-size: .75rem; margin-left: 6px; font-weight: 700; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=tel], select, textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfd6e4; border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(36, 87, 245, .35); border-color: var(--blue); }
input.invalid { border-color: var(--red); background: var(--red-soft); }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.radio-group input { accent-color: var(--blue); }
.radio-group label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { margin-top: 5px; accent-color: var(--blue); }
.inline { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px) { .inline { grid-template-columns: 1fr; } }
.error-msg { color: var(--red); font-size: .85rem; margin-top: 4px; display: none; }
.field.has-error .error-msg { display: block; }

/* progress */
.progress { display: flex; gap: 6px; margin: 20px 0 24px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.done { background: var(--blue); }
.progress span.current { background: var(--blue); opacity: .55; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.step-title { display: flex; align-items: baseline; gap: 10px; }
.step-title small { color: var(--muted); }

/* diagnosis result */
.result { border-left: 5px solid var(--green); background: var(--green-soft); padding: 16px 18px; border-radius: 8px; margin-bottom: 20px; }
.result.ng { border-color: var(--red); background: var(--red-soft); }
.result h3 { margin: 0 0 6px; }
.result ul { margin: 0; padding-left: 20px; }

/* todo list */
.todo { list-style: none; padding: 0; margin: 0; }
.todo li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.todo li:last-child { border-bottom: 0; }
.todo input { margin-top: 6px; accent-color: var(--blue); width: 18px; height: 18px; }
.todo .t { font-weight: 700; color: var(--ink); }
.todo .d { font-size: .88rem; color: var(--muted); }
.todo li.done .t { text-decoration: line-through; color: var(--muted); }

/* docs list */
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list .name { font-weight: 700; color: var(--ink); }
.doc-list .desc { font-size: .85rem; color: var(--muted); }

/* misc */
.note { background: var(--blue-soft); border-radius: 8px; padding: 12px 14px; font-size: .9rem; color: var(--ink); }
.warn { background: #fff7ed; border-left: 4px solid var(--orange); border-radius: 8px; padding: 12px 14px; font-size: .9rem; }
.faq dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: var(--text); }
.site-footer { padding: 32px 0; color: var(--muted); font-size: .82rem; text-align: center; }
.site-footer a { color: var(--muted); }
.hidden { display: none !important; }
table.plain { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.plain th, table.plain td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { color: var(--muted); font-weight: 600; width: 34%; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: .9rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }
@media print { .site-header, .site-footer, .btn, .wizard-nav { display: none !important; } body { background: #fff; } .card { box-shadow: none; border: 0; } }

/* help accordion */
details.help { margin-top: 8px; border: 1px dashed #cfd6e4; border-radius: 8px; padding: 8px 12px; background: #fff; }
details.help summary { cursor: pointer; color: var(--blue-dark); font-weight: 700; font-size: .9rem; }
details.help[open] summary { margin-bottom: 8px; }

/* ===== landing page ===== */
.lp { font-size: 17px; }
@media (max-width: 720px) { .lp { font-size: 16px; } }
.lp .container { max-width: 1040px; }
.lp .container.narrow { max-width: 780px; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: .85rem; letter-spacing: .08em; margin: 0 0 8px; }
.center { text-align: center; }
.section { padding: 64px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 1.7rem; margin-bottom: 32px; text-wrap: balance; }
@media (max-width: 720px) { .section { padding: 44px 0; } .section h2 { font-size: 1.35rem; margin-bottom: 22px; } }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-link { background: transparent; color: var(--blue); padding: 12px 6px; }
.btn-link:hover { text-decoration: underline; }

/* hero */
.lp .hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.lp .hero h1 { font-size: 2.35rem; letter-spacing: -.01em; text-wrap: balance; }
.lp .hero .lead { font-size: 1.05rem; color: var(--text); max-width: 560px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.trust li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; display: flex; flex-direction: column; min-width: 140px; }
.trust strong { color: var(--blue-dark); font-size: 1.25rem; line-height: 1.2; }
.trust span { color: var(--muted); font-size: .8rem; }
.hero-visual { display: flex; justify-content: center; }
.doc-stack { position: relative; width: 300px; height: 300px; }
.doc { position: absolute; width: 220px; height: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(16,26,46,.08); padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.doc:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); }
.doc:nth-child(2) { left: 40px; top: 15px; transform: rotate(2deg); }
.doc:nth-child(3) { left: 80px; top: 0; transform: rotate(8deg); }
.doc-tag { display: inline-block; align-self: flex-start; background: var(--blue-soft); color: var(--blue-dark); font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin-bottom: 6px; }
.doc-line { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { display: none; } .lp .hero { padding: 44px 0 36px; } .lp .hero h1 { font-size: 1.7rem; } }

/* features */
.features .feature { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; }
.feature .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--text); font-size: .95rem; margin: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--bg); border-radius: 14px; padding: 26px 22px 22px; }
.step-badge { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { font-size: .95rem; margin: 0 0 12px; }
.steps .time { color: var(--muted); font-size: .85rem; font-weight: 700; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* document groups */
.doc-groups .doc-group { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.doc-group h3 { font-size: 1.05rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.doc-group ul { list-style: none; padding: 0; margin: 0; }
.doc-group li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: .95rem; }
.tag { flex: 0 0 auto; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: .75rem; padding: 3px 8px; border-radius: 6px; margin-top: 2px; white-space: nowrap; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--bg); }
.compare-col.highlight { border: 2px solid var(--blue); background: var(--white); }
.compare-col h3 { font-size: 1rem; margin-bottom: 6px; }
.compare .price { font-size: 1.9rem; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.compare-col.highlight .price { color: var(--blue); }
.compare ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.compare li { margin-bottom: 4px; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* faq */
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 12px; color: var(--blue); font-size: 1.3rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 16px; color: var(--text); font-size: .95rem; }

/* cta band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c8d0e0; margin-bottom: 22px; }

/* pains */
.pains { display: grid; gap: 12px; }
.pain { background: var(--bg); border-radius: 12px; padding: 18px 20px; }
.pain .q { font-weight: 700; color: var(--ink); margin: 0 0 6px; padding-left: 26px; position: relative; }
.pain .q::before { content: "?"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pain .a { margin: 0; padding-left: 26px; color: var(--text); font-size: .95rem; position: relative; }
.pain .a::before { content: "→"; position: absolute; left: 2px; top: 0; color: var(--blue); font-weight: 700; }
/* compare table */
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; min-width: 640px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--bg); color: var(--muted); font-weight: 700; }
.compare-table tbody th { color: var(--ink); font-weight: 700; width: 20%; background: var(--bg); }
.compare-table .hl { background: var(--blue-soft); color: var(--ink); }
.compare-table thead .hl { color: var(--blue-dark); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
/* limits */
.limits { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.limits li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }

/* registration modal */
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(31, 39, 64, .38); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; padding: 30px 28px 22px; box-shadow: 0 30px 60px rgba(16,26,46,.25); text-align: center; }
.modal-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.modal h2 { font-size: 1.25rem; line-height: 1.5; margin-bottom: 8px; }
.modal .muted { font-size: .92rem; }
.modal form { text-align: left; margin-top: 16px; }
.btn-save { background: #ffcf3d; color: var(--ink); box-shadow: 0 4px 0 #e0a800; border-radius: 999px; padding: 15px 20px; font-size: 1.02rem; }
.btn-save:hover { background: #ffd95c; }
.btn-skip { display: block; margin: 14px auto 0; background: transparent; border: 0; color: #8a93a5; font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-skip:hover { color: var(--muted); }
.modal-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.save-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font: inherit; font-weight: 700; font-size: .85rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.save-btn:hover { background: var(--blue-soft); border-color: var(--blue); }
.save-state { font-size: .78rem; color: var(--muted); }
.save-state.on { color: var(--green); font-weight: 700; }

.modal-bonus { display: flex; align-items: center; gap: 10px; background: var(--blue-soft); border-radius: 10px; padding: 10px 12px; margin: 10px 0 4px; text-align: left; }
.modal-bonus img { width: 46px; height: auto; border: 1px solid var(--line); border-radius: 3px; background: #fff; box-shadow: 0 3px 8px rgba(16,26,46,.12); }
.modal-bonus div { display: flex; flex-direction: column; font-size: .8rem; color: var(--ink); line-height: 1.4; }
.modal-bonus b { color: var(--blue-dark); font-size: .78rem; margin-bottom: 2px; }
