@charset "utf-8";

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    font-size: 100%;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    background: transparent;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display: block;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
    content: none;
}

a {
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    margin: 0;
    padding: 0;
}

ins {
    color: #000;
    text-decoration: none;
    background-color: #ff9;
}

mark {
    color: #000;
    font-style: italic;
    font-weight: bold;
    background-color: #ff9;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input, select, textarea, img, th, td {
    vertical-align: middle;
}

ul, dl, ol {
    list-style: none;
}

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

@media screen and (min-width: 841px) {

html {
    background: #f6f6f6;
}

body {
    max-width: 800px;
    color: #333;
    font-family: 'Noto Sans Japanese', Meiryo, sans-serif;
    font-size: 18px;
    line-height: 2;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

}

@media screen and (max-width: 840px) {

body {
    color: #333;
    font-family: 'Noto Sans Japanese', Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    background: #fff;
}

}

h1, h2, h3, h4, h5, h6, th {
    font-weight: normal;
}

a {
    color: #333;
    text-decoration: underline;
    transition-duration: .3s;
}

a:hover {
    text-decoration: none;
    transition-duration: .3s;
}

a:hover img {
    -moz-opacity: .5;
    opacity: .5;
    transition-duration: .3s;
}

img, video, object {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border: none;
    transition-duration: .3s;
}

img {
    display: block;
    margin: 0 auto;
}

#fixBtn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

#fixBtn a {
    display: block;
    padding: 10px;
    animation: anime 1s ease 0s infinite alternate;
    transform-origin: center;
}

@keyframes anime {
    0% {transform: scale(0.96,0.96);}
    100% {transform: scale(1,1);}
}
