/* ==========================================================================
   Layout Layer
   ========================================================================== */

.l-container {
  margin-inline: auto;
  width: 100%;
  padding-inline: 16px;
  @media (width >= 1032px) {
    max-width: 1032px;
  }
}

/* ==========================================================================
   Component Layer
   ========================================================================== */

.c-jobCard {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: #00B1B2;
  background: url('../images/img_pattern.webp') 0% 0% / 50px 50px repeat;
  @media (width >= 1032px) {
    padding-bottom: 72px;
  }
}

.c-jobCard__title {
  padding-inline: 20px;
  padding-top: 28px;
  padding-bottom: 14px;
  text-align: left;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: #0D817F;
}

.c-jobCard__tagWrapper {
  position: relative;
  display: flex;
}

.c-jobCard__tag {
  position: relative;
  padding-right: 20px;
}

.c-jobCard__tagText {
  display: inline-block;
  background-color: #00B1B2;
  padding-inline: 12px;
  padding-block: 6px;
  text-align: left;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #fff;
}

.c-jobCard__tagDeco {
  position: absolute;
  top: 0;
  right: 4px;
  height: 100%;
  width: 16px;
}

.c-jobCard__body {
  padding-inline: 20px;
  padding-block: 12px;
  text-align: left;
}

.c-jobCard__subTitle {
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  color: #0D817F;
}

.c-jobCard__text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 20px;
}

.c-jobCard__actions {
  bottom: 0;
  left: 0;
  display: flex;
  height: auto;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  padding-top: 12px;
  @media (width >= 1032px) {
    position: absolute;
  }
}

.c-jobCard__button {
  border-radius: 4px;
  padding: 12px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: #fff;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25);
}

.c-jobCard__button:hover {
  @media (hover: hover) {
    opacity: 80%;
  }
}

.c-jobCard__button-blue {
  width: 100%;
  background: linear-gradient(90deg, #009DD6 0%, #0079B7 100%);
  @media (width >= 48rem) {
    width: 160px;
  }
}

.c-jobCard__button-orange {
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  background: linear-gradient(90deg, #FF9516 0%, #FF6E00 100%);
  @media (width >= 1032px) {
    flex: 1;
  }
  @media (width >= 48rem) {
    width: 280px;
  }
}

/* ==========================================================================
   Project Layer
   ========================================================================== */


a.p-btn {
  padding: 0.25rem 2.5rem 1.5rem 2.5rem;
}

.p-jobList {
  margin-inline: calc(16px * -1);
  display: flex;
  flex-wrap: wrap;
  row-gap: 32px;
}

.p-jobList__item {
  position: relative;
  width: 100%;
  padding-inline: 16px;
  @media (width >= 1032px) {
    width: calc(1 / 2 * 100%);
  }
}


/* ==========================================================================
   Header オーバーライド (111_3のLP用)
   ========================================================================== */

/* SP時のヘッダー高さを変更 */
@media screen and (max-width: 500px) {
  .p-header {
    height: 72px;
  }
}

/* contentsのマージンを変更 */
.p-header__contents {
  margin: 20px auto;
}

/* PC/タブレット時（1300px以下）のmargin: auto;を打ち消し、上記のマージンを維持 */
@media screen and (max-width: 1300px) {
  .p-header__contents {
    margin: 20px auto;
  }
}

/* タブレット/SP時（850px以下）のmargin-top: 10px;を打ち消し */
@media screen and (max-width: 850px) {
  .p-header__contents {
    margin-top: 20px;
  }
}

/* SP時（500px以下）のheight: 40px;を打ち消し */
@media screen and (max-width: 500px) {
  .p-header__contents {
    height: auto;
  }
}

/* ロゴのサイズと不要な余白をリセット */
.p-header__logo {
  height: 40px;
  width: auto;
  margin-top: 0;
  padding: 0;
}

/* タブレット/SP時（850px以下）のロゴサイズを変更し、不要な余白をリセット */
@media screen and (max-width: 850px) {
  .p-header__logo {
    height: 32px;
    width: auto;
    margin-top: 0;
  }
}

.u-container__wrapper__title {
  padding: 5px 4px;
}