@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;
}

.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
  font-size: 1.8rem;
}

@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: 36px 79px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 20px 19px;
  }
}

.m-header-001__logo-link-img {
  max-height: 29px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img {
    max-height: 12px;
  }
}

/* サブカラー 背景を無効化したいとき */
.c-module-container > section:nth-of-type(odd) {
  background-color: transparent;
}

/* 募集要項の罫線 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: var(--primary-border);
}

.m-header-001 {
  background: #333;
}

.single-post_recruit .m-header-001 {
  background: transparent;
}

.m-header-001 + .m-kv-001 {
  margin-top: -101px; /* PCヘッダーの高さ */
}

@media screen and (max-width: 767px) {
  .m-header-001 + .m-kv-001 {
    margin-top: -52px; /* 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://sakougiken.itszai.jp/wp-content/uploads/2022/06/working-pc.png" /><img class="img-headline sp" src="https://sakougiken.itszai.jp/wp-content/uploads/2022/06/working-sp.png" /><img class="img-headline sp320" src="https://sakougiken.itszai.jp/wp-content/uploads/2022/06/working-sp320.png" />
*/
.img-headline {
  margin: 0 auto;
  height: 61px;
}

@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);
}

/* -------------------------------------------
追加パッチ（河田）
------------------------------------------- */
/* -------------------------------------------
仕事一覧 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__ttl-ja {
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  .m-works-002__ttl-ja {
    font-size: 1.9rem;
  }
}

.m-works-002__detail {
  background: var(--sub-bg);
  color: var(--sub-txt);
}

.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__desc-txt {
  padding-bottom: 0;
  font-size: 1.5rem;
}

/* -------------------------------------------
福利厚生 001
------------------------------------------- */
/* 色調整 */
.m-welfare-001 {
  /* background: #000 !important; */
  padding: 0 0 80px;
}

@media screen and (max-width: 767px) {
  .m-welfare-001 {
    padding: 0 0 40px;
  }
}

.m-welfare-001 .c-headline-001__en {
  /* color: var(--primary); */
}

.m-welfare-001__list-item-inner {
  border-color: var(--primary-border);
  /* background: #000; */
}

.m-welfare-001__list-item-ttl-num {
  /* color: var(--primary-txt); */
  /* background: var(--primary); */
  font-weight: 600;
}

.m-welfare-001__list-item-ttl-txt {
  /* color: var(--primary); */
}

.m-welfare-001__list-item-desc-txt {
  /* color: #fff; */
}

.m-welfare-001__desc-txt {
  /* color: var(--sub-txt); */
}

/* その他 */
.m-welfare-001__inner {
  max-width: 1140px;
  padding: 0 30px;
}
@media screen and (max-width: 1024px) {
  .m-welfare-001__inner {
    padding: 0 20px;
  }
}

.m-welfare-001__list {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: -20px;
}

@media screen and (max-width: 1024px) {
  .m-welfare-001__list {
    margin-top: 0;
  }
}

.m-welfare-001__list-item {
  padding: 20px 10px 0;
}

@media screen and (max-width: 1024px) {
  .m-welfare-001__list-item {
    width: 100%;
    padding: 20px 0 0;
  }
}

@media screen and (max-width: 1024px) {
  .m-welfare-001__list-item:first-child {
    padding-top: 0;
  }
}

.m-welfare-001__list-item-ttl {
  margin-bottom: 20px;
}

.m-welfare-001__list-item-ttl:last-child {
  margin-bottom: 0;
}

.m-welfare-001__list-item-ttl-txt {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  .m-welfare-001__list-item-ttl-txt {
    font-size: 2rem;
  }
}

.m-welfare-001__list-item-figure {
  margin-bottom: 10px;
}

.m-welfare-001__list-item-figure:last-child {
  margin-bottom: 0;
}

.m-welfare-001__list-item-desc {
  padding: 0;
}

.m-welfare-001__list-item-ttl + .m-welfare-001__list-item-desc {
  margin-top: -2px;
}

.m-welfare-001__list-item-desc-txt {
  font-size: 1.6rem;
  text-align: justify;
}

.m-welfare-001__desc {
  padding: 40px 0 0;
}

@media screen and (max-width: 767px) {
  .m-welfare-001__desc {
    padding-top: 20px;
  }
}

.m-welfare-001__desc-txt {
  padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
  .m-welfare-001__desc-txt {
    padding: 24px 0 0;
  }
}

.m-welfare-001__desc-txt:first-child {
  padding-top: 0;
}

/* -------------------------------------------
メッセージ 002
------------------------------------------- */
/* 色調整 */
.m-message-002 {
  /* background: #000 !important; */
}

.m-message-002__inner::before {
  /* display: none; */
  /* background: #333; */
  opacity: 0.5;
}

.m-message-002__headline-txt {
  /* color: var(--primary); */
}

.m-message-002__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-message-002 {
  /* 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__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;
}

.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;
}

@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-gallery-003 {
}

.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;
  width: 33.33%;
}

@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;
  }
}

/* -------------------------------------------
募集要項 003
------------------------------------------- */
.m-require-003 {
  /* background: #f7f7f7 !important; */
}

/* タイトル（英語）の見出しを大文字に変更したい場合に使用 */
.m-require-003 .c-headline-001__en {
  /* text-transform: uppercase; */
}

.m-require-003 .c-headline-001__ja {
  font-weight: 700;
}

.m-require-003__detail-row {
  /* border-top: 1px solid #ddd; */
  border-color: var(--primary-border, #04a1af);
}

.m-require-003__detail-row:last-child {
  /* border-bottom: 1px solid #ddd; */
  border-color: var(--primary-border, #04a1af);
}

.m-require-003__detail-ttl {
  /* color: #333; */
}

.m-require-003__detail-desc {
  font-weight: 400;
  color: #333;
}

/* 「STEP番号」の背景色を変更したい場合に適用 */
.m-require-003__detail-flow-ttl-number {
  /* background-color: #f2f2f2; */
  /* color: #333; */
}

/* -------------------------------------------
改修パッチ（河田）
------------------------------------------- */
.m-require-003 {
  padding: 0 0 80px;
}

@media screen and (max-width: 767px) {
  .m-require-003 {
    padding: 0 0 40px;
  }
}

.m-require-003__detail {
  padding-top: 0;
}

.m-require-003__detail-row,
.m-require-003__detail-row:last-child {
  border-color: var(--primary-border, #ddd);
}

.m-require-003__detail-ttl {
  font-weight: 700;
}

.m-require-003__detail-desc {
  font-weight: 500;
}

.m-require-003__detail-flow-ttl-number {
}

@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;
  }
}
