@media only screen and (max-width: 667px) {

body #gHeader .wrap p {
  display:none;
}
body .text {
  float:left;
}
body #pNav .hanreiPc {
  display:none;
}
body #pNav ul {
  position:static;
  float:right;
}
body #pNav ul li:nth-child(1),
body #pNav ul li:nth-child(3),
body #pNav ul li:nth-child(7) {
  display:none;
}
body #pNav ul li {
  margin-left:10px;
}
body #pNav ul li.off {
  position:relative;
  padding:5px 10px;
  border:2px solid #8aaeb7;
  border-radius:5px;
  background:#8aaeb7;
  font-size:14px;
  font-weight:bold;
  opacity:0.6;
}
body #pNav ul li.on {
  position:relative;
  padding:0;
  border:2px solid #8aaeb7;
  border-radius:5px;
  background:#fff;
  color:#8aaeb7;
  font-size:14px;
  font-weight:bold;
}
body #pNav ul li.on a {
  position:relative;
  z-index:10;
  margin:0;
  padding:5px 10px;
  background:none;
  color:#8aaeb7;
}
body #pNav ul li.off:nth-child(2),
body #pNav ul li.off.left {
  padding-left:30px;
}
body #pNav ul li.on:nth-child(2) a,
body #pNav ul li.on.left a {
  padding-left:30px;
}
body #pNav ul li:nth-child(2):before,
body #pNav ul li.left:before {
  position:absolute;
  top:4px;
  left:10px;
  content:'≪';
  width:10px;
}
body #pNav ul li.on:nth-child(2):hover:before {
  animation-name:shake;
  animation-duration:1s;
  animation-fill-mode:both;
}
body #pNav ul li.off:nth-child(4),
body #pNav ul li.off.right {
  padding-right:30px;
}
body #pNav ul li.on:nth-child(4) a,
body #pNav ul li.on.right a {
  padding-right:30px;
}
body #pNav ul li:nth-child(4):after,
body #pNav ul li.right:after {
  position:absolute;
  top:4px;
  right:10px;
  content:'≫';
  width:10px;
}
body #pNav ul li.on:nth-child(4):hover:after {
  animation-name:shake;
  animation-duration:1s;
  animation-fill-mode:both;
}
table.time td.off {
 padding: 23px 0;
}
@keyframes shake {
	0%,100% {
		transform:translate3d(0,0,0);
	}
	10%,30%,50%,70%,90% {
		transform:translate3d(-5px,0,0);
	}
	20%,40%,60%,80% {
		transform:translate3d(5px,0,0);
	}
}
table.time td a {
  position:relative;
  padding: 23px 0;
  color:#fff;
  text-decoration:none;
  overflow:hidden;
  width: 100%;
}
table.time td a.button_style1 {
  background:#26b2d9;
}
table.time td a.button_style2 {
  background:#ffba00;
}
table.time td a:after {
  position:absolute;
  top:-30px;
  left:-2px;
  content:'';
  width:101px;
  height:101px;
  border-radius:50%;
  z-index:99;
  opacity:0;
  transition:all 0.4s ease-in-out;
  transform:scale(0);
}
table.time td a.button_style1:after {
  background:#1f8ead;
}
table.time td a.button_style2:after {
  background:#cc9600;
}
table.time td a:hover:after {
  transform:scale(1);
	opacity:1;
}
table.time td a span {
  position:relative;
  z-index:999;
}
body #pNav ul li.off:not(.pc) {
  display: inline-block;
  margin-left: 0;
  padding: 5px 10px 5px 30px;
　}

  body .wrap {
    padding-left:10px;
    padding-right:10px;
  }
  body .hanreiPc {
    display:block;
  }
  body #pNav ul {
    float:none;
    margin-top:10px;
  }
  body #pNav ul li {
    margin:0 5px;
  }
  body #pNav ul li.left,
  body #pNav ul li.right {
    right:auto;
    left:auto;
  }
  body #pNav ul li.on a {
    padding-top:5px;
    padding-bottom:5px;
    padding-left:10px;
  }
  body #pNav ul li:first-child,
  body #pNav ul li:last-child {
    display:none !important;
  }
  body .text {
    float:none;
    margin-bottom:10px;
    font-size:12px;
    text-align:center;
    font-size: 16px;
  }
  body .hanreiSp {
    display:none;
  }
  table.day,
  table.time {
    width:645px;
  }
  table.day th,
  table.time th {
    border-left:none;
  }
  table.day td:last-child,
  table.time td:last-child {
    border-right:none;
  }
  table.time td:first-child {
    border-left:none;
  }
  table.day td,
  table.time td {
    display:table-cell !important;
    width:13%;
    padding:0;
  }
  table.time td a:hover:after {
  	opacity:0;
  }
  .wrap-table {
    overflow:hidden;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
  }
  .wrap-inner {
    overflow-x:scroll;
  }
  body #gFooter{
    margin-top: 5px;
  }
  body #gHeader{
    margin-bottom: 5px;
  }
  table {
    font-size: 16px;
　}
　
  }