﻿@charset "utf-8";

/*html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark*/

/*要素のフォントサイズやマージン・パディングをリセット*/
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 {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-style: normal;
}

/*行の高さをフォントサイズと同じに*/
body {
    line-height: 1;
}

/*新規追加要素をブロック要素へ変更*/
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display: block;
}

/*nav要素内ulのマーカーを非表示に*/
nav ul {
    list-style: none;
}

/*引用符を非表示に*/
blockquote, q {
    quotes: none;
}

/*blockquote要素、q要素の前後にコンテンツを追加しないように指定*/
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/*aの縦方向の揃え位置を親要素のベースラインに揃える*/
a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/*ins要素のデフォルトをセットし、色を変える場合はここで変更*/
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/*mark要素のデフォルトをセットし、色やフォントスタイルを変える場合はここで変更
（mark要素は、文書内の検索結果で該当するフレーズをハイライトして、目立たせる際に使用する）*/
mark {
    background-color: #ff9;
    color: #000; 
    font-style: italic;
    font-weight: bold;
}

/*テキストに打ち消し線を付ける*/
del {
    text-decoration: line-through;
}

/*IEではデフォルトで点線を下線表示する設定ではないので、下線がつくようにする。
また、マウスオーバー時にヘルプカーソルの表示が出るようにしています*/
abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

/*隣接するセルのボーダーを重ねて表示し、間隔を0に*/
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*水平罫線のデフォルトである立体的な罫線を削除*/
hr {
    display: block;
    height: 1px;
    border: 0;   
    border-top: 1px solid #dcdcdc;
    margin: 1em 0;
    padding: 0;
}

/*縦方向の揃え位置を中央揃えに指定*/
input,
select {
    vertical-align: middle;
}

/*--------------------------------------

  追記

---------------------------------------*/
* {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -webkit-appearance: none;
}
a {
    outline: none;
}
ol, ul {
    list-style: none;
}
img {
    vertical-align: middle;
    font-size: 0;
    line-height: 0;
}
.cl {
    clear: both;
}
.cl_o {
    overflow: hidden;
}