@charset "UTF-8";

.career_box {
  margin-top: 80px;
  padding-bottom: 100px;
}
@media screen and (width >= 1025px) {
  .career_box {
    margin-top: 200px;
    padding-bottom: 200px;
  }
}

.p-parttime-message .p-parttime-message__lead {
  font-size: clamp(24px,calc(24px + (22) * ((100vw - 375px) / (1025))), 42px);
  font-weight: 600;
  margin-top: 30px;
}
@media screen and (width >= 1025px) {
  .p-parttime-message .p-parttime-message__lead {
    margin-top: 66px;
  }
}

.new_box {
  padding-bottom: 60px !important;
}

.p-parttime-work .p-parttime-work__list li .p-parttime-work__ttl {
    font-size: clamp(20px, calc(20px + (10) * ((100vw - 375px) / (1025))), 24px);
}

.p-parttime-merit .p-parttime-merit__about li .p-parttime-merit__about-ttl {
    font-size: clamp(20px, calc(20px + (10) * ((100vw - 375px) / (1025))), 24px);
}
/* ==========================================================================
   選考フロー (.p-parttime-flow)
   ========================================================================== */
.p-parttime-flow {
  padding: 80px 0;
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow {
    padding: 120px 0;
  }
}

/*.p-parttime-flow__inner {
  margin-top: 40px;
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow__inner {
    margin-top: 60px;
  }
}*/

/* 上段 4カラムリスト */
.p-parttime-flow__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow__list {
    flex-wrap: nowrap;
    gap: 30px;
  }
}

/* 各ステップのカード */
.p-parttime-flow__item {
  background: #fff;
  border: 4px solid #D40000;
  padding: 30px 15px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 769px) {
  .p-parttime-flow__item {
    width: calc(50% - 10px);
  }
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow__item {
    width: calc(25% - 22.5px);
    padding: 40px 20px;
  }
}

/* STEP ナンバー部分 */
.p-parttime-flow__step {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #000;
}
.p-parttime-flow__step .step-txt {
  font-size: clamp(12px,calc(12px + (2) * ((100vw - 375px) / (1025))), 14px);
  font-weight: 800;
  font-family: "Inter", sans-serif;
}
.p-parttime-flow__step .step-num {
  font-size: clamp(32px,calc(32px + (16) * ((100vw - 375px) / (1025))), 48px);
  font-weight: 800;
  font-family: "Inter", sans-serif;
  margin-top: 4px;
}

/* 見出し (エントリー、説明会参加など) */
.p-parttime-flow__item-ttl {
  color: #D40000;
  font-size: clamp(18px,calc(18px + (4) * ((100vw - 375px) / (1025))), 22px);
  font-weight: bold;
  line-height: 1.4;
  min-height: 3em; /* 2行になるタイトルと高さを揃えるため */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow__item-ttl {
    min-height: 3.5em;
  }
}
.p-parttime-flow__item-ttl .small {
  font-size: clamp(12px,calc(12px + (2) * ((100vw - 375px) / (1025))), 14px);
  display: block;
  margin-top: 4px;
}

/* イラスト画像エリア */
.p-parttime-flow__item-img {
  margin: 20px 0;
  height: 80px; /* 画像の高さを揃えてテキスト開始位置を統一 */
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow__item-img {
    height: 100px;
    margin: 30px 0;
  }
}
.p-parttime-flow__item-img img {
  max-height: 100%;
  width: auto;
}

/* 本文テキスト */
.p-parttime-flow__item-txt {
  font-size: clamp(13px,calc(13px + (2) * ((100vw - 375px) / (1025))), 15px);
  line-height: 1.8;
  font-weight: 500;
  text-align: center;
}

/* 中央の下向き矢印 (CSSのみで描画) */
.p-parttime-flow__arrow {
  margin: 30px auto;
  width: 40px;
  height: 25px;
  background: #3A3A3A;
  position: relative;
}
.p-parttime-flow__arrow::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 30px solid #3A3A3A;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow__arrow {
    width: 60px;
    height: 40px;
    margin: 50px auto;
  }
  .p-parttime-flow__arrow::after {
    border-top: 45px solid #3A3A3A;
    border-left: 65px solid transparent;
    border-right: 65px solid transparent;
  }
}

/* 下段 内定ボックス */
.p-parttime-flow__offer {
  background: #fff;
  border: 4px solid #D40000;
  padding: 30px 20px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
	margin-top: 60px;
}
@media screen and (min-width: 769px) {
  .p-parttime-flow__offer {
    flex-direction: row;
    padding: 40px;
    gap: 30px;
  }
}

@media screen and (min-width: 1025px) {
  .p-parttime-flow__offer {
    margin-top: 90px; /* ◀◀ ここを追加（PC時の余白） */
  }
}

.p-parttime-flow__offer-img {
  width: 80px;
}
@media screen and (min-width: 1025px) {
  .p-parttime-flow__offer-img {
    width: 110px;
  }
}
.p-parttime-flow__offer-img img {
  width: 100%;
}

.p-parttime-flow__offer-ttl {
  color: #D40000;
  font-size: clamp(20px,calc(20px + (4) * ((100vw - 375px) / (1025))), 24px);
  font-weight: bold;
  white-space: nowrap;
}

.p-parttime-flow__offer-txt {
  font-size: clamp(14px,calc(14px + (4) * ((100vw - 375px) / (1025))), 18px);
  font-weight: 500;
}

/* ==========================================================================
   募集要項 (.p-parttime-req)
   ========================================================================== */
.p-parttime-req {
  padding: 80px 0;
}
@media screen and (width >= 1025px) {
  .p-parttime-req {
    padding: 0px;
  }
}

.p-parttime-req__list {
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
}

/* 行のレイアウト */
.p-parttime-req__row {
  display: flex;
  flex-direction: column; /* スマホ時は縦並び */
  padding: 20px 0;
  border-bottom: 1px solid #EAEAEA;
}
.p-parttime-req__row:last-of-type {
  border-bottom: none;
}
@media screen and (width >= 769px) {
  .p-parttime-req__row {
    flex-direction: row; /* PC時は横並び */
    padding: 24px 0;
  }
}

/* 左側：タイトル (dt) */
.p-parttime-req__row dt {
  font-size: clamp(16px,calc(16px + (2) * ((100vw - 375px) / (1025))), 18px);
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  width: 100%;
}
@media screen and (width >= 769px) {
  .p-parttime-req__row dt {
    width: 25%;
    max-width: 240px;
    margin-bottom: 0;
    padding-right: 20px;
    box-sizing: border-box;
    flex-shrink: 0; /* タイトル幅が縮まないように固定 */
  }
}

/* 右側：内容 (dd) */
.p-parttime-req__row dd {
  font-size: clamp(16px,calc(16px + (2) * ((100vw - 375px) / (1025))), 18px);
  font-weight: 500;
  color: #333;
  line-height: 1.8;
  width: 100%;
}
@media screen and (width >= 769px) {
  .p-parttime-req__row dd {
    width: auto;
    flex: 1; /* 残りのスペースをすべて使う */
  }
}

.small {
  /* clampで指定していたものをcalcに変更 */
  font-size: calc(1em - 8px); 
  margin-top: 4px;
  font-weight: 500; /* 必要に応じて太さを調整（少し細くするとスッキリします） */
}

@media screen and (width >= 1025px) {
  .p-parttime-message .p-parttime-message__txt {
    margin-top: 50px;
    /* ▽▽ ここを追記 ▽▽ */
    font-size: calc(clamp(14px, calc(18px + 14 * ((100vw - 375px) / 1025)), 36px) - 8px);
  }
}

@media (min-width: 960px) {
    .interview_thum {
        width: stretch;
    }
}

.interview__txt{
	padding-bottom:30px;
}

/* ==========================================================================
   採用リンクエリア (.p-recruit-links)
   ========================================================================== */
.p-recruit-links {
  padding: 60px 0;
}
@media screen and (width >= 1025px) {
  .p-recruit-links {
    padding: 100px 0;
  }
}

.p-recruit-links__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* タブレット・PC時は横並び */
@media screen and (width >= 769px) {
  .p-recruit-links__list {
    flex-direction: row;
    gap: 20px;
  }
}
@media screen and (width >= 1025px) {
  .p-recruit-links__list {
    gap: 30px;
  }
}

.p-recruit-links__item {
  width: 100%;
}
@media screen and (width >= 769px) {
  .p-recruit-links__item {
    width: calc(33.3333% - 13.33px); /* gap分を考慮した3等分 */
  }
}
@media screen and (width >= 1025px) {
  .p-recruit-links__item {
    width: calc(33.3333% - 20px);
  }
}

/* カード本体のスタイル */
.p-recruit-links__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 4px solid #D40000;
  background-color: #fff;
  padding: 40px 20px;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-recruit-links__ttl {
  color: #D40000;
  font-size: clamp(20px, calc(20px + (8) * ((100vw - 375px) / 1025)), 28px);
  font-weight: bold;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.p-recruit-links__txt {
  color: #333;
  font-size: clamp(14px, calc(14px + (2) * ((100vw - 375px) / 1025)), 16px);
  font-weight: 600;
	text-align: center;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 30px;
  flex-grow: 1; /* テキスト行数の違いを吸収し、アイコンを常に下部に揃える */
  transition: color 0.3s ease;
}

/* 丸い矢印アイコン */
.p-recruit-links__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #D40000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.p-recruit-links__icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  transition: stroke 0.3s ease;
}

/* ホバーアクション (PCのみ) */
@media (any-hover: hover) {
  .p-recruit-links__link:hover {
    background-color: #D40000;
    transform: translateY(-5px); /* 少し上に浮く動き */
    box-shadow: 0 10px 20px rgba(212, 0, 0, 0.2);
  }
  .p-recruit-links__link:hover .p-recruit-links__ttl,
  .p-recruit-links__link:hover .p-recruit-links__txt {
    color: #fff;
  }
  .p-recruit-links__link:hover .p-recruit-links__icon {
    background-color: #fff;
  }
  .p-recruit-links__link:hover .p-recruit-links__icon svg {
    stroke: #D40000;
  }
}