*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -ms-touch-action:manipulation;
  touch-action:manipulation;
}

body {
    padding: 10%,1%;
}

.btn-wrap {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:100%;
}
.btn {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    display: inline-block;
    padding: 3rem 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #FFF;
    background-color: #44A5ff;
    border-radius: 0.5rem;
    border-bottom: 5px solid #0c009f;
    border-radius: 100vh;
}

.pc-btn-wrap {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width:300px; /* 横幅は100%で固定 */
}
.pc-btn {
  position: relative;
  width:100%; /* 横幅は100%で固定 */
  height:0; /* 高さは0にしておく(padding-topで高さを指定するため) */
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  letter-spacing: 0.1em;
  color: #FFF;
  background-color: #44A5ff;
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  
  border-radius: 50%;
  padding-top:  100%; /* 高さを指定(16:9) */
}
.pc-btn-nakami{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  top: 50%;
  margin: -1em 0.5em;
}

/* 動画全体の横幅を指定するためのdiv */
.video-wrap {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px; /* ここに動画の横幅を指定 */
}
  
  /* 動画を囲うdiv */
.video {
  position: relative;
  width:100%; /* 横幅は100%で固定 */
  height:0; /* 高さは0にしておく(padding-topで高さを指定するため) */
  padding-top: 56.25%; /* 高さを指定(16:9) */
}
  
  /* YouTube埋め込み用のiframe */
.video iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.nobox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid;
  border-width: 1px;
  border-color: #AAA;
}

.box-box {
    position: relative;
    top: 0;
    left: 0;
    margin: 0.5em;
}

.count-box {
    position: absolute;
    width: 22vw;
}

.bpm-box {
    position: relative;
    margin: auto;
    width: 50vw;
}
.bpm-box:before,.bpm-box:after{ 
    content:'';
    width: 20px;
    height: 30px;
    position: absolute;
    display: inline-block;
}
.bpm-box:before{
    border-left: solid 1px #5767bf;
    border-top: solid 1px #5767bf;
    top:0;
    left: 0;
}
.bpm-box:after{
    border-right: solid 1px #5767bf;
    border-bottom: solid 1px #5767bf;
    bottom:0;
    right: 0;
}
.bpm {
    position: absolute;
    right: 0.5rem;
    bottom: 0.2rem;
    font-weight: 500;
}
.disp_bpm {
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  
/*    line-height: 3rem;*/
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
}
.disp_bpm-iOS {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;  

    font-size: 45px;
    font-weight: 700;
    text-align: center;
    padding-right: 0.5em;
}
.disp_bpm-Android {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 45px;
  font-weight: 700;
  text-align: center;
}

.disp_sub_count {
    font-size: 0.75rem;
    font-weight: 100;
    margin-top: 0.5rem;
}

#btn_submit {
    background-color: orange;
    padding: 4px, 10px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5%;
}
.btn_sub_submit {
    color: red;
    font-size: 0.75rem;
    font-weight: 100;
    margin-top: 0.5rem;
    line-height: 1;
}
.btn_post_url {
    margin-bottom: 0.5rem;
    line-height: 1;
}

.resetbutton{
  width: 150px;
}
.submitbutton{
  width: 50vw;
}
