@charset "UTF-8";
/* ヘッダー */
header {
  padding: 10px 0;
}

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 {
  position: relative;
  z-index: 1;
  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 span {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--main-color);
  color: var(--white);
  width: 140px;
  height: 140px;
  font-size: 18px;
  margin-bottom: -58px;
}

header.header-type h2 span.img-logo {
  background-color: inherit;
}

header.header-type .phone {
  font-size: 24px;
  font-weight: bold;
  line-height: 1em;
  margin-bottom: 0;
}

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

header.header-type .phone span {
  font-size: 12px;
  display: block;
}

header.header-type .links {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 10px;
}

header.header-type .links ul {
  display: flex;
  justify-content: flex-end;
  padding-left: 7px;
  margin: 0;
}

header.header-type .links ul li {
  display: block;
  padding-left: 8px;
  font-size: 14px;
}

header.header-type .links ul li a {
  background: var(--main-color);
  display: block;
  width: 26px;
  line-height: 26px;
  color: var(--white);
  border-radius: 50%;
  text-align: center;
}

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

header.header-type .gnav li {
  padding-left: 29px;
}

header.header-type .gnav a {
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

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

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

header.header-type .other {
  display: none;
}

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