.breadcrumb {
  width: min(1160px, calc(100% - 48px));
  margin: 18px auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb a { color: var(--green-dark); }

.job-hero {
  width: min(1320px, calc(100% - 48px));
  min-height: 420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f9f2, #edf6db);
}
.job-hero-copy { padding: clamp(42px, 5vw, 66px); align-self: center; }
.job-badges { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.job-badges span { padding: 6px 14px; border-radius: 999px; color: var(--green-dark); background: white; font-size: 12px; font-weight: 800; }
.job-hero h1 { margin: 0; color: var(--ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(42px, 5vw, 68px); font-weight: 600; line-height: 1.35; }
.job-formal-title { margin: 0 0 10px; color: var(--green-dark); font-size: 13px; font-weight: 800; }
.job-hero-management h1 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.55; }
.job-hero-lead { max-width: 580px; margin: 18px 0 26px; line-height: 1.85; }
.job-day-link { margin-top: 16px; display: block; color: var(--green-dark); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.job-hero-image { min-height: 420px; }
.job-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.job-facts {
  width: min(1080px, calc(100% - 48px));
  margin: 26px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.job-facts dl { margin: 0; padding: 16px 20px; text-align: center; }
.job-facts dl + dl { border-left: 1px solid var(--line); }
.job-facts dt { color: var(--green-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.job-facts dd { margin: 3px 0 0; color: var(--ink); font-size: 14px; font-weight: 800; }

.job-section { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 68px 0; }
.job-section-title { max-width: 720px; margin-bottom: 30px; }
.job-section-title h2, .message-heading h2, .job-apply-section h2 { margin: 0; color: var(--ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.45; }
.job-section-title > p:last-child { margin: 10px 0 0; color: var(--muted); }

.intro-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-card { padding: 24px 30px; }
.intro-card + .intro-card { border-left: 1px solid var(--line); }
.intro-card > span { color: var(--green); font-family: Georgia, serif; font-size: 32px; }
.intro-card h3 { margin: 12px 0 7px; color: var(--ink); font-size: 18px; }
.intro-card p { margin: 0; color: var(--muted); font-size: 14px; }
.flat-point-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); list-style: none; }
.flat-point-list li { min-height: 78px; padding: 15px 20px; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.flat-point-list li:nth-child(even) { border-left: 1px solid var(--line); }
.flat-point-list span { color: var(--green); font-family: Georgia, serif; font-size: 23px; }
.flat-point-list p { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.65; }

.message-section { padding: 38px 0; display: grid; grid-template-columns: .55fr 1.45fr; gap: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.message-body p { margin-top: 0; }
.message-body p:last-child { margin-bottom: 0; }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.role-grid article { min-height: 160px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.role-grid article:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.role-grid span { color: var(--green); font-family: Georgia, serif; font-size: 26px; }
.role-grid h3 { margin: 10px 0 5px; color: var(--ink); font-size: 16px; }
.role-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.work-balance { margin-top: 24px; padding: 18px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-balance strong { width: 100%; color: var(--green-dark); text-align: center; }
.work-balance p { margin: 0; padding: 0 20px; color: var(--ink); font-weight: 700; }
.work-balance p span { display: block; color: var(--green-dark); font-size: 11px; }
.work-balance b { color: var(--green-dark); font-size: 24px; }
.support-note { margin: 14px 0 0; color: var(--green-dark); font-weight: 800; text-align: center; }
.work-groups { border-top: 1px solid var(--line); }
.work-group { padding: 22px 0; display: grid; grid-template-columns: 220px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
.work-group h3 { margin: 0; color: var(--ink); font-size: 17px; }
.work-group ul { margin: 0; padding-left: 1.25em; columns: 2; column-gap: 42px; }
.work-group li { break-inside: avoid; margin-bottom: 6px; font-size: 14px; }

.career-section { padding: 66px 24px; color: white; background: var(--green-deep); }
.career-inner { width: min(1040px, 100%); margin: 0 auto; }
.heading-light h2 { color: white; }
.heading-light .section-label { color: #cfe58d; }
.career-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.26); }
.career-grid article { padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.26); }
.career-grid article + article { border-left: 1px solid rgba(255,255,255,.26); }
.career-grid h3 { margin: 0 0 8px; color: white; font-size: 16px; }
.career-grid p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }

.requirements-section { scroll-margin-top: 92px; }
.official-content-section { padding-top: 58px; }
.official-job-copy { border-top: 2px solid var(--green-dark); }
.official-job-copy > div > :first-child,
.official-job-copy > :first-child { margin-top: 26px; }
.official-job-copy p { margin: 8px 0 14px; }
.official-job-copy ul,
.official-job-copy ol { margin: 8px 0 18px; padding-left: 1.4em; }
.official-job-copy li + li { margin-top: 5px; }
.official-subheading { margin: 28px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; }
.official-requirements-table { width: 100%; margin-top: 28px; border-collapse: collapse; border-top: 2px solid var(--green-dark); }
.official-requirements-table th,
.official-requirements-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.official-requirements-table th { width: 220px; color: var(--ink); background: var(--cream); font-weight: 800; }
.official-requirements-table td > :first-child { margin-top: 0; }
.official-requirements-table td > :last-child { margin-bottom: 0; }
.requirements-table { border-top: 2px solid var(--green-dark); }
.requirements-table dl { margin: 0; display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.requirements-table dt { padding: 20px 23px; color: var(--ink); background: var(--cream); font-weight: 800; }
.requirements-table dd { margin: 0; padding: 20px 28px; }
.requirements-table p { margin-top: 0; }
.requirements-table ul { margin: 0; padding-left: 1.35em; }
.requirements-table li + li { margin-top: 7px; }
.detail-note { margin-top: 18px !important; color: var(--muted); font-size: 13px; }
.highlight-note { margin: 18px 0 0 !important; padding: 13px 16px; border-left: 4px solid var(--green); color: var(--green-dark); background: var(--green-pale); font-weight: 800; }
.benefits-list { columns: 2; column-gap: 38px; }
.benefits-list li { break-inside: avoid; margin-bottom: 8px; }

.selection-flow { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.selection-flow li { min-height: 116px; padding: 18px 14px; position: relative; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.selection-flow li + li { border-left: 1px solid var(--line); }
.selection-flow li:not(:last-child)::after { content: "›"; position: absolute; right: -12px; top: 50%; z-index: 2; color: var(--green); font-size: 28px; transform: translateY(-50%); }
.selection-flow span { color: var(--green); font-family: Georgia, serif; font-size: 23px; }
.selection-flow strong { color: var(--ink); font-size: 15px; }
.selection-flow small { margin-top: 6px; color: var(--muted); }

.job-apply-section { padding: 54px max(24px, calc((100% - 1040px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; color: white; background: linear-gradient(120deg, var(--green-deep), var(--green-dark)); }
.job-apply-section .section-label { color: #d8eaa3; }
.job-apply-section h2 { color: white; }
.job-apply-section p:not(.section-label) { margin-bottom: 0; color: rgba(255,255,255,.8); }
.apply-copy { min-width: 280px; }
.apply-contact { width: min(630px, 100%); }
.apply-contact dl { margin: 0 0 14px; padding: 16px 0; display: grid; grid-template-columns: 100px 1fr; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); }
.apply-contact dt { font-weight: 800; }
.apply-contact dd { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 4px 14px; }
.apply-contact dd span { color: rgba(255,255,255,.72); }
.apply-contact dd a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.apply-contact p { font-size: 13px; line-height: 1.75; }
.apply-contact .button { width: auto; margin-top: 16px; margin-right: 8px; }
.source-note { width: min(1040px, calc(100% - 48px)); margin: 18px auto 48px; color: var(--muted); font-size: 11px; text-align: center; }

@media (max-width: 820px) {
  .breadcrumb { width: calc(100% - 32px); }
  .job-hero { width: calc(100% - 24px); min-height: 0; grid-template-columns: 1fr; border-radius: 24px; }
  .job-hero-copy { padding: 36px 26px 40px; }
  .job-hero-image { min-height: 285px; order: -1; }
  .job-facts { width: calc(100% - 40px); grid-template-columns: 1fr 1fr; }
  .job-facts dl:nth-child(3) { border-left: 0; }
  .job-facts dl:nth-child(n+3) { border-top: 1px solid var(--line); }
  .job-section { width: calc(100% - 40px); padding: 54px 0; }
  .intro-grid, .role-grid, .career-grid { grid-template-columns: 1fr; }
  .flat-point-list { grid-template-columns: 1fr; }
  .flat-point-list li:nth-child(even) { border-left: 0; }
  .intro-card + .intro-card { border-top: 1px solid var(--line); border-left: 0; }
  .message-section { padding: 30px 0; grid-template-columns: 1fr; gap: 18px; }
  .role-grid article { min-height: 0; }
  .work-group { grid-template-columns: 1fr; gap: 10px; }
  .work-group ul { columns: 1; }
  .role-grid article:not(:nth-child(3n+1)) { border-left: 0; }
  .career-grid article + article { border-left: 0; }
  .requirements-table dl { grid-template-columns: 1fr; }
  .official-requirements-table,
  .official-requirements-table tbody,
  .official-requirements-table tr,
  .official-requirements-table th,
  .official-requirements-table td { display: block; width: 100%; }
  .official-requirements-table th { padding: 14px 18px; }
  .official-requirements-table td { padding: 16px 18px 22px; }
  .requirements-table dt { padding: 16px 20px; }
  .requirements-table dd { padding: 18px 20px 24px; }
  .benefits-list { columns: 1; }
  .selection-flow { grid-template-columns: 1fr; }
  .selection-flow li { min-height: 110px; }
  .selection-flow li + li { border-top: 1px solid var(--line); border-left: 0; }
  .selection-flow li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -23px; transform: translateX(50%); }
  .job-apply-section { padding: 46px 24px; align-items: stretch; flex-direction: column; }
  .apply-contact dl { grid-template-columns: 1fr; gap: 8px; }
  .apply-contact dd { grid-template-columns: 110px 1fr; }
}

@media (max-width: 520px) {
  .job-facts { grid-template-columns: 1fr; }
  .job-facts dl + dl { border-top: 1px solid var(--line); border-left: 0; }
  .work-balance { align-items: stretch; flex-direction: column; }
  .work-balance p { width: 100%; text-align: center; }
  .apply-contact dd { grid-template-columns: 1fr; gap: 2px; }
  .apply-contact dd a + span { margin-top: 8px; }
  .apply-contact .button { width: 100%; margin-right: 0; }
}

.official-job-copy u {
  text-decoration: none;
  background-image: linear-gradient(transparent 60%, #d8f29b 60%);
}

/* PCではスマホ用の折りたたみ項目を隠す */
.job-requirements-accordion {
  display: none;
}

/* スマホでは表を隠して、折りたたみ項目を表示 */
@media (max-width: 820px) {
  .official-requirements-table {
    display: none !important;
  }

  .job-requirements-accordion {
    display: block;
  }

  .job-requirement-item {
    border-top: 1px solid var(--line);
  }

  .job-requirement-item:last-child {
    border-bottom: 1px solid var(--line);
  }

  .job-requirement-item summary {
    position: relative;
    padding: 18px 48px 18px 18px;
    background: var(--cream);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .job-requirement-item summary::-webkit-details-marker {
    display: none;
  }

  .job-requirement-item summary::after {
    content: "＋";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--green-dark);
  }

  .job-requirement-item[open] summary::after {
    content: "−";
  }

  .job-requirement-content {
    padding: 16px 18px 22px;
  }
}