@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: 600;
  /* text-transform: uppercase; */
  color: var(--primary-bg);
}

.c-headline-001__ja {
  font-weight: 700;
  line-height: 1.6;
}

.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 65px;
}

@media screen and (max-width: 767px) {
    .m-header-001__logo {
        padding: 23px 15px;
    }
}

.m-header-001__logo-link-img {
    max-height: 34px;
}

/* @media screen and (max-width: 767px) {
    .m-header-001__logo-link-img {
        max-height: 30px;
    }
} */

/* サブカラー 背景を無効化したいとき */
.c-module-container > section:nth-of-type(odd) {
  background-color: transparent;
}

.c-module-container > section:nth-of-type(even) {
  background-color: var(--sub-bg);
}

/* 募集要項の罫線 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: 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;
}

/*
投稿ページ「タイトル：日本語」に img タグを挿入
<img class="img-headline pc-tab" src="https://houwa.itszai.jp/wp-content/uploads/2022/06/gallery-pc.png" /><img class="img-headline sp" src="https://houwa.itszai.jp/wp-content/uploads/2022/06/gallery-sp.png" /><img class="img-headline sp320" src="https://houwa.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: 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;
  }
}

/* フッター */
.m-footer-001 {
  background: var(--primary);
}

/* -------------------------------------------
企業理念 003
------------------------------------------- */
/* 色調整 */
.m-about-003 {
  /* background: #000 !important; */
}

.m-about-003__headline-txt {
  /* color: var(--primary); */
}

.m-about-003__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-about-003 {
  padding: 80px 0;
}

@media screen and (max-width: 767px) {
  .m-about-003 {
    padding: 40px 0;
  }
}

.m-about-003__detail {
  padding-bottom: 0;
}

@media screen and (max-width: 767px) {
  .m-about-003__detail {
    padding: 20px 0 0;
  }
}

.m-about-003__headline {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .m-about-003__headline {
    margin-bottom: 20px;
  }
}

.m-about-003__headline:only-child {
  margin-bottom: 0;
}

.m-about-003__headline + .m-about-003__desc {
  margin-top: -2px;
}

.m-about-003__headline-txt {
  font-weight: 700;
}

.m-about-003__desc-txt {
  padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
  .m-about-003__desc-txt {
    padding: 24px 0 0;
  }
}

.m-about-003__desc-txt:first-child {
  padding-top: 0;
}

/* -------------------------------------------
社風 003
------------------------------------------- */
/* 色調整 */
.m-culture-003 {
  /* background : var(--primary); */
}

.m-culture-003__list-item-detail-ttl {
  border: solid var(--primary-border, #dddddd);
 /* color: var(--primary);*/
}

/* その他 */
.m-culture-003 {
  padding: 80px 20px;
}

@media screen and (max-width: 767px) {
  .m-culture-003 {
    padding: 40px 20px;
  }
}

.m-culture-003__inner {
  max-width: 800px;
}

.m-culture-003__list {
  padding: 0;
}

.m-culture-003__list-item {
  margin: 0;
  padding: 0 0 60px 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list-item {
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item {
    padding-bottom: 30px;
  }
}

.m-culture-003__list-item:last-child {
  padding-bottom: 0;
}
.m-culture-003__list-item-figure {
  margin: 0;
}

.m-culture-003__list-item-detail {
  padding: 20px 20px 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list-item-detail {
    padding: 20px 0 0;
  }
}

.m-culture-003__list-item-detail-ttl {
  border-width: 0 0 1px;
  font-weight: 700;
}

.m-culture-003__list-item-detail-ttl-txt {
  font-size: 2rem;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item-detail-ttl-txt {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 320px) {
  .m-culture-003__list-item-detail-ttl-txt {
    font-size: 1.6rem;
  }
}

.m-culture-003__list-item-detail-desc-txt {
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item-detail-desc-txt {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 768px){
  .m-culture-005__list-item-detail-ttl-txt{
    font-size: 2rem;
  }
  .m-culture-005__list-item-detail-desc-txt{
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px){
  .m-culture-005{
    padding: 40px 20px;
  }

  .m-culture-005__list{
    padding: 0;
  }

  .m-culture-005__list-item{
    padding: 0;
  }

  .m-culture-005__list-item:not(:first-child){
    padding-top: 20px;
  }
}

/* -------------------------------------------
インタビュー 004
------------------------------------------- */
/* 色調整 */
.m-interview-004__nav-item-btn {
  background: var(--primary);
}

.m-interview-004__contents-section-detail-ttl {
  /* color: var(--sub-txt); */
}

.m-interview-004__contents-section-detail-content-txt-name {
  color: var(--primary-bg);
}

/*その他*/
.m-interview-004 {
  padding: 80px 0;
}

@media screen and (max-width: 767px) {
  .m-interview-004 {
    padding: 40px 0;
  }
}

.m-interview-004__nav {
  -webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.c-headline-001 + .m-interview-004__nav {
  margin-top: -5px;
}

.m-interview-004__nav-item-btn {
  display: flex;
  flex-direction: column;
}

.m-interview-004__nav-item-figure {
  min-height: 1px; /* for IE */
}

.m-interview-004__nav-item-ttl-category {
  font-weight: 500;
}

.m-interview-004__nav-item-ttl-name {
  font-weight: 700;
}

.m-interview-004__nav-item-ttl-ruby {
  font-family: var(--font-en, "Josefin Sans", "Noto Sans JP", Arial, Helvetica, sans-serif);
  font-weight: 400;
}

.m-interview-004__nav-item-ttl {
  flex: 1 0 auto;
}

.m-interview-004__contents-section-detail {
  /* padding-bottom: 0; */
}

@media screen and (max-width: 767px) {
  .m-interview-004__contents{
    margin: 40px 0 0;
  }

  .m-interview-004__contents-section-figure+.m-interview-004__contents-section-detail {
    margin-top: -60px;
  }
}

.m-interview-004__contents-section-detail-ttl {
  font-weight: 700;
}

.m-interview-004__contents-section-detail-intro {
  font-weight: 500;
  color: var(--primary-bg);
}

.m-interview-004__contents-section-detail-content-txt:last-child {
  margin-bottom: 0;
}

.m-interview-004__contents-section-detail-content-txt-name {
  font-weight: 700;
}

.m-interview-004__contents-section-detail-content-txt-block {
  font-weight: 500;
}

/* -------------------------------------------
ギャラリー 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;
  max-width: 1200px;
}

@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;
  }
}

/* -------------------------------------------
企業理念 002
------------------------------------------- */
/* 色調整 */
.m-about-002 {
  /* background: #000 !important; */
  }
  
  .m-about-002__detail {
  /* background: #000 !important; */
  }
  
  .m-about-002__headline-txt {
  /* color: var(--primary); */
  }
  
  .m-about-002__desc-txt {
  /* color: #fff; */
  }
  
  /* その他 */
  .m-about-002 {
    padding-top: 16.25%;
    padding-bottom: 0;
  }
  
  .m-about-002__background {
    top: 0;
    height: 0;
    max-height: none;
    padding-top: 25%;
  /* background-position: top center; */
  }
  
  @media screen and (min-width: 1600.01px) {
    .m-about-002 {
      padding-top: 260px;
    }
    .m-about-002__background {
      padding-top: 400px;
    }
  }
  
  .m-about-002__detail {
    padding-bottom: 80px;
  }
  
  @media screen and (max-width: 767px) {
    .m-about-002__detail {
      padding-bottom: 40px;
    }
  }
  
  .m-about-002__headline {
    margin-bottom: 30px;
  }
  
  @media screen and (max-width: 767px) {
    .m-about-002__headline {
      margin-bottom: 20px;
    }
  }
  
  .m-about-002__headline:only-child {
    margin-bottom: 0;
  }
  
  .m-about-002__headline + .m-about-002__desc {
    margin-top: -2px;
  }
  
  .m-about-002__headline-txt {
      font-weight: 700;
  }
  
  .m-about-002__desc-txt {
    padding: 30px 0 0;
  }
  
  @media screen and (max-width: 767px) {
    .m-about-002__desc-txt {
      text-align: left;
      padding-top: 24px;
    }
  }
  
  .m-about-002__desc-txt:first-child {
    padding-top: 0;
  }

  /* -------------------------------------------
仕事内容（単体） 001
------------------------------------------- */
.m-jobs-001 {
  /* background: #e5f6ef; */
}

.m-jobs-001__content-desc {
  /* color: #333; */
  /* color: var(--primary); */
}

.m-jobs-001__list-item-detail-ttl {
  color: var(--primary);
}

.m-jobs-001 {
  padding: 80px 20px;
}

@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;
}

.m-jobs-001__list-item-figure {
  min-height: 490px;
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-figure {
    min-height: auto;
  }
}

.m-jobs-001__list-item-detail {
  width: 40%;
  margin: 0 0 0 3%;
  padding: 40px 0;
}

.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;
}

@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;
}

/*テキストを内側に寄せたい場合は削除*/
.m-jobs-001__list-item-detail {
  width: 45%;
  margin: 0;
  padding: 40px 0% 40px 40px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-001__list-item-detail {
    padding: 20px 0 40px 20px;
  }
}

@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 3% 0 0;
  padding: 40px 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 (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    padding: 20px 20px 40px 0;
  }
}

@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: 767px) {
  .m-jobs-001__list-item:last-child .m-jobs-001__list-item-detail {
    padding-bottom: 0;
  }
}

/*タブレットから縦並びの時*/
@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-inner,
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-inner {
    flex-direction: column;
  }
  .m-jobs-001__list-item-figure {
    width: 100%;
    min-height: 440px; /*適宜変更*/
  }
  .m-jobs-001__list-item-detail {
    width: 100%;
    margin: 0;
    padding: 20px 0px;
  }
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    padding: 20px 0px;
  }
  .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-ttl {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-txt);
  padding: 0.4em 0.8em;
  margin: 0 0 30px;
  line-height: 1.5;
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-detail-ttl {
    margin: 0 0 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail-ttl {
    margin: 0 0 10px;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-detail {
    padding: 30px 0px 20px !important;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail {
    padding: 15px 0px 20px !important;
  }
} */

.m-require-001{
  background: var(--sub-bg) !important;
}

.m-require-001__detail-ttl{
  background: var(--primary);
}

.m-require-001__detail-desc{
  background: transparent;
  color: var(--primary);
}

.m-require-001__detail-desc::before{
  background: #000;
  opacity: .12;
}

.m-require-001__detail-flow-ttl-number{
  background: var(--primary);
}


@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;
  }
}