@charset "utf-8";
@media (max-width: 860px) {

	.wrapper {
		width: 100%;
	}
	.main {
		flex-direction: column;
		width: 100%;
		height: auto;
		margin: 10px auto;
	}
	.mainitem {
		width: 100%;
		height: auto;	
	}
	.mainitem p {
		font-size: 2rem;
	}
	.mainitem img {
		width: 70%;
		height: auto;
	}
	.mainitem.therme {
		margin-top: 10%;
	}
	.mainitem.facebook {
		width: 94%;
		height: auto;
		margin: 15% auto 0; 
	}

	.mainitem.facebook img {
		width: 94%;
	}
	.fb-page {
		width: 94%;
	}

	section {
		width: 100%;
		text-align: center;
	}

	 .wrapper section .info {
		flex-direction: column;
	}
	.info {
		width: 100%;
		height: auto;
	}
	.info-item {
		width: 80%;
		height: auto;
		margin: 20px auto 10px;
		background-color: #c9dee9;
	}
	.info-item img {
		width: 100%;
		heiht: auto;
	}
	.link {
		width: 100%;
	}
	.flex .link {
		width: 100%;
	}
	.link-item {
		width: 43%;
		height: auto;
		margin: 3%;
	}
	.link-item img {
		width: 100%;
	}
	.access {
		flex-direction: column;
		width: 100%;
	}
	.access-item {
		width: 90%;
		height: auto;
		margin: 15px auto 0;
	}

	.access-item.map {
height: 0;
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
}
.access-ite .map iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
	.foot p {
		font-size: 1.2rem;
	}

	
.noscllor {
	position: fixed;
	z-index : 2;
}
	.header h1.header1 {
	height: 75px;
	}
	.noscllor .logo img{
		width: 22%;
		height: auto;
		margin-left: 10px;
	}
	.nav {
		display: none;
	}
	footer {
		width: 100%;
		background-image: url("../images/tail-22-6.gif");
	}


		/*　ハンバーガーボタン　*/
.globalMenuSp {
	display: block;
	max-width: 100%;
	margin-left: 10px;
	padding-top: 65px;
}
	
.hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  right : 10px;
  top   : 18px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
	border: 1px solid #fff;
		background-color: #63DCF0;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #fff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}
.hamburger p {
		padding-top: 30px;
	font-size: 0.6rem;
	}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 15px;
  right : 0;
  color: #000;
  background: #005daa;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.6s;
  width: 100%;
	font-size: 1.8rem;
}

nav.globalMenuSp ul {
  background: #99B8B7;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #fff;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
nav.globalMenuSp ul li:hover{
  background :#7EB6D9;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateY(0%);
}

}
