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

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

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

	position:fixed;
	left: 0;
	top: 0;
	z-index: 99;
	border-bottom: 0px solid #dcdcdc;
}
header .inner {
	height: 35px;
	position: relative;
	border: 0px solid;
}


#logo {
	width: 130px;
	position: absolute;
	left: 15px;
	top: 6px;

	font-weight:bold;
	margin:0;
	padding:0;
	font-size:12px;
	display: block;
}
#h_btn {
	display: none;
	width: 600px;
	position: absolute;
	top: 0;
	right: 0;
}
#h_btn a {
	display: inline-block;
}
#h_btn #h_btn1 {
	width: 295px;
}
#h_btn #h_btn2 {
	width: 305px;
}

/* デバッグ用 */
#debug {
	position: absolute;
	left: 110px;
	top: 24px;
	font-size: 13px;
}

/* headline */
#headline {
	font-weight:bold;
	margin:0;
	padding:0;
	font-size:26px;
}


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


#bg {
	/*background-color:#fff;*/
	padding-top: 35px;
	padding-bottom: 12em; /* フッタの高さと合わせる */
}
/* フッタ部 */
footer {
	height: 12em; /* .bgの高さと合わせる */
	clear:both;
	position:absolute;
	bottom:0;
	width:100%;
	text-align:center;
	background-color:#fff;
}
footer .inner {
	padding-top: 0px;
	border-top: 1px solid #dcdcdc;
}


footer small {
	display: inline-block;
	text-align:center;
	font-style:normal;
	font-size:12px;
	margin-top:40px;
}

/* トップに戻る */
#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_sp {
	display: block;
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0px;
	margin: 0 auto;
	z-index: 999;
}
#btn_sp li {
	clear: none;
	position: relative;
	box-sizing: border-box;
}
#btn_sp li a {
	display: block;
	margin: 0 auto;
}
#btn_sp li a img {
	display: block;
	width: 188px;
	margin-left: auto;
	margin-right: auto;
}

#btn_sp li {
	float: left;
	width: 50%;
}
#btn_sp li.bsp1 a {
	background-color: #009bbe;
}
#btn_sp li.bsp2 a {
	background-color: #b561f0;
}












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

/* ヘッダー部 */
header .inner {
	height: 42px;
}
#logo {
	width: 154px;
	left: 10px;
	top: 9px;
}

#bg {
	padding-top: 42px;
	padding-bottom: 8em; /* フッタの高さと合わせる */
}
/* フッタ部 */
footer {
	height: 8em; /* .bgの高さと合わせる */
}
footer small {
	font-size:13px;
}

/* トップに戻る */
#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%;
}





/* 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 .inner {
	height: 53px;
}
#logo {
	width: 192px;
	left: 30px;
	top: 12px;
}


#bg {
	padding-top: 53px;
	padding-bottom: 6em; /* フッタの高さと合わせる */
}
/* フッタ部 */
footer {
	height: 6em; /* .bgの高さと合わせる */
}


/* トップに戻る */
#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%;
}

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



/* end of media query */
}

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

#h_btn {
	display: block;
}


/* end of media query */
}



