@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;
}

/* -------------------------------------------
ヘッダー
------------------------------------------- */
/* ロゴ */
.m-header-001__logo {
  padding: 28px 40px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 15px;
    max-width: 220px;
  }
}

.m-header-001__logo-link-img {
  display: block;
  max-height: 24px;
}

@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: 16px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img.is-mobile {
    display: block;
  }
}

.m-header-001__btn-link{
  background: 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;
}

.c-headline-001__en {
  font-weight: 400;
  /* text-transform: uppercase; */
  color: #a2afc8;
}

.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;
  }
}

/* サブカラー 背景を無効化したいとき */
.c-module-container > section:nth-of-type(odd) {
  background-color: transparent;
}

/*
投稿ページ「タイトル：日本語」に img タグを挿入
<img class="img-headline pc-tab" src="https://kousetsu.itszai.jp/wp-content/uploads/2022/10/pg01-gallery-pc.jpg" /><img class="img-headline sp" src="https://kousetsu.itszai.jp/wp-content/uploads/2022/10/pg01-gallery-sp.jpg" /><img class="img-headline sp320" src="https://kousetsu.itszai.jp/wp-content/uploads/2022/10/pg01-gallery-sp320.jpg" />
*/
.img-headline {
  margin: 0 auto;
  height: 60px;
  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: 41px;
}

@media screen and (max-width: 374px) {
  .img-headline.sp320 {
    display: inline-block;
  }
}

/* -------------------------------------------
配管工
------------------------------------------- */
/* -------------------------------------------
メッセージ 004
------------------------------------------- */
.m-message-004 {
  padding: 80px 0;
  /* background: #000 !important; */
}

@media screen and (max-width: 767px) {
  .m-message-004 {
    padding: 40px 0;
  }
}

.m-message-004::before {
  top: 0;
  max-height: 45vw;
  /* background: var(--primary-bg, #04a1af); */
}

.m-message-004__detail {
  padding-bottom: 0;
}

.m-message-004__headline {
  margin-bottom:40px;
}

@media screen and (max-width: 767px) {
  .m-message-004__headline {
    margin-bottom: 20px;
  }
}

.m-message-004__headline:only-child {
  margin-bottom: 0;
}

.m-message-004__headline + .m-message-004__desc {
  margin-top: -2px;
}

.m-message-004__headline-txt {
  font-weight: 700;
  /* color: var(--primary); */
}

.m-message-004__desc-txt {
  padding: 0 0 30px 0;
  /* color: #fff; */
}

@media screen and (max-width: 767px) {
  .m-message-004__desc-txt {
    text-align: left;
    padding-bottom: 24px;
  }
}

.m-message-004__desc-txt:first-child {
  padding-top: 0;
}

.m-message-004__desc-txt:last-child {
  padding-bottom: 0;
}

/* -------------------------------------------
仕事内容（単体） 001
------------------------------------------- */
.m-jobs-001 {
  padding: 80px 20px;
  background: var(--sub-bg);
}

@media screen and (max-width: 767px) {
  .m-jobs-001 {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__content-desc {
    text-align: left;
  }
}

.m-jobs-001__list {
  padding: 0;
}

.m-jobs-001__list-item:last-child {
  padding-bottom: 0;
}

.m-jobs-001__list-item-inner {
  align-items: center;
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-inner {
    flex-direction: column;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-inner {
    flex-direction: column;
  }
}

.m-jobs-001__list-item-figure {
  min-height: 490px;
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-figure {
    width: 100%;
    min-height: 440px; /*適宜変更*/
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-figure {
    min-height: auto;
  }
}

.m-jobs-001__list-item-detail {
  width: 45%;
  margin: 0;
  padding: 40px 0% 40px 40px;
}


@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-detail {
    width: 100%;
    margin: 0;
    padding: 20px 0px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail {
    width: 100%;
    margin: 0 0 0 0%;
    padding: 20px 0;
  }
}

.m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
  margin: 0;
  padding: 40px 40px 40px 0%;
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    padding: 20px 0px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    margin: 0;
    padding: 20px 0;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item:last-child .m-jobs-001__list-item-detail {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-figure {
    min-height: auto;
  }
}

.m-jobs-001__list-item-detail-job {
  font-weight: 700;
  padding-top: 4px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--sub-txt);
  font-size: 25px;
  font-size: 2.5rem;
}

@media screen and (max-width: 767px){
  .m-jobs-001__list-item-detail-job{
    font-size: 18px;
    font-size: 1.8rem;
  }
}

.m-jobs-001__list-item-detail-ttl {
  display: block; /*safariバグ対策*/
  padding: 0;
  margin: 0 0 15px;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  background: transparent;
  color: var(--primary);
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail-ttl {
    font-size: 1.8rem;
  }
}

.m-jobs-001__list-item-detail-desc {
  font-weight: 500;
}

/* -------------------------------------------
メッセージ 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: .7;
}

.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-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: 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-item {
    padding: 3px;
  }
}

/* -------------------------------------------
管工事施工管理技士
------------------------------------------- */
/* -------------------------------------------
メッセージ 005
------------------------------------------- */
.m-message-005 {
  padding: 80px 0;
  overflow: hidden;
  background: var(--sub-bg) !important;
}

@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;
  }
}

@media screen and (min-width: 767.01px) {
  .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__headline-txt {
  font-weight: 700;
  /* color: var(--primary); */
}

.m-message-005__desc-txt {
  padding: 0 0 30px;
  /* color: #fff; */
}

@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;
}

/* -------------------------------------------
仕事内容（単体） 005
------------------------------------------- */
.m-jobs-005 {
  padding: 80px 40px;
}

@media screen and (max-width: 767px) {
  .m-jobs-005 {
    padding: 40px 20px;
  }
}

.m-jobs-005__content-images {
  padding-top: 0;
}

.m-jobs-005__content-ttl {
  font-size: 3rem;
  font-weight: 700;
}

@media screen and (max-width: 767px){
  .m-jobs-005__content-ttl {
    font-size: 2rem;
  }
}

@media screen and (max-width: 374px){
  .m-jobs-005__content-ttl {
    font-size: 1.8rem;
  }
}

.m-jobs-005__content-desc {
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .m-jobs-005__content-desc {
    text-align: left;
  }
}

@media screen and (min-width: 1024.1px) {
  .m-jobs-005__list > * {
    padding-bottom: 0;
  }
}

.m-jobs-005__list-item {
  display: flex;
}

@media screen and (max-width: 1024px) {
  .m-jobs-005__list-item:last-child {
    padding-bottom: 0;
  }
}

.m-jobs-005__list-item-inner {
  display: flex;
}

.m-jobs-005__list-item-detail-job {
  font-weight: 600;
  line-height: 1.4;
}

@media screen and (min-width: 767.01px){
  .m-jobs-005__list-item-detail-job{
    font-size: 40px;
    font-size: 4rem;
  }
}

.m-jobs-005__list-item-detail-ttl {
  margin-top: 24px;
  font-weight: 500;
  font-size: 25px;
  font-size: 2.5rem;
}

@media screen and (max-width: 767px) {
  .m-jobs-005__list-item-detail-ttl {
    font-size: 18px;
    font-size: 1.8rem;
    margin-top: 20px;
  }
}

@media screen and (max-width: 374px) {
  .m-jobs-005__list-item-detail-ttl {
    font-size: 16px;
    font-size: 1.6rem;
  }
}

@media screen and (min-width: 767.01px) {
  .m-jobs-005__list-item-detail-desc {
    font-size: 16px;
    font-size: 1.6rem;
  }
}

/* -------------------------------------------
メッセージ 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;
}

/* -------------------------------------------
フォトギャラリー 001
------------------------------------------- */
.m-gallery-001 {
  /* background: var(--primary); */
  padding: 0 0 80px;
}

@media screen and (max-width: 767px) {
  .m-gallery-001{
    padding: 0 0 40px;
  }
}

.m-gallery-001__list {
  margin: -6px auto -12px;
}

@media screen and (max-width: 1024px) {
  .m-gallery-001__list {
    padding: 0 14px;
  }
}

.c-headline-001 + .m-gallery-001__list {
  margin: -6px auto -12px;
}

.m-gallery-001__list-item {
  margin-bottom: 6px;
}

.m-gallery-001__list-item-figure-caption {
  border-width: 0 1px 1px;
  /* border: solid 1px var(--primary-border); */
  border: none;
}

@media screen and (max-width: 767px){
  .m-gallery-001__list-item-figure-caption{
    display: none;
  }
}

/* -------------------------------------------
募集要項
------------------------------------------- */
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-require-001{
  background: var(--sub-bg) !important;
}

.m-require-001__detail-desc{
  background: transparent;
}

.m-require-001__detail-desc::before{
  opacity: .2;
}

.m-require-001__entry-btn{
  background: var(--primary-border);
}

/* -------------------------------------------
フッター
------------------------------------------- */
.m-footer-001 {
  color: #767c8e;
  background: var(--primary-txt, #fff);
}

/* コピーライト */
.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}