/* =========================
   採用サイト：共通フッター
========================= */

.recruit-footer {
  width: calc(100% - 20px);
  margin: 0 auto;
  background: #00237B;
  color: #111;
  box-sizing: border-box;
}

/* =========================
   フッター：ENTRY
========================= */

.recruit-footer-entry {
  background: #00237B;
  padding: 52px 40px 36px;
  box-sizing: border-box;
}

.recruit-footer-entry-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 40px 28px;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}

.recruit-footer-entry-title {
  margin: 0 0 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #000;
}

.recruit-footer-entry-buttons {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin: 0 auto 22px;
}

.recruit-footer-entry-btn,
.recruit-footer-entry-btn:link,
.recruit-footer-entry-btn:visited {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 330px;
  height: 74px;
  padding: 0 28px;
  box-sizing: border-box;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  text-align: left;
  transition: 0.25s ease;
}


.recruit-footer-entry-btn.is-new {
  background: linear-gradient(90deg, #ff9800 0%, #ff5a00 100%);
}

.recruit-footer-entry-btn.is-career {
  background: linear-gradient(90deg, #42b8dc 0%, #0096c8 100%);
}

.recruit-footer-entry-btn:hover,
.recruit-footer-entry-btn:focus {
  transform: translateY(-3px);
  opacity: 0.94;
}

.recruit-footer-entry-btn .main {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.recruit-footer-entry-btn .sub {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.recruit-footer-entry-note {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  color: #111;
}

.recruit-footer-entry-note a {
  color: #111;
  text-decoration: underline;
}

/* =========================
   フッター：探究学習
========================= */

.recruit-footer-learning {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.recruit-footer-learning-bg {
  position: absolute;
  left: -40px;
  top: 50%;
  width: 340px;
  height: auto;
  transform: translateY(-50%);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.recruit-footer-learning-inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  padding: 38px 40px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  justify-content: center;
  align-items: center;
  column-gap: 60px;
  box-sizing: border-box;
}

.recruit-footer-learning-text {
  width: 100%;
  max-width: 540px;
}

.recruit-footer-learning-text h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #111;
}

.recruit-footer-learning-text p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #111;
}

.recruit-footer-learning-text p:last-child {
  margin-bottom: 0;
}

.recruit-footer-learning-logo {
  width: 350px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.recruit-footer-learning-logo img {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  margin: 0;
}

.recruit-footer-learning-btn,
.recruit-footer-learning-btn:link,
.recruit-footer-learning-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  min-width: 0;
  max-width: 300px;
  height: 42px;
  padding: 0 18px;
  box-sizing: border-box;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #315de8 0%, #003cbd 100%);
  box-shadow: 0 4px 12px rgba(0, 40, 180, 0.35);
  text-align: center;
}


/* =========================
   フッター：本体
========================= */

.recruit-footer-main {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.recruit-footer-main-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 85, 0.58);
  z-index: 1;
}

.recruit-footer-main-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 54px 40px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  box-sizing: border-box;
}

.recruit-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 46px;
}

.recruit-footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-footer-nav li {
  margin: 0 0 10px;
}

.recruit-footer-nav a,
.recruit-footer-nav a:link,
.recruit-footer-nav a:visited {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.recruit-footer-nav a:hover,
.recruit-footer-nav a:focus,
.recruit-footer-company a:hover,
.recruit-footer-company a:focus {
  text-decoration: underline !important;
}

.recruit-footer-company {
  color: #fff;
}

.recruit-footer-logo {
  display: block;
  width: 220px;
  height: auto;
  margin: 0 0 22px;
}

.recruit-footer-company p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 400;
}

.recruit-footer-company a,
.recruit-footer-company a:link,
.recruit-footer-company a:visited {
  color: #fff !important;
  text-decoration: none !important;
}
.recruit-footer-corporate-link,
.recruit-footer-corporate-link:link,
.recruit-footer-corporate-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
}

.recruit-footer-corporate-link:hover,
.recruit-footer-corporate-link:focus {
  text-decoration: underline !important;
}

.recruit-footer-external-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   フッター：SNSアイコン
========================= */

.recruit-footer-sns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
}

.recruit-footer-sns a,
.recruit-footer-sns a:link,
.recruit-footer-sns a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: 0.25s ease;
}

.recruit-footer-sns a:hover,
.recruit-footer-sns a:focus {
  background: rgba(255, 255, 255, 0.16);
}

.recruit-footer-sns img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}


.recruit-footer-badge {
  display: block;
  width: 210px;
  height: auto;
  margin-top: 14px;
}

.recruit-footer-copy {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 20px 26px;
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
}

/* =========================
   フッター：タブレット対応
========================= */

@media screen and (max-width: 980px) {


  .recruit-footer-entry {
    padding: 38px 24px 30px;
  }

  .recruit-footer-entry-inner {
    padding: 30px 24px 26px;
  }

  .recruit-footer-entry-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .recruit-footer-entry-btn,
  .recruit-footer-entry-btn:link,
  .recruit-footer-entry-btn:visited {
    width: 100%;
    max-width: 360px;
  }

  .recruit-footer-learning-bg {
    left: -70px;
    width: 300px;
  }

  .recruit-footer-learning-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 28px;
    text-align: center;
  }

  .recruit-footer-learning-text {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .recruit-footer-learning-logo {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .recruit-footer-learning-logo img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .recruit-footer-learning-btn,
  .recruit-footer-learning-btn:link,
  .recruit-footer-learning-btn:visited {
    width: 300px;
    max-width: 100%;
  }

  .recruit-footer-main-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 28px 40px;
  }

  .recruit-footer-nav {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 24px;
  }

  .recruit-footer-company {
    text-align: center;
  }

  .recruit-footer-logo,
  .recruit-footer-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .recruit-footer-sns {
    justify-content: center;
  }
}

/* =========================
   フッター：スマホ対応
========================= */

@media screen and (max-width: 768px) {

  .recruit-footer {
    width: calc(100% - 12px);
  }

  .recruit-footer-entry {
    padding: 28px 14px 24px;
  }

  .recruit-footer-entry-inner {
    padding: 26px 16px 24px;
  }

  .recruit-footer-entry-title {
    font-size: 38px;
  }

  .recruit-footer-entry-btn,
  .recruit-footer-entry-btn:link,
  .recruit-footer-entry-btn:visited {
    height: 68px;
    padding-left: 20px;
  }

  .recruit-footer-learning-bg {
    left: 50%;
    top: 30px;
    width: 260px;
    transform: translateX(-50%);
    opacity: 0.35;
  }

  .recruit-footer-learning-inner {
    padding: 34px 18px;
  }

  .recruit-footer-learning-text h2 {
    font-size: 17px;
    line-height: 1.7;
  }

  .recruit-footer-learning-text p {
    font-size: 12px;
    line-height: 1.8;
  }

  .recruit-footer-learning-logo img {
    width: 280px;
    max-width: 100%;
  }

  .recruit-footer-learning-btn,
  .recruit-footer-learning-btn:link,
  .recruit-footer-learning-btn:visited {
    width: 100%;
    max-width: 320px;
    min-width: auto;
  }

  .recruit-footer-main-inner {
    padding: 36px 20px 34px;
  }

  .recruit-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    text-align: left;
  }

  .recruit-footer-nav li {
    margin-bottom: 8px;
  }

  .recruit-footer-logo {
    width: 190px;
  }

  .recruit-footer-company p {
    font-size: 12px;
  }

  .recruit-footer-badge {
    width: 190px;
  }
}

/* HTMLの「＞」を使用。テーマ側の疑似要素も無効化 */
.recruit-footer .recruit-footer-entry-btn::after,
.recruit-footer .recruit-footer-learning-btn::after {
  content: none !important;
  display: none !important;
}

/* ENTRYボタン：2行表示 */
.recruit-footer .recruit-footer-entry-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  text-align: center;
}

.recruit-footer .recruit-footer-entry-btn .main {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.recruit-footer .recruit-footer-entry-btn .sub {
  display: block;
  font-size: 10px;
  line-height: 1.5;
}
