/* 採用（main.careers） */

main.careers {
  position: relative;
}

main.careers .main_visual {
  position: relative;
}

main.careers .main_visual .img {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

main.careers .main_visual .txtarea {
  position: absolute;
  z-index: 2;
}

main.careers .main_visual .txtarea h1 {
  line-height: 0.7;
  color: #08435e;
  letter-spacing: 0.01em;
}

main.careers .main_visual .txtarea .btn a:hover span:after {
  animation: hover_line_footer 0.8s;
}

@keyframes hover_line_footer {
  0% {
    width: 100%;
    left: 0%;
  }

  33% {
    width: 100%;
    left: 0%;
  }

  66% {
    width: 0%;
    left: 100%;
  }

  66.01% {
    width: 0%;
    left: 0%;
  }

  100% {
    width: 100%;
  }
}

main.careers .section1,
main.careers .section2,
main.careers .section3,
main.careers .section4,
main.careers .section5 {
  transition: transform 800ms, opacity 800ms;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translate3d(0, 200px, 0);
  opacity: 0;
}

main.careers .section1.show,
main.careers .section2.show,
main.careers .section3.show,
main.careers .section4.show,
main.careers .section5.show {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

main.careers .section1 .inner .left img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

main.careers .section1 .inner .right h2 {
  font-weight: 400;
  font-size: 2.1rem;
}

main.careers .section2 {
  position: relative;
  z-index: 2;
}

main.careers .section2 .imgarea {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

main.careers .section2 .imgarea .left img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

main.careers .section2 .imgarea .right img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

main.careers .section3 {
  position: relative;
  background-color: #f5f5f5;
}

main.careers .section3 p.ttl {
  width: 100%;
  color: #084b5e;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

main.careers .section3 p.ttl:before {
  display: block;
  content: "";
  height: 1px;
  background-color: #08435e;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -1px;
}

main.careers .section3 .inner {
  margin: 0 auto;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

main.careers .section3 .block h3 {
  font-size: 2.1rem;
  font-weight: 400;
}

main.careers .section5 {
  position: relative;
}

main.careers .section5 .txtarea {
  position: absolute;
  z-index: 2;
}

main.careers .section5 .txtarea p.ttl {
  width: 100%;
  color: #084b5e;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

main.careers .section5 .txtarea p.ttl:before {
  display: block;
  content: "";
  height: 1px;
  background-color: #08435e;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -1px;
}

main.careers .section5 .txtarea h2 {
  letter-spacing: 0.05em;
}

main.careers .section5 .txtarea h2 a {
  color: #084b5e;
}

main.careers .section5 .img {
  position: absolute;
  z-index: -1;
}

main.careers .section5 .img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

main.careers .section5 ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

main.careers .section5 ul li {
  width: 50%;
}

main.careers .section5 ul li img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

@media screen and (min-width: 1024px) {
  main.careers .main_visual {
    display: flex;
    align-items: center;
  }

  main.careers .main_visual .img {
    background-image: url("/img/careers/mainvisual-pc.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  main.careers .main_visual .txtarea {
    right: 113px;
  }

  main.careers .main_visual .txtarea h1 {
    font-size: 6.25vw;
    margin-left: -2px;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  main.careers .main_visual .txtarea .btn {
    margin-top: 64px;
  }

  main.careers .main_visual .txtarea .btn a {
    position: relative;
    color: #08435e;
    font-size: 2.6rem;
    font-weight: 300;
    letter-spacing: 0.04em;
  }

  main.careers .main_visual .txtarea .btn a:hover:before {
    animation: arrow8 .5s;
  }

  main.careers .main_visual .txtarea .btn a:before {
    content: "";
    border: 0px;
    width: 9px;
    height: 9px;
    border-top: solid 1px #08435e;
    border-right: solid 1px #08435e;
    position: absolute;
    transform: rotate(45deg);
    margin-top: 5px;
  }

  main.careers .main_visual .txtarea .btn a span {
    position: relative;
    left: 34px;
    letter-spacing: 0.05em;
  }

  main.careers .main_visual .txtarea .btn a span:after {
    content: "";
    height: 1px;
    width: 100%;
    background-color: #08435e;
    display: inline-block;
    top: 26px;
    left: 0;
    position: absolute;
  }

  main.careers .section1 .inner {
    width: 66.75%;
    margin: 142px auto 143px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
  }

  main.careers .section1 .inner .left {
    width: 47%;
    margin-left: -0.8%;
  }

  main.careers .section1 .inner .right {
    width: 40.4494382%;
  }

  main.careers .section1 .inner .right h2 {
    font-size: 2.6rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  main.careers .section1 .inner .right p {
    font-size: 1.6rem;
    line-height: 2;
  }

  main.careers .section2 .imgarea .left {
    width: 21.625%;
    margin-top: 153px;
    margin-left: 11.75%;
  }

  main.careers .section2 .imgarea .right {
    width: 48.375%;
  }

  main.careers .section3 {
    margin-top: -219px;
    padding: 319px 0 146px;
  }

  main.careers .section3 p.ttl {
    margin: 0 auto 35px;
    padding-left: 49px;
    font-size: 1.6rem;
  }

  main.careers .section3 p.ttl:before {
    width: 40px;
  }

  main.careers .section3 .inner {
    width: 84.375%;
    padding-left: 4%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  main.careers .section3 .inner .block {
    width: 29.5%;
  }

  main.careers .section3 .inner .block h3 {
    font-size: 2.6rem;
    line-height: 1.6;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
  }

  main.careers .section3 .inner .block p {
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.04em;
  }

  main.careers .section4 {
    margin: 0 0 215px;
    padding-top: 198px;
    text-align: center;
  }

  main.careers .section4 h2 {
    font-size: 3.8rem;
    color: #084b5e;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 87px;
  }

  main.careers .section4 h2 span {
    display: block;
    font-size: 1.6rem;
    line-height: 2;
    margin-top: 21px;
    color: #777777;
  }

  main.careers .section4 ul {
    width: 60%;
    margin: 98px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  main.careers .section4 ul li {
    width: 47.1875%;
    border-bottom: 1px solid #cccccc;
  }

  main.careers .section4 ul li a {
    display: block;
    padding: 31px 0;
    font-size: 1.6rem;
    line-height: 2;
    background-image: url(/img/careers/icon-next.png);
    background-size: 9px 15px;
    background-repeat: no-repeat;
    background-position: right center;
    letter-spacing: 0.02em;
  }

  main.careers .section4 ul li a:hover {
    color: #0d6791;
  }

  main.careers .section5 {
    margin-bottom: 222px;
    display: flex;
    align-items: center;
  }

  main.careers .section5 .txtarea {
    left: 9.5%;
  }

  main.careers .section5 .txtarea p.ttl {
    margin-left: 8px;
    margin-bottom: 27px;
    padding-left: 49px;
    font-size: 1.6rem;
  }

  main.careers .section5 .txtarea p.ttl:before {
    width: 40px;
  }

  main.careers .section5 .txtarea h2 {
    font-size: 4.7rem;
    font-size: 2.97375vw;
    line-height: 1;
  }

  main.careers .section5 .txtarea h2 a:hover {
    color: #0d6791;
  }

  main.careers .section5 .img {
    width: 19.25%;
    top: 8px;
    left: -66px;
  }

  main.careers .section5 ul {
    width: 68.375%;
    margin-left: 31.625%;
  }
}

@media screen and (max-width: 1023px) {
  main.careers .main_visual .img {
    background-image: url("/img/careers/mainvisual-sp.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  main.careers .main_visual .txtarea {
    width: 100%;
    height: 100vh;
    text-align: center;
  }

  main.careers .main_visual .txtarea h1 {
    margin-top: 108px;
    font-size: 13.333vw;
    line-height: 1;
  }

  main.careers .main_visual .txtarea .btn {
    width: 73.333%;
    margin: 25px auto 0;
    text-align: left;
  }

  main.careers .main_visual .txtarea .btn a {
    position: relative;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: #084b5e;
  }

  main.careers .main_visual .txtarea .btn a:hover:before {
    animation: arrow4 .5s;
  }

  main.careers .main_visual .txtarea .btn a:before {
    content: "";
    border: 0px;
    width: 5.5px;
    height: 5.5px;
    border-top: solid 1px #084b5e;
    border-right: solid 1px #084b5e;
    position: absolute;
    transform: rotate(45deg);
    margin-top: 1.5px;
  }

  main.careers .main_visual .txtarea .btn a span {
    position: relative;
    left: 12px;
  }

  main.careers .main_visual .txtarea .btn a span:after {
    content: "";
    height: 1px;
    width: 100%;
    background-color: #084b5e;
    display: inline-block;
    top: 15px;
    left: 1px;
    position: absolute;
  }

  main.careers .section1 .inner {
    width: 84%;
    margin: 75px auto 52px;
  }

  main.careers .section1 .inner .left {
    margin-bottom: 43px;
  }

  main.careers .section1 .inner .right h2 {
    line-height: 1.42857;
    margin-bottom: 13px;
  }

  main.careers .section1 .inner .right p {
    font-size: 1.2rem;
    line-height: 2.167;
    letter-spacing: 0.04em;
  }

  main.careers .section2 .imgarea .left {
    width: 26.533%;
    margin-top: 100px;
    margin-left: 8%;
  }

  main.careers .section2 .imgarea .right {
    width: 57.733%;
  }

  main.careers .section3 {
    margin-top: -173px;
    padding: 223px 0 52px;
  }

  main.careers .section3 p.ttl {
    margin: 0 auto 45px;
    padding-left: 40px;
    font-size: 1.3rem;
  }

  main.careers .section3 p.ttl:before {
    width: 30px;
  }

  main.careers .section3 .inner {
    width: 83.375%;
  }

  main.careers .section3 .inner .block {
    margin-bottom: 42px;
  }

  main.careers .section3 .inner .block:last-child {
    margin-bottom: 0;
  }

  main.careers .section3 .inner .block h3 {
    margin-bottom: 15px;
  }

  main.careers .section3 .inner .block p {
    font-size: 1.2rem;
    line-height: 2.167;
  }

  main.careers .section4 {
    margin: 0 0 50px;
    padding-top: 101px;
    text-align: center;
  }

  main.careers .section4 h2 {
    font-size: 1.9rem;
    color: #084b5e;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 46px;
  }

  main.careers .section4 h2 span {
    display: block;
    font-size: 1.2rem;
    margin-top: 22px;
    color: #777777;
  }

  main.careers .section4 ul {
    width: 84%;
    margin: 0 auto;
  }

  main.careers .section4 ul li {
    width: 100%;
    border-bottom: 1px solid #e7e7e7;
  }

  main.careers .section4 ul li:first-child {
    border-top: 1px solid #e7e7e7;
  }

  main.careers .section4 ul li a {
    display: block;
    padding: 35px 0 34px;
    font-size: 1.2rem;
    background-image: url(/img/careers/icon-next-sp.png);
    background-size: 9px 15px;
    background-repeat: no-repeat;
    background-position: right center;
    letter-spacing: 0.02em;
  }

  main.careers .section5 {
    margin-bottom: 98px;
    padding-top: 189px;
  }

  main.careers .section5 .txtarea {
    width: calc(100% - 36px);
    top: 72px;
    left: 36px;
  }

  main.careers .section5 .txtarea p.ttl {
    margin: 0 auto 9px;
    padding-left: 30px;
    font-size: 1.3rem;
  }

  main.careers .section5 .txtarea p.ttl:before {
    width: 20px;
    left: 5px;
  }

  main.careers .section5 .txtarea h2 {
    font-size: 4rem;
    line-height: 1;
  }

  main.careers .section5 .img {
    width: 22%;
    top: 50px;
    left: -17px;
  }

  main.careers .section5 ul {
    width: 100%;
  }
}
