/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * 正しい`ブロック`ディスプレイは、IE8・9に定義されていません。
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * IE8・9には定義されていない正しい`inline-block`ディスプレイ。
 */

audio,
canvas,
progress,
video {
    display: inline-block;
}

/**
 * コントロールなしで`audio`を表示から最新のブラウザを防ぐ。 
 * iOSの5のデバイスに余分な高さを削除します。
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * アドレス`[hidden]IE8/9には存在しないスタイリング。
 * IE、サファリ、およびFirefox<22`template`要素を非表示にします。
 */

[hidden],
template {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1。sans-serif体に設定されたデフォルトのfont family。 
 * 2。防止iOSの文字サイズは、ユーザーのズームを無効にせず、向きの変更後に調整します。
 */

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * デフォルトの余白を削除します。
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * IE10のアクティブリンクからグレーの背景色を削除します。
 */

a {
    background: transparent;
}

/**
 * すべてのブラウザで集束され、また、マウスホバー時に読みやすさを向上。
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * `section`と `article`内で変数 `H1`フォントサイズやマージンに対処
 * Firefox 4+、Safari5、およびChromeでコンテキスト。
 */
/* h1 {
    font-size: 2em;
    margin: 0.67em 0;
} */
h1, h2, h3, h4, h5, h6{
    font-size: 1em;
	font-weight: normal;
}
/**
 * アドレススタイリングは、IE8/9、Safariの5、とChromeには存在しない。
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 *アドレススタイルは`より大胆に設定`のFirefox4+、Safariの5、およびChromeで。
 */

b,
strong {
    font-weight: bold;
}

/**
 * dfnのSafari5とChromeには存在しない。
 */

dfn {
    font-style: italic;
}

/**
 * Firefoxや他のブラウザとの間のhrの違い。
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * IE8/9には存在しないmark。
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 *正しいフォントファミリは、Safariの5とChromeで奇妙な設定。
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre-wrap;
}

/**
 * すべてのブラウザで、プリフォーマットされたテキストの読みやすさを向上させます。
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * すべてのブラウザで一貫性がなく、可変フォントサイズ。
 */

small {
    font-size: 80%;
}

/**
 * `sub` and `sup`すべてのブラウザで`line-height`に影響ないようにします。
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * IE8/9にある<a>要素の内側の境界線を削除します。
 */

img {
    border: 0;
}
/* === 垂直型リストで画像を並べた時の隙間を消すための処理 === */
img ,
input[type="image"]{
	vertical-align: top;
	font-size:0;
	line-height: 0;
}
/**
 * 正しいオーバーフローがIE9でひどい表示。
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * IE8/9とSafari5には存在しないマージン。
 */

figure {
    margin: 1em 40px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * 1. Define consistent border, margin, and padding.
 * 2. Address width being affected by wide descendants in Chrome and Firefox.
 */

fieldset {
    border: 1px solid #c0c0c0; /* 1 */
    margin: 0 2px; /* 1 */
    min-width: 0; /* 2 */
    padding: 0.35em 0.625em 0.75em; /* 1 */
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Correct color not being inherited in all browsers.
 *    Known issue: `select` will not inherit color in Chrome and Safari on OS X.
 * 2. Correct font properties not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
    color: inherit; /* 1 */
    font: inherit; /* 2 */
    margin: 0; /* 3 */
}

/**
 * Re-apply the `font-weight` to avoid modifying the default UX, and because
 * the default cannot be changed in Chrome and Safari on OS X.
 */

optgroup {
    font-weight: bold;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * OS XでのSafari5とChromeでキャンセルボタン、内側のパディングを削除して、検索
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Firefoxの4+で、内側のパディングとボーダーを削除します。
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}




/* ---------------------------------------------------------
 　■ 追加
--------------------------------------------------------- */
/* === ol・ulのマーカーを表示を none に指定 === */
ol, ul {
	list-style: none;
	padding: 0;
}

/* === 垂直型リストで画像を並べた時の隙間を消すための処理 === */
img ,
input[type="image"]{
	vertical-align: top;
	font-size:0;
	line-height: 0;
	margin: 0;
}

/* === padding と border の幅を要素の幅と高さに含める === */
* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

/* === 画像とIFRAMEの幅 === */
img,iframe{
	max-width: 100%;
}
