/* -------------------------------------------
共通パッチ
------------------------------------------- */
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;
  font-weight: 500;
}

.c-headline-001__en {
  font-weight: 400;
  color: #fff;
  /* 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-ttl"] {
  font-weight: 700;
  /* color: var(--sub-txt); */
}

div[class^="m-require-"][class$="__detail-desc"] {
  font-weight: 500;
}

.m-header-001__logo-link-img {
  display: block;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img {
    display: none;
  }
}

.m-header-001__logo-link-img.is-mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img.is-mobile {
    display: block;
  }
}

/* .m-header-001__logo {
    padding: 20px 40px;
}

@media screen and (max-width: 767px) {
    .m-header-001__logo {
        padding: 15px;
    }
}

.m-header-001__logo-link-img {
    max-height: 30px;
}

@media screen and (max-width: 767px) {
    .m-header-001__logo-link-img {
        max-height: 30px;
    }
} */

/* サブカラー 背景を無効化したいとき */
/* .c-module-container > section:nth-of-type(odd) {
  background-color: transparent;
} */

/* 募集要項の罫線 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: var(--primary-border);
}

.single-post_recruit .m-header-001 {
  margin-bottom: -80px;
  /* PCヘッダーの高さ */
  background: rgba(163, 134, 101, 0.6);
}

@media screen and (max-width: 767px) {
  .single-post_recruit .m-header-001 {
    margin-bottom: -50px;
    /* SPヘッダーの高さ */
  }
}

/* 見出し下の余白設定 */
.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;
}

/* -------------------------------------------
企業理念 003
------------------------------------------- */
/* 色調整 */
.m-about-003 {
  /* background: #000 !important; */
}

.m-about-003__headline-txt {
  /* color: var(--primary); */
}

.m-about-003__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-about-003 {
  padding: 120px 0;
}

@media screen and (max-width: 767px) {
  .m-about-003 {
    padding: 40px 0;
  }
}

.m-about-003__detail {
  padding-bottom: 0;
}

@media screen and (max-width: 767px) {
  .m-about-003__detail {
    padding: 20px 0 0;
  }
}

.m-about-003__headline {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .m-about-003__headline {
    margin-bottom: 20px;
  }
}

.m-about-003__headline:only-child {
  margin-bottom: 0;
}

.m-about-003__headline + .m-about-003__desc {
  margin-top: -2px;
}

.m-about-003__headline-txt {
  font-weight: 700;
}

.m-about-003__desc-txt {
  padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
  .m-about-003__desc-txt {
    padding: 24px 0 0;
  }
}

.m-about-003__desc-txt:first-child {
  padding-top: 0;
}

/* -------------------------------------------
社風 003
------------------------------------------- */
/* 色調整 */
.m-culture-003 {
  background: #a38665;
}

.m-culture-003__list-item-detail-ttl {
  border: solid var(--primary-border, #dddddd);
  /* color: var(--primary);*/
}

/* その他 */
.m-culture-003 {
  padding: 120px 20px;
}

@media screen and (max-width: 767px) {
  .m-culture-003 {
    padding: 40px 20px;
  }
}

.m-culture-003__inner {
  max-width: 800px;
}

.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-bottom: 40px;
  }
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item {
    padding-bottom: 30px;
  }
}

.m-culture-003__list-item:last-child {
  padding-bottom: 0;
}

.m-culture-003__list-item-figure {
  margin: 0;
}

.m-culture-003__list-item-detail {
  padding: 20px 20px 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list-item-detail {
    padding: 20px 0 0;
  }
}

.m-culture-003__list-item-detail-ttl {
  border-width: 0 0 1px;
  font-weight: 700;
}

.m-culture-003__list-item-detail-ttl-txt {
  font-size: 2rem;
  font-weight: 700;
}

@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;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item-detail-desc-txt {
    font-size: 1.5rem;
  }
}

/* -------------------------------------------
仕事内容（単体） 001
------------------------------------------- */
.m-jobs-001 {
  /* background: #e5f6ef; */
}

.m-jobs-001__content-desc {
  /* color: #333; */
  /* color: var(--primary); */
}

.m-jobs-001__list-item-detail-ttl {
  color: #fff;
}

.m-jobs-001 {
  padding: 100px 20px 120px;
}

@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: 500;
}

/*テキストを内側に寄せたい場合は削除*/
.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: 0.4em 0.8em;
  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;
  }
} */

/* -------------------------------------------
メッセージ 003
------------------------------------------- */
/* 色調整 */
.m-message-003 {
  background: #a38665 !important;
}

.m-message-003__headline-txt {
  /* color: var(--primary); */
}

.m-message-003__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-message-003 {
  padding: 120px 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-txt {
  font-weight: 700;
}

.m-message-003__headline + .m-message-003__desc {
  margin-top: -2px;
}

.m-message-003__desc-txt {
  padding: 0 0 30px;
  font-weight: 500;
}

@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;
}

/* ----------------------------------------------------------------------- */

.m-header-001__logo {
  padding: 7px 20px;
}

.m-header-001__logo-link-img {
  max-height: 63px;
}

.m-header-001__btn-link {
  background: #951f1b;
  min-height: 80px;
}

.m-require-001 {
  padding-top: 120px;
}

.m-require-001__detail-ttl,
.m-require-001__detail-desc {
  background: #a38665;
}

.m-require-001__detail .m-require-001__detail-row:nth-of-type(2n) .m-require-001__detail-ttl,
.m-require-001__detail .m-require-001__detail-row:nth-of-type(2n) .m-require-001__detail-desc {
  background: transparent;
}

.m-require-001__entry-btn {
  background: #951f1b;
}

.m-require-001__detail-flow-ttl-number {
  background: transparent;
}

.m-require-001__detail-desc::before {
  opacity: 0;
}

.m-footer-001 {
  background: #a38665;
}

.m-footer-001__copyright {
  font-size: 15px;
  font-size: 1.5rem;
}

.g-pagetop-btn::before {
  background: #951f1b;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 5px 20px;
  }

  .m-header-001__logo-link-img {
    max-height: 39px;
  }

  .m-header-001__btn-link {
    min-height: 50px;
  }

  .m-require-001 {
    padding-top: 40px;
  }

  .m-footer-001__copyright {
    font-size: 14px;
    font-size: 1.4rem;
  }
}

/* ----------------------------------------------------------------------- */

@media screen and (max-width: 767px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
}

@media screen and (max-width: 374px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
  }

  .m-culture-003__list-item-detail-ttl-txt {
    letter-spacing: 0.1rem;
  }

  .m-message-003__headline [class$="__headline-txt"] {
    letter-spacing: 0;
  }
}
