/* Page-specific styles for 職種紹介. */

.oc-section-title {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.oc-role-callout {
  position: relative;
  margin: 48px 0 78px;
  padding: 32px 36px;
  background: #fff7f1;
  border: 1px solid rgba(232,93,47,0.22);
  border-radius: 8px;
}
.oc-role-callout::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 2px;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
}
.oc-role-callout-kicker {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.oc-role-callout h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.oc-role-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
}
.oc-role-callout p + p {
  margin-top: 8px;
}
.oc-recruiting-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.oc-section-catch {
  margin: -8px 0 28px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.oc-staff-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin: -8px 0 28px;
}
.oc-staff-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}
.oc-staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.oc-staff-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.oc-staff-link img,
.oc-staff-avatar {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dedbd4;
}
.oc-staff-link img {
  object-fit: cover;
  object-position: center 16%;
}
.oc-staff-link small {
  margin-left: 3px;
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
}
.oc-staff-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
  transform: translateY(-1px);
}
.oc-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.oc-related-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}
.oc-related-link .arr {
  font-family: var(--font-latin);
  color: var(--accent);
  transition: transform 0.2s ease;
}
.oc-related-link:hover {
  opacity: 0.7;
}
.oc-related-link:hover .arr {
  transform: translateX(3px);
}
.oc-section .oc-detail-grid {
  margin-top: 36px;
}
.oc-detail-grid.single {
  grid-template-columns: 1fr;
}
.oc-detail {
  position: relative;
  padding: 24px 32px 22px;
  background: rgba(255,255,255,0.54);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}
.oc-detail h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.oc-detail h3::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: var(--accent);
  -webkit-mask: var(--oc-icon) center / contain no-repeat;
  mask: var(--oc-icon) center / contain no-repeat;
}
.oc-detail:first-child h3::before {
  --oc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T818-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z'/%3E%3C/svg%3E");
}
.oc-detail:nth-child(2) h3::before {
  --oc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Zm80-80h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560Zm0-80Zm0 400Z'/%3E%3C/svg%3E");
}
.oc-detail ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.oc-detail li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  list-style: none;
}
.oc-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(232,93,47,0.58);
}
.oc-recruit-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-width: 0;
  margin-top: 24px;
  padding: 17px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.oc-recruit-link .arr {
  flex: 0 0 auto;
  font-family: var(--font-latin);
  font-size: 17px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.oc-recruit-link:hover {
  opacity: 1;
  background: var(--accent);
  border-color: var(--accent);
}
.oc-recruit-link:hover .arr {
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .oc-role-callout {
    margin: 38px 0 58px;
    padding: 26px 24px 26px 28px;
  }
  .oc-role-callout h2 {
    font-size: 18px;
  }
  .oc-section-catch {
    font-size: 19px;
  }
  .oc-staff-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .oc-staff-label {
    width: 100%;
  }
  .oc-staff-list {
    width: 100%;
  }
  .oc-detail {
    padding-right: 24px;
    padding-left: 24px;
  }
  .oc-detail-grid {
    grid-template-columns: 1fr;
  }
}
