/*
 * style Name: archive.css
  description: 投稿アーカイブ用
 */

.main_single-archive {
  width: 100%;
  background: #fff;
  margin-top: 0;
  padding: 50px 20px;
}

.main_single-archive h2 {
  padding-left: 10px;
  border-left: 5px solid #266fcb;
  margin-bottom: 10px;
  font-size: 22px;
}

.archive_lists {
  list-style: none;
}

.archive_lists li a {
 display: flex;
 color: #333;
 justify-content: space-around;
 padding: 10px;
 border-bottom: 1px solid #ccc;
}

.archive_lists li a:visit {
  color: #333;
}

.archive_lists li a:hover {
  background: #e3f2ff;
}

.archive_thumbnail {
  width: 100px;
  height: 100px;
}

.archive_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive_text {
  padding: 0 10px;
  width: calc(100% - 120px);
}

.archive_text-wrap {
  display: flex;
  justify-content: space-between;
}

.archive_text-title {
  font-size: 16px;
  font-weight: bold;
}

.archive_text-date {
  font-size: 12px;
  text-align: right;
}


/*サイドバー*/
.sidebar_wrap {
  width: 300px;
  min-height: 100%;
  margin-top: 0;
  padding: 50px 20px;
}

.sidebar_wrap aside {
  box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.2);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar_title {
  padding-left: 10px;
  border-left: 5px solid #266fcb;
  font-size: 20px;
}

.sidebar_posts {
  list-style: none;
  margin-bottom: 10px;
}

.sidebar_post {
  border-bottom: 1px solid #cacaca;
}

.sidebar_post a {
  color: #333;
  display: block;
  padding: 10px 5px;
  font-size: 12px;
  font-weight: bold;
}

.sidebar_post a:visited {
  color: #333;
}

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

.sidebar_post a span {
  color: #266fcb;
  font-weight: normal;
}

.sidebar_allposts {
  text-align: right;
}

.sidebar_allposts a {
  color: #333;
  font-size: 12px;
}

.sidebar_allposts a:visited {
  color: #333;
}

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

.sidebar_archive {
  list-style: none;
  margin-top: 5px;
}

.sidebar_archive li a {
  display: block;
  padding: 5px 0;
  color: #333;
}

.sidebar_archive li a:visited {
  color: #333;
}

.sidebar_archive li a:hover {
  opacity: .7;
}

.footer_content {
  margin: auto;
}

.pagination .page-numbers {
  margin: 0 5px;
}

.pagination .page-numbers:last-child {
  margin-right: 0;
}

.pagination .prev, .pagination .next {
  padding: 20px 10px;
}

.nav-links a:hover{
  opacity: .7;
}


@media (max-width:800px) {
  .flex {
    display: block;
    margin: 0 10px 0;
  }

  .main_single {
    width: 100%;
    padding: 0;
  }

  .main_single-archive{
    margin-top: 20px;
  }

  .sidebar_wrap {
    width: 100%;
    padding: 0;
    margin-top: 0;
  }

  .nav-previous {
    width: 50%;
  }

  .nav-links .nav-previous  a {
    border-right: none;
  }

  .nav-next {
    width: 50%;
  }

  .nav-links a {
    display: block;
    text-align: center;
    padding: 10px 0;
  }

  .pagination {
    margin: 20px 0;
  }
}


/*求人情報一覧*/
.page_topvisual {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 35vh;
  width: 100vw;
  position: relative;
  margin: 0 calc(50% - 50vw);
}

.page_topvisual-title {
  font-size: 30px;
  font-weight: bold;
  text-shadow: 0 0 10px #333, 0 0 10px #333, 0 0 10px #333;
  color: #fff;
  margin: 0;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}

.topvisual_recruit {
  background-image: url(../images/recruitment_header.jpg);
  margin-top: 125px;
}

.topvisual_news {
  background-image: url(../images/news_header.jpg);
  margin-top: 125px;
}

@media (max-width:820px) {
  .topvisual_recruit {
    margin-top: 83px;
  }

  .topvisual_news {
    margin-top: 83px;
  }
}

.main_archive-recruit {
  width: 100%;
  background: #fff;
  padding: 0;
  margin-top: 50px;
}

.main_archive-recruit h2 {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  font-size: 24px;
  position: relative;
}

.main_archive-recruit h2::before {
  position: absolute;
  content: "";
  width: 70px;
  height: 3px;
  background-color: #266fcb;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.archive_lists-recruit li {
  background: #e3f2ff;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.archive_list-recruit {
  margin-bottom: 10px;
  padding: 20px;
  display: flex;
}

.archive_image-recruit {
  width: 35%;
}

.archive_image-recruit img {
  width: 100%;
}

.archive_text-title-recruit {
  font-size: 18px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #266fcb;
}

.archive_text-recruit {
  width: 65%;
  padding: 0 0 0 20px;
}

.archive_recruit-table {
  width: 100%;
}

.archive_recruit-table th {
  width: 22%;
  padding: 5px 0;
}

.archive_recruit-table td {
  width: 78%;
  padding: 5px 0;
}

.archive_recruit-button-wrap {
  display: flex;
  justify-content: space-evenly;
  margin: 0 10%;
}

.archive_recruit-button {
  text-align: center;
  padding-bottom: 10px;
  width: 100%;
}

.archive_lists li .archive_recruit-button a {
  display: block;
  border: none;
  background: #ff894a;
  max-width: 300px;
  margin: 0 auto;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 4px 4px 2px -2px #999;
  transition: all .2s;
}

.archive_lists li .archive_recruit-button a:hover {
  opacity: .7;
}

.recruit_nothing {
  text-align: center;
}


@media (max-width:800px) {
  .archive_lists li .archive_recruit-button a {
    max-width: 200px;
  }
}


@media (max-width:600px) {
  .archive_list-recruit {
    display: block;
  }

  .archive_image-recruit {
    width: 100%;
  }

  .archive_text-recruit {
    width: 100%;
    padding: 0;
  }

  .archive_recruit-table th {
    width: 30%;
  }

  .archive_recruit-table td {
    width: 70%;
  }

  .archive_recruit-button-wrap {
    display: block;
  }

  .archive_lists li .archive_recruit-button a {
    max-width: 100%;
  }
}

@media (max-width: 460px) {
  .page_topvisual{
    height: 20vh;
  }
}

@media (max-width:380px) {
  .recruit_nothing {
    font-size: 16px;
  }
}