* {
  margin: 0;
  padding: 0;
}

body {
  font-size: 81%;
  font-family: "Helvetica", "Arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "YuGothic", "游ゴシック", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "sans-serif";
  color: #333;
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
dl,
dt,
dd,
p,
th,
td,
em,
strong,
div,
address {
  font-weight: normal;
  font-size: 100%;
  font-style: normal;
  list-style: none;
  max-height: 999999px;
}

img {
  border: none;
  vertical-align: bottom;
  margin: 0;
  padding: 0;
}

input,
label,
select {
  zoom: 1;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

a {
  text-decoration: none;
  outline: none;
  color: #3e3a39;
  transition: all 0.3s ease 0s;
}

input,
label {
  display: inline;
  vertical-align: middle;
}

body {
  background: #f1f5f7;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

a,
a:hover {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
  filter: alpha(opacity=60);
  opacity: 0.6;
}

#wrapper {
  width: 100%;
  margin: 0 auto;
}

/* ヘッダー */

header {
  width: 960px;
  margin: 0 auto;
}

#dropmenu {
  width: 803px;
  margin: 38px auto 38px;
}

.list {
  float: left;
  margin-left: 50px;
}

.list:first-child {
  margin-left: 0;
}

.list a {
  transition: all 0.45s ease 0s;
  border-bottom: solid 2px transparent;
  color: #fff;
  letter-spacing: 0.5px;
}

.list a:hover img {
  filter: alpha(opacity=100);
  opacity: 1;
}

.list a:hover {
  border-bottom: solid 2px #036eb7;
  filter: alpha(opacity=100);
  opacity: 1;
}

.drop.list a:hover {
  border: none;
}

.list img {
  padding-bottom: 8px;
}

.logo {
  margin: 0 auto;
  width: 235px;
  padding-top: 100px;
  padding-bottom: 40px;
}

/* ドロップメニュー */

nav > ul > li {
  position: relative;
  float: left;
}

nav .down {
  position: absolute;
  width: 180px;
  background: #036eb7;
  margin-top: -5px;
  z-index: 999;
  left: -24px;
}

.gnav_recruit .down {
  left: -53px;
}

nav .down a {
  padding: 6px 11px;
  display: block;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "YuMincho", "游明朝", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  text-align: center;
}

nav .down a:hover {
  color: #fff;
}

nav .drop:hover ul {
  display: block;
}

nav .drop li a {
  border: none;
}

nav .drop li a:hover {
  background: #62a4d0;
  border: none;
}

nav .down li {
  border-top: solid 1px #f1f5f7;
}

nav .down li:first-child {
  border: none;
}

/* IE11ハック */
@media all and (-ms-high-contrast: none) {
  *::-ms-backdrop,
  nav .down li a {
    padding-top: 10px;
  }
}

/* ドロップメニューフェード */

#fade-in li ul {
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease 0s;
}

#fade-in li:hover ul {
  visibility: visible;
  opacity: 1;
}

#fade-in li ul li a {
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease 0s;
}

#fade-in li:hover ul li a {
  visibility: visible;
  opacity: 1;
}

/* ローカルナビ */

.localnav {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 54px;
  z-index: 9999999;
}

.localnav li {
  overflow: hidden;
  padding-left: 13px;
  margin-left: 13px;
  border-left: solid 1px #888;
  display: inline;
}

.localnav li:first-child {
  margin: 0;
  padding: 0;
  border: none;
}

.localnav li a {
  display: inline-block;
  letter-spacing: 0.75px;
  font-size: 14px;
}

.localnav li a.is-current {
  text-decoration: underline;
  text-decoration-color: #036eb7;
  text-decoration-thickness: 2px;
  /* 線の太さ */
  text-underline-offset: 5px;
  /* 文字との距離 */
}

#fixd-head .localnav li a.is-current {
  text-decoration-color: white;
  text-decoration-thickness: 1px;
  /* 線の太さ */
}

/* 固定ナビゲーション */

.fixenavigation #dropmenu {
  margin-top: 20px;
}

#fixd-head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: none;
  background: #f1f5f7;
  text-align: center;
  margin: 0 auto;
  filter: alpha(opacity=90);
  opacity: 0.9;
}

#fixd-head #dropmenu {
  margin-bottom: 40px;
  text-align: left;
}

#fixd-head nav {
  display: inline-block;
}

#fixd-head .localnav {
  margin: -0.8rem auto;
  padding: 10px 0 7px;
  background: #036eb7;
}

#fixd-head .localnav li {
  border-left: solid 1px #fff;
  text-align: left;
}

#fixd-head .localnav li:first-child {
  border-left: none;
}

@media (max-width: 768px) {
  #fixd-head .localnav li:nth-child(4) {
    border-left: none;
  }
}

#fixd-head .localnav li a {
  color: #fff;
}

/* カレント */
#fade-in li:hover ul li a {
  border: none;
}

.home .gnav_top a,
.business .gnav_business a,
.page-template-career .gnav_recruit a,
.mission .gnav_mission a,
.companyinfo .gnav_companyinfo a,
.page-template-news .gnav_news a,
.single .gnav_news a,
.archive .gnav_news a,
.page-template-recruit .gnav_recruit a,
.page-template-career .gnav_recruit a {
  border-bottom: solid 2px #036eb7;
  filter: alpha(opacity=100);
  opacity: 1;
  transition: all 0s ease 0s;
}

.page-template-career .gnav_recruit a:hover {
  border-bottom: solid 2px transparent;
}

/* フッター */

footer {
  width: 960px;
  margin: 0 auto 30px;
  overflow: hidden;
  font-size: 12px;
  padding-top: 20px;
  border-top: solid 1px #888;
}

footer .left {
  float: left;
  overflow: hidden;
}

footer .right {
  float: right;
  overflow: hidden;
  width: 350px;
  line-height: 2;
}

footer p {
  letter-spacing: 0.5px;
  line-height: 2;
}

footer .left span a {
  color: #fff;
  text-decoration: none;
  background: #333;
  color: #fff;
  padding: 3px 4px 2px;
}

footer a {
  text-decoration: underline;
}

footer li {
  display: inline;
  overflow: hidden;
  border-left: solid 1px #888;
  padding-left: 13px;
  padding-right: 13px;
}

footer li a {
  display: inline-block;
  text-decoration: underline;
}

footer li:first-child {
  border: none;
  padding-left: 0;
}

footer .right ul {
  float: right;
  clear: both;
}

footer small {
  letter-spacing: 0.5px;
  overflow: hidden;
  float: right;
  overflow: hidden;
  font-size: 12px;
  font-family: "Helvetica", "Arial";
}

footer .right ul .last {
  padding-right: 0;
}

/* トップ */

.slides li a {
  display: block;
}

.sidenews {
  width: 300px;
  height: 630px;
  float: right;
  overflow: hidden;
  background: #fff;
}

.top_newstitle {
  display: block;
  margin: 60px auto;
}

.newsinner {
  width: 232px;
  margin: 0 auto;
  text-align: center;
}

.newselement {
  margin-bottom: 20px;
  transition: all 0.45s ease 0s;
}

.newselement:hover {
  filter: alpha(opacity=60);
  opacity: 0.6;
}

.newsinner dt {
  border-bottom: solid 1px #e5e5e5;
  font-size: 84%;
  letter-spacing: 0.5px;
  padding-bottom: 1px;
  margin-bottom: 5px;
}

.andmore {
  margin-top: 27px;
}

.topvisual {
  padding-bottom: 55px;
  overflow: hidden;
}

.contentinn {
  width: 960px;
  overflow: hidden;
  float: left;
  margin-bottom: 40px;
}

.contentinn .topbnr {
  margin-left: 30px;
}

.contentinn .topbnr a {
  display: block;
}

.contentinn .topbnr:first-child {
  margin-left: 0;
}

.bnrbox {
  margin-bottom: 75px;
  overflow: hidden;
}

.bnrbox.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  align-items: stretch;
  gap: 60px 0;
}

.bnrbox.grid a p {
  margin-block-start: 10px;
}

.bnrbox.grid .bnrv {
  height: auto;
  object-fit: cover;
  width: 100%;
}

.bnrbox a:nth-child(-n + 3) img.bnrv {
  height: 360px;
}
/* .bnrbox a img.bnrv:not(:nth-child(-n+3)) {
  height: auto;
} */

.bnrbox.grid .bnrv.contain {
  padding: 50px 80px 0;
  box-sizing: border-box;
  object-fit: contain;
  height: 225px;
}

.bnrbox.grid .bnrv.position {
  object-position: center -10px;
}

.bnrbox.grid .secondbnr {
  margin-top: 0;
}

.leftbnr {
  width: 300px;
  float: left;
  overfloaw: hidden;
  margin-right: 30px;
}

.leftbnr a {
  display: block;
}

.cenbnr {
  width: 300px;
  float: left;
  overfloaw: hidden;
  margin-right: 30px;
}

.cenbnr a {
  display: block;
}

.rightbnr {
  width: 300px;
  float: left;
  overfloaw: hidden;
}

.rightbnr a {
  display: block;
}

.leftbnr p,
.cenbnr p,
.rightbnr p {
  font-size: 92%;
  letter-spacing: 1px;
  margin-top: 13px;
}

.topbnr {
  width: 300px;
  overflow: hidden;
  float: left;
  text-align: center;
}

.topbdr {
  width: 15px;
  border-bottom: solid 1px #808080;
  padding-top: 11px;
  margin: 0 auto 13px;
}

.bnrv {
  margin-bottom: 27px;
}

.secondbnr {
  margin-top: 50px;
}

/* 固定ナビゲーション／モバイル対応 */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  #fixd-head {
    /* display:none!important; */
    display: block;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  #fixd-head {
    /* display:none!important; */
    display: block;
  }
}

.bnrbox_sp {
  display: none;
}

@media screen and (max-width: 1024px) {
  .bnrbox_sp {
    display: block;
  }

  .bnrbox_spnone {
    display: none;
  }

  .bnrbox.grid {
    display: none;
  }
}
