@charset "utf-8";






/*--------------------------------------------------
	Play
--------------------------------------------------*/

/*-- ベース --*/
.nanpre { padding: 0; border: none; background: none; }

/*-- ゲームNo. --*/
#game_no { display: none; }
#game_day { display: none; }

/*-- 壁 --*/
.play_wall { display: none; z-index: 31; position: absolute; left: 0; top: 0 ; width: 100%; height: 100%; background: #000; opacity: 0.4; filter: alpha(opacity=40); -ms-filter: 'alpha( opacity=40 )'; }

/*-- レイアウト --*/
.play { position: relative; margin-bottom: 5px; padding: 5px 0; background: #fff; }
.play_inframe_l { float: left; width: 382px; }
.play_inframe_r { float: right; width: 300px; }

@media (max-width: 740px) {

	.play_inframe_l { float: none; width: 100%; margin-bottom: 5px ;}
	.play_inframe_r { float: none; width: 100%; }

}

.play_inframe { padding: 0 5px; }

/*-- マス --*/
#board { position: relative; width: 384px; height: 384px; border: 2px solid #333; background: #fff; margin-bottom: 10px; }
.board { float: left; width: 126px; border: 1px solid #222; }
.board li { position: relative; float: left; cursor: pointer; }
.board li::before { position: absolute; left: 0; top: 0; z-index: 2; content: ''; width: 40px; height: 40px; border: 1px solid #222; }
.board li:hover { background: #ccc; }
.board li .piece { width: 42px; height: 32px; padding-top: 10px; font-size: 2.0rem; font-weight: bold; text-align: center; line-height: 1.1; }
.board li .memo { display: none; width: 42px; height: 42px; background: #00a4ef; }
.board li .memo div { float: left; width: 14px; height: 14px; font-size: 1.2rem; text-align: center; }
.board li.relation .piece { background: #ffebba; }
.board li.same .piece { background : #ffb900; }
.board li.default { font-weight: bold; color: #00597f; }
.board li.miss { font-weight: bold; color: #d10000; background: #ffd6d6; }
.board li.selected .memo { background: #00a4ef; }
.board li.selected .piece { background: #ffb900; }

@media (max-width: 400px) {

	#board { width: 303px; height: 303px; margin: auto; }
	.board { width: 99px; }
	.board li::before { width: 31px; height: 31px; }
	.board li .piece { width: 33px; height: 23px; }
	.board li .memo { width: 33px; height: 33px; }
	.board li .memo div { width: 11px; height: 11px; }

}

/*-- 数字 --*/
#number { margin-bottom: 5px; padding: 0 5px; }
#number ul { text-align: center; }
#number li { float: left; width: 10%; }
#number li span { cursor: pointer; display: block; margin: 0 2px; padding: 5px 0; font-size: 2.4rem; color: #fff; line-height: 1.0; text-align: center; vertical-align: bottom; border-width: 1px 1px 5px 1px; border-style: solid; border-color: #035851; border-radius: 8px; background: #009a8c; }
#number li span:hover { background: #02897c; }
#number li:first-child span { margin-left: 0; }
#number li:last-child span { margin-right: 0; }
#number li .del { border-color: #103855; background: #216da5; }
#number li .del:hover { background: #1c5f8e; }
#number li.used span { border-color: #323232; background: #7c7c7c; }
#number li.used span:hover { background: #707070; }







/*-- ふきだし --*/
.ballon { text-align: center; }
.arrow_box { display: inline-block; *display: inline; *zoom: 1; width: 157px; height: 20px; padding: 10px 0px; vertical-align: bottom; border-radius: 6px; -webkit-border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; -moz-border-radius: 6px; position: relative; background: #e41853; color: #fff; font-weight: bold; font-size: 14px; text-align: center; }
.arrow_box::after, .arrow_box::before { top: 85%; left: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; }
.arrow_box::after {  border-top-color: #e41853; border-width: 10px; margin-left: -10px; }
.arrow_box::before {  border-top-color: #e41853; border-width: 13px; margin-left: -13px; }
.arrow_box span { font-size: 20px; padding: 0 5px; }

/*-- 操作ボタン --*/
#control li { float: left; width: 50%; }
#control li .control_btn { cursor: pointer; display: block; margin: 0 5px 5px 5px; padding: 10px 0; font-size: 1.6rem; font-weight: bold; color: #fff; line-height: 1.0; text-align: center; vertical-align: bottom; border-width: 1px 1px 5px 1px; border-style: solid; border-color: #103855; border-radius: 8px; background: #216da5; }
#control li .control_btn:hover { background: #1c5f8e; }
#control li .retry { border-color: #323232; background: #7c7c7c; }
#control li .retry:hover { background: #707070; }
#control li span { font-size: 16px; }
#control .none { margin-top: 0; }
.hint_number { font-size: 1.4rem; }







/*-- モーダル --*/
.popup { display: none; z-index: 32; position: absolute; left: 0; top: 100px; width: 100%; }
.popup_inner { width: 260px; margin: 0 auto; padding: 10px 10px 15px 10px; border: 5px solid #ccc; border-radius: 8px; background: #fff; }
.popup_text { padding: 10px 0px; font-size: 16px; line-height: 1.5; text-align: center; }

#confirm_retry p { font-size: 16px; font-weight: bold; }
#confirm_retry ul { margin: 15px auto 0 auto; overflow: hidden; width: 230px; }
#confirm_retry a { display: block; text-decoration: none; color: #fff; font-size: 16px; font-weight: bold; text-align: center; }
#confirm_retry .yes { float: left; margin-right: 10px; border-radius: 6px; -webkit-border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; -moz-border-radius: 6px; background: #009a8c; width: 100px; height: 25px; padding: 5px; }
#confirm_retry .no { float: left; border-radius: 6px; -webkit-border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; -moz-border-radius: 6px; background: #7c7c7c; width: 100px; height: 25px; padding: 5px; }

#confirm_check p { font-size: 16px; font-weight: bold; }
#confirm_check a { display: block; text-decoration: none; color: #fff; font-size: 16px; font-weight: bold; text-align: center; }
#confirm_check .continue { margin: 15px auto 0 auto; border-radius: 6px; -webkit-border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; -moz-border-radius: 6px; background: #009a8c; width: 150px; height: 25px; padding: 5px; }













/*-- modal --*/
#ad_modal { display: none; }
#ad_modal img { vertical-align: bottom; }
.ad_modal { z-index: 104; position: absolute; left: 50%; top: 90px; margin-left: -170px;  text-align: center; }
.ad_modal_frame { width: 340px; height: 360px; border-radius: 6px; border: 1px solid #ccc; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.ad_modal_close p { z-index: 105; position: absolute; top: -8px; right: -8px; text-align: center; border-radius: 6px; -webkit-border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; -moz-border-radius: 6px; border: 1px solid #333; cursor: pointer; box-shadow: 0 2px 3px 0	 rgba(0,0,0,0.6); }
.ad_modal_close p span { display: inline-block; *display: inline; *zoom: 1; width: 18px; height: 18px; padding: 0; font-weight: bold; font-size: 16px; color: #fff; line-height: 1.2; border-radius: 4px; border: 2px solid #fff; background: #333; }
.ad_modal_close p span:hover { color: #fff; background-color: #666; }

/*-- modal2 --*/
#ad_modal2 { display: none; }
#ad_modal2 img { vertical-align: bottom; }
.ad_modal2 { z-index: 104; position: absolute; left: 340px; top: 355px; text-align: center; }
.ad_modal2_frame { width: 340px; height: 290px; padding-top: 20px; border-radius: 6px; border: 1px solid #ccc; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.ad_modal2_close p { z-index: 105; position: absolute; top: -8px; right: -8px; text-align: center; border-radius: 6px; -webkit-border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; -moz-border-radius: 6px; border: 1px solid #333; cursor: pointer; box-shadow: 0 2px 3px 0	 rgba(0,0,0,0.6); }
.ad_modal2_close p span { display: inline-block; *display: inline; *zoom: 1; width: 18px; height: 18px; padding: 0; font-weight: bold; font-size: 16px; color: #fff; line-height: 1.2; border-radius: 4px; border: 2px solid #fff; background: #333; }
.ad_modal2_close p span:hover { color: #fff; background-color: #666; }

/*-- add at 20160727 --*/
.modal_txt { display: none; }
.modal_btn { display: none; }
.modal_btn a { text-decoration: none; display: block; margin-top: 5px; padding: 10px 20px; font-size: 16px; color: #fff; text-align: center; border-radius: 4px; background: #ffcc00; }
.modal_btn a:hover { background: #ffd642; }
.ad_moved .modal_txt { display: block; margin-bottom: 5px; font-size: 18px; font-weight: bold; }
.ad_moved .modal_btn { display: block; }





/*--------------------------------------------------
	Media（メディア毎色変更箇所）
--------------------------------------------------*/



/*---------- Paragraph Header Bg ----------*/
.game_ttl h2 { background: #000; }
.game_ttl_long h2 { background: #000; }



/*---------- Main Contents Bg ----------*/
.game_rule { border: 2px solid #ccc; background: #eee; }
.nanpre_play { background: #fcebd1; }
.nanpre_play .left .cell_area { border: 5px solid #005bab; }
.nanpre_play .left .answer_area .flow1 p span { color: #80bdf2; }
.nanpre_play .right .key_tab .y_ttl { background: #72aadb; }
.nanpre_play .right .key_tab .x_ttl { background: #72aadb; }
.nanpre_play .right .key_tab .selected { background: #c5e0f7; }
.nanpre_play .right .key_area ul { background: #c5e0f7; }
.nanpre_answer { background: #c5e0f7; }
.simple_overlay { background: #72aadb; }



