@charset "UTF-8";
body {
  background-color: blanchedalmond;
}
.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;
}
h1 {
  font-size: 50px;
}
.title p {
  font-size: 30px;
}
#bth-a {
  font-size: 30px;
  font-weight: 600;
  position: fixed;
  top: 380px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: red;
  color: white;
  text-transform: uppercase;
  text-align: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
#bth-a:hover {
  color: blue;
}
#bth-a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  -webkit-transform: scaleX(0.3);
  transform: scaleX(0.3);
  opacity: 0;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  z-index: -1;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
#bth-a:hover::before {
  opacity: 1;
  background-color: greenyellow;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  transition: -webkit-transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02),
    opacity 0.4s;
  transition: transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02), opacity;
  -webkit-transition: -webkit-transform 0.6s
      cubic-bezier(0.08, 0.35, 0.13, 1.02),
    opacity 0.4s;
  -moz-transition: -webkit-transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02),
    opacity 0.4s;
  -ms-transition: -webkit-transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02),
    opacity 0.4s;
  -o-transition: -webkit-transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02),
    opacity 0.4s;
  color: #fff;
}
.bth-b {
  display: block;
  width: 200px;
  height: 90px;
  margin-left: 10px;
  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;
}
.bth-b:hover {
  background-color: #2ee59d;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-7px);
}
h2 {
  height: auto;
  margin-top: 10px;
}
dd .point-a {
  font-size: 50px;
  text-align: center;
  color: #fff;
}
.button-box {
  display: flex;
  justify-content: center;
}
.resultbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}
.bth-b,
.p1,
.p2,
.p3,
.p4,
.p5,
.p6,
.p7,
.resultbox {
  display: none;
}
.disblock {
  display: block;
}
.disnone {
  display: none;
}
.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;
  }
}

@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;
  }
}
