/* -------------------------------------------
共通パッチ
------------------------------------------- */
img {
  vertical-align: bottom;
}

/* PCとタブレットのみ改行を適用 */
@media screen and (min-width: 767.01px) {
  .pc-tab {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .pc-tab {
    display: none;
  }
}

/* 要項ページ body */
.single-post_recruit {
  color: var(--sub-txt, #333);
  word-break: break-word;
}

.c-headline-001__en {
  font-weight: 400;
  /* text-transform: uppercase; */
}

.c-headline-001__ja {
  font-weight: 700;
  line-height: 1.6;
}

.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}

/* 募集要項の罫線 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: var(--primary-border);
}

/* 見出し下の余白設定 */
.c-headline-001 {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .c-headline-001 {
    margin-bottom: 20px;
  }
}

/* 見出し後のコンテンツの上余白を削除 */
.c-headline-001 + * {
  padding-top: 0;
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
   font-size: 2rem;
   letter-spacing: .2rem;
 }
}

@media screen and (max-width: 374px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
   font-size: 1.8rem;
   letter-spacing: .1rem;
 }
}

.m-header-001 {
  background: #1b1919;
}

.m-header-001__logo {
  padding: 7px 40px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 15px;
  }
}

.m-header-001__logo-link-img {
  max-height: 66px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img {
    max-height: 30px;
  }
}

/* -------------------------------------------
メッセージ 004
------------------------------------------- */
/* 色調整 */
.m-message-004 {
  background: #1b1919 !important;
}

.m-message-004::before {
  /* background: var(--primary-bg, #04a1af); */
}

.m-message-004__headline-txt {
  color: #fff;
  font-weight: 700;
}

.m-message-004__desc-txt {
  color: #fff;
}

/* その他 */
.m-message-004 {
  padding: 80px 0;
}

@media screen and (max-width: 767px) {
  .m-message-004 {
    padding: 40px 0;
  }
}

.m-message-004::before {
  top: 0;
  max-height: 45vw;
}

.m-message-004__detail {
  padding-bottom: 0;
}

.m-message-004__headline {
  margin-bottom:40px;
}

@media screen and (max-width: 767px) {
  .m-message-004__headline {
    margin-bottom: 20px;
  }
}

.m-message-004__headline:only-child {
  margin-bottom: 0;
}

.m-message-004__headline + .m-message-004__desc {
  margin-top: -2px;
}

.m-message-004__desc-txt {
  padding: 0 0 30px 0;
}

@media screen and (max-width: 767px) {
  .m-message-004__desc-txt {
    text-align: left;
    padding-bottom: 24px;
  }
}

.m-message-004__desc-txt:first-child {
  padding-top: 0;
}

.m-message-004__desc-txt:last-child {
  padding-bottom: 0;
}

/* -------------------------------------------
仕事内容（単体） 001
------------------------------------------- */
.m-jobs-001 {
  background: #494747;
  color: #fff;
}

.m-jobs-001__content-desc {
  /* color: #333; */
  /* color: var(--primary); */
}

.m-jobs-001__list-item-detail-ttl {
  color: var(--primary);
}

.m-jobs-001 {
  padding: 80px 20px;
}

@media screen and (max-width: 767px) {
  .m-jobs-001 {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__content-desc {
    text-align: left;
  }
}

.m-jobs-001__list {
  padding: 0;
}

.m-jobs-001__list-item:last-child {
  padding-bottom: 0;
}

.m-jobs-001__list-item-inner {
  align-items: center;
}

.m-jobs-001__list-item-figure {
  min-height: 490px;
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-figure {
    min-height: auto;
  }
}

.m-jobs-001__list-item-detail {
  width: 40%;
  margin: 0 0 0 3%;
  padding: 40px 0;
}

.m-jobs-001__list-item-detail-ttl {
  display: block; /*safariバグ対策*/
  padding: 0;
  margin: 0 0 15px;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  background: transparent;
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail-ttl {
    font-size: 1.8rem;
  }
}

.m-jobs-001__list-item-detail-desc {
  font-weight: 400;
}

/*テキストを内側に寄せたい場合は削除*/
.m-jobs-001__list-item-detail {
  width: 45%;
  margin: 0;
  padding: 40px 0% 40px 40px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-001__list-item-detail {
    padding: 20px 0 40px 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail {
    width: 100%;
    margin: 0 0 0 0%;
    padding: 20px 0;
  }
}

.m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
  margin: 0 3% 0 0;
  padding: 40px 0%;
}

/*テキストを内側に寄せたい場合は削除*/
.m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
  margin: 0;
  padding: 40px 40px 40px 0%;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    padding: 20px 20px 40px 0;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    margin: 0;
    padding: 20px 0;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item:last-child .m-jobs-001__list-item-detail {
    padding-bottom: 0;
  }
}

/*タブレットから縦並びの時*/
@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-inner,
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-inner {
    flex-direction: column;
  }
  .m-jobs-001__list-item-figure {
    width: 100%;
    min-height: 440px; /*適宜変更*/
  }
  .m-jobs-001__list-item-detail {
    width: 100%;
    margin: 0;
    padding: 20px 0px;
  }
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    padding: 20px 0px;
  }
  .m-jobs-001__list-item:last-child .m-jobs-001__list-item-detail {
    padding-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-figure {
    min-height: auto;
  }
}

.m-jobs-001__list-item-detail-ttl {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-txt);
  padding: 8px;
  margin: 0 0 30px;
  line-height: 1.5;
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-detail-ttl {
    margin: 0 0 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail-ttl {
    margin: 0 0 10px;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-detail {
    padding: 30px 0px 20px !important;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail {
    padding: 15px 0px 20px !important;
  }
}

@media screen and (max-width: 1024px) {
    .m-jobs-001__list-item:last-child .m-jobs-001__list-item-detail {
      padding-bottom: 0 !important;
    }
  }

/* -------------------------------------------
メッセージ 003
------------------------------------------- */
/* 色調整 */
.m-message-003 {
  background: #1b1919 !important;
}

.m-message-003__headline-txt {
  /* color: var(--primary); */
  font-weight: 700;
}

.m-message-003__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-message-003 {
  padding: 80px 20px;
}

@media screen and (max-width: 767px) {
  .m-message-003 {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 1024px) {
  .m-message-003__inner {
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
}

@media screen and (max-width: 1024px) {
  .m-message-003__figure {
    width: calc(100% - 20px);
  }
}

@media screen and (max-width: 1024px) {
  .m-message-003__detail {
    width: calc(100% - 20px);
    margin: -10% 0 0 20px;
  }
}

.m-message-003__headline {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .m-message-003__headline {
    margin-bottom: 20px;
  }
}

.m-message-003__headline:only-child {
  margin-bottom: 0;
}

.m-message-003__headline + .m-message-003__desc {
  margin-top: -2px;
}

.m-message-003__desc-txt {
  padding: 0 0 30px;
}

@media screen and (max-width: 767px) {
  .m-message-003__desc-txt {
    padding: 0 0 24px;
  }
}

.m-message-003__desc-txt:last-child {
  padding-bottom: 4px;
}

@media screen and (max-width: 767px) {
  .m-message-003__desc-txt:last-child {
    padding-bottom: 2px;
  }
}

.m-message-003__desc:only-child .m-message-003__desc-txt:last-child {
  padding-bottom: 0;
}

/* -------------------------------------------
社風 003
------------------------------------------- */
.m-culture-003 {
  padding: 40px 0 80px;
  background: #1b1919 !important;
}

@media screen and (max-width: 767px) {
  .m-culture-003 {
    padding: 20px 20px 40px;
  }
}

.m-culture-003__inner {
  max-width: 800px;
}

.m-culture-003 .c-headline-001__en {
  /* color: #fff; */
}

.m-culture-003 .c-headline-001__ja {
  /* color: #fff; */
}

.m-culture-003__list {
  padding: 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list {
    padding: 0;
  }
}

.m-culture-003__list-item {
  margin: 0;
  padding: 0 0 60px 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list-item {
    padding: 0;
  }
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item {
    padding: 0;
  }
}

.m-culture-003__list-item:last-child {
  padding-bottom: 0;
}

.m-culture-003__list-item-detail {
    padding-bottom: 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list-item:not(:last-child) .m-culture-003__list-item-detail {
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 1024px) {
    .m-culture-003__list-item:last-child .m-culture-003__list-item-detail {
        padding-bottom: 0;
      }
}

.m-culture-003__list-item-detail-ttl {
  border: solid #fff;
  border-width: 0 0 1px;
}

.m-culture-003__list-item-detail-ttl-txt {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item-detail-ttl-txt {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 320px) {
  .m-culture-003__list-item-detail-ttl-txt {
    font-size: 1.6rem;
  }
}

.m-culture-003__list-item-detail-desc-txt {
  font-size: 1.5rem;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item-detail-desc-txt {
    font-size: 1.5rem;
  }
}

.m-require-001 {
  background: #494747 !important;
}

.m-require-001 .c-headline-001__ja {
  color: #fff;
}

.m-require-001__detail-desc::before {
  background: #fff;
  opacity: 1;
}

.m-require-001__detail-desc {
    font-weight: 500;
}

.m-footer-001 {
  background: #1b1919;
}