@charset "UTF-8";

/* ==========================================================
   日興リカ 採用情報TOP
   見た目は nikko-rica.co.jp の既存スタイルに合わせる
   ========================================================== */
:root {
  --c-text: #222;
  --c-blue: #009fe8;
  --c-blue-dark: #007ee8;
  --c-blue-hover: #54bfef;
  --c-orange: #f79700;
  --c-purple: #6489d6;
  --c-line: #eaeaea;
  --c-panel: #f4f6f9;
  --c-menu-bg: #ebeef2;
  --header-h: 90px;
  --font: "Lexend Deca", "Noto Sans JP", sans-serif;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font);
  font-feature-settings: "palt";
  color: var(--c-text);
  background: #fff;
  padding-top: var(--header-h);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 83.3333%;
  max-width: 1200px;
  margin: 0 auto;
}

/* アイコン */
.ico-ext {
  display: inline-block;
  vertical-align: middle;
  background: currentColor;
}

.ico-ext {
  width: 11px;
  height: 11px;
  margin-left: 6px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3'%3E%3Crect x='.65' y='3.15' width='8.2' height='8.2'/%3E%3Cpolyline points='3.4 .65 11.35 .65 11.35 8.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3'%3E%3Crect x='.65' y='3.15' width='8.2' height='8.2'/%3E%3Cpolyline points='3.4 .65 11.35 .65 11.35 8.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.ico-ext--dark {
  color: var(--c-text);
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  width: 100%;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
}

.site-header__logo {
  display: flex;
  align-items: center;
  width: min(16.5278%, 238px);
  padding: 0 min(1.5972%, 23px);
}

.site-header__logo a {
  display: block;
  width: 100%;
}

.site-header__logo img {
  width: 100%;
}

/* ハンバーガーボタン */
.menu-btn {
  position: relative;
  width: 90px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 50%;
  width: 34px;
  height: 2px;
  margin-left: -17px;
  background: var(--c-blue);
  transition: transform .3s ease-out, opacity .2s ease-out, top .3s ease-out;
}

.menu-btn span:nth-child(1) {
  top: calc(50% - 11px);
}

.menu-btn span:nth-child(2) {
  top: calc(50% - 1px);
}

.menu-btn span:nth-child(3) {
  top: calc(50% + 9px);
}

.menu-btn.is-open span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(35deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-35deg);
}

/* メニューパネル */
.global-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--c-menu-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease-out, visibility .3s ease-out;
}

.global-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.global-menu__scroll {
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.global-menu__inner {
  display: flex;
  justify-content: center;
  gap: 0 4%;
  width: 83.3333%;
  max-width: 1080px;
  margin: 0 auto 50px;
}

.global-menu__col {
  flex: 0 0 26%;
}

.global-menu__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-blue);
}

.global-menu__list li {
  font-size: 15px;
  line-height: 1.5;
}

.global-menu__list li+li {
  margin-top: 13px;
}

.global-menu__list a {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  transition: color .2s ease-out;
}

.global-menu__list a::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--c-blue);
  border-right: 1.5px solid var(--c-blue);
  transform: rotate(45deg);
}

.global-menu__list a:hover {
  color: var(--c-blue);
}

.global-menu__list .is-group {
  padding-left: 20px;
}

.global-menu__list .is-group>.global-menu__list {
  margin-top: 13px;
}

.global-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1020;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease-out, visibility .3s ease-out;
}

.global-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.is-menu-open {
  overflow: hidden;
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 83.3333%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 4 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.page-hero__en {
  display: flex;
  align-items: center;
  font-size: clamp(12px, 1.3333vw, 16px);
  font-weight: 500;
  letter-spacing: .08em;
  margin: 0 0 4px 7px;
}

.page-hero__en::before {
  content: "";
  width: 20px;
  height: 2px;
  margin-right: 12px;
  background: #fff;
}

.page-hero__title {
  font-size: clamp(26px, 3.6667vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-nav {
  margin-top: 25px;
}

.breadcrumb-nav__list {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
}

.breadcrumb-nav__list li+li::before {
  content: "/";
  padding: 0 10px;
}

.breadcrumb-nav__list a:hover {
  color: var(--c-blue);
}

.breadcrumb-nav__list span {
  color: var(--c-blue);
}

/* ==================== INTRO ==================== */
.recruit-intro {
  padding: 70px 0 50px;
  text-align: center;
}

.sec-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 30px;
}

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

/* ==================== ENTRY CARDS ==================== */
/* ダイソー採用TOPの構成を参考にした横長カード（写真＋区分名） */
.recruit-entry {
  padding: 20px 0 120px;
}

.entry-list {
  max-width: 1080px;
  margin: 0 auto;
}

.entry-item+.entry-item {
  margin-top: 30px;
}

.entry-card {
  position: relative;
  display: flex;
  min-height: 300px;
  background: var(--c-panel);
  border-right: 4px solid var(--c-blue);
  overflow: hidden;
}

.entry-card__img {
  flex: 0 0 48%;
  overflow: hidden;
}

.entry-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease-out;
}

.entry-card__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 30px 72px 34px 30px;
  text-align: right;
  transition: background-color .3s ease-out;
}

/* 右下の三角 */
.entry-card__body::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 38px 38px;
  border-color: transparent transparent var(--c-blue) transparent;
  transition: border-width .3s ease-out;
}

.entry-card__en {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--c-blue);
  line-height: 1.4;
}

.entry-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 6px 0 0;
}

.entry-card:hover .entry-card__img img {
  transform: scale(1.05);
}

.entry-card:hover .entry-card__body {
  background: #e6f5fd;
}

.entry-card:hover .entry-card__body::after {
  border-width: 0 0 50px 50px;
}

/* ==================== FOOTER ==================== */
/* ダイソー採用TOPと同じ：メニューと同じサイトマップ＋コーポレートサイト導線＋コピーライト */
.footer-menu {
  background: var(--c-menu-bg);
  padding: 60px;
}

.footer-menu .global-menu__inner {}

/* 就活ハラスメント相談窓口 */
/* 幅はメニュー3列（26%×3＋gap4%×2＝86%）に揃える */
.footer-consult {
  padding: 24px 40px;
  background: #fff;
  margin: 0 auto;
  display: inline-block;
}

.footer-consult__list {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.footer-consult__row {
  display: flex;
}

.footer-consult__row+.footer-consult__row {
  margin-top: 10px;
}

.footer-consult__row dt {
  flex: 0 0 7em;
  font-weight: 700;
}

.footer-consult__row dt::before {
  content: "■";
  color: var(--c-blue);
  margin-right: .2em;
}

.footer-consult__row dd {
  margin: 0;
}

.footer-corp {
  text-align: center;
  border-bottom: 1px solid var(--c-line);
}

.footer-corp a {
  display: inline-block;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease-out;
}

.footer-corp a:hover {
  color: var(--c-blue);
}

.footer-copy {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
}

/* PAGE TOP */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 61px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease-out, visibility .2s ease-out;
}

.page-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
  :root {
    --header-h: 64px;
  }

  .site-header__logo {
    width: 180px;
  }

  .menu-btn {
    width: 64px;
  }

  .menu-btn span {
    width: 28px;
    margin-left: -14px;
  }

  .menu-btn span:nth-child(1) {
    top: calc(50% - 9px);
  }

  .menu-btn span:nth-child(3) {
    top: calc(50% + 7px);
  }

  .global-menu__inner {
    flex-direction: column;
    width: auto;
    margin: 0 24px;
    padding: 30px 0 50px;
  }

  .global-menu__col {
    flex: none;
  }

  .global-menu__col+.global-menu__col {
    margin-top: 32px;
  }

  .footer-menu .global-menu__inner {}

  .footer-consult {
    width: auto;
    margin: 0 24px;
    padding: 20px;
  }

  .footer-consult__list {
    font-size: 14px;
  }

  .footer-consult__row {
    flex-direction: column;
  }

  .footer-consult__row dt {
    flex: none;
  }
}

@media (max-width: 767.98px) {
  body {
    line-height: 1.7;
  }

  .wrap {
    width: auto;
    margin: 0 16px;
  }

  .page-hero__inner {
    width: auto;
    margin: 0 16px;
    aspect-ratio: 375 / 160;
  }

  .breadcrumb-nav {
    margin-top: 12px;
  }

  .recruit-intro {
    padding: 40px 0 30px;
    text-align: left;
  }

  .sec-title {
    font-size: 22px;
    margin-bottom: 16px;
    text-align: center;
  }

  .sec-lead {
    font-size: 14px;
  }

  .recruit-entry {
    padding: 10px 0 70px;
  }

  .entry-item+.entry-item {
    margin-top: 16px;
  }

  .entry-card {
    min-height: 130px;
    border-right-width: 3px;
  }

  .entry-card__img {
    flex-basis: 50%;
  }

  .entry-card__body {
    padding: 16px 30px 18px 12px;
  }

  .entry-card__body::after {
    border-width: 0 0 22px 22px;
  }

  .entry-card:hover .entry-card__body::after {
    border-width: 0 0 22px 22px;
  }

  .entry-card__en {
    font-size: 10px;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .entry-card__title {
    font-size: 18px;
    margin-top: 2px;
  }

  .footer-corp a {
    font-size: 14px;
  }

  /* ページトップボタンと重ならないよう下に逃がす */
  .footer-copy {
    font-size: 11px;
    padding-bottom: 70px;
  }

  .page-top {
    width: 41px;
    right: 10px;
    bottom: 10px;
  }
}