@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{
  background: red;
  text-align: center;
/* ...............................グラデーション....... */
animation: bg-color 10s infinite;
-webkit-animation: bg-color 10s infinite;
/* ...........グラデーションここまで................... */
  }

/* ...............................グラデーション....... */
@-webkit-keyframes bg-color {
  0% { background-color: #e74c3c; }
  20% { background-color: #f1c40f; }
  40% { background-color: #1abc9c; }
  60% { background-color: #3498db; }
  80% { background-color: #9b59b6; }
  100% { background-color: #e74c3c; }
}
@keyframes bg-color {
  0% { background-color: #e74c3c; }
  20% { background-color: #f1c40f; }
  40% { background-color: #1abc9c; }
  60% { background-color: #3498db; }
  80% { background-color: #9b59b6; }
  100% { background-color: #e74c3c; }
}
/* ...........グラデーションここまで................... */

div.in_link{
  width: 150px;
  margin:20px auto 2px auto;
  text-align: center;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  border: 1px solid #FFC778;
  border-radius: 10px;
  background: -moz-linear-gradient(to bottom,#FFF,#FFC778 30%,#F89174);
  background: -webkit-linear-gradient(to bottom,#FFF,#FFC778 30%,#F89174);
  background: linear-gradient(to bottom,#FFF,#FFC778 30%,#F89174);
  color: #ffffff;
}

div.in_link a{
  display: block;
  text-decoration: none;
  color: #ffffff;
}
/* 二字熟語クイズ */
table.mondai{
  margin: 3px auto;
  border-collapse: collapse;
}

table.mondai a{
  margin: 3px auto;
  text-decoration: none;
  border-collapse: collapse;
}

table.mondai td{
  width:30px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 30px;
  font-size: 18px;
  text-align: center;
}

  div.top a{
    display: block;
    /* background: red; */
    text-align: center;
    text-decoration: none;  /* リンクの下線を消す */
    font-size: 30px;
    line-height: 60px;
    color:white;
    font-weight: bold;
  }
div.ansbox{
  margin: 4px auto;
  font-size: 20px;
  line-height: 30px;
  width: 150px;
  padding: 10px 20px 10px 20px;
  font-weight: bold;
  border: solid 2px black;
  border-radius: 10px;
  cursor :pointer;
  background: #ffff99;
}
div.ansbox a{
  text-decoration: none;
  color:black;
}
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.center_0{
  margin: 10px 20px 0 20px;
  line-height : 20px;
  font-size: 18px;
  text-align: center;
}
div.center_big{
  margin: 20px;
  line-height : 40px;
  font-size: 30px;
  text-align: center;
}
div.center_big_1{
  margin: 20px 20px 1px 20px;
  line-height : 50px;
  font-size: 30px;
  text-align: center;
}
div.close{
  margin: 20px 0;
  text-align: center;
}
input.button{
  line-height : 36px;
  font-size: 26px;
}

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;
}
/* 幅広３００ｐｘ */
table.kuizu td.wide{
  width:200px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 55px;
  font-size: 24px;
  background-color: yellow;
}

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_a{
  text-align: left;
  font-size: 5px;
  line-height: 5px;
  margin: 0;
  /* padding: 0 20px; */
}
p.s{
  text-align: left;
  font-size: 16px;
  line-height: 20px;
  margin: 0px 1px 1px 120px;
  padding: 0;
}
p.day{
  font-weight : bold;
  font-size: 20px;
  text-align: center;
  padding: 6px 0;
  margin: 0 10px;
}
p.big{
  font-weight : bold;
  font-size: 28px;
  text-align: center;
  padding: 6px 0;
  margin: 0 10px;
}
p.hint{
  font-weight : bold;
  font-size: 20px;
  text-align: center;
  padding: 0;
  margin: 0 auto;
}
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 : 40px;
  font-size: 30px;
  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;
}
/* 二字熟語クイズ */
table.kuizu{
  margin: 20px auto;
  border-collapse: collapse;
}
table.kuizu a{
  margin: 20px auto;
  text-decoration: none;
  border-collapse: collapse;
}
table.kuizu td{
  width:50px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 50px;
  font-size: 28px;
  text-align: center;
}
table.kuizu tr.bold{
  width:50px;
  border: 4px black solid;
  border-collapse: collapse;
  line-height : 50px;
  font-size: 28px;
}
table.kuizu td.bold{
  width:50px;
  border: 4px black solid;
  border-collapse: collapse;
  line-height : 50px;
  font-size: 28px;
  text-align: center;
}
table.kuizu td.black{
  width:50px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 50px;
  font-size: 28px;
  text-align: center;
  background-color: black;
}
table.kuizu td.red{
  width:50px;
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 50px;
  font-size: 28px;
  text-align: center;
  color: red;
}
table.kuizu td.no{
  width:50px;
  border: 0px black solid;
  border-collapse: collapse;
  line-height : 50px;
  font-size: 28px;
  text-align: center;
}
table.day{
  text-align: center;
  margin: 0 auto;
}
/* ヒントの折り畳み */
/*全体*/
.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;
}
