/* ---------------------------------------------
   common2.css
   ---------------------------------------------  */

#banner a {
  max-width: 388px;
  display: block;
  margin: auto;
}
#banner .l-section__inner {
  padding-bottom: 2rem;
}
@media (max-width: 767px) {
  #banner a {
    width: 80%;
  }
}

/* ========================================
   LAYOUT
   ======================================== */



/* ========================================
   COMPONENT
   ======================================== */

/*--------------- LINK ---------------*/
.c-link {
  color: var(--nec-blue);
  text-decoration: underline;
}

/*--------------- LINK HOVER ---------------*/
.c-link-hover {
  transition: opacity 0.2s;
}
.c-link-hover:hover {
  opacity: 0.6;
}

/*---------------TAG ---------------*/
.c-tag {
  font-weight: 600;
  display: block;
  padding: 8px 30px;
  border: solid 2px var(--nec-blue);
  border-radius: 100px;
  line-height: 1.2;
  position: relative;
  color: transparent;
  transition: background 0.25s ease;
}
.c-tag::before {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 0;
  transition: color 0.25s, letter-spacing 0.4s ease;
  pointer-events: none;
  color: var(--nec-blue);
}
.c-tag:hover,
.c-tag:focus-visible {
  background: var(--nec-blue);
}
.c-tag:hover::before,
.c-tag:focus-visible::before {
  color: var(--white);
  letter-spacing: 0.05em;
}

/*---------------CARD ---------------*/
.c-card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.c-card {
  padding: 10px 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: solid 1px var(--black);
  border-radius: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
  color: var(--black);
}
.c-card--link {
  border-color: #D9D9D9;
}
.c-card--link:hover{
  border-color: var(--black);
  box-shadow: 0 4px 16px rgba(4, 18, 124, 0.12);
}
.c-card__icon {
  width: 143px;
}
.c-card__label {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}
.c-card__label--with-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 26px;
}
.c-card__label-icon {
  width: 20px;
}
.c-card__label--multipline {
  line-height: 1.2;
}
.c-card__desc {
  color: #000;
  font-weight: bold;
  line-height: 1.1;
  margin-top: 6px;
}
.c-card__note {
  font-size: 12px;
  color: #000;
}

.c-card-list--flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 54px 80px;
  padding-inline: 60px 110px;
  margin-top: 60px;
}
.c-card--flow {
  position: relative;
  padding-block: 65px 20px;
  text-align: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 0 0 calc((100% - 160px) / 3);
}
.c-card--flow::after {
  content: '';
  display: block;
  width: 17px;
  height: 28px;
  background: url('../img/career/requirements/flow-arrow.svg') center / 100% 100% no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% + 34px);
}
.c-card--flow:last-child::after {
  content: none;
}
.c-card__number {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
  width: 56px;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  background: var(--nec-blue);
}
.c-card--flow .c-card__icon {
  width: 77px;
}
.c-card--flow .c-card__label {
  font-size: 20px;
  color: #000;
}

/*--------------- DEF LIST ---------------*/
.c-def-list {
  border-top: solid 1px #D9D9D9;
}
.c-def-list__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px;
  padding-block: 32px;
  border-bottom: solid 1px #D9D9D9;
}
.c-def-list__label {
  font-size: 18px;
  font-weight: bold;
}
.c-def-list__body {
  color: #000;
  line-height: 1.7;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}
.c-def-list__text {
  color: #000;
  font-weight: 500;
  line-height: 1.7;
}
.c-def-list__ordered {
  list-style: none;
  counter-reset: def-list-counter;
}
.c-def-list__ordered-item {
  counter-increment: def-list-counter;
  position: relative;
  padding-left: 2em;
}
.c-def-list__ordered-item::before {
  content: counter(def-list-counter) " ．";
  position: absolute;
  left: 4px;
}
.c-def-list__note {
  color: #000;
}

/*--------------- PANEL ---------------*/
.c-panel {
  border: solid 1px var(--nec-blue);
  border-radius: 30px;
  padding: 48px;
}
.c-panel__title {
  font-size: 26px;
  font-weight: bold;
  color: #000;
  line-height: 1.4;
}
.c-panel__list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: max-content auto;
  gap: 16px 10px;
  font-size: 18px;
}
.c-panel__item-main {
  position: relative;
  padding-left: 14px;
  color: #000;
  line-height: 1.6;
  font-weight: bold;
}
.c-panel__item-main::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.c-panel__item-sub {
  margin: 0;
}

/*--------------- NOTE TEXT ---------------*/
.c-note-text {
  font-weight: 400;
  font-size: 16px;
}

/* ========================================
   UTILITY
   ======================================== */

@media screen and (min-width: 1025px) {
  .u-sp-only {
    display: none !important;
  }
}

/* ========================================
   レスポンシブ 1024px
   ======================================== */
@media (max-width: 1024px) {
  html,body {
    overflow-x: hidden;
  }

  /* Entry */
  .entry {
    height: 507px;
  }
  .entry__img-left {
    width: max(200px, 34vw);
  }
  .entry__img-right {
    width: max(230px, 39vw);
  }
  .entry-section--with-photos.entry-section {
    width: 100%;
    height: 314px;
    padding-block: 30px 60px;
  }
  .entry-section--with-photos .entry-section__title {
    font-size: 28px;
  }
  .entry-section--with-photos .entry-section__subtitle {
    font-size: 14px;
  }
  .entry-section--with-photos .entry-section__buttons {
    margin-top: 0;
  }

  /* Utility */
  .u-pc-only {
    display: none !important;
  }

  /* Component */
  .c-tag {
    padding-inline: 28px;
  }

  .c-card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-inline: auto;
  }
  .c-card {
    padding: 0 10px 20px;
    gap: 30px;
  }
  .c-card__icon {
    width: 83px;
  }
  .c-card__label {
    font-size: 14px;
  }
  .c-card__label--with-icon {
    padding-left: 20px;
  }
  .c-card__label-icon {
    width: 14px;
  }
  .c-card__number {
    top: -23px;
    left: 21px;
    transform: none;
    width: 40px;
    font-size: 16px;
  }

  .c-card-list--flow {
    padding: 0;
    margin-top: 45px;
    flex-direction: column;
    gap: 40px;
  }
  .c-card--flow {
    padding: 22px 15px 10px;
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }
  .c-card--flow::after {
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    top: calc(100% + 8px);
  }
  .c-card--flow .c-card__icon {
    width: 52px;
  }
  .c-card--flow .c-card__label {
    font-size: 16px;
  }
  .c-card--flow .c-card__icon-open-door {
    position: relative;
    right: 6px;
  }
  .c-card--flow .c-card__icon-sheet {
    position: relative;
    left: 4px;
  }

  /*--------------- DEF LIST ---------------*/
  .c-def-list__row {
    grid-template-columns: 100%;
    padding-block: 16px;
  }
  .c-def-list__label {
    font-size: 14px;
  }
  .c-def-list__body {
    font-size: 16px;
  }
  .c-def-list__ordered-item {
    padding-left: 1.6em;
  }
  .c-def-list__ordered-item::before {
    content: counter(def-list-counter) "．";
    left: 6px;
  }
  .c-def-list__note {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 4px;
  }

  /*--------------- PANEL ---------------*/
  .c-panel {
    padding: 32px 10px;
  }
  .c-panel__title {
    font-size: 22px;
    line-height: 1.3;
  }
  .c-panel__list {
    grid-template-columns: auto;
    gap: 0;
    font-size: 16px;
  }
  .c-panel__item-sub + .c-panel__item-main {
    margin-top: 16px;
  }

  /*--------------- NOTE TEXT ---------------*/
  .c-note-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
  }
}

/* ========================================
   レスポンシブ 640px（SP）
   ======================================== */
@media (max-width: 640px) {
}
