/* ======================================================================
   recruit/ ページ共通CSS
   （test_recruit.html / entry_form.php / entry_thanks.html から移動）
   ====================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* .page-top のsticky headerの高さ分、アンカー着地位置をずらす */
}

:root {
  /* 会社HP（contactmate.jp）の基調色 #8eaadc に合わせた明るいブルー系 */
  --green: #6f8fce;        /* メインブルー（HPの#8eaadcを少し濃く） */
  --green-dark: #46639f;   /* 見出し・濃色セクション用の深いブルー */
  --cream: #f7fafd;        /* 明るい白ベース */
  --ink: #333333;          /* HPと同じ本文色 */
  --gray: #6f7a8a;
  --accent: #f08c2e;       /* CTA用の明るいオレンジ */
  --line: #dde6f2;
  --error: #d9534f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
}
.serif { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.page-entry .wrap { max-width: 720px; }

/* header */
header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.page-top header { position: sticky; top: 0; z-index: 10; }
header .wrap { display: flex; justify-content: space-between; align-items: center; }
.page-entry header .wrap { max-width: 960px; }
.logo { font-weight: bold; letter-spacing: .05em; }
.logo small { display: block; font-size: 11px; color: var(--gray); font-weight: normal; }
nav a { text-decoration: none; color: var(--ink); font-size: 13px; margin-left: 18px; }
nav a.btn-entry {
  background: var(--accent); color: #fff; padding: 8px 18px; border-radius: 999px;
}
@media (max-width: 640px) { nav a:not(.btn-entry) { display: none; } }

/* section common */
.sec-label {
  text-align: center; font-size: 12px; letter-spacing: .3em; color: var(--accent); font-weight: bold;
}
.sec-title {
  text-align: center; font-size: clamp(22px, 4vw, 32px); letter-spacing: .1em;
  color: var(--green-dark); margin: 8px 0 44px; font-weight: 600;
}
.page-thanks .sec-title { font-size: clamp(20px, 3.5vw, 28px); }

footer { padding: 30px 0; text-align: center; font-size: 12px; color: var(--gray); }


/* ======================================================================
   採用トップページ（test_recruit.html）
   ====================================================================== */

/* hero */
.hero { padding: 90px 0 70px; text-align: center; }
.hero .catch {
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--green-dark);
}
.hero .sub {
  margin-top: 28px; font-size: clamp(14px, 2.5vw, 17px); color: var(--gray);
  letter-spacing: .06em;
}
.hero .place {
  display: inline-block; margin-top: 34px; font-size: 13px; letter-spacing: .2em;
  color: var(--green); border: 1px solid var(--green); border-radius: 999px; padding: 6px 22px;
}

section { padding: 72px 0; }

/* 正直セクション */
.honest { background: var(--green-dark); color: var(--cream); }
.honest .sec-label { color: #ffd9a8; }
.honest .sec-title { color: var(--cream); }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .honest-grid { grid-template-columns: 1fr; } }
.honest-col { background: rgba(255,255,255,.06); border-radius: 14px; padding: 30px 28px; }
.honest-col h3 {
  font-size: 18px; letter-spacing: .15em; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.25);
}
.honest-col ul { list-style: none; }
.honest-col li { padding: 7px 0 7px 1.6em; position: relative; font-size: 15px; }
.none-col li::before { content: "✕"; position: absolute; left: 0; color: #ffb3b3; }
.have-col li::before { content: "○"; position: absolute; left: 0; color: #a9e6c6; }
.honest-note { text-align: center; margin-top: 30px; font-size: 13px; color: #dce7fa; letter-spacing: .05em; }

/* 仕事セクション */
.flow { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 36px 0 28px; }
.flow span {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 20px; font-weight: 600; color: var(--green-dark); font-size: 15px;
  position: relative;
}
.flow .arrow { border: none; background: none; color: var(--accent); padding: 14px 0; font-weight: bold; }
.lead { max-width: 680px; margin: 0 auto; font-size: 15px; }

/* 数字カード */
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .num-grid { grid-template-columns: repeat(2, 1fr); } }
.num-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 14px; text-align: center;
}
.num-card .big { font-size: 30px; font-weight: bold; color: var(--green); line-height: 1.3; }
.num-card .big small { font-size: 14px; }
.num-card .cap { font-size: 14.5px; color: var(--gray); margin-top: 6px; }

/* 先輩の声 */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .voice-grid { grid-template-columns: 1fr; } }
.voice-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.voice-card .photo {
  width: 100%; aspect-ratio: 4/3; background: #e4edf9; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #94a6c2; font-size: 12px; margin-bottom: 18px;
}
.voice-card h4 { color: var(--green-dark); font-size: 16px; margin-bottom: 10px; letter-spacing: .06em; }
.voice-card p { font-size: 13.5px; color: var(--ink); }

/* 求める人 */
.want { background: #e9f1fb; }
.want-list { max-width: 620px; margin: 0 auto; list-style: none; }
.want-list li {
  background: #fff; border-radius: 10px; margin-bottom: 12px; padding: 16px 20px 16px 52px;
  position: relative; font-size: 15px;
}
.want-list li::before {
  content: "✓"; position: absolute; left: 20px; color: var(--accent); font-weight: bold;
}
.want-note { text-align: center; margin-top: 22px; font-size: 14px; color: var(--gray); }

/* 募集要項 */
.req-table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: #fff; }
.req-table th, .req-table td { border: 1px solid var(--line); padding: 16px 18px; font-size: 14px; text-align: left; vertical-align: top; }
.req-table th { background: var(--green); color: #fff; width: 28%; font-weight: 600; letter-spacing: .1em; }
@media (max-width: 640px) {
  .req-table th, .req-table td { display: block; width: 100%; border-top: none; }
  .req-table th { border-top: 1px solid var(--line); }
}

/* entry */
.entry { background: var(--green-dark); text-align: center; color: var(--cream); }
.entry .sec-title { color: var(--cream); }
.entry p { font-size: 15px; max-width: 560px; margin: 0 auto 34px; }
.entry a.big-btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-size: 18px; font-weight: bold; letter-spacing: .15em;
  padding: 18px 64px; border-radius: 999px;
}
.entry .casual { margin-top: 18px; font-size: 13px; color: #dce7fa; }


/* ======================================================================
   エントリー・見学申込みフォーム（entry_form.php）
   ====================================================================== */

.head { padding: 64px 0 8px; text-align: center; }
.head .catch {
  font-size: clamp(24px, 5vw, 36px); font-weight: 600; letter-spacing: .08em;
  color: var(--green-dark); margin: 10px 0 18px;
}
.head .sub { font-size: 14px; color: var(--gray); max-width: 520px; margin: 0 auto; }

form { padding: 44px 0 90px; }

.field { margin-bottom: 26px; }
.field label {
  display: block; font-size: 14px; font-weight: 600; color: var(--green-dark);
  margin-bottom: 8px; letter-spacing: .04em;
}
.field label .req {
  display: inline-block; margin-left: 8px; font-size: 11px; font-weight: bold;
  color: #fff; background: var(--accent); border-radius: 4px; padding: 2px 8px;
  letter-spacing: .05em; vertical-align: middle;
}
.field label .opt {
  display: inline-block; margin-left: 8px; font-size: 11px; font-weight: bold;
  color: var(--gray); background: #e9edf3; border-radius: 4px; padding: 2px 8px;
  letter-spacing: .05em; vertical-align: middle;
}
.field input, .field textarea {
  width: 100%;
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 16px;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(111,143,206,.18);
}
.field textarea { resize: vertical; min-height: 100px; }
.field .hint { font-size: 12.5px; color: var(--gray); margin-top: 6px; }
.field .err {
  display: none; font-size: 12.5px; color: var(--error); margin-top: 6px;
}
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-card {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; cursor: pointer;
}
.radio-card input { width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.radio-card span { font-size: 15px; }
.radio-card small { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }
.radio-card.checked { border-color: var(--green); background: #eef3fb; }

.file-field {
  display: none;
  background: #eef3fb; border: 1px dashed var(--green); border-radius: 10px;
  padding: 20px 20px 22px;
}
.file-field.show { display: block; }
.file-field .file-btn {
  display: inline-block; background: #fff; border: 1px solid var(--green);
  color: var(--green-dark); font-size: 14px; font-weight: 600;
  border-radius: 999px; padding: 10px 24px; cursor: pointer;
}
.file-field .file-name { margin-top: 10px; font-size: 13px; color: var(--gray); }
.file-field input[type="file"] { display: none; }
.file-field.invalid { border-color: var(--error); border-style: solid; }

.submit-area { text-align: center; margin-top: 40px; }
button.big-btn {
  display: inline-block; background: var(--accent); color: #fff; border: none; cursor: pointer;
  font-size: 17px; font-weight: bold; letter-spacing: .12em;
  padding: 17px 60px; border-radius: 999px; font-family: inherit;
}
button.big-btn:active { transform: translateY(1px); }
.submit-note { margin-top: 16px; font-size: 12.5px; color: var(--gray); }


/* ======================================================================
   お申込み完了ページ（entry_thanks.html）
   ====================================================================== */

.thanks {
  padding: 110px 0 100px;
  text-align: center;
}
.thanks .icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 34px;
}
.thanks .icon svg { width: 40px; height: 40px; }
.thanks .catch {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--green-dark);
}
.thanks .sub {
  margin-top: 26px; font-size: clamp(14px, 2.3vw, 16px); color: var(--gray);
  letter-spacing: .04em;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

section.next { padding: 0 0 80px; }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 820px; margin: 0 auto; }
@media (max-width: 720px) { .step-grid { grid-template-columns: 1fr; } }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 22px; text-align: left; position: relative;
}
.step-card .num {
  font-size: 13px; letter-spacing: .1em; color: var(--accent); font-weight: bold; margin-bottom: 10px;
}
.step-card h4 { color: var(--green-dark); font-size: 15.5px; margin-bottom: 10px; letter-spacing: .04em; }
.step-card p { font-size: 13.5px; color: var(--gray); }

.note-box {
  max-width: 620px; margin: 48px auto 0;
  background: #e9f1fb; border-radius: 14px;
  padding: 26px 30px; font-size: 14px; color: var(--ink);
}
.note-box strong { color: var(--green-dark); }

.back {
  text-align: center; margin-top: 50px;
}
.back a {
  display: inline-block; text-decoration: none;
  color: var(--green-dark); font-size: 14px;
  border: 1px solid var(--green); border-radius: 999px;
  padding: 12px 34px;
}
