.infotab {
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  border: solid 1px #005eae;
  margin: 3em 0 2.5em;
  font-size: 16px;
}
.infotab li {
  text-align: center;
  width: 20%;
  border-right: solid 1px #005eae;
}
.infotab li:last-child {
  border-right: none;
}
.infotab li a:link,
.infotab li a:visited {
  color: #005eae;
  padding: 1em 0 1.7em;
  line-height: 1.2;
  display: block;
  text-align: center;
  position: relative;
}
.infotab li a::after {
  content:" ";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 4.5px 0 4.5px;
  border-color: #005eae transparent transparent transparent;
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -2px;
  bottom: 0.8em;
}
.infotab li.active a::after {
  border-color: #fff transparent transparent transparent;
}
.infotab li span,
.day span.new,
dd.type span,
.status .new,
.status .emp span {
  background-color: #005eae;
  display: inline-block;
  border-radius: 5px;
  color: #fff;
  padding: 2px 5px;
  margin-right: 1px;
}
.infotab li.new span,
.day span.new,
.status .new {
  background-color: #cc0000;
}
.infotab li.active a:link,
.infotab li.active a:visited {
  color: #fff;
  background-color: #005eae;
}
.infotab li.active {
  background-color:#005eae;
}
.infotab li.active span {
  background-color: #fff;
  color: #005eae;
}
.infotab li.active.new span {
  background-color: #cc0000;
  color: #fff;
}
.reccat {
  width: 100%;
  margin: 0 auto 1.5em;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.reccat li {
  width: 25%;
  font-size: 16px;
  margin-bottom: 1.12em;
}
/*.reccat li:nth-child(2),
.reccat li:nth-child(5) {
  width: 36%;
}*/
.reccat li::before {
  content: "";
  display: inline-block;
  background-color: #5100ad;
  width: 2.125em;
  height: 1em;
  margin-right: 0.5em;
  vertical-align: middle;
}
.reccat li.cat_ceremony::before,
#jobWrap dd.jobcat.cat_ceremony,
#offerDetail .ttl.cat_ceremony span {
  background-color: #7ec72b;
}
.reccat li.cat_group::before,
#jobWrap dd.jobcat.cat_group,
#offerDetail .ttl.cat_group span {
  background-color: #005eae;
}
.reccat li.cat_farm::before,
#jobWrap dd.jobcat.cat_farm,
#offerDetail .ttl.cat_farm span {
  background-color: #00ada8;
}
.reccat li.cat_sun::before,
#jobWrap dd.jobcat.cat_sun,
#offerDetail .ttl.cat_sun span {
  background-color: #ffb400;
}
.reccat li.cat_kids::before,
#jobWrap dd.jobcat.cat_kids,
#offerDetail .ttl.cat_kids span {
  background-color: #ff31e0;
}
.reccat li.cat_sunflower::before,
#jobWrap dd.jobcat.cat_sunflower,
#offerDetail .ttl.cat_sunflower span {
  background-color: #e74c3c;
}
.reccat li.cat_ooboshi::before,
#jobWrap dd.jobcat.cat_ooboshi,
#offerDetail .ttl.cat_ooboshi span {
  background-color: #627f01;
}

#jobWrap {
  display: flex;
/*  justify-content: space-between;*/
  flex-wrap: wrap;
  font-size: 16px;
/*  padding-bottom: 7.5em;*/
  padding-bottom: 2.5em;
}

#jobWrap dl {
  width: 32%;
  box-sizing: border-box;
  border: solid 1px #aaaaaa;
  margin: 0 0 1.25em;
  position: relative;
}
#jobWrap dl:not(:nth-child(3n)) {
  margin-right: 2%;
}
#jobWrap dt {
  border-bottom: solid 1px #aaaaaa;
  text-align: center;
  background-color: #e0e0e0;
  color: #000;
  font-weight: 700;
  min-height: 3.6em;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.37;
}
#jobWrap dd.info {
  padding: 1.12em;
}
#jobWrap dd.info p {
  margin-bottom: 0;
}
#jobWrap dd.info p.day {
  margin-bottom: 0.3em;
}
#jobWrap dd.info p.msg {
  line-height: 1.6;
}
#jobWrap dd.type {
  padding: 0 1.12em;
}
#jobWrap dd.jobcat {
  background-color: #5100ad;
  color: #fff;
  text-align: right;
  font-size: 13px;
  padding: 0.3em;
  position: absolute;
  left: 0;
  bottom:0;
  display: block;
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.05em;
}
.day span.new,
dd.type span {
  line-height: 1.2;
}
dd.type span {
  margin-right: 5px;
}
.emp b {
  background-image: url(/img/recruit/emp_icon.png);
  background-size: 26px 22px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 1.8em;
  display: inline-block;
  margin-left: 10px;
}
.emp b i {
  font-weight: 600;
}
#jobWrap dd.info p.msg a:link,
#jobWrap dd.info p.msg a:visited {
  text-decoration: underline;
}
#jobWrap dd.info p.msg a:hover {
  text-decoration: none;
}

#offerDetail .ttl {
  border-bottom: none;
  font-size: 18px;
  color: #000;
  border: solid 1px #aaaaaa;
  border-bottom: none;
  background-color: #e0e0e0;
  padding: 0;
  margin: 0 0 1.2em;
}
#offerDetail .ttl p {
  display: block;
  padding: 1em 1.3em;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  margin: 0;
}
#offerDetail .ttl p br {
  display: none;
}
#offerDetail .ttl span {
  display: block;
  text-align: right;
  font-size: 16px;
  padding: 5px 8px;
  background-color: #5100ad;
  margin: 0;
  color: #fff;
}
#offerDetail .inner {
  padding: 0 1.25em;
  font-size: 16px;
  color: #000;
}
.status {
  display: flex;
  align-items: center;
  margin-bottom: 3em;
}
.status p {
  margin-bottom: 0;
}
.status .day {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
}
.status .new,
.status .emp span {
  line-height: 1.2;
  margin: 0 0.5em;
}
#offerDetail dl,
#offerDetail div.msg {
  line-height: 1.6;
  margin-bottom: 2.25em;
}
#offerDetail dl.msg dt,
#offerDetail div.msg h1,
#offerDetail div.msg h2,
#offerDetail div.msg h3,
#offerDetail div.msg h4 {
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #000;
  font-size: 100%;
  border: none;
  background-color: transparent;
  padding: 0;
}
#offerDetail div.msg p {
  margin-bottom: 5px;
}
#offerDetail div.msg h3::before {
  content: "";
}
#offerDetail h3 {
  border-bottom: none;
  font-size: 18px;
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 1.4em;
}
#offerDetail h3::after {
  display: none;
}
#offerDetail h3::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  width: auto;
}
#offerDetail table {
  border-collapse:collapse;
  width: calc(100% - 30px);
  margin: -5px auto 2.6em;
}
#offerDetail th {
  font-size: 14px;
  background-color: #e0e0e0;
  padding: 1em;
  font-weight: 600;
  text-align: left;
  min-width: 9.5em;
  box-sizing: border-box;
  vertical-align: middle;
}
#offerDetail th,
#offerDetail td {
  border: solid 5px #fff;
  line-height: 1.5;
  vertical-align: middle;
}
#offerDetail td {
  padding: 0.5em 1.87em;
}
.movWrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content:center;
}
.movWrapper .mov {
  width:45%;
  height: 0;
  padding-top: 25.31%;
  overflow: hidden;
  position: relative;
  margin-bottom: 4em;
}
.movWrapper .mov:nth-child(even) {
  margin-left: 5%;
}
.movWrapper .mov iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.photoWrap {
  display: flex;
/*  justify-content: space-between;*/
  flex-wrap: wrap;
  padding-bottom: 5.5em;
}
.photoWrap li {
  width: 32%;
  margin-bottom: 1.5em;
}
.photoWrap li:not(:nth-child(3n)) {
  margin-right: 2%;
}
.photoWrap li img {
  max-width: 100%;
}
.bottomNav {
  display: flex;
  max-width: 715px;
  margin: 0 auto;
  padding-bottom: 10em;
  justify-content: space-between;
}
.bottomNav li {
  width: 32%;
}
.bottomNav li a:link,
.bottomNav li a:visited {
  display: block;
  box-sizing: border-box;
  border: solid 1px #005eae;
  color: #005eae;
  text-align: center;
  line-height: 1;
  padding: 1em;
}
.bottomNav li.prev a span::before,
.bottomNav li.next a span::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 7px 4px 0;
  border-color: transparent #005eae transparent transparent;
  display: inline-block;
  margin-right: 2em;
  vertical-align: middle;
}
.bottomNav li.next a span::after {
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #005eae;
  margin-right: 0;
  margin-left: 2em;
}
@media print, screen and (min-width: 960px){
  .infotab li a:hover,
  .bottomNav li a:hover {
    opacity: 0.5;
  }
}
@media print, screen and (max-width: 959px){
  .reccat {
    padding-left: 0;
  }
  #jobWrap dd.type {
    padding-bottom: 1em;
  }
  #jobWrap dt br {
    display: none;
  }
  .infotab,
  .reccat li,
  #jobWrap,
  #jobWrap dd.jobcat {
    font-size: 1.73vw;
  }
  .reccat li {
    width: 33.3%;
  }
  #offerDetail h3::before {
    background-color: transparent;
    bottom: inherit;
  }
  .emp b {
    background-size: 1.6em;
    padding-left: 2.5em;
  }
}
@media print, screen and (max-width: 425px){
  .infotab, .reccat li, #jobWrap,
  #offerDetail .ttl p,
  #offerDetail .inner,
  #offerDetail h3 {
    font-size: 3.2vw;
  }
  #offerDetail h3::before {
    font-size: 3.6vw;
    padding-top: 0;
  }
  .infotab {
    display: block;
  }
  .infotab li {
    width: 100%;
    border-right: none;
    border-bottom: solid 1px #005eae;
  }
  .infotab li:last-child {
    border-bottom: none;
  }
  .reccat {
    display: table;
    margin: 0 auto 1.5em;
    padding-left: 5em;
  }
  .reccat li,
  .reccat li:nth-child(2),
  .reccat li:nth-child(5) {
    width: 100%;
  }
  #jobWrap {
    display: block;
  }
  #jobWrap dl {
    width: 100%;
  }
  #jobWrap dl:not(:nth-child(3n)) {
    margin-right: 0;
  }
  #jobWrap dd.jobcat,
  #offerDetail .ttl span,
  .status .day,
  #offerDetail th {
    font-size: 2.8vw;
  }
  .day span.new, dd.type span {
    line-height: 1.4;
  }
  .emp b {
    padding-left: 2.5em;
  }
  #offerDetail th {
    min-width: 7em;
  }
  #offerDetail td {
    padding: 0.5em 1em;
  }
  .movWrapper .mov {
    width: 100%;
    padding-top: 56.25%;
  }
  .movWrapper .mov:nth-child(even) {
    margin-left: 0;
  }
  .photoWrap li {
    width: 100%;
    margin-bottom: 1em;
  }
  .photoWrap li:not(:nth-child(3n)) {
    margin-right: 0;
  }
  .bottomNav li {
    width: 48%;
  }
  .bottomNav li.prev a span::before {
    margin-right: 1.5em;
  }
  .bottomNav li.next a span::after {
    margin-left: 1.5em;
    }

}
