@charset "utf-8";
/* 採用情報追加：既存の共通CSSを保ち、一覧と職種詳細に限定して適用。 */
#news .news-layout { min-height: 220px; }
#news .news-row { min-height: 110px; }
#recruit, #medical-clerk { scroll-margin-top: 96px; }
.recruitment-grid--five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
}
.recruitment-grid--five > .recruitment-card { grid-column: span 2; }
.recruitment-grid--five > .recruitment-card:nth-child(4) { grid-column: 2 / span 2; }
.recruitment-grid--five > .recruitment-card:nth-child(5) { grid-column: 4 / span 2; }
.recruitment-subtitle {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.recruitment-status {
  display: block;
  margin: auto auto 0;
  padding: 12px 10px;
  color: #70696b;
  font-size: 14px;
  text-align: center;
}
.recruitment-card--pending:hover,
.recruitment-card--pending.recruitment-animate.is-visible:hover { opacity: 1; }
.recruitment-card--pending:hover .recruitment-photo img { transform: none; }

/* PCでは日本語見出しと英語表記を近接させ、一組で縦中央に配置。本文の開始位置も揃える。 */
@media (min-width: 768px) {
  .recruitment-grid--five .recruitment-card-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 86px;
  }
  .recruitment-grid--five .recruitment-card-heading .recruitment-en {
    margin-top: 6px;
  }
}

/* この先の職種詳細用スタイルはWordPressの共通テンプレートでも再利用できます。 */
.job-detail-page { color: #333; letter-spacing: .05em; }
.job-breadcrumb { width: min(92%, 1120px); margin: 0 auto; padding: 24px 0; }
.job-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; font-size: inherit; }
.job-breadcrumb li { display: flex; align-items: center; gap: 16px; }
.job-breadcrumb li + li::before { content: "/"; color: inherit; }
.job-breadcrumb a { padding: 0; color: #66565c; font-weight: 400; }
.job-breadcrumb [aria-current] { color: inherit; }
.job-hero { background: #fff8f2; }
.job-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; width: min(92%, 1120px); margin: 0 auto; align-items: center; gap: 56px; padding: 58px 0 66px; }
.job-kicker { margin: 0 0 8px; color: var(--c-deep); font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.job-employment { display: flex; gap: 10px; margin: 20px 0 0; }
.job-employment span { min-width: 68px; padding: 4px 16px; border: none; border-radius: 4px; background: #f38cb3; color: #fff; font-size: 16px; text-align: center; }
.job-hero h1 { margin: 0; color: #47333b; font-size: clamp(32px, 3.5vw, 48px); font-weight: 600; line-height: 1.45; letter-spacing: .06em; }
.job-hero h1 > span { display: block; margin-top: 12px; font-size: clamp(15px, 1.65vw, 20px); letter-spacing: .03em; }
.job-hero-lead { margin: 24px 0 22px; color: inherit; font-size: 16px; line-height: 1.9; }
.job-updated { margin: 0; color: #76676c; font-size: 12px; }
.job-updated time { margin-left: 10px; }
.job-hero-photo { align-self: start; overflow: hidden; border-radius: 18px; }
.job-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.job-content { width: min(90%, 960px); margin: 0 auto; padding: 60px 0 100px; }
.job-highlights { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 72px; padding: 28px 12px; border-top: 1px solid #eadce1; border-bottom: 1px solid #eadce1; }
.job-highlight { padding: 6px 20px; text-align: center; }
.job-highlight + .job-highlight { border-left: 1px solid #eadce1; }
.job-highlight-label { display: block; color: #76505e; font-size: 15px; font-weight: 600; }
.job-highlight p { margin: 8px 0; font-size: 14px; letter-spacing: .02em; }
.job-highlight strong { color: #a34769; font-size: clamp(23px, 2.4vw, 32px); font-weight: 600; }
.job-highlight strong span { padding: 0 3px; font-size: 20px; }
.job-highlight > span:last-child { color: #75666c; font-size: 13px; }
.job-section-heading { margin-bottom: 30px; text-align: center; }
.job-section-heading > span { display: block; color: var(--c-deep); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.job-section-heading h2 { margin: 8px 0 0; color: #47333b; font-size: 30px; font-weight: 600; letter-spacing: .1em; }
.job-specs { margin: 0; }
.job-spec-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid #e9dfe3; }
.job-spec-row dt { display: flex; align-items: center; padding: 28px 24px; background: #f5f5f5; color: inherit; font-size: 15px; font-weight: 600; }
.job-spec-row dd { margin: 0; padding: 26px 30px; font-size: 15px; line-height: 1.95; letter-spacing: .04em; }
.job-spec-row p { margin: 0; }
.job-spec-row ul { margin: 0; padding-left: 1.3em; }
.job-spec-row li::marker { color: #bb6a88; }
.job-spec-row .job-note { margin-top: 12px; color: inherit; font-size: inherit; }
.job-text-link { color: #96516c; text-decoration: underline; text-underline-offset: 4px; }
.job-application { margin-top: 64px; padding: 44px 48px; border-radius: 16px; background: #f5f5f5; text-align: center; }
.job-application > p { margin: 0 0 18px; font-size: 15px; line-height: 2; }
.job-application-address { margin-top: 28px; padding: 28px 40px; border: 1px solid #ddd; border-radius: 10px; background: #fff; font-style: normal; }
.job-address-label { display: inline-block; margin-bottom: 8px; color: inherit; font-size: 16px; font-weight: 700; }
.job-application-address p { margin: 4px 0 14px; font-size: 15px; line-height: 1.95; }
.job-phone { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; color: inherit; font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.job-phone span { font-size: inherit; }
.job-back { margin: 42px 0 0; text-align: center; }
.job-back .btn-outline { font-size: 15px; }
.job-closed {
  padding: 48px 56px 52px;
  border: 1px solid #eadce1;
  border-radius: 16px;
  background: #fffaf7;
}
.job-closed-copy {
  max-width: 760px;
  margin: 0 auto;
}
.job-closed-copy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 2;
}
.job-closed-copy p:last-child { margin-bottom: 0; }
.job-closed-copy .job-closed-lead {
  margin-bottom: 22px;
  color: #76505e;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
}
.job-detail a:focus-visible { outline: 3px solid #b84e76; outline-offset: 5px; }

@media (min-width: 768px) {
  .job-application-address { width: fit-content; max-width: 100%; margin-inline: auto; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .recruitment-grid--five { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .recruitment-grid--five > .recruitment-card:nth-child(4) { grid-column: span 2; }
  .recruitment-grid--five > .recruitment-card:nth-child(5) { grid-column: 2 / span 2; }
  .job-hero-inner { gap: 30px; }
  .job-spec-row { grid-template-columns: 175px minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  #news .news-layout { min-height: 0; }
  #news .news-row { min-height: 100px; }
  .recruitment-grid--five { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .recruitment-grid--five > .recruitment-card,
  .recruitment-grid--five > .recruitment-card:nth-child(4),
  .recruitment-grid--five > .recruitment-card:nth-child(5) { grid-column: auto; }
  .job-breadcrumb { padding: 18px 0; }
  .job-breadcrumb ol { gap: 6px 10px; }
  .job-breadcrumb li { gap: 10px; }
  .job-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 0; }
  /* スマホは見出し・勤務区分の次に写真、続いて紹介文を配置。 */
  .job-hero-copy { display: contents; }
  .job-kicker { margin-bottom: 8px; font-size: 12px; }
  .job-hero h1 { font-size: 36px; }
  .job-hero h1 > span { font-size: 15px; }
  .job-hero-photo { grid-row: 4; margin-top: 26px; }
  .job-hero-lead { grid-row: 5; margin: 22px 0 16px; font-size: 16px; }
  .job-hero-photo img { aspect-ratio: 3 / 2; }
  .job-content { padding: 34px 0 60px; }
  .job-highlights { grid-template-columns: minmax(0, 1fr); margin: 0 0 46px; padding: 0; }
  .job-highlight { padding: 22px 8px; }
  .job-highlight + .job-highlight { border-left: 0; border-top: 1px solid #eadce1; }
  .job-highlight strong { font-size: 30px; }
  .job-section-heading { margin-bottom: 24px; }
  .job-section-heading h2 { font-size: 27px; }
  .job-spec-row { grid-template-columns: minmax(0, 1fr); }
  .job-spec-row dt { padding: 13px 16px; font-size: 15px; }
  .job-spec-row dd { padding: 18px 16px 24px; font-size: 14px; }
  .job-application { margin-top: 40px; padding: 30px 16px; }
  .job-application > p { font-size: 14px; text-align: left; }
  .job-application-address { padding: 22px 32px; }
  .job-application-address p { font-size: 13px; }
  .job-phone { font-size: 14px; }
  .job-back .btn-outline { font-size: 13px; }
  .job-closed { padding: 30px 20px 34px; }
  .job-closed-copy p { font-size: 14px; line-height: 1.9; }
  .job-closed-copy .job-closed-lead { margin-bottom: 18px; font-size: 19px; }
}
