@charset "utf-8";

body{font-feature-settings: "palt";
font-family:  "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
text-align: center;
  min-width: 100%;
  height: 100vh;
  background: url("../img/123669-OQQ5VS-721.jpg")
    center / cover;
    overflow: hidden;
}
.box{
  width: 90%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-color: rgba(255,255,255,0.8);
}
/*index.html
----------------------*/
.title{margin-top: 20px;
}
.title h1{
    margin-top: 0px;
    color:red;
    font-size: 1.5em;
    line-height: 2ex; 
}
.title h1 span{
    color:red;
    font-size: 0.7em;
}
.title hr{
    margin: 20px 45% 0px 45%;
    border-top: 1px solid #8c8b8b;
}
.title img{
    display: block;
    text-align: center;
    margin: 20px auto 10px;
    max-height: 150px;
}
.title h2{
    color:#000;
    text-align: justify;
    font-size: 1.1em;
    margin: 5% 8%;
    line-height: 2.3ex; 
}
.next{
    font-size: 1em;
    margin-top: 10px;
    line-height: 2ex; 
}
.title h3{
    display: block;
    text-align: center;
    font-size: 2em;
    margin:30px 0 0px; 
}
.title p{
    font-size: 1.5em;
}
.linkbox{
    position:relative;
    margin: 0 auto;
    width:280px;
    height:46px;
    background-color:greenyellow;
    text-align: center;
    border-radius:32px;
    border: 1px solid #333;
    box-shadow: 0em 1em 3em gray;
}
.linkbox a{
    padding-top: 10px;
    display: block;
    font-size: 18px;
    text-align: center;
    position: absolute;
    color: #000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.linkbox a:link {
  color: #000;
}


/*quiz02.html
----------------------*/
.title2{margin-top: 20px;
}
.title2 h1{
    margin-top: 0px;
    color:red;
    font-size: 1.5em;
    line-height: 2ex; 
}
.title2 h1 span{
    color:red;
    font-size: 0.7em;
}
.title2 hr{
    margin: 20px 45% 0px 45%;
    border-top: 1px solid #8c8b8b;
}
.title2 img{
    display: block;
    text-align: center;
    margin: 20px auto -20px;
    max-height: 150px;
}
.title2 h2{
    color:#000;
    text-align: justify;
    font-size: 1.1em;
    margin: 10%;
    line-height: 2ex; 
}
.title2 h3{
    display: block;
    text-align: center;
    font-size: 2em;
    margin:30px 0 0px; 
}
/*problem01.html
----------------------*/
.ancerbox{}
.ancerbox ul {
    list-style-type: none;
    padding-right:0%; 
}
.ancerbox li{
    position:relative;
    margin: 15px auto;
    width:90%;
    height:auto;
    background-color:greenyellow;
    text-align: center;
    border-radius:32px;
    border: 1px solid #333;
    box-shadow: 0em 1em 2em gray;
}
.ancerbox a{
    font-size:0.9em;
    text-align: left;
    display: block;
    padding:8px 8px;
    color:#000;
    text-decoration: none;
    line-height: 2ex; 
}
/*correct01.html
----------------------*/
 *{
      padding: 0;
      margin: 0;
    }

    .modal-open{
    position:relative;
    margin: 0 auto;
    width:280px;
    height:64px;
    background-color:greenyellow;
    text-align: center;
    border-radius:32px;
    border: 1px solid #333;
    box-shadow: 0em 1em 3em gray;
    }

    .modal-open a{
      display: inline-block;
      padding-top: 25px;
      text-decoration: none;
      color: #000;
    line-height: 2ex; 
    }
    .modal{
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
    }
    .modal:not(:target) {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s, visibility 0.5s;
    }
    .modal:target{
      opacity: 1;
      visibility: visible;
      transition: opacity 0.5s, visibility 0.5s;
    }
    .modal .overlay{
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      background-color: #000;
      opacity: 0.7;
      top: 0;
      left: 0;
    }
    .modal-wrapper{
      width: 100%;
      max-width: 400px;
      min-width: 300px;
      height: 100%;
      max-height: 450px;
  background-color: rgba(255,255,255,0);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .modal-contents{
      overflow: auto;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      position: relative;
    }
.modal-contents img{
    width: 100%;
}
    .modal-content{
      margin: 25px;
    }
    .modal-close{
      position: absolute;
      top: 5px;
      right: 10px;
    color: white;
        font-size: 3em;
      text-decoration: none;
    }
/*keyword.html
----------------------*/
.kaitou{
    margin: 0 auto;
    text-align: center;
}
.nyuryoku{
    text-align: center;
    width: 300px;
    height: 60px;
    font-size: 2em;
    border-radius:30px;
    box-shadow: 0em 0.5em 1em gray;
}
.ans{
    margin-top: 30px;
    font-size:1.3em;
    width: 280px;
    height: 40px;
    border-radius:20px;
    background-color: greenyellow;
    box-shadow: 0em 0.5em 1em gray;
    color: black;
}

/*finish.html
----------------------*/
.point{
    text-align: center;
    margin: 0 auto;
}
.point img{
    margin: 0 auto 10px auto; 
    width: 320px;
    height: 500px;
    object-fit: cover;
}
.finish-text{
    color: #000;
    text-align: justify;
    font-size: 1.1em;
    margin: 0 10%;
    line-height: 2.3ex;
}