* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  cursor: url(../cursor/pointer-normal.cur) 20 20, pointer;
  font-feature-settings: 'palt' 1;
}
body {
  font-family: 'ヒラギノ角ゴシック', Hiragino Sans, Meiryo, sans-serif;
}
a {
  text-decoration: none;
  cursor: url(../cursor/pointer-active.cur) 20 20, pointer;
}
.overlay-contact {
  overflow: hidden;
}
.logo_nav {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 0;
  height: 88px;
  background: #fff;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  transition-duration: 0.6s;
}

.fixed .logo_nav {
  width: 100%;
}

.logo_nav a,
.logo_nav img {
  position: fixed;
  top: 10px;
  right: 0;
  left: 0;
  display: none;
  width: 200px;
  height: 60px;
  margin: auto;
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0s;
  transition-property: all;
}

.fixed .logo_nav a,
.fixed .logo_nav img {
  display: block;
  opacity: 1;
  transition-delay: 0.1s;
  transition-duration: 0.6s;
}

.gnavi_btn {
  position: fixed;
  top: 0;
  z-index: 100;
  display: block;
  width: 88px;
  height: 88px;
  background: #52a0fd;
  background: linear-gradient(to right, #52a0fd 0%, #00e2fa 80%, #00e2fa 100%);
}
.gnavi_btn:hover {
  cursor: url('../cursor/pointer-active.cur') 20 20, pointer;
}
.gnavi_btn::before {
  position: fixed;
  top: 36px;
  left: 30px;
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease-in-out 0s;
  content: '';
}
.gnavi_btn::after {
  position: fixed;
  top: 36px;
  left: 30px;
  display: block;
  width: 25px;
  width: 15px;
  height: 3px;
  margin-top: 12px;
  background: #fff;
  transition: all 0.3s ease-in-out 0s;
  content: '';
}
.gnavi_btn:hover::before {
  -webkit-animation-name: mouseonbuttonstr;
  animation-name: mouseonButtonStr;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.gnavi_btn:hover::after {
  -webkit-animation-name: mouseonbuttonstr;
  animation-name: mouseonButtonStr;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.gnavi_innr {
  padding: 15px 30px;
  color: #333;
}

.gnavi li {
  font-size: 16px;
}
.gnavi li a,
.gnavi li .has_c_link {
  display: block;
  padding: 13px 20px 13px 16.66667%;
  color: #333;
  cursor: url('../cursor/pointer-active.cur') 20 20, pointer;
}
.gnavi li a:hover,
.gnavi li .has_c_link:hover {
  color: #30c9d1;
}

.nav_wrap {
  position: fixed;
  top: 88px;
  z-index: -100;
  width: 350px;
  height: calc(100% - 80px);
  -webkit-perspective: 500px;
  perspective: 500px;
}

.nav_wrap2 {
  position: fixed;
  top: 88px;
  left: 350px;
  z-index: -100;
  width: 350px;
  height: calc(100% - 80px);
  -webkit-perspective: 500px;
  perspective: 500px;
}

.fixed .nav_wrap,
.open .nav_wrap2 {
  z-index: 99;
}

.gnavi {
  position: absolute;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #eee;
  -webkit-transform: rotateY(10deg);
  transform: rotateY(10deg);
  -webkit-transform-origin: left;
  transform-origin: left;
  opacity: 0;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  transition-duration: 0.6s;
}

.nav_wrap2 .gnavi {
  z-index: -100;
  background: #f4f4f4;
}
.nav_wrap2 .gnavi.open {
  z-index: 101;
}

.fixed .nav_wrap .gnavi,
.fixed .nav_wrap2 .gnavi.open {
  display: block;
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
  opacity: 1;
}

.gnavi li {
  position: relative;
  display: block;
  font-family: 'Oswald', sans-serif;
  -webkit-transform: translateX(-1em);
  transform: translateX(-1em);
  opacity: 0;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  transition-duration: 0.6s;
}
.gnavi li .has_c {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  width: 30px;
  height: 30px;
  margin: auto;
  line-height: 30px;
  text-align: center;
  cursor: url('../cursor/pointer-active.cur') 20 20, pointer;
}
.gnavi li .has_c::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 30px;
  height: 30px;
  margin: auto;
  background: #30c9d1;
  border-radius: 50%;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  opacity: 0;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  transition-duration: 0.4s;
  content: '';
}
.gnavi li .has_c.opened::before {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
.gnavi.open li {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}
.gnavi.open li:nth-of-type(1) {
  transition-delay: 50ms;
}
.gnavi.open li:nth-of-type(2) {
  transition-delay: 0.1s;
}
.gnavi.open li:nth-of-type(3) {
  transition-delay: 0.15s;
}
.gnavi.open li:nth-of-type(4) {
  transition-delay: 0.2s;
}
.gnavi.open li:nth-of-type(5) {
  transition-delay: 0.25s;
}
.gnavi.open li:nth-of-type(6) {
  transition-delay: 0.3s;
}
.gnavi.open li:nth-of-type(7) {
  transition-delay: 0.35s;
}
.gnavi.open li:nth-of-type(8) {
  transition-delay: 0.4s;
}
.gnavi.open li:nth-of-type(9) {
  transition-delay: 0.45s;
}
.gnavi.open li:nth-of-type(10) {
  transition-delay: 0.5s;
}
.gnavi.open li:nth-of-type(11) {
  transition-delay: 0.55s;
}
.gnavi.open li:nth-of-type(12) {
  transition-delay: 0.6s;
}
.gnavi.open li:nth-of-type(13) {
  transition-delay: 0.65s;
}
.gnavi.open li:nth-of-type(14) {
  transition-delay: 0.7s;
}
.gnavi.open li:nth-of-type(15) {
  transition-delay: 0.75s;
}
.gnavi.open li:nth-of-type(16) {
  transition-delay: 0.8s;
}
.gnavi li img,
.gnavi .tel img {
  display: inline-block;
  margin-bottom: 5px;
  vertical-align: middle;
}
.gnavi li img {
  margin-right: 7px;
}
.gnavi .tel img {
  width: 26px;
  height: 26px;
  margin: 0 17px 5px 0;
}
.gnavi li a:hover .js-typo,
.gnavi li .has_c_link:hover .js-typo {
  -webkit-animation-name: mouseonbuttonstr;
  animation-name: mouseonButtonStr;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes mouseonButtonStr {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  49.9% {
    -webkit-transform: translateX(5px) scale(0.5);
    transform: translateX(5px) scale(0.5);
    opacity: 0;
  }
  50% {
    -webkit-transform: translateX(-5px) scale(1.6);
    transform: translateX(-5px) scale(1.6);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes mouseonButtonStr {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  49.9% {
    -webkit-transform: translateX(5px) scale(0.5);
    transform: translateX(5px) scale(0.5);
    opacity: 0;
  }
  50% {
    -webkit-transform: translateX(-5px) scale(1.6);
    transform: translateX(-5px) scale(1.6);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
.js-typo:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.js-typo:nth-of-type(2) {
  -webkit-animation-delay: 30ms;
  animation-delay: 30ms;
}
.js-typo:nth-of-type(3) {
  -webkit-animation-delay: 60ms;
  animation-delay: 60ms;
}
.js-typo:nth-of-type(4) {
  -webkit-animation-delay: 90ms;
  animation-delay: 90ms;
}
.js-typo:nth-of-type(5) {
  -webkit-animation-delay: 0.12s;
  animation-delay: 0.12s;
}
.js-typo:nth-of-type(6) {
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
}
.js-typo:nth-of-type(7) {
  -webkit-animation-delay: 0.18s;
  animation-delay: 0.18s;
}
.js-typo:nth-of-type(8) {
  -webkit-animation-delay: 0.21s;
  animation-delay: 0.21s;
}
.js-typo:nth-of-type(9) {
  -webkit-animation-delay: 0.24s;
  animation-delay: 0.24s;
}
.js-typo:nth-of-type(10) {
  -webkit-animation-delay: 0.27s;
  animation-delay: 0.27s;
}
.js-typo:nth-of-type(11) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.js-typo:nth-of-type(12) {
  -webkit-animation-delay: 0.33s;
  animation-delay: 0.33s;
}
.js-typo:nth-of-type(13) {
  -webkit-animation-delay: 0.36s;
  animation-delay: 0.36s;
}
.js-typo:nth-of-type(14) {
  -webkit-animation-delay: 0.39s;
  animation-delay: 0.39s;
}
.js-typo:nth-of-type(15) {
  -webkit-animation-delay: 0.42s;
  animation-delay: 0.42s;
}
.js-typo:nth-of-type(16) {
  -webkit-animation-delay: 0.45s;
  animation-delay: 0.45s;
}
.js-typo:nth-of-type(17) {
  -webkit-animation-delay: 0.48s;
  animation-delay: 0.48s;
}
.js-typo:nth-of-type(18) {
  -webkit-animation-delay: 0.51s;
  animation-delay: 0.51s;
}
.js-typo:nth-of-type(19) {
  -webkit-animation-delay: 0.54s;
  animation-delay: 0.54s;
}
.js-typo:nth-of-type(20) {
  -webkit-animation-delay: 0.57s;
  animation-delay: 0.57s;
}
.js-typo:nth-of-type(21) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.js-typo:nth-of-type(22) {
  -webkit-animation-delay: 0.63s;
  animation-delay: 0.63s;
}
.js-typo:nth-of-type(23) {
  -webkit-animation-delay: 0.66s;
  animation-delay: 0.66s;
}
.js-typo:nth-of-type(24) {
  -webkit-animation-delay: 0.69s;
  animation-delay: 0.69s;
}
.js-typo:nth-of-type(25) {
  -webkit-animation-delay: 0.72s;
  animation-delay: 0.72s;
}
.js-typo:nth-of-type(26) {
  -webkit-animation-delay: 0.75s;
  animation-delay: 0.75s;
}
.js-typo:nth-of-type(27) {
  -webkit-animation-delay: 0.78s;
  animation-delay: 0.78s;
}
.js-typo:nth-of-type(28) {
  -webkit-animation-delay: 0.81s;
  animation-delay: 0.81s;
}
.js-typo:nth-of-type(29) {
  -webkit-animation-delay: 0.84s;
  animation-delay: 0.84s;
}
.js-typo:nth-of-type(30) {
  -webkit-animation-delay: 0.87s;
  animation-delay: 0.87s;
}

.gnavi ul {
  margin-bottom: 20px;
}
.gnavi ul:nth-child(2) {
  margin-bottom: 45px;
}
.gnavi .children:nth-child(n) {
  margin-bottom: 0;
}
.gnavi .tel {
  padding: 20px 0 0;
  font-size: 20px;
  border-top: 2px solid #333;
}
.gnavi .tel a {
  color: #333;
}

@media screen and (max-width: 760px) {
  .ol_gnav {
    z-index: 100;
    width: 100%;
    height: 100%;
    cursor: url('../cursor/pointer-active.cur') 20 20, pointer;
  }

  .logo_nav {
    height: 50px;
  }
  .logo_nav img {
    top: 5px;
    height: 40px;
  }

  .nav_wrap {
    top: 50px;
    width: calc(100% - 100px);
    min-width: auto;
    height: calc(100% - 50px);
  }

  .nav_wrap2 {
    top: 50px;
    left: 50px;
    width: calc(100% - 100px);
    min-width: auto;
    height: calc(100% - 50px);
  }

  .gnavi_btn {
    z-index: 100;
    width: 50px;
    height: 50px;
  }
  .gnavi_btn::before {
    top: 25px;
    left: 15px;
    width: 15px;
    height: 2px;
  }
  .gnavi_btn::after {
    top: 25px;
    left: 15px;
    width: 15px;
    width: 10px;
    height: 2px;
    margin-top: 6px;
  }

  .gnavi li:nth-child(2n) {
    border-left: none;
  }
  .gnavi li a,
  .gnavi li .has_c_link {
    display: block;
    padding: 13px 20px 13px 10px;
  }
  .gnavi #close {
    top: 5px;
    right: 5px;
    width: 30px;
  }

  .gnavi_innr {
    padding: 30px 30px 30px 50px;
  }

  .gnavi li .has_c {
    left: -40px;
  }

  #logo,
  #top_logo {
    position: fixed;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0;
    text-align: center;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-duration: 1s;
    transition-property: transform;
  }

  #logo.fire {
    transform: translateX(-100vw);
  }
  #logo img {
    z-index: 1;
    display: block;
    width: auto;
    height: 40px;
    opacity: 1;
    transition-delay: 0.1s;
    transition-duration: 0.6s;
  }

  #top_logo img {
    position: fixed;
    z-index: 1;
    display: block;
    width: 100%;
    height: 40px;
    margin: 0 auto 10px;
    padding-top: 5px;
    opacity: 1;
    transition-delay: 0.1s;
    transition-duration: 0.6s;
  }

  #main_img figure .people_img {
    position: relative;
    margin-top: 0;
  }

  #content {
    padding-top: 55px;
  }
  #content #intro {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
  }
  #content #intro p {
    text-align: left;
  }
  #content #services .ta_c {
    text-align: left;
  }

  .sp-diamond-row {
    max-width: 320px;
  }
  .sp-diamond-row .diamond-col-2 {
    max-width: 320px;
  }
  .sp-diamond-row .diamond-col-2:last-child {
    margin-top: -60px;
  }
  .sp-diamond-row .diamond-col-1 {
    max-width: 154px;
    margin-top: -60px;
  }
  .sp-diamond-row .diamond-item {
    max-width: 154px;
  }
  .gnavi li {
    line-height: 1.9;
  }
}
