/* Recruitment board: soft rose, shared by list and detail pages. */
.rb_page {
  --rb_ink: #302932;
  --rb_muted: #70636b;
  --rb_rose: #a33464;
  --rb_rose_deep: #762e4a;
  --rb_edge: #ecd7e0;
  --rb_soft_edge: #f2e5ea;
  --rb_shadow: 0 12px 30px rgba(107, 57, 78, 0.06);
  --rb_hero_background:
    radial-gradient(90% 100% at 4% 0%, rgba(255, 221, 234, 0.72), transparent 62%),
    linear-gradient(130deg, #fff8fa 0%, #fff0f5 58%, #fff9f4 100%);
  margin: 0;
  background: #fff9fb;
  color: var(--rb_ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.rb_page *,
.rb_page *::before,
.rb_page *::after { box-sizing: border-box; }

.rb_page a { color: var(--rb_rose); text-decoration: none; }
.rb_page a:focus-visible,
.rb_page button:focus-visible {
  outline: 3px solid #762e4a;
  outline-offset: 4px;
}

.rb_header {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--rb_soft_edge);
  background: #fff;
  text-align: center;
}
.rb_header_logo { display: inline-block; max-width: 100%; line-height: 1; }
.rb_header_logo img { display: block; max-width: 100%; height: 36px; }
.rb_member_return {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  font-size: 13px;
  font-weight: 600;
}

.rb_hero {
  max-width: 1000px;
  margin: 36px auto 32px;
  padding: 0 24px;
  text-align: center;
}
.rb_hero_inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 28px;
  padding: 44px 36px 40px;
  text-align: left;
  border: 1px solid #f4e4ea;
  border-radius: 24px;
  background: var(--rb_hero_background);
}
.rb_hero_copy { min-width: 0; }
.rb_hero_art { display: block; width: 220px; max-width: 100%; height: auto; }
.rb_hero_kicker {
  margin: 0 0 10px;
  color: var(--rb_rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.23em;
}
.rb_hero_title {
  margin: 0;
  color: var(--rb_rose_deep);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
.rb_hero_lead {
  max-width: 740px;
  margin: 20px 0 0;
  color: #675b63;
  font-size: 14px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.rb_hero_lead em { color: #8e3158; font-style: normal; font-weight: 700; }

.rb_container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.rb_page_detail .rb_container { padding-top: 28px; }
.rb_list { display: flex; flex-direction: column; gap: 20px; }
.rb_card {
  display: block;
  position: relative;
  min-width: 0;
  padding: 28px 32px 24px;
  border: 1px solid var(--rb_edge);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--rb_shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.rb_page .rb_card { color: var(--rb_ink); }
.rb_card::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #ce6b95, #eab5a0);
  pointer-events: none;
}
.rb_card_head,
.rb_head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--rb_muted);
  font-size: 12px;
}
.rb_card_head { margin: 0 0 16px; }
.rb_card_head time { margin-left: auto; }
.rb_card_head time,
.rb_head time { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.rb_badge {
  display: inline-block;
  max-width: 100%;
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.rb_badge.open {
  border-color: #f0d5e0;
  color: #923158;
  background: linear-gradient(135deg, #fff3f7, #fce5ee);
}
.rb_badge.closed { border-color: #e0dadd; color: #62575d; background: #f1edf0; }
.rb_badge.can_apply { border-color: #c5e0d2; color: #256244; background: #edf7f1; }
.rb_badge.upgrade { border-color: #ead8b7; color: #78541b; background: #fbf5e9; }
.rb_badge.profile_incomplete { border-color: #cbddea; color: #365f7a; background: #f0f6fa; }
.rb_badge.applied { border-color: #dcd1e7; color: #665077; background: #f4eff9; }
.rb_card_title {
  margin: 0 0 20px;
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.rb_card_rows { padding-top: 16px; border-top: 1px solid var(--rb_soft_edge); }
.rb_card_row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 14px;
  margin: 8px 0 0;
  color: #645961;
  font-size: 14px;
}
.rb_card_row:first-child { margin-top: 0; }
.rb_card_row > span { min-width: 0; overflow-wrap: anywhere; }
.rb_label { color: #9a3b64; font-size: 12px; font-weight: 700; }
.rb_card_arrow {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0 auto;
  padding: 6px 14px;
  border: 1px solid #e4b8ca;
  border-radius: 999px;
  color: var(--rb_rose);
  font-size: 12px;
  font-weight: 600;
}

.rb_empty {
  margin: 0;
  padding: 52px 28px;
  border: 1px solid var(--rb_edge);
  border-radius: 18px;
  background: #fff;
  color: var(--rb_muted);
  text-align: center;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.rb_empty a { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rb_pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  color: var(--rb_muted);
  font-size: 13px;
}
.rb_pager a {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid #dfb9c9;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}
.rb_pager_pos { padding: 0 6px; font-variant-numeric: tabular-nums; }

.rb_back { display: inline-block; margin-bottom: 20px; font-size: 13px; }
.rb_article {
  min-width: 0;
  border: 1px solid var(--rb_edge);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--rb_shadow);
}
.rb_article_header {
  padding: 32px 40px 36px;
  border-bottom: 1px solid var(--rb_soft_edge);
  border-radius: 17px 17px 0 0;
  background: var(--rb_hero_background);
}
.rb_head { margin: 0 0 18px; }
.rb_detail_art {
  display: block;
  flex-shrink: 0;
  width: 84px;
  height: 56px;
  margin-left: auto;
  object-fit: contain;
}
.rb_title {
  margin: 0;
  color: #3a2630;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.rb_article_content { padding: 28px 40px 36px; }
.rb_info_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rb_block {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--rb_soft_edge);
  border-radius: 13px;
  background: #fffdfd;
  color: #524550;
  font-size: 14px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.rb_block_label { display: block; margin-bottom: 9px; color: #9a3b64; font-size: 12px; font-weight: 700; }
.rb_body {
  margin: 38px 0 42px;
  color: #4d454b;
  font-size: 15px;
  line-height: 2.05;
  overflow-wrap: anywhere;
}
.rb_apply {
  padding: 26px;
  border: 1px solid #efdae3;
  border-radius: 15px;
  background: linear-gradient(125deg, #fff7fa, #fffaf8);
  text-align: center;
  overflow-wrap: anywhere;
}
.rb_apply_ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 16px;
  color: #c87599;
  font-size: 20px;
  line-height: 1;
}
.rb_apply_ornament::before,
.rb_apply_ornament::after {
  content: "";
  flex: 1;
  min-width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e9bfd1);
}
.rb_apply_ornament::after { transform: scaleX(-1); }
.rb_apply_ornament > span { flex-shrink: 0; }
.rb_apply_msg {
  margin: 0 0 20px;
  padding: 13px 16px;
  border: 1px solid #c5e0d2;
  border-radius: 10px;
  background: #edf7f1;
  color: #256244;
  font-size: 14px;
}
.rb_apply_text { margin: 0 0 20px; color: #64545d; font-size: 14px; line-height: 1.95; }
.rb_apply_text:last-child { margin-bottom: 0; }
.rb_apply_note { margin: 16px 0 0; color: var(--rb_muted); font-size: 12px; line-height: 1.95; }
.rb_apply_note a { text-decoration: underline; text-underline-offset: 3px; }
.rb_page .rb_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 14px 28px;
  appearance: none;
  border: 1px solid #e5b5c9;
  border-radius: 10px;
  background: linear-gradient(115deg, #f5cfe0 0%, #f9dfdf 52%, #ffe8d5 100%);
  box-shadow: 0 3px 10px rgba(167, 85, 121, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: #78334f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: box-shadow 180ms ease;
}
.rb_btn_phrase { display: inline-block; }
.rb_page .rb_btn.is_disabled {
  border-color: #e1d8dd;
  background: #eee9ec;
  box-shadow: none;
  color: #63565e;
  cursor: default;
}

.rb_footer_bar {
  padding: 26px 20px 30px;
  border-top: 1px solid var(--rb_soft_edge);
  background: #fff;
  color: var(--rb_muted);
  font-size: 12px;
  text-align: center;
}
.rb_footer_bar a { display: inline-block; margin: 0 12px; padding: 8px 0; color: #67555e; }
.rb_footer_copy { display: block; margin-top: 12px; }

@media (hover: hover) {
  .rb_card:hover { border-color: #d4a3b7; box-shadow: 0 16px 34px rgba(107, 57, 78, 0.1); transform: translateY(-2px); }
  .rb_card:hover .rb_card_arrow,
  .rb_pager a:hover { background: #fff2f7; }
  .rb_page .rb_btn:not(.is_disabled):hover {
    background: linear-gradient(115deg, #f1c4d8 0%, #f7d6da 52%, #ffe0c6 100%);
    box-shadow: 0 5px 16px rgba(167, 85, 121, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }
  .rb_back:hover,
  .rb_member_return:hover,
  .rb_footer_bar a:hover { color: var(--rb_rose_deep); text-decoration: underline; text-underline-offset: 3px; }
}

@media (max-width: 600px) {
  .rb_header { padding: 20px 16px 17px; }
  .rb_header_logo img { height: 30px; }
  .rb_hero { margin: 24px auto; padding: 0 16px; }
  .rb_hero_inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 26px 20px;
    border-radius: 18px;
    text-align: center;
  }
  .rb_hero_art { order: -1; width: 124px; justify-self: center; }
  .rb_hero_lead { margin-top: 16px; font-size: 13px; text-align: left; }
  .rb_container { padding: 0 16px 56px; }
  .rb_page_detail .rb_container { padding-top: 22px; }
  .rb_list { gap: 16px; }
  .rb_card { padding: 22px 20px 20px; }
  .rb_card::before { top: 22px; bottom: 22px; }
  .rb_card_head { gap: 8px; margin-bottom: 14px; }
  .rb_card_title { margin-bottom: 17px; font-size: 19px; }
  .rb_card_row { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 12px; font-size: 13px; }
  .rb_label { font-size: 11px; }
  .rb_card_arrow { margin-top: 16px; }
  .rb_empty { padding: 36px 20px; }
  .rb_pager { gap: 8px; }
  .rb_pager a { padding: 9px 16px; }
  .rb_article_header { padding: 24px 20px 27px; }
  .rb_detail_art { width: 54px; height: 36px; }
  .rb_article_content { padding: 20px 20px 24px; }
  .rb_info_grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rb_block { padding: 17px; }
  .rb_body { margin: 30px 0 34px; font-size: 14px; }
  .rb_apply { padding: 21px 16px; }
  .rb_page .rb_btn { width: 100%; padding: 13px 16px; font-size: 14px; }
  .rb_footer_bar { padding: 22px 16px 26px; }
  .rb_footer_bar a { margin: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .rb_card,
  .rb_page .rb_btn { transition: none; }
  .rb_card:hover { transform: none; }
}
