
#pagetop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    margin: 0;
}
#pagetop a {
    position: relative;
    display: flex;
    width: 65px;
    height: 65px;
    justify-content: center;
    background: rgb(255 166 80);
    transition: opacity .6s ease;
    color: #FFF;
    align-items: center;
    text-decoration: none;
    font-size: 32px;
    border-radius: 100%;
}
#pagetop a:hover {
    opacity: .3;
}
@media screen and (max-width:767px) {
#pagetop a {
    width: 45px;
    height: 45px;
}
}


section {
  max-width: 300px;
  margin: 0 auto;
}
a.btn_08 {
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  text-align: center;
}
a.btn_08::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #ffbfbf 20%, #c2fcf9 40%, #f9c5ff 51%, #ffbfbf 80%);
  border-radius: 7em;
  box-sizing: border-box;
}
a.btn_08::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: #e90063;
  border-radius: 7em;
  box-sizing: border-box;
  transform: translate(0, -10px);
}
a.btn_08 span {
  position: relative;
  display: block;
  padding: 1rem 5rem;
  transform: translate(0, -10px);
  overflow: hidden;
  z-index: +1;
}
a.btn_08 span::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: rotate(45deg);
}
a.btn_08::after, a.btn_08 span {
  transition-property: transform;
  transition-duration: 0.3s;
}
a.btn_08:hover::after, a.btn_08:hover span {
  transform: translate(0, 0);
}
a.btn_08:hover span::before {
  animation: shine 1s ease-in-out 1;
}
@keyframes shine {
  0% {
    transform: scale(1) rotate(45deg);
    opacity: 0;
  }
  10% {
    transform: scale(1) rotate(45deg);
    opacity: 0.5;
  }
  20% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  80% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/*========= レイアウトのためのCSS ===============*/
.top-page{
  padding: 80px;
}
body{
    vertical-align:middle;
    text-align: center;
}

p{
    margin: 0 0 10px 0;
}



.wrap2 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button {
  width: 230px;
  height: 70px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  }

.button:hover {
  background-color: #2EE59D;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-7px);
}

.cf:after {
    content:" ";
    display:block;
    clear:both;
}
body {
  background-color: #ff0000;

  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", sans-serif;
  background-image: url(../images/ko-to.jpg);
  /* 天地左右の中央に配置 */
  background-position: center center;
  /* タイル状に繰り返し表示しない */
  background-repeat: no-repeat;
  /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
  background-attachment: fixed;
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: cover;
  /* 背景画像が読み込まれる前に表示される背景のカラー */
  background-color: #171a0f;
}

img{
  margin : 0 auto;
  text-align: center;
  width:270px;
  height:200px;
}

h1{
  font-size: 36px;
  padding-top: 10%;
  text-align: center;
}

h3{
  font-size: 28px;
  padding-top: 10%;
  text-align: center;
}



section {
  max-width: 300px;
  margin: 0 auto;
}
a.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #228bc8;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 6% 0 12%;
  color: #228bc8;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
}
a.btn_02:hover {
  background: #228bc8;
  color: #fff;
}
a.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #228bc8;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}
a.btn_02:hover:before {
  border-color: transparent transparent transparent #fff;
}


.wrap{
  width:100%;
  max-width:600px;
  height:420px;
  text-align: center;
  margin:0 auto;
  background:rgba(192,192,192,.4);
  padding:20px 20px;
  display: table;
  overflow:hidden;
  box-sizing: border-box;

}
.que{
  width:100%;
  display:none;
  vertical-align:middle;
  opacity:0;
  transition: all .4s ease;
font-size: 22px;
}
.result{
  display:none;
  vertical-align:middle;
  opacity:0;
  transition: all .4s ease;
}
.result.active{
  display:table-cell;
  transform:translate3d(100%,0,0)
}
.result.active.open{
  opacity:1;
  transform:translate3d(0,0,0)
}
.result.active.close{
  transform:translate3d(-100%,0,0)
}
.result_inner{
  font-size: 24px;
  text-align: center;
  width:100%;
  max-width:400px;
  margin:0 auto 20px auto;
  padding:50px 20px;
  border-radius: 10px;
  border:1px solid #000;
}
.que.active{
  display:table-cell;
  transform:translate3d(100%,0,0)
}
.que.active.open{
  opacity:1;
  transform:translate3d(0,0,0)
}
.que.active.close{
  transform:translate3d(-100%,0,0)
}
.que_inner{
  text-align: left;
  width:100%;
  max-width:400px;
  margin:0 auto 20px auto;
  padding:50px 20px;
  border-radius: 10px;
  border:1px solid #000;
  box-sizing: border-box;
}
.txt{
  text-align: center;
  margin-bottom: 30px;
  padding:0 0 10px 0;
}
.btnArea{
  text-align: center;
  margin-bottom: 40px;
}
.btn{
  display: inline-block;
  border-radius:5px;
  border:1px solid #000;
  margin:10px 5px;
}
.btn label{
  cursor:pointer;
  width:80%;
  height:100%;
  min-width:120px;
  padding:10px;
  display: block;
}
.btn:first-child{
   margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
.btn:first-child{
   margin-right: 20px;
  margin-bottom: 0;
}
}

.btn .radio:before{
  content:"";
  display: inline-block;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#ccc;
  margin-right: 10px;
  box-sizing: border-box;
}
 .btn input:checked + .radio:before{
  border:3px solid #CCC;
   width:13px;
   height:13px;
   background:#333;

}
.btn input{
  display: none;
}

@charset "utf-8";
/*表示するテキストが切り替わる*/
.btntextchange{
    /*テキストの基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	border: 1px solid #555;
	border-radius:25px;
    min-width:210px;
	padding: 20px;
    text-align: center;
	display: inline-block;
    text-decoration: none;
    color: #333;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s;
}

/*hoverした際の変化*/
.btntextchange:hover{
  background:#333;
  color:#fff;
}

.btntextchange span{
    /*絶対配置でテキストの位置を決める*/
	position: absolute;
	left: 50%;
	top:50%;
    transform:translate(-50%,-50%);
    /*アニメーションの指定*/
    transition: all .5s;
  /*ブロック要素にしてテキスト折り返しなし*/
	display: block;
	white-space: nowrap;
}

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2){
	opacity:0;/*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1){
	opacity:0;/*透過0に*/
}

.btntextchange:hover span:nth-child(2){
	opacity:1;/*不透明に*/
}

*{
margin:0;
padding:0;
}
