.pc_none {
  display: none !important;
}
.sp_none {
  display: block !important;
}

#recruit {
  width: 1024px;
  margin: 0 auto 50px;
}

#recruit * {
  box-sizing: border-box;
}

#recruit p,
#recruit ol,
#recruit dl {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

#recruit a.button {
  position: relative;
  display: block;
  width: 360px;
  height: 60px;
  line-height: 30px;
  padding: 14px 0 14px;
  border: #e50012 2px solid;
  color: #e50012;
  font-weight: bold;
  background: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}

#recruit a.button:hover {
  color: #fff;
  background: #e50012;
}

#recruit a.button:after {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) translateX(-50%);
  display: inline-block;
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("../../../common/img/arrow_red.webp");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  transition: 0.3s;
}

#recruit a.button:hover:after {
  right: 15px;
  background-image: url("../../../common/img/arrow_white.webp");
}

#recruit a.button.yellow {
  border: #e7ba0e 2px solid;
  color: #000;
}
#recruit a.button.yellow:hover {
  color: #000;
  background: #e7ba0e;
}
#recruit a.button.yellow:after {
  background-image: url("../img/arrow_yellow.webp");
}

#recruit a.button.yellow:hover:after {
  background-image: url("../img/arrow_black.webp");
}

#recruit h1 {
  font-size: 34px;
  color: #000;
  margin: 25px 0;
  padding: 10px 0 10px 15px;
  border-left: #d51e13 2px solid;
}
#recruit h2 {
  font-size: 28px;
  border-bottom: 1px #c4c4c4 solid;
  padding: 10px;
  margin: 40px 0 20px;
}
#recruit h3 {
  font-size: 24px;
  margin: 0 0 30px;
  line-height: 1;
}
/* ---------------ぱんくず--------------- */

#recruit .pankuzu {
  margin: 20px 0 0;
  text-align: left;
}
#recruit .pankuzu li,
#recruit .pankuzu li a {
  display: inline-block;
  color: #333333;
  font-size: 14px;
  text-decoration: none;
  position: relative;
  padding: 0 20px 0 0;
}
#recruit .pankuzu li a::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 0px;
  border-top: solid 1px #333333;
  border-right: solid 1px #333333;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 3px;
  right: -20px;
  margin: 0 20px;
}
#recruit .pankuzu li:last-child:after {
  content: none;
}
#recruit .pankuzu li a:hover {
  text-decoration: underline;
}
#recruit .detail {
  margin: 0 0 50px;
}
#recruit table,
#recruit tr,
#recruit th {
  font-size: 16px;
  color: #333;
}

#recruit table {
  width: 100%;
  margin: 0 0 10px;
  border-collapse: collapse;
  border-spacing: 0;
  display: flex;
  border: none;
  table-layout: fixed;
}
#recruit tbody {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 50%;
}
#recruit tbody:last-child tr {
  border-right: 1px solid #c4c4c4;
}
#recruit tr {
  flex-grow: 1;
  border: 1px solid #c4c4c4;
  border-right: none;
  border-bottom: none;
  display: flex;
}
#recruit tr:first-child {
  border-bottom: none;
}
#recruit tr:first-child td {
  text-align: center;
}
#recruit tr:last-child {
  border-bottom: 1px solid #c4c4c4;
}
#recruit th {
  background: #eeeeee;
  width: 115px;
  padding: 15px 10px;
}

#recruit td {
  padding: 15px 15px;
  flex-grow: 1;
}

#recruit td .detail_tel {
  margin: 0 0 0 20px;
}

#recruit td a {
  /* color: #333;
  float: right;
  position: relative;
  padding: 0 0 0 25px; */
  text-decoration: underline;
}

#recruit td a:hover {
  text-decoration: none;
}

/* #recruit td a:before {
  content: "";
  width: 8px;
  height: 8px;
  border: 0px;
  border-top: solid 2px #e50012;
  border-right: solid 2px #e50012;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 6px;
  left: -15px;
  margin: 0 20px;
} */

#recruit .column_two {
  display: flex;
  gap: 40px;
  margin-block-end: 80px;
}
#recruit .column_two_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(50% - 20px);
  gap: 15px;
}

#recruit .column_two_inner .contact_introduction {
  border: 1px #c4c4c4 solid;
  padding: 20px;
  flex-grow: 1;
  align-content: center;
  width: 100%;
}
#recruit .column_two_inner .contact_introduction span {
  margin-block-start: 10px;
  text-align: center;
  display: block;
}
#recruit .column_two_inner .contact_introduction a {
  text-decoration: underline;
}
#recruit .column_two_inner .contact_introduction a:hover {
  text-decoration: none;
}
/* ------------------------------------------------------------------------------------------
SP
------------------------------------------------------------------------------------------ */

@media only screen and (max-width: 767px) {
  .pc_none {
    display: block !important;
  }
  .sp_none {
    display: none !important;
  }
  #recruit {
    width: 100%;
  }
  #recruit .wrap {
    margin: 20px 0 0;
  }
  #recruit h1 {
    width: 90%;
    margin: 0 auto 20px;
    padding: 10px 0 10px 15px;
  }
  #recruit .pankuzu {
    text-align: left;
    margin: 20px 0 0 10px;
  }
  #recruit .pankuzu li,
  #recruit .pankuzu li a {
    font-size: 14px;
  }
  #recruit .pankuzu li a::after {
    content: "";
    width: 5px;
    height: 5px;
    border: 0px;
    border-top: solid 1px #333333;
    border-right: solid 1px #333333;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 6px;
    right: -20px;
    margin: 0 20px;
  }
  #recruit .detail {
    width: 90%;
    margin: 10px auto 50px;
  }
  #recruit table,
  #recruit tr,
  #recruit th {
    width: 100%;
    border: none !important;
    box-sizing: border-box;
    margin: 0 auto;
    font-size: 16px;
  }
  #recruit table {
    flex-direction: column;
    gap: 40px;
  }
  #recruit tr {
    display: block;
  }
  #recruit tr:first-child td {
    display: block;
    width: calc(100% - 30px);
    font-weight: bold;
  }

  #recruit tr:first-child td {
    width: 100%;
  }
  #recruit th {
    display: block;
    background: #8ea3b1;
    color: #fff;
    font-size: 16px;
    padding: 4px 15px 2px;
    margin: 10px 0;
  }
  #recruit .column_two {
    flex-direction: column;
  }
  #recruit .column_two_inner {
    width: 100%;
  }
}
