@charset "UTF-8";

/* ==========================================================================
   採用情報
   ========================================================================== */

.page_recruit .site-main {
  text-align: left;
  font-family: var(--ff-jp);
}

.page_recruit .site-main img {
  display: block;
}

/* 共通見出し */
.rec_ttl {
  font-family: var(--ff-jp);
  font-size: 40px;
  font-weight: 500;
  line-height: 75px;
  letter-spacing: 0.05em;
  color: var(--c-black);
}

.rec_ttl_en_main {
  display: block;
  font-family: var(--ff-en);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.21;
}

.rec_ttl_en_sub {
  display: block;
  margin-top: 9px;
  font-family: var(--ff-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* 本文共通 */
.rec_message_txt,
.rec_person_item p,
.rec_request_txt,
.rec_work_item p,
.voice_a {
  font-size: 16px;
  line-height: 30.6px;
  letter-spacing: 0.05em;
}


/* FV
--------------------------------------------- */

.rec_fv {
  display: flex;
  align-items: center;
  padding: 50px 0;
}

.rec_fv_head {
  flex: 1;
  min-width: 0;
  padding: 50px min(104px, 7.22vw) 0;
}

.rec_fv_ttl {
  font-family: var(--ff-en);
  font-weight: 600;
  line-height: 1.21;
  color: #313437;
}

.rec_fv_sub {
  display: block;
  font-size: min(25px, 1.74vw);
}

.rec_fv_en {
  display: block;
  margin-top: 7px;
  font-size: min(71.4px, 4.96vw);
  letter-spacing: 0.05em;
}

.rec_fv_jp {
  display: block;
  margin-top: 7px;
  font-family: var(--ff-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.rec_fv_img {
  flex-shrink: 0;
  width: 57.64%;
}

/* ページ内リンク */
.rec_fv_nav ol {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 40px;
}

.rec_fv_nav a,
.rec_fv_nav a:visited {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  font-family: var(--ff-jp);
  font-size: 17px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0.05em;
  color: #000;
  transition: opacity 0.3s;
}

.rec_fv_nav a:hover {
  opacity: 0.6;
  color: #000;
}

.rec_fv_nav_num {
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #afafaf;
}

.rec_fv_img img {
  width: 100%;
  aspect-ratio: 830 / 604;
  object-fit: cover;
}


/* メッセージ
--------------------------------------------- */

.rec_message {
  padding-top: 130px;
}

.rec_message_inr {
  display: flex;
  align-items: flex-start;
  gap: 8.64%;
  max-width: 1100px;
}

.rec_message_img {
  flex-shrink: 0;
  width: 48.45%;
}

.rec_message_img img {
  width: 100%;
  aspect-ratio: 533 / 300;
  object-fit: cover;
}

.rec_message_txtbox {
  flex: 1;
  min-width: 0;
}

.rec_message .rec_ttl {
  line-height: 1.45;
  color: #313437;
}

.rec_message_txt {
  margin-top: 21px;
  text-align: justify;
}

.rec_message_sign {
  margin-top: 21px;
  font-size: 16px;
  line-height: 30.6px;
  letter-spacing: 0.05em;
  text-align: right;
}


/* 求める人物像
--------------------------------------------- */

.rec_person {
  padding: 80px 0 90px;
}

.rec_person_inr {
  max-width: 1100px;
}

.rec_person_body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 660px);
  gap: 30px;
  margin-top: 64px;
}

.rec_person_ilst {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 37px;
}

.rec_person_ilst img:last-child {
  margin-top: 3px;
}

.rec_person_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 626px;
}

.rec_person_item h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30.6px;
  letter-spacing: 0.05em;
}

.rec_person_item p {
  margin-top: 15px;
  text-align: justify;
}


/* 応募前にお願いしたいこと
--------------------------------------------- */

.rec_request {
  padding: 128px 0;
  background-color: #ece9df;
}

.rec_request_inr {
  max-width: 1100px;
}

.rec_request_list {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 75px;
}

.rec_request_item {
  display: flex;
  align-items: flex-start;
  gap: 4.55%;
}

.rec_request_item--rev {
  flex-direction: row-reverse;
  gap: 5.64%;
}

.rec_request_img {
  flex-shrink: 0;
  width: 42.91%;
}

.rec_request_img img {
  width: 100%;
  aspect-ratio: 472 / 354;
  object-fit: cover;
}

.rec_request_txtbox {
  flex: 1;
  min-width: 0;
  padding-top: 20px;
}

.rec_request_txtbox h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: 0.05em;
}

.rec_request_txt {
  margin-top: 22px;
}

.rec_request_item--rev .rec_request_txt {
  margin-top: 18px;
}

.rec_request_txt ul {
  padding-left: 24px;
  list-style: disc;
}

.rec_request_txt li {
  padding-left: 0.3em;
}


/* WORK
--------------------------------------------- */

.rec_work {
  padding: 120px 0;
}

.rec_work_inr {
  max-width: 1102px;
}

.rec_work_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 62px;
}

.rec_work_img img {
  width: 100%;
  aspect-ratio: 346 / 259;
  object-fit: cover;
}

.rec_work_item h3 {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: 0.05em;
}

.rec_work_item p {
  margin-top: 8px;
}


/* 写真
--------------------------------------------- */

/* パララックス：枠より縦に30%大きい画像をJSで上下に動かす（js/recruit.js） */
.rec_pic {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1440 / 586;
}

.page_recruit .rec_pic img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}


/* STAFF VOICE（カスタム投稿：staff_voice）
--------------------------------------------- */

.rec_voice {
  padding: 137px 0;
  background-color: #313437;
  color: #fff;
}

.rec_voice_inr {
  max-width: 1100px;
}

.voice_list {
  display: flex;
  flex-direction: column;
  gap: 152px;
  margin-top: 116px;
}

.voice_item {
  display: flex;
  align-items: flex-start;
  gap: 6.36%;
}

/* 偶数番目は写真を右に */
.voice_item:nth-child(even) {
  flex-direction: row-reverse;
}

.voice_img {
  flex-shrink: 0;
  width: 39.09%;
}

.voice_img img {
  width: 100%;
  aspect-ratio: 430 / 573;
  object-fit: cover;
}

.voice_body {
  flex: 1;
  min-width: 0;
  max-width: 600px;
}

.voice_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 19px;
}

.voice_pos {
  padding: 0 13px 2px;
  background-color: #fff;
  font-family: var(--ff-jp);
  font-size: 30px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: 0.1em;
  color: #313437;
}

.voice_name {
  font-family: var(--ff-jp);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.voice_year {
  font-size: 16px;
  line-height: 30.6px;
  letter-spacing: 0.05em;
}

.voice_qalist {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 42px;
}

.voice_q {
  font-family: var(--ff-jp);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.voice_a {
  margin-top: 16px;
}


/* 募集要項（カスタム投稿：job）
--------------------------------------------- */

.rec_job {
  padding: 140px 0;
}

.rec_job_inr {
  display: flex;
  align-items: flex-start;
  gap: 5.27%;
  max-width: 1100px;
}

.rec_job_head {
  flex-shrink: 0;
  width: 34.36%;
}

.job_row dd a,
.job_row dd a:visited {
  text-decoration: underline;
  color: inherit;
  word-break: break-all;
}

.job_row dd a:hover {
  text-decoration: none;
  color: inherit;
}

.job_list {
  display: flex;
  flex-direction: column;
  gap: 57px;
  flex: 1;
  min-width: 0;
  max-width: 660px;
}

/* 新卒採用・一般採用 */
.job_group {
  display: flex;
  flex-direction: column;
  gap: 57px;
}

.job_group_ttl {
  font-family: var(--ff-jp);
  font-size: 40px;
  font-weight: 500;
  line-height: 75px;
  letter-spacing: 0.05em;
  color: #000;
}

.job_group_body {
  display: flex;
  flex-direction: column;
  gap: 57px;
}

.job_group_body > .job_dl {
  margin-top: 0;
}

/* 見出しのボタン：開閉はスマホのみ。PC では普通の見出しとして表示 */
.job_group_btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  color: inherit;
  pointer-events: none;
}

.job_group_ico {
  display: none;
}

.job_ttl {
  font-family: var(--ff-jp);
  font-size: 24px;
  font-weight: 700;
  color: #313437;
}

.job_dl {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 37px;
}

.job_row {
  display: flex;
  gap: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9d9d9;
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 28.32px;
  letter-spacing: 0.1em;
}

.job_row dt {
  flex-shrink: 0;
  width: 94px;
  font-weight: 400;
}

.job_row dd {
  flex: 1;
  min-width: 0;
}


/* 求人ページ（single-job.php）
--------------------------------------------- */

.rec_job--single {
  padding: 60px 0 140px;
}

.job_single_cat {
  font-family: var(--ff-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #313437;
}

.job_single_ttl {
  margin-top: 8px;
  font-family: var(--ff-jp);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--c-black);
}

.job_single_end {
  margin-bottom: 24px;
  font-family: var(--ff-jp);
  font-size: 16px;
  font-weight: 700;
}

.rec_job--single .job_dl {
  margin-top: 0;
}

.job_single_more {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 60px;
}

/* 写真（見出しの下） */
.job_single_img {
  margin-top: 40px;
}

.job_single_img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ABOUT（会社紹介） */
.job_about {
  padding: 120px 0;
  background-color: #ece9df; /* 採用ページの「応募前にお願いしたいこと」と同じ */
}

.job_about_inr {
  display: flex;
  align-items: flex-start;
  gap: 5.27%;
  max-width: 1100px;
}

.job_about .rec_ttl_en {
  flex-shrink: 0;
  width: 34.36%;
}

.job_about_body {
  flex: 1;
  min-width: 0;
  max-width: 660px;
}

.job_about_catch {
  font-family: var(--ff-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--c-black);
}

.job_about_txt {
  margin-top: 20px;
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 30.6px;
  letter-spacing: 0.05em;
}

.job_about_more {
  margin-top: 40px;
}

/* ほかの募集要項 */
.job_other {
  padding: 0 0 140px;
}

.job_other_inr {
  max-width: 1100px;
}

.job_other_list {
  margin-top: 50px;
  border-top: 1px solid #d9d9d9;
  list-style: none;
}

.job_other_list li {
  border-bottom: 1px solid #d9d9d9;
}

.job_other_link,
.job_other_link:visited {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 50px 24px 0;
  font-family: var(--ff-jp);
  color: var(--c-black);
  text-decoration: none;
}

/* 右端の矢印 */
.job_other_link::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-color: currentColor;
  -webkit-mask: url(../img/common/ico_common_chevron.svg) no-repeat center / contain;
  mask: url(../img/common/ico_common_chevron.svg) no-repeat center / contain;
  transition: right 0.3s;
}

.job_other_link:hover::after {
  right: 0;
}

.job_other_cat {
  flex-shrink: 0;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #6b6b6b;
}

.job_other_ttl {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}


/* タブレット
--------------------------------------------- */

@media screen and (max-width: 1100px) {
  .rec_ttl {
    font-size: 34px;
    line-height: 1.6;
  }

  .rec_person_body {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  }

  /* 2人の幅は PC と同じ比率（144:125） */
  .rec_person_ilst img {
    width: 40%;
    height: auto;
  }

  .rec_person_ilst img:last-child {
    width: 34.72%;
  }
}


/* スマートフォン
--------------------------------------------- */

@media screen and (max-width: 640px) {
  .rec_ttl {
    font-size: 26px;
    line-height: 1.6;
  }

  .rec_ttl_en_main {
    font-size: 40px;
  }

  .rec_ttl_en_sub {
    margin-top: 4px;
    font-size: 14px;
  }

  .rec_message_txt,
  .rec_person_item p,
  .rec_request_txt,
  .rec_work_item p,
  .voice_a {
    font-size: 15px;
    line-height: 1.9;
  }

  /* 左右の余白：このページは 30px（共通は 20px） */
  .page_recruit .rec_message_inr,
  .page_recruit .rec_person_inr,
  .page_recruit .rec_request_inr,
  .page_recruit .rec_work_inr,
  .page_recruit .rec_voice_inr,
  .page_recruit .rec_job_inr,
  .page_recruit .job_about_inr,
  .page_recruit .job_other_inr {
    width: calc(100vw - 60px);
  }

  /* FV：見出し → メイン画像 → ページ内リンクの順 */
  .rec_fv {
    flex-direction: column;
    align-items: stretch;
    padding: 30px 0 0;
  }

  .rec_fv_head {
    display: contents;
  }

  .rec_fv_ttl,
  .rec_fv_nav {
    width: calc(100vw - 60px);
    margin: 0 auto;
  }

  .rec_fv_ttl {
    order: 1;
    padding-top: 20px;
  }

  .rec_fv_img {
    order: 2;
    margin-top: 30px;
  }

  .rec_fv_nav {
    order: 3;
    margin-top: 30px;
  }

  /* 2列のボタン（1px グレーの枠） */
  .rec_fv_nav ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .rec_fv_nav li {
    display: flex;
  }

  .rec_fv_nav a,
  .rec_fv_nav a:visited {
    display: flex;
    width: 100%;
    gap: 8px;
    padding: 10px 10px;
    border: 1px solid #afafaf;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.02em;
  }

  .rec_fv_nav_num {
    flex-shrink: 0;
    font-size: 15px;
  }

  .rec_fv_sub {
    font-size: 15px;
  }

  .rec_fv_en {
    margin-top: 4px;
    font-size: 48px;
  }

  .rec_fv_jp {
    margin-top: 4px;
    font-size: 14px;
  }

  .rec_fv_img {
    width: 100%;
  }

  /* メッセージ */
  .rec_message {
    padding-top: 60px;
  }

  .rec_message_inr {
    flex-direction: column;
    gap: 28px;
  }

  .rec_message_img {
    width: 100%;
  }

  .rec_message_txt {
    margin-top: 14px;
  }

  /* 求める人物像 */
  .rec_person {
    padding: 60px 0;
  }

  .rec_person_body {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 30px;
  }

  .rec_person_ilst {
    gap: 6%;
  }

  /* 2人の幅は PC と同じ比率（144:125） */
  .rec_person_ilst img {
    width: 25%;
    height: auto;
  }

  .rec_person_ilst img:last-child {
    width: 21.7%;
  }

  .rec_person_list {
    gap: 30px;
  }

  .rec_person_item h3 {
    font-size: 20px;
  }

  .rec_person_item p {
    margin-top: 10px;
  }

  /* 応募前にお願いしたいこと */
  .rec_request {
    padding: 60px 0;
  }

  .rec_request_list {
    gap: 50px;
    margin-top: 30px;
  }

  .rec_request_item,
  .rec_request_item--rev {
    flex-direction: column;
    gap: 0;
  }

  .rec_request_img {
    width: 100%;
  }

  .rec_request_txtbox {
    padding-top: 20px;
  }

  .rec_request_txtbox h3 {
    font-size: 22px;
    line-height: 1.6;
  }

  .rec_request_txt,
  .rec_request_item--rev .rec_request_txt {
    margin-top: 12px;
  }

  /* WORK */
  .rec_work {
    padding: 60px 0;
  }

  .rec_work_list {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }

  .rec_work_item h3 {
    margin-top: 12px;
    font-size: 20px;
    line-height: 1.6;
  }

  /* 写真 */
  .rec_pic {
    aspect-ratio: 402 / 220;
  }

  /* STAFF VOICE */
  .rec_voice {
    padding: 60px 0;
  }

  .voice_list {
    gap: 60px;
    margin-top: 36px;
  }

  .voice_item,
  .voice_item:nth-child(even) {
    flex-direction: column;
    gap: 24px;
  }

  .voice_img {
    width: 75%;
  }

  .voice_pos,
  .voice_name {
    font-size: 20px;
    line-height: 34px;
  }

  .voice_qalist {
    gap: 24px;
    margin-top: 24px;
  }

  .voice_q {
    font-size: 18px;
  }

  .voice_a {
    margin-top: 8px;
  }

  /* 募集要項 */
  .rec_job {
    padding: 60px 0;
  }

  .rec_job_inr {
    flex-direction: column;
    gap: 30px;
  }

  .rec_job_head {
    width: 100%;
  }

  .job_list,
  .job_group {
    gap: 30px;
  }

  .job_group_ttl {
    font-size: 24px;
    line-height: 1.6;
  }

  /* 新卒採用・一般採用を開閉 */
  .job_group_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #313437;
    cursor: pointer;
    pointer-events: auto;
  }

  .job_group_btn:focus-visible {
    outline: 2px solid #313437;
    outline-offset: 2px;
  }

  /* ＋ → − アイコン */
  .job_group_ico {
    display: block;
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
  }

  .job_group_ico::before,
  .job_group_ico::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background-color: #313437;
    transition: transform 0.3s;
  }

  .job_group_ico::after {
    transform: rotate(90deg);
  }

  .job_group_btn[aria-expanded="true"] .job_group_ico::after {
    transform: rotate(0);
  }

  .job_list,
  .job_group {
    gap: 0;
  }

  .job_list {
    width: 100%;
  }

  .job_group_body {
    gap: 30px;
    padding: 24px 0 36px;
  }

  .job_group_body[hidden] {
    display: none;
  }

  .job_ttl {
    font-size: 18px;
    line-height: 1.5;
  }

  .job_dl {
    gap: 12px;
    margin-top: 20px;
  }

  .job_row {
    flex-direction: column;
    gap: 2px;
    padding-bottom: 12px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
  }

  .job_row dt {
    width: auto;
    font-weight: 700;
  }

  /* 求人ページ */
  .rec_job--single {
    padding: 30px 0 60px;
  }

  .job_single_cat {
    font-size: 14px;
  }

  .job_single_ttl {
    font-size: 22px;
  }

  .job_single_more {
    margin-top: 40px;
  }

  .job_single_img {
    margin-top: 24px;
  }

  .job_about {
    padding: 60px 0;
  }

  .job_about_inr {
    flex-direction: column;
    gap: 30px;
  }

  .job_about .rec_ttl_en {
    width: 100%;
  }

  .job_about_catch {
    font-size: 18px;
  }

  .job_about_txt {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.9;
  }

  .job_about_more {
    margin-top: 30px;
  }

  .job_other {
    padding: 0 0 60px;
  }

  .job_other_list {
    margin-top: 30px;
  }

  .job_other_link,
  .job_other_link:visited {
    flex-direction: column;
    gap: 4px;
    padding: 18px 40px 18px 0;
  }

  .job_other_cat {
    font-size: 12px;
  }

  .job_other_ttl {
    font-size: 15px;
  }
}
