@charset "UTF-8";

/* --------------------------------------------
 *                     base Layout
 * -------------------------------------------- */

body {
	background: #fff;
	width: 100%;
	font-family : "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	color: #000;
	line-height: 1.8;
	margin: 0;
	padding: 0;
	border: none;
	word-wrap:break-word;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html { font-size: 62.5%; overflow-y: scroll; } /* =10px */
body { font-size: 16px; font-size: 1.6rem; }

@media all and (max-width: 767px) {
	body { font-size: 14px; font-size: 1.4rem; }
}

a:link { color: #ff6c00;text-decoration: underline; }
a:visited { color: #ff6c00;text-decoration: underline; }
a:active { color: #ff6c00;text-decoration: underline; }
a:hover { color: #000;text-decoration: underline; }

img {
	max-width: 100%;
	height: auto;
	border-style: none;
	vertical-align: bottom;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin: 0;
	padding: 0;
}
a:hover ,
a:hover img {
	opacity:0.9;
	filter: alpha(opacity=90);
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*¥*//*/
  height: auto;
  overflow: hidden;
  /**/
}

.clearBoth { clear: both; }

p {
	margin: 0;
	padding: 0;
}

@media all and (min-width: 641px) {
.spNone { display: block; display:inline; }
.pcNone { display: none; }
}
@media all and (max-width: 640px) {
.spNone { display: none; }
.pcNone { display: block; display:inline; }
}

@media all and (min-width: 768px) {
.spNone02 { display: block; display:inline; }
.pcNone02 { display: none; }
}
@media all and (max-width: 767px) {
.spNone02 { display: none; }
.pcNone02 { display: block; display:inline; }
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-box-shadow: none;
    box-shadow: none;   
    outline: none;
} /* androidでのオレンジ枠消し */

/* --------------------------------------------
 *                        layout
 * -------------------------------------------- */

#layout {
	width: 100%;
	margin: 0;
	padding: 0;
	min-height: 100vh;
	position: relative;
	padding-bottom: 80px;
	box-sizing: border-box;
}

@media all and (min-width: 641px) and (max-width: 767px) {
	#layout {
		padding-bottom: 200px;
	}
}

@media all and (max-width: 640px) {
	#layout {
		padding-bottom: 150px;
	}
}

/* --------------------------------------------
 *                 header
 * -------------------------------------------- */

header {
	width: 960px;
	margin: 0 auto;
	padding: 0;
}

@media all and (min-width: 768px) and (max-width: 960px) {
	header {
		width: 100%;
		padding: 0 1.5em;
		box-sizing: border-box;
	}
}

@media all and (max-width: 767px) {
	header {
		width: 100%;
		padding: 0 1em;
		box-sizing: border-box;
	}
}

/* --------------------------------------------
 *                 contents
 * -------------------------------------------- */
#contents {
	width: 100%;
	text-align: left;
}

/* --------------------------------------------
 *                   Footer
 * -------------------------------------------- */

/*--- footer ----------------------------------------------------------------- */

footer {
	width: 100%;
	text-align: center;
	color: #fff;
	margin: 0;
	padding: 0;
	background: #0077d3;
	position: absolute;
	bottom: 0;
	display: block;
}
#footer {
	width: 100%;
	z-index: 10000;
}
.footerBox {
	margin: flex;
	padding: 0;
}
.footerTel {
	width: 100%;
}
.footerTel img {
	width: 100%;
	height: auto
}
.footerTel a {
	display: block;
}

.footerTel a:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
}

@media all and (min-width: 768px) {
	.footerTop {
		display: none;
	}
}

@media all and (min-width: 641px) and (max-width: 767px) {
	footer {
		bottom: 130px;
	}
	#footer {
		min-height: 25px;
	}
	.footerTop {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		/*max-height: 48px;*/
	}
	.footerTop.static {
		position: static;
	}
}

@media all and (max-width: 640px) {
	#footer {
		min-height: 110px;
	}
	.footerTop {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		/*max-height: 48px;*/
	}
	.footerTop.static {
		position: static;
	}
}

/*--- footerCopy ----------------------------------------------------------------- */

.footerCopy {
	margin: 0;
	padding: .55em 0;
}
.footerCopy p {
	font-size: 0.8em;
	margin: 0;
	padding: 0;
}

@media all and (max-width: 767px) {
.footerCopy {
	padding: .5em .2em 1em .2em;
	}
}

/* --------------------------------------------
 *                scroll-top
 * -------------------------------------------- */

.scroll-top {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 10001;
	background-color: #000;
	width: 40px;
	height: 40px;
	border: none;
	color: #fff;
}
.scroll-top:hover {

}

@media only screen and (max-width: 767px) {
	.scroll-top {
		display: block;
		right: 0;
		bottom: 31vw;
		width: 30px;
		height: 30px;
	}
}

