@charset "UTF-8";

html{
	overflow-y: scroll;
}

body{
	text-align: center;
	background-color: #fffaf4;
	-webkit-text-size-adjust: none;
}

#wrap{
    overflow-x: hidden;
}

#wrapper{
	width: 100%;
	background-color: #ccc;
}

header{
	position:fixed;
	top:0;
	left:0;
	width: 100%;
	height: 80px;
	background-color: #fffaf4;
	z-index: 110;
	transition: .3s;
}

.is-animation{
	height: 80px;
	background-color: rgba(255,250,244,0.85);
}


#header-area{
  	width: 100%;
	margin: 0 auto 0;
	padding: 0 80px 13px 20px;
	overflow: hidden;
}

section{
	width: 100%;
	/*background-color: #f1f1f1;*/
}

#container{
	clear: both;
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: 0 auto;
	z-index: 10;
	overflow: hidden;
}

.fadeOut {
	-webkit-animation: fadeOut .5s cubic-bezier(.55,0,.1,1) both;
	animation: fadeOut .5s cubic-bezier(.55,0,.1,1) both;
}
@-webkit-keyframes fadeOut { to { opacity: 0; }}
@keyframes fadeOut { to { opacity: 0; }}

.fadeIn {
	-webkit-animation: fadeIn .5s cubic-bezier(.55,0,.1,1) both;
	animation: fadeIn .5s cubic-bezier(.55,0,.1,1) both;
}
@-webkit-keyframes fadeIn { from { opacity: 0; }}
@keyframes fadeIn { from { opacity: 0; }}

#index #main-area{
	clear: both;
	width: 100%;
	max-width: 1000px;
	margin-top: 300px;	
}

#left-area{
	float: left;
	width: 640px;
	text-align: left;
}

#right-area{
	float: right;
	width: 330px;
	text-align: left;
}

footer{
	clear: both;
  	width: 100%;
	margin: 50px 0 20px;
	border-top: 1px solid #ccc;
	z-index: 100;
    background-color: #fff;
}

#footer-area{
	clear: both;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px 0;
	text-align: left;
}

@media screen and (max-width:989px){ 
#left-area{
	float: none;
	width: 90%;
	margin: 0 auto;
	text-align: left;
}

#right-area{
	float: none;
	width: 90%;
	margin: 0 auto;
	text-align: left;
}

}

/* iPhone6 Plusのポートレート表示に対応 */
@media screen and (max-width:420px){ /* 〜420px */

header{
	position:fixed;
	top:0;
	left:0;
	width: 100%;
	height: 50px;
	z-index: 110;
	background-color: #fff;
	transition: .3s;
}

.is-animation{
	height: 50px;
}

.is-animation #header-area{
	margin: 0 auto;
	padding: 0;
	transition: .3s;
}

.is-animation #header-area #header-menu{
	margin-top: 0;
}

nav{
	width: 100%;
	min-width: 1px;
}

section{
	width: 100%;
	min-width: 1px;
	z-index: 100;
}

#container{
	width: 96%;
	margin: 25px 2% 40px;
}

#main-area{
	float: none;
	width: 100%;
	margin: 10px 0 0;
}

#left-area{
	float: none;
	width: 90%;
	margin: 0 auto;
	text-align: left;
}

#right-area{
	float: none;
	width: 90%;
	margin: 0 auto;
	text-align: left;
}

footer{
  	width: 100%;
	min-width: 1px;
	margin: 0;
}

#footer-area{
	clear: both;
	width: 100%;
	margin: 0;
	padding: 0 0 15px;
}

}
