/* -------------------------------------------
共通パッチ
------------------------------------------- */
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;
}

/* ロゴ */
.m-header-001__logo {
  padding: 20px 40px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 15px;
    max-width: calc(100% - 100px);
  }
}

.m-header-001__logo-link-img {
  display: block;
  max-height: 30px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img {
    display: none;
  }
}

.m-header-001__logo-link-img.is-mobile {
  display: none;
  max-height: 30px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img.is-mobile {
    display: block;
  }
}

/* 大見出し */
.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;
}

.c-headline-001__en {
  font-weight: 400;
  /* text-transform: uppercase; */
}

.c-headline-001__ja {
  font-weight: 700;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .c-headline-001__ja {
    font-size: 2rem;
    letter-spacing: .2rem;
  }
}

@media screen and (max-width: 374px) {
  .c-headline-001__ja {
    font-size: 1.8rem;
    letter-spacing: .1rem;
  }
}

/* モジュール内見出し */
@media screen and (max-width: 767px) {

  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 2rem;
    letter-spacing: .2rem;
  }
}

@media screen and (max-width: 374px) {

  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 1.8rem;
    letter-spacing: .1rem;
  }
}

/* 募集要項 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: var(--primary-border);
}

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-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}

/*
投稿ページ「タイトル：日本語」に img タグを挿入
<img class="img-headline pc-tab" src="path/to/headline-pc.png" /><img class="img-headline sp" src="path/to/headline-sp.png" /><img class="img-headline sp320" src="path/to/headline_sp320.jpg" />
*/
.img-headline {
  margin: 0 auto;
  height: 62px;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .img-headline {
    height: 45px;
  }
}

@media screen and (max-width: 374px) {
  .img-headline.sp {
    display: none;
  }
}

.img-headline.sp320 {
  display: none;
  height: 42px;
}

@media screen and (max-width: 374px) {
  .img-headline.sp320 {
    display: inline-block;
  }
}


/* 「応募する」ボタン */
a[class^="m-require-"][class$="__entry-btn"] {
  border: 2px solid var(--primary-bg);
  background: transparent;
  color: var(--primary);
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

a[class^="m-require-"][class$="__entry-btn"]:hover {
  color: var(--primary-txt);
}

a[class^="m-require-"][class$="__entry-btn"]::before {
  background: var(--primary);
}

/* -------------------------------------------
仕事内容（単体） 004
------------------------------------------- */
.m-jobs-004 {
  padding: 80px 0;
}

@media screen and (max-width: 767px) {
  .m-jobs-004 {
    padding: 40px 0;
  }
}

.m-jobs-004__content-images {
  padding-top: 0;
}

.m-jobs-004__content {
  margin: 0;
}

.m-jobs-004__content-ttl {
  font-weight: 700;
  padding: 0 40px;
}

@media screen and (min-width: 767.1px) {
  .m-jobs-004__content-ttl {
    font-size: 3rem;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-004__content-ttl {
    padding: 0 20px;
  }
}

.m-jobs-004__content-desc {
  padding: 0 40px;
}

@media screen and (max-width: 767px) {
  .m-jobs-004__content-desc {
    text-align: left;
    padding: 0 20px;
  }
}

/* -------------------------------------------
メッセージ 003
------------------------------------------- */
.m-message-003 {
  padding: 0 20px;
  /* background: #000 !important; */
}

@media screen and (max-width: 767px) {
  .m-message-003 {
    padding: 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;
  /* color: var(--primary); */
}

.m-message-003__headline+.m-message-003__desc {
  margin-top: -2px;
}

.m-message-003__desc-txt {
  padding: 0 0 30px;
  font-weight: 500;
  /* color: #fff; */
}

@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;
}

/* -------------------------------------------
仕事一覧 002
------------------------------------------- */
.m-works-002 {
  padding: 80px 0 0;
}

@media screen and (max-width: 767px) {
  .m-works-002 {
    padding: 40px 0 20px;
  }
}

.m-works-002__inner {
  padding: 0 40px;
  max-width: 1160px;
}

@media screen and (max-width: 1024px) {
  .m-works-002__inner {
    padding: 0 20px;
  }
}

.m-works-002__items {
  margin: -10px;
  padding: 0;
}

.m-works-002__item {
  padding: 10px;
}

.m-works-002__item:nth-child(n + 2) .m-works-002__item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.m-works-002__item:nth-child(n + 2) .m-works-002__figure {
  min-height: 1px;
}

.m-works-002__item:nth-child(n + 2) .m-works-002__detail {
  flex: 1 0 auto;
}

.m-works-002__ttl-ja {
  font-weight: 500;
}

.m-works-002__desc-txt {
  padding-bottom: 0;
}

.m-works-002__more {
  margin-top: 20px;
}

/* -------------------------------------------
ギャラリー 003
------------------------------------------- */
.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;
}

@media screen and (max-width: 767px) {
  .m-gallery-003__list {
    margin: -3px;
  }
}

.m-gallery-003__list-item {
  padding: 5px;
  width: 25%;
}

@media screen and (max-width: 1024px) {
  .m-gallery-003__list-item {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .m-gallery-003__list-item {
    padding: 3px;
  }
}

/* -------------------------------------------
メッセージ 002
------------------------------------------- */
.m-message-002 {
  /* background: #000 !important; */
  /* background-position: top center; */
}

.m-message-002__inner {
  padding: 100px 40px;
}

@media screen and (max-width: 767px) {
  .m-message-002__inner {
    padding: 60px 20px;
  }
}

.m-message-002__inner::before {
  /* display: none; */
  /* background: #333; */
  opacity: .5;
}

.m-message-002__detail {
  padding: 0;
}

.m-message-002__headline {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .m-message-002__headline {
    margin-bottom: 30px;
  }
}

.m-message-002__headline:only-child {
  margin-bottom: 0;
}

.m-message-002__headline-txt {
  font-weight: 700;
  /* color: var(--primary); */
}

.m-message-002__headline+.m-message-002__desc {
  margin-top: -2px;
}

@media screen and (max-width: 767px) {
  .m-message-002__desc-txt {
    text-align: left;
  }
}

.m-message-002__desc-txt {
  padding: 30px 0 0;
  /* color: #fff; */
}

@media screen and (max-width: 767px) {
  .m-message-002__desc-txt {
    padding: 24px 0 0;
  }
}

.m-message-002__desc-txt:first-child {
  padding-top: 0;
}

.m-message-002__desc-txt:last-child {
  padding-bottom: 0;
}

/* ===================== */
.m-header-001 {
  background: #bee0e6;
}

.m-header-001__btn-link {
  min-height: 80px;
}

.m-works-002__ttl-ja {
  font-size: 19px;
  font-size: 1.9rem;
}

.m-works-002__desc-txt {
  font-size: 15px;
  font-size: 1.5rem;
}

@media screen and (max-width:767px) {
  .m-header-001__btn-link {
    min-height: 50px;
  }

  .m-message-003__headline-txt {
    font-size: 19px;
    font-size: 1.9rem;
    letter-spacing: 1px;
    letter-spacing: 0.1rem;
  }

  .m-works-002__ttl-ja {
    font-size: 18px;
    font-size: 1.8rem;
  }

  .m-works-002__desc-txt {
    font-size: 14px;
    font-size: 1.4rem;
  }

  .m-message-002__headline-txt {
    font-size: 19px;
    font-size: 1.9rem;
    letter-spacing: 1px;
    letter-spacing: 0.1rem;
  }
}

@media screen and (max-width: 374px) {
  .m-message-003__headline-txt {
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: 0;
  }

  .m-works-002__ttl-ja {
    letter-spacing: 1px;
    letter-spacing: 0.1rem;
  }

  .m-message-002__headline-txt {
    font-size: 17px;
    font-size: 1.7rem;
    letter-spacing: 0;
  }

}