/* === Care-Planning Recruit – base stylesheet (2025‑04 refresh) === */
/* Root design tokens */
:root {
  --primary: #FF914D;
  --primary-dark: #E67E3A;
  --primary-light: #FFDBC2;
  --accent: #FF5C26;
  --secondary: #F8B55D;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --bg-light: #FFF8F3;
  --bg-medium: #FFE8D6;
  --header-height: 80px;
}

/* ------------------------------------------------------------ */
/* 1. Generic layout & typography                               */
/* ------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: #fff;
  word-break: keep-all; /* Removed in v14 for recruit-page-content p, li etc. but might be intended for body */
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

.recruit-page {
  background: #fff;
}

.recruit-page-content .section {
  margin-bottom: 60px;
  padding: 40px 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.recruit-page-content .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Global text wrapping (v14, v18 for job-desc, v19 for benefits-title) */
.recruit-page-content p,
.recruit-page-content li,
.recruit-page-content .section-lead, /* Assuming .section-lead is a p or similar block */
.benefits-section .benefits-title {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.recruit-page-content .job-desc { /* v18 specific for pre-wrap */
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

/* ------------------------------------------------------------ */
/* 2. Titles                                                    */
/* ------------------------------------------------------------ */
.recruit-page-content .title2 {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
}

.recruit-page-content .title2 h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin: 0 auto; /* Effectively managed by .title2 flex settings */
}

.recruit-page-content .title2 h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.recruit-page-content .title2 .ja {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.recruit-page-content .title2 .en {
  display: block;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1;
}

/* Section Subtitle (v5, lines removed by v14, v15) */
.recruit-page-content .business-section .section-subtitle,
.recruit-page-content .business-content .section-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
/* ::before and ::after lines removed by v14/v15 globally */

/* ------------------------------------------------------------ */
/* 3. Key visual                                                */
/* ------------------------------------------------------------ */
.recruit-page-content #keyvisual {
  position: relative;
  margin-bottom: 40px;
}

.recruit-page-content .keyimage img {
  display: block;
  width: 100%;
  height: auto;
}

/* Key visual content styling (original overridden by v13) */
.recruit-page-content #keyvisual .cont {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 25px 50px; /* Original padding retained */
  border-radius: 6px; /* Original border-radius retained */
  /* v13 overrides: */
  opacity: 1 !important;
  background: none !important;
  box-shadow: none !important;
  /* transition from original might be non-functional due to opacity:1 !important */
}

.recruit-page-content .pageTitle {
  margin: 0;
  /* color var(--text-light) from original, overridden by v13 */
}

.recruit-page-content .pageTitle .en {
  display: block;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 5px;
  color: #FFFFFF !important; /* v13 */
  opacity: 1 !important;    /* v13 */
}

.recruit-page-content .pageTitle .ja {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: #FFFFFF !important; /* v13 */
  opacity: 1 !important;    /* v13 */
}

/* ------------------------------------------------------------ */
/* 4. Cards & business blocks                                   */
/* ------------------------------------------------------------ */
.recruit-page-content .business-list {
  display: flex; /* Overridden by grid in v4 for some screen sizes */
  flex-wrap: wrap;
  gap: 20px; /* Default gap, v3 and v4 provide specific gap for media queries */
  margin: 0 -10px; /* Overridden by margin: 0 in v4 for some screen sizes */
}

.recruit-page-content .business-item {
  flex: 1 1 calc(33.333% - 20px); /* Base, overridden in responsive */
  background: var(--bg-light);
  padding: 25px 10px; /* Consolidated from two padding rules */
  margin: 0 10px; /* Base, overridden in responsive */
  border-radius: 8px;
  transition: transform .3s; /* box-shadow transition removed due to v7 */
  border: 1px solid var(--primary-light) !important; /* v7 */
  box-shadow: none !important; /* v7 */
}

.recruit-page-content .business-item:hover {
  transform: translateY(-5px);
  /* box-shadow from original hover removed by v7 */
}

/* Business item title (v8, v10, v11, lines removed by v14, v15) */
.recruit-page-content .business-item h4 {
  text-align: center !important; /* v10, v11 */
  margin: 0 0 30px;
  position: relative;
  /* ::after line removed by v14 */
}
/* .ti wrapper for h4 from v11 assumed to be specific HTML structure */
.recruit-page-content .business-item .ti h4 {
    text-align: center !important; /* v11 */
}


.recruit-page-content .business-item h4 .job { /* v8 */
  display: block;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 5px;
}

.recruit-page-content .business-item h4 .name { /* v8, v10, v11 */
  display: block;
  font-size: 30px !important; /* v11 */
  font-weight: 700; /* v11 */
  color: var(--primary-dark); /* v11 */
}


.recruit-page-content .service-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: color .3s;
  font-weight: 400;
}

.recruit-page-content .service-link:hover {
  color: var(--primary);
}

.recruit-page-content .service-link .arrow {
  margin-left: 8px;
  font-size: 1.2em;
  transition: transform .3s cubic-bezier(.68, -.55, .27, 1.55);
}

.recruit-page-content .service-link:hover .arrow {
  transform: translateY(5px); /* Typo in original: should be translateX or Y? Assuming Y as it's common. */
}

/* Initiative section (base + v9, lines removed by v14, v15) */
.recruit-page-content .initiative-section .initiative_index .elem {
  display: flex;
  flex-direction: row;
  gap: 5%;
  margin: clamp(30px, 10%, 80px) 5%;
  /* Styles from embedded & v9 */
  background: #ffffff;
  overflow: hidden; /* from embedded, might be overridden by padding in v9 */
  border: 1px solid var(--primary-light); /* v9 */
  border-radius: 10px; /* v9 */
  padding: 25px; /* v9 */
  box-shadow: none; /* v9, removing embedded shadow and base shadow */
  transition: transform 0.3s ease; /* from embedded */
}
/* .ti wrapper for h4 from v11 assumed to be specific HTML structure */
.recruit-page-content .initiative_index .elem .ti h4 {
    text-align: center !important; /* v11 */
}

.recruit-page-content .initiative_index .elem h4 { /* v9, v11 */
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin: 0 0 30px;
  position: relative;
  /* ::after line removed by v14 */
}

.recruit-page-content .initiative_index .elem h4 .job { /* v9 */
  display: block;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 5px;
}

.recruit-page-content .initiative_index .elem h4 .name { /* v9, v11 */
  display: block;
  font-size: 30px !important; /* v11 */
  font-weight: 700; /* v11 */
  color: var(--primary-dark); /* v11 */
}

/* ------------------------------------------------------------ */
/* 5. Job list                                                  */
/* ------------------------------------------------------------ */
.recruit-page-content .jobs-container {
  margin-top: 40px;
}

.recruit-page-content .jobs-container .job-groups h3.job-group-title {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 12px 20px;
  margin-bottom: 25px;
  border-radius: 5px;
  font-size: 20px;
  text-align: center;
  position: relative;
}

.recruit-page-content .jobs-container .job-groups h3.job-group-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: var(--primary-dark) transparent transparent transparent;
}

.recruit-page-content .jobs-items {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 0 -12.5px;
}

.recruit-page-content .job-item {
  position: relative;
  flex: 1 1 calc(50% - 25px);
  padding: 30px 12.5px; /* Consolidated from two padding rules */
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: transform .3s, box-shadow .3s;
  font-size: 15px;
  margin: 0 12.5px 25px;
}

.recruit-page-content .job-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}

.recruit-page-content .job-tag {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  line-height: 1;
}

.recruit-page-content .job-title {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.recruit-page-content .job-meta p {
  margin: 0 0 8px;
}

.recruit-page-content .job-desc { /* Also see global text wrapping */
  margin-top: 15px;
  background: #f9f9f9;
  padding: 16px;
  border-radius: 6px;
  font-size: 15px; /* Duplicates .job-item font-size, can be removed if inherited */
}

/* Buttons */
.recruit-page-content .job-link,
.recruit-page-content .job-item .entry-btn, /* Specific to job item entry button */
.recruit-page-content .close-btn { /* Applied to .job-item .entry-btn-wrapper .close-btn */
  display: inline-block;
  margin-top: 15px;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: background .3s, transform .3s, box-shadow .3s;
  font-size: 15px;
}

.recruit-page-content .job-link:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(255, 145, 77, .35);
}

.recruit-page-content .job-item .entry-btn { /* Specific to job item entry button */
  background: var(--accent);
}
.recruit-page-content .job-item .entry-btn:hover {
  background: #FF4B10; /* Lighter accent */
  /* Inherits transform and box-shadow from .job-link:hover if not overridden */
}


.recruit-page-content .close-btn, /* Base style for close buttons */
.entry-btn-wrapper .close-btn { /* More specific close button in job item */
  background: #999;
  color: #fff; /* from original embedded, ensure consistency */
  /* padding, border-radius, font-weight, text-decoration already defined by .close-btn or .job-link group */
  margin-left: 10px; /* only for .entry-btn-wrapper .close-btn */
}
.entry-btn-wrapper .close-btn:hover {
    /* Define hover for close-btn if needed, e.g. background: #888; */
}


/* Accordion styles */
.job-item .job-desc,
.job-item .entry-btn-wrapper {
  display: none !important; /* Important for JS toggle */
}

.job-item.open .job-desc,
.job-item.open .entry-btn-wrapper {
  display: block !important; /* Important for JS toggle */
}

/* ------------------------------------------------------------ */
/* 6. Animations (IntersectionObserver triggers ‘animated’)     */
/* ------------------------------------------------------------ */
.recruit-page-content .animation-element,
.recruit-page-content .fdup,
.recruit-page-content .fddw,
.recruit-page-content .fdlf,
.recruit-page-content .fdrt,
/* Base animation state (if elements exist outside .recruit-page-content but share class) */
.animation-element, .fdup, .fddw, .fdlf, .fdrt {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
/* Ensure selectors like .animation-element are distinct if they exist outside .recruit-page-content and need different base styles */
/* For now, assuming they are the same or .recruit-page-content is the primary scope */

.recruit-page-content .fddw { transform: translateY(-20px); }
.recruit-page-content .fdlf { transform: translateX(-20px); }
.recruit-page-content .fdrt { transform: translateX(20px); }

.recruit-page-content .animation-element.animated,
.recruit-page-content .fdup.animated,
.recruit-page-content .fddw.animated,
.recruit-page-content .fdlf.animated,
.recruit-page-content .fdrt.animated {
  opacity: 1;
  transform: none;
}

/* Specific animation for .cont which is also positioned with transform */
.recruit-page-content #keyvisual .cont.fdup { /* Increased specificity */
  transform: translate(-50%, -50%) translateY(20px); /* Combines positioning and animation transforms */
  opacity: 0; /* Initial state for fdup */
}

.recruit-page-content #keyvisual .cont.fdup.animated {
  transform: translate(-50%, -50%) translateY(0);
  opacity: 1; /* Final state for fdup */
}


@keyframes highlight {
  0% { background-color: transparent; }
  25% { background-color: var(--primary-light); }
  100% { background-color: transparent; }
}

/* === Benefits visual refresh === */
.benefits-section {
  background: #FFF8F3;
  padding: 70px 0;
}

.benefits-section .benefits-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex; /* Overridden by display:block in responsive */
  flex-wrap: wrap;
  gap: 25px;
}

.benefits-section .benefits-title {
  flex: 0 0 100%;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 30px;
  position: relative;
  /* white-space etc handled by global rule */
}

.benefits-section .benefits-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.benefits-section .benefit-group {
  flex: 1 1 300px; /* Base, overridden in responsive */
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  transition: transform .3s; /* box-shadow transition removed due to v7 */
  border: 1px solid var(--primary-light) !important; /* v7 */
  box-shadow: none !important; /* v7 */
}

.benefits-section .benefit-group:hover {
  transform: translateY(-4px);
  /* box-shadow from original hover removed by v7 */
}

.benefits-section .benefit-group h5 {
  font-size: 20px;
  color: var(--primary-dark);
  margin: 0 0 18px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-list li { /* Styling from v7, text wrapping from global */
  position: relative;
  margin-bottom: 12px;
  line-height: 1.6;
  border: 1px solid var(--primary-light); /* v7 */
  border-radius: 6px; /* v7 */
  padding: 10px 14px 10px 36px; /* v7, adjusted left for check icon */
  background: #fff; /* v7 */
}

.benefit-list li::before {
  content: '\2713';
  position: absolute;
  left: 14px; /* Adjusted to fit new padding */
  top: 10px;  /* Adjusted to fit new padding */
  color: var(--accent);
  font-weight: 700;
  line-height: 1.6; /* Match li line-height for better vertical alignment */
}

/* === Contact Section === */
.recruit-page-content .contact-section {
  background: var(--primary-dark);
  padding: 70px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.recruit-page-content .contact-section:before,
.recruit-page-content .contact-section:after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.recruit-page-content .contact-section:before { top: -150px; left: -150px; }
.recruit-page-content .contact-section:after { bottom: -150px; right: -150px; }

.recruit-page-content .contact-title {
  font-size: 30px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.recruit-page-content .contact-text {
  margin-bottom: 35px;
  font-size: 17px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.recruit-page-content .contact-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  position: relative;
  z-index: 1;
}

/* Contact buttons - .entry-btn here is different from .job-item .entry-btn */
.recruit-page-content .contact-btn,
.recruit-page-content .contact-buttons .entry-btn { /* More specific for contact section entry button */
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.recruit-page-content .contact-btn {
  background: #ffffff;
  color: var(--primary-dark);
}

.recruit-page-content .contact-btn:hover {
  background: #f5f5f5;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.recruit-page-content .contact-buttons .entry-btn {
  background: var(--accent);
  color: var(--text-light);
}

.recruit-page-content .contact-buttons .entry-btn:hover {
  background: #FF4B10;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* === Spacing for Business Section (v10, v11) === */
.recruit-page-content .business-section,
.recruit-page-content .section.business-section { /* Ensure general .section rules don't conflict if it's already a .section */
  margin-top: 60px; /* v10 */
  padding-top: 80px !important; /* v11 */
}


/* ------------------------------------------------------------ */
/* 7. Responsive tweaks                                       */
/* ------------------------------------------------------------ */

/* Max-width: 991px (Tablets) */
@media (max-width: 991px) {
  /* Benefits Section (v4) */
  .benefits-section .benefits-content {
    display: block !important;
  }
  .benefits-section .benefit-group {
    width: 100% !important;
    flex: none !important; /* Overrides base flex */
    margin-bottom: 30px !important; /* Explicitly from v4, v1 was 20px */
    padding: 20px 24px; /* From v1, if not overridden by benefit-group base padding */
  }

  /* Business List (v4) */
  .recruit-page-content .business-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* v3/v4 */
    margin: 0; /* v4 */
  }
  .recruit-page-content .business-item {
    width: 100% !important; /* v4 */
    flex: none !important; /* v4, Overrides base flex */
    margin: 0; /* v3/v4 */
    /* padding is from base .business-item */
  }

  /* Job Item remains 2 columns from base flex */
  /* .recruit-page-content .job-item default is calc(50% - 25px) */

  /* Initiative Section: already column from base at 991px if .elem takes full width */
  /* Original .initiative-section .elem { flex-direction:column; } was here */
  /* v2 for 767px handles specific column behavior */
}

/* Max-width: 767px (Mobile Landscape & Large Phones) */
@media (max-width: 767px) {
  html {
    font-size: 17px; /* Slightly larger base on mobile */
  }
  .recruit-page-content .section {
    scroll-margin-top: calc(var(--header-height) + 15px);
  }
  .recruit-page-content .title2 .ja {
    font-size: 22px;
  }
  .recruit-page-content #keyvisual .cont { /* Adjusted from .cont */
    padding: 20px 30px;
    width: 85%;
  }
  .recruit-page-content .pageTitle .ja {
    font-size: 28px;
  }

  /* Business List (Handled by 991px grid, then 575px single column) */
  /* v3 .business-list { flex-direction: column; } overridden by grid */
  /* v3 .business-item { flex: 1 1 100% !important; margin-bottom: 20px; } overridden by grid */

  /* Job Item: 1 column */
  .recruit-page-content .job-item {
    flex: 1 1 100%;
    /* padding: initial; This would remove padding, use base padding or specify */
    margin: 0 0 25px 0; /* Consolidated margin, removed side margins due to full width */
  }

  .recruit-page-content .job-link,
  .recruit-page-content .job-item .entry-btn,
  .recruit-page-content .close-btn {
    width: 100%;
    text-align: center;
  }
  .recruit-page-content .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Initiative Section (v2) */
  .recruit-page-content .initiative-section .initiative_index .elem {
    flex-direction: column !important;
    gap: 20px !important; /* v2 */
  }
  .recruit-page-content .initiative-section .initiative_index .elem > * { /* v2 */
    width: 100% !important;
    max-width: 100%; /* Ensure children don't overflow */
  }
  .recruit-page-content .initiative-section .elem .photoarea { /* from original responsive */
    flex: none; /* if it was flex item */
    height: 250px; /* example, adjust as needed */
  }

  /* Benefits Section (Handled by 991px block layout) */
  /* v1 `.benefits-section .benefit-group { flex: 1 1 100% !important; padding: 20px 24px; margin-bottom: 20px; }` is overridden by 991px rule */
  /* original `@media(max-width:767px){ .benefits-section .benefits-content{ flex-direction:column; } }` overridden by 991px rule */
}

/* Max-width: 575px (Portrait Phones) */
@media (max-width: 575px) {
  .recruit-page-content .section {
    padding: 30px 0;
  }
  .recruit-page-content .inner {
    padding: 0 15px;
  }
  .recruit-page-content #keyvisual .cont { /* Adjusted from .cont */
    width: 90%;
    padding: 15px 20px;
  }
  .recruit-page-content .pageTitle .ja {
    font-size: 24px;
  }
  .recruit-page-content .job-title {
    font-size: 18px;
  }
  .recruit-page-content .job-item {
    padding: 20px; /* Overrides the 30px 12.5px from base */
  }

  /* Business List (v4) */
  .recruit-page-content .business-list {
    grid-template-columns: 1fr; /* Single column */
  }
  /* Business Item titles (v8, v10, v11) */
  .recruit-page-content .business-item h4 { /* v8 */
    font-size: 22px;
    margin-bottom: 24px;
  }
  .recruit-page-content .business-item h4 .name { /* v8, v10, v11 */
    font-size: 24px !important; /* v11 */
  }

  /* Initiative Section titles (v9, v11) */
  .recruit-page-content .initiative_index .elem h4 { /* v9 */
    font-size: 22px;
    margin-bottom: 24px;
  }
  .recruit-page-content .initiative_index .elem h4 .name { /* v9, v11 */
    font-size: 24px !important; /* v11 */
  }

  /* Section Subtitle (v5) */
  .recruit-page-content .business-section .section-subtitle,
  .recruit-page-content .business-content .section-subtitle {
    font-size: 20px;
  }
  /* ::before / ::after lines for subtitle already removed globally */
}

/* ===== ▼ 募集中職種へのクイックリンク ▼ ===== */
.job-quick-nav{             /* セクション全体 */
  text-align:center;
  margin:25px 0;
}
.job-quick-nav a{           /* ボタン */
  display:inline-block;
  background:#f37628;       /* 既存オレンジ */
  color:#fff;
  padding:12px 32px;
  border-radius:30px;
  font-weight:bold;
  text-decoration:none;
  transition:opacity .2s;
}
.job-quick-nav a:hover{opacity:.85;}
/* ===== ▲ ここまで ▲ ===== */

/* ===== 求人カード全体 ===== */
.job-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  padding:25px 20px;
  margin:40px 0;
  box-shadow:0 2px 4px rgba(0,0,0,.05);
}

/* ── セクション見出しを統一 ── */
.job-section-title{
  font-size:1.15rem;
  display:flex;
  align-items:center;
  margin:0 0 10px;
}
.job-section-title i{
  color:#f37628;
  margin-right:6px;
}

/* ── プレビュー領域 ── */
.job-summary {font-size:1.05rem;margin:0 0 6px;}
.job-salary  {font-weight:bold;margin:0 0 6px;}
.job-location{margin:0;font-size:.9rem;}

/* ── 詳細セクション ── */
.job-section{margin-bottom:30px;}
.job-section h4{margin-bottom:10px;}

/* ── CTA ボタン ── */
.job-cta{text-align:center;margin-top:20px;}
.btn-entry,.btn-back{
  display:inline-block;margin:6px 8px;padding:12px 28px;
  border-radius:30px;font-weight:bold;text-decoration:none;
}
.btn-entry{background:#f37628;color:#fff;}
.btn-back {background:#ddd;color:#333;}
.btn-entry:hover{opacity:.9;}

/* ── セクション見出しを上品なカード風に ── */
.job-section-title{
  font-size:1rem;                  /* 少し控えめで読みやすく   */
  font-weight:600;
  background:#fff4e0;              /* うすいクリーム色の帯     */
  border-left:4px solid #f37628;   /* テーマカラーのライン     */
  border-radius:4px;
  padding:6px 12px;
  display:flex;align-items:center;
  margin:20px 0 8px;               /* 前後に余白                */
}
.job-section-title i{
  color:#f37628;
  margin-right:6px;
}
/* ― 祝い金バナーの下を詰める ― */
.section.recruit-announcement{
  margin-bottom:10px;   /* 0〜10px で調整可 */
  padding-bottom:0;
}

/* ― CTA セクション全体 ― */
.section.job-quick-nav{
  text-align:center;
  padding:20px 0;       /* 上下だけ 20px、左右 0 */
  margin:20px 0 10px;   /* 前後ブロックとの間隔を圧縮 */
}

/* ― ボタン本体 ― */
.job-quick-nav .to-job-list,
.job-quick-nav .big-cta{        /* どちらの class でも当たる */
  display:inline-block;
  background:#f37628;           /* ブランドカラー */
  color:#fff;
  font-weight:700;
  text-decoration:none;
  margin:0;                     /* 外側余白ゼロ */

/* --- レスポンシブ文字サイズ & 余白 --- */
/* 文字：1.2rem〜2.4rem の範囲を 3vw で伸縮（従来より-25％程度） */
font-size: clamp(1.2rem, 3vw, 1.8rem);

/* 上下パディング：10〜20px を 2vw で伸縮                */
/* 左右パディング：40〜80px を 8vw で伸縮                */
padding: clamp(8px, 2vw, 16px)
         clamp(32px, 6vw, 64px);

  border-radius:8px;
  box-shadow:0 4px 6px rgba(0,0,0,.15);
  transition:transform .15s, box-shadow .15s;
}

/* ― ホバー効果 ― */
.job-quick-nav .to-job-list:hover,
.job-quick-nav .big-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 10px rgba(0,0,0,.18);
}

/* ▼ 募集施設ごとのビジュアル */
.job-group-visual{
  text-align:center;        /* figure 自体を中央寄せ */
  margin:20px 0;            /* 上下少し余白 */
}
.job-group-visual img{
  max-width:100%;           /* レスポンシブで横幅いっぱい */
  width:min(420px,100%);    /* 420px を上限に拡大しすぎない */
  height:auto;              /* 比率維持 */
  display:inline-block;     /* インライン中央 */
  border-radius:8px;        /* 角丸で柔らかく */
  object-fit:cover;         /* 短辺合わせでトリミング感を軽減 */
}

/* ==== END === */