#job {
  line-height: 2;
}
#job .hero {
  height: 100%;

  /* 右上、左下、背景 */
  background-image: url(../img/recruit-job/job_01.png), url(../img/recruit-job/job_03.png), linear-gradient(to bottom right, #FD7045, #C10A2E);
  background-position: top 50px right 20px, bottom left -40px, top 100% left 0px;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 150px, 160px, 100% 60%;

}

#job .hero-content-wrapper {
  display: flex;
  justify-content: center;
}

#job .hero-content {
  max-width: 900px;
}

#job .hero-content__img {
  margin: auto;
}

#job .hero-content__title {
  display: flex;
  align-items: center;
}

#job .hero-content__title__mark {
  border-bottom: solid 4px #C10A2E;
  height: 4px;
  width: 40px;
  margin-right: 20px;
}

#job .hero-content__text {
  color: #FFF;
  width: 82%;
  margin: 50px auto;
}

#job .hero-content__text p {
  margin: 0;
}

#job .department-index-wrapper {
  max-width: 900px;
  margin: auto;
  padding: 100px 0 0;
  position: relative;
}

#job .department-index__title-wrapper {
  width: 68%;
  padding-bottom: 2rem;
}

#job .department-index__title {
  display: flex;
  align-items: center;
  padding-bottom: 1.5rem;
}
#job .department-index__title .p-hero-title {
  padding: 0;
}
#job .department-index__title__text {
  font-weight: bold;
  font-size: 1.2rem;
  margin-left: 2rem;
}

#job .department-index__item-list {
  display: flex;
  flex-wrap: wrap;
}

#job .department-index__item {
  width: calc(33% - 20px);
  margin: .4rem 10px
}
#job .department-index__item:hover {
  opacity: 0.6;
}
#job .department-index__item img {
  background: #FFF;
  border-radius: 50px;
}

#job .department-index__img--1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 15rem;
}
#job .department-index__img--2 {
  position: absolute;
  top: 0;
  right: 30%;
  width: 12rem;
}

#job .department-item__wrapper {
  display: flex;
  max-width: 1060px;
  margin: auto;
}

#job .department-item__content {
  max-width: 1000px;
}

/* left-img */
#job .department-item.-left-img {
  padding: 3% 0;
}
#job .department-item.-left-img .department-item__img {
  position: relative;
  width: 42%;
  padding-right: 5%;
  margin: auto;
}
#job .department-item.-left-img .department-item__content {
  width: 58%;
  padding: 0 8% 0 2%;
}

/* right-img */
#job .department-item.-right-img {
  padding: 3% 0;
}
#job .department-item.-right-img .department-item__wrapper {
  flex-direction: row-reverse;
}
#job .department-item.-right-img .department-item__img {
  position: relative;
  width: 42%;
  padding-left: 5%;
  margin: auto;
}

#job .department-item.-right-img .department-item__content {
  width: 52%;
  padding: 0 2% 0 8%;
}

#job .department-item__content-title {
  width: 60%;
}
#job .department-item__content-title img {
  width: 100%;
}

#job .department-item__content-link {
  margin-top: 2rem;
  width: 540px;
  max-width: 100%;
}
#job .department-item__content-link:hover {
  opacity: .6;
}
#job .department-item__content-link img {
  width: 100%;
}

/* PCのみ */
@media screen and (min-width: 768px) {

  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}

/* SPのみ */
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  #job .hero {
    background-size: 150px, 160px, 100% 70%;
  }

  #job .hero-content__text {
    margin: 20px auto;
  }

  #job .department-index {
    background-position: top 70% right 0, top 0 right 2%;
    width: 90%;
    margin: auto;
  }

  #job .department-index-wrapper {
    padding: 72% 0 0;
  }

  #job .department-index__img--1 {
    top: 60px;
    right: 5%;
    width: 60%;
  }
  #job .department-index__img--2 {
    top: 60px;
    left: 5%;
    width: 40%;
  }

  #job .department-index__title-wrapper {
    width: 100%;
  }
  #job .department-index__title {
    flex-direction: column;
  }

  #job .department-index__img {
    position: inherit;
    text-align: left;
    width: 20rem;
    right: 0;
  }

  #job .department-index__item {
    width: calc(50% - 20px)
  }

  #job .department-item__wrapper {
    display: block;
  }

  #job .department-item.-left-img .department-item__img {
    width: 100%;
    padding: 0;
  }
  #job .department-item.-right-img .department-item__img {
    width: 100%;
    padding: 0;
  }

  #job .department-item.-left-img .department-item__content {
    width: 82%;
    margin: auto;
    padding: 2rem 0 3rem 0;
  }
  #job .department-item.-right-img .department-item__content {
    width: 82%;
    margin: auto;
    padding: 2rem 0 3rem 0;
  }

  #job .department-item__content-title {
    width: 90%;
  }

  /* web-marketing */
  #job .department-item.-web-marketing {
    background-size: 16%, 100%;
    background-position: center right -2%;
  }
  #job .department-item.-web-marketing .department-item__img img:nth-child(1) {
    width: 80%;
    margin-top: -20%;
  }
  #job .department-item.-web-marketing .department-item__img img:nth-child(2) {
    top: -10%;
  }
  #job .department-item.-web-marketing .department-item__img img:nth-child(3) {
    bottom: 0;
    left: 60%;
    width: 30%;
  }

  /* beauty */
  #job .department-item.-beauty {
    background: url(../img/recruit-job/job_29_2.png), linear-gradient(90deg, #C10A2E, #C10A2E 1%, #FFF 1%);
    background-repeat: no-repeat, no-repeat;
    background-position: center right -2%;
    background-size: 16%, 100%;
  }
  #job .department-item.-beauty .department-item__img {
    display: flex;
    justify-content: end;
  }
  #job .department-item.-beauty .department-item__img img:nth-child(1) {
    width: 72%;
  }
  #job .department-item.-beauty .department-item__img img:nth-child(2) {
    top: 10%;
    left: 5%;
    width: 33%;
  }
  #job .department-item.-beauty .department-item__img img:nth-child(3) {
    bottom: -10%;
    left: 10%;
    width: 26%;
  }

  /* ec-mall */
  #job .department-item.-ec-mall {
    background-size: 16%, 100%;
    background-position: center right -2%;
  }
  #job .department-item.-ec-mall .department-item__img img:nth-child(1) {
    width: 72%;
  }
  #job .department-item.-ec-mall .department-item__img img:nth-child(3) {
    bottom: 0;
    width: 26%;
    left: 50%;
  }

  /* crm */
  #job .department-item.-crm {
    background: url(../img/recruit-job/job_42_2.png), linear-gradient(to bottom right, #FD7045, #C10A2E);
    background-repeat: no-repeat, no-repeat;
    background-position: center right -2%;
    background-size: 16%, 100%;
  }
  #job .department-item.-crm .department-item__img {
    display: flex;
    justify-content: end;
  }
  #job .department-item.-crm .department-item__img img:nth-child(1) {
    width: 72%;
  }
  #job .department-item.-crm .department-item__img img:nth-child(2) {
    top: 10%;
    left: 0;
    width: 33%;
  }
  #job .department-item.-crm .department-item__img img:nth-child(3) {
    bottom: -10%;
    left: 10%;
    width: 26%;
  }

  /* design */
  #job .department-item.-design {
    background-position: center right -2%;
    background-size: 16%, 100%;
  }
  #job .department-item.-design .department-item__img img:nth-child(1) {
    width: 72%;
  }
  #job .department-item.-design .department-item__img img:nth-child(2) {
    top: 10%;
    right: 16%;
    width: 30%;
  }
  #job .department-item.-design .department-item__img img:nth-child(3) {
    bottom: 8%;
    right: 5%;
    width: 40%;
  }

  /* callcenter */
  #job .department-item.-callcenter {
    background: url(../img/recruit-job/job_56_2.png), #DFDFDF;
    background-repeat: no-repeat, no-repeat;
    background-position: center right -2%;
    background-size: 16%, 100%;
  }
  #job .department-item.-callcenter .department-item__img {
    display: flex;
    justify-content: end;
  }
  #job .department-item.-callcenter .department-item__img img:nth-child(1) {
    width: 72%;
  }
  #job .department-item.-callcenter .department-item__img img:nth-child(2) {
    top: 10%;
    left: 0;
    width: 30%;
  }
  #job .department-item.-callcenter .department-item__img img:nth-child(3) {
    bottom: 8%;
    right: 5%;
    width: 40%;
  }

  /* fulfilment */
  #job .department-item.-fulfilment {
    background-position: center right -2%;
    background-size: 16%, 100%;
  }
  #job .department-item.-fulfilment .department-item__img img:nth-child(1) {
    width: 72%;
  }
  #job .department-item.-fulfilment .department-item__img img:nth-child(2) {
    top: 10%;
    left: inherit;
    right: 0;
    width: 30%;
  }
  #job .department-item.-fulfilment .department-item__img img:nth-child(3) {
    bottom: 0%;
    right: 0%;
    width: 40%;
  }

  /* world */
  #job .department-item.-world {
    background: url(../img/recruit-job/job_70_2.png), linear-gradient(90deg, #FFF, #FFF 99%, #C10A2E 1%);
    background-repeat: no-repeat, no-repeat;
    background-position: center right -2%;
    background-size: 16%, 100%;
  }
  #job .department-item.-world .department-item__img {
    display: flex;
    justify-content: end;
  }
  #job .department-item.-world .department-item__img img:nth-child(1) {
    width: 72%;
  }
  #job .department-item.-world .department-item__img img:nth-child(2) {
    width: 30%;
  }
  #job .department-item.-world .department-item__img img:nth-child(3) {
    left: 40%;
    bottom: -10%;
  }

  /* accounting */
  #job .department-item.-accounting {
    background-position: center right -2%;
    background-size: 14%, 100%;
  }


  #job .department-item__content-link {
    width: 100%;
  }
}

.p-department-wrapper {
  padding: 2rem;
}
.p-department.--left-image .p-department-wrapper {
  border-radius: 20px;
}
.p-department-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.p-department-content .p-department-content__header, .p-department-content__body {
  width: 50%;
}
.p-department-content__header {
  position: relative;
}

.p-department-content__body {
  padding: 0 2rem;
  font-weight: bold;
}
.p-department-content__body img {
  max-height: 112px;
  height: 8vw;
  width: auto;
}
.p-department.--left-image .p-department-content {
  flex-direction: row;
}

.p-department.--right-image .p-department-content {
  flex-direction: row-reverse;
}
/* image */
.p-department-float-image {
  position: relative;
}

.p-department-float-image img {
  position: absolute;
  width: 140px;
}

.p-department-float-image .--right_0-top_30 {
  top: -30px;
  right: 0;
}

.p-department-float-image .--right_0-top_0 {
  top: 0;
  right: 0;
}

.p-department-float-image .--right_20-top_20 {
  top: 20px;
  right: 20px;
}

.p-department-footer {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.p-department-footer-item {
  width: 28%;
  margin: 0 1rem;
}

.p-department-item__header .p-hero-title {
  display: flex;
  align-items: center;
}
.p-department-item__header .p-hero-title .-h2 {
  margin-right: 2rem;
  line-height: 1.2;
}

.p-department-item__body {
  margin: 1rem 0;
}
.p-department-item__body p {
  line-height: 2.5;
}

.p-department-item-link {
  margin-top: 2rem;
}

.p-department-img {
  position: absolute;
}

.p-department-img--1 {
  top: 14%;
  right: 0;
  width: 35%;
}

.p-department-img--2 {
  left: 0;
  bottom: 0;
  width: 40%;
}

.p-department-img--3 {
  left: 0;
  bottom: 0;
  width: 40%;
}

.p-department-img--4 {
  left: 0;
  bottom: 0;
  width: 40%;
}

.p-department-img--5 {
  right: 0;
  bottom: 0;
  width: 40%;
}

.p-department-img--6 {
  left: 0;
  top: 0;
  width: 40%;
}

.p-department-img--7 {
  left: 0;
  bottom: 10%;
  width: 40%;
}

.p-department-img--8 {
  right: 0;
  bottom: 0;
  width: 40%;
}

.p-department-img--9 {
  left: 0;
  bottom: 0;
  width: 40%;
}

/* SP */
@media screen and (max-width: 767px) {
  .l-contents {
    max-width: 100% !important;
  }
  .p-department {
    width: 100%;
    margin: auto;
  }
  .p-department.--left-image .p-department-content {
    flex-direction: column;
  }

  .p-department.--right-image .p-department-content {
    flex-direction: column;
  }

  .p-department-content .p-department-content__header, .p-department-content__body {
    width: 100%;
  }
  .p-department-content__body {
    padding: 0;
  }
  .p-department-content__body img {
    max-height: 100%;
    height: auto;
    width: 100%;
  }
  .p-department-item__header .p-hero-title {
    display: block;
    text-align: center;
  }
  .p-department-item__header .p-hero-title .-h2 {
    margin-right: 0;
  }
  .p-department-item__body {
    margin: 1rem auto;
  }
  .p-department-item-link {
    text-align: center;
  }
  .p-department-footer {
    flex-direction: column;
    align-items: center;
    width: 70%;
    margin: 0 auto 4rem;
  }

  .p-department-footer-item {
    margin: 1rem 0;
    width: 100%;
  }

  .p-department-float-image img {
    width: 100px;
  }
  .p-department-image--sp-right {
    width: 95%;
    margin-right: 0;
    margin-left: auto;
    display: block;
  }
  .p-department-item__body p {
    line-height: 1.8;
  }

  .p-hero-content__footer {
    margin: 2rem auto 0;
  }

  .p-department-wrapper {
    padding: 0;
    width: 80%;
  }

  .p-department-wrapper.--first {
    padding-top: 0;
  }

  .p-department-img--1 {
    top: inherit;
    bottom: 10%;
    right: 0;
    width: 40%;
  }
  .p-department-img--2 {
    left: 0;
    bottom: 0;
    width: 52%;
  }
  .p-department-img--5 {
    right: inherit;
    left: 0;
    bottom: -5%;
    width: 40%;
  }
  .p-department-img--6 {
    left: 0;
    top: inherit;
    bottom: -5%;
    width: 40%;
  }
}
