@charset "UTF-8";
/* ==========================================================================
   採用情報 (/jobreq)。user/recruit/index.blade.php からだけ読み込む
   募集要項の表・代表メッセージは会社概要 (/company) と同じクラスを使っている
   ========================================================================== */

.ks_recruit {
  --ks-recruit-primary: var(--theme-color-primary-config-custom, #ff8000);
  --ks-recruit-pale: rgba(255, 128, 0, 0.1);
}

.ks_recruit > section {
  position: relative;
}

/* 各セクションの右上に線だけの大きな英字 (会社概要と同じ考え方) */
.ks_recruit > section.other_section,
.ks_recruit > section.ks_message_section {
  overflow: hidden;
}

.ks_recruit > section.other_section > .common_wrap,
.ks_recruit > section.ks_message_section > .common_wrap {
  position: relative;
  z-index: 1;
}

.ks_recruit > section.other_section::before,
.ks_recruit > section.ks_message_section::before {
  position: absolute;
  top: 40px;
  right: -0.04em;
  z-index: 0;
  font-size: min(180px, 13vw);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 128, 0, 0.28);
  pointer-events: none;
}

.ks_recruit > section.ks_message_section::before { content: "MESSAGE"; }
.ks_recruit > section.ks_recruit_appeal_section::before { content: "WHY"; }
.ks_recruit > section.ks_recruit_positions_section::before { content: "JOBS"; }
.ks_recruit > section.ks_recruit_members_section::before { content: "MEMBER"; }
.ks_recruit > section.ks_recruit_flow_section::before { content: "FLOW"; }
.ks_recruit > section.ks_recruit_entry_section::before { content: none; }

/* --- ボタン --------------------------------------------------------------- */

.ks_recruit_btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ks_recruit_btns.is_center {
  justify-content: center;
}

.ks_recruit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  padding: 0 32px;
  border: 2px solid var(--ks-recruit-primary);
  border-radius: 9999px;
  background-color: var(--ks-recruit-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}

.ks_recruit_btn:hover {
  opacity: 0.85;
}

.ks_recruit_btn.is_sub {
  background-color: #fff;
  color: var(--ks-recruit-primary);
}

.ks_recruit_btn.is_large {
  min-width: 280px;
  min-height: 64px;
  font-size: 18px;
}

/* --- ページ上部 ----------------------------------------------------------- */

.ks_recruit_hero {
  padding: 48px 0 80px;
  background-image: radial-gradient(rgba(255, 128, 0, 0.16) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.ks_recruit_hero_block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.ks_recruit_hero_block.is_no_image {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.ks_recruit_hero_block.is_no_image .ks_recruit_btns {
  justify-content: center;
}

.ks_recruit_hero_text .common_section_sub_title,
.ks_recruit_hero_text .common_section_title {
  text-align: inherit;
}

.ks_recruit_hero_catch {
  margin-top: 24px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--ks-recruit-primary);
}

.ks_recruit_hero_lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 2;
}

.ks_recruit_hero_img {
  position: relative;
}

.ks_recruit_hero_img img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.ks_recruit_hero_img::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border-radius: 20px;
  background-color: var(--ks-recruit-primary);
}

/* --- 働く魅力 ------------------------------------------------------------- */

.ks_recruit_appeal_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.ks_recruit_appeal_item {
  position: relative;
  padding: 28px 24px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.ks_recruit_appeal_img {
  margin: -28px -24px 20px;
}

.ks_recruit_appeal_img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.ks_recruit_appeal_num {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ks-recruit-primary);
}

.ks_recruit_appeal_title {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.ks_recruit_appeal_body {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
}

/* --- 募集要項 ------------------------------------------------------------- */

.ks_recruit_position_list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ks_recruit_position {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.ks_recruit_position_head {
  margin-bottom: 28px;
  text-align: center;
}

.ks_recruit_position_employment {
  display: inline-block;
  padding: 2px 14px;
  border: 1px solid var(--ks-recruit-primary);
  border-radius: 9999px;
  color: var(--ks-recruit-primary);
  font-size: 13px;
  font-weight: 700;
}

.ks_recruit_position_title {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
}

.ks_recruit_position_catch {
  margin-top: 8px;
  font-size: 15px;
  color: #555;
}

.ks_recruit_empty {
  text-align: center;
  font-size: 16px;
}

/* --- 一緒に働くメンバー --------------------------------------------------- */

.ks_recruit_member_list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  padding: 0;
  list-style: none;
}

.ks_recruit_member_link {
  display: block;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.ks_recruit_member_img {
  width: 140px;
  max-width: 100%;
  margin: 0 auto 12px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--ks-recruit-pale);
}

.ks_recruit_member_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ks_recruit_member_link:hover .ks_recruit_member_img img {
  transform: scale(1.05);
}

.ks_recruit_member_position {
  font-size: 12px;
  color: var(--ks-recruit-primary);
  font-weight: 700;
}

.ks_recruit_member_name {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
}

/* --- 選考の流れ ----------------------------------------------------------- */

.ks_recruit_flow_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.ks_recruit_flow_item {
  position: relative;
  padding: 24px 20px;
  border-top: 4px solid var(--ks-recruit-primary);
  border-radius: 0 0 12px 12px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

/* 次の STEP への矢印 */
.ks_recruit_flow_item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--ks-recruit-primary);
  border-right: 3px solid var(--ks-recruit-primary);
  transform: translateY(-50%) rotate(45deg);
}

.ks_recruit_flow_step {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--ks-recruit-primary);
}

.ks_recruit_flow_title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
}

.ks_recruit_flow_body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
}

/* --- 応募 ----------------------------------------------------------------- */

.ks_recruit_entry {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: 24px;
  background-color: var(--ks-recruit-pale);
  text-align: center;
}

.ks_recruit_entry_body {
  font-size: 16px;
  line-height: 2;
}

.ks_recruit_entry_ways {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 48px;
  margin-top: 32px;
}

.ks_recruit_entry_tel_label {
  font-size: 14px;
  font-weight: 700;
}

.ks_recruit_entry_tel_num {
  display: inline-block;
  margin-top: 4px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ks-recruit-primary);
  text-decoration: none;
}

.ks_recruit_entry_tel_note {
  font-size: 13px;
  color: #555;
}

.ks_recruit_entry_privacy {
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}

.ks_recruit_entry_privacy a {
  color: var(--ks-recruit-primary);
  text-decoration: underline;
}

/* --- スマホ --------------------------------------------------------------- */

@media only screen and (max-width: 960px) {
  .ks_recruit_hero_block {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .ks_recruit_member_list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ks_recruit_flow_list {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* 縦並びのときは矢印を下向きに */
  .ks_recruit_flow_item:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media only screen and (max-width: 640px) {
  .ks_recruit > section.other_section::before,
  .ks_recruit > section.ks_message_section::before {
    top: 24px;
  }

  .ks_recruit_hero {
    padding: 24px 0 56px;
  }

  .ks_recruit_hero_catch {
    font-size: 22px;
  }

  .ks_recruit_hero_lead,
  .ks_recruit_entry_body {
    font-size: 15px;
  }

  .ks_recruit_hero_img::before {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
  }

  .ks_recruit_btn {
    width: 100%;
    min-width: 0;
  }

  .ks_recruit_position {
    padding: 28px 16px;
  }

  .ks_recruit_position_title {
    font-size: 20px;
  }

  .ks_recruit_member_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks_recruit_entry {
    padding: 40px 20px;
  }

  .ks_recruit_entry_ways {
    flex-direction: column;
  }

  .ks_recruit_entry_tel_num {
    font-size: 28px;
  }
}
