@charset "utf-8";
/* ==========================================================================
   2. KVエリア (スマホ：ボタン下部配置 / PC：左側中央集約)
   ========================================================================== */
.newgraduate_top {
  position: relative;
  padding-top: 60px;
}

.kv-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.kv-container picture {
  display: block;
  width: 100%;
}

.kv-container picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* 下部 白グラデーション */
.kv-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}

/* ★スマホ時：重ね合わせロゴは非表示（画像に直入れのロゴを使用） */
.kv-logo-wrap {
  display: none;
}

.kv-logo-wrap .kv-logo {
  width: 100%;
  height: auto;
  display: block;
  animation: logoFadeIn 1.2s ease-out forwards;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スマホ時：ボタン群の位置（白グラデーション内のベストポジションに配置） */
.kv-content-wrap {
  position: absolute;
  bottom: 40px; 
  left: 0;
  padding: 0 8%;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newgraduate_entry {
  width: 100%;
}

/* --- PC表示 (800px以上：ロゴ幅をボタンより広く ＆ 左側中央にレイアウト) --- */
@media screen and (min-width: 800px) {
  .newgraduate_top {
    padding-top: 0;
  }

  /* PC時のコンテンツ枠 */
.kv-content-wrap {
    top: 50%;
    bottom: auto;
    left: 8%;
    transform: translateY(-50%);
    padding: 0;
    width: 30vw;
    max-width: 400px;
    align-items: flex-start;
  }

.kv-logo-wrap {
    display: block;
    width: 118%;
    margin-left: -5%;
    margin-bottom: 1.5rem; /* ロゴとボタンの間の余白を少し詰める */
    pointer-events: none;
  }

  .newgraduate_entry {
    width: 100%;
  }

  .btn_mynavilink {
    width: 100% !important;
    margin: 0;
    padding: 16px 8px 4px; /* ★ 上下パディングを少しキュッと収める */
  }

  .btn_mynavilink p {
    font-size: 24px;       /* ★ 文字サイズを28px → 24pxに調整 */
  }

  .newgraduate_entry .other-more-link {
    width: 100% !important;
    margin: 1rem 0 0 0;
    padding: 6px 24px;     /* ★ 代表メッセージボタンも一回りコンパクトに */
    font-size: 14px;
  }
}

/* ==========================================================================
   3. ボタン基本パーツ & 更新履歴
   ========================================================================== */
.btn_mynavilink {
  position: relative;
  width: 100%;
  color: #fff;
  display: block;
  text-align: center;
  padding: 20px 32px 14px 32px;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 20px 4px rgba(248, 6, 145, 0.9),
              0 0 40px 10px rgba(255, 255, 255, 0.4) !important;
  background-image: linear-gradient(90deg, #f70a9c, #fe095e);
  overflow: hidden;
  transition: 0.3s ease-in-out;
  text-decoration: none;
  box-sizing: border-box;
}

.btn_mynavilink:hover {
  background-image: linear-gradient(90deg, #fe095e, #f70a9c);
}

.btn_mynavilink::after {
  content: '';
  display: block;
  background: url(/images/newgraduate/btn_bg.png) no-repeat center;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  mix-blend-mode: luminosity;
  opacity: 0.5;
}

.btn_mynavilink p {
  position: relative;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  padding-bottom: 8px;
  z-index: 1;
  margin: 0;
  text-align: center;
}

.btn_mynavilink p::after {
  content: '';
  display: block;
  background: url(/images/icon_gif_blank_w.gif) no-repeat center / contain !important;
  position: absolute;
  top: 50%;
  right: -24px;
  width: 20px !important;
  height: 20px !important;
  transform: translateY(-50%);
}

.btn_mynavilink span {
  position: relative;
  font-size: 12px;
  line-height: 1;
  z-index: 1;
  display: block;
  margin-top: 4px;
}

.other-more-link {
  border-radius: 50px;
  border: 2px solid #3a001e;
  padding: 8px 32px;
  position: relative;
  display: block;
  color: #3a001e;
  font-weight: bold;
  text-align: center;
  background-color: #f4f4f4;
  text-decoration: none;
  margin-top: 1rem;
  box-sizing: border-box;
}

.other-more-link::after {
  content: '';
  display: block;
  background: url(/images/iconarrow_02.svg) no-repeat center / contain;
  position: absolute;
  top: 50%; right: 16px;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  transition: right 0.3s ease-in-out;
}

.other-more-link:hover::after {
  right: 8px;
}

/* 更新履歴 */
.newgraduate_news {
  position: relative;
  padding: 3.5rem 8% 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 5;
}

.newgraduate_news dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #3a001e;
  padding: 8px 0;
}

.newgraduate_news dl dt {
  margin-right: 40px;
  font-weight: bold;
}

@media screen and (min-width: 800px) {
.btn_mynavilink {
    padding: 22px 36px 16px 36px; /* 重厚感のある高さ */
  }

  .btn_mynavilink p {
    font-size: 24px; /* PCでの標準サイズ */
    padding-bottom: 10px;
  }

  .btn_mynavilink p::after {
    right: -28px;
    width: 22px !important;
    height: 22px !important;
  }

  .btn_mynavilink span {
    font-size: 12px;
  }
  .newgraduate_news {
    text-align: left;
  }
  .newgraduate_news h4 { text-align: left !important; }
}

/* ==========================================================================
   4. 炎のエフェクト (火の粉)
   ========================================================================== */
.fire-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.fire-particles span {
  position: absolute;
  bottom: -10px;
  width: 6px; height: 6px;
  background-color: #ff9d00;
  box-shadow: 0 0 8px #ff4500, 0 0 12px #ff8c00;
  border-radius: 1px;
  animation: riseLeft 2.8s infinite ease-in;
  opacity: 0;
}

.fire-particles span:nth-child(1)  { left: 35%; animation-duration: 2.5s; animation-delay: 0s; }
.fire-particles span:nth-child(2)  { left: 50%; animation-duration: 3.2s; animation-delay: 0.4s; width: 4px; height: 4px; background-color: #ffe600; }
.fire-particles span:nth-child(3)  { left: 65%; animation-duration: 2.2s; animation-delay: 1.0s; }
.fire-particles span:nth-child(4)  { left: 80%; animation-duration: 2.8s; animation-delay: 0.2s; width: 8px; height: 8px; }
.fire-particles span:nth-child(5)  { left: 95%; animation-duration: 2.4s; animation-delay: 0.7s; background-color: #ffe600; }
.fire-particles span:nth-child(6)  { left: 45%; animation-duration: 3.0s; animation-delay: 1.3s; width: 5px; height: 5px; }
.fire-particles span:nth-child(7)  { left: 60%; animation-duration: 2.6s; animation-delay: 0.8s; }
.fire-particles span:nth-child(8)  { left: 75%; animation-duration: 3.5s; animation-delay: 1.5s; width: 3px; height: 3px; }
.fire-particles span:nth-child(9)  { left: 88%; animation-duration: 2.3s; animation-delay: 0.3s; }
.fire-particles span:nth-child(10) { left: 98%; animation-duration: 2.9s; animation-delay: 1.1s; width: 6px; height: 6px; background-color: #ffe600; }

@keyframes riseLeft {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-350px) translateX(-180px) scale(0.2); opacity: 0; }
}

/* ==========================================================================
   5. PV・イベントセクション (newgraduate_event)
   ========================================================================== */
.newgraduate_event {
  background: #fff url(/images/newgraduate/bg_jobopenings.png) no-repeat center 12rem / cover;
  padding: 6rem 8% 8rem;
}

.newgraduate_event dl dt {
  border-radius: 10px;
  background-color: #fff;
  padding: 1rem;
  margin-bottom: 2.7rem;
  box-shadow: 0 0 15px -5px #777777;
}

.newgraduate_event dl dt video {
  width: 100%; height: 100%; display: block;
}

.alim-pv_btn { margin-top: 2.7rem; }
.alim-pv_btn .btn_mynavilink { margin: 0 auto; }

@media screen and (min-width: 800px) {
  .newgraduate_event {
    background-position: center 10rem;
    padding: 8rem 13% 16rem;
  }
  .newgraduate_event dl { display: flex; align-items: center; }
  .newgraduate_event dl dt {
    width: 47.4vw;
    margin-right: 40px;
    margin-bottom: 0;
  }
  .newgraduate_event .newgraduate_event_text { width: 36.16vw; }
  .newgraduate_event .newgraduate_event_text img { width: 100%; }
  .alim-pv_btn { margin-top: 32px; }
}

/* ==========================================================================
   6. 募集職種 (newgraduate_job)
   ========================================================================== */
.newgraduate_job {
  padding: 6rem 8% 10rem;
  margin-bottom: 8rem !important;
  background: url(/images/newgraduate/bg_job.png) no-repeat left 120px / cover; 
}

.newgraduate_job dl { display: flex; flex-wrap: wrap; }
.newgraduate_job dd { width: 100%; margin-top: 2.7rem; }
.newgraduate_job div {
  background-color: #fff;
  border-radius: 10px;
  padding: 5% 6%;
  box-shadow: 0 0 15px -5px #777777;
}

.newgraduate_job_list ul {
  padding: 0;
  margin: 0;
}

.newgraduate_job_list ul li {
  border-bottom: 2px dotted #e6e6de;
  padding: 12px 0;
  list-style: none;
}

.newgraduate_job_list ul li:last-child { border-bottom: none; }

.newgraduate_job_list ul li a,
.newgraduate_job_list ul li span {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 16px;
  font-weight: bold;
  color: #E94709;
  text-decoration: none;
  padding-right: 30px;
}
.newgraduate_job_list ul li a img,
.newgraduate_job_list ul li span img {
  width: 48px;
  height: auto;
  margin-right: 12px;
  flex-shrink: 0;
  image-rendering: pixelated;
}
.newgraduate_job_list ul li a p {
  margin: 0;
  line-height: 1.3;
}
/* 右側の矢印アイコン */
.newgraduate_job_list ul li a::after {
  content: '';
  background: url(/images/iconarrow_03.svg) no-repeat center / contain;
  position: absolute;
  top: 50%; right: 0;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  transition: right 0.3s ease-in-out;
}

.newgraduate_job_list ul li a:hover::after { right: -4px; }

@media screen and (min-width: 800px) {
.newgraduate_job {
    padding: 16rem 13% 16rem;
    background-position: center 16rem;
  }
  .newgraduate_job dl dt { width: 31.8vw; padding-right: 40px; }
  .newgraduate_job dl dd { width: calc(100% - 31.8vw); margin-top: 0; }
  .newgraduate_job div { padding: 4% 6%; }

  .newgraduate_job_list ul li {
    padding: 18px 0;
  }

  .newgraduate_job_list ul li a,
  .newgraduate_job_list ul li span { 
    font-size: 24px; /* PC時：大きすぎない綺麗な文字サイズ(24px)に微調整 */
    padding-right: 40px;
  }

  /* PC時のドット絵アイコンサイズ */
  .newgraduate_job_list ul li a img,
  .newgraduate_job_list ul li span img {
    width: 64px; /* PC時：すっきり納まるバランスサイズ */
    margin-right: 20px;
  }

  .newgraduate_job_list ul li a::after {
    width: 24px; height: 24px;
  }
}

/* ==========================================================================
   7. インタビュー (newgraduate_interview)
   ========================================================================== */
.newgraduate_interview h5 { font-size: 2rem; text-align: center; margin: 0 0 4rem; }
.newgraduate_interview h5 span { display: block; color: #E94709; font-size: 14px; font-weight: bold; }

.newgraduate_interview ul {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  list-style: none; padding: 0; margin: 0;
}

.newgraduate_interview ul li { width: calc(50% - 8px); margin-bottom: 1.7rem; }
.newgraduate_interview ul li a { color: #3a001e; text-decoration: none; display: block; }
.newgraduate_interview ul li dt img { width: 100%; height: auto; display: block; }
.newgraduate_interview ul li dd {
  font-size: 14px; letter-spacing: 0; font-weight: bold; padding-top: 8px; margin: 0;
}
.newgraduate_interview ul li dd span,
.newgraduate_interview ul li dd p {
  font-size: 12px; font-weight: bold; display: block; color: #9b7789; margin: 0 !important;
}

.interview_list_more {
  padding: 0 8%; width: 100%; text-align: center; margin: 2.7rem 0 8rem; box-sizing: border-box;
}
.interview_list_more .other-more-link { max-width: 100%; margin: 0 auto; }

@media screen and (min-width: 800px) {
  .newgraduate_interview ul li { width: calc(33.333% - 16px); }
  .newgraduate_interview ul li dd { font-size: 20px; letter-spacing: 1.6px; }
  .interview_list_more .other-more-link { width: 30.58vw; margin: 0 auto; }
}

/* ==========================================================================
   8. 内部リンクバナー (newgraduate_link)
   ========================================================================== */
.newgraduate_link {
  margin-top: 4rem;
}

.newgraduate_link ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.newgraduate_link ul li {
  width: 100%;
  position: relative;
  margin-bottom: 2.2rem; /* カード間の余白を少し広げてドット絵の飛び出しスペースを確保 */
}

/* ★スマホ時：ドット絵画像のサイズを拡大＆位置調整 */
.newgraduate_link ul li img {
  position: absolute;
  width: 92px;  /* ★ 見本に合わせて 72px → 92px に拡大 */
  height: 92px;
  top: -26px;   /* 上部への飛び出し感をしっかり表現 */
  right: 12px;  /* 右端からの位置 */
  image-rendering: pixelated; /* ドット絵をくっきり表示 */
  z-index: 1;
  pointer-events: none;
}

/* オレンジバナー本体 */
.newgraduate_link ul li a {
  display: block;
  background-color: #E94709;
  color: #fff;
  padding: 18px 20px 16px;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.3s;
}

.newgraduate_link ul li a:hover {
  opacity: 0.9;
}

/* タイトル部分 */
.newgraduate_link ul li a p {
  margin: 0 0 8px;
  padding: 0 0 4px;
  border-bottom: 1px solid #fff;
  position: relative;
  font-size: 21px; /* 「従業員アンケート」が綺麗に1行に収まるサイズ */
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
}

/* 矢印アイコン：テキストのすぐ直後に配置 */
.newgraduate_link ul li a p::after {
  content: '';
  display: inline-block;
  background: url(/images/iconarrow.svg) no-repeat center / contain;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

.newgraduate_link ul li a:hover p::after {
  transform: translateX(6px);
}

.newgraduate_link ul li a span {
  font-size: 11px;
  font-weight: bold;
  display: block;
  color: #fff;
}

/* --- PC表示 (800px以上) --- */
@media screen and (min-width: 800px) {
  .newgraduate_link ul li {
    width: calc(50% - 16px);
    margin-bottom: 40px;
  }

  .newgraduate_link ul li a {
    padding: 20px 32px;
  }

  .newgraduate_link ul li a p {
    font-size: 26px;
  }

  .newgraduate_link ul li a p::after {
    width: 20px;
    height: 20px;
    margin-left: 12px;
  }

  .newgraduate_link ul li img {
    width: 140px;
    height: 140px;
    top: -40px;
    right: -10px;
  }

  .newgraduate_link ul li a span {
    font-size: 12px;
  }
}
/* ==========================================================================
   9. アコーディオン (FAQ)
   ========================================================================== */
.newgraduate_faq { margin-top: 8rem; }
.newgraduate_faq h5 { font-size: 2rem; text-align: center; margin-bottom: 4rem; }
.newgraduate_faq h5 span { display: block; color: #E94709; font-size: 14px; font-weight: bold; }

details + details { margin-top: 1.6rem; }

summary {
  border: solid #3a001e; border-width: 2px 2px 3px 2px; border-radius: 8px;
  padding: 16px 24px; min-height: 96px; font-weight: bold; background-color: #fff;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}

summary p { width: calc(100% - 45px); margin: 0; }

.IconSummary {
  display: block; position: relative; width: 16px; height: 16px; margin-left: 6px; flex-shrink: 0;
}

.IconSummary::before,
.IconSummary::after {
  content: ""; position: absolute; top: 0; width: 4px; height: 0.75em;
  background-color: #3a001e; transition: transform 0.3s; border-radius: 10px;
}

.IconSummary::after { transform: rotate(90deg); }
details[open] .IconSummary::before { transform: rotate(90deg); }

.DetailsInner { margin-top: 32px; line-height: 1.6; }

/* ==========================================================================
   10. マイナビパーテーション (.partition_wap)
   ========================================================================== */
.partition_wap {
  width: 100vw; position: relative; left: 0; transform: none;
  margin-left: calc(50% - 50vw); border-top: 2px dotted #d0d0d0;
  border-bottom: 2px dotted #d0d0d0; background-color: #e3e3e3;
  padding: 4rem 8%; box-sizing: border-box;
}

.partition_wap .mynavi {
  display: flex !important; flex-direction: row !important;
  align-items: center; justify-content: center; margin: 0 auto;
  width: fit-content; text-decoration: none;
}

.partition_wap .mynavi img {
  display: block; width: 195px; height: 60px; border: 1px solid #00adeb; box-sizing: border-box;
}

.partition_wap .mynavi span {
  display: flex !important; align-items: center; justify-content: center;
  background-color: #00adeb !important; color: #ffe300 !important;
  font-weight: bold; font-size: 16px; height: 60px; width: 195px;
  padding: 0 15px; box-sizing: border-box; text-align: center;
}

@media screen and (max-width: 480px) {
  .partition_wap .mynavi img { width: 140px; height: 48px; }
  .partition_wap .mynavi span { width: 140px; height: 48px; font-size: 13px; }
}