/* 企業別特集ページ共通CSS（ファミマ特集ベース） */

/* フォーカス可視性 */
.campaign a:focus,
.campaign button:focus,
.campaign select:focus {
    outline: 2px solid #40bfb8;
    outline-offset: 2px;
}

.campaign h2 {
  font-size: 18px;
  border-bottom: 1px solid #2196f3;
  color: #2196f3;
  letter-spacing: 2px;
  padding: 0 0 3px 5px;
}

.campaign li {
  font-size: 14px;
  padding-right: 5px;
  display: inline-block;
}

.campaign a {
  padding: 9px 8px;
}

.campaign a:hover {
  text-decoration: none;
}

.campaign img {
  width: 100%;
}

/* メインビジュアル */
.top_img {
  margin: 0 -30px;
}

.top_img img {
  margin-bottom: 70px;
}

/* タイトル */
.tit {
  text-align: center;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: bold;
  color: #666;
}

.tit__text {
  text-align: center;
}

/* 検索エリア */
.search__wrap {
  margin: 0 0 50px 0;
  text-align: center;
}

.search__wrap-flex {
  display: flex;
}

.search__container {
  width: 50%;
  margin: 10px;
}

.search__wrap form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search__wrap select {
  border: none;
  padding: 5px 20px;
  border-radius: 3px;
  background: #f1f1f1;
  height: 60px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 15%);
  margin-left: 5px;
  max-width: 300px;
  width: 100%;
  min-width: 0;
}

.search__wrap button {
  padding: 5px 20px;
  border: none;
  border-radius: 3px;
  height: 61px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 15%);
  margin-left: 10px;
  background: #40bfb8;
  color: #fff;
  flex-shrink: 0;
}

.search__wrap button:hover {
  opacity: .7;
}

.search__area-wrap {
  max-width: 500px;
  margin: auto;
}

.search__area {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.search__area a {
  font-size: 14px;
  font-weight: bold;
  padding: 8px 0;
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
  width: calc(50% - 8px);
  margin: 3px 4px 10px;
  background: #40bfb8;
  color: #fff;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 15%);
  text-align: center;
}

.search__area a:hover {
  opacity: .7;
}

/* 求人リスト */
.job__wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.job__box {
  width: 48%;
  margin: 0 1%;
  margin-bottom: 1em;
}

.job__inner {
  background: #fff;
  border-radius: 3px;
  height: 100%;
  padding-bottom: 20px;
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

h3.job__ttl {
  font-size: 15px;
  background: #40bfb8;
  color: #fff;
  padding: 10px;
  border-radius: 3px 3px 0 0;
  margin-bottom: 0;
}

.job__ttl small {
  color: #fff;
  font-size: 10px;
  font-weight: bold;
}

.job__thumb img {
  width: 100%;
}

.label__wrap {
  padding: 5px 15px 10px;
}

.label__wrap span {
  color: #426a68;
  background: #E9F0F0;
  font-size: 11px;
  padding: 3px 5px;
  border-radius: 4px;
  margin-right: 5px;
  font-weight: normal;
  display: inline-block;
}

.job__text {
  padding: 15px;
  font-size: 14px;
}

.job__text dl {
  display: flex;
  margin-bottom: 3px;
  border-bottom: 1px dotted #c4c4c4;
}

.job__text dt {
  width: 70px;
  text-align: right;
  font-weight: normal;
}

.job__text dd {
  width: calc(100% - 70px);
}

.job__text dd span::after {
  content: ',';
}

.job__text dd span:last-child::after {
  content: none;
}

.job__btn {
  margin-top: auto;
}

.job__btn a {
  display: block;
  background: #fff;
  color: #40bfb8;
  border: solid 1px;
  width: 150px;
  text-align: center;
  margin: 0 auto;
  font-size: 14px;
  border-radius: 3px;
  transition: .3s;
  padding: 9px 8px;
}

.job__btn a:hover {
  opacity: 0.5;
}

/* 求人なし */
.no-jobs {
  text-align: center;
  padding: 60px 20px;
  background: #f5f5f5;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto 50px;
}

.no-jobs p {
  color: #666;
  font-size: 16px;
}

/* 戻るリンク */
.back-link {
  text-align: center;
  margin: 30px 0;
}

.back-link a {
  color: #40bfb8;
  text-decoration: none;
  font-size: 16px;
}

.back-link a:hover {
  text-decoration: underline;
}

/* その他求人ボタン */
.all_btn_wrap {
  margin: 30px 0;
  padding-bottom: 50px;
}

.all_btn_wrap a,
.all_btn_wrap button {
  display: table;
  margin: 0 auto;
  color: #fff;
  background: #40bfb8;
  text-align: center;
  padding: 20px 20px;
  border-radius: 4px;
  transition: all 0.5s ease 0s;
  text-decoration: none;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
}

.all_btn_wrap a:hover,
.all_btn_wrap button:hover {
  opacity: .8;
}

.all_btn_wrap button {
  border: none;
}

/* レスポンシブ */
@media (min-width: 769px) {
  .pc_none {
    display: none;
  }
}

@media (max-width: 768px) {
  .top_img {
    margin: 0 -15px;
  }

  .job__box {
    margin-right: 0px;
    margin-bottom: 15px;
  }

  .campaign li {
    margin-bottom: 10px;
  }

  .search__wrap form {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
  }

  .search__wrap button {
    margin-top: 1.5rem;
    margin-left: 0;
    width: 100%;
  }

  .job__wrap {
    flex-direction: column;
  }

  .job__box {
    width: 100%;
    margin: 0 0 1em;
  }

  .search__wrap select {
    margin: 0 auto;
    width: 100%;
  }

  /* トップページ用 */
  .search__wrap-flex {
    display: block;
  }

  .search__container {
    width: 100%;
    margin: 20px 0;
  }

  .search__area {
    width: 100%;
    display: block;
  }

  .search__area a {
    width: 100%;
    max-width: 200px;
  }
}
