/********************************************************************************************
	<<<　base.css　>>>
	※ヘッダ、フッタ、コンテナ定義
	※common定義（）
	各コンテンツに合わせたスタイルシートを作成しオーバライドしてください。
																			2020-06-01	橋本
********************************************************************************************/
@charset "utf-8";

/* RESET
----------------------------------------------------------------------------------------------------*/
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,caption,canvas,center,cite,code,dd,del,details,dfn,dialog,div,dl,dt,em,embed,fieldset,figcaption,figure,form,footer,header,hgroup,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,main,small,span,strike,strong,sub,summary,sup,tt,table,tbody,tfoot,thead,time,tr,th,td,u,ul,var,video{font-family:inherit;
/*font-size:100%;*/
font-weight:inherit;font-style:inherit;vertical-align:baseline;white-space:normal;margin:0;padding:0;border:0;outline:0;background:transparent;/*line-height:1.6;*/text-align:left}textarea{font-family:inherit;font-size:100%;font-weight:inherit;font-style:inherit;vertical-align:baseline;margin:0;padding:0;border:0;outline:0;background:transparent;/*line-height:1.6;*/text-align:left}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,main{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}table{border-collapse:collapse;border-spacing:0}

html {
/*	font-size: calc( 100vw / 32 );*/
	font-size: 95%;
}

@media only screen and ( max-width : 750px ) {

	html { font-size: 85%; }
}

/* ----------------------------------------------

 * 設定をしなおす

---------------------------------------------- */
body {
	margin: 0 auto;
	padding: 0;
/*	font-size: 1.6rem; */
/*	line-height: 1.6;	*/
	font-family: "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,sans-serif;
	font-weight: 400;
	color: #000;
	-webkit-text-size-adjust: 100%;
}

	/* pcでページ内ジャンプをした際にヘッダー分下げてやるやつ */
	.anchor{
/*		display: block;*/
		padding-top: 100px;
		margin-top: -100px;
	}

@media(max-width:750px){
	/* スマホでページ内ジャンプをした際にヘッダー分下げてやるやつ */
	.anchor{
/*		display: block;*/
		padding-top: 70px;		/* ヘッダの高さで相殺※各サイトで変更する */
		margin-top: -70px;
	}

	body {
		font-size: 1.2rem;
	}
}

table {
	margin : 0;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
}

img {
	max-width: 100%;
	vertical-align: bottom;
	border: none;
	height: auto;
	width /***/:auto;　/*IE8のみ適用*/
}

a {
	outline:none;
	color: #333;
	transition: 0.2s;
	text-decoration: none;
}

a:hover {
	color: #000;			/*マウスオン時の文字色*/
	text-decoration: none;
}

/* [firefoxで表示時画像なしがわかるように] */
img:-moz-broken {
	-moz-force-broken-image-icon:1;
	width:24px;
	height:24px;
}

/* iphoneのデフォルトボタンのやつ解除 */
input[type="submit"],
input[type="button"] {
	-webkit-appearance: none;
}


/* ---------------------------------------------------------------------------------------------

	base

--------------------------------------------------------------------------------------------- */
section {}

*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
.clr:after,.col:after,.container:after,.group:after,.row:after{content:"";display:table;clear:both}



/* ---------------------------------------------------------------------------------------------

   HEADER	スクロール固定

--------------------------------------------------------------------------------------------- */
.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 1;
}
header {
	z-index: 99;
	width: 100%;
	height: 100px;
	position: fixed;
	background: rgba(255,255,255,0.7);

	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

#header {
	position: relative;
	width: 1800px;
	height: 100px;
	top: 0px;
}

#h_tel {
	position: absolute;
	top: 10px;
	right: 0;
}

#h_logo {
	position: absolute;
	width: 600px;
	top: 0;
}


@media only screen and ( max-width : 750px ) {
	header {
		background: #fff;
		height: 70px;
	}
	#header {
		width: 100%;
		height: 60px;
	}
	#h_tel {
		display: none;
	}
	#h_logo {
		position: absolute;
		width: 78%;
		left: 0;
		margin-top: 5px;
	}
}


.nav {
	margin-top: 65px;
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}
.nav li {
	position: relative;
}
.nav > li {
	margin: 0 1rem;
}
.nav li a {
	display: block;
	text-align: right;
	color: #0c3256;
	text-decoration: none;
	box-sizing: border-box;

}
.nav  li:hover >a {
	color: #b19050;

}
.nav li img {
	vertical-align: middle;
}
.nav li ul {
	z-index: 100;
/*	top: 25px;*/
	top: 24px;
	left: -30px;

	position: absolute;
	width: 200px;
	background: rgba(196,230,246,0.9);	/* ぺローンの背景 */
	border-radius: 3px;
}
.nav li ul li {							/*----- ぺローンの設定 -----*/
	overflow: hidden;
	height: 0;
	width: 100%;
}
.nav li ul li a {
	color: #666;
/*	font-size: 14pt;	*/
	text-align: center;
	padding: .5em;
	border-top: 1px solid #eee;

	display: block;


	font-size: 95%;
}
.nav li ul li a:hover{ color: #b19050; }

.nav li ul li:first-child a {			/* サブメニューの一番最初のボーダーなし */
	border-top-width: 0;
}
.nav li:hover > ul > li {
	overflow: visible;
	height: 40px;
}

/* タブレットサイズ？ */
@media only screen and ( max-width : 1020px ) {
	.nav {	justify-content: space-between;	}
	.nav > li {	margin: 0;	}
}

@media only screen and ( max-width : 750px ) {
	nav { display:none; }

}



/* ----------------------------------------------

 * footer

---------------------------------------------- */
#footer { background-color: #f3f7fc; }

.flogo {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;

	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-around;

	text-align: center;
	padding-top:26px;

	color: #666;
}


.fadd { text-align: center;
	padding: 1.5em 0 1em 0;

}
.fadd ul,
.fadd ul { display: inline-block; }
.fadd li { text-align: center;	padding: 0em 0 0.5em 0; }
.fadd li h2 { text-align: center; 	font-size: 125%; }
.fadd li p {
	text-align: center;
	vertical-align: middle;
	padding-top: .5em;
	padding-bottom: .5em;

}

}

.fmap { color: #f99; font-size: 100%; }
.ftimet {
	width: 620px;
	margin: 1.4em 0 0 1em;
	font-size: 14px;
}
.ftimet p {}
.fcopy {
	text-align: center;
	font-size: 14px;
	color: #666;
}

/*メニューをページ下部に固定*/
#sp-fixed-menu{
   position: fixed;
   width: 100%;
   bottom: 0px;
   font-size: 0;
   opacity: 0.9;
   z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul{
   display: flex;
   list-style: none;
   padding:0;
   margin:0;
   width:100%;
}

#sp-fixed-menu li {
   justify-content: center;
   align-items: center;
   width: 50%;
   font-size: 16px;
   border-right: 1px solid #fff;
	padding: 0;
	margin: 0;

}

/*左側メニューを緑色に*/
#sp-fixed-menu li:first-child{
   background: #8dace0;
}

#sp-fixed-menu li:nth-child(2){background-color:#b19050; }
#sp-fixed-menu li:nth-child(3){background-color:#b19050; }

/*左側メニューをオレンジ色に*/
#sp-fixed-menu li:last-child{
   background: #8dace0;
}

/*ボタンを調整*/
#sp-fixed-menu li a {
   color: #fff;
   display: block;
   text-align: center;
   width: 100%;
	padding: 10px 2px 10px 2px;

}

#sp-fixed-menu li a span {
   color: #fff;
   display: block;
	vertical-align: middle;
   text-align: center;
	margin-top: 3px;

}

@media only screen and ( max-width : 750px ) {

	.flogo {
		flex-direction: column;
		-webkit-flex-direction: column;
		margin: 0.5em;
	}
.flogo_img { width: 70%; text-align: center; margin: auto; }

.fadd { text-align: center;
		padding: 0.5em 0 0em 0;

}
	.fadd li { padding: 0 0 .2em 0; font-size: 90%;}
	.fadd li h2 { text-align: center; 	font-size: 100%; }
.ftimet { width: 100%;
	margin: -1em .2em 6em .2em;

}
	.fcopy { display:none; }
}


