/*-------------------------------------------------
  初期化(PC・スマホ共通）
-------------------------------------------------*/
html {
	height: 100%;
	overflow-x: hidden;
}

/* 
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;
}

body {
	line-height:1;
	font-family:  "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
	background-color:rgba(255,255,255,0.8);
	font-size:16px;
	height: 100%;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}

nav ul {
	list-style:none;
}

blockquote, q {
	quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}

a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}

/* change colours to suit your needs */
ins {
	background-color:#ff9;
	color:#000;
	text-decoration:none;
}

/* change colours to suit your needs */
mark {
	background-color:#ff9;
	color:#000; 
	font-style:italic;
	font-weight:bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom:1px dotted;
	cursor:help;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

/* change border colour to suit your needs */
hr {
	display:block;
	height:1px;
	border:0;   
	border-top:1px solid #cccccc;
	margin:1em 0;
	padding:0;
}

input, select {
	vertical-align:middle;
}
/* End reset.css */

/* Links */
a:link, a:visited
{
	color: #333;
	text-decoration: none;
}
a:hover, a:active
{
	color:#aaa;
/*	text-decoration: underline #004080;*/
}
#copyrights a:link, #copyrights a:visited
{
	color: #474747;
}
#copyrights a:hover, #copyrights a:active
{
	color: #737373;
}
a:hover img{
	opacity:1.0;
	filter:alpha(opacity=50);
	-ms-filter: "alpha( opacity=50 )";
}
/* End Link */

/* ---------- Float 解除 */
.clearfix:after {
	display:block;
	clear:both;
	height:0px;
	visibility:hidden;
	content:".";
}
.clearfix {
	min-height: 1px;
}
* html .clearfix {
	height: 1px;
	height: auto;
	overflow: hidden;
}


body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:#fff; /* 背景カラー */
  z-index: 9999; /* 一番手前に */
  pointer-events: none; /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
  opacity: 0; /* 初期値では非表示 */
  -webkit-transition: opacity .5s ease; /* アニメーション時間は 0.8秒 */
  transition: opacity .5s ease;
}
/*body要素に.fadeoutセレクタがある場合には、レイヤーが表示されるようにopacityを１に設定します。*/
body.fade::after {
  opacity: 1;
}


/*-------------------------------------------------
  PC（画面サイズ641px以上用）
-------------------------------------------------*/
@media all and (min-width:641px) {
	.disp_mob {
		display:none;
	}


	#wrapper {
		width:100%;
		margin:0px auto;
		height: 100vh;
/*		ms-overflow-style: none;
		scrollbar-width: none;*/
	}
	#wrapper::-webkit-scrollbar{
  	display:none;
  }
  
/*フェードアウト・イン */
	body::after {
	  content: '';
	  position: fixed;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  background-color:#fff;  /* 背景カラー */
	  z-index: 9999;  /* 一番手前に */
	  pointer-events: none;  /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
	  opacity: 0;  /* 初期値では非表示 */
	  -webkit-transition: opacity .8s ease;  /* アニメーション時間は 0.8秒 */
	 -ms- transition: opacity .8s ease;
	 -moz- transition: opacity .8s ease;
	  transition: opacity .8s ease;
	}
	 
	 
	/*body要素に.fadeoutセレクタがある場合には、レイヤーが表示されるようにopacityを１に設定します。*/
	 
	body.fadeout::after {
	  opacity: 1;
	}
	 
	 
	/*お好みで、.fadeoutセレクタ以下の他の要素にもアニメーション用のCSSを定義します*/
	/*DEMOではページ遷移時にarticle要素のスケールもアニメーションさせています*/
	 
	body.fadeout article{
	  -webkit-transform:scale(1.2);
	  transform:scale(1.2);
	}



}
/*-------------------------------------------------
 スマホ（画面サイズ640px以下用）
-------------------------------------------------*/
@media all and (max-width: 640px) {
	.disp_pc {
		display:none;
	}
	img { 
		max-width: 100%; 
	}
	#wrapper {
		width:100%;
		margin:0px auto;
	}
	div#header {
		display: inline-block;
		width:96%;
		margin:0px;
		padding:2%;
		height:50px;
	}

}
