﻿/*! 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;
}

/**
 * アドレススタイリングは、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,
a {
    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;
}

/* ---------------------------------------------------------
 　■ 追加
--------------------------------------------------------- */
/* === padding と border の幅を要素の幅と高さに含める === */
/* === ※ IE6・IE7非対応 === */
* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
div{
	margin: 0;
}
ul {
	list-style: none;
}

/* ---------------------------------------------------------
 　■ yuilibrary.com YUIフォントサイズCSS【改】
--------------------------------------------------------- */
/*
YUI 3.5.0 (build 5089)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
http://yuilibrary.com/yui/docs/cssfonts/cssfonts-size.html
*/
/* === 
全てのブラウザの表示フォントサイズを13pxに設定する
フォントサイズを％指定した場合のブラウザ間の微妙な違いはこれで修正
 === */
/* === 
古いので、どうしてもフォントサイズを％で表示したい場合にのみ使用
通常はremを使用
 === */
body{
	font:13px/1.231 sans-serif;
}
html.ie6 body,
html.ie7 body{
	font-size:small; font:x-small;
}
select,input,button,textarea,a:not(.A25Font){
	font:99% arial,helvetica,clean,sans-serif;
}
table{
	font-size:inherit;
	font:100%;
}
pre,code,kbd,samp,tt {
	font-family:monospace;
	line-height:100%;
}
html.ie6 pre, html.ie6 code, html.ie6 kbd, html.ie6 samp, html.ie6 tt,
html.ie7 pre, html.ie7 code, html.ie7 kbd, html.ie7 samp, html.ie7 tt{
	font-size:108%;
}
/* === safariのフォントサイズ調整 === */
html.safari {
	font-size: 80%;
}
/* === YUIフォントサイズCSSを使用した場合のフォントサイズサンプル === */
/* 比率がおかしくなるので面倒でもフォントサイズの入れ子はしないで、各ブロックごとに指定すること！ */
.txt10{ font-size: 77%; }    /* 10px */
.txt11{ font-size: 85%; }    /* 11px */
.txt12{ font-size: 93%; }    /* 12px */
.txt13{ font-size: 100%; }   /* 13px */
.txt14{ font-size: 108%; }   /* 14px */
.txt15{ font-size: 116%; }   /* 15px */
.txt16{ font-size: 123.1%; } /* 16px */
.txt17{ font-size: 131%; }   /* 17px */
.txt18{ font-size: 138.5%; } /* 18px */
.txt19{ font-size: 146.5%; } /* 19px */
.txt20{ font-size: 153.9%; } /* 20px */
.txt21{ font-size: 161.6%; } /* 21px */
.txt22{ font-size: 167%; }   /* 22px */
.txt23{ font-size: 174%; }   /* 23px */
.txt24{ font-size: 182%; }   /* 24px */
.txt25{ font-size: 189%; }   /* 25px */
.txt26{ font-size: 197%; }   /* 26px */


