
/* -------------------------------------------
共通パッチ
------------------------------------------- */
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: 20px 40px;
}

@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: 40px;
}

@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: 16px;
}

@media screen and (max-width: 767px) {
  .m-header-001__logo-link-img.is-mobile {
    display: block;
  }
}

.m-header-001__btn-link-txt {
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .m-header-001__btn-link-txt {
    font-size: 1.3rem;
  }
}

/* 大見出し */
.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 {
/* text-transform: uppercase; */
}

.c-headline-001__ja {
  color: var(--primary);
  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;
  }
}

/* 募集要項 */
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__detail-row::before {
  opacity: 1;
  background-color: var(--sub-bg);
}

/* コピーライト */
.m-footer-001 {
  background-color: var(--sub-bg);
  color: var(--primary);
}

.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}

.single-post_recruit .m-header-001 {
  background: transparent;
}

.m-header-001 + .m-kv-001 {
  margin-top: -80px; /* PCヘッダーの高さ */
}

@media screen and (max-width: 767px) {
  .m-header-001 + .m-kv-001 {
    margin-top: -48px; /* SPヘッダーの高さ */
  }
}

.c-module-container > section:nth-of-type(odd) {
  background-color: transparent;
}

.c-module-container > .m-free-001 {
  background-color: var(--sub-bg, #f2f2f2);
}

.c-module-container > section.m-gallery-002 {
  background-color: var(--sub-bg, #f2f2f2);
}

/* -------------------------------------------
企業理念 002
------------------------------------------- */

.m-about-002 {
  margin-top: 125px;
  padding-top: 16.25%;
  padding-bottom: 0;
  /* background: #000 !important; */
}

@media screen and (min-width: 1600.01px) {
  .m-about-002 {
    padding-top: 260px;
  }
}

@media screen and (max-width: 767px) {
  .m-about-002 {
    margin-top: 60px;
  }
}

.m-about-002__background {
  top: 0;
  height: 0;
  max-height: none;
  padding-top: 25%;
  /* background-position: top center; */
}

@media screen and (min-width: 1600.01px) {
  .m-about-002__background {
    padding-top: 400px;
  }
}

.m-about-002__detail {
  padding-bottom: 80px;
  /* background: #000 !important; */
}

@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-txt {
  font-weight: 700;
  /* color: var(--primary); */
}

.m-about-002__headline + .m-about-002__desc {
  margin-top: -2px;
}

.m-about-002__desc-txt {
  padding: 30px 0 0;
  /* color: #fff; */
}

@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;
}

/* -------------------------------------------
動画003
------------------------------------------- */
.m-movie-003__container {
  padding: 0 20px;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}

/* -------------------------------------------
社風 002
------------------------------------------- */
.m-culture-002 {
  /* background: var(--primary) !important; */
}

@media screen and (max-width: 767px) {
  .m-culture-002 {
    padding: 40px 0;
  }
}

.m-culture-002__list-item:first-child {
  padding-top: 0;
}

.m-culture-002__list-item:last-child {
  padding-bottom: 0;
}

@media screen and (min-width: 1024.01px) {
  .m-culture-002__list-item:nth-child(2) {
    padding-top: 0;
  }
}

@media screen and (min-width: 1024.01px) {
  .m-culture-002__list-item:nth-child(odd):nth-last-child(2) {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 1024px) {
  .m-culture-002__list-item {
    padding: 30px 20px 0;
  }
}

.m-culture-002__list-item-figure-img {
  vertical-align: bottom;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .m-culture-002__list-item-detail {
    padding-bottom: 0;
  }
}

.m-culture-002__list-item-detail-ttl {
  border-width: 1px 0;
  font-weight: 700;
  border-color: var(--primary-border, #04a1af);
  /* color: var(--primary); */
}

.m-culture-002__list-item-detail-ttl-txt {
  font-size: 2rem;
}

.m-culture-002__list-item-detail-desc {
  padding: 0;
}

.m-culture-002__list-item-detail-desc-txt {
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
  .m-culture-002__list-item-detail-desc-txt {
    font-size: 1.4rem;
  }
}

/* -------------------------------------------
ギャラリー 002
------------------------------------------- */
.m-gallery-002 {
  /* background: var(--sub-bg) !important; */
}

.m-gallery-002__inner {
  padding: 0 40px;
  max-width: 1136px;
}

@media screen and (max-width: 1024px) {
  .m-gallery-002__inner {
    padding: 0 20px;
  }
}

.m-gallery-002 .c-headline-001 {
  margin-bottom: 40px;
  width: 100%;
  height: 72px;
  background-image: url(https://sakaegom.itszai.jp/wp-content/uploads/2022/12/pg01-galleryttl-pc.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
  .m-gallery-002 .c-headline-001 {
    height: 50px;
    background-image: url(https://sakaegom.itszai.jp/wp-content/uploads/2022/12/pg01-galleryttl-sp.png);
    margin-bottom: 20px;
  }
}

.m-gallery-002__list {
  margin: -6px -6px -16px;
}

.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: 1 0 auto;
  border-color: var(--primary-border);
  display: none;
}
