/* use font-awesome */
.secondary-menu a::before,
.primary-menu a::after {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;

  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.header {
  background-color: #fff;
  width: 100%;
}
.header-inner {
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
  padding: 6px 48px 6px 10px;
  position: relative;
}
.header-inner::after {
  content: "";
  display: block;
  clear: both;
}
@media (max-width: 767px) {
  .header {
    position: fixed;
    top: 0; left: 0;
    z-index: 10;
  }
}
@media (min-width: 768px) {
  .header-inner {
    padding: 6px 15px;
  }
}
@media (min-width: 1020px) {
  .header-inner {
    padding: 6px 0;
  }
}

.branding {
  float: left;
  width: 128px;
  margin-top: 12px;
}
.branding h1 {
  font-size: 1em;
  line-height: 1;
  margin: 0;
  vertical-align: top;
}
.branding img {
  width: 100%;
  height: auto;
}


.header_recruit .branding {
	width: 200px;
}



.primary-menu {

}
.primary-menu a {
  color: #404040;
  font-weight: bold;
  display: block;
  text-decoration: none;
  padding: .8em .5em;
}
.primary-menu a span {
  position: relative;
  z-index: 1;
}
.primary-menu a small {
  color: #f2f2f2;
  font-family: 'Paytone One', sans-serif;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  top: 1em;
  left: -.5em;
  transform-origin: center left;
  transform: rotate(-3deg) scale(4,6);
  letter-spacing: -0.025em;
}
.primary-menu :nth-child(1) a small { color: #fce5ff; }
.primary-menu :nth-child(2) a small { color: #fff1d6; }
.primary-menu :nth-child(3) a small { color: #e5f3ff; }
.primary-menu :nth-child(4) a small { color: #ffebeb; }
.primary-menu :nth-child(5) a small { color: #e7ffd6; }
.primary-menu :nth-child(6) a small { color: #f0e5ff; }
.primary-menu :nth-child(1) a:hover small { color: #f9ccff; }
.primary-menu :nth-child(2) a:hover small { color: #ffe6b3; }
.primary-menu :nth-child(3) a:hover small { color: #cce7ff; }
.primary-menu :nth-child(4) a:hover small { color: #ffcccc; }
.primary-menu :nth-child(5) a:hover small { color: #c3ff99; }
.primary-menu :nth-child(6) a:hover small { color: #e1ccff; }

.primary-menu a::after {
  color: #039;
  content: "\f152";
  margin-top: -.5em;
  position: absolute;
  top: 50%;
  right: .5em;
}
.primary-menu a:hover::after {
  color: #005fcc;
}



.primary-menu ul {
  display: none;
  border-bottom: solid 1px #e6e6e6;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu ul li {
  border-top: solid 1px #e6e6e6;
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) {
  .primary-menu {
    border-top: solid 1px #e6e6e6;
    border-bottom: solid 1px #e6e6e6;
    background: #f2f2f2;
    background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 49%, #f2f2f2 50%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 49%,#f2f2f2 50%,#ffffff 100%);
    background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 49%,#f2f2f2 50%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
  }
  .primary-menu ul {
    height: auto;
    display: flex !important;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  .primary-menu ul li {
    border-top: none;
    width: 16.66%;
    text-align: center;
  }
  .primary-menu ul li + li {
    border-left: ridge 2px #FFF;
  }
  .primary-menu ul li a:hover {
    background: #dde1ee;
    background: -moz-linear-gradient(top, #dde1ee 0%, #e2e5e9 49%, #cfd7e2 50%, #ebf0fa 100%);
    background: -webkit-linear-gradient(top, #dde1ee 0%,#e2e5e9 49%,#cfd7e2 50%,#ebf0fa 100%);
    background: linear-gradient(to bottom, #dde1ee 0%,#e2e5e9 49%,#cfd7e2 50%,#ebf0fa 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dde1ee', endColorstr='#ebf0fa',GradientType=0 );
  }
  .primary-menu :nth-child(1) a:hover small { color: #e434ff; }
  .primary-menu :nth-child(2) a:hover small { color: #ffaa00; }
  .primary-menu :nth-child(3) a:hover small { color: #33a0ff; }
  .primary-menu :nth-child(4) a:hover small { color: #1fccb5; }
  .primary-menu :nth-child(5) a:hover small { color: #ff3333; }
  .primary-menu :nth-child(6) a:hover small { color: #55bd0f; }
  .primary-menu :nth-child(7) a:hover small { color: #8533ff; }
  .primary-menu ul li a {
    font-size: .875em;
    font-weight: bold;
    padding: .5em;
  }
  .primary-menu ul li a::after {
    content: none;
  }
  .primary-menu :nth-child(n) a small {
    color: #000;
    font-size: 10px;
    font-family: inherit;
    font-weight: normal;
    display: block;
    margin-top: 4px;
    position: initial;
    transform: none;
  }
}
@media (min-width: 1020px) {
  .primary-menu ul li {
    border-left: ridge 2px #FFF;
  }
  .primary-menu ul li:last-child {
    border-right: ridge 2px #FFF;
  }
}
.secondary-menu {
  float: right;
}
.secondary-menu__flexbox {
  margin-bottom: 4px;
}
.secondary-menu a {
  background-color: #039;
  border-radius: 2px;
  color: #FFF;
  font-size: .625em;
  line-height: 20px;
  padding: 4px 7px;
  text-align: center;
  text-decoration: none;
}
.secondary-menu a:hover {
  background-color: #005fcc;
}
.secondary-menu a::before {
  margin-right: 5px;
}
.secondary-menu .switcher::before { content: "\f0ac"; }
.secondary-menu .sitemap::before { content: "\f0e8"; }
.secondary-menu .sitemap {
  letter-spacing: -.15em;
  margin-top: 4px;
}



.accordion-menu {
  border: solid 1px #e6e6e6;
  border-radius: 4px;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  position: absolute;
  top: 12px; right: 8px;
  z-index: 100;
}
.accordion-menu button,
.accordion-menu button span {
  display: inline-block;
  -webkit-transition: all .4s;
  -o-transition: all .4s;
  transition: all .4s;
}
.accordion-menu button {
  background: none;
  border: none;
  display: block;
  width: 16px;
  height: 12px;
  outline: none;
  padding: 0;
  position: relative;
}
.accordion-menu button span {
  position: absolute;
  z-index: 10;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1a1a1a;
  border-radius: 2px;
}
.accordion-menu button span:nth-of-type(1) {
  top: 0;
}
.accordion-menu button span:nth-of-type(2) {
  top: 5px;
}
.accordion-menu button span:nth-of-type(3) {
  bottom: 0;
}
.accordion-menu button.active span:nth-of-type(1) {
  -webkit-transform: translateY(5px) rotate(-45deg);
      -ms-transform: translateY(5px) rotate(-45deg);
          transform: translateY(5px) rotate(-45deg);
}
.accordion-menu button.active span:nth-of-type(2) {
  opacity: 0;
}
.accordion-menu button.active span:nth-of-type(3) {
  -webkit-transform: translateY(-5px) rotate(45deg);
      -ms-transform: translateY(-5px) rotate(45deg);
          transform: translateY(-5px) rotate(45deg);
}
@media (min-width: 768px) {
  .accordion-menu {
    display: none;
  }
}

.adframe {
  display: none;
  float: right;
}
