@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.company_search form {
  margin-bottom: 20px;
}
.company_search .fixed01,
.company_search .fixed02{
  position: sticky;
  top: 0;
  left: 0;
  color: #fff;
}

.company_search .fixed01{
  z-index: 2;
}
.company_search .fixed02{
  z-index: 1;
}

.company_search .fixed02 a{
  position: relative;
}

.company_search td.fixed02{
  background-color: #fff;
}

.company_search th.fixed01,
.company_search th.fixed02{
  background-color: #009146;
}

.company_search th,
.company_search td{
  padding: 10px;

}

.company_search th:not(:first-child),
.company_search td:not(:first-child){
  white-space: nowrap;
}

.company_search th:first-child,
.company_search td:first-child{
  min-width: 150px;
}

.company_search thead th{
  text-align: center;
}

.company_search .text-right{
  text-align: right;
}

.company_search table{
  max-width: unset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.company_search .wrap{
  overflow: auto;
  height: 70dvh;
}

.company_search .sort-order-img {
  width: 30px;
  height: 30px;
  display: none;
}

.company_search .sort-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
}
.company_search button{
  width: calc((100% - 55px) / 4);
  min-width: 125px;
  border-radius: 0;
  background-color: #e6e6e6;
  color: #000;
  display: inline-flex;
  align-items: center;;
  justify-content: center;
  padding: 10px;
  font-size: 1rem;
  margin: 0 5px;
}

.company_search label{
  display: inline-block;
  padding: 10px 5px;
  margin: 5px;
  width: calc((100% - 55px) / 4);
  color: #fff;
  background-color: #009146;
  font-size: 1rem;
}

.company_search select,
.company_search input,
.company_search span{
  display: inline-block;
  width: calc((100% - 55px) / 4);
  margin: 5px;
  padding: 10px;
  font-size: 1rem;
}

.company_search button[type="submit"]{
  color: #fff;
  background-color: #021a9f;
}

.company_search input[type="text"]{
  width: calc((100% - 20px) / 4 * 3);
}

.company_search span{
  text-align: center;
}

.single-table table{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 20px 0;
}

.single-table table:nth-last-of-type(-n + 2) td{
  text-align: right;
}

.single-table button{
  color: #fff;
  background-color: #009146;
  width: 10rem;
}



@media screen and (max-width: 540px) {
  .company_search form{
    margin-bottom: 25px;
  }
  .company_search span{
    width: fit-content;
  }
  .company_search label,
  .company_search select,
  .company_search input,
  .company_search span{
    width: calc((100% - 50px) / 2);
    margin: 3px;
    padding: 0 3px;
    line-height: 30px;
    height: 30px;
  }
  .company_search input[type="text"]{
    width: calc(100% - 20px);
  }

  .company_search button{
    padding: 2px 5px;
    margin: 5px;
  }

  .company_search  td,
  .company_search  th {
    border-width: 2px;
  }

  .company_search .sort-tabs button{
    margin: 0 5px;
  }

  .company_search .sort-order-img {
    height: 23px;
    width: 23px;
  }
}