@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{
  width:360px;
  text-align: center;
}

div.cm{
  margin:3px auto 3px auto;
  width:340px;
  line-height :40px;
  font-size: 16px;
  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#seihi{
  font-size: 30px;
  color: red;
}

div.ans{
  font-size: 18px;
  line-height:30px;
  margin: 6px auto;
  text-align: center;
}


/* Ｐここから */
p.bun{
  text-align: left;
  font-size: 20px;
  line-height: 40px;
  margin: 0;
  padding: 10px 20px 10px 20px;
}
p.bun_m{
  text-align: left;
  font-size: 20px;
  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.day{
  font-weight : bold;
  font-size: 20px;
  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.red{
  color: red;
  font-weight: bold;
}
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-weight: bold;
}
span.bold_big{
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

/* 二字熟語クイズ */
table.kuizu{
  margin: 20px auto;
  border-collapse: collapse;
}
table.kuizu td{
  width:60px;  
  border: 2px black solid;
  border-collapse: collapse;
  line-height : 60px;
  font-size: 30px;
  text-align: center;
}
table.kuizu input#in_kanzi{
  size:1;
  width:60px;
  border:none;
  line-height : 60px;
  font-size: 30px;
  text-align: center;
}
table.kuizu td a{
  font-size: 30px;
  text-decoration:none;
  color: black;
  text-align: center;
}

table.kuizu td.tateboso{
  width: 40px; 
  height: 60px;
  border: none;  
  /* text-align: left; */
  /* vertical-align: middle; */
}
table.kuizu td.yokoboso{
  width: 60px; 
  height: 40px;
  border: none;  
  text-align: center;
  vertical-align:top;
}
table.kuizu td.tate_yokoboso{
  width: 40px; 
  height: 40px;
  border: none;  
  text-align: center;
}
table.kuizu td.wakunasi{
  border: none;
  width: 60px; 
  height: 60px;
}

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 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.policy{
  width: 320px;
  text-align: center;
  font-size: 20px;
  margin: 10px auto;
  padding: 10px;
  background-color: #3b5998;
  color: white;
}
div.policy a{
  font-size: 20px;
  color: white;
}
/* ＳＮＳ */
/*---SNSシェアボタン---*/
/* ボタン上の文字 */
.fa-twitter:before, .fa-hatena:before, .fa-line:before, .fa-pocket:before
{
  font-family: helvetica neue,helvetica,arial,sans-serif;
  font-weight: bold;
  /* font-size:14px */
}
.fa-facebook:before {
  content: "f";
  font-family: Verdana;
  font-size:25px;
  font-weight: bold
}
.fa-twitter:before {
  content: "twitter";
  font-size:25px;
}

.fa-hatena:before {
  content: "B!";
  font-family: Verdana;
}
.fa-line:before {
  content: "Line";
  font-size:25px;
}
.fa-pocket:before {
  content: "pocket";
}

/* ボタン表示位置の調整 */
.button-area {
  text-align: center;
  overflow:hidden;
  /* clear:left; */
  margin-top:15px;
  margin-left: 8px;
  margin-bottom: 15px;
}

/* タイトルの表示設定 */
.button-area-title {
  text-align: center;
  padding:.7em;
}

/* ボタンブロックのデザイン */
.button-area li a {
  padding: 2px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 4px; 
}

/* SNSごとの背景色 */
.twitter a {
  background-color: #55acee;
}
.facebook a{
  background-color: #3b5998;
}
.hatena a{
  background-color: #008fde;
}
.line a{
  background-color: #1dcd00;
}
.pocket a{
  background-color: #ea5a6c;
}

/* リスト「・」の削除 */
.button-area ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ボタン幅と余白の設定 */
.button-area li {
  float: left;
  /* width: 19%; */
  width: 32%;
/* 追加 */
  line-height: 38px;
  margin: 0 .3%;

}

.button-area  ul:after {
  display: block;
  clear: both;
}

/* ボタンにカーソルを合わせた時の表示設定 */
.button-area li a:hover {
  -ms-transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}
/* ＳＮＳボタンここまで */