@charset "utf-8";

/* ────────────────────── *
 *                                              *
 * 共通設定                                     *
 *                                              *
 * ────────────────────── */

body {
  background: url("/jp/about/company/yaj/recruit/img/message/bg_message.png") no-repeat top center / cover;
  background-attachment: fixed;
}

#sp-body {
  display: none;
}

@media only screen and (min-width: 0px) and (max-width: 750px) {
  body {
    background: none;
  }

  #sp-body {
    background: url("/jp/about/company/yaj/recruit/img/message/bg_message_sp.png") no-repeat center center / contain;
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    pointer-events: none;
  }
}

/* ────────────────────── *
 *                                              *
 * エントリー                                   *
 *                                              *
 * ────────────────────── */

.yaj-entry {
  background: #fff;
  padding: 120px 0;
}

.yaj-entry__btn {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  width: 710px;
  margin: 0 auto 80px;
  position: relative;
  overflow: hidden;
}

.yaj-entry__btn a {
  color: #fff;
  background: #dc1e37;
  display: block;
}

.yaj-entry__btn a:hover,
.yaj-entry__btn a:focus {
  text-decoration: none;
}

.yaj-entry__btn a::before {
  content: "";
  background: #1a1a1a;
  width: 120%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform-origin: right top;
  transform: skewX(-30deg) scale(0, 1);
  transition: transform .3s;
}

.yaj-entry__btn a:hover::before {
  transform-origin: left top;
  transform: skewX(-30deg) scale(1, 1);
}

.yaj-entry__btn a::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  right: 30px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.yaj-entry__btn a span {
  display: block;
  padding: 30px;
  position: relative;
  z-index: 2;
}

.yaj-entry__logo {
  width: 400px;
  margin: 0 auto;
}

.yaj-entry__logo img {
  width: 100%;
}

@media only screen and (min-width: 0px) and (max-width: 750px) {
  .yaj-entry {
    padding: calc(100vw * 120 / 750) 0;
  }

  .yaj-entry__btn {
    font-size: calc(100vw * 30 / 750);
    width: calc(100vw * 630 / 750);
    margin: 0 auto calc(100vw * 80 / 750);
  }

  .yaj-entry__btn a::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent #ffffff;
    position: absolute;
    right: 30px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .yaj-entry__btn a span {
    padding: calc(100vw * 45 / 750);
  }

  .yaj-entry__logo {
    width: calc(100vw * 564 / 750);
  }
}

/* ────────────────────── *
 *                                              *
 * メッセージ                                   *
 *                                              *
 * ────────────────────── */

.yaj-message {
  margin: 0 auto 150px;
  position: relative;
  overflow: hidden;
}

.yaj-message__inner {
  margin: 0 auto;
}

.yaj-message__inner h2 {
  font-size: 48px;
  line-height: 1.52;
  font-weight: 500;
  padding-bottom: 60px;
  margin-bottom: 70px;
  position: relative;
}

.yaj-message__inner h2::after {
  content: "";
  background: url("/jp/about/company/yaj/recruit/img/message/bg_ribbon.png") no-repeat center center / cover;
  width: 120px;
  height: 15px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.yaj-message__inner p.yaj-message__text {
  font-size: 17px;
  line-height: 3.23;
  font-weight: 700;
}

@media only screen and (min-width: 0px) and (max-width: 750px) {
  .yaj-message {
    margin: 0 auto calc(100vw * 100 / 750);
  }

  .yaj-message__inner {
    width: calc(100vw * 630 / 750);
  }

  .yaj-message__inner h2 {
    font-size: calc(100vw * 68 / 750);
    line-height: 1.47;
    padding-bottom: calc(100vw * 90 / 750);
    margin-bottom: calc(100vw * 40 / 750);
  }

  .yaj-message__inner h2::after {
    width: calc(100vw * 160 / 750);
    height: calc(100vw * 20 / 750);
  }

  .yaj-message__inner p.yaj-message__text {
    font-size: calc(100vw * 24 / 750);
    line-height: 2.91;
  }
}


.yaj-image-closing img {
  width: 100%;
}