/*
Theme Name:base_theme
Description :基本だけのテーマ
Author:doraever.jp
Version :0.0.1
*/
/* ―――――――――――――――――――――――――――――――
ベース
――――――――――――――――――――――――――――――― */
* {
  margin: 0;
  padding: 0;
}

body {
  box-sizing: border-box;
  color: #333;
  font-size: 14px;
  font-family: 'メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
  overflow-x: hidden;
}

.body_wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}

a {
  text-decoration: none;
}

.flex {
  display: flex;
}

.gnav_flex {
  justify-content: space-between;
  align-items: center;
}

#gnav a {
  text-decoration: none;
  color: #fff;
}

.block_inner {
  width: 100%;
  height: inherit;
  max-width: 980px;
  margin: 0 auto;
  justify-content: space-between;
}

/* ―――――――――――――――――――――――――――――――
header menu submenu
――――――――――――――――――――――――――――――― */
/* 親メニューをrelativeに */
.menu-item-has-children {
  position: relative;
}

/* マウスオーバーしたときにカーソルを変更 */
.menu-item-has-children:hover {
  cursor: pointer;
}

/* 子メニューを持つ親メニューにマウスホバーしたとき副項目を表示 */
.menu-item-has-children:hover .header-nav-child {
  display: block;
}

/* サブメニューをabsoluteにして親メニューの下に配置。*/
.header-nav-child {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  width: max-content;
  background: #333;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
  padding: 0;
  z-index: 100;
}

.header-nav-child > .menu-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.header-nav-child > .menu-item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: .5em 0;
}

.header-nav-child > .menu-item a:hover {
  background: black;
  color: white;
}


header {
  background: #266fcb;
  position: fixed;
  width: 100%;
  z-index: 999;
  height: 125px;
}

#logo_header {
  text-align: center;
  background: #266fcb;
}

#logo_header a {
  color: #333;
  display: inline;
}

#logo_header a img {
  width: 100%;
  max-width: 300px;
  margin: 20px auto 0;
}

#gnav {
  display: flex;
  list-style: none;
  line-height: 3;
  justify-content: space-evenly;
}

.gnav_wrap {
  background: #266fcb;
  margin-top: -6px;
}

.gnav_wrap > ul > li {
  position: relative;
}

.gnav_wrap > ul > li::before {
  position: absolute;
  content: "";
  display: block;
  right: 0;
  top: 22%;
  width: 0;
  height: 50%;
  border-right: 1px solid #fff;
}

.gnav_wrap > ul > li:last-child::before {
  border-right: none;
}

.menu-item {
  padding: 2px 0;
  width: 160px;
  text-align: center;
}

.menu-item:hover {
  border-bottom: 2px solid yellow;
}

.menu-item a {
  display: block;
}

#gnav li .sub-menu {
    display: block;
    line-height: 2;
}

.sub-menu li {
  margin: 0;
  list-style: none;
  padding: 0;
  text-align: left;
}

.sub-menu li a {
  display: block;
   padding: 6px 6px;
   background: #3890ff;
   line-height: 1.3;
   font-size: 13px;
}

.sub-menu li a:hover {
  background: #fff;
  color: #3890ff !important;
}

.sub-menu .menu-item:hover {
  border-bottom: none;
}

.header-nav .sub-menu li:nth-child(1) > a::before {
    content: "\f44b";
}

.header-nav .sub-menu li:nth-child(2) > a::before {
    content: "\f70c";
}


.navbutton {
  display: none;
}

@media (max-width:820px) {
  header {
    height: 83px;
  }

  #logo_header {
    text-align: left;
    height: inherit;
    margin-left: 5px;
  }

  .navbutton {
    font-size: 2rem;
    position: absolute;
    z-index: 999;
    top: 40px;
    right: 1.25rem;
    display: block;
    cursor: pointer;
    transform: translateY(-50%);
    border: 0;
    background-color: transparent;
  }

  .navbutton:focus {
    outline: 0;
  }

  .navbutton_icon {
    position: relative;
    display: block;
  }
 
  .navbutton_icon, .navbutton_icon::before, .navbutton_icon::after {
    background-color: #fff;
    height: 2px;
    transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    width: 25px;
  }

  .navbutton_icon::before {
    top: -6px;
  }

  .navbutton_icon::after {
    top: 6px;
  }

  .navbutton_icon::before, .navbutton_icon::after {
    position: absolute;
    left: 0;
    content: ' ';
  }

  .gnav_wrap {
    display: none;
    width: 200px;
    position: absolute;
    right: 0;
  }

  #gnav {
    display: block;
  }

  .menu-item {
    width: auto;
  }
  
  .menu-item-has-children:hover .header-nav-child {
    display: none;
}

.gnav_wrap > ul > li::before {
  border-right: none;
}

.menu-item:hover {
  border-bottom: none;
}

}

@media (max-width:380px) {
  #logo_header a img {
    max-width: 220px;
  }
}

/* ―――――――――――――――――――――――――――――――
base
――――――――――――――――――――――――――――――― */
footer {
  background: #266fcb;
  /* height: 60px; */
  /* line-height: 60px; */
  text-align: center;
  font-size: 14px;
  color: #fff;
}

main {
  background: #eee;
  margin-top: 125px;
}

.main_single {
  width: calc(100% - 300px);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 340px);
}

.sidebar_wrap {
  padding: 100px 20px;
  margin-top: 125px;
}

.single_ttl {
  margin-bottom: 50px;
}

.footer_content {
  margin-top: auto;
}

.footer_info {
  padding-top: 20px;
  margin-left: 10px;
}

.block_inner .footer_info p {
  text-align-last: left;
  padding-bottom: 10px;
}

.footer_name {
  font-size: 24px;
}

.block_inner .footer_info p.footer_name {
  padding-bottom: 0;
}

.footer_menu ul {
  display: flex;
  list-style: none;
  justify-content: center;
}

.footer_menu ul li {
  margin-right: 10px;
}

.footer_menu ul li:last-child {
  margin-right: 0;
}

.footer_menu ul li a {
  color: #fff;
}

.footer_menu ul li a:hover {
  opacity: .7;
}

.footer_menu ul li a:visited {
  color: #fff;
}

.copy-light {
  padding-bottom: 10px;
}

.pagination{
   margin:40px 0 0;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   display:inline-block;
   margin-right:20px;
   padding:20px 25px;
   color:#333;
   border-radius:3px;
   box-shadow:0 3px 3px #999;
   background:#fff;
}
.pagination .current{
   padding:20px 25px;
   background:#266fcb;
   color:#fff;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#266fcb;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}

.pagination{
   margin:40px 0 0;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   display:inline-block;
   margin-right:20px;
   padding:20px 25px;
   color:#333;
   border-radius:3px;
   box-shadow:0 3px 3px #999;
   background:#fff;
}
.pagination .current{
   padding:20px 25px;
   background:#266fcb;
   color:#fff;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#266fcb;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}

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

.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:820px) {
  main {
    margin-top: 83px;
  }
}

/* ―――――――――――――――――――――――――――――――
募集要項 front,recruit共通
――――――――――――――――――――――――――――――― */
.block_recruit {
  padding-bottom: 50px;
}

.recruit_list {
  display: flex;
  justify-content: center;
  margin: 0 10px;
}

.recruit_list-item {
  width: 100%;
}

.recruit_list .recruit_list-item {
  width: 25%;
  margin: 0 5px;
  display: flex;
}

.recruit_list .recruit_list-item a {
  color: #333;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.recruit_list .recruit_list-item a:hover {
  opacity: .7;
}

.recruit_list .recruit_list-item a:visited {
  color: #333;
}

.block_inner .recruit_list-status {
  padding-bottom: 0;
  background: #ff6868;
  padding: 5px 0;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
  margin: 0;
  text-align: center;
}

.block_inner .recruit_list-title {
  font-weight: bold;
  font-size: 16px;
  padding: 15px 10px;
  text-align: center;
  margin: 0;
  flex-grow: 1;
}

.block_recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  padding: 0;
  line-height: 1;
  height: 300px;
}

.block_recruit-table tr {
  line-height: 3;
  border: 1px solid #bbb;
}

.block_recruit-table th, .block_recruit-table td {
  padding: .5em 10px .5em 1em;
  border-right: 1px solid #bbb;
}

.block_recruit-table th {
  width: 50px;
  background: #f8f8f8;
}

.block_recruit-table td {
  line-height: 1.3;
}

.recruit_table-job {
  height: 40px;
}

.recruit_table-salary {
  height: 80px;
}

.recruit_table-area {
  height: 100px;
}

.recruit_all {
  text-align: right;
  margin: 10px 20px 0;
}

.recruit_all a {
  color: #333;
}

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

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

.recruit_nothing {
  font-size: 18px;
  font-weight: bold;
  background: #eee;
  padding: 20px !important;
}

@media (max-width:980px) {
    .block_inner .recruit_list {
      flex-flow: row wrap;
      margin: 0 10px;
  }

  .block_inner .recruit_list .recruit_list-item {
      width: calc(50% - 10px);
      /* margin-right: 0px; */
      margin-bottom: 40px;
  }

  .block_inner .recruit_list .recruit_list-item:nth-child(3),
  .block_inner .recruit_list .recruit_list-item:nth-child(4) {
    margin-bottom: 0;
  }
}

@media (max-width:500px) {
  .block_inner .recruit_list .recruit_list-item {
    width: 100%;
  }

  .block_inner .recruit_list .recruit_list-item:nth-child(3) {
    margin-bottom: 40px;
  }

  .block_inner .recruit_list .recruit_list-item:last-child {
    margin-bottom: 0;
  }

  .block_recruit-table {
    height: auto;
  }

  .block_recruit-table tr {
    line-height: 2;
  }

  .recruit_table-job {
    height: 100%;
  }

  .recruit_table-salary {
    height: 100%;
  }

  .recruit_table-area {
    height: 100%;
  }
}

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

/* ―――――――――――――――――――――――――――――――
TOPへ戻る
――――――――――――――――――――――――――――――― */
#page-top{
  position:fixed;
  right:16px;
  bottom:16px;
  display: none;
  z-index:9999;
}

#page-top a{
  color:#fff;
  padding:10px;
  text-decoration:none;
  display:block;
  cursor:pointer;
  text-align:center;
  background:#aaa;
  line-height:100%;
  border-radius: 5px;
  -webkit-border-radius: 5px;
   -moz-border-radius: 5px; 
}

#page-top a:hover{
  background:#8b8b8b;
  -webkit-transition:all 0.3s;
  -moz-transition:all 0.3s;
  transition:all 0.3s;
}

/*====================================
fadein
====================================*/
.fade-in {
	opacity: 0;
	transition-duration: 1000ms;
	transition-property: opacity, transform;
}

.fade-in-up {
	transform: translate(0, 50px);
}

.scroll-in {
	opacity: 1;
	transform: translate(0, 0);
}


