@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 h2 img {
  height: 70px;
}

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 {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.7);
  background: var(--main-color);
  padding: 0;
}

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

header.header-type h2 {
  font-size: 46px;
  transition: .5s;
}

header.header-type h2 span {
  color: var(--white);
  font-weight: bold;
}

header.header-type .btnopen {
  display: block;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  transition: .5s;
}

header.header-type .btncon {
  display: block;
  width: 100px;
  line-height: 90px;
  background: var(--sub-color);
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

header.header-type .nav {
  position: fixed;
  z-index: 999;
  left: -120%;
  top: 0;
  width: 460px;
  height: 100vh;
  display: block;
  background: var(--white);
  padding: 0 20px;
  box-sizing: border-box;
  transition: all 0.6s;
}

header.header-type .nav.active {
  left: 0;
}

header.header-type .nav .btnclose {
  display: block;
  font-size: 30px;
  color: var(--white);
  background: #222;
  width: 54px;
  line-height: 54px;
  text-align: center;
  cursor: pointer;
}

header.header-type .nav .gnav {
  display: block;
  padding-bottom: 30px;
}

header.header-type .nav .gnav li {
  border-bottom: 1px solid var(--gray);
  padding: 20px 30px;
  font-size: 18px;
}

header.header-type .nav .gnav li a {
  color: var(--main-color);
  display: block;
  position: relative;
}

header.header-type .nav .gnav li a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

header.header-type .nav .other li {
  display: block;
  padding-bottom: 30px;
  padding-left: 30px;
  font-size: 14px;
}

header.header-type .nav .other li.phone {
  display: none;
}

header.header-type .nav .other li a {
  color: var(--main-color);
  position: relative;
  padding-right: 20px;
}

header.header-type .nav .other li a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

header.header-type.transform h2 {
  line-height: 1em;
}

header.header-type.transform h2 img {
  height: 50px;
  width: auto;
  display: block;
}

header.header-type.transform h2 span {
  font-size: 30px;
}

header.header-type.transform .btncon {
  line-height: 60px;
}

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