/* ============================================================
   吉村製材 ? recruit.css
   採用情報ページ専用スタイル
   ============================================================ */

/* page-hero / breadcrumb / news-head 共通再定義 */
.page-hero {
  position: relative; width: 100%; overflow: hidden;
  height: 220px; background: var(--walnut-dark);
}
.page-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block; opacity: 0.75;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(53,34,28,0.55) 0%, rgba(53,34,28,0.15) 60%, transparent 100%);
  display: flex; align-items: center;
}
.page-hero-content { display: flex; align-items: center; gap: 16px; }
.page-hero--detail { height: 260px; }
.page-hero-detail-inner { display: flex; flex-direction: column; gap: 10px; }
.page-hero-mark-sm { width: 28px; height: 28px; flex-shrink: 0; }
.page-hero-title--lg {
  font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px);
  font-weight: 600; color: #fff; letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.breadcrumb {
  background: var(--cream); border-bottom: 1px solid var(--w200); padding: 10px 0;
}
.breadcrumb .container {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 300; color: var(--sub);
}
.breadcrumb a { color: var(--sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--walnut); }
.breadcrumb-sep { color: var(--w300); }
.news-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-head-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--forest); flex-shrink: 0; }
.news-head-ja { font-family: var(--font-sans); font-size: 32px; font-weight: 600; color: var(--walnut); letter-spacing: 0.08em; }
.news-head-en { font-size: 14px; font-weight: 600; color: var(--forest); letter-spacing: 0.12em; }
.news-head-line { height: 6px; background: linear-gradient(to right, var(--forest) 250px, var(--chestnut) 250px); opacity: 1; }

/* ── ページヘッダーエリア ── */
.recruit-page-head {
  background: var(--cream);
  padding: 40px 0 0;
}

/* ── メインコンテンツ ── */
.recruit-main {
  background: var(--cream);
  padding: 48px 0 72px;
}

/* リードテキスト */
.recruit-lead {
  text-align: center;
  margin-bottom: 32px;
}
.recruit-lead-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

/* メイン写真 */
.recruit-main-photo {
  max-width: 900px;
  margin: 0 auto 28px;
  border-radius: 8px;
  overflow: hidden;
}
.recruit-main-photo img {
  width: 100%; height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

/* サブコピー */
.recruit-sub-copy {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--sub);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* 特長バッジ */
.recruit-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  max-width: 680px;
  margin: 0 auto;
}
.recruit-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.recruit-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.recruit-feature-icon svg {
  width: 100%; height: 100%;
}
.recruit-feature-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--walnut);
  letter-spacing: 0.06em;
}

/* ── セクション共通（about.css と同仕様） ── */
.recruit-section {
  padding: 52px 0 60px;
  border-top: 1px solid var(--w200);
}
.recruit-section--tinted { background: var(--w100); }
.about-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.about-sec-icon { color: var(--chestnut); font-size: 14px; flex-shrink: 0; }
.about-sec-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--walnut); letter-spacing: 0.1em; }
.about-sec-line { height: 1px; background: linear-gradient(to right, var(--chestnut) 60px, var(--w200) 60px); margin-bottom: 32px; }
.about-coming { text-align: center; font-size: 13px; color: var(--w300); letter-spacing: 0.14em; padding: 32px 0; }

/* ── 数字で見る吉村製材 ── */
.nums-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--w200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.nums-top-col {
  padding: 32px 36px;
  text-align: center;
  border-right: 1px solid var(--w200);
}
.nums-top-col:last-child { border-right: none; }

.nums-label {
  font-size: 15px;
  font-weight: 600;
  color: #E99413;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.nums-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
}
.nums-icon--sm { width: 48px; height: 48px; margin-bottom: 10px; }
.nums-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--sub);
  line-height: 1.75;
  margin-bottom: 16px;
  text-align: left;
}
.nums-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 14px;
}
.nums-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nums-value {
  font-size: 36px;
  font-weight: 700;
  color: #E99413;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.nums-unit { font-size: 18px; font-weight: 500; }
.nums-note { font-size: 11px; color: var(--sub); letter-spacing: 0.06em; }

.nums-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--w200);
  border-radius: 4px;
  overflow: hidden;
}
.nums-bottom-col {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--w200);
}
.nums-bottom-col:last-child { border-right: none; }


/* ── 資格取得・教育など ── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}
.edu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
/*.edu-icon-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--chestnut);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
}*/
.edu-item:hover .edu-icon-wrap {
  border-color: var(--forest);
  box-shadow: 0 4px 16px rgba(91,144,28,0.15);
}
.edu-icon-wrap img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.edu-label {
  font-size: 16px;
  font-weight: 500;
  color: #E99413;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* ── 募集要項テーブル ── */
.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.req-table tr { border-bottom: 1px solid var(--w200); }
.req-table tr:first-child { border-top: 1px solid var(--w200); }
.req-table tr:hover { background: var(--w100); }
.req-lbl {
  width: 160px;
  font-weight: 500;
  color: var(--sub);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 16px 16px 16px 0;
  vertical-align: top;
  white-space: nowrap;
}
.req-val {
  font-weight: 300;
  color: var(--text);
  padding: 16px 0;
  vertical-align: top;
  line-height: 1.8;
}


/* ── 応募フォーム ── */
.apply-lead {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}
.apply-form {
  max-width: 760px;
  margin: 0 auto;
}
.apply-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--w200);
}
.apply-row:first-of-type { border-top: 1px solid var(--w200); }
.apply-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--walnut);
  letter-spacing: 0.04em;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.apply-required {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--chestnut);
  border-radius: 999px;
  padding: 2px 10px;
  letter-spacing: 0.06em;
}
.apply-input {
  width: 100%;
  background: var(--w100);
  border: 1px solid var(--w200);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-family: var(--font-sans);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.apply-input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(91,144,28,0.12);
  background: #fff;
}
.apply-input--zip { width: 120px; }
.apply-select {
  background: var(--w100);
  border: 1px solid var(--w200);
  border-radius: 6px;
  padding: 9px 32px 9px 14px;
  font-size: 13.5px;
  font-family: var(--font-sans);
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--transition);
}
.apply-select:focus { border-color: var(--forest); }
.apply-select--sm { width: 120px; }
.apply-field--inline { display: flex; align-items: center; gap: 10px; }
.apply-unit { font-size: 13px; color: var(--text); }
.apply-zip-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.apply-zip-mark { font-size: 14px; color: var(--sub); }
.apply-zip-search {
  font-size: 12px;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
}
.apply-zip-search:hover { text-decoration: underline; }
.apply-addr-label {
  font-size: 12px;
  color: var(--sub);
  margin: 8px 0 4px;
  letter-spacing: 0.04em;
}
.apply-submit {
  text-align: center;
  padding-top: 36px;
}
.apply-btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--chestnut);
  border: none;
  border-radius: 999px;
  padding: 14px 56px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.apply-btn:hover {
  background: var(--chestnut-lt);
  transform: translateY(-2px);
}

/* ── プライバシーポリシー ── */
.privacy-intro {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.privacy-block { margin-bottom: 32px; }
.privacy-subtitle {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.privacy-line {
  height: 1px;
  background: var(--w200);
  margin-bottom: 14px;
}
.privacy-body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.privacy-list li {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 2;
  letter-spacing: 0.04em;
  padding-left: 1.2em;
}
.privacy-list li::before {
  content: '・';
  margin-left: -1.2em;
}


@media (max-width: 560px) {
  .req-table tr, .req-table td { display: block; }
  .req-lbl { padding-bottom: 4px; border-bottom: none; white-space: normal; }
  .req-val { padding-top: 0; }
}

/* ── レスポンシブ ── */
@media (max-width: 860px) {
  .page-hero--detail { height: 200px; }
  .recruit-features { grid-template-columns: 1fr; gap: 16px; max-width: 320px; }
  .nums-top-grid { grid-template-columns: 1fr; }
  .nums-top-col { border-right: none; border-bottom: 1px solid var(--w200); }
  .nums-top-col:last-child { border-bottom: none; }
  .nums-bottom-grid { grid-template-columns: repeat(2, 1fr); }
  .nums-bottom-col:nth-child(2) { border-right: none; }
	
	.apply-row { grid-template-columns: 1fr; gap: 6px; }
  .apply-label { padding-top: 0; }
}


/* ── 確認画面テーブル ── */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 14px;
}
.confirm-table tr { border-bottom: 1px solid var(--w200); }
.confirm-table tr:first-child { border-top: 1px solid var(--w200); }
.confirm-table th {
  width: 180px;
  padding: 16px 16px 16px 0;
  font-weight: 500;
  color: var(--sub);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  vertical-align: top;
  white-space: nowrap;
}
.confirm-table td {
  padding: 16px 0;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  vertical-align: top;
}

/* ── 確認ボタン ── */
.confirm-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}
.confirm-btn-back {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.confirm-btn-back:hover { color: var(--walnut); }

/* ── エラーメッセージ ── */
.contact-error-msg {
  color: #c0392b;
  font-size: 13.5px;
  font-weight: 500;
  background: #fdf2f2;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

/* ── エラー入力欄 ── */
.apply-input--error {
  border-color: #c0392b !important;
  background: #fdf2f2 !important;
}

/* ── 完了・エラー画面 ── */
.thanks-wrap {
  max-width: 600px;
  margin: 48px auto 80px;
  text-align: center;
}
.thanks-icon { margin-bottom: 24px; }
.thanks-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.thanks-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  line-height: 2.1;
  margin-bottom: 36px;
}
.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--forest);
  border-radius: 24px;
  padding: 12px 40px;
  text-decoration: none;
  transition: background var(--transition);
}
.thanks-btn:hover { filter: brightness(1.1); }

@media (max-width: 560px) {
  .confirm-table th { width: 100px; font-size: 11.5px; }
  .confirm-btns { flex-direction: column; gap: 16px; }
}
