﻿/* ================================================
   recruit.css – 採用情報ページ専用スタイル
   style.css の後に読み込んでください
   ================================================ */

/* ── index 共通変数（style.css の --base 等とは別名） ── */
:root {
  --bg:     #F8F4EE;
  --border: #E0D0B8;
  --gold-lt:#C09050;
  --dark:   #1A1714;
  --serif:  'Noto Serif JP', serif;
  --radius: 28px;
  --gap:    20px;
}

/* ── REVEAL ── */
.r      { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.r.on   { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }

/* ── ボタンエイリアス ── */
.btn-g   { background: var(--gold);  color: #fff; box-shadow: 0 4px 16px rgba(139,107,58,.3); }
.btn-gr  { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(74,92,52,.3); }
.btn-out { background: transparent; color: var(--gold); border: 2px solid var(--gold); }

/* ── BREADCRUMB (recruit は .bc クラス) ── */
.bc {
  max-width: 1200px; margin: 0 auto; padding: 14px 32px;
  font-size: 12px; color: var(--text);
  display: flex; gap: 6px; align-items: center;
}
.bc a { color: var(--gold); font-weight: 700; }

/* ── HERO ── */
.hero { min-height: 72vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,23,20,.18), transparent); }
.hero-txt { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--beige); color: var(--gold); border: 1px solid var(--border); padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .1em; width: fit-content; }
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-lt); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.35} }
.hero-h1 { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 62px); line-height: 1.15; letter-spacing: -.02em; margin-top: 22px; }
.hero-h1 em { font-style: normal; color: var(--gold); }
.hero-sub  { margin-top: 18px; font-size: 16px; color: var(--text); line-height: 1.9; max-width: 420px; }
.hero-btns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-nums { display: flex; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.hn strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 900; color: var(--gold); }
.hn span   { font-size: 12px; color: var(--text); font-weight: 700; }

/* ── SECTION ── */
.sec { padding: 80px 0; }
.ey   { font-size: 11px; font-weight: 900; letter-spacing: .28em; color: var(--gold); display: block; margin-bottom: 10px; }
.ey-s { font-size: 11px; font-weight: 900; letter-spacing: .28em; color: var(--sand); display: block; margin-bottom: 10px; }

/* ── APPEAL GRID ── */
.appeal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 24px; padding: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.05);
  transition: transform .3s;
}
.ap:hover { transform: translateY(-4px); }
.ap-num {
  font-family: var(--serif); font-size: 28px; font-weight: 900;
  color: var(--gold-lt); opacity: .5; line-height: 1; margin-bottom: 14px;
}
.ap h3 { font-family: var(--serif); font-size: 20px; font-weight: 900; color: var(--black); line-height: 1.35; margin-bottom: 10px; }
.ap p  { font-size: 13px; color: var(--text); line-height: 1.85; }

/* ── JOB CARDS ── */
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.job-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 32px; overflow: hidden;
  box-shadow: 0 14px 48px rgba(0,0,0,.07);
}
.job-card img { height: 220px; width: 100%; object-fit: cover; }
.job-body { padding: 32px; }
.job-badge { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.badge { padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.badge-g  { background: var(--gold); color: #fff; }
.badge-gr { background: var(--green); color: #fff; }
.badge-b  { background: var(--beige); color: var(--gold); border: 1px solid var(--border); }
.job-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 900; color: var(--black); margin-bottom: 6px; }
.catch { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 20px; }
.job-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.jt-row { display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid var(--border); }
.jt-row:last-child { border: none; }
.jt-label { background: var(--beige); padding: 12px 14px; font-size: 12px; font-weight: 900; color: var(--gold); display: flex; align-items: center; }
.jt-val   { padding: 12px 16px; font-size: 13px; color: var(--black); line-height: 1.7; }
.job-pts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.job-pt  { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.job-pt::before { content: '✓'; color: var(--gold); font-weight: 900; }
.job-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── WELFARE ── */
.welfare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.wf {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px 20px; text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.05); transition: transform .3s;
}
.wf:hover { transform: translateY(-3px); }
.wf-ic { font-size: 28px; display: block; margin-bottom: 10px; }
.wf h4 { font-family: var(--serif); font-size: 15px; font-weight: 900; color: var(--black); margin-bottom: 6px; }
.wf p  { font-size: 12px; color: var(--text); line-height: 1.6; }

/* ── RECRUIT RESPONSIVE ── */
@media (max-width: 1024px) {
  .appeal-grid { grid-template-columns: repeat(2,1fr); }
  .job-grid { grid-template-columns: 1fr; }
  .welfare-grid { grid-template-columns: repeat(2,1fr); }
  .jt-row { grid-template-columns: 120px 1fr; }
  .jt-label { padding: 10px 12px; font-size: 11px; }
  .jt-val { padding: 10px 14px; font-size: 12px; }
}

@media (max-width: 768px) {
  .hero { min-height: 70vh; grid-template-columns: 1fr; }
  .hero-img { order: 2; height: 240px; }
  .hero-txt { order: 1; padding: 48px 20px; }
  .hero-h1 { font-size: clamp(28px, 5vw, 40px); margin-top: 16px; }
  .hero-sub { font-size: 14px; margin-top: 12px; }
  .hero-btns { gap: 8px; margin-top: 20px; }
  .hero-nums { gap: 16px; margin-top: 24px; padding-top: 20px; }
  .hn strong { font-size: 18px; }
  .hn span { font-size: 11px; }

  .appeal-grid { grid-template-columns: 1fr; gap: 16px; }
  .ap { padding: 24px 16px; }
  .ap-num { font-size: 24px; margin-bottom: 10px; }
  .ap h3 { font-size: 18px; margin-bottom: 8px; }
  .ap p { font-size: 12px; }

  .welfare-grid { grid-template-columns: 1fr; gap: 12px; }
  .wf { padding: 18px 14px; }
  .wf-ic { font-size: 24px; margin-bottom: 8px; }
  .wf h4 { font-size: 14px; margin-bottom: 4px; }
  .wf p { font-size: 11px; }

  .dk { grid-template-columns: 1fr; }
  .dk-img { height: 260px; min-height: unset; }
  .dk-txt { padding: 44px 32px; }
  .ct-inner { grid-template-columns: 1fr; padding: 40px 24px; border-radius: 32px; }

  .job-body { padding: 24px; }
  .job-badge { margin-bottom: 12px; }
  .badge { padding: 3px 10px; font-size: 10px; }
  .job-body h2 { font-size: 22px; margin-bottom: 4px; }
  .catch { font-size: 13px; margin-bottom: 16px; }
}

@media (max-width: 640px) {
  .bc { padding: 10px 16px; font-size: 11px; }
  .bc a { font-weight: 700; }

  .hero { min-height: 64vh; }
  .hero-txt { padding: 36px 16px; }
  .hero-tag { padding: 6px 12px; font-size: 11px; }
  .hero-h1 { font-size: clamp(24px, 5vw, 36px); line-height: 1.15; margin-top: 12px; }
  .hero-sub { font-size: 13px; margin-top: 10px; line-height: 1.7; max-width: 100%; }
  .hero-btns { gap: 6px; margin-top: 16px; flex-direction: column; }
  .hero-btns .btn { width: 100%; padding: 11px 16px; font-size: 12px; }
  .hero-nums { gap: 12px; margin-top: 20px; padding-top: 16px; flex-wrap: wrap; }
  .hn { flex: 0 1 calc(50% - 6px); }
  .hn strong { font-size: 16px; }
  .hn span { font-size: 10px; }

  .sec { padding: 48px 0; }
  .ey { font-size: 10px; margin-bottom: 8px; letter-spacing: .24em; }

  .appeal-grid { grid-template-columns: 1fr; gap: 12px; }
  .ap { padding: 20px 14px; border-radius: 16px; }
  .ap-num { font-size: 20px; margin-bottom: 8px; }
  .ap h3 { font-size: 16px; margin-bottom: 6px; line-height: 1.3; }
  .ap p { font-size: 11px; line-height: 1.7; }

  .job-grid { grid-template-columns: 1fr; gap: 16px; }
  .job-card { border-radius: 20px; }
  .job-card img { height: 180px; }
  .job-body { padding: 18px; }
  .job-badge { margin-bottom: 10px; }
  .badge { padding: 2px 8px; font-size: 9px; }
  .job-body h2 { font-size: 18px; margin-bottom: 3px; }
  .catch { font-size: 12px; margin-bottom: 12px; }
  .job-table { margin-bottom: 14px; border-radius: 12px; }
  .jt-row { grid-template-columns: 80px 1fr; }
  .jt-label { background: var(--beige); padding: 8px 10px; font-size: 10px; }
  .jt-val { padding: 8px 10px; font-size: 11px; }
  .job-pts { gap: 6px; margin-bottom: 16px; }
  .job-pt { padding: 8px 10px; font-size: 12px; }
  .job-cta { gap: 8px; }
  .job-cta .btn { flex: 1; min-width: 0; padding: 10px 12px; font-size: 12px; }

  .welfare-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .wf { padding: 16px 12px; border-radius: 16px; }
  .wf-ic { font-size: 22px; margin-bottom: 6px; }
  .wf h4 { font-size: 13px; margin-bottom: 3px; }
  .wf p { font-size: 10px; line-height: 1.5; }

  .flow-list { margin-top: 32px; }
  .flow-item { gap: 16px; }
  .flow-left { width: 40px; }
  .flow-num { width: 40px; height: 40px; font-size: 16px; }
  .flow-body { padding: 4px 0 28px; }
  .flow-body h4 { font-size: 16px; margin-bottom: 6px; }
  .flow-body p { font-size: 12px; line-height: 1.7; }

  .dk { border-radius: 24px; }
  .dk-txt { padding: 32px 16px; }
  .dk-txt h2 { font-size: clamp(18px, 5vw, 32px); line-height: 1.2; }
  .dk-txt p { font-size: 13px; margin-top: 10px; line-height: 1.7; }
  .dk-img { min-height: 200px; height: 220px; }

  .ct-wrap { padding: 40px 16px; }
  .ct-inner { padding: 24px 14px; border-radius: 20px; grid-template-columns: 1fr; gap: 20px; }
  .ct-txt .ey { font-size: 10px; margin-bottom: 6px; }
  .ct-txt h2 { font-size: clamp(18px, 5vw, 28px); line-height: 1.2; }
  .ct-txt p { font-size: 13px; margin-top: 8px; line-height: 1.6; }
  .ct-card { padding: 20px 14px; border-radius: 16px; }
  .ct-card h3 { font-size: 16px; }
  .ct-tel { padding: 10px 16px; font-size: 20px; }
  .ct-hours { font-size: 11px; margin-top: 4px; }

  .float-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(254,252,248,.97); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
  }
  .float-cta a { text-align: center; padding: 10px 8px; border-radius: 10px; color: #fff; font-weight: 900; font-size: 12px; }
  .float-cta a:first-child { background: var(--gold); }
  .float-cta a:last-child { background: var(--green); }
}

/* ── APPLICATION FLOW ── */
.flow-list { margin-top: 48px; display: flex; flex-direction: column; gap: 0; }
.flow-item { display: flex; gap: 24px; }
.flow-left { display: flex; flex-direction: column; align-items: center; width: 48px; flex-shrink: 0; }
.flow-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-family: var(--serif); font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-connector { width: 2px; flex: 1; background: var(--border); min-height: 32px; margin: 4px 0; }
.flow-body { padding: 8px 0 40px; }
.flow-body h4 { font-family: var(--serif); font-size: 20px; font-weight: 900; color: var(--black); margin-bottom: 8px; }
.flow-body p  { font-size: 14px; color: var(--text); line-height: 1.85; }

/* ── DARK BAND (recruit 版) ── */
.dk {
  background: var(--dark); border-radius: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.2);
}
.dk-txt { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.dk-txt h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.18; color: #fff; }
.dk-txt p  { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.9; }
.dk-img    { position: relative; min-height: 400px; }
.dk-img img { width: 100%; height: 100%; }

/* ── CONTACT (共通) ── */
.ct-wrap { padding: 80px 32px; max-width: 1200px; margin: auto; }
.ct-inner { background: linear-gradient(135deg, var(--beige), var(--sand)); border-radius: 40px; padding: 64px; box-shadow: 0 32px 80px rgba(0,0,0,.12); display: grid; grid-template-columns: 1fr .85fr; gap: 48px; align-items: center; }
.ct-txt .ey { display: block; margin-bottom: 10px; }
.ct-txt h2  { font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.2; color: var(--gold); }
.ct-txt p   { font-size: 15px; color: var(--black); margin-top: 12px; line-height: 1.85; opacity: .75; }
.ct-card    { background: #fff; border-radius: 28px; padding: 36px; text-align: center; box-shadow: 0 20px 56px rgba(0,0,0,.12); }
.ct-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 900; }
.ct-tel     { display: inline-block; background: var(--gold); color: #fff; padding: 14px 28px; border-radius: 999px; font-family: var(--serif); font-size: 26px; font-weight: 900; margin-top: 16px; box-shadow: 0 8px 24px rgba(139,107,58,.3); transition: transform .2s; }
.ct-tel:hover { transform: translateY(-2px); }
.ct-hours   { font-size: 13px; font-weight: 700; color: var(--text); margin-top: 8px; }
.ct-engage  { display: inline-block; margin-top: 16px; background: var(--green); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 900; font-size: 15px; box-shadow: 0 6px 20px rgba(74,92,52,.3); transition: transform .2s; }
.ct-engage:hover { transform: translateY(-2px); }

/* ── FLOAT CTA (SP) ── */
.float-cta { display: none; }
