@charset "utf-8";

body {
  height: 100%;
  font-family: Arial, sans-serif;
  margin: 0 auto;
  font-size: 16px;
}


ul {
  padding: 0;
  list-style: none;
}

.logo {
  text-align: center;
}

/*-----------------------------------*/
/*----------グローバルナビ-------------*/
/*-----------------------------------*/
.open #gnav {
  height: 100%;
  background: #2CB2BA;
  z-index: 1000; /*階層*/
  visibility: visible; /*表示する*/
  transition: .3s;
}

#gnav {
  visibility: hidden; /*非表示にする*/
  position: fixed;
  display: table;
  vertical-align: middle;
  color: #fff;
  top: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  font-size: 16px;
  transition: .3s;
}

#gnav ul {
  padding: 0;
  display: table-cell;
  vertical-align: middle;
  list-style: none;
}

#gnav a {
    border-radius: 25px;
    margin: 5px auto;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    width: 30%;
}
#gnav a:hover {
    background-color: #fff;
    color: #696969;
    transition: .5s;
}

/*-----------------------------------*/
/*----------メニューのリスト-----------*/
/*-----------------------------------*/
#gnav ul li {
  opacity: 0;
  transform: scaleX(0) translateX(-260px);
  transition: none;
}
.open #gnav ul li {
  opacity: 1;
  transform: scaleX(1) translateX(0);

  transition: all .3s ease-out;

  transition-delay: .1s;
}
.open #gnav ul li:nth-child(2) {
  transition-delay: .2s;
}
.open #gnav ul li:nth-child(3) {
  transition-delay: .3s;
}
.open #gnav ul li:nth-child(4) {
  transition-delay: .4s;
}
.open #gnav ul li:nth-child(5) {
  transition-delay: .5s;
}

/*-----------------------------------*/
/*----------メニューボタン-------------*/
/*-----------------------------------*/
#nav-btn {
    content: "";
    margin: 0 auto;
    width: 80px;
    height: 80px;
    bottom: 10px;
    text-align: center;
    left: 12px;
    bottom: 10px;
    position: fixed;
    background: #2CB2BA;
    border-radius: 50%;
    transition: all .3s ease-out;
    backface-visibility: hidden;
    box-shadow: 0 5px 8px;
}
.open #nav-btn {
  z-index: 1001;
  background: #fff;
  transition: all .6s ease-out;
}

/*-----------------------------------*/
/*-----------ハンバーガー--------------*/
/*-----------------------------------*/
#nav-toggle {
    margin: 0 auto;
    display: block;
    position: fixed;
    bottom: 10px;
    left: 13px;
    width: 40px;
    height: 30px;
    cursor: pointer;
    padding: 20px;
    z-index: 1001;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#nav-toggle div {
  position: relative;
}
#nav-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #fff;
  left: 0;
  zoom: 1;
  transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
  top: -5px;
}
#nav-toggle span:nth-child(2) {
  top: 8px;
}
#nav-toggle span:nth-child(3) {
  top: 21px;
}

/*-----------------------------------*/
/*----------クリック後のCSS------------*/
/*-----------------------------------*/
.open #nav-toggle {
  z-index: 1002;
  background: transparent;
}
.open #nav-toggle span {
  background: #696969;
}

.open #nav-toggle span:nth-child(1) {
  top: 9px;
  transform: rotate(-135deg);
  zoom: 1;
}
.open #nav-toggle span:nth-child(2) {
  width: 0;
  left: 50%;
}
.open #nav-toggle span:nth-child(3) {
  top: 9px;
  transform: rotate(135deg);
  zoom: 1;
}

.main img {
  height: 250px;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.contents {
  text-align: center;
}

footer {
  text-align: center;
  height: 150px;
  width: 100%;
  background-color: #393939;
}

footer p {
  font-size: 20px;
  color: #ffffff;
  padding: 50px;
  margin: 0;
}

.move-top {
  text-align: center;
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  bottom: 10px;
  right: 12px;
  background-color: #2CB2BA;
  box-shadow: 0 5px 8px;
}

#move-to-top {
  position: absolute;
  top: 11px;
  right: 2px;
  padding: 15px;
  color: #ffffff;
  font-weight: bold;
}