@charset "UTF-8";
@import url("page.css");

/* ===== 採用情報：page-kv直下（TOPのrecruit__layout準拠） ===== */
.recruit-intro {
  padding: 40px 0 60px;
}

.recruit__panel {
  background: transparent;
  border-radius: 30px;
  padding: 40px 62px;
}

.recruit__layout {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 530px) 1fr;
  align-items: center;
  max-width: 1430px;
  margin: 0 auto;
}

.recruit__side {
  display: grid;
  gap: 48px;
  justify-items: center;
}

.recruit__side--left {
  justify-items: start;
}

.recruit__side--right {
  justify-items: end;
}

.recruit__photo {
  width: 100%;
  max-width: 270px;
  border-radius: 22px;
  overflow: hidden;
  background: #d8dfe6;
  aspect-ratio: 1.28 / 1;
}

.recruit__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit__photo--small {
  max-width: 210px;
  aspect-ratio: 1.3 / 1;
}

.recruit__photo--01 {
  margin-left: 8.5vw;
  display: block;
  width: 65.9%;
  max-width: 262px;
  aspect-ratio: 1.22 / 1;
}

.recruit__photo--02 {
  width: 92.3%;
  max-width: 367px;
  aspect-ratio: 1.28 / 1;
}

.recruit__photo--03 {
  width: 93.3%;
  max-width: 371px;
  aspect-ratio: 1.26 / 1;
}

.recruit__photo--04 {
  margin-right: 4.375vw;
  display: block;
  width: 57.8%;
  max-width: 230px;
  aspect-ratio: 1.24 / 1;
}

.recruit__center {
  text-align: center;
}

.recruit__title {
  margin: 0.78125em 0 0;
  font-size: clamp(2rem, 0.702rem + 0.1202vw, 2.625rem);
  line-height: 1.95;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.recruit__copy {
  margin: 2em 0 0;
  font-size: 1.125rem;
  line-height: 2.5;
  color: #1f2734;
}

@media (max-width: 1080px) {
  .recruit__panel {
    padding: 20px 62px;
  }

  .recruit__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recruit__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .recruit__side--left,
  .recruit__side--right {
    justify-items: stretch;
    gap: 5%;
  }

  .recruit__photo,
  .recruit__photo--small {
    max-width: none;
  }

  .recruit__photo {
    border-radius: 18px;
  }

  .recruit__photo--01 {
    width: 75%;
    margin-left: 6vw;
  }

  .recruit__photo--02 {
    width: 100%;
  }

  .recruit__photo--03 {
    width: 75%;
    margin-left: 6vw;
    order: 2;
  }

  .recruit__photo--04 {
    width: 100%;
    order: 1;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .recruit-intro {
    padding: 20px 0 30px;
  }

  .recruit__panel {
    padding: 20px 16px;
  }

  .recruit__title {
    margin-top: 10px;
    font-size: 1.325rem;
  }

  .recruit__copy {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.9;
  }
}

/* ===== 採用情報：スタッフ紹介（TOPのstaff__panel準拠 + CTA追加） ===== */
.staff {
  padding: 22px 0 80px;
}

.staff__panel {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px;
}

.staff__en {
  margin: 0;
  text-align: center;
  color: #f57f31;
  font-size: clamp(1rem, 0.556rem + 0.69vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.staff__title {
  margin: 0.2em 0 1em;
  text-align: center;
  font-size: clamp(2.125rem, 1.236rem + 1.39vw, 2.625rem);
  font-weight: 500;
  line-height: 1.3;
}

.staff__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.staff__grid::-webkit-scrollbar {
  display: none;
}

.staff-card {
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.staff-card__inner {
  display: block;
  text-align: center;
}

.staff-card__photo {
  border-radius: 24px;
  overflow: hidden;
  background: #d8dfe6;
  aspect-ratio: 0.9 / 1;
  margin-bottom: 14px;
}

.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease;
}

.staff-card__copy {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.85;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 220ms ease;
}

.staff-card__name {
  margin: 8px 0 0;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 220ms ease;
}

.staff-card__inner:hover .staff-card__photo img,
.staff-card__inner:focus-visible .staff-card__photo img {
  transform: scale(1.1);
}

.staff-card__inner:hover .staff-card__copy,
.staff-card__inner:hover .staff-card__name,
.staff-card__inner:focus-visible .staff-card__copy,
.staff-card__inner:focus-visible .staff-card__name {
  color: var(--color-primary-deep);
}

.staff-card__role {
  font-size: 0.85em;
  line-height: 1.45;
}

.staff__arrow-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.staff__arrow {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  color: var(--color-primary-deep);
  background: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.staff__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.staff__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 324px;
  min-width: 270px;
  padding: 23px 38px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  background: var(--color-primary-deep);
  color: var(--color-surface);
  font-weight: 500;
  font-size: 1.125rem;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.staff__cta:hover,
.staff__cta:focus-visible {
  background: var(--color-surface);
  color: var(--color-primary-deep);
}

@media (max-width: 768px) {
  .staff {
    padding: 14px 0 30px;
  }

  .staff__panel {
    border-radius: 22px;
    padding: 26px 18px 24px;
  }

  .staff__title {
    margin-bottom: 18px;
    font-size: 2rem;
  }

  .staff__grid {
    max-width: 330px;
    margin: 0 auto;
    gap: 14px;
    padding-bottom: 6px;
  }

  .staff-card {
    flex: 0 0 auto;
    max-width: 100%;
    scroll-snap-align: start;
  }

  .staff-card__inner {
    width: 100%;
    max-width: 100%;
  }

  .staff-card__copy {
    font-size: 1.1rem;
  }

  .staff-card__role {
    font-size: 0.9em;
  }

  .staff__arrow-group {
    margin-top: 18px;
  }

  .staff__arrow {
    width: 50px;
    height: 50px;
  }

  .staff__cta-wrap {
    margin-top: 22px;
  }
}

/* ===== 採用情報：募集要項（タブ + テーブル） ===== */
.job {
  padding: 20px 0 80px;
}

.job__panel {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0 0;
}

.job__en {
  margin: 0;
  text-align: center;
  color: #f57f31;
  font-size: clamp(1rem, 0.556rem + 0.69vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.job__title {
  margin: 0.2em 0 1.2em;
  text-align: center;
  font-size: clamp(2.125rem, 1.236rem + 1.39vw, 2.625rem);
  font-weight: 500;
  line-height: 1.3;
}

.job-tabs {
  margin-top: 10px;
}

.job-tabs__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: end;
}

.job-tabs__tab {
  position: relative;
  appearance: none;
  border: 1px solid var(--color-primary-deep);
  background: #fff;
  color: var(--color-primary-deep);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 18px 16px;
  border-radius: 14px 14px 0 0;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.job-tabs__tab + .job-tabs__tab {
  border-left: 0;
}

.job-tabs__tab.is-active {
  background: var(--color-primary-deep);
  color: #fff;
}

.job-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid var(--color-primary-deep);
}

.job-tabs__tab:focus-visible {
  outline: 3px solid rgba(58, 160, 216, 0.35);
  outline-offset: 2px;
}

.job-tabs__panels {
  border-top: 0;
  padding-top: 26px;
}

.job-table__table {
  width: 100%;
  position: relative;
  border-collapse: separate;
  border-spacing: 0;
}

.job-table__table::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, var(--color-brand-border) 1.5px, transparent 1.5px);
  background-size: 9px 2px;
  background-repeat: repeat-x;
  z-index: 2;
  pointer-events: none;
}

.job-table__table tr {
  position: relative;
}

.job-table__table tr::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, var(--color-brand-border) 1.5px, transparent 1.5px);
  background-size: 9px 2px;
  background-repeat: repeat-x;
  z-index: 3;
  pointer-events: none;
}

.job-table__table th,
.job-table__table td {
  position: relative;
  z-index: 1;
  padding: 22px 26px;
  vertical-align: top;
  font-size: 1rem;
  line-height: 2.1;
}

.job-table__table th {
  width: 210px;
  background: #E8F5FA;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.job-table__table td {
  background: #fff;
  color: rgba(31, 39, 52, 0.92);
}

.job-table__notes,
.job-table__list {
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.job-table__notes {
  font-size: 0.9em;
  color: rgba(31, 39, 52, 0.78);
}

.job-table__notes li + li,
.job-table__list li + li {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .job {
    padding: 10px 0 40px;
  }

  .job__panel {
    max-width: 100%;
    padding: 10px 0 0;
  }

  .job-tabs__tab {
    padding: 14px 10px;
    font-size: 0.95rem;
  }

  .job-tabs__tab.is-active::after {
    bottom: -10px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 12px;
  }

  .job-tabs__panels {
    padding-top: 18px;
  }

  .job-table__table th,
  .job-table__table td {
    padding: 16px 14px;
    font-size: 0.95rem;
  }

  .job-table__table th {
    width: 9.5em;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .job-table__table,
  .job-table__table tbody,
  .job-table__table tr,
  .job-table__table th,
  .job-table__table td {
    display: block;
    width: 100%;
  }

  .job-table__table th {
    width: 100% !important;
    padding: 12px 14px 6px;
  }

  .job-table__table td {
    padding: 0 14px 16px;
  }

  .job-table__table tr::before {
    left: 0;
    right: 0;
    width: 100%;
  }
}

/* ===== 採用情報：採用選考の流れ（事業案内 flow 準拠） ===== */
.selection-flow {
  --flow-gap: 46px;
  --flow-icon: 152px;
  padding: clamp(70px, 7vw, 120px) 0;
}

@media (max-width: 1080px) {
  .selection-flow {
    --flow-icon: clamp(76px, 14.1vw, 152px);
  }
}

.selection-flow__head {
  text-align: center;
  margin-bottom: clamp(26px, 3.2vw, 46px);
}

.selection-flow__heading {
  margin: 0 0 10px;
  font-size: clamp(0.875rem, 0.78rem + 0.3vw, 1.125rem);
  font-weight: 400;
  color: #E89E6D;
  letter-spacing: 0.08em;
}

.selection-flow__title {
  margin: 0;
  font-size: clamp(1.75rem, 1.15rem + 1.6vw, 2.625rem);
  font-weight: 500;
  line-height: 1.25;
}

.selection-flow__steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(860px, 100%);
  display: grid;
  gap: var(--flow-gap);
}

.selection-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: var(--flow-icon) 1fr;
  column-gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.selection-flow-step::before {
  content: "";
  position: absolute;
  left: calc((var(--flow-icon) / 2) - 1px);
  top: calc(var(--flow-icon) / 2);
  width: 2px;
  height: calc(100% + var(--flow-gap) + (var(--flow-icon) / 2));
  background: var(--color-brand-border);
  z-index: 0;
}

.selection-flow-step:last-child::before {
  display: none;
}

.selection-flow-step__icon {
  position: relative;
  z-index: 1;
  width: var(--flow-icon);
  max-width: 152px;
  justify-self: end;
}

.selection-flow-step__icon img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.selection-flow-step__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin: 0 0 16px;
}

.selection-flow-step__label {
  margin: 0;
  display: grid;
  justify-items: start;
  gap: 2px;
  font-weight: 700;
  color: #276BAD;
}

.selection-flow-step__label-prefix {
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.selection-flow-step__label-num {
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.875rem);
  line-height: 1;
  letter-spacing: 0.08em;
}

.selection-flow-step__name {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 700;
}

.selection-flow-step__text {
  margin: 0;
  line-height: 2.1;
  font-weight: 500;
}

@media (max-width: 768px) {
  .selection-flow {
    --flow-icon: clamp(64px, 16vw, 100px);
    padding: 28px 0 60px;
  }

  .selection-flow-step {
    column-gap: 16px;
    align-items: start;
  }

  .selection-flow-step__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .selection-flow-step__name {
    font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  .selection-flow {
    --flow-icon: 56px;
  }

  .selection-flow-step {
    column-gap: 12px;
  }
}

/* ===== 採用情報：ENTRY CTA ===== */
.entry {
  padding: 10px 0 90px;
}

.entry__panel {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.entry__cta-area {
  position: relative;
  display: grid;
  place-items: center;
  padding-top: 28px;
}

.entry__en {
  position: absolute;
  left: 50%;
  top: -0.2em;
  transform: translateX(-50%);
  margin: 0;
  font-size: clamp(4.6rem, 2.2rem + 6vw, 7.2rem);
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 2px var(--color-brand-border);
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 2;
}

.entry__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(560px, 92%);
  height: auto;
  aspect-ratio: 560 / 162;
  padding: clamp(18px, 6vw, 44px) 18px;
  border-radius: 999px;
  background: var(--color-primary-deep);
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 2.125rem);
  letter-spacing: 0.12em;
  box-shadow: none;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.entry__cta:hover,
.entry__cta:focus-visible {
  background: #fff;
  color: var(--color-primary-deep);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary-deep) inset;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 2.125rem);
  aspect-ratio: 560 / 162;
}

@media (max-width: 768px) {
  .entry {
    padding: 10px 0 60px;
  }

  .entry__cta-area {
    padding-top: 22px;
  }

  .entry__en {
    -webkit-text-stroke-width: 1.5px;
    font-size: clamp(3.4rem, 2.2rem + 6vw, 5.1rem);
  }

  .entry__cta {
    width: min(560px, calc(100% - 24px));
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 2.125rem);
  }
}
