/* 求人 */

h3#recruit3 {
  background: url(../img/all/title_recruit_staff.jpg) no-repeat;
}

#menu {
  position: relative;
}
#menu:after {
  position: absolute;
  bottom: -7px;
  left: 0;
  display: block;
  width: 100%;
  height: 7px;
  content: '';
  background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
}

input {
  vertical-align: -1px;
}

[type='text'], textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: 1px solid #cfcfcf;
}
[type='text'] {
  height: 38px;
  line-height: 38px;
}
.inputItem [type='text'] {
  width: 270px;
}
textarea {
  height: 100px;
  resize: vertical;
}

.input_date {
  width: 300px;
}

select {
  display: inline-block;
  width: fit-content;
  min-width: 3em;
  height: 38px;
  padding: 0 1em 0 0.5em;
  vertical-align: middle;
  border: none;
  background-color: transparent;

  appearance: none;
}

.selectbox {
  position: relative;
  display: inline-block;
  margin-right: 3px;
  border: 1px solid #cfcfcf;
}
.selectbox::after {
  position: absolute;
  top: 50%;
  right: 0.2em;
  margin-top: -0.5em;
  content: '>';
  transform: rotate(90deg) scaleX(0.6);
  pointer-events: none;
  color: #444;
  line-height: 1;
}


.button {
  margin: 20px 0 20px;
  text-align: center;
}

button {
  display: inline-block;
  width: 10rem;
  height: 3rem;
  cursor: pointer;
  text-align: center;
  color: #fff;
  border: none;
  border-radius: 3px;
  background-color: #4870ff;
  line-height: 3rem;

  appearance: none;
}

.staff.confirm input:read-only {
  border: none;
}

.staff.confirm textarea:read-only {
  height: fit-content;
  height: 100px;
  border: none;
}

table {
  border-collapse: collapse;
  background-color: #fff;
}

table th {
  width: 200px;
}



/* フォームの確認画面 */
.staff {
  margin: 50px 0 0;
}
.staff table {
  width: 860px;
  max-width: 100%;
  margin: 0 auto;
}
.staff table th, .staff table td {
  padding: 10px;
  border: 1px solid #cfcfcf;
}
.staff table th {
  text-align: center;
  vertical-align: middle;
  background-color: #f6f6f6;
}
.staff table td {
  text-align: left;
  vertical-align: middle;
}

.staff span {
  color: inherit;
}
.staff span.must {
  display: inline-block;
  margin: 0 5px;
  padding: 2px 5px;
  color: #fff;
  border-radius: 3px;
  background-color: #ff0000;
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
}
.staff dl dt {
  padding: 10px;
  background-color: #f6f6f6;
  line-height: 1;
}

.staff dl dd {
  margin: 15px 0;
}

.staff dl dd:last-child {
  margin-bottom: 5px;
}

.staff dl.employment {
  display: flex;
  flex-wrap: wrap;
}


.staff dl.employment dd {
  width: auto;
  margin-right: 3rem;
}
.staff dl.employment dd:nth-child(n+4) {
  margin-top: 10px;
}

.staff .domain {
  margin: 10px 0 0;
  padding: 10px;
  background-color: #fffedc;
  font-size: 12px;
  line-height: 1.6;
}

.staff .order_title {
  display: inline-block;
  padding: 0 10px 0 0;
  vertical-align: middle;
}

.staff .order_content {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin: -10px 0;
  padding: 10px;
  border-left: 1px solid #cfcfcf;
}
.staff .order_content > div {
  margin-right: 10px;
}

.staff .inputItem {
  display: inline-block;
}

.staff .span_margin {
  margin-left: 20px;
}

.staff .nightwork {
  display: flex;
  align-items: center;
  vertical-align: middle;
}

.staff .nightwork > div {
  margin-right: 20px;
}
.staff .nightwork div:last-child {
  width: 300px;
}

.staff.complete .message {
  margin: 50px 0;
}


.banner {
  width: 860px;
  max-width: 100%;
  margin: 0 auto 15px;
}

.banner img {
  width: 100%;
  height: auto;
}

.recruit {
  width: 860px;
  max-width: 100%;
  margin: 20px auto 0;
  text-align: left;
  line-height: 1.6;
}

.recruit p {
  margin: 20px 0;
}
.recruit a {
  color: inherit;
}

.recruit_title {
  color: #4870ff;
  font-size: 22px;
  font-weight: bold;
}

.recruit h1 {
  margin: 40px 0 10px;
  padding: 10px;
  color: #fff;
  background-color: #4870ff;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1;
}

.recruit h2 {
  margin: 20px 0;
  padding: 5px;
  border-bottom: 2px solid #4870ff;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1;
}

.recruit table {
  width: 100%;
}

.recruit table th, .recruit table td {
  padding: 20px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #cfcfcf;
  line-height: 1.6;
}

.recruit table th {
  width: 200px;
  padding: 20px 0;
  text-align: center;
  background-color: #e3f0ff;
}

.recruit .contact {
  margin: 0 auto;
  text-align: center;
}

.recruit .contact img {
  width: 40%;
  height: auto;
}

.recruit .contact_tel {
  display: flex;
  justify-content: center;
  margin: 20px 0 20px;
  font-size: 1.4em;
}
.recruit .contact_tel div {
  margin: 0 20px;
}

.recruit .contact_line {
  margin: 20px 0 20px;
}


@media screen and (max-width: 768px) {
  #contents {
    color: #000;
    background-color: #fff;
  }
  #contents a {
    color: #000;
  }

  input {
    vertical-align: -1px;
  }

  [type='text'], textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: 1px solid #cfcfcf;
  }
  [type='text']:focus, textarea:focus {
    font-size: 16px;
  }
  [type='text'] {
    height: 38px;
    line-height: 38px;
  }
  .inputItem [type='text'] {
    width: 100%;
  }
  textarea {
    height: 100px;
    resize: vertical;
  }

  .button {
    margin: 20px 0 20px;
    text-align: center;
  }

  button {
    display: inline-block;
    width: 10rem;
    height: 3rem;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 3px;
    background-color: #4870ff;
    line-height: 3rem;

    appearance: none;
  }

  .staff.confirm input:read-only {
    border: none;
  }

  .staff.confirm textarea:read-only {
    height: fit-content;
    height: 100px;
    border: none;
  }
  .staff.complete {
    margin: 10px 0;
    padding: 10px 0;
    background-color: #fff;
  }


  #banner {
    margin-bottom: 10px;
  }

  #banner img {
    width: 100%;
    height: auto;
  }

  .hiru h3 {
    color: #00d0ff;
  }
  .yoru h3 {
    color: #00d0ff;
  }

  .hiru span, .hiru strong {
    color: #66b5ff;
  }

  .yoru span, .yoru strong {
    color: #9a66ff;
  }

  table th {
    width: 100%;
  }


  /* フォームの確認画面 */
  .staff {
    margin: 30px 0 0;
  }
  .staff table {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
  }

  .staff table, .staff table thead, .staff table tbody, .staff table tr, .staff table th, .staff table td {
    display: block !important;
    box-sizing: border-box;
    text-align: left;
    border: none;
  }

  .staff table th {
    padding: 5px;
    border-left: 2px solid #00d0ff;
    background-color: transparent;
  }
  .staff table th br {
    display: none;
  }
  .staff table td {
    padding: 10px 0;
  }
  .staff table tr:last-child td {
    padding: 10px 0 0;
  }

  .staff span {
    color: inherit;
  }
  .staff span.must {
    display: inline-block;
    margin: 0 5px;
    padding: 2px 5px;
    color: #fff;
    border-radius: 3px;
    background-color: #ff0000;
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
  }
  .staff dl dt {
    padding: 10px;
    background-color: #f6f6f6;
    line-height: 1;
  }

  .staff dl dd {
    margin: 15px 0;
  }

  .staff dl dd:last-child {
    margin-bottom: 5px;
  }

  .staff dl.employment {
    display: flex;
    flex-wrap: wrap;
  }


  .staff dl.employment dd {
    width: 100%;
    margin: 10px 0 0;
  }
  .staff dl.employment dd:first-child {
    margin-top: 0;
  }

  .staff .domain {
    margin: 10px 0 0;
    padding: 10px;
    background-color: #fffedc;
    font-size: 12px;
    line-height: 1.6;
  }

  .staff .order_title {
    display: inline-block;
    padding: 0 10px 0 0;
    vertical-align: middle;
  }

  .staff .order_content {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    border: none;
  }
  .staff .order_content > div {
    margin-right: 10px;
  }

  .staff .inputItem {
    display: block;
    margin-top: 10px;
  }
  .staff .inputItem:first-child {
    margin-top: 0;
  }

  .staff .span_margin {
    margin-left: 0;
  }

  .staff .nightwork {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    vertical-align: middle;
  }

  .staff .nightwork > div {
    margin-right: 20px;
  }
  .staff .nightwork div:last-child {
    width: 100%;
    margin-right: 0;
  }

  .staff.complete .message {
    margin: 50px 0;
    text-align: center;
  }


  .banner {
    width: 100%;
    margin: 0 auto 15px;
  }

  .banner img {
    width: 100%;
    height: auto;
  }

  .recruit {
    text-align: left;
    /* margin: 20px 10px 0; */
    line-height: 1.6;
  }

  .recruit p {
    margin: 20px 0;
  }

  .recruit_title {
    color: #4870ff;
    font-size: 20px;
    font-weight: bold;
  }

  .recruit h1 {
    margin: 40px 0 10px;
    padding: 10px;
    color: #fff;
    background-color: #4870ff;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1;
  }

  .recruit h2 {
    margin: 20px 0;
    padding: 5px;
    border-bottom: 2px solid #4870ff;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1;
  }

  .recruit table, .recruit table thead, .recruit table tbody, .recruit table tr, .recruit table th, .recruit table td {
    display: block;
    box-sizing: border-box;
    width: 100%;
  }

  .recruit table th, .recruit table td {
    padding: 10px 10px;
    vertical-align: middle;
    background-color: #fff;
    line-height: 1.6;
  }

  .recruit table th {
    padding: 10px 0;
    text-align: center;
    background-color: #e3f0ff;
  }

  .recruit .contact {
    margin: 0 auto;
    text-align: center;
  }

  .recruit .contact img {
    width: 60%;
    height: auto;
  }

  .recruit .contact_tel {
    justify-content: center;
    margin: 20px 0 20px;
    font-size: 1.4em;
  }
  .recruit .contact_tel div {
    margin: 10px 0;
  }

  .recruit .contact_line {
    margin: 20px 0 20px;
  }
}
