/* 顧客採用サイト共通CSS。モバイルファースト（基準幅375px）。
 * テーマ色は site_base.html がCSS変数 --brand に注入する。 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #0e7490;
  --text: #1f2937;
  --muted: #6b7280;
  --bg-alt: #f4f6f8;
  --line-green: #06c755;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 72px; /* 下部CTAバーの分 */
}

a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }

.preview-banner {
  background: #b91c1c; color: #fff; text-align: center;
  font-size: 13px; padding: 6px; font-weight: bold;
}

.sample-banner {
  background: #fef3c7; color: #92400e; text-align: center;
  font-size: 13px; padding: 8px 12px; border-bottom: 1px solid #fcd34d;
}
.sample-banner a { color: #b45309; font-weight: bold; }

/* ヘッダー */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: #fff; border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; z-index: 10;
}
.site-header__name { font-weight: bold; font-size: 16px; color: var(--text); text-decoration: none; }
.site-header__logo { max-height: 36px; width: auto; }
.site-header__tel { font-size: 13px; font-weight: bold; text-decoration: none; white-space: nowrap; }

/* ヒーロー */
.hero {
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000));
  background-size: cover; background-position: center;
  color: #fff; padding: 64px 20px; text-align: center;
}
.hero__title { font-size: 26px; line-height: 1.5; font-weight: bold; }
.hero__subtitle { margin-top: 12px; font-size: 15px; opacity: .95; }
.hero__cta { margin-top: 24px; }

/* セクション */
.section { padding: 40px 20px; max-width: 720px; margin: 0 auto; }
.section--alt { background: var(--bg-alt); max-width: none; }
.section--alt > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.section__title {
  font-size: 21px; text-align: center; margin-bottom: 24px; font-weight: bold;
}
.section__title::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--brand); margin: 10px auto 0; border-radius: 2px;
}
.text p { margin-bottom: 1em; }

/* ボタン */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 999px;
  font-weight: bold; text-decoration: none; text-align: center;
  border: none; font-size: 16px; cursor: pointer;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.btn--ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn--block { display: block; width: 100%; }

/* 求人カード */
.job-list { display: grid; gap: 14px; }
.job-card {
  display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 18px; text-decoration: none; color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.job-card__type {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: bold; padding: 2px 10px; border-radius: 999px;
}
.job-card__title { display: block; font-size: 18px; font-weight: bold; margin-top: 8px; }
.job-card__salary { display: block; color: var(--brand); font-weight: bold; margin-top: 4px; }
.job-card__location { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.job-card__more { display: block; text-align: right; color: var(--brand); font-size: 14px; margin-top: 8px; }

/* 代表メッセージ */
.message-photo { width: 160px; border-radius: 50%; margin: 0 auto 16px; }
.message-sign { text-align: right; font-weight: bold; margin-top: 12px; }

/* 写真 */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-grid__item img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-grid__item figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* 先輩の声 */
.voice-card {
  background: var(--bg-alt); border-radius: 12px; padding: 18px; margin-bottom: 14px;
}
.voice-card__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.voice-card__meta { font-weight: bold; font-size: 14px; color: var(--brand); margin-bottom: 6px; }
.voice-card__body { font-size: 15px; }

/* FAQ */
.faq { border-bottom: 1px solid #e5e7eb; }
.faq__q {
  padding: 14px 4px; font-weight: bold; cursor: pointer; list-style: none; position: relative;
  padding-right: 28px;
}
.faq__q::after { content: "＋"; position: absolute; right: 4px; color: var(--brand); }
details[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 4px 16px; color: #374151; }

/* 会社概要テーブル */
.company-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-table th, .company-table td {
  border-bottom: 1px solid #e5e7eb; padding: 10px 8px; text-align: left; vertical-align: top;
}
.company-table th { white-space: nowrap; color: var(--muted); font-weight: normal; width: 6.5em; }

/* 地図 */
.map-wrap { margin-top: 20px; border-radius: 12px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }

/* 締めCTA */
.closing-cta { text-align: center; }
.closing-cta__title { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.closing-cta .btn { margin-top: 16px; }
.closing-cta__tel { margin-top: 20px; font-size: 14px; color: var(--muted); }
.closing-cta__tel-number { font-size: 24px; font-weight: bold; text-decoration: none; }
.closing-cta__hours { font-size: 13px; }

/* 下部固定CTAバー（応募率の生命線） */
.cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; gap: 6px; padding: 8px;
  background: rgba(255,255,255,.96); border-top: 1px solid #e5e7eb;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.cta-bar__btn {
  flex: 1; text-align: center; padding: 12px 4px; border-radius: 10px;
  font-weight: bold; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.cta-bar__btn--tel { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.cta-bar__btn--line { background: var(--line-green); color: #fff; }
.cta-bar__btn--apply { background: var(--brand); color: #fff; }

/* 求人詳細 */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.job-detail__title { font-size: 24px; font-weight: bold; margin-top: 8px; }
.job-detail__salary { color: var(--brand); font-weight: bold; font-size: 18px; margin: 8px 0 24px; }
.job-detail__heading {
  font-size: 17px; font-weight: bold; border-left: 4px solid var(--brand);
  padding-left: 10px; margin: 28px 0 12px;
}
.job-detail__cta { text-align: center; margin-top: 32px; }

/* フォーム */
.form-lead { color: var(--muted); margin-bottom: 20px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: bold; font-size: 14px; margin-bottom: 6px; }
.req {
  background: #dc2626; color: #fff; font-size: 11px; font-weight: bold;
  padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle;
}
input[type="text"], input[type="tel"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; padding: 12px; font-size: 16px; /* 16px未満だとiOSがズームする */
  border: 1px solid #d1d5db; border-radius: 8px; background: #fff;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--brand); border-color: var(--brand);
}
.form-help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.radio-group label { display: inline-flex; align-items: center; gap: 4px; font-weight: normal; margin-right: 16px; }
.radio-group input { width: auto; }
.form-row--consent { text-align: center; }
.consent-label { display: inline-flex !important; align-items: center; gap: 8px; font-weight: normal !important; }
.consent-label input { width: 20px; height: 20px; }
.errorlist { color: #dc2626; font-size: 13px; list-style: none; margin-top: 4px; }
.form-errors {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; font-size: 14px;
}

/* ハニーポット（人間には見えない） */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* サンクス */
.thanks { text-align: center; }
.thanks__icon { font-size: 48px; margin-bottom: 8px; }

/* フッター */
.site-footer {
  background: #1f2937; color: #d1d5db; padding: 28px 20px 36px;
  font-size: 13px; text-align: center;
}
.site-footer a { color: #d1d5db; }
.site-footer__name { font-weight: bold; font-size: 15px; color: #fff; margin-bottom: 6px; }
.site-footer__copy { margin-top: 12px; color: #9ca3af; }

/* プライバシー */
.privacy h2 { font-size: 16px; font-weight: bold; margin: 20px 0 8px; }

/* PC */
@media (min-width: 768px) {
  .hero { padding: 96px 20px; }
  .hero__title { font-size: 36px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .job-list { grid-template-columns: 1fr 1fr; }
  .cta-bar { max-width: 480px; left: 50%; transform: translateX(-50%); border-radius: 14px 14px 0 0; box-shadow: 0 -2px 16px rgba(0,0,0,.12); }
}
