@charset "UTF-8";
.contents-view {
  background-image: url(../img/page-recruit.webp);
}
.page-contents-h2.page-fadeIn {
  margin-bottom:0;
}

.recruit-form {
    width: auto;
    max-width: 1000px;
}


.frm_submit.frm_flex {
    margin-top: 20px;
}

button.frm_button_submit {
    border: none;
    width: 170px;
    height: 50px;
    border-radius: 5px;
    background: #fffbf7;
    font-size: 20px;
    color: black;
}
label {
    margin-top: 10px !important;
}

input#field_qh4icy {
}

div#frm_error_field_ocfup1, div#frm_error_field_9jv0r1, div#frm_error_field_e6lis6, div#frm_error_field_qh4icy, div#frm_error_field_29yf4d {
    color: #ffffff;
    margin-top: 5px;
    margin-bottom: 10px;
    background-color: #e24949;
    width: fit-content;
    padding: 5px 20px;
    border-radius: 7px;
}
.posting-box {
    display: flex;
    width: 100%;
    background-color: #fdf3da;
    padding: 25px;
    margin-bottom: 20px;
    transition:0.5s;
}
.posting-box:hover{
    background-color:#ffffff;
    transition:0.5s;
}
.posting-box-l img {
    max-width: 370px;
}
.posting-box-r {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.job-title {
  display: flex;
  align-items: center;
  gap: 8px;               /* 各要素の間隔 */
  font-size: 28px;
  margin: 0 0 25px 0;
}

.job-title .jp {
  font-weight: bold;
  color: #8B2F1C;         /* 濃い赤 */
}

.job-title .bar {
  flex: 0 0 20px;         /* 横棒の長さ */
  height: 3px;            /* 横棒の太さ */
  background-color: #d75e49; /* 薄い赤 */
  display: inline-block;
}

.job-title .en {
  font-weight: normal;
  font-size: 0.8em;
  color: #D07050;         /* 薄い赤 */
}

h5 {
    font-size: 20px;
    margin: 0 0 5px 0;
    color: #872d19;
}

.posting-box-r p {
    margin-bottom: 35px;
}

.worker-tag span {
    display: ruby-text;
    background-color: #e74f36;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 8px 12px;
    color: white;
}

p.posting-text {
    margin-bottom: 80px;
}
.eb-box {
    background: #fef3db;
    width: 21%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    justify-content: space-around;
    text-align: center;
    transition:0.5s;
}
.eb-box:hover{
    background:white;
    transition:0.5s;
}
.eb-container {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.eb-box img {
  width: auto !important;
  max-width: 45% !important; /* 元の55%をここに置き換え */
  height: auto !important;
  display: block;
    margin-bottom: 15px;
}
.worker-tag {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 1200px) {
  .eb-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .eb-box {
      width: 40%;
      padding: 30px 20px;
      margin: 8px;
  }
  .eb-box img {
    max-width: 40% !important;
  }

}
@media screen and (max-width: 800px) {
  .posting-box{
    width: auto;
  }
  .posting-box {
    flex-direction: column;
}

.posting-box-r p {
    margin-bottom: 15px;
}

.job-title {
    margin: 5px 0 15px 0;
    display: flex;
    justify-content: center;
}

.posting-box-l {
    display: flex;
    justify-content: center;
}

}
@media screen and (max-width: 600px) {
  .eb-box {
      display: flex;
      width: 100%;
      text-align: center;
      flex-wrap: wrap;
      padding: 20px 20px;
  }

.eb-box img {
    max-width: 74px !important;
    height: 74px !important;
}

.posting-box {
    padding: 15px;
}
.posting-box-r {
  margin: 0;
}

.job-title {
    font-size: 22px;
    justify-content: flex-start;
}

.posting-box-r h5 {
    font-size: 18px;
}
.posting-box-l img {
    width: auto;
    max-width: 100%;
}

}
