/* ↓レイアウト↓ */
*{
    line-height:150%;
}

body{
margin: 0 10%;
    color:#333333;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Verdana, sans-serif;
    background-color:#fafafa;
}
div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav,section{box-sizing:border-box}
input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}
a{
text-decoration:none;
outline:none}
a img{border-style:none}

a{
color:#409ecc;
}
a:hover{
color:#cccccc;
text-decoration:none;
}
/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#wrapper{
margin:20px;
text-align:left
}
header{
padding:0 0 20px
}
#rightcolumn-inner{
padding: 20px
} 
#rightcolumn a{
text-decoration:none;
}
footer{
padding:20px 0 0;
text-align:center;
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
margin:0 auto;
text-align:center;
}
nav li{
display:inline-block;
margin:5px;
}
nav li a{
background:#fff;
color:#000;
border:2px solid #000;
display:table-cell;
vertical-align:middle;
text-align:center;
padding:5px;
position:relative; /* 必須 */
height:80px;
width:80px;
max-width:80px;
box-sizing:border-box;
}
nav li .list01{
background:#000;
color:#fff
}
nav li a:hover{
background:#cccccc;
color:#fff;
text-decoration:none;
}
/*--------------------------------------------------------
ページ上部へのリンク、著作権表示
--------------------------------------------------------*/
#pagetop{
background:#000;
border-radius:5px;
height:50px;width:50px;
position:fixed;
bottom:20px;right:20px;
}
.arrow{
border-left:2px solid #fff;
border-top:2px solid #fff;
position:absolute;
top:40%;left:32%;
height:14px;width:14px;
-ms-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
transform:rotate(45deg);
}
#fl a{
color:#fff;
background:#000;
border-radius:5px;
display:inline-block;
margin:20px 0;
padding:10px;
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:1.3em;
letter-spacing:.1em;
margin:1em 0;
text-shadow:5px 5px 1px #ccc
}
h2{
background:#cccccc;
color:#000000;
font-size:0.8em;
margin:1em 0 2em 0;
padding:10px;
position:relative;
}
h2::after{
border:8px solid transparent;
border-top:8px solid #cccccc;
content:'';
position:absolute;
top:100%;left:30px;
height:0;width:0;
}
h3{
text-align: center;
border-bottom:2px solid #000000;
color: #FFC0CB;
letter-spacing:.1em;
margin:20px 0;
}
dt{
font-weight:700;
padding:0 0 1em 0
}
dd{
border-bottom:1px solid;
margin:0 0 1em 1em
}
em{
font-weight:700
}
input,textarea{
background:#fff;
border:2px solid;
margin:3px 0;
width:100%
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#cccccc; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #cccccc), color-stop(1, #cccccc));
background: -webkit-linear-gradient(transparent 50%, #cccccc 0%);
background:linear-gradient(transparent 50%, #cccccc 0%)
}
.dcline{
border-left:8px solid #cccccc;
margin:5px 0;
padding:3px
}
.textbox{
border:2px solid;
margin:10px 0;
padding:3px;
text-align:center
}
.txt{
border-left:1px solid #999;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#cccccc;
border-radius:3px;
padding:7px
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.2em
}
#wrapper{
margin:20px 20px 50px;
}
#main-wrap{
float:none;
margin-left:0
}
#rightcolumn{
margin-left:0;
}
#rightcolumn-inner{
padding:20px 0
}
#main-wrap a{
color:#fff;
background:#cccccc;
border-radius:5px;
margin:5px 5px 5px 0;
padding:5px
}
#main-wrap a.bg-none{
background:none;
border-radius:0;
padding:0
}
#main-wrap a img{
vertical-align:middle
}
}
