@charset "UTF-8";
.main{
  padding: 50px 0;
}
.main h1{
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}
.main_content_wrap{
  padding: 50px 20px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.main_content_wrap h2{
  font-size: 42px;
  font-weight: bold;
}
.htvote_content{
  padding: 50px 0;
}
.htvote_content_img img{
  width: 100%;
}
.htvote_content_text p{
  font-size: 20px;
  font-weight: bold;
}
.htvote_content_text p span{
  color: red;
}
.htvote_arrow{
  width: 100px;
  margin: 0 auto;
}
.htvote_arrow img{
  width: 100%;
}
.main h3{
  font-size: 26px;
  font-weight: bold;
  text-align: center;
}
.main_button{
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main_button a{
  text-align: center;
  color: white;
  background-color: #0080E8;
  border-radius: 30px;
  display: inline-block;
  vertical-align: middle;
  width: 125px;
  height: 35px;
  line-height: 35px;
}
.main_button a:hover{
  transition: 0.2s;
  background-color: #0000D9;
}
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#0080E8;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #0000D9;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}
@media (max-width: 1024px){
  .main_content_wrap{
    padding: 50px 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
}
@media (max-width: 767px){
  .main h1{
    font-size: 30px;
  }
  .main_content_wrap h2{
    font-size: 36px;
  }
  .htvote_arrow{
    width: 80px;
  }
}
