﻿@charset "utf-8";

/* --HTML-- */
html {
	/*overflow-y:scroll;*/
	height:100%;
	-webkit-overflow-scrolling: touch;
}
html.wf-active {
  visibility: visible;
}

/* --BODY-- */
body {
	margin:0;
	padding:0;
	height:100%;
}

/* --OTHER TAGS-- */
a img, img { border:0; }
a {}

main {
	display: block;
}

blockquote, dd, div, dl, dt, h1, h2, h3, h4, h5, h6, li, ol, ul, pre, span, table, caption, p {
	margin:0;
	padding:0;
	font-weight: normal;
}

abbr, acronym {
	border:0;
}

address, cite, code, dfn, em, th, var {
	font-style:normal;
	font-weight:normal;
}

code, kbd, pre, samp, tt {
	font-family:monospace;
	line-height:100%;
}

	/* for IE7 */
	*+html code, kbd, pre, samp, tt {
	font-size:108%; 
	}

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

/* --A-- */
a {
	cursor:pointer;
	text-decoration:underline;
}

a:hover,
a:focus { text-decoration:none; }

/*figure*/
figure { margin: 0; padding: 0;}

/* --IMG-- */
img { vertical-align: bottom; max-width: 100%; height: auto;}
img.width100 { width:100% !important; height:auto !important; }

/* --FORM-- */
button, fieldset, form, input, label, legend, select, textarea {
	font-family:inherit;
	font-size:100%;
	font-style:inherit;
	font-weight:inherit;
	margin:0;
	padding:0;
	vertical-align:baseline;
}
fieldset {
	border:1px solid #ccc;
	margin-bottom:1em;
	padding:0 1em 1em 1em;
}

legend {
	background:#fff;
	padding:0.3em;
}

input, textarea {
	padding:0;
	margin: 0;
	vertical-align:middle;
}

input[type="checkbox"],input[type="radio"] { vertical-align:-2px !important; margin-right:5px; }
*input[type="checkbox"],*input[type="radio"] { vertical-align:2px !important; }

input[type="submit"],input[type="button"] { padding:0em; margin: 0; cursor: pointer;}

select { padding:0.3em; }

	/* for IE6 */
	* html input { padding:0.1em; }
	* html img { vertical-align:top; }
	
	* html input.checkbox,* html input.radio { vertical-align:-0.3em; }

	/* * html input.submit { line-height:1.2; padding-top:0.2em; } */
	
	* html select { vertical-align:-0.2em; }
	
	/* for IE7 */
	*+html input { padding:0.1em; }
	
	/* *+html input.submit { line-height:1.2; padding-top:0.2em; } */
	
	*+html select { vertical-align:-0.2em; }

	/* for Opera9.27 */
	html:first-child input { padding:0.1em; }
	
	html:first-child input[type="checkbox"],html:first-child input[type="radio"] { vertical-align:middle; }

	/* html:first-child input[type="submit"] { padding:0.3em; } */
	
	html:first-child select { padding:0.2em; }

	/* for Opera9.5 [Safari3] */
	body:first-of-type input { padding:0.1em; }

	body:first-of-type input[type="checkbox"],body:first-of-type input[type="radio"] { vertical-align:-0.3em; }
	
	/* body:first-of-type input[type="submit"] { padding:0.3em 0.3em 0.2em 0.3em; } */

	/* for Safari3 */
	html:not(:only-child:only-child) input { padding:0; vertical-align:baseline; }
	
	html:not(:only-child:only-child) input[type="checkbox"],
	html:not(:only-child:only-child) input[type="radio"] { vertical-align:baseline; }
	
	html:not(:only-child:only-child) select { vertical-align:0.1em; }


/* --LIST-- */
ol, ul {
	text-align:justify;
	text-justify:inter-ideograph;
}
li {
	list-style-type: none;	
}

/* --TABLE-- */
table {
	border-collapse:collapse;
	border-spacing:0;
	font-size:100%;
}
th,td{vertical-align:top;}
section table {
	width:100%;
}

/* --HR-- */
hr { display: none; clear:both; } /* 不可視使用 */

/* ----------------------------------------------------------------------
 基本設定
---------------------------------------------------------------------- */
html {
	position: relative;
}
body {
	-webkit-font-smoothing: antialiased;
	background: #fff;
	color: #000;
	line-height: 1.4;
	font-size: 4vw;
	overflow-x: hidden;
	font-family: ten-mincho-text, Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	font-style: normal;
	-ms-font-feature-settings: "normal";
	font-weight: 400;
}
a,a:before,a:after,a img { color: #000; text-decoration: none; transition: ease-out 0.3s; backface-visibility: hidden;}
a:hover,a:hover:before,a:hover:after { color: #2e3192; 	text-decoration: none; }
a:hover img { opacity: 0.75; }
img { vertical-align: bottom; max-width: 100%; height: auto;}

/* clearfix */
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}

/* From */
input,textarea {box-sizing: border-box; max-width: 100%;}
input {
	padding: 0.25em 0.5em!important;
	border: solid 1px #888!important;
	border-radius: 3px!important;
	line-height: 1.4!important;
}
input[type="radio"] {
    /*display: none;*/
}
input[type="radio"]:checked + label {
    background: #ff0000;
}
input[type="checkbox"] {
    display: none;
}
input[type="checkbox"]:checked + label {
    background: #ff0000;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: solid 1px #888!important;
	padding: 0.25em 0.5em!important;
    background: #fafafa;
}
textarea {
	padding: 0.25em 0.5em!important;
	border: solid 1px #888!important;
	border-radius: 3px!important;
	width: 100%;
	height: 10em;
}
button,
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: solid 1px #2f2725;
    outline: none;
    background: #2f2725!important;
	color: #fff;
	transition: 0.3s ease-out;
	cursor: pointer;
}
input[type="submit"].back {
    background: #ccc!important;
	color: #333;
	transition: 0.3s ease-out;
	cursor: pointer;
}
button:hover,
input[type="submit"]:hover {
    background: #FFF!important;
	color: #2f2725;
}
input[type="text"] {
	width: 20em;
}
input[type="tel"] {
	width: 15em;
}
input[type="email"] {
	width: 25em;
}
label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-right: 1.5em;
}
label.small {
	font-size: 0.85em;
	margin-top: 0.5em;
}

/*Layout*/
main:after,article:after,section:after,.inner:after {
	clear: both;
	display: block;
	content: '';
}
main {
	display: block;
	padding-top: 48px;
}
section {
	box-sizing: border-box;
}
section.fullwidth {
	width: 100%;
	max-width: 100%;
}
section p {
	margin-bottom: 0.75em!important;
}
section p:nth-last-of-type(1) {
	margin-bottom: 0!important;
}

.inner {
	width: 90%;
	max-width: 1024px;
	margin: auto;
}
/*Fade in*/
.fadein {
    opacity : 0;
    transform : translate(0, 10px);
    transition:all 2s;
}
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

/*SiteHeader*/
header#siteheader {
	width: 100%;
	background: rgba(242,242,242,0.85);
	height: 48px;
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	-ms-flex-wrap: wrap;
  	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: fixed;
	z-index: 10000;
}
header#siteheader img {
	height: 32px;
	width: auto;
}

/*MainNav*/

/*SiteFooter*/
footer#SiteFooter {
	text-align: center;
	padding-bottom: 2em;
}
footer#SiteFooter img {
	height: 32px;
	width: auto;
}
footer#SiteFooter p.copyright {
	margin-top: 1em;
	font-size: 0.5em;
}

/* -------------------------------------------
Pagetop
------------------------------------------- */
/* トップに戻るボタン */
#page-top {
	position: fixed;
	bottom: 3%;
	right: 3%;
	z-index: 100000;
	line-height: 1;
	width: 2em;
	height: 2em;
	padding: 0.5em;
	background: rgba(255,255,255,0.85);
	font-size: 1.5em;
	box-sizing: border-box;
	border-radius: 1em;
	cursor: pointer;
}
#page-top a {
	text-decoration: none;
	color: #000;
	text-align: center;
	display: block;
	line-height: 1;
}


/* ----------------------------------------------------------------------
 Smartphone
---------------------------------------------------------------------- */
@media screen and (max-width: 767px) {

}

/* ----------------------------------------------------------------------
 Tablet
---------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
	body {
		-webkit-font-smoothing: antialiased;
		background: #fff;
		color: #000;
		line-height: 1.4;
		font-size: 16px;
		overflow-x: hidden;
		font-family: ten-mincho-text, Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
		font-style: normal;
		-ms-font-feature-settings: "normal";
		font-weight: 400;
	}
	
	/*SiteHeader*/
	header#siteheader {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		padding: 0 20px;
		box-sizing: border-box;
	}
	header#siteheader h1 {
		line-height: 48px;
	}
	header#siteheader p {
		line-height: 32px;
	}
}

@media screen and (min-width: 768px) and (max-width: 1023px) {

}

/* ----------------------------------------------------------------------
 Desktop
---------------------------------------------------------------------- */
@media screen and (min-width: 1024px) {

}

