/*********************
reset
*********************/
html,body,
table,tbody,tr,th,td,
h1,h2,h3,h4,h5,h6,
form,ul,ol,p{
margin:0;
padding:0;
}
ul,ol{
list-style:none;
}

input[name$="s"]{
display:none;
}
/*********************
base
*********************/
*,
*:before,
*:after{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-ms-box-sizing:border-box;
-o-box-sizing:border-box;
box-sizing:border-box;
outline:0;
word-break:break-all;
font-family:inherit;
-webkit-appearance:none;
}
body,
td,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"],
input[type="submit"],
input[type="button"],
input[type="reset"],
textarea,
select{
color:#000;
line-height:20px;
font-size:small;
letter-spacing:1px;
}
body{
background-color:#f0f0f0;
overflow-y:scroll;
text-align:center;
font-family:'Roboto Slab','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ','Meiryo','Osaka','ＭＳ Ｐゴシック','MS PGothic',sans-serif;
background-image:linear-gradient( -45deg,transparent 25%,#1b435d 25%,#1b435d 50%,transparent 50%,transparent 75%,#1b435d 75%,#1b435d);
background-size:24px 24px;
background-repeat:repeat-x;
}
img{
max-width:100%;
height:auto;
vertical-align:bottom;
}
a{
text-decoration:none;
color:#666666;
border-bottom:1px solid #f2cf01;
}
a:hover{
color:#000;
text-shadow:0 0 2px #ccc;
}
input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"],
input[type="submit"],
input[type="button"],
input[type="reset"],
textarea,
select{
height:auto;
margin-bottom:3px;
background-image:none;
padding:0 8px;
border:1px solid #ccc;
border-radius:4px;
vertical-align:bottom;
line-height:24px;
}
input[type="text"],
input[type="password"],
input[type="number"],
textarea,
select{
width:30%;
background-color:#f0f0f0;
}
textarea{
height:80px;
}
textarea:focus{
height:248px;
}
input{
height:auto !important;
}
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"]{
width:auto;
background-color:#f2cf01;
border:1px solid #f2cf01;
box-shadow:none;
font-weight:normal;
color:#000;
cursor:pointer;
text-align:left;
}
#layout{
max-width:300px;
margin:45px auto 10px;
text-align:left;
}
header{
text-align:center;
}
h1{
position:relative;
display:inline-block;
padding:15px 25px;
font-size:2em;
background-color:#fff;
box-shadow:3px 3px 3px #ccc;
}
header h1:before{
content:'';
position:absolute;
bottom:-1em;
left:50%;
display:block;
margin-left:-0.5em;
width:1em;
height:1em;
font-size:10px;
border-width:1em 0.5em 0;
border-color:#fff transparent transparent;
border-style:solid;
}
#content{
margin-top:30px;
}
.box{
padding:14px;
background-color:#fff;
box-shadow:3px 3px 3px #ccc;
}
ul.banner li{
position:relative;
height:88px;
overflow:hidden;
margin-top:30px;
padding:14px 10px 14px 41px;
background-color:#fff;
box-shadow:3px 3px 3px #ccc;
background-size:1px 1px;
background-position:-10px -10px;
background-repeat:no-repeat;
}
ul.banner li:before{
content:'';
position:absolute;
top:0;
left:31px;
display:block;
width:88px;
height:31px;
transform:rotate(90deg);
transform-origin:left top;
background-image:inherit;
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}
ul.banner li.re:before{
bottom:-31px; top:auto;
left:0;
transform:rotate(-90deg);
}
h4{
font-size:1.1em;
}
footer{
margin-top:20px;
text-align:right;
}
footer a{
position:relative;
display:inline-block;
width:88px;
border-bottom:none;
background-color:#fff;
box-shadow:3px 3px 3px #ccc;
line-height:31px;
text-align:center;
}
.source{
background-color:#f0f0f0;
border:1px solid #c0c0c0;
border-radius:5px;
font-family:monospace;
font-size:x-small;
letter-spacing:1px;
}
div.source{
padding:10px;
line-height:1.2em;
}
span.source{
margin:0 3px;
padding:3px 5px;
}
.sec + .sec{
margin-top:10px;
padding-top:10px;
border-top:2px dashed #ccc;
}
.r1{color:#f00;}
.r2{color:#600;}
.b1{color:#00f;}
.b2{color:#006;}
.g1{color:#0c0;}
.g2{color:#060;}
.w1{color:#000;}
.w2{color:#999;}
.sozai a{
display:inline-block;
width:31px;
overflow:hidden;
}
.sozai img{
max-width:88px;
height:31px;
padding-bottom:1px;
}