@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* CSS Document */
body{
font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
font-size: 16px;
line-height: 1.5;
color: #333333;
}
.CharacterSizeB{
font-size: 18px;    
}
/*
画像
 */
img.salon{
width:100%;
max-width: 100%;
height: auto;
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 1;
}
html, body {
    height: 100%;
}
header{
	width: 100%;
	background-color: #16499A;
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.5);
	position: relative;
	z-index: 10;
}
.header-contents{
margin: 0 auto;
min-height: 50px;
box-sizing:border-box;
}

.header-contents h1,
.header-contents p
{
	margin: 0;
	color: #fff;
	line-height: 1;
	padding: 18px 0px 5px 30px;
	font-size: 16px;
}
.header-contents h1 a,
.header-contents p a
{
        color: #fff;
	text-decoration: none;
}
.header-contents h1 a:hover,
.header-contents p a:hover
{
        color: #fff;
	text-decoration: none;
}


.main-wrapper2{
	position: relative;
	box-sizing:border-box;
	padding:10px 0 0 0;
	margin: 0 auto;
	background-color: #fff;
}
.main-wrapper{
	position: relative;
	box-sizing:border-box;
	margin: 0 auto;
	padding:10px 10px;
	background-color: #fff;
	min-height: 80%;
	min-height: calc(100% - 200px);
}
footer{
	box-sizing:border-box;
	margin: 0 auto 10px auto;
	padding:15px 10px;
	background-color: #16499A;
	border: #dadada 1px solid;
	border-radius: 0 0 10px 10px;
	color: #fff;
	font-size: 14px;
	text-align: right;
}
a{
	color: #0044CC;
	text-decoration: none;
}
a:hover{
	color: fuchsia;
}

p{
  display: block;
  margin: 1em 0;
}

.error{
color: #f00;
font-size: 1.2em;
}

#complete{
font-size: 1.2em;    
}

.errorMsg{
	display: block;
	color: #f00;
}

.errorMsg2{
    display: block;
    color: #f00;
    margin: 0 auto;
    text-align : center;
}

.errorMsg3{
    display: block;
    color: #f00;
}

.errorInput{
	background: #fcf0f2;
}

#level{
    color: #f00;    
}

/* =========================================================
■俳句投稿アプリ
========================================================= */
section h1,
h1#rank,
section h2,
aside h2
{
border-left: solid 12px #8ac2d0;
font-size: 1.2em;
font-weight: bold;
margin: 0.5em 0;
text-align: left;
padding: 15px 0 15px 10px;
border-bottom:0;
}

.accordion h1,
.userip,
.accordion h2
{
border-left: none;
padding: 5px 0 5px 30px;
border-bottom: solid 2px #8ac2d0;
cursor: pointer;
color: #0044CC;
position: relative;
}

.accordion h1:before,
.accordion h2:before,
.userip:before
{
font-family: 'FontAwesome';
content: "\f107";
font-size: 1.4em;
color: #757575;
position: absolute;
top:-3px;
left:5px;
}

.accordion h1.active:before,
.accordion h2.active:before,
.userip.active:before
{
font-family: 'FontAwesome';
content: "\f106";
font-size: 1.4em;
color: #757575;
position: absolute;
top:-3px;
left:5px;
}

.userip:before,
.userip.active:before
{
top:0px;
}

.accordion h1:hover,
.accordion h2:hover,
.userip:hover
{
color: fuchsia;
}

#touku
{
clear: both;    
}

#kigo{
margin-top: 0;
}

#page{
display: block;
font-size: 0.9em;
line-height: 1.2;
color: #333333; 
padding-left: 1em;
}

.ranking{
float: left;
font-size:1.4em;
color: #f00;
padding-right: 10px;
}

.ranking2{
float: left;
font-size:1.4em;
color: #333333;
padding-right: 10px;
}

.comment{
font-size:1.2em;
}

img.person{
vertical-align: text-top;    
float: left;
}

.large{
font-size:1.2em;	
}

.sakusya{
color: #333333;
}
time{
color: #333333;
display: block;
clear: both;
}
table a{
position: relative;
display: block;
word-break:break-all;
}

.pointtext{
padding-left: 10px;
}

table a:hover{
text-decoration: none;  
}

table a:after{
font-family: 'FontAwesome';
content: "\f054";
color: #757575;
position: absolute;
top:35%;
right: 5px;
}

button,
input[type="submit"]{
    cursor:pointer;
}
.nice3
{
  display: block;

}

/*
サーチボックス
 */
.search-boxs {
  padding: 15px;
  background: #546e7a;
  position: relative;
  box-sizing:border-box;
}
.search-boxs input[type="text"] {
  font-size: 14px;
  width: 100%;
  height: 30px;
  letter-spacing: 1px;
  padding: 0 50px 0 15px;
  border: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 0 4px 0 #263238;
  -webkit-box-shadow: 0 0 4px 0 #263238;
  box-shadow: 0 0 4px 0 #263238;
}
.search-boxs button[type="submit"] {
  color: #757575;
  font-size: 16px;
  width: 40px;
  height: 30px;
  border: none;
  -moz-border-radius: 0 4px 4px 0;
  -webkit-border-radius: 0;
  border-radius: 0 4px 4px 0;
  background: #e0e0e0;
  position: absolute;
  top: 15px;
  right: 15px;
}

.search-keyword{
    color: #f00;
}

/*
ページネーション
 */
.pagenate a {
  display: inline-block;
  text-decoration: none;
}

.pagenate-body {
  margin: 10px;
  text-align: center;
}
.pagenate-body li {
  display: inline-block;
  padding: 8px 0;
}

.theme-pagenate a {
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  max-width: 5em;
  min-width: 2em; 
  padding: 0.54em 1px 0.48em;
  background-color: #fafafa;
  box-shadow: 0 1px 1px #757575;
  text-align: center;
  line-height: 1;
  font-size: 20px;
  color: #757575;
}

.theme-pagenate .current {
  background-color: #757575;
  box-shadow: inset 1px 1px 4px #212121;
  color: #fafafa;
}

.theme-pagenate li.first a,
.theme-pagenate li.last a
{
width: 3.4em;
}
/* 俳句の並び替え
============================================================ */
.tab-bar {
	width: 100%;
	height: 48px;
	margin-bottom: 8px;
}

.tab-bar li {
    	font-size: 16px;
	float: left;
	width: 25%;
	height: 48px;
        line-height: 48px;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	box-sizing: border-box;
	background-color: #eceff1;
}

.tab-bar li:first-child {
	border-right: none;
}

.tab-bar a {
	display: block;
	text-align: center;
	color: #263238;
	text-decoration: none;
        box-shadow: 0 1px 1px #757575;
}

.tab-bar .current {
  background-color: #757575;
  box-shadow: inset 1px 1px 4px #212121;
  color: #fafafa;
}

/* 次へ前へナビ
============================================================ */
#hpb-footerNav
{ margin: 10px auto;
  width: 100%;
}

#hpb-footerNav ul
{
  overflow: hidden;
}

#hpb-footerNav ul li
{
  display: inline-block;
  border: 2px solid #8ac2d0;
  border-radius: 20px;
  height: 49px;
  width: 47%;
  margin: 0;
  text-align: center;
  line-height: 49px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#hpb-footerNav ul li a
{
  display: block;
  margin: 0;
  height: 49px;
  text-decoration: none;
}

#hpb-footerNav ul li#mae a span.ja:before
{
 font-family: 'FontAwesome';
 content: "\f060";
 color: #757575;
 font-size:1.2em;
 position: relative;
 right: 5px;
}

#hpb-footerNav ul li#tugi a span.ja:after
{
 font-family: 'FontAwesome';
 content: "\f061";
 color: #757575;
 font-size:1.2em;
 position: relative;
 left: 5px;
}
/* 文字サイズの変更ナビ
============================================================ */
#navtop{
box-sizing:border-box;
background-color: #fff;
border-left: #dadada 1px solid;
border-right: #dadada 1px solid;
width: 100%;
}

#navtouku{
position: relative;
width: 100%;
margin: 0 auto;
}

#navtouku ul li
{
  display: inline-block;
  border-top: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
  font-size:16px;
  height: 49px;
  width: 50%;
  margin: 0;
  text-align: center;
  line-height: 49px;
  border-right: 1px solid #dadada;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
                
}

#navtouku ul li:last-child{
	border-right: none;
	}
#navtouku ul li a
{
  display: block;
  margin: 0;
  text-decoration: none;
}
.toukuj
{
padding-right: 3px;
color: #757575;
}

#psshow,
#monthshow,
#weekshow,
#Ptop,
#howtolink,
#home,
#irai
{
  display: block;
  text-align: center;
  margin: 15px auto 0;
  padding: 1em 0.5em;
  max-width: 300px;
  text-decoration: none;
  border: 1px solid;
}

#irai
{
 clear: both;
}

#userpage a
{
  position: relative;
  display: block;
  margin: 10px auto;
  padding: 0.5em;
  border: 1px solid;
  position: relative;
  border-color: #cccccc;
}

#userpage a:after{
font-family: 'FontAwesome';
content: "\f054";
color: #757575;
position: absolute;
top:20%;
right: 15px;  
}

#twitter
{
  display: block;
  margin: 15px auto;
  max-width: 300px;
}

#Ptop,
#howtolink,
#home
{
margin-top: 25px;
margin-bottom: 15px;
position: relative;
}

#Ptop:after{
font-family: 'FontAwesome';
content: "\f077";
color: #757575;
position: absolute;
top:27%;
right: 15px;  
}

#howtolink:after{
font-family: 'FontAwesome';
content: "\f054";
color: #757575;
position: absolute;
top:35%;
right: 15px;  
}

#home:before{
font-family: 'FontAwesome';
content: "\f015";
font-size:1.4em;
position: absolute;
top:18%;
left: 30px;  
}
/*
 テーブルのデザイン
 */
/* テーブル全体 */
table {
	border-collapse: collapse;
	width: 100%;
}

/* 見出し行 */
table.haiku th {
	padding: 3px 10px;
	border-bottom: #8ac2d0 5px solid;
	border-left: #ddd 1px solid;
        font-size:1.2em;
	text-align: left;
        
}
/* データから生成する行 */
table tr td {
	padding: 15px 10px;	
	border-bottom: #ddd 1px solid;
}
table tr td:nth-child(1) {
	font-weight: bold;
}

table tr td:nth-child(1) time{
	font-weight: normal;
}

input[type="submit"].nice{
    -webkit-padding: 6px;
    -moz-padding: 6px;
    -o-padding: 6px;
    -ms-padding: 6px;
    padding: 6px;
    font-size:15px;
}

/* 非表示。得点の前の矢印。管理画面の得点を入れたユーザーＩＰ。入力パスワード
============================================================ */
.nice2,
.UserIpAccordion,
#ps,
#qr
{
    display: none;
}
.tenn {
    color: #9400D3;
    font-size: 1.2em;
}

.tenn2 {
    font-size: 1.2em;
}

.tenn2,
.kyoutyou2
{
    color: #f00;
}
#totalscore {
    color: #9400D3;
}
label,
.kyoutyou
{
    font-weight: bold;  
}

.syou{
    font-size: 0.8em;
}

.ind{
    color: #f00;
    font-weight: normal;  
}

.restriction{
    font-weight: normal;  
}

table#toukou{
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  margin-bottom: 10px;
  border-collapse: collapse;
  border-top-width: 1px;
  border-top-style: dotted;
  border-top-color: #e0d7a6;
}
table#toukou th{
  padding-top: 8px;
  padding-right: 15px;
  padding-bottom: 8px;
  padding-left: 8px;
  text-align: left;
  background-color: #f8f5da;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #e0d7a6;
  color: #4D450A;
  font-size:0.9em; 
}

table#toukou td{
  padding-top: 8px;
  padding-right: 15px;
  padding-bottom: 8px;
  padding-left: 8px;
  text-align: left;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #e0d7a6;
  width: 65%;
}

/* フォームパーツ設定 */
input{
padding: 2px;
}
input.l{
  width: 96%;
}
input.m{
  width: 60%;
}
input.s{
  width: 40%;
}
.UpdateForm input{
  font-size:1.2em;
}

/* トップページ投稿リンク： 概要（画像＋テキスト：逆配置） */

.conD a.photo,
.UpdateForm a.photo
{
        display: block;
	min-height: 200px;
	background-position: center;
	background-size: cover;
        margin-bottom: 3px;
}
/**
 * RESPONSIVE: スマートフォン向けウィンドウ幅599px以下
 */
@media screen and (max-width:599px) {
	/* テーブル全体 */
    table.haiku,
    table.haiku2
    {
		display: block;
	}
	/* 見出し行 */
    table.haiku th,
    table.haiku2 th
    {
		display: none;
	}
	/* データから生成する行 */
    table.haiku tr,
    table.haiku2 tr
    {
		display: block;
		
	}
    table.haiku tr td,
    table.haiku2 tr td
    {
		display: block;
	}
        
    table.haiku tr td:first-child,
    table.haiku2 tr td:first-child
    {
		padding: 10px;
		background: #ededed;
	}

    table.haiku tr td:last-child,
    table.haiku2 tr td:last-child
    {
            padding: 10px 10px 10px 30px;
            margin-bottom: 10px;
            border-bottom: #ddd 1px solid;
	}
	tbody {
		display: block;
		width: 100%;
	}
        .nice2 {
                display: inline;
		padding-right: 3px;
                font-size:1.2em;
	}
        input[type="submit"].nice{
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            -o-border-radius: 3px;
            -ms-border-radius: 3px;
            border-radius: 3px;
            padding: 4px;
            font-size:18px;
        }
        input.m{
            width: 96%;
        }
        input.s{
            width: 70%;
        }

}
/* =========================================================
■GooglereCAPTCHA
========================================================= */
#cllearcal
{
padding:10px 0 0 0;
color: #f00;
text-align: center; 
margin:0 auto;
}

/* =========================================================
■ノベルチェッカー
========================================================= */

#submitBtn,
.Update,
.Update2
{
background:#FFCC00;
display:block;
margin:0 auto;
font-size:1.4em;
padding:10px 25px;
font-weight:bold;
}
.Update{
margin:10px 0 0 30px;
}
.Update2{
margin:1em 0;
}
#submitBtn:focus,
.Update:focus
{
   color: fuchsia;
   background:#fff;
}

#resetBtn
{
    font-size:1.2em;
    display:block;
    margin:15px auto 0;
    padding:10px;

}

.deletion
{
    font-size:1.2em;
    margin:0 0 15px 10px;
    padding:10px;

}
/* =========================================================
■新人賞カウントダウン
========================================================= */
ul#latest,
ul#latest2,
ul.latest3,
.latest ul
{
border-top-width: 1px !important;
border-top-style: solid !important;
border-left-width: 1px !important;
border-left-style: solid !important;
border-right-width: 1px !important;
border-right-style: solid !important;
border-color: #cccccc;
}
.latest2{
box-sizing:border-box;
background-color: #fff;
border-top: #dadada 1px solid;
border-left: #dadada 1px solid;
border-right: #dadada 1px solid;
width: 100%;
}

.latest2 ul
{
font-size: 0;
box-sizing:border-box;
width: 100%;
margin: 0 auto;   
}
ul#latest li,
ul#latest2 li,
ul.latest3 li,
.latest li
{
border-color: #cccccc;
border-bottom-width: 1px !important;
border-bottom-style: solid !important;
}

.latest2 ul li{  
 font-size: 16px;
 box-sizing:border-box;   
  border-color: #cccccc;
  display: inline-block;
  border-bottom: 1px solid #dadada;
  line-height: 1.3;
  width: 50%;
  margin: 0;
  text-align: center;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
                
}

.latest2 ul li:nth-child(2n+1){  
border-right: 1px solid #dadada;
                
}

ul#latest li a,
ul#latest2 li a,
ul.latest3 li a,
.latest li a
{ 
text-decoration : none;
margin: 2px 0px;
vertical-align: middle;
position: relative;
display: block;
padding: 12px 18px;
line-height: 1.3;
text-align: left;
}

.latest2 ul li a
{  
 display: block; 
  margin: 0;
  text-decoration: none;
  padding: 12px 0px; 
}

#latest,
#latest2,
.latest3
{
margin: 0 0 1em 0;
}


.latest{
margin: 1em 0;
}

#latest a:after,
#latest2 a:after,
.latest3 a:after
{
font-family: 'FontAwesome';
content: "\f054";
color: #757575;
position: absolute;
top:30%;
right: 15px;
}

.latest a:after{
font-family: 'FontAwesome';
content: "\f054";
color: #757575;
position: absolute;
top:30%;
right: 15px;
}

#home2 a{
padding-left: 36px;
}

#home2 a:before{
font-family: 'FontAwesome';
content: "\f015";
font-size:1.2em;
position: absolute;
top:20%;
left: 18px;  
}

.sinnzinnsyou {
color: #333333;
font-size:0.8em;

}
.haizinnhaiku {
color: #333333;
}
header .taitoru {
display: block;
line-height: 1.3;
}

/* =========================================================
■広告
========================================================= */
#advertisement{
text-align: center;    
margin: 0 auto; 
max-width: 320px;
}

#advertisement h1,
#advertisement h2
{
text-align: left;
}

.youcan
{
margin-left: -10px; 
font-size: 29px;
}
.youcan2
{
font-size: 29px;
}
.star{
color: #FF8C00;
}

#koukou2 {  
text-align: center;
margin: 5px auto 0;
max-width: 320px;
max-height: 100px;
}

#koukou2 img,
.koukou7 img
{
    height: auto;
    max-width:100%;
}

.koukou7 p{
margin: 0;
padding: 0;    
font-size: 16px;
}

.Amazon1
{
margin: 10px auto;
text-align: center;
width: 300px;
}

#AmazonS
{
margin: 10px auto;
text-align: center;
width: 300px;
display: none;
}

.koukou7,
#kannrenn
{
margin: 10px auto;
text-align: center;
max-width: 100%;
max-height: 100%;
}

.koukou8{
margin: 0 auto 10px;
text-align: center;

min-width: 300px;
min-height: 250px;

max-width: 100%;
max-height: 100%;
}

#koukou9{
margin: 14px auto 0;
text-align: center;
min-width: 300px;
min-height: 250px;

max-width: 100%;
max-height: 100%;
}

.G8,
.G9
{
    margin-bottom:5px;
}
/* =========================================================
■メディアクエリー
========================================================= */

/* =========================================================
■広告
========================================================= */
    
@media screen and (min-width: 360px) {

    .koukou7
    { 
	min-width: 336px;
	min-height: 304px;
    }

    .koukou8{ 
	min-width: 336px;
	min-height: 280px;
    }

    #koukou9{ 
	min-width: 336px;
	min-height: 280px;
    }
    .conD .text a {

	padding: 10px 20px;
    }
}

@media screen and (min-width: 500px) {
    .conD a.photo,
    .UpdateForm a.photo
    {
        flex: 1.5 0 100px;
    }
    .main-wrapper{
	padding:10px 30px;
    }

    footer{
    padding:15px 30px;
    }
}

@media (min-width: 600px){
    #AmazonS
    {
        margin: 10px auto;
        text-align: center;
        width: 300px;
        display: block;
    }

    #koukou2
    {
        max-width: 960px;
	max-height: 90px;
        box-sizing:border-box;
	background-color: #fff;
	border-left: #dadada 1px solid;
	border-right: #dadada 1px solid;
    }
    
   .main-wrapper2,
   .main-wrapper
   {
	
	border-left: #dadada 1px solid;
	border-right: #dadada 1px solid;
    } 
    
    header{
	background-position: 50% 50%;
    }
    .header-contents{
	box-sizing:border-box;
	max-width: 960px;
	min-height: 60px;
    }
    .main-wrapper, .main-wrapper2, #navtouku, #navtop{
        max-width: 960px;
    }
    footer{
        max-width: 960px;
    }
    .header-contents h1,
    .header-contents p
    {
        padding: 20px 0 10px 30px;
	font-size: 24px;
    }

    header .taitoru {
       	display: inline;
	line-height: 1;
    }
        
    table,
    .latest,
    #latest,
    #latest2,
    .latest2,
    .UpdateForm a.photo,
    .search-boxs,
    .errorMsg3,
    .rankingButton,
    #userpage,
    .accordion,
    nav,
    .G7,
    .conD
    {
       	width:500px;
      	margin-left:20px;
    }
    td.one{
    }

    .haikuseru {
        width: 100%;
    }

    .G8
    {
        border-bottom: 1px solid #e0e0e0;
        margin-top:8px;
        margin-bottom:0;
        width:500px;
        margin-left:20px;
    }

    .G9{

        margin-bottom:0;
        width:500px;
        margin-left:20px;
    }
}
@media (min-width: 768px){

    .koukou7{ 
	max-width: 336px;
	max-height: 304px;
    }

    #koukou9{
	max-width: 336px;
	max-height: 280px;
    }

    .tab-bar {
       	width:600px;
    }    
    table,
    .latest,
    #latest,
    #latest2,
    .latest2,
    .UpdateForm a.photo,
    .search-boxs,
    .errorMsg3,
    .rankingButton,
    #userpage,
    .accordion,
    nav,
    .G7,
    .conD
    {
        
       	width:550px;
      	margin-left:50px;
    }
    
    td.one{ 
    }
    .nice3
    {
        margin-top: 10px;
    }
    
    .G8,
    .G9
    {
        margin-bottom:0;
        width:550px;
        margin-left:50px;
    }
    
}

@media (min-width: 960px){
    body{	
        background-image: url(../images/geometry.png);
    }
    #qr
    {
        display: block;
    }
    #koukou2
    {
        margin-top: 0;
        padding-top: 5px;
        max-height: 95px;
    }
    
    .koukou8{
	min-width: 300px;
	min-height: 600px;
	max-width:300px;
	max-height:600px;
    }
    ul#latest{
        float:left;
    }
    #advertisement{
        width:280px;
        float: right;    
    }
}