﻿/*===================================================
          fe-law.jp    common.css
          2014.11.28
===================================================*/
*, *:before, *:after
	{
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,fieldset,input,textarea,p,blockquote,th,td
#menu ul,#language ul,#sub-menu ul
	{
	padding: 0;
	margin: 0;
	}
fieldset,img
	{
	border: 0;
	}
address,caption,cite,code,dfn,em,th,var
	{
	font-weight: normal;
	font-style: normal;
	}
ol,ul,#menu ul,#language ul,#sub-menu ul
	{
	list-style: none;
	}
caption,th
	{
	text-align: left;
	}
h1,h2,h3,h4,h5,h6
	{
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: 100%;
	}
q:before,q:after
	{
	content:'';
	}
script
	{
	display: none;
	}
html,body
	{
	height: 100%;
	}
body
    {
    width: 100%;
	font-size: 13px;
	color: #333333;
	line-height: 1.8em;
	letter-spacing: 1px;
	font-style: normal;
	font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    background-color: #fff;
	text-decoration: none;
	text-align: center;
    }
* html body
	{
	font-size:small;
	font:x-small;
	}
*:first-child+html body
	{
	font-size:small;
	font:x-small;
	}
p.text-right
	{
	text-align: right;
	line-height: 1.0em;
	}
p.text-l
	{
	font-size: 100%;
	line-height: 1.2em;
	}
a:link
    {
	color: #333333;
	text-decoration: none;
    }
a:visited
    {
	color: #333333;
	text-decoration: none;
    }
a:hover
    {
	color: #C8C8C8;
	text-decoration: underline;
    }
a:active
    {
	color: #808080;
	text-decoration: none;
    }
a img
    {
    border: none;
    }
.flex-item {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}
.dl-clear:before,
.dl-clear:after {
    content: " ";
    display: table;
	clear: both;
}
.br-sp {
  	display: none;
}
/*=========================================*/
#container {
	height: auto !important;
    height: 100%;
	min-height: 100%;
	margin-left: auto;
    margin-right: auto;
    width: 1000px;
	position: relative;
}

/*--------------------------------------------------------------------------
    fe-law  header
---------------------------------------------------------------------------*/
header {
    height: 86px;
    width: 100%;
    background-color: rgb(56, 51, 40);
    position: relative;
    top: 0px;
    left: 0px;
	display: flex;
	justify-content: space-between;
}
h2.top_address {
    width: 250px;
	height: 40px;
	margin-right: 40px;
	padding-top: 20px;
	font-size: 85%;
	color: #FFF;
	line-height: 1.5em;
	text-align: right;
    position: relative;
    top: 20px;
	background: url(../images/common/tel_no.png) no-repeat;
	background-position: right top;
}
h1.top_logo {
    width: 350px;
	height: 35px;
    position: relative;
    top: 30px;
    left: 40px;
	background: url(../images/common/logo-mark.png) no-repeat;
}
h1.top_logo span {
	visibility: hidden;
}
/*--------------------------------------------------------------------------
   fe-law navigator
--------------------------------------------------------------------------*/
#navi_bg {
	width: 100%;
	top: 0;
	height: 70px;
	/*background: url(../images/common/dotted1pix.png) repeat;*/
}

#navi {
	width: 350px;
	right: 30px;
	margin-top: 20px;
	font-size: 100%;
   	position: absolute;
    }
#navi a {
    color: #333;
    text-decoration: none;
    padding: 15px;
    }
#navi .active {
	color: #781414;
	text-decoration: none;
}
#navi span {
	background: #781414;
	height: 2px;
	display: block;
	position: absolute;
	left: 0;
}
/*----------------------------------------------------------------------------
    page profil access
-----------------------------------------------------------------------------*/
#page_title {
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 50px;
	width: 850px;
	height: 40px;
	border-bottom: #ccc 1px solid;
}
#page_title span {
	visibility: hidden;
}
/*----------------------------------------------------------------------------
    fe-law  footer
----------------------------------------------------------------------------*/
footer
    {
	margin-top: 20px;
	position: absolute;
	bottom: 0;
    width: 1000px;
    height: 50px;
	text-align: center;
	}
*:first-child+html #footer {
	position: relative;
	width: 1000px;
}
    p.copy
    {
    color: #787878;
    font-size: 80%;
    letter-spacing: 0.1em;
	display: inline-block;
    }
#f_address
	{
	/*position: absolute;
	width: 900px;*/
	height: 20px;
	color: #787878;
	}
/*----------------------------------------------------------------------------
     paage-top scroll
----------------------------------------------------------------------------*/
	.page-top {
	padding: 20px 50px 0 900px;
	width: 50px;
	height: 40px;
	position: relative;
	clear: both;
}
	.page-top a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    width: 100px;
    padding: 30px 0;
    display: block;
}
#page-top a:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
}
/*--------------- For Mobile ---------------*/
@media only screen and (max-width: 768px)
	{
		#container {
		width: 100%;
		height: auto;
		}
		#navi span {
			display: none;
		}
		#navi .active {
			color: #781414;
			text-decoration: none;
			border-bottom: solid 3px #781414;
		}
		footer {
			width: 100%;
		}
}
@media only screen and (max-width: 600px)
	{
		.br-pc {
    		display: none;
  		}

  		.br-sp {
    		display: inline-block;
  		}
		header {
			width: 100%;
			height: auto;
			margin: auto;
			display: block;
		}
		header img {
			width: 90%;
			height: auto;
		}
		h1.top_logo {
    		width: 100%;
			height: 60px;
    		position: relative;
			top: 0;
			left: 0;
    		margin: auto;
			padding-top: 30px;
			background: url(../images/common/logo-mark.png) no-repeat;
			background-position: center center;
		}
		h2.top_address {
    		width: 70%;
			height: 40px;
			margin: auto;
			padding-top: 0;
			padding-bottom: 15px;
			top: 0;
   		 	position: relative;
			background: url(../images/common/tel_no.png) no-repeat;
			background-position: center center;
		}
		h2.top_address span {
			visibility: hidden;
		}
		#navi {
			width: 100%;
			right: 0;
		}
		#navi a {
			padding: 10px;
			font-weight: bold;
		}
		#page-top {
    		position: fixed;
    		bottom: 10px;
    		right: 10px;
    		font-size: 77%;
		}
		#page-top a {
    		width: 40px;
    		padding: 10px 0;
    		display: block;
		}
}
