@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@600&display=swap');

/* -------------------------------------------
共通パッチ
------------------------------------------- */
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;
  /* text-transform: uppercase; */
}

.c-headline-001__ja {
  font-weight: 700;
  line-height: 1.6;
  color: #111;
}

.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: 23px 37px;
}

@media screen and (max-width: 767px) {
    .m-header-001__logo {
        padding: 16px 12px;
    }
}

.m-header-001__logo-link-img {
    max-height: 30px;
}

@media screen and (max-width: 767px) {
    .m-header-001__logo-link-img {
        max-height: 16px;
    }
}

/* サブカラー 背景を無効化したいとき */
/* .c-module-container > section:nth-of-type(odd) {
  background-color: transparent;
} */

.single-post_recruit .m-header-001 {
  background: transparent;
}

.m-header-001 + .m-kv-001 {
  margin-top: -80px; /* PCヘッダーの高さ */
}

@media screen and (max-width: 767px) {
  .m-header-001 + .m-kv-001 {
    margin-top: -53px; /* 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;
}

/*
投稿ページ「タイトル：日本語」に img タグを挿入
<img class="img-headline pc-tab" src="https://marumiyagroup.itszai.jp/wp-content/uploads/2022/06/gallery-pc.png" /><img class="img-headline sp" src="https://marumiyagroup.itszai.jp/wp-content/uploads/2022/06/gallery-sp.png" /><img class="img-headline sp320" src="https://marumiyagroup.itszai.jp/wp-content/uploads/2022/06/gallery-sp320.png" />
*/
.img-headline {
  margin: 0 auto;
  height: 61px;
}

@media screen and (max-width: 767px) {
    .img-headline{
        height: 46px;
    }
}
@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;
  }
}

/* フッター */
.m-footer-001 {
  color: var(--primary-txt, #fff);
  background: #111;
}

/* -------------------------------------------
追加パッチ（河田）
------------------------------------------- */
/* -------------------------------------------
仕事一覧 002
------------------------------------------- */
.m-works-002 {
  padding: 80px 0;
}

@media screen and (max-width: 767px) {
  .m-works-002 {
    padding: 40px 0;
  }
}

.m-works-002 .c-headline-001 {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .m-works-002 .c-headline-001 {
    margin-bottom: 20px;
  }
}

.m-works-002__inner {
  padding: 0 40px;
}

@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__detail{
  background: #fff;
  color: var(--sub-txt);
}

@media screen and (min-width: 768px) {
  .m-works-002__detail{
    padding: 50px;
  }

  .m-works-002__item:first-child .m-works-002__detail{
    padding: 60px 50px;
  }

  .m-works-002__item:first-child .m-works-002__item-inner{
    padding: 36% 0 0;
  }
}

.m-works-002__figure::before{
  padding: 70% 0 0;
}

.m-works-002__ttl{
  font-size: 1.9rem;
}

.m-works-002__desc{
  font-size: 1.5rem;
}

.m-works-002__desc-txt {
  padding-bottom: 0;
}

.m-works-002__item:not(:first-child) .m-works-002__ttl{
  color: var(--primary);
}

/* -------------------------------------------
仕事内容（単体） 002
------------------------------------------- */
.m-jobs-002 {
  padding: 80px 20px;
}

@media screen and (max-width: 767px) {
  .m-jobs-002 {
    padding: 40px 20px;
  }
}

.m-jobs-002__list {
  padding: 0;
  justify-content: center;
}

.m-jobs-002__list-item-detail-job {
word-break: break-word;
}

.m-jobs-002__list-item-detail-job {
  text-transform: uppercase;
  font-size: 4.5rem;
}

@media screen and (min-width: 1025px) {
  .m-jobs-002__list-item-detail-job {
    line-height: 1.4em;
  }
}

.m-jobs-002__list-item-detail-ttl {
  font-size: 2.5rem;
  color: #111;
}

@media screen and (max-width: 767px) {
  .m-jobs-002__list-item-detail-ttl {
    font-size: 2rem;
    margin: 0 0 15px;
  }
}

.m-jobs-002__list-item-detail-desc {
  font-weight: 400;
}

@media screen and (min-width: 1025px) {
  .m-jobs-002__list-item-detail {
    padding-bottom: 0;
    margin-top: -44px;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-002__list-item-detail {
    margin-top: -56px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-002__list-item-detail {
    padding: 20px 0;
    margin-top: -48px;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-002__list-item:last-child .m-jobs-002__list-item-detail {
    padding-bottom: 0;
  }
}

@media screen and (min-width: 1025px) {
  .m-jobs-002__list-item {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-002__list-item:last-child {
    padding-bottom: 0;
  }
}

.m-jobs-002__content-desc {
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .m-jobs-002__content-desc {
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-002__list-item-detail-job {
    font-size: 3.5rem;
  }
}

/* -------------------------------------------
追加パッチ（河田）
------------------------------------------- */
.m-jobs-002__list-item-detail-job {
  line-height: 1.1em;
  font-weight: 600;
}

.m-jobs-002__list-item-detail-ttl {
  margin: 0;
  padding: 0.8em 0 1.1em;
  line-height: 1.4em;
  font-weight: 700;
}

.m-jobs-002__list-item-detail {
  margin-top: -40px;
}

@media screen and (max-width: 767px) {
  .m-jobs-002__list-item-detail {
    margin-top: -34px;
  }
}

/* -------------------------------------------
ギャラリー 003
------------------------------------------- */
.m-gallery-003 {
  background: var(--sub-bg);
}

.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;
  }
}

/* -------------------------------------------
評価制度 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: #111;
}

.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;
  font-weight: 700;
}

@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: 600px; */
  /* 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 {
  padding: 80px 0;
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .m-jobs-004 {
    padding: 80px 0;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-004 {
    padding: 40px 20px;
  }
}

.m-jobs-004__content-images {
  padding-top: 0;
}

.m-jobs-004__content {
  margin: 0;
}

.m-jobs-004__content-ttl {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

@media screen and (max-width: 767px) {
  .m-jobs-004__content-ttl {
    font-size: 2.4rem;
  }
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .m-jobs-004__content-desc {
    padding: 0 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-004__content-desc {
    text-align: left;
  }
}

.m-require-001{
  background: transparent !important;
}

.m-require-001__detail-desc{
  background: transparent;
  color: #111;
}

.m-require-001__detail-desc::before{
  background: var(--sub-bg);
  opacity: 1;
}

@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;
  }
}