@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@600&display=swap");

/* ----------共通パッチ  START--------------- */
/* PCとタブレットのみ改行を適用 */
@media screen and (min-width: 768px) {
  .pc-tab {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .pc-tab {
    display: none;
  }
}
.sp320 {
  display: none;
}
@media screen and (max-width: 320px) {
  .sp320 {
    display: block;
  }
}
/* ----------共通パッチ END ----------------- */
/* ----------common  START----------------- */
img[class$="figure-img"] {
  vertical-align: bottom;
}

.c-headline-001__en {
  font-weight: 400;
}
.c-headline-001__ja {
  font-weight: 700;
  color: #333;
}
@media screen and (max-width: 767px) {
  .c-headline-001__ja,
  span[class$="__headline-txt"],
  h3[class$="list-item-detail-ttl"],
  h3[class$="content-ttl"] {
    font-size: 2rem;
    letter-spacing: 0.1rem;
  }
}

.m-footer-001__copyright {
  padding: 30px 0;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}
/* ----------common  END------------------- */
/* ----------kv & header START------------- */
.m-header-001__logo img {
  max-height: 18px;
}

.m-header-001__btn-link {
  background: var(--primary-border);
}
/* ----------kv & header END--------------- */
/* ----------module2 START----------------- */

.c-module-container > section:nth-of-type(odd).m-jobs-004 {
  background: #f5f3ef;
}
.m-jobs-004 {
  padding: 80px 0px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-004 {
    padding: 80px 0px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-004 {
    padding: 40px 20px;
  }
}

.m-jobs-004__content {
  margin: 0;
}

.m-jobs-004__content-ttl {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
}

@media screen and (max-width: 767px) {
  .m-jobs-004__content-ttl {
    font-size: 2.4rem;
  }
}

.m-jobs-004__content-desc {
  color: #333;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-004__content-desc {
    padding: 0 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-004__content-desc {
    text-align: left;
  }
}
/* ----------module2 END------------------- */
/* ----------module3 START----------------- */
.m-jobs-002 {
  background: var(--sub-bg);
  padding: 80px 20px;
}

@media screen and (max-width: 767px) {
  .m-jobs-002 {
    padding: 40px 20px;
  }
}

.m-jobs-002__list {
  padding: 0;
}

@media screen and (max-width: 767px) {
  .m-message-001__detail {
    padding-top: 60px;
  }
}

.m-jobs-002__list-item-detail-job {
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.2;
  padding-bottom: 0.2em;
}

.m-jobs-002__list-item-detail-ttl {
  font-size: 2.5rem;
  color: #333;
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  .m-jobs-002__list-item-detail-ttl {
    font-size: 2rem;
    margin: 0 0 15px;
  }
}

.m-jobs-002__list-item-detail-desc {
  font-weight: 400;
}

@media screen and (min-width: 1025px) {
  .m-jobs-002__list-item-detail {
    padding-bottom: 0;
    margin-top: -39px;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-002__list-item-detail {
    margin-top: -39px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-002__list-item-detail {
    padding: 20px 0;
    margin-top: -37px;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-002__list-item:last-child .m-jobs-002__list-item-detail {
    padding-bottom: 0;
  }
}

@media screen and (min-width: 1025px) {
  .m-jobs-002__list-item {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 1024px) {
  .m-jobs-002__list-item:last-child {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-002__content-desc {
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-002__list-item-detail-job {
    font-size: 3.5rem;
  }
}
@media screen and (max-width: 320px) {
  .m-jobs-002__list-item-detail-job {
    letter-spacing: 0rem;
  }
}
/* ----------module3 END------------------- */
/* ----------module4 START----------------- */
.m-jobs-001 {
  background: #f5f3ef !important;
}

.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: 400;
}

/*テキストを内側に寄せたい場合は削除*/
.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;
  }
}

/* ----------module4 END------------------- */
/* ----------module5 START----------------- */
.m-work-003 {
  padding: 20px 60px 80px;
  background: #f5f3ef;
}
.m-work-003__head {
  background: var(--primary);
  color: #fff;
}
.m-work-003__ttl-en + br {
  display: none;
}
.m-work-003__inner {
  margin: 0 auto 0px;
}
.m-work-003__desc-txt {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .m-work-003 {
    padding: 20px 20px 40px;
  }

  .m-work-003__head-figure {
    margin: 0 0 -50px;
  }
}
/* ----------module5 END------------------- */

/* -------------------------------------------
メッセージ 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);
  }
}

@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;
}

/* -------------------------------------------
メッセージ 004
------------------------------------------- */
.m-message-004 {
  padding: 80px 0;
  background: #f5f3ef !important;
}

@media screen and (max-width: 767px) {
  .m-message-004 {
    padding: 40px 0;
  }
}

.m-message-004::before {
  top: 0;
  max-height: 45vw;
  background: var(--sub-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;
}

/* ----------Requirements START------------ */
.m-require-003__entry-btn {
  background: var(--primary-border);
}
.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;
}

.m-require-003__detail-row:last-child {
  border-bottom: 1px solid #ddd;
}

.m-require-003__detail-ttl {
  color: #333;
}

.m-require-003__detail-desc {
  font-weight: 400;
  color: #333;
}

/* IE対応 */
_:-ms-fullscreen,
:root .m-require-003__detail-flow-ttl-number {
  padding: 6px 10px 1px;
}
.m-footer-001 {
  background: #fff;
  color: #333;
}
