@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 {
  background: #272727;
  color: #fff;
  word-break: break-word;
  font-weight: 500;
}

/* ロゴ */
.m-header-001__logo {
  padding: 10px 40px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 13px 15px;
    max-width: calc(100% - 100px);
  }
}

.m-header-001__logo-link-img {
  display: block;
  max-height: 49px;
}

@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: 34px;
}

@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;
  color: #fff;
/* text-transform: uppercase; */
}

.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;
  }
}

/* 募集要項 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: var(--primary-border);
}

div[class^="m-require-"][class$="__detail-ttl"] {
  font-weight: 700;
  color: #fff;
}

div[class^="m-require-"][class$="__detail-desc"] {
  font-weight: 500;
}

/* コピーライト */
.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}

.m-header-001 {
  background: rgba(39, 39, 39, .7);
}

.m-header-001 + .m-kv-001 {
  margin-top: -80px; /* PCヘッダーの高さ */
}

@media screen and (max-width: 767px) {
  .m-header-001 + .m-kv-001 {
    margin-top: -60px; /* SPヘッダーの高さ */
  }
}

/* フッター */
.m-footer-001 {
  color: #fff;
  background: #272727;
}

/* -------------------------------------------
メッセージ 003
------------------------------------------- */
.m-message-003 {
  padding: 80px 20px;
  /* background: #000 !important; */
}

@media screen and (max-width: 767px) {
  .m-message-003 {
    padding: 40px 20px;
  }
}

@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);
  }
}

.m-message-003__detail {
  background: #96c14a;
}

@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;
}

/* -------------------------------------------
仕事内容（単体） 005
------------------------------------------- */
.m-jobs-005 {
  padding: 40px;
}

@media screen and (max-width: 767px) {
  .m-jobs-005 {
    padding: 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: 2.4rem;
  }
}

.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 {
  background: #96c14a;
}

.m-jobs-005__list-item-detail-job {
  font-weight: 600;
  line-height: 1.4;
}

.m-jobs-005__list-item-detail-ttl {
  margin-top: 24px;
  font-weight: 700;
  font-size: 25px;
  font-size: 2.5rem;
  margin-top: 0;
}

@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-culture-003 {
  padding: 80px 20px;
  /* background : var(--primary); */
}

@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 {
  font-weight: 700;
  border-bottom: solid 1px var(--primary-border, #dddddd);
  /* color: var(--primary);*/
}

.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;
  }
}

/* -------------------------------------------
ギャラリー 003
------------------------------------------- */
.m-gallery-003 {
  padding: 40px 0;
}

@media screen and (max-width: 767px) {
  .m-gallery-003 {
    padding: 20px 0;
  }
}

.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: 25%;
}

@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: #000 !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;
}

/* -------------------------------------------
評価制度 002
------------------------------------------- */
.m-assessment-002 {
  padding-top: 40px;
}

@media screen and (max-width: 767px) {
  .m-assessment-002 {
    padding-top: 20px;
  }
}

.m-assessment-002__inner {
  padding: 0 40px;
  max-width: 920px;
}

@media screen and (max-width: 767px) {
  .m-assessment-002__inner {
    padding: 0 20px;
  }
}

.m-assessment-002__list-item {
  padding: 0 0 40px;
}

@media screen and (max-width: 767px) {
  .m-assessment-002__list-item {
    padding-bottom: 20px;
  }
}

.m-assessment-002__list-item:last-child {
  padding-bottom: 0;
}

.m-assessment-002__list-item-inner {
  border-color: var(--primary-border);
}

.m-assessment-002__list-item-ttl:only-child {
  margin-bottom: 0;
}

.m-assessment-002__list-item-ttl-num {
  background: #b30019;
  /*color: var(--primary-txt, #fff); */
}

.m-assessment-002__list-item-ttl-txt {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sub-txt); 
}

@media screen and (max-width: 767px) {
  .m-assessment-002__list-item-ttl-txt {
    font-size: 1.6rem;
    letter-spacing: .1rem;
  }
}

.m-assessment-002__list-item-desc:only-child,
.m-assessment-002__list-item-ttl + .m-assessment-002__list-item-desc {
  padding-top: 0;
}

/*画像の横幅を縮める 子要素の「何番目」に適用させるかは適宜変更 */
.m-assessment-002__list-item:nth-child(2) .m-assessment-002__list-item-figure-img {
  /*max-width: 70%; */
}

@media screen and (max-width: 767px) {
  .m-assessment-002__list-item:nth-child(2) .m-assessment-002__list-item-figure-img {
    /*max-width: 100%; */
  }
}

.m-assessment-002__list-item-desc-txt {
  color: var(--sub-txt); 
}

/* -------------------------------------------
メッセージ 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: #7e0012; 
  opacity: .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;
}

.m-message-002 + .m-gallery-003 {
  padding-top: 80px;
}

@media screen and (max-width: 767px) {
  .m-message-002 + .m-gallery-003 {
    padding-top: 40px;
  }
}

.img-headline {
  margin: 0 auto;
  height: 62px;
  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: 42px;
}

@media screen and (max-width: 374px) {
  .img-headline.sp320 {
    display: inline-block;
  }
}