@charset "utf-8";
/* CSS Document */

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Improves visual focus of mouse in all browsers
 * 2. Corrects text resizing oddly when font size is set using ems in IE6/7
 *    http://clagnut.com/blog/348/#c790
 * 3. Corrects page centering in all browsers regardless of content height
 * 4. Improves visual appearance of containers during a delegated click in mSaf
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 5. Corrects text resizing oddly after orientation change in all handhelds
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */
html {
	cursor: default; /* 1 */
	font-size: 100%; /* 2 */
	overflow-y: scroll; /* 3 */
	-webkit-tap-highlight-color: transparent; /* 4 */
	-ms-text-size-adjust: 100%; /* 5 */
	-webkit-text-size-adjust: 100%; /* 5 */
}


/* 
 * 1. Addresses text resizing limitations in IE6/7
 *    Improves text sizing inconsistency in all browsers
 *    Known issue: text sizing unnecessary for 'form'
 * 2. Improves margins set oddly in IE6/7 FF3/4 S5 C10
 */
body,
form,
input,
button,
select, 
textarea {
	font-size: 100%; /* 1 */
	margin: 0; /* 2 */
}


/*
 * Corrects block display not defined in IE6/7/8/9 & FF3
 */
/* IE対策　デフォルト状態のインライン要素をブロック要素に指定 */
article, aside, details, figure, figcaption, footer, header, hgroup, nav, section, summary {
    display: block;
}


/* 初期設定 */
html,body{ height: 100%; }


/* 主要タグの初期化 */
h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl, dt, dd {
	margin: 0;
	padding: 0;
	font-size: 100%;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
}
h4, h5, h6 { font-weight: normal; }



/* ｕｌのマーカーを表示させない */
ul { list-style: none; }


/* 引用符の表示が出ないように等 */
blockquote, q { quotes: none; }
q:before, q:after { content: ''; content: none; }


/* IE7/8/9, S5, Chromeにおいてabbr要素がスタイリングされない問題を修正 */
abbr[title], dfn[title] { border-bottom: 1px dotted; }
abbr{ _border-bottom: expression(this.title ? '1px dotted' : 'none'); }


/* FF3/4, S4/5, Chromeにおいてb,strong要素がboldにならない問題を修正 */
b, strong { font-weight: bold; }


/* S5, Chromeにおいてdfn要素がイタリック体にならない問題を修正 */
dfn { font-style: italic; }


/* IE6, S5, Chromeにおけるfont-familyの問題を修正 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }


/* 全てのブラウザーにおいてpre-formatted textの読みやすさを改善 */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }


/* 全てのブラウザーにおいてsubおよびsup要素がline-heightに影響する問題を防ぐ */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* テキストに打ち消し線を付ける */
del { text-decoration: line-through; }


/* リスト関連タグの行頭マークを非表示 */
ol, ul, dl, li, dt, dd { list-style-type: none; }


/* 画像のボーダー＆リンク指定された画像のボーダーを非表示、画像の縦並び時に余白が出ないようにする */
img, a img, iframe { border:none; }
img { vertical-align: top; font-size:0; line-height: 0; -ms-interpolation-mode: bicubic; }


/* テーブルのボーダーを一重線に・セル間隔をゼロに */
table,tr,th,td { border-collapse: collapse; border-spacing: 0; }


/* floatを解除するための clearfixハック */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix	{ display: inline-block; position:relative; min-height: 1px; }
* html .clearfix {
  height: 1px;
  /*¥*//*/
  height: auto;
  overflow: hidden;
  /**/
}
html>/**/body .clearfix { display /*\**/: block\9 } /* IE8用ハック */

.clear		{ clear: both; }


/*
 * Corrects styling not present in IE6/7/8/9
 */

mark {
	background: #FF0;
	color: #000;
}


/* =============================================================================
   Links
   ========================================================================== */

/*
 * Improves appearance when active or hovered in all browsers
 * people.opera.com/patrickl/experiments/keyboard/test
 */

a,
a:active,
a:hover {
	outline: none;
}



/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Corrects display not defined in IE6/7/8/9 & FF3
 */

audio[controls],
canvas,
video {
	display: inline-block;
	*display: inline;
}

audio {
	display: none;
	_display: expression(this.controls ? 'inline' : 'none');
	*zoom: 1;
}

audio[controls] {
	display: inline-block;
}


/*
 * Corrects overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Forms
   ========================================================================== */

/*
 * Corrects alignment displayed oddly in IE6/7
 */

legend {
	*margin-left: -7px;
}

/*
 * Improves appearance in all browsers
 */

button,
input,
select,
textarea {
	/*-webkit-appearance: none;*/
	border-radius: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}

/*
 * 1. Corrects FF3/4 setting it using !important in the UA stylesheet
 * 2. Corrects spacing displayed oddly in IE6/7
 * 3. Corrects inability to style clickable 'input' types in iOS
 */

button,
input {
	line-height: normal; /* 1 */
	_overflow: expression(this.type == 'button|reset|submit' ? 'visible' : ''); /* 2 */
}

/* 3 */

button,
input[type="button"], 
input[type="reset"], 
input[type="submit"] {
	overflow: visible;
}

/*
 * Addresses box sizing forced to border-box in IE6/7
 */

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
}

/*
 * Addresses sizing set oddly to searchfield in S5 iOS C10
 * Known issue: -moz included to future-proof
 */

input[type="search"] {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

/*
 * Addresses inner padding displayed oddly in S5 C10 on OSX
 */

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
 * Corrects appearance displayed oddly in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/*
 * 1. Corrects scrollbar displayed oddly in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */

textarea {
	overflow: auto; /* 1 */
	vertical-align: top; /* 2 */
}

