﻿/**********************
 * Frame
 ***********************/
#link-follow {
  position: fixed;
  bottom: 50%;
  right: 0;
  z-index: 99;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-align: center;
  transform: translateY(50%);
}

#link-follow > p > a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  background-color: #ffa62b;
  border: solid #ffa62b 2px;
  box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 1.5em 12px 2.5em;
  transition: background-color .6s, color .6s;
  will-change: background-color, color;
}

#link-follow > p > a:hover, #link-follow > p > a:focus, #link-follow > p > a:active {
  background-color: #fff;
  color: #9d956c;
}

#link-follow > p > a:hover::before, #link-follow > p > a:focus::before, #link-follow > p > a:active::before {
  border-color: #9d956c;
}

#link-follow > p > a::before {
  content: "";
  display: block;
  position: absolute;
  left: calc(50% - 3.5px);
  bottom: 1em;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  transition: border-color .6s;
  will-change: border-color;
}

@media only screen and (max-width: 768px) {
  #link-follow {
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0 10px;
  }
  #link-follow > p {
    padding: .6em 0 .8em;
  }
  #link-follow > p > a {
    padding: .5em 12px .5em 36px;
  }
  #link-follow > p > a::before {
    left: 12px;
    bottom: calc(50% - 3.5px);
  }
}


/**********************
 * page-top hidden
 ***********************/
#page-top{
    visibility:hidden;
}