/*!
 * RESET.CSS for Form(Synergy!) v1.2
 * "Reset.css" is Easy SEtting uniT CSS for Form(Synergy!)
 * custom by Leafstar
 *
 * ress.css v1.1.1 + Other Basic Setting
 */



/* ================================================================================================================================== */

/*!
 * ress.css v1.1.1
 * ress.css github.com/filipelinhares/ress
 */



/* # =================================================================
   # Global selectors
   # ================================================================= */

html {
  box-sizing: border-box;
  overflow-y: scroll; /* すべてのブラウザで、スクロールバーのオーバーレイを無し */
  -webkit-text-size-adjust: 100%; /* iOS 8+ */
}

*,
::before,
::after {
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* 「::before」と「::after」に、「text-decoration」と「vertical-align」を継承 */
  vertical-align: inherit;
}

/* Remove margin, padding of all elements and set background-no-repeat as default */
* {
  background-repeat: no-repeat; /* すべての要素に、「background-repeat: no-repeat;」を指定 */
  padding: 0; /* すべての要素に、「padding」と「margin」をリセット */
  margin: 0;
}

/* # =================================================================
   # General elements
   # ================================================================= */

/* iOS 4-7に、正しいdisplayを設定 */
audio:not([controls]) {
  display: none;
  height: 0;
}

hr {
  overflow: visible; /* EdgeとIEに、「overflow: visible;」を定義 */
}

/*
* IE8/9に、displayプロパティを定義
* IE10/11とFirefoxのdetail要素とsummary要素に、displayプロパティを定義
* IE11のmain要素に、displayプロパティを定義
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

summary {
  display: list-item; /* すべてのブラウザに、正しいdisplayを設定 */
}

small {
  font-size: 80%; /* small要素に、フォントサイズ「80%」を定義。 */
}

[hidden],
template {
  display: none; /* IEに、displayプロパティを定義。 */
}

abbr[title] {
  border-bottom: 1px dotted; /* すべてのブラウザに、点線を定義 */
  text-decoration: none; /* Firefox40+に、テキストの装飾を削除 */
}

a {
  background-color: transparent; /* IE10に、アクティブリンクのグレーの背景を削除 */
  -webkit-text-decoration-skip: objects; /* iOS8+とSafari8+に、リンクの下線のギャップを削除 */
}

a:active,
a:hover {
  outline-width: 0; /* すべてのブラウザに、ホバー時のアウトラインを削除 */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* コード要素に、フォントファミリーを指定 */
}

b,
strong {
  font-weight: bolder; /* Edge12+, Safari6.2+, Chrome18+に、「bold」を適用 */
}

dfn {
  font-style: italic; /* SafariとChromeに、定義 */
}

/* IE8/9に、定義 */
mark {
  background-color: #ff0;
  color: #000;
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* # =================================================================
   # Forms
   # ================================================================= */

input {
  border-radius: 0;
}

/* ボタンにホバーした時、カーソルを指先にする */
button,
[type="button"],
[type="reset"],
[type="submit"]
[role="button"] {
  cursor: pointer;
}

/* 無効にしている要素にホバーした時、カーソルを変えない */
[disabled] {
  cursor: default;
}

[type="number"] {
  width: auto; /* Firefox 36+ */
}

[type="search"] {
  -webkit-appearance: textfield; /* Safari 8+ */
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Safari 8 */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* textarea要素に、垂直方向のリサイズを指定 */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* フォーム要素に、フォントの継承を指定 */
}

optgroup {
  font-weight: bold; /* 前の指定により、フォントのウェイトを再定義 */
}

button {
  overflow: visible; /* IE8/9/10/11に、overflow時にhiddenを設定 */
}

/* Firefox4+に、内側のpaddingとborderを削除 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}

/* フォーカス時のスタイルを定義 */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"], /* Android4に、ネイティブのaudio要素とvideo要素のコントロールのバグを防ぐ */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* iOSに、クリッカブルなbutton要素のtypeのスタイルを修正 */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* すべてのブラウザにおいて、デフォルトのボタンのスタイルを削除 */
/* Original
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}
*/
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}



/* 標準的なinput要素のスタイルを選択 */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
  appearance: none;
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* IE 8/9/10/11に、カラーの継承を定義 */
  color: inherit; /* IEに、fieldset要素からカラーを継承するように定義 */
  display: table; /* EdgeとIEに、テキストのラッピングを修正 */
  max-width: 100%; /* EdgeとIEに、テキストのラッピングを修正 */
  white-space: normal; /* EdgeとIEに、テキストのラッピングを修正 */
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* iOSとSafariに、クリッカブルなtypeのスタイルを修正 */
  font: inherit; /* ChromeとSafariに、フォントプロパティの継承を変更 */
}

[type="search"] {
  -webkit-appearance: textfield; /* ChromeとSafariに、アピアランスを修正 */
  outline-offset: -2px; /* Safariに、アウトラインを修正 */
}

/* # =================================================================
   # Specify media element style
   # ================================================================= */

img {
  border-style: none; /* IE8/9/10に、a要素の中にある時にボーダーを削除 */
}

/* Chrome, Firefox, Operaに、正しいvertical-alignを与える */
progress {
  vertical-align: baseline;
}

svg:not(:root) {
  overflow: hidden; /* Internet Explorer 11- */
}

audio,
canvas,
progress,
video {
  display: inline-block; /* Internet Explorer 11+, Windows Phone 8.1+ */
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* コンテンツを隠す時は、スクリーンリーダーからでなく、スクリーンから */
/* S-JISに対応していない表記のため、該当部分を削除 */


/* アップデート中の要素のプログレスのカーソルを指定 */
[aria-busy="true"] {
  cursor: progress;
}

/* トリガー要素のポインターのカーソルを指定 */
[aria-controls] {
  cursor: pointer;
}

/* 使用不可、編集不可の要素のスタイルが無いカーソルを指定 */
[aria-disabled] {
  cursor: default;
}

/* # =================================================================
   # Selection
   # ================================================================= */

/* テキスト選択時の背景色を指定し、ドロップシャドウを削除 */

::-moz-selection {
  background-color: #b3d4fc; /* 「::selection」を使用する時に必要 */
  color: #000;
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc; /* 「::selection」を使用する時に必要 */
  color: #000;
  text-shadow: none;
}





/* ================================================================================================================================== */


/* clearfix
-------------------------- */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {	/* IE7 Bug Fix */
	min-height: 1px;
}


/* font
-------------------------- */
html{
	font-family: "メイリオ", Meiryo,"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro", Osaka, "MS PGothic", sans-serif;
	font-size: 62.5%;/* base 10px */
}

body {
	font-size: 1.4em; /* 14px */
	line-height: 1.5em;
}



/* # =================================================================
   #  基本的なスタイリング
   # ================================================================= */

html,body { 
	height: 100%; /* 全体の高さを画面の高さに合わせる */
	width: 100%;
	margin: 0;
	padding:0;
	background: white;
	box-sizing: border-box;
}

body {	
	-webkit-text-size-adjust: 100%;
	min-height: 100%;
	}



img{
	vertical-align: top;
}

@media screen and (max-width: 640px){ /* スマホ用 */

	body{ 
		/*font-size: 1.1rem;*/
		width: 100%;
		min-width: 320px;
		padding: 0;
		border: none;
	}

		body img{
			max-width: 100%;
			height: auto;
			width /***/:auto;
		}
}


@media screen and (max-width: 640px){ /* スマホ用 */
	/* Android4系のブラウザで、背景画像が設定されていないと中途半端な場所で改行されてしまうバグ対策 */
	h1,h2,h3,h4,p,li,dt,dd{
		background:url(bg_android4.gif);
	}
}



/* #allContents	全ての要素を包むブロック要素
-------------------------- */

#allContents {

}

@media screen and (max-width: 767px) {

	#allContents {
		margin: 0 auto;
		width: auto;
	}

}




/* # =================================================================
   #  PC/スマホ 表示切り替え
   # ================================================================= */

img.viewPC{
	display: inline;
}

img.viewSP{
	display: none;
}

@media screen and (max-width: 767px){ /* スマホ用 */


	img.viewPC{
		display: none;
	}
	
	img.viewSP{
		display: inline;
	}


}


br.viewPC{
	display: inline;
}

br.viewSP{
	display: none;
}

@media screen and (max-width: 767px){ /* スマホ用 */


	br.viewPC{
		display: none;
	}
	
	br.viewSP{
		display: inline;
	}


}


p.viewPC{
	display: block;
}

p.viewSP{
	display: none;
}

@media screen and (max-width: 767px){ /* スマホ用 */


	p.viewPC{
		display: none;
	}
	
	p.viewSP{
		display: block;
	}


}


span.viewPC{
	display: inline;
}

span.viewSP{
	display: none;
}

@media screen and (max-width: 767px){ /* スマホ用 */


	span.viewPC{
		display: none;
	}
	
	span.viewSP{
		display: inline;
	}


}



