/* キービジュアル */
.kv-by {
  background: url('/wp-content/themes/swell_child/edit/img/kv-recruit-by.jpg') no-repeat center;
  background-size: cover;
  height: 498px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-big-by);
  font-weight: bold;
  color: #fff;
}
@media (max-width: 1024px){
  .kv-by {
    height: 200px;
  }
}
.kv-by::after {
  background: url("/wp-content/themes/swell_child/edit/img/kv-wave.svg");
  bottom: 0;
  content: '';
  height: 90px;
  position: absolute;
  width: 100%;
}
@media (max-width: 1024px){
.kv-by::after {
    background: url("/wp-content/themes/swell_child/edit/img/kv-wave.svg") center;
    height: 28px;
    bottom: -5px;
  }
}


/* 表の中身を左寄せ */
.table-by td {
  text-align: left;
}
@media (max-width: 768px){
.table-by td {
    text-align: center;
  }
}


/* 表の横幅 */
.table-by th {
    width: 25%;
}


/* h3の文字サイズ */
.h-left_line-by {
  font-size: var(--fs-small-by);
  color: var(--black_color-by);
  margin-top: 16px;
}



/*******************************************************
ここからContact Form 7で出力するテーブル
*******************************************************/

/* 必須アイコン */
.form-required-by {
    padding: 5px;
    background: var(--accent_color-by);
    color: var(--white_color-by);
    border-radius: 3px;
    font-size: var(--fs-mini-by);
    display: inline-block;
    margin-right: 8px;
}

/* 任意アイコン */
.form-any-by {
    padding: 5px;
    background: var(--sub_color-by);
    color: var(--white_color-by);
    border-radius: 3px;
    font-size: var(--fs-mini-by);
    display: inline-block;
    margin-right: 8px;
}

/* テーブル全体 */
.form_table-by {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
    width: 100%;
    margin-bottom: 40px;
}

/* テーブルのth */
.form_table-by th {
    background-color: var(--main_color-by);
    border-bottom: solid 1px var(--black_color-by);
    box-sizing: border-box;
    color: var(--black_color-by);
    padding: 35px 20px;
    width: 30%;
    min-height: 120px;
    font-size: var(--fs-text-by);
}
@media (max-width: 768px) {
    .form_table-by th {
        display: block;
        padding: 16px 20px;
        min-height: auto;
        width: 100%;
    }
}
.form_table-by tr:first-child th {
    border-top: solid 1px var(--black_color-by);
}
.form_table-by th p {
    width: 80%;
    margin: auto;
    text-align: left;
}
@media (max-width: 768px) {
    .form_table-by th p {
        width: 100%;
    }
  }

/* テーブルのtd */
.form_table-by td {
    background-color: var(--white_color-by);
    border-bottom: solid 1px var(--black_color-by);
    box-sizing: border-box;
    color: var(--black_color-by);
    padding: 35px 20px;
    min-height: 120px;
    align-items: center;
}
@media (max-width: 768px) {
    .form_table-by td {
        display: block;
        margin-left: 0px;
        min-height: auto;
        padding: 16px 20px;
        width: 100%;
    }
}
.form_table-by tr:first-child td {
    border-top: solid 1px var(--black_color-by);
}
@media (max-width: 768px) {
    .form_table-by tr:first-child td {
        border-top: none;
    }
}

/* テーブル内の入力欄 */
.form_input-by input {
    border: 1px solid var(--black_color-by);
    border-radius: 2px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    background: var(--white_color-by);
    font-size: 16px;
  }
  @media (max-width: 768px) {
    .form_input-by input {
      margin-left: 0;
      margin-top: 0px;
      height: 40px;
      flex: inherit;
      font-size: 14px;
    }
    .form_input_last-by input {
      margin-top: 16px;
    }
}
/* テーブル内の自由入力欄 */
  .form_input_text-by textarea {
    border: 1px solid var(--black_color-by);
    border-radius: 2px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    background: var(--white_color-by);
    font-size: 16px;
  }
  @media (max-width: 768px) {
    .form_input_text-by textarea {
      margin-top: 0px;
      margin-left: 0;
      height: 200px;
      flex: inherit;
      font-size: 14px;
    }
  }

/* テーブル内のセレクトボックス */
  .form_select-by select {
    border: 1px solid var(--black_color-by);
    border-radius: 2px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    background: var(--white_color-by);
    font-size: 16px;
  }
  @media (max-width: 768px) {
    .form_select-by select {
      margin-top: 0px;
      margin-left: 0;
      height: 40px;
      flex: inherit;
      font-size: 14px;
    }
  }

/* 仕様で入るbrを消す */
  .form_input-by br, .form_input_text-by br {
    display: none;
  }

/* プライバシーポリシー横のチェックボックス */
.wpcf7-list-item-by .wpcf7-list-item {
    margin: 0 0 0 0 !important;
}
.wpcf7-list-item-by .wpcf7-list-item input {
    margin-right: 8px;
    vertical-align: middle;
}

/* 注意書きのテキスト */
.contact_text-by {
  color: var(--black_color-by);
  font-size: var(--fs-text-by);
  margin-top: 4px;
}

/* 送信のボタン */
.wpcf7-submit {
    display: block;
    width: 30%;
    max-width: 240px;
    color: var(--white_color-by);
    font-weight: bold;
    font-size: var(--fs-small-by);
    text-align: center;
    border-radius: 100vh;
    padding: 12px;
    position: relative;
    background-color: var(--accent_color-by);
    border: solid 1px var(--white_color-by);
    margin: 40px auto 0;
}
@media (max-width: 768px){
  .wpcf7-submit {
    width: 100%;
  }
}
.wpcf7-submit:hover {
  opacity: var(--opa_color-by);
  transition: var(--opa_tra-by);
}

/* メッセージが送信されましたの枠の色 */
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--accent_color-by) !important;
}

/* エラーの枠の色 */
.wpcf7 form.invalid .wpcf7-response-output {
    border-color: var(--red_color-by) !important;
}

/* エラーの色 */
.wpcf7-not-valid-tip {
    color: var(--red_color-by) !important;
}