/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 576px) {
.pc { display: none !important; }
.sp { display: block !important; }
}




/* navber途中から固定 */
.nav-wrapper { /* .navの領域確保用 */
    height: 100px;

}
.nav {
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
background: #ff7228; /* Old browsers */
background: -moz-linear-gradient(45deg, #ff7228 0%, #de1700 37%, #79171c 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, #ff7228 0%,#de1700 37%,#79171c 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, #ff7228 0%,#de1700 37%,#79171c 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7228', endColorstr='#79171c',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
		z-index: 10;
	
}
.nav.is-fixed {
    position: fixed;

}


@-webkit-keyframes modify{
      0% { padding-top: 100px; margin-top: -100px; }
    100% { padding-top: 0; margin-top: 0; }
}
@keyframes  modify{
      0% { padding-top: 100px; margin-top: -100px; }
    100% { padding-top: 0; margin-top: 0; }
}

#shedule:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}
#entry:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}
#result:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}
#contact:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}
#r-suzuka:target {
  -webkit-animation: modify 0.1s;
  animation: modify 0.1s;
}
#r-nikko:target {
  -webkit-animation: modify 0.1s;
  animation: modify 0.1s;
}




/*下からふわっと表示*/
.fadeInDown {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:1s;
 -ms-animation-duration:1s;
 animation-duration:1s;
 -webkit-animation-name: fadeInDown;
 animation-name: fadeInDown;
 visibility: visible !important;
}
@-webkit-keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); }
}
@keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}







/*右下のページトップボタン*/
#page-top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 30px;
  bottom: 10px;
  background: #666;
  opacity: 0.6;
  border-radius: 50%;
  z-index: 1;
}
#page-top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page-top a::before{
  font-family: FontAwesome;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}





/*下にスクロール*/
.scroll  {
  padding-top: 60px;
position: absolute;
  bottom: -30px;
  left: 49%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  text-decoration: none;
color:#fff;
}

.scroll span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {-webkit-transform: rotate(-45deg) translate(0, 0);}
  20% {-webkit-transform: rotate(-45deg) translate(-10px, 10px);}
  40% {-webkit-transform: rotate(-45deg) translate(0, 0);}
}
@keyframes sdb {
  0% {transform: rotate(-45deg) translate(0, 0);}
  20% {transform: rotate(-45deg) translate(-10px, 10px);}
  40% {transform: rotate(-45deg) translate(0, 0);}
}

