/* Rectangle In */
.hvr-rectangle-in {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background: #2098d1;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-rectangle-in:before {
  content: "";
  position: absolute;
  border-radius: 50px;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFCC33;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-rectangle-in:hover, .hvr-rectangle-in:focus, .hvr-rectangle-in:active {
  color: white;
}
.hvr-rectangle-in:hover:before, .hvr-rectangle-in:focus:before, .hvr-rectangle-in:active:before {
  -webkit-transform: scale(0);
  transform: scale(0);
}
/* Float Shadow */
.hvr-float-shadow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-float-shadow:before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  content: '';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 0;
  background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
  /* W3C */
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform, opacity;
  transition-property: transform, opacity;
}
.hvr-float-shadow:hover, .hvr-float-shadow:focus, .hvr-float-shadow:active {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  /* move the element up by 5px */
}
.hvr-float-shadow:hover:before, .hvr-float-shadow:focus:before, .hvr-float-shadow:active:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
  /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}
/*ここまで*/

body {
	background-color: #FFF;
	margin: 0 auto;
}
/*PCサイズ*/
header {
	border-bottom: solid 8px;
	border-bottom-color: #FFCC33;
	background-image: url(../img/headerBg.png);
	background-size: contain;
}
#headerBody {
	margin: 0 auto;
	display: table;
	width: 100%;
	max-width: 960px;
	padding-top: 0.5%;
	padding-bottom: 0.5%;
}
#headerlogo {
	width: 220px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
#headerlogo a img {
	height: 100px;
}
h1 {
	padding-left: 2%;
	line-height: 1.6;
	display: table-cell;
	vertical-align: middle;
	padding-right: 2%;
	color: #fff;
}
.tel {
	width: 160px;
	display: table-cell;
	vertical-align: middle;
	color: #fff;
}
.tel p {
	line-height: 1.8;
}
#main {
	width: 100%;
	max-width: 960px;
    margin: 0 auto;
	padding-top: 20px;
	padding-bottom: 20px;
}
#left {
	width: 10%;
    float: left;
	position: absolute;
	padding-left: 2%;
}
#right {
	width: 80%;
    float: right;
    margin-left: 6%;
    margin-bottom: 4%;
}
.gNavi li  {
	width: 95px;
	height: 92px;
	border-radius: 60px;
	border: solid 2px #FFCC33;
	margin-bottom: 20px;
}
.gNavi li a {
	display: block;
	color: #fff;
	width: 90px;
	height: 50px;
	padding-top: 37px;
	background-color: #8A8A8A;
	text-align: center;
	border: solid 2px #fff;
	border-radius: 50px;
	margin-bottom: 20px;
	box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.4);
}
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
	z-index: 1200;
}
#page-top a {
    background: #FFCC33;
    text-decoration: none;
    color: #fff;
    width: 70px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
footer {
	width: 100%;
	padding-top:20px;
	border-top: solid 8px;
	border-top-color: #FFCC33;
	display: table;
}
#banner {
	max-width: 960px;
	margin: 0 auto;
}
#banner a {
	padding: 2%;
}
#banner img {
	display: table-cell;
	vertical-align: middle;
	width: 190px;
	float: left;
}
address {
	clear: both;
	text-align: center;
	padding-top: 2%;
	padding-bottom: 1%;
	font-weight: bold;
}
/*レスポンシブ開始
タブレット縦サイズからPCサイズまで*/
@media only screen and (max-width: 718px) {
#headerBody {
	display: block;
	background-image: url(../img/headerBg.png);
	background-size: contain;
}
#headerlogo {
	display: block;
	padding-top: 15px;
	margin: 0 auto;
}
}
@media only screen and (max-width: 655px){
#banner {
	text-align: center;
}
}
@media only screen and (max-width: 600px){
h1 {
	padding-top: 1%;
}
.tel {
	display: none;
}
}
/*iPhone6 plus 縦サイズからタブレット縦サイズまで*/
@media only screen and (max-width: 576px) {
#left {
	display: block;
	width: 100%;
	position:fixed;
	bottom: 0;
	left: 0;
	background-color: #222;
	height: 60px;
	z-index: 1100;
	text-align: center;
	color: white;
}
#left:before {
	content: "MENU";
	font-size: 1.8em;
}
#right {
	width: 100%;
	padding-right: 3%;
	padding-left: 3%;
}
.gNavi {
	width: 100%;
	position: fixed;
	bottom: -232px;
	transition: bottom .5s;
}
#left.open .gNavi {
	bottom: 40px;
}
.gNavi ul {
	margin: 0 auto;
	width: 327px;
}
.gNavi li  {
	float: left;
	margin-left: 5px;
	margin-right: 5px;
}
footer {
	padding-bottom: 70px;
}
}
/*iPhone6 plus 縦サイズからタブレット縦サイズまで*/
@media only screen and (max-width: 414px) {
h1 {
	font-size: 0.8em;
}
#right {
	width: 96%;
	display: block;
	padding-left: 2%;
	padding-right: 2%;
}
.gNavi li  {
	margin-left: 4px;
	margin-right: 0px;
}
#banner img {
	width: 120px;
}
}
