html,body,div,span,iframe,h1,h2,h3,h4,p,pre,del,em,img,b,i,dl,dt,dd,ol,ul,li,form,table,tbody,tr,th,td,article,aside,footer,header,nav,section{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;box-sizing:border-box}
article,aside,footer,header,nav,section,textarea{display:block}
body{line-height:1;overflow-wrap:break-word;word-wrap:break-word}
input,textarea,select{font-family:inherit;font-size:inherit;color:inherit;vertical-align:middle}
a{margin:0;padding:0;text-decoration:none;outline:none;font-size:100%;vertical-align:baseline;background:transparent}
a img{border-style:none}
ul,li{list-style-type:none}
.if-container{display:inline-block;margin:0 auto;height:100%;width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.ifrm{border:none;display:block;height:100%;width:100%}
.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}
/* この上はいじらないほうがいいです */

html{
font-size:62.5%;
height:100%
}
body{
background:#fff;/* インラインフレーム内背景色 */
color:#000;/* インラインフレーム内文字色 */
font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
font-size:1.3em;/* 文字の大きさ */
text-align:left;
letter-spacing:.1em;
line-height:1.5;
padding:10px 10px 60px
}
a{
color:#794f5f;
text-decoration:underline
}
a:hover{
color:#ccc
}
/*--------------------------------------------------------
インラインフレーム外設定
--------------------------------------------------------*/
#page{
background:url(https://foollovers.com/mat/plaid/e50-bg-blockcheck.gif);
color:#000;
padding:20px;
height:100%;
text-align:center
}
#page a{
text-decoration:none
}
#wrapper{
background:#fff;
border:1px solid #000;
margin:0 auto;
height:100%;
text-align:left;
width:800px /* 大きさはここで変更 変更した場合は下の方のmax-width: 840pxの値も変更 */
}
header{
background:url(image/back01.gif);
color:#fff;
position:relative;
min-height:80px
}
#header-inner{
padding:10px 10px 30px
}
#contents{
padding:10px
}
footer{
background:#000;
border-top:2px solid #000;
padding:10px;
text-align:center
}
header a,footer a{
color:#fff
}
/*--------------------------------------------------------
ページ上部へのリンク
--------------------------------------------------------*/
#pagetop{
background-color:rgba(0,0,0,.8);
border-radius:30px;
height:50px;width:50px;
position:fixed;
bottom:-100px;right:20px;
z-index:50;
-webkit-transition:.5s;
transition:.5s
}
.arrow{
border-left:3px solid #fff;
border-top:3px solid #fff;
position:absolute;
top:40%;left:30%;
height:16px;width:16px;
-ms-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
transform:rotate(45deg)
}
#pagetop:hover{
background-color:rgba(222,222,222,.8);
transition:.3s
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
background:#000;
color:#fff;
padding:5px 0;
position:absolute;
bottom:0;left:0;
width:100%;
text-align:center
}
#menu ul li{
display:inline-block
}
#menu ul li a{
color:#fff;
display:block;
padding:0 5px
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:1.3em
}
h2,.h2{
border-bottom:3px double #000;
font-size:1.3em;
margin:20px 0;
text-shadow:0 1px 2px #000
}
h2:first-letter,h3:first-letter
,.h2:first-letter,.h3:first-letter{
font-size:1.5em;
margin-right:.1em
}
h3,.h3{
border-bottom:3px solid #ccc;
margin:2em 0;
position:relative
}
h3::after,.h3::after{
background:#794f5f;
bottom:-3px;
content:'';
height:3px;
left:0;
position:absolute;
width:10%;
z-index:2
}
dt{
color:#5c3242;
font-weight:700;
float:left;
margin:0 0 5px;
width:160px
}
dd{
border-bottom:solid 1px #ccc;
margin:0 0 5px 160px
}
dl:after{
content:"";
clear:both;
height:0;
display:block;
visibility:hidden
}
em{
background-image:url(image/back02.gif);
color:#000;
font-weight:700
}
input,textarea{
background:#000;
border:1px solid #4f261c;
color:#fff;
margin:3px 0;
width:200px
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#c1a5b0; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.79, #fff), color-stop(0.8, #c1a5b0), color-stop(1, #c1a5b0));
background:-webkit-linear-gradient(transparent 80%, #c1a5b0 0%);
background:linear-gradient(transparent 80%, #c1a5b0 0%)
}
.ln01{
border-left:8px solid #000;
margin:5px 0;
padding:0 5px
}
.ln02{
border-left:8px solid #794f5f;
margin:5px 0;
padding:0 5px
}
.textbox{
background-image:url(image/back02.gif);
border:2px solid #4f261c;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
font-size:1.4em;
font-weight:700;
padding:30px 10px 0
}
.txt{
border-left:1px dotted #000;
margin:1em;
padding:0 0 0 1em
}
.frame{
border:6px solid #fff;
border-radius:3px;
box-shadow:4px 4px 5px #000;
-webkit-box-shadow:4px 4px 5px #000
}
/*--------------------------------------------------------
横幅840pxで切り替え
840px = #pageの(paddingx2)+#wrapperのwidth
--------------------------------------------------------*/
@media screen and (max-width: 840px){
#wrapper{width:100%}
}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
#page{padding:5px}
#wrapper{width:100%}
#menu{position:relative}
dt{float:none}
dd{margin:0 0 5px 5px}
}
