@charset "UTF-8";
/* ===================================================================
CSS information

file name  : recruit_kinchu.css
style info : recruit_近畿中部防衛局用カスタム
=================================================================== */

/* ----- ファーストビュータイトル ----- */
.p-top-fv {
  position: relative;
}
.p-top-fv-title {
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 1;
}
.p-top-fv-title-sub {
  position: absolute;
  bottom: 10%;
  left: 10%;
  z-index: 1;
}
@media (max-width: 520px) {
  .p-top-fv-title-box,
  .p-top-fv-title,
  .p-top-fv-title-sub {
    position: relative;
    left: auto;
    bottom: auto;
    text-align: center;
  }
}
.p-top-fv-title p,
.p-top-fv-title-sub p {
  margin-bottom: 4px;
}
.p-top-fv-title p span,
.p-top-fv-title-sub p span {
  background: #fff;
  padding: 16px;
  box-sizing: border-box;
  line-height: 1;
  display: inline-block;
}
@media (min-width: 521px) and (max-width: 960px) {
  .p-top-fv-title p span,
  .p-top-fv-title-sub p span {
    padding: 8px;
  }
}
@media (max-width: 520px) {
  .p-top-fv-title p span,
  .p-top-fv-title-sub p span {
    padding: 4px;
  }
}
.p-top-fv-title .title_fv-s,
.p-top-fv-title-sub .title_fv-s {
  font-size: 1.2rem;
  font-weight: 700;
}
@media (min-width: 521px) and (max-width: 960px) {
  .p-top-fv-title .title_fv-s,
  .p-top-fv-title-sub .title_fv-s {
    font-size: 1.25rem;
  }
}
@media (max-width: 520px) {
  .p-top-fv-title .title_fv-s,
  .p-top-fv-title-sub .title_fv-s {
    font-size: 0.875rem;
  }
}
.p-top-fv-title .title_fv {
  font-size: 2.343rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
@media (min-width: 521px) and (max-width: 960px) {
  .p-top-fv-title .title_fv {
    font-size: 1.875rem;
  }
}
@media (max-width: 520px) {
  .p-top-fv-title .title_fv {
    font-size: 1rem;
  }
}

.con-recruit .img-hover {
  position: relative;
  display: inline-block;
}
.con-recruit .img-hover img {
  margin-bottom: 0;
}
.con-recruit .img-hover .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}
.con-recruit .img-hover .overlay span {
  display: inline-block;
  padding: 1rem 1rem;
}
.con-recruit .img-hover:focus .overlay,
.con-recruit .img-hover:hover .overlay {
  opacity: 1;
}
