@charset "UTF-8";
/* ヘッダー */
header h2 {
  margin: 0;
  font-size: 12px;
  display: flex;
  align-items: center;
}

header h2 span {
  font-weight: bold;
}

header h2 a {
  font-weight: bold;
}

header .inner {
  width: 1000px;
  display: flex;
  margin: auto;
}

header .links {
  display: none;
}

header .gnav {
  display: flex;
  justify-content: flex-end;
}

header .gnav li {
  display: block;
}

header .other li {
  display: none;
}

header .btncon {
  display: none;
}

header .btnopen {
  display: none;
}

header .btnclose {
  display: none;
}

header .btns {
  display: none;
}

header .boxbtn {
  display: none;
}

header img {
  vertical-align: middle;
}

header a {
  color: var(--black);
  text-decoration: none;
}

header.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.7);
}

header.header-type {
  padding: 20px 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.7);
}

header.header-type .inner {
  justify-content: space-between;
}

header.header-type h2 {
  font-size: 24px;
}

header.header-type h2 span.img-logo img {
  height: 40px;
}

header.header-type .nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header.header-type .other {
  display: flex;
  justify-content: flex-end;
  flex-direction: row-reverse;
  padding-left: 8px;
  margin: 0;
}

header.header-type .other li {
  padding-left: 12px;
}

header.header-type .other li.phone {
  display: block;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2em;
  text-align: center;
}

header.header-type .other li.phone span {
  font-size: 10px;
  display: block;
}

header.header-type .other li.phone i {
  font-size: 12px;
  vertical-align: middle;
  margin-right: 5px;
}

header.header-type .other li.con {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header.header-type .other li.con a {
  display: block;
  width: 154px;
  line-height: 40px;
  text-align: center;
  color: var(--white);
  background: var(--main-color);
  border-radius: 5px;
}

header.header-type .gnav {
  margin: 0;
}

header.header-type .gnav li {
  font-size: 12px;
  padding-left: 20px;
}

header.header-type .gnav li a {
  font-weight: bold;
  position: relative;
}

header.header-type .gnav li a::after {
  position: absolute;
  bottom: 2px;
  left: 50%;
  margin-left: -15px;
  content: '';
  width: 30px;
  height: 4px;
  background: var(--main-color);
  opacity: 0;
  transition: .3s;
}

header.header-type .gnav li a:hover::after {
  bottom: -15px;
  opacity: 1;
}

@media screen and (max-width: 960px) {
  body {
    margin-top: 0px !important;
  }
}
