@charset "utf-8";

/*------------------------------------------------
lead
------------------------------------------------*/
@media print, screen and (min-width: 960px) {
  .lead .common-inner {
    padding: 140px 0;
  }
}

/*------------------------------------------------
recruit
------------------------------------------------*/

.recruit-link {
  background-image:url(../../images/recruit/recruit_link_bg.jpg);
  background-size: cover;
  background-position: center center;
  margin-bottom: 50px;
}
.common-inner {
  padding: 25px;
}
.recruit-link-list {}
.recruit-link-item {
  border: 1px solid #ccc;
}
.recruit-link-item:not(:first-of-type) {
  margin-top: 15px;
}
.recruit-link-item-button {
  color:#fff;
  background-color: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: background-color ease-in-out 0.3s;
}

.recruit-link-item-button::before {
  content: '';
	position: absolute;
	top: 0;
	left: -75%;
  width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	transform: skewX(-25deg);
}

.recruit-link-item-button:hover {
  color: #fff;
  background-color: #000;
  transition: background-color ease-in-out 0.3s;
}
.recruit-link-item-button:hover::before {
	animation: shine 0.7s;
}

.recruit-link-item-title {
  line-height: 1;
  padding-bottom: 10px;
}
.recruit-link-item-text {
  border-top: 1px solid #fff;
  padding-top: 10px;
  line-height: 1;
}


@keyframes shine {
	100% {
		left: 125%;
	}
}

@media print, screen and (min-width: 590px) {
  .recruit-link-list {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }
  .recruit-link-item {
    width: calc(50% - 15px);
    max-width: 460px;
  }
  .recruit-link-item:not(:first-of-type) {
    margin-top: 0;
  }
}

@media print, screen and (min-width: 960px) {
  .recruit-link {
    height: 450px;
    display: flex;
    align-items: center;
  }
  .recruit-link-item-button {
    height: 125px;
  }
  .recruit-link-item-title {
    font-size: 3rem;
  }
  .recruit-link-item-text {
    font-size: 2rem;
  }
}
