@charset "UTF-8";
body{
  margin: 0;
  padding: 0;
}


div.container{
  overflow: hidden;
  width:360px;
  margin: 0 auto;
  font-size: 18px;
  font-family:"Meiryo","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","Osaka", sans-serif;
}
div.top{
  text-align: center;
  background: skyblue;
}
div.top a{
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 30px;
  line-height: 50px;
  color:white;
  font-weight: bold;
/* 影 */
  background: skyblue;
  text-shadow: 1px 3px 0px #b2a98f,
             2px 6px 10px rgba(0,0,0,0.15),
             4px 12px 2px rgba(0,0,0,0.1),
             8px 24px 30px rgba(0,0,0,0.1);
}

/* ＴＯＰの写真 */

div#mado{
  font-weight : bold;
  font-size: 90px;
  color: white;
  text-align: center;
  padding: 6px 0;
  margin: 10px auto;
}
div#ans{
  font-size: 25px;
  color: white;
  text-align: center;
}
div#ans_2{
  font-size: 25px;
  color: white;
  text-align: center;
}
div#ans_3{
  font-size: 25px;
  color: white;
  text-align: center;
}
div#standby{
  font-size: 28px;
  color: white;
  text-align: center;
}
div#sai{
  font-size: 18px;
  text-align: center;
}
div.kokuban{
  width: 300px;
  height: 100px;
  margin: 10px auto;
  background-color: black;
}
div#kotae{
  text-align: center;
  margin: 20px auto 10px auto;
  font-size: 22px;
  background-color: blue;
  width: 200px;
  height: 50px;
  line-height: 50px;
  border-radius: 20px;
  color:white;
}

div#start{
  text-align: center;
  margin: 2px auto;
  font-size: 22px;
  background-color: red;
  width: 200px;
  height: 50px;
  line-height: 50px;
  color: white;
  border-radius: 20px;
  user-select:none;
}
table.kyu{
  margin: 20px auto;
  width: 260px;
  height: 50px;
  text-align: center;
}
tr,td{
  width: 130px;
  text-align: center;
}
div#level_1,#level_2,#level_3,#level_4{
  border-radius: 10px;
  width: 130px;
  font-size: 18px;
  background-color: lightyellow;
  border: solid 3px sienna;/*線*/
}

span.pink{
  color: pink;
}
div.cm{
  margin:3px auto 3px auto;
  width:340px;
  line-height : 15px;
  font-size: 10px;
  text-align: center;
}

div.center{
  margin: 10px auto;
  line-height : 20px;
  font-size: 18px;
  text-align: center;
}
div.close{
  margin: 20px 0;
  text-align: center;
}
input.button{
  line-height : 36px;
  font-size: 26px;
}
div.tasu_hiku{
  background-color: green;
  width: 200px;
  border-radius: 20px;
  margin: 10px auto;
  padding: 10px;
  font-size: 18px;
  font-weight:bold;
  text-align: center;
  color: white;
}
a#sisoku_go{
  text-decoration: none;
  color: white;
}


div.kanzi{
  width:340px;
  font-size: 16px;
  line-height:23px;
  color: white;
  /* background-color : grey; */
  background-color : #666666;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0 0 0;
}

div.ans{
  font-size: 18px;
  line-height:30px;
  margin: 6px auto;
  text-align: center;
}


div.navy{
  margin-left:auto;
  margin-right:auto;
  margin-top: 20px;
  width: 340px;
  font-size: 20px;
  color: white;
  line-height:40px;
  text-align: center;
  background-color : navy;
}
div.link_red{
  margin: 20px auto;
  width: 340px;
  font-size: 28px;
  font-weight: bold;
  line-height:60px;
  text-align: center;
  background-color : red;
}
div.link_red a{
  text-decoration:none;
  color: white;
}
/* ｌｉｎｋで使用しているｃｓｓ */
div.center_0_auto{
  width: 340px;
  text-align: center;
  margin: 0px auto;
}
table.link_migi{
  margin: 5px;
  text-align: left;
  font-size: 13px;
  line-height: 20px;
}
a.widelink_migi{
  display: block;
  padding: 0.1em 0;
  text-decoration: none;
  color:black;
}
a.widelink_migi:visited{
color:black;
}
span.migi_bold{
  font-weight: bold;
  font-size: 14px;
}
/* 100.70写真用リンク */
/* div終わり */

/* Ｐここから */
p.bun{
  text-align: left;
  font-size: 16px;
  line-height: 26px;
  margin: 0;
  padding: 0 20px;
}
p.bun_m{
  text-align: left;
  font-size: 20px;
  line-height: 26px;
  margin: 0;
  padding: 20px 20px;
}
p.bun_a{
  text-align: left;
  font-size: 5px;
  line-height: 5px;
  margin: 0;
  /* padding: 0 20px; */
}
p.day{
  font-weight : bold;
  font-size: 20px;
  text-align: center;
  padding: 6px 0;
  margin: 0 10px;
}
p.s_b{
  font-weight : bold;
  font-size: 18px;
  text-align: center;
  padding: 6px 0;
  margin: 0 10px;
}
p.main_2{
  font-size: 18px;
  text-align: left;
  font-weight:normal;
  margin-top: 0px;
  margin-bottom: 40px;
  padding-top: 0px;
  padding-left: 10px;
  /* padding-right: 40px; */
}
/* ｐ此処まで */

span{
}
span.dai{
font-size: 30px;;
}

h1{
  line-height : 40px;
  font-size: 20px;
  color: #ff00ff;
  font-weight : bold;
  padding: 2px 10px;
  margin: 2px 10px;
  text-align: center;
  border-bottom: solid 4px #ff0000;
}
h1.big{
  line-height : 45px;
  font-size: 35px;
  color: #ff00ff;
  font-weight : bold;
  padding: 2px 10px;
  margin: 2px 10px;
  text-align: center;
  border-bottom: solid 4px #ff0000;
}
span.bold{
  font-size: 15px;
  color: #333;
  font-weight: bold;
}
span.bold_big{
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

#timer{
position: fixed;
top:10px;
left:65px;
font-size: 33px;
color: white;
font-weight: bold;
background-color: navy;
width:230px;
height: 60px;
line-height: 60px;
text-align: center;
border-radius: 20px;
}




/* 二字熟語クイズ */
table.kuizu{
  margin: 20px auto;
  border-collapse: collapse;
}
table.kuizu td{
  width:40px;
  /* border: 2px black solid; */
  border-collapse: collapse;
  line-height : 60px;
  height: 60px;
  font-size: 44px;
  text-align: center;
}
table.kuizu td.s{
  width:20px;
  /* border: 2px black solid; */
  border-collapse: collapse;
  line-height : 60px;
    height: 60px;
  /* font-size: 22px; */
    font-size: 28px;
  font-weight: bold;
  text-align: center;
}

/* ここからクイズ　a_table*/
table.kuizu_a{
  margin: 5px auto;
  border-collapse: collapse;
}
table.kuizu_a td{
  width:60px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 60px;
  height: 60px;
  font-size: 38px;
  text-align: center;
}
table.kuizu_a td a{
  text-decoration:none;
  color: black;
  text-align: center;
  font-size: 38px;
}
table.kuizu td.red{
  width:60px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 60px;
  font-size: 30px;
  font-weight: bold;
  color: red;
  text-align: center;
}
table.kuizu td.gr{
  width:60px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 60px;
  font-size: 30px;
  font-weight: bold;
  color: red;
  text-align: center;
  background-color: #7cfc00;
}table.kuizu td.g{
  width:60px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 60px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  background-color: #7cfc00;
}
table.day{
  text-align: center;
  margin: 0 auto;
}

/* 答えのtable */
table.kotae{
  margin: 20px auto;
  border-collapse: collapse;
}
table.kotae td{

  /* border: 2px black solid; */
  border-collapse: collapse;
  line-height : 40px;
  height: 40px;
  font-size: 20px;
  text-align: center;
}








/* ヒントの折り畳み */
/*全体*/
.hidden_box {
  text-align: center;
    margin: 2em 0;/*前後の余白*/
    padding: 0;
}
/* 答えの折り畳み */
/*全体*/
.hidden_box_a {
  text-align: center;
    margin: 2em 0;/*前後の余白*/
    padding: 0;
}
/*ボタン装飾*/
.hidden_box label {
    padding: 15px;
    font-weight: bold;
    border: solid 2px black;
    cursor :pointer;
    background: #efefef;
}
/*答えボタン装飾*/
.hidden_box_a label {
    padding: 20px 30px 20px 30px;
    font-weight: bold;
    border: solid 2px black;
    border-radius: 10px;
    cursor :pointer;
    background: #ffff99;
}
/*ボタンホバー時*/
/* .hidden_box label:hover {
    background: #efefef;
} */

/*チェックは見えなくする*/
.hidden_box input {
    display: none;
}
/*答えチェックは見えなくする*/
.hidden_box_a input {
    display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
/*答えの中身を非表示にしておく*/
.hidden_box_a .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}
/*クリックで答えの中身表示*/
.hidden_box_a input:checked ~ .hidden_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}

footer{
  width: 100%;
  line-height : 30px;
  font-size: 18px;
  text-align: center;
}
/* ここからＬＩＮＫ用共通のＣＳＳ */
div.center_link{
  margin-top: 20px;
  line-height : 20px;
  font-size: 18px;
  text-align: center;
  line-height: 1.25;
}
span.bold_big_link{
  font-size: 18px;
  color: #333;
  font-weight: bold;
}
div.no_margin_link{
  margin: 0 auto;
  line-height : 20px;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
}
div.koyomi_link{
  font-size: 18px;
  text-align: center;
  margin:0px auto;
}
a.koyomi_link{
  margin:0px auto;
  text-decoration: none;
}
div.under_red_link{
  width: 322px;
  line-height : 40px;
  font-size: 25px;
  color: red;
  font-weight : bold;
  padding: 2px 10px;
  margin: 20px auto 0 auto;
  text-align: center;
  border-bottom: solid 4px #ff0000;
}
div.center_waku_link{
  /* margin: 3px 29px 3px 29px; */
  margin: 3px 9px 3px 9px;
  padding: 0;
  line-height : 20px;
  text-align: center;
  border: 1px solid;
}
p.bun_link{
  text-align: left;
  font-size: 16px;
  line-height: 26px;
  margin: 0;
  padding: 0 20px;
}
span.m_link{
color:black;
font-size:15px;
}
div.rela_link{
  position: relative;
  text-align: center;
}
div.a_1{
  position: absolute;
  top: 50px;
  left: 205px;
  width: 8px;
  height: 30px;
  border-radius: 50%;
  background-color:white;
  box-shadow: 0 0 30px 20px white;
  animation: flash 0.3s ease infinite normal;
}
@keyframes flash {
  50% {
    opacity: 0.1;
  }
}