/* -------------------------------------------
共通パッチ
------------------------------------------- */
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: 16px 40px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 16px 15px;
    max-width: 220px;
  }
}

.m-header-001__logo-link-img {
  display: block;
  max-height: 47px;
}

@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: 47px;
}

@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; */
  color: var(--primary-bg);
}

.c-headline-001__ja {
  font-weight: 500;
  line-height: 1.6;
  color: var(--primary);
}

@media screen and (max-width: 767px) {
  .c-headline-001__ja {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
}

@media screen and (max-width: 374px) {
  .c-headline-001__ja {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
  }
}

/* モジュール内見出し */
[class$="__headline-txt"],
[class$="__content-ttl"] {
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
}

@media screen and (max-width: 374px) {
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
  }
}

/* サブカラー 背景を無効化したいとき */
.c-module-container > section:nth-of-type(odd) {
  background-color: transparent;
}

/*
投稿ページ「タイトル：日本語」に img タグを挿入
<img class="img-headline pc-tab" src="https://minamiyamatoah.itszai.jp/wp-content/uploads/2022/11/gallery-pc.png" /><img class="img-headline sp" src="https://minamiyamatoah.itszai.jp/wp-content/uploads/2022/11/gallery-sp.png" /><img class="img-headline sp320" src="https://minamiyamatoah.itszai.jp/wp-content/uploads/2022/11/gallery-sp320.png" />
*/
.img-headline {
  margin: 0 auto;
  height: 60px;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .img-headline {
    height: 44px;
  }
}
@media screen and (max-width: 374px) {
  .img-headline.sp {
    display: none;
  }
}

.img-headline.sp320 {
  display: none;
  height: 41px;
}

@media screen and (max-width: 374px) {
  .img-headline.sp320 {
    display: inline-block;
  }
}

/* -------------------------------------------
仕事一覧 002
------------------------------------------- */
.m-works-002__item:first-child,
.m-works-002__item:nth-child(4) {
  width: 100%;
}

.m-works-002__item:first-child .m-works-002__item-inner,
.m-works-002__item:nth-child(4) .m-works-002__item-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
  padding: 30% 0 0;
  -webkit-box-pack: end;
  justify-content: flex-end;
}

@media screen and (max-width: 767px) {
  .m-works-002__item:first-child .m-works-002__item-inner,
  .m-works-002__item:nth-child(4) .m-works-002__item-inner {
    padding: 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.m-works-002__item:first-child .m-works-002__figure,
.m-works-002__item:nth-child(4) .m-works-002__figure {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@media screen and (max-width: 767px) {
  .m-works-002__item:first-child .m-works-002__figure,
  .m-works-002__item:nth-child(4) .m-works-002__figure {
    position: static;
    width: 100%;
  }
}

.m-works-002__item:first-child .m-works-002__detail,
.m-works-002__item:nth-child(4) .m-works-002__detail {
  width: 50%;
  background: var(--primary-bg, #04a1af);
  color: var(--primary-txt, #fff);
}

@media screen and (max-width: 1024px) {
  .m-works-002__item:first-child .m-works-002__detail,
  .m-works-002__item:nth-child(4) .m-works-002__detail {
    width: 70%;
  }
}

@media screen and (max-width: 767px) {
  .m-works-002__item:first-child .m-works-002__detail,
  .m-works-002__item:nth-child(4) .m-works-002__detail {
    width: 100%;
  }
}

.m-works-002 {
  padding: 80px 0;
}

@media screen and (max-width: 767px) {
  .m-works-002 {
    padding: 40px 0;
  }
}

.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(2) .m-works-002__item-inner,
.m-works-002__item:nth-child(3) .m-works-002__item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.m-works-002__item:nth-child(2) .m-works-002__figure,
.m-works-002__item:nth-child(3) .m-works-002__figure {
  min-height: 1px;
}

.m-works-002__item:nth-child(2) .m-works-002__detail,
.m-works-002__item:nth-child(3) .m-works-002__detail {
  flex: 1 0 auto;
}

.m-works-002__detail {
  background: var(--primary);
  color: var(--primary-txt);
}

.m-works-002__ttl-ja {
  font-weight: 500;
}

@media screen and (min-width: 767.01px) {
  .m-works-002__ttl-ja {
    font-size: 19px;
    font-size: 1.9rem;
  }
}

.m-works-002__desc-txt {
  padding-bottom: 0;
}

@media screen and (min-width: 767.01px) {
  .m-works-002__desc-txt {
    font-size: 15px;
    font-size: 1.5rem;
  }
}

.m-works-002__more {
  margin-top: 20px;
}

/* -------------------------------------------
メッセージ 003
------------------------------------------- */
.m-message-003 {
  padding: 0 20px 80px;
  /* background: #000 !important; */
}

@media screen and (max-width: 767px) {
  .m-message-003 {
    padding: 0 20px 40px;
  }
}

@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-message-002 {
  /* background: #000 !important; */
  /* background-position: top center; */
}

.m-message-002-bg {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 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: var(--primary);
  opacity: 0.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;
}

/* -------------------------------------------
動画 003
------------------------------------------- */
.m-movie-003__container {
  padding: 90px 0;
}

@media screen and (max-width: 1024px) {
  .m-movie-003__container {
    padding: 8% 0;
  }
}

.m-movie-003__slide-link::before,
.m-movie-003__slide-link::after {
  content: none;
}

.m-movie-003__pagination .swiper-pagination-bullet-active {
  background: var(--primary-bg);
  border-color: var(--primary-bg);
}

/* -------------------------------------------
募集要項
------------------------------------------- */
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); */
  background: var(--primary);
}

div[class^="m-require-"][class$="__detail-desc"] {
  font-weight: 500;
}

.m-require-001 {
  padding: 0 0 80px;
}

@media screen and (max-width: 767px) {
  .m-require-001 {
    padding: 0 0 40px;
  }
}

.m-require-001__detail-desc::before {
  opacity: 0;
}

.m-require-001__detail-flow-ttl-number {
  background: var(--primary);
}

/* -------------------------------------------
フッター
------------------------------------------- */
.m-footer-001 {
  color: var(--sub-txt);
  background: var(--sub-bg);
}

/* コピーライト */
.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}
