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

body {
  color: #333;
}

img {
  vertical-align: bottom;
}

.c-headline-001__en {
  font-weight: 400;
}
.c-headline-001__ja {
  font-weight: 500;
}

.m-header-001__logo {
  padding: 23px 40px 19px;
}
.m-header-001__logo-link-img {
  max-height: 38px;
}
@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 16px 15px 14px;
  }
  .m-header-001__logo-link-img {
    max-height: 25px;
  }
}

.m-header-001__logo {
  max-width: 68%;
}

a:not([class]) {
  color: #0000ee;
  text-decoration: underline;
}

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

@media screen and (max-width: 767px) {
  .pc-tab {
    display: none;
  }
}

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

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}

/* -------------------------------------------
企業理念 002
------------------------------------------- */
.m-about-002 {
  padding-top: 16%;
  padding-bottom: 0;
}
.m-about-002__background {
  top: 0;
  height: 0;
  max-height: none;
  padding-top: 25%;
  background-position: top left;
}
@media screen and (min-width: 1441px) {
  .m-about-002 {
    padding-top: calc(1440px * 0.16);
  }
  .m-about-002__background {
    padding-top: calc(1440px * 0.25);
  }
}
@media screen and (max-width: 767px) {
  .m-about-002 {
    padding-top: 25%;
  }
  .m-about-002__background {
    padding-top: 40%;
  }
}
.m-about-002__detail {
  padding-bottom: 80px;
}
.m-about-002__desc-txt {
  padding-bottom: 0;
}
@media screen and (max-width: 767px) {
  .m-about-002__detail {
    padding-bottom: 40px;
  }
  .m-about-002__desc-txt {
    text-align: left;
  }
}

/* -------------------------------------------
仕事内容（単体） 001
------------------------------------------- */
.m-jobs-001 {
  background: rgba(150, 198, 23, 0.1);
}

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

.m-jobs-001 .c-headline-001__ja {
  font-weight: 900;
}

@media screen and (max-width: 767px) {
  .m-jobs-001 .c-headline-001 {
    margin-bottom: 10px;
  }
}

/* -------------------------------------------
評価制度 005
------------------------------------------- */
.m-assessment-005 {
  /* color: #333; */
}

.m-assessment-005__list-item:last-child {
  padding-bottom: 0%;
}

@media screen and (min-width: 1025px) {
  .m-assessment-005__list-item:nth-last-child(2) {
    padding-bottom: 0;
  }
}

.m-assessment-005__list-item-figure {
  margin: 0 0 14px;
}

@media screen and (max-width: 767px) {
  .m-assessment-005__list-item-figure {
    margin: 0px 0 10px;
  }
}

.m-assessment-005__list-item-desc {
  padding: 0px 0 0;
}

.m-assessment-005 .c-headline-001 {
  margin-bottom: 5px;
}
@media screen and (max-width: 1024px) {
  .m-assessment-005 .c-headline-001 {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 767px) {
  .m-assessment-005 .c-headline-001 {
    margin-bottom: 10px;
  }
}

/* -------------------------------------------
仕事内容（単体） 005
------------------------------------------- */
.m-jobs-005 {
  padding: 0 20px 80px;
}

.m-jobs-005__list-item-detail-ttl {
  font-weight: bold;
}

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

.m-jobs-005__content-ttl {
  font-size: 3rem;
}

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

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

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

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

.m-jobs-005__list-item,
.m-jobs-005__list-item-inner {
  display: flex;
}

.m-jobs-005 .c-headline-001 {
  margin-bottom: 10px;
}

/* タイトル行間の調整 */
.m-jobs-005__list-item-detail-job {
  line-height: 1.2em;
  font-weight: 600;
}
.m-jobs-005__list-item-detail-ttl {
  margin: 0;
  padding: 1.2em 0 1.67em;
  line-height: 1.4em;
}

@media screen and (max-width: 767px) {
  .m-jobs-005__list-item:first-child {
    padding-top: 0;
  }
}

/* -------------------------------------------
フォトギャラリー 002
------------------------------------------- */
.m-gallery-002 {
  padding: 0 0 80px;
}

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

.m-gallery-002__list-item-figure-caption {
  border: solid #ddd;
  border-width: 0 1px 1px;
  color: #333;
}

.m-gallery-002__list-item-figure {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.m-gallery-002__list-item-figure-img {
  min-height: 1px;
}

.m-gallery-002__list-item-figure-caption {
  flex-grow: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .m-gallery-002 .c-headline-001 {
    margin-bottom: 10px;
  }
}

/* -------------------------------------------
インタビュー 002
------------------------------------------- */
.m-interview-002 {
  padding: 0 0 50px;
}

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

.m-interview-002 .c-headline-001 {
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .m-interview-002 .c-headline-001 {
    margin-bottom: 20px;
  }
}

.m-interview-002__inner {
  padding: 0 40px;
}
@media screen and (max-width: 1024px) {
  .m-interview-002__inner {
    padding: 0 20px;
  }
}

.m-interview-002__nav {
  margin: -5px;
  padding: 0;
  justify-content: center;
}

.m-interview-002__contents {
  margin: 0;
}

.m-interview-002__contents-card {
  margin: 50px auto;
  min-height: 300px;
}

@media screen and (max-width: 767px) {
  .m-interview-002__contents-card {
    min-height: 0;
  }
}

@media screen and (max-width: 767px) {
  .m-interview-002__contents-card {
    margin: 30px auto;
  }
}

@media screen and (max-width: 767px) {
  .m-interview-002__contents-card-content::after {
    left: -35px;
  }
}

.m-interview-002__contents-card-ttl {
  margin: 0;
}

.m-interview-002__contents-card-ttl-desc {
  display: block;
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .m-interview-002__contents-section-figure + .m-interview-002__contents-section-detail {
    margin-top: -60px;
  }
}

.m-interview-002__contents-section-detail {
  padding-bottom: 0;
  background: var(--sub-bg);
}

.m-interview-002__contents-section-detail-ttl {
  font-size: 2rem;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 5px;
  margin: 0 0 20px;
}

@media screen and (max-width: 767px) {
  .m-interview-002__contents-section-detail-ttl {
    font-size: 1.6rem;
    margin: 0 0 15px;
  }
}

.m-interview-002__contents-section-detail-intro {
  font-size: 2.4rem;
  color: var(--sub-txt);
  margin: 0 0 25px;
}

@media screen and (max-width: 767px) {
  .m-interview-002__contents-section-detail-intro {
    font-size: 1.8rem;
    margin: 0 0 15px;
  }
}

.m-interview-002__contents-section-detail-content-txt {
  margin: 0 0 30px;
}

@media screen and (max-width: 767px) {
  .m-interview-002__contents-section-detail-content-txt {
    margin: 0 0 25px;
  }
}

.m-interview-002__contents-section-detail-content-txt-block {
  font-weight: 500;
}

.m-interview-002__contents {
  padding: 0;
}

.m-interview-002__nav-item {
  width: 33.3%;
  max-width: 260px;
}

@media screen and (max-width: 767px) {
  .m-interview-002__nav-item {
    width: 50%;
    max-width: none;
  }
}

.m-interview-002__nav-item-btn {
  display: flex;
  flex-direction: column;
}

.m-interview-002__nav-item-btn.is-active::after {
  opacity: 1;
}

.m-interview-002__nav-item-figure {
  min-height: 1px;
}

.m-interview-002__nav-item-ttl {
  flex: 1 0 auto;
}

/* -------------------------------------------
メッセージ 002
------------------------------------------- */
/* 色調整 */
.m-message-002 {
  /* background: #000 !important; */
}

.m-message-002__inner::before {
  /* display: none; */
  /* background: #333; */
  opacity: 0.77;
}

.m-message-002__headline-txt {
  /* color: var(--primary); */
}

.m-message-002__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-message-002 {
  /* 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__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 + .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;
}

@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-require-003 {
  background: rgba(150, 198, 23, 0.1) !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;
}

/* 「STEP番号」の背景色を変更したい場合に適用 */
.m-require-003__detail-flow-ttl-number {
  /* background-color: #f2f2f2; */
  /* color: #333; */
}

/* フッター */
.m-footer-001 {
  background: #fff;
  color: var(--primary);
}
