/*****************************

company CSS

*****************************/

.page_ttl {
  position: relative;
  margin-bottom: 70px;
}

.tab_list {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.tab_list .tab_list_item {
  width: 20%;
}
.tab_list .tab_list_item a {
  text-align: center;
  display: block;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  line-height: 1.3;
}
.tab_list .tab_list_item a::after {
  content: "";
  display: block;
  width: 1px;
  height: 60%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #666;
}
.tab_list .tab_list_item:last-of-type a::after {
  display: none;
}

/* @media all and (min-width: 901px) { */
.tab_list {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 68px;
  z-index: 90;
}

@media all and (-ms-high-contrast: none) {
  .tab_list {
    position: relative;
    top: inherit;
  }
}
.tab_list::before {
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  margin: auto calc(50% - 50vw);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 1);
  /* box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); */
  transition: 0.3s ease-in;
  pointer-events: none;
}
.tab_list.now::before {
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}
/* } */
@media all and (min-width: 901px) {
  .tab_list .tab_list_item a:hover {
    /* background-color: #efc57c; */
    background-color: #e49a1b;
    color: #fff;

    /* color: #e49a1b; */
  }
}
.tab_list .tab_list_item a.active {
  pointer-events: none;
  /* background: #002c76; */
  background-color: #e49a1b;
  color: #fff;
  /* color: #e49a1b; */
}

@media all and (max-width: 900px) {
  .tab_list {
    flex-wrap: wrap;
    justify-content: center;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding-top: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 68px;
    margin-bottom: 60px;
    z-index: 10;
  }
  .tab_list .tab_list_item {
    border-right: 1px solid #fff;
  }
  .tab_list .tab_list_item:last-of-type {
    border-right: none;
  }
  .tab_list .tab_list_item a {
    min-height: 4.3em;
    background: #6e87b1;
    color: #fff;
    line-height: 1.3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: 600;
    padding-right: 0;
    padding-left: 0;
  }
  .tab_list .tab_list_item a::after {
    display: none;
  }
}
@media all and (max-width: 600px) {
  .page_ttl {
    margin-bottom: 60px;
  }

  .tab_list {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding-top: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 57px;
    margin-bottom: 60px;
    z-index: 10;
  }
  .tab_list .tab_list_item {
    width: calc(100% / 3);
    margin-bottom: 0;
    margin-right: 0;
    border-right: 1px solid #fff;
  }
  .tab_list .tab_list_item:last-of-type,
  .tab_list .tab_list_item:nth-last-of-type(2) {
    width: 50%;
    border-top: 1px solid #fff;
  }
  .tab_list .tab_list_item:nth-of-type(3),
  .tab_list .tab_list_item:last-of-type {
    border-right: none;
  }
  .tab_list .tab_list_item a {
    max-width: 100%;
    border-radius: 0;
    font-size: 1.2rem;
    min-height: 0;
    padding: 1em 0;
  }
}
