/* ===================== */
/* 募集要項一覧 */
/* ===================== */
.careers-index {
  padding: 100px 0 120px;
  background: #f7f9fc;
}
.careers-index-head {
  margin-bottom: 60px;
}
.careers-index-lead {
  margin: 0;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 2.1;
  text-align: center;
}
.careers-office-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.careers-office-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 34px 34px 30px;
  background: #fff;
  border: 1px solid #dbe4ef;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(6, 55, 159, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.careers-office-card-head {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(6, 55, 159, 0.15);
}
.careers-office-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.careers-office-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #ccc;
  color: #5e6b7a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  background: #fff;
}
.careers-office-en {
  color: #06379f;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.careers-office-name {
  margin-bottom: 15px;
  color: #06379f;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
}
.careers-office-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.careers-office-address {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #222;
}
.careers-office-link {
  position: relative;
  align-self: center;
  margin: 0;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #06379f;
  background: #ffffff;
  color: #06379f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
  padding: 16px 16px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 0;
}
.careers-office-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #06379f;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.careers-office-link-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: filter 0.4s ease;
}
.careers-office-card:hover, .careers-office-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(6, 55, 159, 0.35);
  box-shadow: 0 18px 36px rgba(6, 55, 159, 0.14);
}
.careers-office-card:hover .careers-office-link::after, .careers-office-card:focus-visible .careers-office-link::after {
  left: 0;
}
.careers-office-card:hover .careers-office-link, .careers-office-card:focus-visible .careers-office-link {
  color: #ffffff;
}
.careers-office-card:hover .careers-office-link-arrow, .careers-office-card:focus-visible .careers-office-link-arrow {
  filter: brightness(0) invert(1);
}
@media (min-width: 769px) and (max-width: 1199px) {
  .careers-index {
    padding: 90px 0 100px;
  }
  .careers-office-list {
    gap: 22px;
  }
  .careers-office-card {
    min-height: 250px;
    padding: 28px 26px;
  }
  .careers-office-name {
    font-size: 26px;
  }
}
@media (max-width: 768px) {
  .careers-index {
    padding: 50px 0 60px;
  }
  .careers-index-head {
    margin-bottom: 34px;
  }
  .careers-index-lead {
    font-size: 15px;
    line-height: 1.9;
  }
  .careers-office-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .careers-office-card {
    min-height: auto;
    padding: 24px 20px 22px;
  }
  .careers-office-card-head {
    padding-bottom: 18px;
    margin-bottom: 18px;
  }
  .careers-office-tags {
    gap: 10px;
    margin-bottom: 16px;
  }
  .careers-office-tag {
    min-height: 30px;
    padding: 5px 12px;
    font-size: 12px;
  }
  .careers-office-en {
    font-size: 14px;
  }
  .careers-office-name {
    font-size: 24px;
    line-height: 1.5;
  }
  .careers-office-address {
    font-size: 14px;
    line-height: 1.9;
  }
  .careers-office-link {
    max-width: 100%;
    font-size: 14px;
    padding: 15px 14px;
  }
}
/* ===================== */
/* 募集要項詳細 */
/* ===================== */
.career-detail {
  padding: 100px 0 120px;
  background: #f7f9fc;
}
.career-detail-head {
  margin-bottom: 56px;
}
.career-detail-title-wrap {
  margin-bottom: 28px;
}
.career-detail-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.career-detail-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #ccc;
  color: #5e6b7a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  background: #fff;
}
.career-anchor-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 70px 0 100px;
  flex-wrap: wrap;
}
.career-anchor-link {
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #06379f;
  background: #ffffff;
  color: #06379f;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 18px 16px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 0;
}
.career-anchor-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #06379f;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.career-anchor-link:hover::before {
  left: 0;
}
.career-anchor-link:hover {
  color: #ffffff;
}
.career-anchor-link-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: filter 0.4s ease;
}
.career-anchor-link:hover .career-anchor-link-arrow {
  filter: brightness(0) invert(1);
}
.career-detail-title {
  margin: 0;
  color: #06379f;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.3;
}
.career-detail-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  color: #06379f;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}
.career-detail-subtitle::before {
  content: "";
  width: 50px;
  height: 2px;
  background: #06379f;
}
.career-detail-role-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  margin: 0 auto -1px;
  background: #06379f;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  scroll-margin-top: 100px;
}
.career-detail-role-head-second {
  width: auto;
  min-width: 420px;
  padding: 0 24px;
  margin-top: 100px;
}
.career-detail-role-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 30px;
  border: 1px solid #fff;
  font-size: 18px;
  line-height: 1.4;
  border-radius: 999px;
  font-weight: 600;
}
.career-detail-role-text {
  font-size: 28px;
  line-height: 1.4;
}
.career-detail-list {
  margin: 0;
  background: #fff;
  border: 1px solid #dbe4ef;
  padding: 0 40px;
}
.career-detail-item {
  display: flex;
  padding: 34px 0;
  border-bottom: 1px solid #e5edf5;
}
.career-detail-item:last-child {
  border-bottom: none;
}
.career-detail-item dt {
  width: 220px;
  min-width: 220px;
  color: #06379f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
}
.career-detail-item dd {
  flex: 1;
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 2;
}
.career-detail-dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.career-detail-dot-list li {
  position: relative;
  padding-left: 1.2em;
}
.career-detail-dot-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #06379f;
  font-weight: 900;
}
.career-detail-dot-list li + li {
  margin-top: 4px;
}
@media (min-width: 769px) and (max-width: 1199px) {
  .career-detail {
    padding: 90px 0 100px;
  }
  .career-detail-title {
    font-size: 38px;
  }
  .career-detail-list {
    padding: 0 28px;
  }
  .career-detail-item {
    gap: 30px;
  }
  .career-detail-item dt {
    width: 180px;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .career-detail-role-head {
    width: 100%;
    min-height: 52px;
    font-size: 20px;
    scroll-margin-top: 60px;
  }
  .career-detail-subtitle {
    margin: 8px 0 0;
    font-size: 17px;
  }
  .career-detail {
    padding: 50px 0 60px;
  }
  .career-detail-head {
    margin-bottom: 34px;
  }
  .career-detail-title-wrap {
    margin-bottom: 22px;
  }
  .career-detail-tag {
    min-height: 30px;
    padding: 5px 12px;
    font-size: 12px;
  }
  .career-anchor-links {
    gap: 12px;
    margin-bottom: 40px;
    margin-top: 0;
  }
  .career-anchor-link {
    width: 100%;
    min-width: 100%;
    font-size: 15px;
    padding: 14px 16px;
  }
  .career-detail-title {
    font-size: 30px;
    line-height: 1.4;
  }
  .career-detail-lead {
    font-size: 15px;
    line-height: 1.9;
  }
  .career-detail-list {
    padding: 0 20px;
  }
  .career-detail-item {
    flex-direction: column;
    gap: 10px;
    padding: 22px 0;
  }
  .career-detail-role-head-second {
    min-width: 100%;
    padding: 12px 16px;
    gap: 10px;
    margin-top: 50px;
  }
  .career-detail-role-label {
    font-size: 14px;
    padding: 4px 10px;
  }
  .career-detail-role-text {
    font-size: 18px;
  }
  .career-detail-item dt {
    width: 100%;
    min-width: 100%;
    font-size: 15px;
  }
  .career-detail-item dd {
    font-size: 15px;
    line-height: 1.9;
  }
  .career-detail-actions {
    gap: 14px;
    margin-top: 34px;
  }
  .career-detail-entry, .career-detail-back {
    max-width: 100%;
    font-size: 15px;
    padding: 17px 14px;
  }
}
.career-flow {
  padding: 100px 0 120px;
  background: #fff;
}
.career-flow-head {
  margin-bottom: 34px;
}
.career-flow-header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.career-flow-header .section-heading {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.career-flow .section-main-title, .career-flow .section-sub-title {
  color: #06379f;
}
.career-flow-desc {
  margin: 0 0 0 auto;
  padding-top: 8px;
  font-size: 18px;
  line-height: 2;
  font-weight: 700;
  color: #222;
  overflow-wrap: anywhere;
}
.career-flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.career-flow-item {
  position: relative;
  padding: 30px 22px 24px;
  background: #f7f9fc;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.career-flow-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 12px;
  height: 12px;
  border-top: 3px solid #06379f;
  border-right: 3px solid #06379f;
  transform: translateY(-50%) rotate(45deg);
}
.career-flow-item:last-child::after {
  display: none;
}
.career-flow-num {
  margin-bottom: 18px;
  color: #06379f;
  font-family: 'Lato', sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}
.career-flow-illust {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.career-flow-illust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.career-flow-body h3 {
  margin: 0 0 10px;
  color: #06379f;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}
.career-flow-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 769px) and (max-width: 1199px) {
  .career-flow {
    padding: 46px 28px;
  }
  .career-flow-header {
    gap: 36px;
  }
  .career-flow-desc {
    font-size: 16px;
    line-height: 1.9;
  }
  .career-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .career-flow-item:nth-child(2)::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .career-flow {
    margin-top: 0;
    padding: 0 0 60px;
  }
  .career-flow-head {
    margin-bottom: 24px;
  }
  .career-flow-header {
    flex-direction: column;
    gap: 20px;
  }
  .career-flow-desc {
    margin: 0;
    padding-top: 0;
    font-size: 15px;
    line-height: 1.9;
  }
  .career-flow-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .career-flow-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    text-align: left;
  }
  .career-flow-item::after {
    top: auto;
    right: 50%;
    bottom: -17px;
    width: 10px;
    height: 10px;
    transform: translateX(50%) rotate(135deg);
  }
  .career-flow-num {
    flex: 0 0 auto;
    margin-bottom: 0;
    font-size: 34px;
  }
  .career-flow-illust {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .career-flow-body {
    flex: 1;
    min-width: 0;
  }
  .career-flow-body h3 {
    margin: 0 0 4px;
    font-size: 18px;
    text-align: left;
  }
  .career-flow-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
  }
}