@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: 33px 28px;
}

@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: 24px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img.is-mobile {
    display: block;
  }
}

.single-post_recruit .m-header-001 {
  background: transparent;
}

.m-header-001 + .m-kv-001 {
  margin-top: -90px; /* PCヘッダーの高さ */
}

@media screen and (max-width: 767px) {
  .m-header-001 + .m-kv-001 {
    margin-top: -54px; /* SPヘッダーの高さ */
  }
}

.m-header-001__btn-link{
  background: var(--primary-border);
  color: var(--sub-txt);
}

/* -------------------------------------------
モジュール
------------------------------------------- */
/* 大見出し */
.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; */
}

.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(even){
  background-color: var(--sub-bg);
}

/* -------------------------------------------
メッセージ 001
------------------------------------------- */
.m-message-001 {
  padding: 80px 0;
/* background: #000 !important; */
}

@media screen and (max-width: 767px) {
  .m-message-001 {
    padding: 40px 0;
  }
}

.m-message-001__detail {
  padding: 0 20px;
}

.m-message-001__headline {
  margin-bottom: 20px;
}

.m-message-001__headline-txt {
  font-weight: 700;
/* color: var(--primary); */
}

.m-message-001__headline + .m-message-001__desc {
  margin-top: -2px;
}

.m-message-001__desc-txt {
  padding-bottom: 0;
/* color: var(--sub-txt, #333); */
}

@media screen and (max-width: 767px) {
  .m-message-001__desc-txt {
    text-align: left;
  }
}

.m-message-001__desc-txt:first-child {
  padding-top: 0;
}

/* -------------------------------------------
仕事内容（単体） 005
------------------------------------------- */
.m-jobs-005 {
  padding: 0 40px 80px;
}

@media screen and (max-width: 767px) {
  .m-jobs-005 {
    padding: 0 20px 44px;
  }
}

.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;
  }
}

/* -------------------------------------------
仕事内容（単体） 001
------------------------------------------- */
.m-jobs-001 {
  padding: 0 20px 80px;
}

@media screen and (max-width: 767px) {
  .m-jobs-001 {
    padding: 0 20px 40px;
  }
}

@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;
}

.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(--sub-txt);
}

@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;
}

/* -------------------------------------------
企業理念 003
------------------------------------------- */
.m-about-003 {
  padding: 0 0 80px;
  /* background: #000 !important; */
}

@media screen and (max-width: 767px) {
  .m-about-003 {
    padding: 0 0 40px;
  }
}

.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-txt {
  font-weight: 700;
  color: var(--primary);
}

.m-about-003__headline + .m-about-003__desc {
  margin-top: -2px;
}

.m-about-003__desc-txt {
  padding: 30px 0 0;
  /* color: #fff; */
}

@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;
}

/* -------------------------------------------
メッセージ 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-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 #ddd;
}

/* -------------------------------------------
募集要項
------------------------------------------- */
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-002{
  padding: 0 0 80px;
}

@media screen and (max-width: 767px){
  .m-require-002{
    padding: 0 0 40px;
}
}

/* タイトル（英語）の見出しを大文字に変更したい場合に使用 */
.m-require-002 .c-headline-001__en {
  text-transform: uppercase;
}

.m-require-002 .c-headline-001__ja {
  font-weight: 700;
}

.m-require-002__detail-row::before {
  /* background: #ededed; */
}

.m-require-002__detail-ttl {
  color: #333;
}

.m-require-002__detail-desc {
  font-weight: 400;
  color: #333;
}

/* IE対応 */
_:-ms-fullscreen, :root .m-require-002__detail-flow-ttl-number {
  padding: 6px 10px 1px;
}


/* -------------------------------------------
フッター
------------------------------------------- */
/* コピーライト */
.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}