@charset "utf-8";

#joboffer {
  padding-bottom: 50px;
  border-top: 5px #000 solid;
  background: url("../../img/linedot_yellow.gif");
  overflow: hidden;
}
#joboffer h2.star-ttl {
  position: relative;
  margin-bottom: 30px;
  padding-top:60px;
  z-index: 2;
}
#joboffer .item img {
  z-index: 1;
}
#joboffer .item .nakatani {
  bottom:0;
  right:50%;
  transform: translateX(345px);
  width: 258px;
}
#joboffer .item .cracker {
  bottom: 35px;
  left: 50%;
  transform: translateX(-275px);
  width: 100px;
}
#joboffer .intro {
  margin-bottom: 100px;
}
#joboffer .intro .inner {
  padding: 30px;
  text-align: center;
}
#joboffer .years {
  margin-bottom: 120px;
}
#joboffer .years:last-child {
  margin-bottom: 0;
}
#joboffer .years .ribbon-ttl {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
#joboffer .years .ribbon-ttl:before {
  display: inline-block;
  content: "";
  width: 30px;
  height: 40px;
  margin-right: 15px;
  background: url("../../achievement/img/ribbon.png") no-repeat left top / 100% 100%;
}
#joboffer .years .ribbon-ttl p {
  font-weight: bold;
  font-size: 25px;
}
#joboffer .years .ribbon-ttl p span {
  font-weight: bold;
  color: #1dbcff;
}
#joboffer .years .white-block {
  margin-bottom: 30px;
}
#joboffer .years .white-block .inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px;
}
#joboffer .years .white-block .portrait {
  width: 230px;
  margin-right: 30px;
  border-radius: 5px;
}
#joboffer .years .white-block .text {
  flex: 1;
}
#joboffer .years .white-block .text h4 {
  margin-bottom: 20px;
  padding: 10px 0; 
  border-bottom: 3px #ffef00 solid;
  font-size: 1.375em;
}
#joboffer .years .white-block .text h4 .name {
  display: inline-block;
  margin-right: 20px;
  font-weight: bold;
}
#joboffer .years .white-block .text h4 .occupation {
  display: inline-block;  
  line-height: 1.3;
  padding: 5px 15px;
  border-radius: 25px;
  background: #ff317f;
  color: #fff;
  font-weight: bold;
  font-size: 0.773em;
  vertical-align: 3px;
}
#joboffer .years .white-block .text .comment {
  line-height: 1.7;
}
#joboffer .years .white-block .text-only {
  line-height: 1.4;
  font-weight: bold;
  font-size: 1.125em;
}
#joboffer .years .white-block .text-only li {
  margin-bottom: 15px;
}
#joboffer .years .white-block .text-only li:last-child {
  margin-bottom: 0;
}



@media all and (max-width: 812px) {
  .sns-share {
    margin-top: 100px;
  }
  #joboffer h2.star-ttl {
    padding-top:40px;
  }
  #joboffer .item .nakatani {
    transform: translateX(270px);
    width: 170px;
  }
  #joboffer .item .cracker {
    bottom: 15px;
    transform: translateX(-235px);
    width: 85px;
  }
  #joboffer .intro {
    margin-bottom: 70px;
  }
  #joboffer .intro .inner {
    line-height: 1.5;
    padding: 5%;
    font-size: 0.875em;
    text-align: left;
  }
  #joboffer .years .ribbon-ttl {
    margin-bottom: 15px;
  }
  #joboffer .years .ribbon-ttl:before {
    width: 25px;
    height: 33px;
  }
  #joboffer .years .ribbon-ttl p {
    font-size: 22px;
  }
  #joboffer .years .white-block {
    margin-bottom: 30px;
  }
  #joboffer .years .white-block .inner {
    padding: 20px;
  }
  #joboffer .years .white-block .portrait {
    width: 160px;
    margin-right: 20px;
  }
  #joboffer .years .white-block .text {
    width: calc(100% - 180px);
  }
  #joboffer .years .white-block .text h4 {
    margin-bottom: 10px;
    padding: 10px 0; 
    font-size: 1.25em;
  }
  #joboffer .years .white-block .text h4 .name {
    margin: 0 10px 10px 0;
  }
  #joboffer .years .white-block .text .comment {
    font-size: 0.875em;
  }
  #joboffer .years .white-block .text-only {
    font-size: 1em;
  }
}

@media all and (max-width: 568px) {
  #joboffer .item .nakatani {
    transform: translateX(160px);
    width: 120px;
  }
  #joboffer .item .cracker {
    bottom: 10px;
    transform: translateX(-145px);
    width: 60px;
  }

  #joboffer .years .white-block .inner {
    display: block;
  }
  #joboffer .years .white-block .portrait {
    display: block;
    width: 230px;
    margin: 0 auto 10px;
  }
  #joboffer .years .white-block .text {
    width: 100%;
  }
  #joboffer .years .white-block .text h4 {
    font-size: 1.125em;
  }
  #joboffer .years .white-block .text h4 .occupation {
    padding: 5px 10px;
  }
}


































