/* ハンバーガーメニュー */
.hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  top   : 10px;
  width : 60px;
  height: 60px;
  cursor: pointer;
  text-align: center;
  -webkit-transition: 0.5s all;
  -moz-transition   : 0.5s all;
  transition        : 0.5s all;
}

@media screen and (min-width: 641px){
	.hamburger {
		left : 20px;
	}
}

@media screen and (max-width: 640px){
	.hamburger {
		right: 0;
		top: 0;
		height: 53px;
	}
}

.hamburger span {
  display : block;
  position: absolute;
  width   : 40px;
  height  : 2px ;
  left    : 10px;
  background : #fff;
  transition: 0.3s;
}

@media screen and (max-width: 640px){
	.hamburger span {
		width: 30px;
		height: 2px;
		left: 15px;
		background : #1e73be;
	}
}

.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

.hamburger p {
	position: absolute;
    width: 100%;
    font-size: 12px;
	font-weight: bold;
    text-align: center;
	margin: 0;
    color: #fff;
    bottom: 3px;
	transition: 0.3s;
}
@media screen and (max-width: 640px){
	.hamburger p {
		font-size: 10px;
		font-weight: 500;
		bottom: 4px;
		color: #1e73be;
	}
}

/* ナビ開いてる時のボタン */
.hamburger.active {
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  top : 24px;
  left: 10px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
  background: #fff;
  transition: 0.3s;
}
.hamburger.active span:nth-child(3) {
  top: 24px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
  background: #fff;
  transition: 0.3s;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}

@media screen and (max-width: 640px){
	.hamburger.active span:nth-child(1) {
  	top : 20px;
  	left: 15px;
	background: #1e73be;
	}
	.hamburger.active span:nth-child(3) {
  	top: 20px;
	background: #1e73be;
	}
}

.hamburger.active p {
	color: #fff;
}

@media screen and (max-width: 640px){
	.hamburger.active p {
		color: #1e73be;
	}
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  max-width: 320px;
  top  : 66px;
  left : 0;
  color: #000;
  transform: translateX(-100%);
  transition: all 0.6s;
  opacity: 0;
  width: 100%;
}

@media screen and (min-width: 641px){
	nav.globalMenuSp {
		transform: translateX(-100%);
	}
}

@media screen and (max-width: 640px){
	nav.globalMenuSp {
		max-width: 280px;
		top: 39px;
		transform: translateX(175%);
	}
}

nav.globalMenuSp ul {
  background: #1e73be;
  width: 100%;
  padding: 10px;
  transition: 0.3s;
}

@media screen and (max-width: 640px){
	nav.globalMenuSp ul {
		padding: 0 10px;
	}
}

nav.globalMenuSp ul.first{
	margin-top: 50px;
}

nav.globalMenuSp ul li {
  position: relative;
  list-style-type: none;
  width: 100%;
  transition: 0.3s;
}

nav.globalMenuSp ul li:not(:last-child){
	margin-bottom: 1px;
}

nav.globalMenuSp ul li:not(:last-child)::before{
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.6);
	bottom: -1px;
	right: 0;
}

nav.globalMenuSp ul li:hover{
  background :#0e9fd1;
  transition: 0.3s;
}

nav.globalMenuSp ul li a {
  display: block;
  position: relative;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}

nav.globalMenuSp ul li a::before {
	content: "\f105";
	font-family: "Font Awesome 5 Free";
	margin-right: 10px;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateX(5%);
  opacity: 1.0;
}

@media screen and (max-width: 640px){
  nav.globalMenuSp.active {
  	transform: translateX(40%);
  	opacity: 1.0;
	}
}

.globalMenuSp h2{
	font-size: 20px;
	line-height: 50px;
}
