@charset "UTF-8";
.title {
  background-color: rgb(19, 120, 228);
  color: white;
  margin-top: 5px;
  text-align: center;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  padding-bottom: 5px;
}
h2 {
  height: auto;
  margin-top: 10px;
}
dd .point-a {
  font-size: 50px;
  text-align: center;
  color: #fff;
}
.default{
  position: fixed;
  top:10%;
  right:5%;
  display: inline-block;
  font-size: 35px;
  padding: 0 25px;
  background-color: rgb(102, 101, 103);
  opacity: 0.8;
  color: #fff;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.nextpege{
  display: block;
  width: 200px;
  height: 90px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: red;
  background-color: yellow;
  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;
}
.nextpege {
  background-color: #2ee59d;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-7px);
}
.resultbox{
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: none;
}
.question-box{
  display: none;
}
.disblock{
  display: block;
}
.disnone{
  display: none;
}
.resultbox p {
  text-align: center;
  font-size: 50px;
}
#js-result {
  text-align: center;
  font-size: 100px;
}
#js-text {
  font-size: 80px;
  text-align: center;
  color: brown;
}
.buttonboxB {
  display: flex;
  justify-content: center;
}
#resetbth,
#home {
  padding: 15px 100px;
  margin: 10px 4px;
  color: white;
  background-color: rgb(243, 137, 16);
  text-transform: uppercase;
  text-align: center;
  position: relative;
  display: inline-block;
}
#resetbth:hover,
#home:hover {
  opacity: 0.6;
}
.footerFixed{
  min-height: 100vh; /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
  position: relative;/* ←相対位置 */
  /* padding-bottom: 0px; ←フッターの高さを指定 */
  box-sizing: border-box;
  /* ↑ヘッダーやフッターを含むすべての要素の高さ＝min-height:100vhになるように指定 */
}
main{
  padding-bottom: 100px;
}
footer{
  position: absolute;/* ←絶対位置 */
  bottom: 0;
  right: 0;
  /* 以下 背景色やテキストカラーなどはお好みで指定してください */
  color:blue;
  text-align: center;
}
footer p{
  color: black;
  margin-bottom: 10px;
}

@media (max-width: 959px) {
  h2{
    font-size: 20px;
  }
  #resetbth,
  #home {
    padding: 15px 65px;
  }
  .resultbox p {
    font-size: 50px;
  }
  #js-result {
    font-size: 80px;
  }
  #js-text {
    font-size: 50px;
  }
  .default{
    font-size: 30px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .title h1 {
    font-size: 30px;
  }
  .title p {
    font-size: 20px;
  }
  #bth-a {
    top: 250px;
    width: 200px;
    height: 200px;
  }
  h2{
    font-size: 14px;
  }
  #resetbth,
  #home {
    padding: 10px 30px;
  }
  .resultbox p {
    font-size: 35px;
  }
  #js-result {
    font-size: 50px;
  }
  #js-text {
    font-size: 35px;
  }
  .default{
    font-size: 20px;
    padding: 0 10px;
  }
}
