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

.c-headline-001__en {
  font-weight: 400;
/* text-transform: uppercase; */
}

.c-headline-001__ja {
  font-weight: 700;
  line-height: 1.6;
}

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

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

/* 募集要項の罫線 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: var(--primary-border);
}

/* 見出し下の余白設定 */
.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;
}

.img-headline {
  margin: 0 auto;
  max-height: 60px;
}

@media screen and (max-width: 767px) {
    .img-headline{
        max-height: 42px;
    }
}

@media screen and (max-width: 374px) {
    .img-headline{
        max-height: 38px;
    }
}

@media screen and (max-width: 374px) {
    .img-headline.sp{
        display: none;
    }
}

.img-headline.sp320{
    display: none;
}

@media screen and (max-width: 374px) {
    .img-headline.sp320{
        display: block;
    }
}

/* 「応募する」ボタン */
a[class^="m-require-"][class$="__entry-btn"] {
  border: 2px solid var(--primary-bg);
  background: transparent;
  color: var(--primary);
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

a[class^="m-require-"][class$="__entry-btn"]:hover {
  color: var(--primary-txt);
}

a[class^="m-require-"][class$="__entry-btn"]::before {
  background: var(--primary);
}

@media screen and (max-width: 767px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 2rem;
    letter-spacing: .2rem;
  }
}

@media screen and (max-width: 374px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
    font-size: 1.8rem;
    letter-spacing: .1rem;
  }
}

.m-header-001__logo-link-img {
    max-height: 48px;
}

@media screen and (max-width: 767px) {
    .m-header-001__logo-link-img {
        max-height: 30px;
    }
}

/* -------------------------------------------
企業理念 002
------------------------------------------- */
/* 色調整 */
.m-about-002 {
/* background: #000 !important; */
}

.m-about-002__detail {
/* background: #000 !important; */
}

.m-about-002__headline-txt {
    color: var(--primary);
    font-weight: 700;
}

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

/* その他 */
.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 center; */
}

@media screen and (min-width: 1441px) {
  .m-about-002 {
    padding-top: calc(1440px * .16);
  }
  .m-about-002__background {
    padding-top: calc(1440px * .25);
  }
}

@media screen and (max-width: 767px) {
  .m-about-002 {
    padding-top: 23%;
  }
  .m-about-002__background {
    padding-top: 35%;
  }
}

.m-about-002__detail {
  padding-bottom: 80px;
}

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

.m-about-002__headline {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .m-about-002__headline {
    margin-bottom: 20px;
  }
}

.m-about-002__headline:only-child {
  margin-bottom: 0;
}

.m-about-002__headline + .m-about-002__desc {
  margin-top: -2px;
}

.m-about-002__desc-txt {
  padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
  .m-about-002__desc-txt {
    text-align: left;
    padding-top: 24px;
  }
}

.m-about-002__desc-txt:first-child {
  padding-top: 0;
}

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

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

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

.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-gallery-003 {
}

.m-gallery-003 .c-headline-001 {
  margin-bottom: 40px;
}

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

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

.m-gallery-003__list-item {
  padding: 5px;
}

@media screen and (max-width: 1024px) {
  .m-gallery-003__list-item {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .m-gallery-003__list {
    margin: -3px;
  }

  .m-gallery-003__list-item {
    padding: 3px;
  }
}

/* -------------------------------------------
企業理念 004
------------------------------------------- */
/* 色調整 */
.m-about-004 {
/* background: #000 !important; */
}

.m-about-004__headline-txt {
  color: var(--primary);
  font-weight: 700;
}

.m-about-004__desc-txt {
/* color: #fff; */
}

/* その他 */
.m-about-004 {
  padding: 0 0 40px 0;
}

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

.m-about-004__detail {
  padding: 40px 0 0;
}

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

@media screen and (max-width: 320px) {
  .m-about-004__detail {
    padding: 20px 10px 0;
  }
}

.m-about-004__headline {
  margin-bottom: 30px;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .m-about-004__headline {
    margin-bottom: 20px;
  }
}

.m-about-004__headline:only-child {
  margin-bottom: 0;
}

.m-about-004__headline + .m-about-004__desc {
  margin-top: -2px;
}

.m-about-004__desc-txt {
  padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
  .m-about-004__desc-txt {
    padding-top: 24px;
    text-align: left;
  }
}

.m-about-004__desc-txt:first-child {
  padding-top: 0;
}
