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

body {
  color: #17146d;
}

img {
  vertical-align: bottom;
}

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

.m-header-001__logo {
  /* padding: 20px 40px; */
  padding: 30px 40px;
}
.m-header-001__logo-link-img {
  /* max-height: 30px; */
  max-height: 20px;
}
@media screen and (max-width: 767px) {
  .m-header-001__logo {
    padding: 16px 15px;
  }
  .m-header-001__logo-link-img {
    max-height: 15px;
  }
}

.c-headline-001__en {
  color: #17146d;
}
.c-headline-001__ja {
  color: var(--primary);
}

/* -------------------------------------------
共通パッチ
------------------------------------------- */
/* 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;
   }
}

/* ヘッダー */
.m-header-001 {
  background: rgba(255, 255, 255, .7);
}

.m-kv-001 {
  margin-top: -80px; /* PCヘッダーの高さ */
}

@media screen and (max-width: 767px) {
  .m-kv-001 {
    margin-top: -48px; /* SPヘッダーの高さ */
  }
}

/* -------------------------------------------
メッセージ 001
------------------------------------------- */
.m-message-001 {
  background: #f9ecf0 !important;
}

.m-message-001__headline-txt {
  /* color: #17146d; */
}

.m-message-001__desc-txt {
  color: #17146d;
}

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

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-message-001__detail {
    padding: 80px 30px;
  }
}

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

.m-message-001__desc-txt {
  padding-bottom: 0;
}

@media screen and (max-width: 767px) {
  .m-message-001__desc-txt {
    text-align: left;
  }
}

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

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

.m-jobs-001__content-desc {
  color: #17146d;
}

.m-jobs-001__list-item-detail-ttl {
  background: var(--primary);
  color: #fff;
}

.m-jobs-001__list-item-detail-desc {
  color: #17146d;
}

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

.m-jobs-001__list {
  padding: 20px 0 0 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 40px 40px 0px;
}

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

@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 0px 40px 40px;
}

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

.m-jobs-001__list-item-detail-ttl {
  padding: 0 10px;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

/* IE対応 */
_:-ms-fullscreen,
:root .m-jobs-001__list-item-detail-ttl {
  padding-top: 8px;
}

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

.m-jobs-001__list-item-detail-desc {
  font-weight: 500;
  text-align: justify;
}

/*タブレットから縦並びの時*/
@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 {
  padding: .4em 1em;
  line-height: 1.3em;
}
@media screen and (max-width: 1024px){
  .m-jobs-001__list-item:first-child {
    padding-top: 0;
  }
}

/* -------------------------------------------
フォトギャラリー 001
------------------------------------------- */
.m-gallery-001 {
  padding: 80px 0 54px 0;
  background: #f9ecf0 !important;
}

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

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

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

.m-gallery-001__inner {
  max-width: 1200px;
}
.m-gallery-001__list-item {
  width: 33.3%;
  margin-bottom: 20px;
}
.m-gallery-001__list-item-figure-caption {
  padding: 20px 25px;
}
.m-gallery-001__list-item-figure-caption {
  border-top: 1px solid #ddd;
}
@media screen and (max-width: 767px) {
  .m-gallery-001__list-item {
    width: 100%;
    margin-bottom: 10px;
  }
  .m-gallery-001__list-item-figure-caption {
    padding: 10px 20px;
  }
}

/* -------------------------------------------
福利厚生 001
------------------------------------------- */
.m-welfare-001 {
  /* background: #f9ecf0 !important; */
}

/* 英語見出しのフォントカラーの変更を行いたい場合に使用 */
.m-welfare-001 .c-headline-001__en {
  /* color: #17146d; */
}

.m-welfare-001__list-item-inner {
  border: 2px solid #17146d;
}

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

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

/* 番号の背景色の変更を行いたい場合に使用 */
.m-welfare-001__list-item-ttl-num {
  /* background: #17146d; */
}

.m-welfare-001__list-item-ttl-txt {
  font-size: 2.5rem;
  font-weight: 700;
  color: #17146d;
}

@media screen and (max-width: 767px) {
  .m-welfare-001__list-item-ttl-txt {
    font-size: 2rem;
  }
}

.m-welfare-001__list-item-desc {
  padding: 0;
}

@media screen and (max-width: 767px) {
  .m-welfare-001__list-item-desc {
    padding-top: 5px;
  }
}

.m-welfare-001__list-item-desc-txt {
  font-size: 1.5rem;
  color: #17146d;
  text-align: justify;
}

.m-welfare-001__desc-txt {
  padding: 20px 20px 0;
}

/* -------------------------------------------
メッセージ 002
------------------------------------------- */
/* 背景画像の配置を変更したい場合に使用 */
.m-message-002 {
  /* background-position: top center; */
}

.m-message-002__inner::before {
  /* background: #17146d; */
  /* background: var(--primary); */
  opacity: .6;
}

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

  .m-message-002__desc-txt {
    padding: 10px 0 0;
    text-align: left;
  }
}

/* -------------------------------------------
募集要項 003
------------------------------------------- */
.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; */
  border: none;
}

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

.m-require-003__detail-row:nth-child(odd) {
  background: #f9ecf0;
}

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

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

.m-require-003__entry-btn {
  background: #17146d;
}