1200

/* ヘッダー */
header {
  width: 100%;
}

#mobile-head {
  display: none;
}

#headerTop {
  width: 100%;
  background-color: #fff;
  border-top: 4px solid #5ea7ae;
  border-bottom: 1px solid #ccc;
  position: fixed;
  z-index: 999;
}

#headerTop #headerInner {
  width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#headerTop #headerInner h1 {
  width: 287px;
  height: 68px;
  float: none;
}

#headerTop #headerInner h1 a {
  display: block;
  width: 287px;
  height: 68px;
  text-indent: -9999px;
  background: url(../images/header_logo.png) 0 0 no-repeat;
  -webkit-transition: .4s ease;
  -moz-transition: .4s ease;
  -o-transition: .4s ease;
  transition: .4s ease;
}

#headerTop #headerInner h1 a:hover {
  opacity: 0.5;
}

#headerTop #headerInner .info {
  float: none;
  text-indent: -9999px;
  margin-left: auto;
  margin-right: 0;
}

#headerTop #headerInner .info p.area-bnr {
  text-indent: 0;
}

/* グローバルナビ */
#global-nav {
  width: 100%;
  padding: 138px 0 0;
}

#global-nav ul {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 1px solid #dedede;
}

#global-nav ul li {
  width: calc(100% / 6);
}

#global-nav ul li a {
  display: block;
  padding: 1.5em 0;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  color: #5ea7ae;
  border-right: 1px solid #dedede;
  -webkit-transition: .4s ease;
  -moz-transition: .4s ease;
  -o-transition: .4s ease;
  transition: .4s ease;
}


#global-nav ul li a:hover {
  opacity: 0.5;
}


/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
  bottom: -10px;
}

#top-head.fixed #global-nav ul li:hover:after {
  background: #999;
  bottom: -15px;
}


/* Transition */
/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/



/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 15px;
  top: 26px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 101;
}

#nav-toggle div {
  position: relative;
}

#nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
  top: 0;
}

#nav-toggle span:nth-child(2) {
  top: 10px;
}

#nav-toggle span:nth-child(3) {
  top: 20px;
}

/* MEDIA QUERIE
============================================= */

@media screen and (min-width: 1px) and (max-width: 768px) {
  #headerTop {
    display: none;
  }

  #top-head {
    background-color: #fff;
    top: 0;
    position: fixed;
    margin-top: 0;
    /*		border-top: 3px solid #5ea7ae;*/
  }

  #mobile-head {
    display: block;
    background: url(../images/bg_header.gif) 0 0 repeat-x #fff;
    width: 100%;
    height: 53px;
    padding: 17px 0 0;
    z-index: 999;
    position: relative;
  }

  #top-head,
  #top-head .inner {
    width: 100%;
    padding: 0;
    z-index: 999 !important;
  }

  #top-head .inner {
    background: url(../images/bg_header.gif) 0 0 repeat-x #fff;
  }


  header h1 {
    width: 55%;
    margin: 0 auto;
  }

  header h1 a {
    display: block;
    width: 100%;
    height: auto;
    background: url(../images/header_logo_SP.png) center 0 no-repeat;
    background-size: contain;
    text-indent: -9999px;
  }

  #top-head.fixed .logo,
  #top-head .logo {
    position: static;
    left: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    color: #333;
    font-size: 26px;
  }

  #global-nav {
    position: absolute;
    top: -500px;
    /* 開いてないときは画面外に配置 */
    width: 100%;
    padding: 15px 0;
    background-color: #428086;
    text-align: center;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }

  #global-nav ul {
    width: 100%;
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 11px;
    background: none;
    flex-direction: column;
  }

  #global-nav ul li {
    float: none;
    position: static;
    padding: 0;
    width: 100%;
  }

  #global-nav ul li:after {
    display: none;
  }

  #global-nav ul li a {
    height: 10px;
    background: none;
    text-indent: 0;
    color: #fff;
    font-size: 1.4rem;
    font-size: 14px;
    text-decoration: none;
    line-height: 10px;
  }

  #top-head #global-nav ul li a,
  #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 18px 0;
    background: none;
    text-indent: 0;
  }

  #nav-toggle {
    display: block;
  }

  /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }

  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }

  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }

  /* #global-nav スライドアニメーション */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(570px);
    -webkit-transform: translateY(570px);
    transform: translateY(570px);
  }

  .sp-button {
    width: 12px;
    height: 12px;
  }

  .sp-buttons {
    margin: 0;
  }
}
