/* -------------------------------------------
共通パッチ
------------------------------------------- */
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;
}

.img-headline {
  margin: 0 auto;
}

@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__logo-link-img {
  max-height: 27px;
}

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

.m-message-005__headline-txt {
  /* color: var(--primary); */
}

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

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

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

.m-message-005__inner {
  padding: 0;
}

.m-message-005__images {
  margin: -5px 0;
}

@media screen and (max-width: 767px) {
  .m-message-005__images {
    margin: -2.5px 0;
  }
}

.m-message-005__images-item {
  padding: 5px;
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item {
    padding: 2.5px;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item:nth-child(even) {
    padding-left: 2px;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item:nth-child(odd) {
    padding-right: 2px;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item:nth-child(odd):last-child {
    padding-right: 2.5px;
  }
}

@media screen and (min-width: 767.01px) {
  .m-message-005__images-item:first-child {
    padding-left: 0;
  }
  .m-message-005__images-item:last-child {
    padding-right: 0;
  }
}

.m-message-005__detail {
  padding: 40px 40px 0;
}

@media screen and (max-width: 1024px) {
  .m-message-005__detail {
    padding: 40px 20px 0;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__detail {
    padding: 30px 20px 0;
  }
}

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

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

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

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

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

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

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

/* -------------------------------------------
評価制度 001
------------------------------------------- */
/* 色調整 */
.m-assessment-001 {
  /* background: #000 !important; */
}

.m-assessment-001 .c-headline-001__en {
  /* color: var(--primary); */
}

.m-assessment-001 .c-headline-001__ja {
  /* color: var(--primary); */
}

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

.m-assessment-001__list-item-ttl-num {
  /* background: var(--primary-bg); */
  /* color: var(--primary-txt, #fff); */
}

.m-assessment-001__list-item-ttl-txt {
  /* color: var(--sub-txt); */
}

.m-assessment-001__list-item-desc-txt {
  /* color: var(--sub-txt); */
}

/* その他 */
.m-assessment-001__inner {
  padding: 0 40px;
  max-width: 920px;
}

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

.m-assessment-001__list-item {
  padding: 0 0 40px;
}

@media screen and (max-width: 767px) {
  .m-assessment-001__list-item {
    padding-bottom: 30px;
  }
}

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

.m-assessment-001__list-item-ttl {
  border-width: 1px 0;
}

.m-assessment-001__list-item-ttl:only-child {
  margin-bottom: 0;
}

.m-assessment-001__list-item-ttl-num {
  font-weight: 600;
}

.m-assessment-001__list-item-ttl-txt {
  font-size: 2.5rem;
}

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

@media screen and (max-width: 320px) {
  .m-assessment-001__list-item-ttl-txt {
    font-size: 1.7rem;
  }
}

/* 画像の横幅を縮める 子要素の「何番目」に適用させるかは適宜変更 */
.m-assessment-001__list-item:nth-child(2) .m-assessment-001__list-item-figure-img {
  /* max-width: 70%; */
}

@media screen and (max-width: 767px) {
  .m-assessment-001__list-item:nth-child(2) .m-assessment-001__list-item-figure-img {
    /* max-width: 100%; */
  }
}

.m-assessment-001__list-item-desc {
  padding: 20px 20px 0;
}

@media screen and (max-width: 767px) {
  .m-assessment-001__list-item-desc {
    padding: 10px 0 0;
  }
}

.m-assessment-001__list-item-ttl + .m-assessment-001__list-item-desc,
.m-assessment-001__list-item-desc:only-child {
  padding-top: 0;
}

/* -------------------------------------------
仕事内容（単体） 004
------------------------------------------- */
.m-jobs-004__inner {
  max-width: 1000px;
}

.m-jobs-004__content {
  margin: 0;
}

.m-jobs-004__content-images-figure {
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .m-jobs-004__content-images-figure {
    width: 100%;
  }
}

.m-jobs-004__content-desc {
  color: #333;
}

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

/* -------------------------------------------
社風 002
------------------------------------------- */
.m-culture-002 .c-headline-001__en {
  color: var(--primary);
}

.m-culture-002__list-item-detail-ttl {
  border-color: var(--primary-border, #04a1af);
  border-width: 1px 0;
  color: var(--primary);
}

.m-culture-002__list-item-detail-ttl-txt {
  font-size: 2rem;
  color: var(--sub-txt, #333);
}

.m-culture-002__list-item-detail-desc {
  padding: 0;
}

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

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

@media screen and (min-width: 1025px) {
  .m-culture-002__list-item:first-child {
    padding-top: 0;
  }
}

@media screen and (min-width: 1025px) {
  .m-culture-002__list-item:nth-child(2) {
    padding-top: 0;
  }
}

@media screen and (min-width: 1025px) {
  .m-culture-002__list-item:nth-last-child(2) {
    padding-bottom: 0;
  }
}

.m-culture-002__list-item-figure-img {
  vertical-align: bottom;
  width: 100%;
}

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

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

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

.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-gallery-003 {
  background: #effbf0;
}

.m-gallery-003 .c-headline-001 {
  margin-bottom: 40px;
}

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

.m-gallery-003__inner {
  padding: 0 40px;
}

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

.m-gallery-003__list {
  padding: 0;
  margin: -5px;
}

.m-gallery-003__list-item {
  padding: 5px;
}

@media screen and (max-width: 1024px) {
  .m-gallery-003__list-item {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .m-gallery-003__list {
    margin: -3px;
  }

  .m-gallery-003__list-item {
    padding: 3px;
  }
}

.m-require-003__detail-ttl {
  color: var(--sub-txt, #333);
}

.m-message-005 + .m-assessment-001,
.m-jobs-004 + .m-culture-002 {
  background: #effbf0;
}