@charset "utf-8";

/*nav*/
/* #nav{
	clear:both;
	background: url(../../images/bewith/add/common/bg_nav.png) repeat-x center top;
	width:100%;
} */
/* add */
#nav{
	clear:both;
	width:100%;
    /* border-top: solid 1px #0940a7; */
}
/* #nav a {
    display: block;
    width: 188px;
    height: 42px;
    text-decoration: none;
    background: #ccc;
} */
/* add */
#nav a {
    color: #111;
    margin: 0;
    width: 220px;
    height: 60px;
    line-height: 60px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    position: relative;
    -webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	-ms-transition: all .2s ease;
	transition: all .2s ease;
    font-family:"Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

/* #nav li:last-child a {} */

#nav a:hover {
    color: #333;
    background-color: #e0e3e9;
}


#Top #nav li:first-child a,
#Program #nav li:nth-child(2) a,
#List #nav li:nth-child(3) a,
#Detail #nav li:nth-child(3) a,
#Post #nav li:nth-child(4) a,
#stockQuotes #nav li:nth-child(5) a {
    color: #333;
    background-color: #e0e3e9;
}

#nav .badge {    
    color: #fff;
    background: #d01126;
    min-width: 10px;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 155px;
    transform: translateY(-50%);
}

/* #nav a:link {
    background:url(../../images/bewith/add/common/nav_blank_n.png) no-repeat 0 0;
}
#nav a:hover {
    background:url(../../images/bewith/add/common/nav_blank_o.png) no-repeat 0 0;
} */
/* #nav_text {
    display: block;
    text-align: center;
    padding-top: 10px;
    color: white;
} */
/* add */
#nav_text {
    /* display: block; */
    display: inline;
    text-align: center;
    /* padding-top: 10px; */
    /* color: white; */
}

/* #nav ul{
	clear:both;
	width:970px;
	margin:0 auto;
} */
/* add */
#nav ul{
	clear:both;
	width: 1100px;
	margin: 0 auto;
}
/* #nav ul li{
	float:left;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-left: 1px solid #003570;
} */
/* add */
#nav ul li{
	float:left;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	/* border-left: 1px solid #333; */
}
#nav ul li:first-child{
	border-left: 0;
}
#path{
	height:35px;
	line-height:35px;
	clear:both;
}
#path a{
	color:#003570;
}
#path li{
	color:#003570;
	float:left;
	margin-right:1em;
	font-size:85%;
}

#mainimg{
	float:right;
	width:700px;
}

.slide{
    position: relative;
}
/* .slide .slide_item{
    position: absolute;
    top: 75px;
    left: 0;
} */
/* add */
.slide .slide_item{
    position: absolute;
    top: 64px;
    left: 0;
}


@media screen and (max-width: 640px)  {

/* // nav sp
----------------------------------------------- */
/* #nav{
	background-image:none;
	background-image: -moz-linear-gradient(left top, left bottom, from(#6185dd), to(#1338a6));
	background-image: linear-gradient(left top, left bottom, from(#6185dd), to(#1338a6));
	background-image: -webkit-gradient(linear, left top, left bottom, from(#6185dd), to(#1338a6));
	background-color:#1b4cb4;
    margin-bottom:10px;
} */
/* add */
#nav{
    margin-bottom: 10px;
}
#nav ul{
	width: 94%;
	display: -webkit-flex;
	display: flex;
}
#nav ul:after {	 content: ".";	display: block;	height: 0;	font-size:0;	 clear: both;	visibility:hidden;}
#nav ul {	display: inline-block;} 
/* Hides from IE Mac */
* html #nav ul {	height: 1%;	}
#nav ul {	display:block;	}
/* End Hack */ 

/* #nav ul li{
	float:left;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-left: 1px solid #003570;
	box-sizing: border-box;
	width:25%;
} */
/* add */
#nav ul li{
	float:left;
	/* border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-left: 1px solid #333; */
	box-sizing: border-box;
	width:25%;
}
#nav ul li:first-child{
	border-left: 0;
	display: none;
}
#nav a {
    display: block;
    width: 100%;
    height:100%;
	padding:8px 2px;
	font-size:11px;
	line-height:1.1em;
    box-sizing: border-box;
	
}
#nav ul li a div.row1 {
	padding-top: 0.6em;
}

#nav a:link {
	background-image:none;
}
#nav a:hover {
	background-image:none;
}
#nav_text {
    padding-top: 0;
}
    
#Top #nav li:first-child a,
#Program #nav li:nth-child(2) a,
#List #nav li:nth-child(3) a,
#Detail #nav li:nth-child(3) a,
#stockQuotes #nav li:nth-child(5) a {
    border-bottom: none;
}
    
#Program #nav li:nth-child(2) a,
#List #nav li:nth-child(3) a,
#Detail #nav li:nth-child(3) a,
#stockQuotes #nav li:nth-child(5) a {
    /* border-bottom: solid 2px #fff; */
}
    
#nav a:before {
    bottom: -2px;
    height: 3px;
}

#nav a:hover:before {
    bottom: -2px;
    height: 3px;
}

#Top #nav li:first-child a:before,
#Program #nav li:nth-child(2) a:before,
#List #nav li:nth-child(3) a:before,
#Detail #nav li:nth-child(3) a:before,
#Post #nav li:nth-child(4) a:before,
#stockQuotes #nav li:nth-child(5) a:before {
    bottom: -2px;
    height: 3px;
}
    
#nav .badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}


}

/* CLEARFIX */
===== CLEARFIX ==========================================
*/

.clearfix{
    zoom:1;/*for IE 5.5-7*/
}

.clearfix:after { content: url(../../images/bewith/add/common/spacer.gif); display: block; clear: both; height: 0; }

* html .clearfix{
	display:inline-table;
	/*\*/display:block;/**/
}