@charset "UTF-8";
/* Basic Layout */
html,
body {
	height:100%;
}
body {
	background-color:#fff;
}

#debug {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	background-color: #fff;
	padding: 20px 20px;
}



#wrapper {
	height:auto;
	min-height:100%;
	position:relative;
}

/* 共通 */
.full {
	width:100%;
}

/* ヘッダー部 */
header {
	display: block;
	padding:0;
	text-align:left;
	background-color: #fff;

	/*top: 0px;*/
	z-index: 99;
	transition: all 500ms 0s ease;
	border-bottom: 0px solid #dcdcdc;
}
#pageHome header {
	position:fixed;
	left: 0;
	top: -35px;
}
header .inner {
	height: 35px;
	position: relative;
	border: 0px solid;
}




#logo2 {
	width: 216px;
	position: absolute;
	left: 10px;
	top:6px;

	font-weight:bold;
	margin:0;
	padding:0;
	font-size:12px;
	display: block;
	transition: all 300ms 0s ease;
}

#h_phone2 {
	width: 212px;
	display: none;
	position: absolute;
	right: 312px;
	top: 5px;
	transition: all 300ms 0s ease;
}
#h_form2 {
	width: 140px;
	display: none;
	position: absolute;
	right: 172px;
	top: 5px;
	transition: all 300ms 0s ease;
}
#h_line2 {
	width: 140px;
	display: none;
	position: absolute;
	right: 28px;
	top: 5px;
	transition: all 300ms 0s ease;
}


/* コンテナー */
article {
	clear:both;
	margin:0 0 0 0;
	padding:0 0 0 0;
	border:0px solid #000;
}


#bg {
	/*background-color:#fff;*/
	padding-bottom: 60px;
	padding-bottom: 17em; /* フッタの高さと合わせる */
}
/* フッタ部 */
footer {
	height: 17em; /* .bgの高さと合わせる */
	clear:both;
	position:absolute;
	bottom:0;
	width:100%;
	text-align:center;
	background-color:#005768;
}
footer .inner {
	padding-top: 40px;
}
footer #flogo {
	width: 94px;
	margin-left: auto;
	margin-right: auto;
}
footer small {
	display: inline-block;
	text-align:center;
	font-style:normal;
	color: #fff;
	font-size:12px;
	margin-top:20px;
}

/* トップに戻る */
#btn_top {
	display: inline-block;
	width: 50px;
	height: 50px;
	background-color: rgba(0,0,0,0.6);
	position: fixed;
	right: 5px;
	bottom: 70px;
	border-radius: 100%;
	vertical-align: middle;
}
#btn_top:after {
	content: '';
	width: 12px;
	height: 12px;
	border-top: 4px solid #fff;
	border-right: 4px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	border-radius: 2px;
	position: absolute;
	top: 42%;
	left: 0;
	right: 0;
	margin:0  auto;
}
#btn_top span {
	visibility: hidden;
}


/* スマホ・タブレット用ボタン */
#btn_sp2 {
	display: block;
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0px;
	margin: 0 auto;
	z-index: 999;
	padding: 10px 0;
	background-color: rgba(255,251,137,0.9);
	/*border-top: 2px solid #e6743c;*/
}
#btn_sp2 ul {
	max-width: 355px;
	margin-left: auto;
	margin-right: auto;
}
#btn_sp2 li {
	clear: none;
	padding: 0 0;
	position: relative;
	box-sizing: border-box;
	/*background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(236,236,236,1) 100%); 
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(236,236,236,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(236,236,236,1) 100%); */
}
#btn_sp2 li a {
	display: block;
	/*width: 60px;*/
	margin: 0 auto;
}

#btn_sp2 li.bsp0 {
	float: left;
	width: 18.88%;
}
#btn_sp2 li.bsp0 img {
	display: block;
	width:64px;
	margin-left: 0;
	margin-right: auto;
	padding-top: 3%;
}
#btn_sp2 li.bsp1 {
	float: left;
	width: 24.48%;
	padding-left: 3px;
}
#btn_sp2 li.bsp2 {
	float: left;
/*	width: 32.15%;*/
	width: 32.0%;
	padding-left: 3px;
}
#btn_sp2 li.bsp3 {
	float: left;
	width: 24.48%;
	padding-left: 3px;
}



@media handheld, print, screen and (min-width: 414px) {

/*#btn_sp2 ul {
	max-width: 394px;
}*/


/* end of media query */	
}

@media handheld, print, screen and (min-width: 428px) {

/*#btn_sp2 ul {
	max-width: 408px;
}*/


/* end of media query */	
}




@media handheld, print, screen and (min-width: 481px) {

/* ヘッダー部 */
header {
	/*top: -45px;*/
}
#pageHome header {
	top: -45px;
}
header .inner {
	height: 45px;
}

#logo2 {
	width: 308px;
	left: 10px;
	top:9px;
}



#bg {
	padding-bottom: 18em; /* フッタの高さと合わせる */
}
/* フッタ部 */
footer {
	height: 18em; /* .bgの高さと合わせる */
}
footer .inner {
	padding-top: 60px;
}
footer #flogo {
	width: 114px;
}
footer small {
	font-size:13px;
	margin-top:24px;
}

/* トップに戻る */
#btn_top {
	width: 60px;
	height: 60px;
	right: 10px;
	bottom: 70px;
}
#btn_top:after {
	width: 16px;
	height: 16px;
	border-top: 5px solid #fff;
	border-right: 5px solid #fff;
	top: 42%;
}


/* スマホ・タブレット用ボタン */
#btn_sp {
	display: block;
	padding: 10px 0;
}
#btn_sp ul {
	max-width: 416px;
}



/* end of media query */	
}




@media handheld, print, screen and (min-width: 621px) {
/* iPad */

/*footer .inner {
	padding-top: 40px;
}*/

/* トップに戻る */
#btn_top {
	width: 60px;
	height: 60px;
	right: 10px;
	bottom: 80px;
}
#btn_top:after {
	width: 18px;
	height: 18px;
	border-top: 5px solid #fff;
	border-right: 5px solid #fff;
	top: 42%;
}

/* end of media query(iPad) */	
}



















@media handheld, print, screen and (min-width: 801px) {

/* ヘッダー部 */
header {
	/*top: -60px;*/
}
#pageHome header {
	top: -60px;
}
header .inner {
	height: 60px;
}

#logo2 {
	width: 385px;
	left: 10px;
	top:11px;
}

#h_phone2 {
	display: none;
	width: 203px;
	right: 394px;
	top: 8px;
}
#h_form2 {
	display: none;
	width: 180px;
	right: 201px;
	top: 5px;
}
#h_line2 {
	display: none;
	width: 180px;
	right: 10px;
	top: 5px;
}


#bg {
	/*padding-top: 60px;*/
	padding-bottom: 15em; /* フッタの高さと合わせる */
}
/* フッタ部 */
footer {
	height: 15em; /* .bgの高さと合わせる */
}
footer .inner {
	padding-top: 70px;
}
footer #flogo {
	width: 142px;
}
footer small {
	font-size:13px;
	margin-top:30px;
}

/* トップに戻る */
#btn_top {
	width: 70px;
	height: 70px;
	right: 10px;
	bottom: 70px;
}
#btn_top:after {
	width: 18px;
	height: 18px;
	border-top: 5px solid #fff;
	border-right: 5px solid #fff;
	top: 42%;
}



/* end of media query */
}


@media handheld, print, screen and (min-width: 1051px) {

#logo2 {
	width: 385px;
	left: 35px; 
	top:11px;
}

#h_phone2 {
	display: block;
	width: 203px;
	right: 413px;
	top: 8px;
}
#h_form2 {
	display: block;
	width: 180px;
	right: 220px;
	top: 5px;
}
#h_line2 {
	display: block;
	width: 180px;
	right: 29px;
	top: 5px;
}

/* スマホ・タブレット用ボタン */
#btn_sp2 {
	display: none;
}



/* end of media query */
}




