@charset "utf-8";

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.btn {
  border-color: #0089a0;
}

.cards {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
/* ========== RECRUIT ========== */

.sec_ttl {
  max-width: 1300px;
  margin: 0 auto 1.6em;
}

.sec_ttl .jp {
  display: block;
  font-size: 1.5em;
  line-height: 1.2;
}

.sec_ttl .en {
  display: block;
  margin-top: 0.5em;
  color: #0089a0;
  font-size: 0.8em;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
}
@media screen and (min-width: 768px) {
  .sec_ttl .jp {
    font-size: 2em;
  }
}

/* ========== MAIN IMAGE ========== */

.mv {
  height: 100vh;
  background: url("../img/recruit/img_main.jpg") center top no-repeat;
  background-size: cover;
  border-bottom: 8px solid #002c33;
}
.mv .inner {
  height: 100%;
}

.mv .msg {
  position: absolute;
  top: 35%;
  width: 100%;
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  transform: translateY(-50%);
}
.mv .msg p {
  margin-bottom: 0.4em;
  font-size: 1.4em;
  animation: anime_txt 2s;
}
.mv .msg p strong {
  font-size: 1.4em;
  font-weight: bold;
}

.mv .txt_box {
  position: absolute;
  bottom: 2em;
  width: 100%;
  padding: 1.5em;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}

.mv .txt_box p {
  color: #002c33;
}

.mv .txt_box .btn {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
}
@media screen and (min-width: 768px) {
  .mv .msg {
    top: 45%;
  }

  .mv .msg p {
    font-size: 2.16em;
  }
  .mv .msg p strong {
    font-size: 2.1em;
  }

  .mv .txt_box {
    left: 1em;
    bottom: -2em;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: calc(100% - 2em);
  }

  .mv .txt_box p {
    max-width: 800px;
  }

  .mv .txt_box .btn {
    width: 20em;
    margin: 0 0 0 1em;
  }
}

@keyframes anime_txt {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ========== MESSAGE ========== */

.msg_box .img {
  position: relative;
  overflow: hidden;
}

.msg_box .img div {
  position: absolute;
  left: 0;
  width: 100%;
  height: 10%;
  background: #fff;
}
.msg_box .img.on div {
  animation: slide 0.5s linear forwards;
}
.msg_box .img div:first-child {
  top: 0;
  animation-delay: 0s;
}
.msg_box .img div:nth-child(2) {
  top: 10%;
  animation-delay: 0.05s;
}
.msg_box .img div:nth-child(3) {
  top: 20%;
  animation-delay: 0.1s;
}
.msg_box .img div:nth-child(4) {
  top: 30%;
  animation-delay: 0.15s;
}
.msg_box .img div:nth-child(5) {
  top: 40%;
  animation-delay: 0.2s;
}
.msg_box .img div:nth-child(6) {
  top: 50%;
  animation-delay: 0.25s;
}
.msg_box .img div:nth-child(7) {
  top: 60%;
  animation-delay: 0.3s;
}
.msg_box .img div:nth-child(8) {
  top: 70%;
  animation-delay: 0.35s;
}
.msg_box .img div:nth-child(9) {
  top: 80%;
  animation-delay: 0.4s;
}
.msg_box .img div:nth-child(10) {
  top: 90%;
  animation-delay: 0.45s;
}

.msg_box .txt p {
  color: #002c33;
}
.msg_box .txt p:first-child {
  margin-bottom: 0.8em;
  font-size: 1.5em;
}
.msg_box .txt p:nth-child(2) {
  margin-bottom: 1.6em;
  font-size: 1em;
  line-height: 1.8;
}
.msg_box .txt p:nth-child(3) {
  font-size: 0.8em;
  line-height: 2;
}

@media screen and (max-width: 767px) {
  .msg_box .img {
    padding: 1.6em 0;
  }
}
@media screen and (min-width: 768px) {
  .message .sec_ttl {
    margin-bottom: 0;
  }

  .msg_box .inner {
    display: flex;
    align-items: flex-end;
  }
  .msg_box .txt {
    width: 60%;
    padding: 4em;
  }

  .msg_box .img {
    position: relative;
    top: 4em;
    width: 40%;
  }

  .msg_box:first-of-type {
    margin-top: -4em;
  }
  .msg_box:nth-of-type(2) {
    padding-top: 4em;
    background: #f5f8f9;
  }
  .msg_box:nth-of-type(2) .inner {
    flex-direction: row-reverse;
  }

  .msg_box:nth-of-type(3) {
    padding-top: 4em;
  }
  .msg_box:nth-of-type(3) .img {
    top: 0;
  }

  .msg_box .txt p:first-child {
    font-size: 2.1em;
  }
  .msg_box .txt p:nth-child(2) {
    font-size: 1.1em;
  }
  .msg_box .txt p:nth-child(3) {
    font-size: 0.8em;
  }
}

@keyframes slide {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

/* ========== INTERVIEW ========== */

.consultant_list .item {
  border-color: transparent;
}

.consultant_list .img {
  margin-bottom: 1em;
  aspect-ratio: 1 / 1;
}
.consultant_list .job {
  margin-bottom: 0.5em;
}
.consultant_list .name {
  color: #0089a0;
  font-size: 1.8em;
  font-weight: 700;
}
.consultant_list .txt {
  padding: 0.5em 0;
  font-size: 1.1em;
}
@media screen and (max-width: 767px) {
  .consultant_list .item {
    margin-bottom: 2em;
  }
  .consultant_list .item a {
    padding: 0;
  }
}
@media screen and (min-width: 768px) {
  .consultant_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1em;
  }

  .consultant_list .item {
    width: calc(100% / 4);
    transition: 0.2s;
  }

  .consultant_list a {
    display: block;
    height: 100%;
    padding: 1em;
  }
  .consultant_list .job {
    font-size: 0.8em;
  }
  .consultant_list .txt {
    font-size: 1em;
  }

  .consultant_list .item:hover {
    box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1);
  }
}

/* ========== CONDITION ========== */

.condition_box {
  margin-bottom: 2.4em;
}

.condition_box h2 {
  margin-bottom: 1.2em;
  padding-bottom: 0.4em;
  border-bottom: 4px solid #002c33;
  color: #414141;
  font-size: 1.6em;
}

.condition_box li {
  position: relative;
  list-style: outside none;
  padding-left: 1.8em;
  margin-bottom: 0.8em;
}
.condition_box li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  display: block;
  width: 1.3em;
  height: 1.3em;
  border: 4px solid #002c33;
  border-radius: 50%;
}

.condition_box a {
  position: relative;
  display: inline-block;
  margin-bottom: 0.4em;
  font-size: 1.8em;
  font-weight: bold;
}
.condition_box a::before,
.condition_box a::after {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
}
.condition_box a::before {
  top: 0.25em;
  right: -1.5em;
  width: 1em;
  height: 1em;
  background: #002c33;
  border-radius: 50%;
}
.condition_box a::after {
  top: 0.55em;
  right: -1.1em;
  width: 0.3em;
  height: 0.3em;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.condition_box p {
  margin-bottom: 2em;
}

@media screen and (max-width: 767px) {
}
@media screen and (min-width: 768px) {
  .condition .inner {
    display: flex;
    justify-content: space-between;
  }

  .condition_box {
    width: calc((100% - 4em) / 2);
  }

  .condition_box h2 {
    margin-bottom: 1em;
    padding-bottom: 0.6em;
    font-size: 2.2em;
  }

  .condition_box li {
    padding-left: 1.8em;
    margin-bottom: 0.8em;
  }
  .condition_box li::before {
    top: 0.1em;
    border-width: 5px;
  }

  .condition_box a::before {
    top: 0.25em;
    transform: none;
  }

  /* hover */
  .condition_box a:hover::before,
  .condition_box a:hover::after {
    animation: bound 0.5s ease-out;
  }
}

@keyframes bound {
  0% {
    transform: scale(0.8, 0.8) rotate(45deg);
  }
  40% {
    transform: scale(1.2, 1.2) rotate(45deg);
  }
  60% {
    transform: scale(1, 1) rotate(45deg);
  }
  80% {
    transform: scale(1.1, 1.1) rotate(45deg);
  }
  100% {
    transform: scale(1, 1) rotate(45deg);
  }
}

/* ========== JOB INFORMATION ========== */

article {
  padding-top: 3.6em;
}
.anchor {
  margin-top: -3.6em;
  padding-top: 3.6em;
}

.job_info p {
  margin-bottom: 1.6em;
}

/* -- nav -- */
.job_info .nav_ttl {
  margin: 2.4em 0 0.8em;
  font-size: 1.2em;
}
.job_info .page_nav {
  margin-bottom: 4em;
}
.job_info .page_nav a {
  display: inline-block;
}
.job_info .page_nav a + a {
  margin-left: 2em;
}

/* -- table -- */
.job_info table {
  width: 100%;
  margin-bottom: 2em;
  border-collapse: collapse;
}

.job_info th,
.job_info td {
  padding: 1.6em 0.8em;
  border-bottom: 1px solid #f1f1f1;
  font-size: 0.8em;
}

.job_info th {
  width: 10em;
  background: #f1f1f1;
  border-color: #fff;
  font-weight: normal;
  text-align: left;
}

.job_info tr:first-child th {
  text-align: center;
  border-top: 2px solid #002c33;
}

.job_info td h2 {
  font-size: 1.4em;
}
.job_info td h3 {
  font-size: 1.1em;
  margin-bottom: 0.4em;
}

.job_info td p {
  margin-bottom: 1.2em;
}
.job_info td p:last-child {
  margin-bottom: 0;
}

.job_info td .fl {
  font-size: 1.1em;
}

.job_info .btn {
  margin-bottom: 4em;
}

@media screen and (min-width: 768px) {
  .job_info th,
  .job_info td {
    padding: 2.4em 1.6em;
    font-size: 0.9em;
  }

  .job_info th {
    width: 15em;
  }

  .job_info tr:first-child th {
    font-size: 1.2em;
    border-top: 2px solid #002c33;
  }

  .job_info td h3 {
    font-size: 1.2em;
    margin-bottom: 0.4em;
  }

  .job_info td .fl {
    font-size: 1.2em;
  }

  .job_info .btn {
    width: 300px;
  }
}

/* ========== *** ========== */

.btn.nolink {
  background-color: #ddd;
  cursor: default;
  pointer-events: none;
}
