/* ============================================
   転職の窓口 トップページ（シングルカラム型LP）
   ============================================ */
:root {
  --lp-blue: #1f3a5f;
  --lp-blue-dark: #1f3a5f;
  --lp-blue-pale: #f6f1e7;
  --lp-pink: #e8801a;
  --lp-pink-dark: #bf6510;
  --lp-text: #222b36;
  --lp-muted: #5f6f78;
  --lp-line: #e3dccb;
  --lp-w: 640px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--lp-text);
  background: #fff;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.lp-wrap { max-width: var(--lp-w); margin: 0 auto; padding: 0 20px; }
.lp-sec { padding: 48px 0; }
.lp-sec--blue { background: var(--lp-blue); color: #fff; }
.lp-sec--pale { background: var(--lp-blue-pale); }
.lp-title { font-size: 22px; font-weight: 800; line-height: 1.5; text-align: center; margin-bottom: 24px; }
.lp-title em { font-style: normal; color: var(--lp-pink); }
.lp-sec--blue .lp-title em { color: #fff; background: linear-gradient(transparent 60%, rgba(240,89,127,.85) 60%); }

/* hero */
.lp-hero { background: var(--lp-blue); color: #fff; padding: 40px 0 36px; }
.lp-hero__grid { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-hero__lead { font-size: 13px; opacity: .9; }
.lp-badge { display: inline-block; border: 1px solid rgba(255,255,255,.6); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 16px; border-radius: 999px; margin-bottom: 14px; }
.lp-hero h1 { font-size: 27px; line-height: 1.5; font-weight: 800; margin-bottom: 12px; }
.lp-hero h1 span { color: #ffc46b; }
.lp-hero__img { width: 120px; flex-shrink: 0; border-radius: 50%; }
.lp-intro { padding: 32px 0 8px; }
.lp-intro p { font-size: 15px; margin-bottom: 14px; }
.lp-intro strong { background: linear-gradient(transparent 65%, #ffe27a 65%); }

/* 3 criteria */
.lp-criteria { text-align: center; padding: 36px 0; }
.lp-criteria h2 { font-size: 20px; line-height: 1.6; font-weight: 800; }
.lp-criteria h2 b { font-size: 30px; }
.lp-crit-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; text-align: left; }
.lp-crit-list li { background: #fff; color: var(--lp-text); border-radius: 10px; padding: 12px 16px; font-weight: 700; font-size: 15px; }
.lp-crit-list li span { color: var(--lp-pink); margin-right: 8px; font-weight: 800; }

/* diagnosis */
.lp-diag { background: var(--lp-blue); padding: 44px 0 56px; color: #fff; }
.lp-form { background: #fff; color: var(--lp-text); border-radius: 14px; padding: 24px 18px 28px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.lp-form__title { text-align: center; font-size: 22px; font-weight: 800; color: var(--lp-blue-dark); margin-bottom: 4px; }
.lp-form__sub { text-align: center; font-size: 12px; color: var(--lp-muted); margin-bottom: 20px; }
.lp-q { border: 0; margin-bottom: 20px; }
.lp-q legend { font-weight: 800; font-size: 15px; background: var(--lp-blue-pale); border-left: 4px solid var(--lp-blue); padding: 6px 10px; width: 100%; margin-bottom: 10px; }
.lp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.lp-opt span { display: block; border: 1.5px solid var(--lp-line); border-radius: 8px; padding: 10px 8px; font-size: 14px; text-align: center; cursor: pointer; background: #fff; line-height: 1.4; }
.lp-opt input:checked + span { border-color: var(--lp-blue-dark); background: var(--lp-blue-pale); font-weight: 800; color: var(--lp-blue-dark); }
.lp-opt input:focus-visible + span { outline: 3px solid #ffb703; }
.lp-form__err { color: var(--lp-pink-dark); font-size: 13px; text-align: center; min-height: 20px; margin-bottom: 8px; }
.lp-btn { display: block; width: 100%; border: 0; border-radius: 999px; background: var(--lp-pink); color: #fff; font-weight: 800; font-size: 17px; padding: 16px 12px; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--lp-pink-dark); transition: transform .1s, box-shadow .1s; }
.lp-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--lp-pink-dark); }
.lp-btn--line { background: #06c755; box-shadow: 0 4px 0 #05a548; margin-top: 12px; }
.lp-btn--line:hover { box-shadow: 0 2px 0 #05a548; }
.lp-btn small { display: block; font-size: 11px; font-weight: 500; opacity: .9; margin-top: 2px; }

/* 3 points cards */
.lp-card { background: #fff; border: 3px solid var(--lp-blue); border-radius: 14px; padding: 28px 18px 20px; position: relative; margin: 34px 0; }
.lp-card__no { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--lp-blue); color: #fff; font-weight: 800; padding: 2px 22px; border-radius: 999px; font-size: 16px; }
.lp-card h3 { text-align: center; font-size: 18px; line-height: 1.5; font-weight: 800; margin-bottom: 12px; }
.lp-card h3 em { font-style: normal; color: var(--lp-pink); }
.lp-card p { font-size: 14px; margin-bottom: 10px; }
.lp-card ul { padding-left: 1.2em; font-size: 14px; }
.lp-chips { display: flex; gap: 8px; margin: 12px 0; }
.lp-chips span { flex: 1; text-align: center; background: var(--lp-blue); color: #fff; font-weight: 800; border-radius: 8px; padding: 10px 0; }

/* explainer */
.lp-explain h2 { font-size: 22px; line-height: 1.5; font-weight: 800; text-align: center; margin-bottom: 14px; }
.lp-explain h2 em { font-style: normal; color: var(--lp-blue-dark); font-size: 26px; }
.lp-explain p { font-size: 15px; margin-bottom: 12px; }
.lp-reason { background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.lp-reason h3 { font-size: 16px; font-weight: 800; color: var(--lp-blue-dark); margin-bottom: 6px; }
.lp-reason h3 span { display: inline-block; background: var(--lp-blue); color: #fff; border-radius: 50%; width: 26px; height: 26px; line-height: 26px; text-align: center; margin-right: 8px; font-size: 14px; }
.lp-reason p { font-size: 14px; margin: 0; }

/* cta */
.lp-cta { text-align: center; }
.lp-cta .lp-free { display: inline-block; font-size: 12px; font-weight: 800; color: var(--lp-pink); border: 1.5px solid var(--lp-pink); border-radius: 999px; padding: 2px 14px; margin-bottom: 10px; background: #fff; }
.lp-cta p.lp-note { font-size: 12px; color: var(--lp-muted); margin-top: 10px; }

/* faq */
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 10px; margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; font-weight: 800; padding: 14px 16px; font-size: 15px; }
.lp-faq details p { padding: 0 16px 14px; font-size: 14px; }

/* articles */
.lp-links h3 { font-size: 15px; font-weight: 800; margin: 18px 0 8px; color: var(--lp-blue-dark); }
.lp-links ul { list-style: none; display: grid; gap: 6px; }
.lp-links a { display: block; padding: 10px 14px; border: 1px solid var(--lp-line); border-radius: 8px; text-decoration: none; font-size: 14px; background: #fff; }
.lp-links a:hover { background: var(--lp-blue-pale); }

body.is-lp { padding-top: 64px; }
body.is-lp .site-footer { padding-bottom: 90px; }

/* floating cta */
.lp-float { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); box-shadow: 0 -2px 10px rgba(0,0,0,.1); transform: translateY(110%); transition: transform .25s; z-index: 50; }
.lp-float.is-visible { transform: none; }
.lp-float .lp-btn { max-width: var(--lp-w); margin: 0 auto; font-size: 15px; padding: 13px 12px; }

@media (min-width: 700px) {
  .lp-hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-float, .lp-btn { transition: none; }
}

/* checklist */
.lp-check { padding: 36px 0; background: var(--lp-blue-pale); }
.lp-check__list { list-style: none; display: grid; gap: 10px; }
.lp-check__list li { background: #fff; border-radius: 10px; padding: 12px 16px 12px 44px; font-weight: 700; font-size: 15px; position: relative; border: 1px solid var(--lp-line); }
.lp-check__list li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--lp-pink); color: #fff; font-size: 13px; text-align: center; line-height: 22px; }
.lp-diag { background: var(--lp-blue) !important; }
.lp-diag .lp-title { color: #fff; }
.lp-diag .lp-title em { color: #ffc46b; }

/* stepwise form */

/* timeline */
.lp-tl { list-style: none; position: relative; padding-left: 30px; counter-reset: tl; }
.lp-tl::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--lp-line); }
.lp-tl li { position: relative; margin-bottom: 26px; counter-increment: tl; }
.lp-tl li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--lp-pink); box-shadow: 0 0 0 4px #fff; }
.lp-tl h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: var(--lp-blue); }
.lp-tl p { font-size: 14px; }
.lp-tag { display: inline-block; background: var(--lp-blue-pale); border: 1px solid var(--lp-line); border-radius: 4px; padding: 0 8px; margin: 0 2px; font-weight: 700; font-size: 13px; }

/* steps */
.lp-steps { display: grid; gap: 12px; }
.lp-step { background: #fff; border-radius: 12px; padding: 16px 18px; border-left: 5px solid var(--lp-pink); }
.lp-step span { font-size: 11px; font-weight: 800; color: var(--lp-pink-dark); letter-spacing: .1em; }
.lp-step h3 { font-size: 16px; font-weight: 800; margin: 2px 0 4px; }
.lp-step p { font-size: 14px; }

/* search form */
.lp-kinds { border: 0; padding: 0; margin: 0 0 14px; }
.lp-kinds legend { font-weight: 800; font-size: 14px; margin-bottom: 6px; padding: 0; }
.lp-kinds label { display: flex; align-items: center; gap: 8px; font-size: 15px; padding: 8px 10px; margin-bottom: 6px; border: 1.5px solid var(--lp-line); border-radius: 8px; background: #fff; cursor: pointer; }
.lp-kinds input { width: 18px; height: 18px; accent-color: var(--lp-blue); }
.lp-field { display: block; margin-bottom: 14px; }
.lp-field span { display: block; font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.lp-field select { width: 100%; font-size: 16px; padding: 12px 10px; border: 1.5px solid var(--lp-line); border-radius: 8px; background: #fff; color: var(--lp-text); }
.lp-field select:focus-visible { outline: 3px solid #ffb703; }

/* results */

.lp-res__count { color: #fff; text-align: center; font-size: 14px; margin-bottom: 14px; }
.lp-res__count b { font-size: 22px; color: #ffc46b; }
.lp-res { background: #fff; color: var(--lp-text); border-radius: 14px; padding: 18px 16px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.lp-res__rank { display: inline-flex; align-items: baseline; gap: 2px; margin: -4px 0 10px; padding: 4px 16px 4px 12px; border-radius: 6px 20px 20px 6px; color: #fff; font-weight: 800; font-size: 15px; background: var(--lp-blue); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.lp-res__rank b { font-size: 26px; line-height: 1; }
.lp-res__rank[hidden] { display: none; }
.lp-res__rank[data-rank="1"] { background: linear-gradient(135deg, #f7d154, #d49a0c); color: #4a3300; }
.lp-res__rank[data-rank="2"] { background: linear-gradient(135deg, #e6eaee, #a9b2bb); color: #2f3a45; }
.lp-res__rank[data-rank="3"] { background: linear-gradient(135deg, #e9a26b, #b9692f); color: #fff; }
.lp-res:has(.lp-res__rank[data-rank="1"]) { box-shadow: 0 0 0 3px #f2c230, 0 6px 18px rgba(0,0,0,.22); }
.lp-res__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; padding-left: 12px; border-left: 5px solid var(--lp-pink); }
.lp-res h3 { font-size: 21px; font-weight: 800; line-height: 1.35; letter-spacing: .02em; color: var(--lp-blue); }
.lp-res__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 4px; font-size: 13px; }
.lp-g { font-weight: 800; font-size: 12px; color: var(--lp-muted); border: 1px solid var(--lp-line); border-radius: 3px; padding: 0 5px; }
.lp-stars { font-size: 15px; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, #f5a623 var(--r, 0%), #d9d3c4 var(--r, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-res__rating b { font-size: 15px; }
.lp-res__rcount, .lp-res__rasof { color: var(--lp-muted); font-size: 12px; }
.lp-res__rating a { font-size: 12px; color: var(--lp-blue); text-decoration: underline; }
.lp-res__tag { font-size: 13px; font-weight: 700; color: var(--lp-pink-dark); margin-top: 2px; }
.lp-res__pts { list-style: none; background: var(--lp-blue-pale); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; display: grid; gap: 4px; }
.lp-res__pts li { font-size: 13px; padding-left: 1.2em; position: relative; }
.lp-res__pts li::before { content: "✓"; position: absolute; left: 0; color: var(--lp-pink-dark); font-weight: 800; }
.lp-res__for { font-size: 13px; margin-bottom: 12px; }
.lp-res__for b { display: inline-block; background: var(--lp-blue); color: #fff; font-size: 11px; padding: 0 8px; border-radius: 4px; margin-right: 8px; }
.lp-res__banner { display: flex; flex-direction: column; align-items: center; margin-bottom: 12px; }
.lp-res__banner img { display: block; max-width: 100%; height: auto; border: 0; }
.lp-res__btns { display: grid; gap: 8px; }
.lp-res .lp-btn { font-size: 14px; padding: 12px 10px; }
.lp-btn--sub { background: #fff; color: var(--lp-pink-dark); border: 2px solid var(--lp-pink); box-shadow: none; }
.lp-btn--sub:hover { background: #fff7ee; box-shadow: none; transform: none; }
.lp-res__note { color: rgba(255,255,255,.85); font-size: 11px; line-height: 1.6; }

.lp-results-wrap { margin-top: 28px; }
.lp-reset[hidden] { display: none; }
.lp-reset { display: block; margin: 0 auto 16px; background: none; border: 0; color: #fff; text-decoration: underline; font-size: 13px; cursor: pointer; }
.lp-empty { background: #fff; border-radius: 14px; padding: 18px 16px; margin-bottom: 14px; text-align: center; }
.lp-empty p { font-size: 14px; margin-bottom: 12px; }
.lp-res[hidden], .lp-empty[hidden] { display: none; }
.lp-res__more { display: block; text-align: center; font-size: 13px; color: var(--lp-blue); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0 2px; }
.lp-res__more:hover { color: var(--lp-pink-dark); }
