:root {
  --white: #ffffff;
  --ink: #16181d;
  --ink-2: #4a505b;
  --muted: #7a818c;
  --pitch: #00a07a;
  --pitch-dark: #007d5f;
  --sky: #1e88d9;
  --whistle: #e8463a;
  --whistle-dark: #c9372c;
  --mist: #eef7f4;
  --line: #e3e7ea;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --shadow: 0 6px 24px rgba(22, 24, 29, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .03em;
  overflow-x: hidden;
}
a { color: var(--pitch-dark); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); line-height: 1; }
.logo b { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .01em; }
.logo b span { color: var(--pitch); }
.logo small { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.site-footer { margin-top: 0; background: var(--ink); color: #aeb4bd; font-size: 13px; padding: 36px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--whistle); color: #fff; font-weight: 700; text-decoration: none;
  border: 0; border-radius: 999px; padding: 16px 22px 16px 34px; font-size: 17px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(232, 70, 58, .28); font-family: inherit; letter-spacing: .05em;
  transition: background .15s;
}
.btn .arw { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--whistle); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.btn:hover { background: var(--whistle-dark); }
.btn:disabled { background: #a7adb5; box-shadow: none; cursor: not-allowed; }
.btn-sm { padding: 9px 12px 9px 20px; font-size: 14px; box-shadow: none; gap: 10px; }
.btn-sm .arw { width: 20px; height: 20px; font-size: 11px; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid #cfd5da; box-shadow: none; padding: 10px 20px; font-size: 14px; }
.btn-line:hover { background: var(--mist); }
.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.cta .bubble { position: relative; font-size: 12.5px; color: var(--whistle); border: 1px solid var(--whistle); background: #fff; border-radius: 999px; padding: 2px 16px; font-weight: 500; }
.cta .bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 9px; height: 9px; background: #fff; border-right: 1px solid var(--whistle); border-bottom: 1px solid var(--whistle); transform: translateX(-50%) rotate(45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 80px; overflow: hidden; }
.hero::before { /* ピッチのライン（斜めの帯） */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(0,160,122,.10) 58% 61%, transparent 61% 64%, rgba(30,136,217,.10) 64% 66%, transparent 66%);
}
.hero-word {
  font-family: var(--display); font-weight: 700; text-transform: none;
  font-size: clamp(40px, 9.6vw, 132px); line-height: 1.02; letter-spacing: -.01em;
  margin: 0 0 32px; white-space: nowrap; position: relative;
}
.hero-word .l2 {
  display: block; padding-left: .6em; padding-bottom: .06em;
  background: linear-gradient(90deg, var(--pitch) 0%, var(--sky) 55%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-word { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-word .l2 { animation: rise .9s .12s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
.hero .wrap > .row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-size: 30px; line-height: 1.6; margin: 0 0 18px; font-weight: 700; }
.hero .lead { color: var(--ink-2); margin: 0 0 30px; max-width: 30em; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0 0 34px; list-style: none; }
.hero .facts li { display: flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--ink-2); }
.hero .facts b { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--pitch); line-height: 1; letter-spacing: .01em; }

/* CV sample */
.cv-sample { background: var(--white); border-radius: 6px; padding: 22px 22px 16px; font-size: 10.5px; line-height: 1.5; color: var(--ink); box-shadow: 0 18px 50px rgba(22,24,29,.16); transform: rotate(2.5deg); font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
.cv-sample .top { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--pitch); }
.cv-sample .photo { border-radius: 4px; height: 116px; background: linear-gradient(160deg, #cfe9e0, #d6e6f6); display: flex; align-items: flex-end; justify-content: center; color: #6c8a86; font-size: 9px; padding-bottom: 6px; letter-spacing: .1em; }
.cv-sample .kicker { font-family: var(--display); letter-spacing: .12em; font-size: 10px; color: var(--muted); }
.cv-sample .name { font-family: var(--display); font-size: 27px; font-weight: 700; line-height: 1.05; margin: 2px 0; }
.cv-sample .pos { font-family: var(--display); letter-spacing: .14em; font-weight: 600; color: var(--pitch); font-size: 11px; }
.cv-sample dl { display: grid; grid-template-columns: auto 1fr; gap: 1px 10px; margin: 8px 0 0; }
.cv-sample dt { color: var(--muted); }
.cv-sample dd { margin: 0; }
.cv-sample h4 { font-family: var(--display); margin: 12px 0 4px; font-size: 11px; letter-spacing: .1em; color: var(--ink); }
.cv-sample p { margin: 0; color: var(--ink-2); }
.cv-sample table { width: 100%; border-collapse: collapse; }
.cv-sample th, .cv-sample td { text-align: left; padding: 3px 4px; border-bottom: 1px solid #e8ebee; }
.cv-sample th { color: var(--muted); font-weight: 400; font-size: 9px; background: #f4f8f7; }
.cv-sample .n { text-align: right; }
.cv-sample .credit { text-align: right; color: var(--muted); font-size: 8.5px; margin-top: 10px; letter-spacing: .06em; }

/* ---------- sections ---------- */
.block { padding: 96px 0 0; }
.sec-title { text-align: center; margin: 0 0 48px; }
.sec-title .en { display: block; font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.sec-title .ja { display: block; font-size: 17px; font-weight: 500; margin-top: 12px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; border-top: 2px dashed #bfe3d8; }
.steps li { text-align: center; position: relative; }
.steps .n { width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 2px solid var(--pitch); color: var(--pitch); font-family: var(--display); font-weight: 600; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; }
.steps strong { display: block; font-size: 16px; margin-bottom: 6px; }
.steps p { margin: 0 auto; font-size: 14px; color: var(--ink-2); max-width: 15em; text-align: left; }

.features { background: var(--mist); margin-top: 96px; padding: 88px 0; }
.features .block { padding-top: 0; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.points > div { background: #fff; border-radius: 14px; padding: 28px 26px; box-shadow: var(--shadow); }
.points .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--pitch); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.points .ic svg { width: 22px; height: 22px; }
.points strong { display: block; font-size: 17px; margin-bottom: 8px; }
.points p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { font-weight: 500; cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: center; padding: 20px 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--pitch); line-height: 1; flex: none; }
.faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0; padding: 0 4px 22px 38px; font-size: 15px; color: var(--ink-2); }

.closing { margin-top: 110px; padding: 72px 0 80px; text-align: center; background: linear-gradient(115deg, var(--white) 0 48%, var(--mist) 48%); }
.closing h2 { font-size: 26px; font-weight: 700; margin: 0 0 28px; line-height: 1.6; }

/* ---------- form ---------- */
.form-page { background: var(--mist); padding: 8px 0 0; }
.hero-sub { padding: 40px 0 56px; }
.hero-sub .hero-word { font-size: clamp(40px, 8vw, 112px); margin-bottom: 28px; }
.hero-sub h1 { font-size: 26px; margin: 0 0 10px; }
.hero-sub .lead { margin: 0 0 32px; }
.form-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 760px; position: relative; }
.form-steps::before { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; border-top: 2px dashed #bfe3d8; }
.form-steps a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 500; position: relative; }
.form-steps .n { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--pitch); color: var(--pitch); font-family: var(--display); font-weight: 600; font-size: 19px; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.form-steps a:hover .n { background: var(--pitch); color: #fff; }
.hero-sub .mock-note { margin-top: 28px; }
.form-section { scroll-margin-top: 84px; }
.page-title { padding: 56px 0 24px; text-align: center; }
.page-title .en { display: block; font-family: var(--display); font-weight: 600; font-size: 56px; line-height: 1; }
.page-title h1 { font-size: 22px; font-weight: 700; margin: 12px 0 10px; }
.page-title p { margin: 0 auto; color: var(--ink-2); max-width: 36em; }
.mock-note { display: inline-block; background: #fff7df; border: 1px solid #f1d98f; border-radius: 8px; padding: 6px 14px; font-size: 13.5px; margin: 16px 0 0; }
.form-wrap { max-width: 860px; margin: 0 auto; }
.form-section { background: #fff; border-radius: 16px; padding: 36px 36px 40px; margin-top: 24px; box-shadow: var(--shadow); }
.form-section > header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 8px; }
.form-section > header .n { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--pitch); color: var(--pitch); font-family: var(--display); font-weight: 600; font-size: 24px; display: flex; align-items: center; justify-content: center; flex: none; }
.form-section > header h2 { font-size: 20px; margin: 4px 0 2px; line-height: 1.5; }
.form-section > header .lead { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; border-radius: 999px; padding: 2px 11px; margin-top: 8px; }
.tag svg { width: 12px; height: 12px; }
.tag-pii { background: #edf1f5; color: #34495e; }
.tag-ai { background: var(--mist); color: var(--pitch-dark); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { margin: 22px 0 0; }
.field label, .field .label { display: block; font-weight: 500; font-size: 14.5px; margin-bottom: 7px; }
.req, .opt { font-size: 11px; font-weight: 500; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 1px; letter-spacing: .04em; }
.req { background: var(--whistle); color: #fff; }
.opt { background: #e9ecef; color: var(--muted); }
.help { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.65; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; letter-spacing: .02em; padding: 12px 14px; border: 1px solid #d3d9de; border-radius: 8px; background: #fbfcfc; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pitch); background: #fff; box-shadow: 0 0 0 3px rgba(0,160,122,.18); }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 6px; }
.radios label { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.radios input, .checks input { accent-color: var(--pitch); }
.unit { display: flex; align-items: center; gap: 8px; }
.unit input { max-width: 140px; }
.notice { background: #fdeceb; color: #8d231b; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 0 0 4px; }

.career-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 10px; font-size: 14px; }
.career-table th { background: var(--mist); font-size: 12.5px; font-weight: 500; text-align: left; padding: 8px; white-space: nowrap; }
.career-table th:first-child { border-radius: 8px 0 0 8px; }
.career-table th:last-child { border-radius: 0 8px 8px 0; }
.career-table td { padding: 8px 4px; vertical-align: top; border-bottom: 1px solid var(--line); }
.career-table input { padding: 9px; font-size: 15px; }
.career-table .num { width: 70px; }
.del { white-space: nowrap; background: none; border: 0; color: var(--whistle); cursor: pointer; font-size: 13px; padding: 8px 4px; font-family: inherit; }
.row-actions { margin-top: 14px; }

.ref-card { background: #f7faf9; border-radius: 12px; padding: 6px 20px 20px; margin-top: 14px; }
.ref-card h3 { font-size: 15px; margin: 12px 0 0; display: flex; justify-content: space-between; align-items: center; }

.photo-drop { border: 2px dashed #c5d9d3; border-radius: 12px; padding: 18px; display: flex; gap: 18px; align-items: center; background: #f7faf9; }
.photo-drop .preview { width: 96px; height: 120px; border-radius: 8px; background: linear-gradient(160deg, #d9efe8, #dde9f6); flex: none; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #6c8a86; overflow: hidden; }
.photo-drop .preview img { width: 100%; height: 100%; object-fit: cover; }

.checks label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin: 16px 0 0; }
.checks input { margin-top: 6px; flex: none; width: 18px; height: 18px; }
.submit-area { text-align: center; margin: 64px calc(50% - 50vw) 0; padding: 64px 16px 88px; background: linear-gradient(115deg, var(--white) 0 48%, var(--mist) 48%); }
.submit-area .turnstile-mock { display: block; width: fit-content; margin: 0 auto 28px; }
.submit-lead { font-size: 20px; font-weight: 700; margin: 0 0 24px; }
.turnstile-mock { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 14px 24px; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
[hidden] { display: none !important; }

/* ---------- simple pages ---------- */
.thanks { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 48px 32px; margin: 0 auto; max-width: 680px; text-align: center; }
.thanks h1 { font-size: 24px; margin: 0 0 16px; }
.thanks ol { text-align: left; display: inline-block; margin: 8px auto 24px; }

@media (max-width: 820px) {
  body { font-size: 15px; }
  .site-header .wrap { height: 58px; }
  .logo b { font-size: 22px; }
  .logo small { display: none; }
  .hero { padding: 28px 0 56px; }
  .hero-word { font-size: 12.4vw; margin-bottom: 24px; }
  .hero-word .l2 { padding-left: 0; }
  .hero .wrap > .row { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 23px; }
  .cv-sample { max-width: 360px; margin: 0 auto; transform: rotate(1.5deg); }
  .block { padding-top: 72px; }
  .sec-title { margin-bottom: 32px; }
  .sec-title .en { font-size: 46px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 36px; bottom: 36px; left: 35px; right: auto; border-top: 0; border-left: 2px dashed #bfe3d8; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; text-align: left; padding-bottom: 22px; }
  .steps .n { margin: 0; grid-row: span 2; }
  .steps strong { margin-top: 10px; }
  .steps p { margin: 0; max-width: none; }
  .features { margin-top: 72px; padding: 64px 0; }
  .points { grid-template-columns: 1fr; }
  .closing { margin-top: 80px; padding: 56px 0 64px; }
  .closing h2 { font-size: 21px; }
  .page-title .en { font-size: 42px; }
  .form-section { padding: 26px 18px 30px; border-radius: 12px; }
  .form-section > header .n { width: 46px; height: 46px; font-size: 20px; }
  .hero-sub { padding: 28px 0 40px; }
  .hero-sub .hero-word { font-size: 12vw; }
  .hero-sub h1 { font-size: 22px; }
  .form-steps a { font-size: 11px; text-align: center; line-height: 1.4; }
  .form-steps .n { width: 40px; height: 40px; font-size: 16px; }
  .form-steps::before { top: 19px; }
  .submit-lead { font-size: 17px; }
  .grid2 { grid-template-columns: 1fr; }
  .career-table thead { display: none; }
  .career-table, .career-table tbody, .career-table tr, .career-table td { display: block; width: 100%; }
  .career-table tr { background: #f7faf9; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
  .career-table td { border: 0; padding: 4px 0; }
  .career-table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); }
  .career-table .num { width: 100%; }
  .photo-drop { flex-direction: column; align-items: flex-start; }
  .btn:not(.btn-sm):not(.btn-line) { padding: 15px 18px 15px 28px; font-size: 16px; }
  .site-header .btn-sm { padding: 7px 8px 7px 14px; font-size: 13px; gap: 8px; }
  .hero .row > div:first-child { text-align: center; }
  .hero h1, .hero .lead { text-align: left; }
  .hero .facts { justify-content: center; }
  .pair { grid-template-columns: 1fr 1fr; }
  .period { gap: 8px; }
  .period .tilde { display: none; }
  .period .ym { flex: 1 1 100%; }

  .stats input { width: 64px; }
  .thanks { padding: 36px 20px; }
}

/* 送信まわり */
.submit-area .turnstile { display: flex; justify-content: center; margin: 0 auto; }
.submit-area .turnstile:has(iframe) { margin-bottom: 24px; }
.submit-error { max-width: 560px; margin: 20px auto 0; text-align: left; }

/* 2つ並べる入力欄（姓・名など） */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 経歴カード */
.career-card { background: #f7faf9; border-radius: 12px; padding: 6px 20px 20px; margin-top: 14px; }
.career-card h3 { font-size: 15px; margin: 12px 0 0; display: flex; justify-content: space-between; align-items: center; }
.career-card .field { margin-top: 14px; }
.period { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.period .ym { display: flex; align-items: center; gap: 8px; }
.period .ym-suf { display: none; font-size: 14.5px; white-space: nowrap; }
.period select { width: auto; min-width: 104px; padding-right: 28px; }
.period .now { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; margin-left: 4px; }
.period .now input { width: 18px; height: 18px; accent-color: var(--pitch); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.stats label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; margin: 0; }
.stats input { width: 80px; padding: 9px; }

/* フッターを常に画面の下に。サンクスページはカードがフッターに重ならないよう下に余白 */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
main:has(.thanks) { background: var(--mist); }
.form-page:has(.thanks) { padding-bottom: 96px; }

/* 入力欄の高さを揃える（テキスト・選択式・日付。iPhone の標準の見た目を外し、矢印は自前で描く） */
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], select {
  height: 48px; line-height: 1.4; padding-top: 0; padding-bottom: 0;
  -webkit-appearance: none; appearance: none;
}
input[type=date] { display: flex; align-items: center; }
input[type=date]::-webkit-date-and-time-value { text-align: left; }
select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a818c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}

@media (max-width: 820px) {
  .period .ym select { flex: 1; min-width: 0; }
  .period .ym-suf { display: inline; width: 2.6em; }
}

.help.short { color: var(--whistle); }

/* 言語の行 */
.lang-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; margin-top: 10px; }
.lang-row:first-child { margin-top: 0; }
.lang-row:has([name=l_other]:not([hidden])) { grid-template-columns: 1fr 1fr 1fr auto; }
@media (max-width: 820px) {
  .lang-row, .lang-row:has([name=l_other]:not([hidden])) { grid-template-columns: 1fr 1fr auto; }
  .lang-row [name=l_other]:not([hidden]) { grid-column: 1 / -1; grid-row: 2; }
}

/* 利用規約・プライバシーポリシー */
.legal-page { background: var(--mist); padding-bottom: 96px; }
.legal { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 40px 44px; max-width: 860px; margin: 0 auto; font-size: 15px; line-height: 1.9; }
.legal h2 { font-size: 17px; margin: 32px 0 8px; padding-left: 10px; border-left: 4px solid var(--pitch); line-height: 1.5; }
.legal p { margin: 0 0 10px; }
.legal ol { margin: 0 0 10px; padding-left: 1.6em; }
.legal li { margin: 4px 0; }
.legal-date { margin-top: 32px !important; color: var(--muted); font-size: 13px; text-align: right; }
@media (max-width: 820px) { .legal { padding: 26px 18px; border-radius: 12px; } }

/* 公式LINEの案内 */
.line-box { margin: 28px auto 0; padding: 20px; border-radius: 12px; background: var(--mist); max-width: 520px; }
.line-box p { margin: 0 0 12px; font-size: 14px; }
.btn-lineapp { background: #06c755; box-shadow: none; }
.btn-lineapp:hover { background: #05a647; }

/* 長所（1つずつの入力欄） */
.strength-rows { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 820px) { .strength-rows { grid-template-columns: 1fr; } }

/* β版のバッジ */
.logo .beta { align-self: center; font-size: 10px; font-weight: 700; line-height: 1; color: var(--pitch-dark); background: var(--mist); border: 1px solid #bfe3d8; border-radius: 999px; padding: 3px 7px; letter-spacing: .04em; }

/* サッカーCVとは */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.about-text p { margin: 0 0 16px; color: var(--ink-2); }
.about-list { background: var(--mist); border-radius: 14px; padding: 24px 26px; }
.about-list h3 { font-size: 16px; margin: 0 0 10px; }
.about-list ul { margin: 0; padding: 0; list-style: none; }
.about-list li { position: relative; padding: 6px 0 6px 22px; font-size: 14.5px; border-bottom: 1px solid #dcebe6; }
.about-list li:last-child { border-bottom: 0; }
.about-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 5px; border-left: 2px solid var(--pitch); border-bottom: 2px solid var(--pitch); transform: rotate(-45deg); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 20px; } }

/* トップのファーストビュー：運営と個人情報への配慮 */
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; text-align: left; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.trust .ic { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); color: var(--pitch); display: inline-flex; align-items: center; justify-content: center; margin-top: -1px; }
.trust .ic svg { width: 14px; height: 14px; }
.trust a { color: var(--pitch-dark); font-weight: 700; }

/* 申込ページ：事前に準備しておくもの */
.prep { margin-top: 32px; background: #fff; border: 1px solid #cfe7df; border-radius: 14px; padding: 22px 24px; max-width: 760px; position: relative; }
.prep h2 { font-size: 17px; margin: 0 0 4px; }
.prep > p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.prep ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.prep li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.prep li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 5px; border-left: 2px solid var(--pitch); border-bottom: 2px solid var(--pitch); transform: rotate(-45deg); }
.prep li b { color: var(--ink); margin-right: 8px; }
.prep li .opt { margin: 0 8px 0 -2px; }
@media (max-width: 820px) { .prep { padding: 18px 16px; } .prep li b { display: block; margin: 0; } .prep li .opt { margin: 0; } }

/* メインメッセージ（トップは日本語の h1 を1つだけ大きく） */
.hero { padding-top: 64px; }
.hero h1.hero-title { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.45; letter-spacing: .02em; margin: 0 0 22px; font-weight: 700; }
.hero h1.hero-title span { font-size: .62em; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1.hero-title { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
}
.hero-sub { padding-top: 56px; }
.hero-sub h1 { font-size: clamp(26px, 3.4vw, 36px); }
@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero h1.hero-title { font-size: 28px; }
  .hero-sub { padding-top: 36px; }
  .hero-sub h1 { font-size: 26px; }
}

/* 申込ページのファーストビュー：下の入力フォーム（幅860px・中央）と線をそろえる */
.hero-sub .wrap > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.hero-sub .prep { max-width: 860px; }
.hero-sub .form-steps { max-width: 860px; }
.hero-sub .mock-note { display: block; }

/* スマホのトップのファーストビュー：左揃えに統一し、見出し→説明→CV見本→3つの数字→ボタン→運営・個人情報の順に */
@media (max-width: 820px) {
  .hero .wrap > .row { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero .row > div:first-child { display: contents; text-align: left; }
  .hero h1.hero-title { order: 1; }
  .hero .lead { order: 2; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
  .hero .cv-sample { order: 3; width: 100%; max-width: 330px; margin: 4px auto 28px; transform: rotate(1.2deg); font-size: 9.5px; padding: 16px 16px 12px; }
  .hero .cv-sample .top { grid-template-columns: 76px 1fr; gap: 12px; }
  .hero .cv-sample .photo { height: 96px; }
  .hero .cv-sample .name { font-size: 23px; }
  .hero .cv-sample dd { white-space: nowrap; }
  .hero .facts { order: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 22px; justify-content: stretch; }
  .hero .facts li { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 11.5px; white-space: nowrap; padding: 0 8px; border-left: 1px solid var(--line); line-height: 1.4; }
  .hero .facts li:first-child { border-left: 0; padding-left: 0; }
  .hero .facts b { font-size: 24px; }
  .hero .cta { order: 5; display: flex; width: 100%; }
  .hero .cta .btn { width: 100%; justify-content: center; }
  .hero .trust { order: 6; margin-top: 20px; }
}
@media (max-width: 820px) { .br-sp { display: block; } }
