/* ============================================================
   KAKUSHIN GROUP Career LP - style.css
   カラー・フォント・レイアウト変数は :root で一元管理
   ============================================================ */

:root {
  --navy: #FFF;
  --navy-dark:  #122849;
  --navy-light: #2c5282;
  --accent: #189f88;   /* CTAボタン等のアクセント：差し替え可 */
  --accent-hover: #35b6a0;
  --white: #FFF;
  --bg: #333;
  --bg-alt:     #eef1f6;
  --text:       #222222;
  --text-mid:   #555555;
  --text-light: #888888;
  --border:     #dde2ea;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 2px 12px rgba(27,58,107,.10);
  --max-w:      1100px;
}

/* ──────────────────────────────
   Reset / Base
────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
               "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-label {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: .5rem;
}
.workstyle-section .section-label,
.entry-section .section-label
{color: #FFF !important;}
.entry-section .section-title {
    color: #333 !important;
}
.section-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #333;
  line-height: 1.35;
  margin-bottom: .75rem;
}
.faq-section .section-label,
.jobs-section .section-label,
.message-section .section-label {
    color: #189f88;
}
.faq-section .section-title,
.jobs-section .section-title{
    color: #FFF;
}

.voice-section .section-title,
.voice-section .section-desc,
.jobs-section .section-desc {
    color: #FFF;
}
.voice-section .section-label {
    color: #189f88;
}
.section-desc {
  font-size: .95rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}
.process-section .section-desc
 {
    color: #333;
}
.note {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: .75rem;
  display: none;
}

/* ──────────────────────────────
   Buttons
────────────────────────────── */
.btn {
  display: inline-block;
  padding: .875rem 2rem;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-align: center;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: #189f88;
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  border: 2px solid #000;
  color: #000;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }

.btn-ghost {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* ──────────────────────────────
   (1) Header
────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.logo a {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  white-space: nowrap;
}
.logo span {
  color: #189f88;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.site-nav a {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  padding: .4rem .55rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.header-cta .btn {
  padding: .5rem 1.25rem;
  font-size: .85rem;
  white-space: nowrap;
}

/* SP: hide nav text, show only CTA */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .logo a { font-size: .9rem; }
}

/* ──────────────────────────────
   (2) FV
────────────────────────────── */
.fv {
  background: url(https://kakushin-group.co.jp/wp-content/themes/kakushin-group/assets/images/top/topAbt_img2.webp);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://placehold.co/1200x600/1B3A6B/2c5282?text=') center/cover no-repeat;
  opacity: .07;
}
.fv-inner {
  position: relative;
  max-width: 700px;
  background: #ffffff87;
  padding: 30px;
}
.fv-badge {
  display: inline-block;
  background: #189f88;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .3rem .9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.fv h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -.01em;
  color: #000;
}
.fv-sub {
  font-size: 1rem;
  color: #000;
  margin-bottom: .75rem;
  line-height: 1.65;
}
.fv-note {
  font-size: .8rem;
  color: #000;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent);
  padding-left: .75rem;
}
.fv-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.fv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.fv-tags span {
  font-size: .75rem;
  background: #333;
  border: 1px solid #111;
  color: rgba(255,255,255,.85);
  padding: .25rem .7rem;
  border-radius: 20px;
}

/* ──────────────────────────────
   (3) 募集職種一覧
────────────────────────────── */
.jobs-section {
  background: var(--bg);
  padding: 5rem 0;
}
.jobs-section .section-header {
  margin-bottom: 2.5rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(27,58,107,.15);
}

.job-card-head {
  background: #189f88;
  color: var(--white);
  padding: 1.25rem 1.5rem;
}
.job-card-company {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: .3rem;
}
.job-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.job-card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}
.job-meta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}
.job-meta-row {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .85rem;
}
.job-meta-label {
  flex-shrink: 0;
  width: 5.5rem;
  color: var(--text-light);
  font-size: .78rem;
}
.job-meta-value {
  color: var(--text);
  font-weight: 600;
}

.job-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: #189f88;
}
.job-card-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}
.job-card-footer a::after {
  content: "→";
  font-size: 1rem;
}

.jobs-note {
  margin-top: 1.5rem;
  font-size: .75rem;
  color: var(--text-light);
}

/* ──────────────────────────────
   (4) 働き方サマリ
────────────────────────────── */
.workstyle-section {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
  background-image: linear-gradient(90deg, #179c87, #1bc096, #1bc096, #179c87);
}
.workstyle-section .section-label { color: rgba(255,255,255,.6); }
.workstyle-section .section-title {color: #333;}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #333;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
}

.stat-item {
  background: rgba(255,255,255,.05);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .3rem;
}
.stat-unit {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
}

.workstyle-section .note {
  color: rgba(255,255,255,.45);
  margin-top: 1.5rem;
  text-align: center;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────
   (5) キャリア採用メッセージ
────────────────────────────── */
.message-section {
  padding: 5rem 0;
  background: #333;
}
.message-inner {
  /* max-width: 740px; */
  margin: 0 auto;
}
.message-section .message-inner p,
.message-section .section-title {
    color: #FFF !important;
}
.message-inner blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  background: #FFF;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
  color: var(--text-mid);
  margin: 1.5rem 0;
}

/* ──────────────────────────────
   (6) 仕事内容 詳細
────────────────────────────── */
.jobdetail-section {
  background: var(--bg);
  padding: 5rem 0;
  background-image: linear-gradient(90deg, #179c87, #1bc096, #1bc096, #179c87);
}

.job-detail-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 3rem;
}

.job-detail-head {
  background: #333;
  color: var(--white);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.job-detail-head-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #189f88;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.job-detail-head-text .company-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #FFF;
  margin-bottom: .3rem;
}
.job-detail-head-text h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  color: #FFF;
}

.job-detail-body {
  padding: 2rem 2.5rem;
  background: #333;
}

.job-benefit {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.job-benefit h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #189f88;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.job-benefit ul li {
  font-size: .9rem;
  padding: .3rem 0 .3rem 1.2rem;
  position: relative;
  color: var(--text-mid);
}
.job-benefit ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.job-description {
  margin-bottom: 2rem;
}
.job-description h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--border);
  padding-bottom: .5rem;
  margin-bottom: .75rem;
}
.job-description p {
  font-size: .9rem;
  color: #FFF;
  line-height: 1.8;
}

/* 募集要項テーブル */
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-bottom: 2rem;
}
.recruit-table th,
.recruit-table td {
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.65;
}
.recruit-table th {
  background: #189f88;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  width: 9rem;
}
.recruit-table td {color: #FFF;}

/* タイムライン */
.timeline {
  margin-bottom: 2rem;
}
.timeline h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--border);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}
.timeline-list {
  position: relative;
  padding-left: 1.5rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: .45rem;
  top: 0;
  bottom: 0;
  width: 2px;
  /* background: var(--border); */
}
.timeline-item {
  position: relative;
  margin-bottom: .75rem;
  font-size: .88rem;
  color: #FFF;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: .55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-time {
  font-weight: 700;
  color: var(--navy);
  margin-right: .5rem;
  font-size: .8rem;
}

/* 人物像 */
.persona {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.persona-box {
  border-radius: var(--radius);
  padding: 1.25rem;
}
.persona-box.must {
  background: #f0f4ff;
  border-top: 3px solid #189f88;
}
.persona-box.want {
  background: #fffbf0;
  border-top: 3px solid var(--accent);
}
.persona-box h4 {
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: .6rem;
  letter-spacing: .06em;
}
.persona-box.must h4 {color: #189f88;}
.persona-box.want h4 { color: var(--accent); }
.persona-box li {
  font-size: .85rem;
  padding: .2rem 0 .2rem 1rem;
  position: relative;
  color: var(--text-mid);
}
.persona-box li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.job-detail-cta {
  text-align: center;
  padding: 1.5rem 0 .5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .job-detail-body { padding: 1.5rem 1.25rem; }
  .job-detail-head { padding: 1.5rem 1.25rem; flex-direction: column; gap: .75rem; }
  .recruit-table th { width: 6.5rem; }
  .persona { grid-template-columns: 1fr; }
}

/* ──────────────────────────────
   (7) 社員の声
────────────────────────────── */
.voice-section {
  background: #333;
  padding: 5rem 0;
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.voice-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.voice-card::before {
  content: "\201C";
  font-size: 4rem;
  line-height: 1;
  color: var(--navy);
  opacity: .1;
  position: absolute;
  top: .5rem;
  left: 1.25rem;
  font-family: Georgia, serif;
}
.voice-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.voice-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  overflow: hidden;
  flex-shrink: 0;
}
.voice-name { font-weight: 700; font-size: .9rem; }
.voice-meta { font-size: .75rem; color: var(--text-light); }
.voice-body dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: .25rem;
  margin-top: .9rem;
}
.voice-body dt:first-child { margin-top: 0; }
.voice-body dd { font-size: .88rem; color: var(--text-mid); line-height: 1.65; }
.voice-section .note {
  margin-top: 2rem;
  text-align: center;
}

/* ──────────────────────────────
   (8) 選考の流れ
────────────────────────────── */
.process-section {
  background: var(--bg-alt);
  padding: 5rem 0;
  background-image: linear-gradient(90deg, #179c87, #1bc096, #1bc096, #179c87);
}
.process-steps {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
  padding: 0 .5rem;
}
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #333;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #333;
  color: #189f88;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto .75rem;
}
.step-title {
  font-size: .9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: .3rem;
}
.step-desc {
  font-size: .78rem;
  color: #333;
  line-height: 1.5;
}
.process-section .note { margin-top: 2rem; text-align: center; }

@media (max-width: 640px) {
  .process-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 2.5rem;
  }
  .process-step {
    text-align: left;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: auto;
    width: 100%;
  }
  .process-step::after {
    display: none;
  }
  .process-step::before {
    content: "";
    position: absolute;
    left: -2.05rem;
    top: 3rem;
    bottom: -1.1rem;
    width: 2px;
    background: var(--border);
  }
  .process-step:last-child::before { display: none; }
  .step-num { flex-shrink: 0; margin: 0; }
}

/* ──────────────────────────────
   (9) FAQ
────────────────────────────── */
.faq-section {
  background: #333;
  padding: 5rem 0;
}
.faq-list {
  max-width: 780px;
  margin: 2rem auto 0;
}
details {
  border-bottom: 1px solid var(--border);
}
details:first-of-type { border-top: 1px solid var(--border); }

summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 1rem;
  position: relative;
  font-size: .95rem;
  font-weight: 700;
  color: #189f88;
  line-height: 1.5;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .25s;
}
details[open] summary::after {
  content: "−";
  transform: translateY(-50%);
}
.faq-answer {
  padding: .25rem 1rem 1.5rem 1rem;
  font-size: .9rem;
  color: #FFF;
  line-height: 1.8;
}

/* ──────────────────────────────
   (10) Entry
────────────────────────────── */
.entry-section {
  background: #333;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  background-image: linear-gradient(90deg, #179c87, #1bc096, #1bc096, #179c87);
}
.entry-section .section-title { color: var(--white); }
.entry-section .section-desc  { color: rgba(255,255,255,.8); }

.entry-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}
.entry-section .btn {
  min-width: 220px;
  padding: 1rem 2rem;
  font-size: 1rem;
}
.entry-note {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

/* ──────────────────────────────
   (11) Footer
────────────────────────────── */
.site-footer {
  background: #333;
  color: rgba(255,255,255,.65);
  padding: 2.5rem 0;
  font-size: .8rem;
  /* background-image: linear-gradient(90deg, #179c87, #1bc096, #1bc096, #179c87); */
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-companies {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.footer-companies li::before {
  content: "— ";
  color: rgba(255,255,255,.3);
}

/* ──────────────────────────────
   Utility / Section spacing
────────────────────────────── */
.section-header { text-align: left; }
.section-header.center { text-align: center; }

@media (max-width: 480px) {
  .btn { width: 100%; }
  .fv-cta { flex-direction: column; }
  .entry-cta { flex-direction: column; align-items: stretch; }
  .entry-section .btn { min-width: auto; }
}
