@charset "utf-8";


/*==========================================================
	競馬ブック
==========================================================*/

body {
	background: #f6f6f6;
}

/*---------------------
 赤色
---------------------*/
.fontred {
	color: #E4003C!important;
}

/*---------------------
 青色
---------------------*/
.fontblue {
	color: #0000cc;
}

.fontbold,
.fontbold a {
	font-weight: bold;
}

/* 乗り替わり */
.norikawari {
	font-weight: bold;
}

/* 二重三角の枠 */
.tri_w {
	fill:none;
	stroke:#000000;
	stroke-miterlimit:10;
}

/* スマホ用 */
@media only screen and (max-width: 767px){

}
/* タブレット・パソコン用 */
@media only screen and (min-width: 768px) and (max-width: 960px), print {

}
/* タブレット・パソコン用 */
@media only screen and (min-width: 961px), print {

}






/* スマホ用 */
@media only screen and (max-width: 767px){

	/*---------------------
	 wrap
	---------------------*/
	#wrap {
		width: 100%;
		margin: 0 auto 0px;
	}

	/*---------------------
	 Container
	---------------------*/
	#container {
		margin: 5px auto;
		width: 100%;
		min-height: 300px;
	}

	#container #flex_container_top {
		-webkit-flex-direction: column; /* Safari */
		flex-direction:		 column;
	}

	#container #flex_container_top .main {
		width: 100%;
		/* width: 750px\9; */ /* IE10以下 */
	}

	#container #flex_container_top .side {
		/* width: 200px; */
		width: 100%;
		margin: 30px 0 0;
		/* border: 1px solid #eee; */
		/* display: none; */
	}
	
	.slick_pc {
		display: none;
	}
	
	.slick_sp {
		display: block;
	}
	
	.display_pc {
		display: none;
	}
	
	.display_sp {
		display: block;
	}

}

/* タブレット・パソコン用 */
@media only screen and (min-width: 768px) and (max-width: 960px), print {

	/*---------------------
	 wrap
	---------------------*/
	#wrap {
		width: 100%;
		margin: 0 auto 0px;
	}

	/*---------------------
	 Container
	---------------------*/
	#container {
		margin: 5px auto;
		width: 99.0%;
		min-height: 300px;
	}

	#container #flex_container_top {
		display: -webkit-box;
		display: flex;
		justify-content: space-between;
	}

	#container #flex_container_top .main {
		float: left\9; /* IE10以下 */
		width: 77.5%;
		width: 640px;
		width: 69.0%;
		/* width: 750px\9; */ /* IE10以下 */
	}

	#container #flex_container_top .side {
		float: right\9; /* IE10以下 */
		/* width: 200px; */
		width: 20.5%;
		width: 300px;
		width: 30.0%;
		/* border: 1px solid #eee; */
	}
	
	.slick_pc {
		display: none;
	}
	
	.slick_sp {
		display: block;
	}
	
	.display_pc {
		display: blcok;
	}
	
	.display_sp {
		display: none;
	}

}

/* タブレット・パソコン用 */
@media only screen and (min-width: 961px), print {

	/*---------------------
	 wrap
	---------------------*/
	#wrap {
		width: 100%;
		margin: 0 auto 0px;
	}

	/*---------------------
	 Container
	---------------------*/
	#container {
		margin: 5px auto;
		width: 1520px;
		max-width: 100%;
		min-height: 300px;
	}

	#container #flex_container_top {
		display: -webkit-box;
		display: flex;
		justify-content: space-between;
	}

	#container #flex_container_top .main {
		float: left\9; /* IE10以下 */
		width: 77.5%;
		width: 640px;
		width: 960px;
		/* width: 750px\9; */ /* IE10以下 */
	}

	#container #flex_container_top .side {
		float: right\9; /* IE10以下 */
		/* width: 200px; */
		width: 20.5%;
		width: 300px;
		/* border: 1px solid #eee; */
	}
	
	.slick_pc {
		display: block;
	}
	
	.slick_sp {
		display: none;
	}
	
	.display_pc {
		display: blcok;
	}
	
	.display_sp {
		display: none;
	}

}

#container #flex_container {
	display: -webkit-box;
	display: flex;
}

#container #flex_container #maincontent {
	float: left\9; /* IE10以下 */
	width: 78.5%;
	/* width: 750px\9; */ /* IE10以下 */
	background: #fff;
	border: 0px solid #eee;
}

#container #flex_container #sidecontent {
	float: right\9; /* IE10以下 */
	width: 200px;
	background: #fdfdfd;
	border: 0px;
}

#container #flex_container #fullcontent {
	width: 100%;
	background: #fff;
	border: 0px solid #eee;
}

/*---------------------
 header
---------------------*/

#header {
	position: relative;
	margin: 0 auto 0.2em;
	width: 99.9%;
	background-color: #111;
}

#header .header_content {
	margin: 0 auto;
	/* max-width: 960px; */
	width: 100%;
	background-color: #111;
	background-color: #1f4e3a;
}

/*---------------------
 header（修正版）
---------------------*/
#header .header_wrap {
	display: table;
	position: relative;
	width: 100%;
}

#header .header_wrap .header_box {
	position: relative;
	vertical-align: middle;
	text-align: center;
	line-height: 0.8em;
	border-right: 0px solid #fff;
	padding: 1em;
	font-weight: 600;
	white-space: nowrap;
}

#header .header_wrap .header_box_name {
	position: relative;
	vertical-align: middle;
	text-align: center;
	line-height: 0.8em;
	border-right: 0px solid #fff;
	padding: 1em;
	font-weight: 600;
	white-space: nowrap;
}

#header .header_wrap .header_box.active {
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #F0F0F0);
	background: -webkit-linear-gradient(#fff, #F0F0F0);
	background: -ms-linear-gradient(#fff, #F0F0F0);
	color: #111;
}

#header .header_wrap .header_box_logo p.logo {
	width: 75px;
	height: 42px;
	background-color: #fafafa;
/*	background-image: url(http://www.lex-inc.com/common/img/logo_s.png);	*/
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/logo.jpg);
	-webkit-background-size: 75px 40px;
	background-size: 75px 40px;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -10000px;
	margin: 1px 3px;
}

#header .header_wrap .header_box_logo {
	display: table-cell;
	position: relative;
	vertical-align: middle;
	text-align: center;
	border-right: 0px solid #fff;
	padding: 0.2em;
}

#header .header_wrap .header_box_site {
	display: table-cell;
	position: relative;
	vertical-align: middle;
	text-align: left;
	line-height: 0.8em;
	border-right: 0px solid #fff;
	padding: 1em;
	font-weight: 600;
	width: 100%;
}

#header .header_wrap .header_box_menuBtn {
	display: table-cell;
	position: relative;
	vertical-align: middle;
	text-align: center;
	line-height: 0.8em;
	border-right: 0px solid #fff;
	padding: 0.2em 1em;
	float: right;
	color: #fff;
	border-left: 1px solid #fff;
}

#header .header_wrap .logo h2 a {
	display: block;
}

#header .header_wrap .header_box_site a,
#header .header_wrap .header_box_site p {
	display: block;
	color: #fff;
}

#header .header_wrap .header_box a,
#header .header_wrap .header_box p {
	display: block;
	color: #fff;
}

#header .header_wrap .header_box.active a,
#header .header_wrap .header_box p {
	display: block;
	color: #111;
}

#header .header_wrap .header_box_name a,
#header .header_wrap .header_box_name p {
	display: block;
	color: #fff;
}

p.header_menubox_OpenBtn {
	display: block;
	width: 32px;
	height: 32px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_menu.png);
}

p.header_menubox_CloseBtn {
	display: block;
	width: 32px;
	height: 32px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_close.png);
}

#header .header_wrap .header_box p.header_searchbox_OpenBtn {
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_search.jpg);
}

#header .header_wrap .header_box p.header_searchbox_CloseBtn {
	font-size: 36px;
}

#header .header_wrap .header_box a.login {
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_login.jpg);
}

#header .header_wrap .header_box a.logout {
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_logout.jpg);
}

#header .header_wrap .header_box a.entry {
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_mypage.jpg);
}

#header .header_wrap .header_box a.mypage {
	background-image: url(https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_mypage.jpg);
}

#header .header_wrap .header_box span {
	letter-spacing: -0.1em;
}






/* スマホ用 */
@media only screen and (max-width: 767px){

	.flexlayout {
		display: -webkit-box;
		display: flex;
		flex-direction: column;
	}

	.flexlayout > .first_section {
		width: 99.9%;
	}

	.flexlayout > .second_section {
		width: 99.9%;
	}

	.flexlayout > .kao_section {
		width: 99.9%;
	}

	.flexlayout > .tati_section {
		width: 99.9%;
	}
	
	.header_wrap .header_box {
		display: none;
	}
	
	#header .header_wrap .header_box_menuBtn {
		display: table-cell;
	}

	.flexlayout > .kintou2 {
		width: 100%;
	}

	.flexlayout > .kintou3 {
		width: 100%;
	}

	.flexlayout > .kaisetu_section {
		width: 99.9%;
	}
}

/* タブレット・パソコン用 */
@media only screen and (min-width: 768px) {

	.flexlayout {
			display: -webkit-box;
			display: flex;
	}

	.flexlayout > .first_section {
		width: 49.5%;
	}

	.flexlayout > .second_section {
		width: 49.5%;
	}

	.flexlayout > .kao_section {
		width: 250px;
	}

	.flexlayout > .tati_section {
		width: calc(100% - 250px);
	}
	
	.header_wrap .header_box {
		display: table-cell;
	}
	
	#header .header_wrap .header_box_menuBtn {
		display: none;
	}

	.flexlayout > .kintou2 {
		flex-grow: 1;
		width: 49.5%;
	}

	.flexlayout > .kintou3 {
		flex-grow: 1;
		width: 33%;
	}

	.flexlayout > .kaisetu_section {
		width: 310px;
	}
}
	

.scroll-box {
	height: 600px;
	overflow-y: scroll;
}

.scroll-box::-webkit-scrollbar{
	width: 12px;
}
.scroll-box::-webkit-scrollbar-track{
	background: #fff;
	border-left: solid 1px #ececec;
}
.scroll-box::-webkit-scrollbar-thumb{
	background: #44739c;
	border-radius: 1px;
	box-shadow: inset 0 0 0 2px #fff;
}

.scroll-box::-webkit-scrollbar-track-piece {
	background: #fafafa;
}

.scroll-box::-webkit-scrollbar-button {
	width: 10px;
	height: 10px;
	background:#999;
}

/*---------------------
/*css lex_radio*/
---------------------*/
.lex_radio-input{
	display: none;
}
.lex_radio-input + label{
	padding-left: 20px;
	position:relative;
	margin-right: 20px;
}
.lex_radio-input + label::before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 15px;
	height: 15px;
	border: 1px solid #999;
	border-radius: 50%;
}
.lex_radio-input:checked + label{
	color: #009a9a;
}
.lex_radio-input:checked + label::after{
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	left: 3px;
	width: 11px;
	height: 11px;
	background: #009a9a;
	border-radius: 50%;
}


/*---------------------
 footer_fixed
---------------------*/
.footer_fixed {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba( 0, 0, 0, 0.6 );
	z-index: 10000;
}

.footer_fixed > .box {
	position: relative;
	width: 50%;
	margin: 0px auto;
	padding: 5px 0;
	text-align: center;
}

/*---------------------
 footer
---------------------*/
#footer {
	width: 100%;
	margin-top: 30px;
	bottom: 0;
	background: #1f4e3a none repeat scroll 0 0;
	background: -moz-linear-gradient(#1f4e3a, #005d36);
	background: -webkit-linear-gradient(#1f4e3a, #005d36);
	background: -ms-linear-gradient(#1f4e3a, #005d36);
	background: #111;
}

#footer_content {
	width: 100%;
	max-width: 960px;
	margin: 15px auto 0;
}

.copyright {
	text-align: center;
	color: #fff;
	padding-bottom: 10px;
}

.footer_message {
	text-align: center;
	color: #fff;
	padding: 10px;
}

.footer-links {
	padding: 10px;
	margin: 10px auto;
	text-align: center;
}

.footer-links li {
	display: inline-block;
	color: #fff;
	font-size: 0.8em;
}

.footer-links li:after {
	padding: 0 0.5em;
	content: '|';
}

.footer-links li a {
	color: #fff;
}

/*-------------------------------------
重要なお知らせ用ボックス
---------------------------------------*/
div.jyuyou {
	margin: 5px 0px 0.5em;
	padding-bottom: 5px;
	background-color: #fff; /* ボックスの背景色 */
	border: 1px #c0232b solid; /* ボックスの境界線 */
	border-right: 2px #c0232b solid;
	border-bottom: 2px #c0232b solid;
}

/* --- 見出し --- */
div.jyuyou p.title {
	margin: 0; /* 見出しのマージン */
	padding: 6px 10px; /* 見出しのパディング（上下、左右） */
	background: #c00 none repeat scroll 0 0;
	background: -moz-linear-gradient(#e20000, #c00);
	background: -webkit-linear-gradient(#e20000, #c00);
	background: -ms-linear-gradient(#e20000, #c00);
	background: #c0232b none repeat scroll 0 0;
	border-bottom: 1px #c0c0c0 solid; /* 見出しの下境界線 */
	color: #fff;
}

/* --- ボックス内の段落 --- */
div.jyuyou p.honbun {
	margin: 1em 10px; /* 段落のマージン（上下、左右） */
}

/*---------------------
 パンくず
---------------------*/
.pankuzulist {
	margin: 0 auto;
	width: 100%;
	/* justify-content: space-between; */
	background: #EDECCD none repeat scroll 0 0;
	border-bottom: 1px solid #dadada;
}

.pankuzulist ol {
	/* max-width: 960px; */
	display: -webkit-box;
	display: flex;
	list-style-type: none;
	height: 100%;
	margin: 0 auto;
	padding: 0;
}
.pankuzulist ol li {
	float: left\9; /* IE10以下 */
	text-align: center;
	padding: 2px 2px 2px 8px;
}

.pankuzulist ol li:before {
	content:" > ";
	color: #111;
}

.pankuzulist ol li:first-child:before {
	content:"";
	color: #111;
}

.pankuzulist ol a {
	color: #111;
}


/*---------------------
 Footer
---------------------*/
#Footer {
	background: #1F4E3A;
	background: linear-gradient(#1F4E3A, #005D36) repeat scroll 0 0 rgba(0, 0, 0, 0);
	background: -webkit-gradient(linear, left top, left bottom, from(#1F4E3A), to(#005D36));
	clear: both;
	color: #fff;
	overflow: hidden;
	padding: 0 0 10px;
	width: 100%;
	font-size: 88%;
}

#Footer ul.footer-navi {
	background: url("") repeat-x scroll left top #EDEFE1;
	border-bottom: 1px solid #F9F2E5;
	padding: 12px 0;
	text-align: center;
	width: 100%;
}

#Footer ul.footer-navi li {
	display: inline;
	line-height: 1.6;
}

#Footer ul.footer-navi li span {
	color: #D0D0D0;
	margin: 0 4px;
}

#Footer p {
	padding: 5px;
}


/*---------------------
 pagetop
---------------------*/
.pagetop {
	display: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
}

.cart {
	display: block;
	position: fixed;
	bottom: 10px;
	right: 10px;
}

.pagetop a,
.cart a {
	display: block;
	height: 20px;
	background-color: #fff;
	filter:alpha(opacity=85);
	-moz-opacity:0.85;
	-khtml-opacity: 0.85;
	opacity:0.85;
	text-align: center;
	color: #111;
	font-size: 16px;
	text-decoration: none;
	line-height: 20px;
	padding: 10px;
	 
	text-shadow: 0 -1px 1px #FFF, -1px 0 1px #FFF, 1px 0 1px #aaa; 
	-webkit-box-shadow: 1px 1px 2px #E7E7E7;
	-moz-box-shadow: 1px 1px 2px #E7E7E7; 
	-webkit-border-radius: 3px; 
	-moz-border-radius: 3px;
	
	background: #1f4e3a none repeat scroll 0 0;
	background: -moz-linear-gradient(#005D36, #1f4e3a);
	background: -webkit-linear-gradient(#005D36, #1f4e3a);
	background: -ms-linear-gradient(#005D36, #1f4e3a);
	
	background: #0099CC ; /* #006837; */
	background: -moz-linear-gradient(top,#0099CC 0%,#006699);
	background: -webkit-gradient(linear, left top, left bottom, from(#0099CC), to(#006699));
	border: 2px solid #006699;
	-moz-box-shadow: 1px 1px 1px rgba(000,000,000,0.3);
	-webkit-box-shadow: 1px 1px 1px rgba(000,000,000,0.3);
	
	color: #fff;
}

/*---------------------
 ボックス 
---------------------*/
div.section {
	width: 99.0%;
	margin: 0 auto 8px;
	background-color: #ffffff;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

/*---------------------
 ボックス 
---------------------*/
div.section95 {
	width: 95.0%;
	background-color: #ffffff;
	/* border: 1px #c0c0c0 solid; */
	margin: 0 auto 8px;
	overflow: hidden;
}

/*---------------------
 ボックス 
---------------------*/
div.section90 {
	width: 90.0%;
	background-color: #ffffff;
	/* border: 1px #c0c0c0 solid; */
	margin: 0 auto 8px;
	overflow: hidden;
}

/*---------------------
 ボックス 
---------------------*/
div.section.none {
	background-color: transparent;
}

/*---------------------
 ボックス 
---------------------*/
div.insidesection {
	width: 98.0%;
	/* border: 1px #c0c0c0 solid; */
	margin: 0 auto 0px;
}

/*---------------------
 ボックス 
---------------------*/
div.sectionfull {
	width: 100.0%;
	margin: 0 auto 0px;
}

.maring_bottom-8px {
	margin-bottom: 8px !important;
}

/*---------------------
 アコーディオンメニュー
---------------------*/
/* クリック部分 */
.acMenu_open dt ,
.acMenu dt {
	cursor: pointer;
	position: relative;
}

.acMenu_open dt .midasi_sub ,
.acMenu dt .midasi_sub {
	margin: 5px 0;
}

/* 折り畳んでいるときの矢印 */
.acMenu_open dt.active:after ,
.acMenu dt:after {
	display: block;
	position: absolute;
	top: 50%;
	right: 10px;
	margin: -8px 0 0 0;
	content:"▼";
	font-size: 12px;
	color: #1f4e3a;
}

/* 開いているときの矢印 */
.acMenu_open dt:after ,
.acMenu dt.active:after {
	display: block;
	position: absolute;
	top: 50%;
	right: 10px;
	margin: -8px 0 0 0;
	content:"▲";
	font-size: 12px;
	color: #1f4e3a;
}

/* 最初から開いておく */
.acMenu_open dd {
	display: blcok;
	background: #fff;
	padding: 5px;
}

/* 最初は閉じておく */
.acMenu dd {
	display: none;
}

/*---------------------
 .side
---------------------*/
.side {
	margin: 0 0 8px;
}

.sidemenuindex > ul {
	border-bottom: 0px solid #dadada;
	/*
	display: -webkit-box;
	display: flex;
	flex-direction: column;
	*/
}

.sidemenuindex > ul > li {
	/*
	float: left\9;
	*/ /* IE10以下 */
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #fcfcfc);
	background: -webkit-linear-gradient(#fff, #fcfcfc);
	background: -ms-linear-gradient(#fff, #fcfcfc);
	border-top: 1px solid #dadada;
	border-right: 1px solid #dadada;
	border-left: 1px solid #dadada;
	text-align: center;
	padding: 8px 2px;
}

.sidemenuindex > ul > li:last-child {
	border-bottom: 1px solid #dadada;
}

.sidemenuindex > ul > li.menu {
	background: #f1f3e8 none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #fafafa);
	background: -webkit-linear-gradient(#fff, #fafafa);
	background: -ms-linear-gradient(#fff, #fafafa);
	/* border: 1px solid #1f4e3a; */
	border-left: 5px solid #1f4e3a;
	border-bottom: 1px solid #1f4e3a;
	text-align: left;
}

.sidemenuindex > ul > li.menu p {
	margin-left: 5px;
	font-weight: bold;
}

.sidemenuindex > ul > li.active {
	background: #464646 none repeat scroll 0 0;
	background: #268300 none repeat scroll 0 0;
	background: -moz-linear-gradient(#449A76, #1f4e3a);
	background: -webkit-linear-gradient(#449A76, #1f4e3a);
	background: -ms-linear-gradient(#449A76, #1f4e3a);
	background: #156a15 none repeat scroll 0 0;
}

.sidemenuindex > ul > li a {
	display: block;
	position: relative;
}

.sidemenuindex > ul > li a:after {
	display: block;
	content: "▶";
	position: absolute;
	top: 50%;
	right: 10px;
	/*
	width: 6px;
	height: 6px;
	margin: -4px 0 0 0;
	border-top: solid 2px #1f4e3a;
	border-right: solid 2px #1f4e3a;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	*/
	margin: -12px 0 0 0;
}

.sidemenuindex ul > li.active a {
	display: block;
	position: relative;
	color: #fff;
}

/*---------------------
 .stallionsindex
---------------------*/

.stallionsindex > ul {
	border-bottom: 0px solid #dadada;
	/*
	display: -webkit-box;
	display: flex;
	flex-direction: column;
	*/
}

.stallionsindex > ul > li {
	/*
	float: left\9;
	*/ /* IE10以下 */
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #fcfcfc);
	background: -webkit-linear-gradient(#fff, #fcfcfc);
	background: -ms-linear-gradient(#fff, #fcfcfc);
	border-top: 1px solid #dadada;
	border-right: 1px solid #dadada;
	border-left: 1px solid #dadada;
	text-align: left;
	padding: 6px 8px;
}

.stallionsindex > ul > li:last-child {
	border-bottom: 1px solid #dadada;
}

.stallionsindex > ul > li.menu {
	background: #f1f3e8 none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #fafafa);
	background: -webkit-linear-gradient(#fff, #fafafa);
	background: -ms-linear-gradient(#fff, #fafafa);
	/* border: 1px solid #1f4e3a; */
	border-left: 5px solid #1f4e3a;
	border-bottom: 1px solid #1f4e3a;
	text-align: left;
}

.stallionsindex > ul > li.menu p {
	margin-left: 5px;
	font-weight: bold;
}

.stallionsindex > ul > li.active {
	background: #464646 none repeat scroll 0 0;
	background: #268300 none repeat scroll 0 0;
	background: -moz-linear-gradient(#449A76, #1f4e3a);
	background: -webkit-linear-gradient(#449A76, #1f4e3a);
	background: -ms-linear-gradient(#449A76, #1f4e3a);
	background: #156a15 none repeat scroll 0 0;
}

.stallionsindex > ul > li a {
	display: block;
	position: relative;
}

.stallionsindex > ul > li a:after {
	display: block;
	content: "▶";
	position: absolute;
	top: 50%;
	right: 10px;
	margin: -12px 0 0 0;
}

.stallionsindex ul > li.active a {
	display: block;
	position: relative;
	color: #fff;
}

.stallionsindex > ul > li p.sub {
	margin-left: 20px;
}

/*-------------------------------------
acMenu
---------------------------------------*/
#acMenu ,
#acMenu2 ,
#acTouroku {
/*	margin-bottom: 10px;*/
	margin-bottom: 1px;
}

#acMenu dt,
#acTouroku dt{
	display: block;
	cursor: pointer;
	background: #1f4e3a none repeat scroll 0 0;
	background: -moz-linear-gradient(#005D36, #1f4e3a);
	background: -webkit-linear-gradient(#005D36, #1f4e3a);
	background: -ms-linear-gradient(#005D36, #1f4e3a);
	padding: 7.5px 10px;
	color: #fff;
	margin-bottom:2px;
	position: relative;
}

#acMenu dt:before,
#acTouroku dt:before{
	content:" ";
}

#acMenu2 dt {
	display: block;
	cursor: pointer;
	background: #6AD500;
	background: -webkit-gradient(linear, left top, left bottom, from(#6AD500), to(#6AB123));
	background: linear-gradient(#6AD500, #6AB123) repeat scroll 0 0 #6AD500;
	padding: 7.5px 10px;
	color: #fff;
	margin-bottom:2px;
	position: relative;
}

#acMenu dd{
	background: #f2f2f2;
	display: none;
	margin-bottom:2px;
	padding: 2px 5px;
}

#acMenu2 dd{
	background: #f2f2f2;
	margin-bottom:2px;
	padding: 2px 5px;
}

#acTouroku dd{
	background: #f2f2f2;
	margin-bottom:2px;
	padding: 2px 5px;
}

#acMenu dt.active ,
#acTouroku dt.active {
	display: block;
	cursor: pointer;
	background: #1f4e3a none repeat scroll 0 0;
	background: -moz-linear-gradient(#005D36, #1f4e3a);
	background: -webkit-linear-gradient(#005D36, #1f4e3a);
	background: -ms-linear-gradient(#005D36, #1f4e3a);
	padding: 7.5px 10px;
	color: #fff;
	position: relative;
}

#acMenu2 dt.active {
	display: block;
	cursor: pointer;
	background: #6AD500;
	background: -webkit-gradient(linear, left top, left bottom, from(#6AD500), to(#6AB123));
	background: linear-gradient(#6AD500, #6AB123) repeat scroll 0 0 #6AD500;
	padding: 7.5px 10px;
	color: #fff;
}

#acMenu dt p.icon ,
#acMenu2 dt p.icon,
#acTouroku dt p.icon {
	/*background: url("https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_under.png") no-repeat scroll right 50%;*/
}

#acMenu dt.active p.icon ,
#acMenu2 dt.active p.icon ,
#acTouroku dt.active p.icon {
	/*background: url("https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/ico_up.png") no-repeat scroll right 50%;*/
}

#acMenu dt span.icon {
	position: absolute;
	right: 10px;
}

#acMenu dt span.icon:after {
	content:"▼";
}

#acMenu dt.active span.icon {
	position: absolute;
	right: 10px;
}

#acMenu dt.active span.icon:after {
	content:"▲";
}

/*-------------------------------------
横スクロールさせるbox
---------------------------------------*/

.yokoscroll {
	width: 100%;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
}

/* スマホ用 */
@media only screen and (max-width: 400px) {

	.yokoscroll::before {
		content: '［横にスクロールできます］';
	}

}

/* タブレット・パソコン用 */
@media only screen and (min-width: 401px) {

	.yokoscroll::before {
		content: '';
	}
	
}
	
/* スマホ用 */
/* 
@media only screen and (max-width: 640px){
*/

	.yokoscroll table {
		width: 640px;
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
	}

	.yokoscroll::-webkit-scrollbar {
		height: 80px;
	}
	.yokoscroll::-webkit-scrollbar-track {
		border-radius: 0px;
		background: #fff;
	}
	.yokoscroll::-webkit-scrollbar-thumb {
		border-radius: 2px;
		background: #449A76;
	}

	.yokoscroll::-webkit-scrollbar-track-piece {
		background: #efefef;
	}

	.yokoscroll::-webkit-scrollbar {
		width:5px;
		background:#eee;
	}
	.yokoscroll::-webkit-scrollbar:horizontal {
		height:10px;
	}
	.yokoscroll::-webkit-scrollbar-button {
		width: 10px;
		height: 10px;
		background:#666;
	}

	.yokoscroll::-webkit-scrollbar:vertical {
		display: none;
	}

	.yokoscroll.nowrap table th,
	.yokoscroll.nowrap table td {
		white-space: nowrap;
	}
/* 
}
*/

/*-------------------------------------
もっと見るで使うボタン
---------------------------------------*/
div.bookbutton {
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #F0F0F0);
	background: -webkit-linear-gradient(#fff, #F0F0F0);
	background: -ms-linear-gradient(#fff, #F0F0F0);
	border: 1px solid #eee;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

div.bookbutton a {
	display: block;
}

div.bookbutton p {
	padding: 15px 10px;
	font-size: 1.2em;
	font-weight: 600;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

div.bookbutton p.button {
	padding: 15px 10px;
	font-size: 1.2em;
	font-weight: 600;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	text-decoration: underline;
	cursor: pointer;
}

/* お待たせ最新案内の更新ボタン */
div.bookbutton p.get_omatase {
	padding: 3px 10px;
	font-size: 1.3em;
	font-weight: 600;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	text-decoration: underline;
	cursor: pointer;
}

/*-------------------------------------
もっと見るで使うボタン
---------------------------------------*/
div.more {
	margin: 5px auto;
	width: 80%;
	max-width: 300px;
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #F0F0F0);
	background: -webkit-linear-gradient(#fff, #F0F0F0);
	background: -ms-linear-gradient(#fff, #F0F0F0);
	background: #fff none repeat scroll 0 0;
	border: 2px solid #035b03;
	border-radius: 4px;
}

div.more a {
	display: block;
}

div.more p {
	padding: 15px 5px;
	font-size: 1.0em;
	font-weight: 600;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

div.more p::before {
	content: "\025b6";
	font-size: 1.4rem;
	margin: 0 5px 2px 0;
}

/*-------------------------------------
サイドのバナー
---------------------------------------*/
.side-banner {
	margin: 0 auto 15px;
	text-align: center;
}

div.banner {
	margin: 0 auto;
	width: 99%;
}

/*---------------------
 dl-banner
---------------------*/
dl.dl-banner {
	display: table;
	margin: 0 0 0px;
	width: 100%;
}

dl.dl-banner > dt {
	display: table-cell;
	margin: auto 0.1%;
	vertical-align: middle;
}

dl.dl-banner > dt.image {
	height: 50px;
	width: 80px;
	padding: 2px;
	text-align: center;
}

dl.dl-banner > dt.image img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	border: 1px solid #ccc;
	width: 70px;
	height: 50px;
}

dl.dl-banner > dt.image img.normal {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	border: 1px solid #ccc;
}

dl.dl-banner > dt.honbun {
	padding: 2px;
	text-align: left;
}

dl.dl-banner > dt.honbun > p.title {
	font-size: 0.9em;
	font-weight: 600;
}

dl.dl-banner > dt.honbun > p.honbun {
	font-size: 0.7em;
	color: #333;
}

/*-------------------------------------
メインイメージ
---------------------------------------*/
.mainimage {
	margin: 0 2px 15px;
	text-align: center;
}
.mainimage img {
	margin: 0 auto;
	border: 1px solid #aaa;
}

/*-------------------------------------
メインイメージ 用
---------------------------------------*/
.mainimage .tokusyu p {
	background: #fff;
	font-weight: 600;
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #F0F0F0);
	background: -webkit-linear-gradient(#fff, #F0F0F0);
	background: -ms-linear-gradient(#fff, #F0F0F0);
	background: #fff none repeat scroll 0 0;
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
	border-left: 1px solid #dadada;
	text-align: center;
	padding: 8px 3px;
	white-space: nowrap;
}

.mainimage .tokusyu {
	background: #fff;
	margin: 0 0 8px;
	font-weight: 600;
}

p.kugiri {
	padding: 0.5em 0;/*上下の余白*/
	border-bottom: solid 3px #364e96;/*下線*/
}

hr.kugiri {
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #fff;
}

/*-------------------------------------
Loading 用
---------------------------------------*/
#loader-bg {
	background: #fff;
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 10;
}

#loader-bg img {
	background: #fff;
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 10;
}

#loader-bg p {
	background: #fff;
	position: fixed;
	top: 55%;
	left: 50%;
	font-size: 20px;
	font-weight: 600;
	color: #364e96;
}

/*-------------------------------------
ラベル付きボックス
---------------------------------------*/
.box26 {
	position: relative;
	margin: 2em 0 0;
	padding: 0.5em 1em;
	border: solid 3px #95ccff;
	border-radius: 8px;
}
.box26 .box-title {
	position: absolute;
	display: inline-block;
	top: -13px;
	left: 10px;
	padding: 0 9px;
	line-height: 1;
	font-size: 19px;
	background: #FFF;
	color: #95ccff;
	font-weight: bold;
}
.box26 p {
	margin: 0; 
	padding: 0;
}
.box27 {
	position: relative;
	margin: 2em 0 0;
	padding: 0.5em 1em;
	border: solid 3px #44739c;
}
.box27 .box-title {
	position: absolute;
	display: inline-block;
	top: -27px;
	left: -3px;
	padding: 0 9px;
	height: 25px;
	line-height: 25px;
	vertical-align: middle;
	font-size: 17px;
	background: #44739c;
	color: #ffffff;
	font-weight: bold;
	border-radius: 5px 5px 0 0;
}
.box27 p {
	margin: 0; 
	padding: 0;
}

.box28 {
	display: inline-block;
	position: relative;
	margin: 0em 0 1em;
	padding: 25px 10px 7px;
	border: solid 2px #44739c;
}

.news_list .box28{
	display:none;
}


.box28 .box-title {
	position: absolute;
	display: inline-block;
	top: -2px;
	left: -2px;
	padding: 0 9px;
	height: 25px;
	line-height: 25px;
	vertical-align: middle;
	font-size: 17px;
	background: #44739c;
	color: #ffffff;
	font-weight: bold;
}
.box28 p {
	margin: 0; 
	padding: 0;
	text-align: left;
}

.box30 {
	display: inline-block;
	margin: 2em 0;
	background: #f1f1f1;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.box30 .box-title {
	font-size: 1.2em;
	background: #44739c;
	padding: 4px;
	text-align: center;
	color: #FFF;
	font-weight: bold;
	letter-spacing: 0.05em;
}
.box30 p {
	padding: 15px 20px;
	margin: 0;
}

.winners {
	padding: 0.5em 1em;
	margin: 0.1em 0;
	color: #5d627b;
	background: white;
	border-top: solid 5px #5d627b;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.winners p {
	margin: 0; 
	padding: 0;
}

.winners p.tkbamei {
	font-weight: 600;
}



/*---------------------
 タブメニュー 
---------------------*/
#tab-menu,
.tab-menu,
.tab-link {
	display: table;
	width: 100%;
	border-spacing: 5px 0px;
}

#tab-menu > li,
.tab-menu > li,
.tab-link > li {
	display: table-cell;
	vertical-align: middle;
	padding: 5px 5px;
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #F0F0F0);
	background: -webkit-linear-gradient(#fff, #F0F0F0);
	background: -ms-linear-gradient(#fff, #F0F0F0);
	border: 1px solid #dadada;
	border-bottom: none;
	text-decoration: underline;
	text-align: center;
}

#tab-menu > li.active,
.tab-menu > li.active,
.tab-link > li.active {
	background: #268300 none repeat scroll 0 0;
	background: -moz-linear-gradient(#268300, #449A76);
	background: -webkit-linear-gradient(#268300, #449A76);
	background: -ms-linear-gradient(#268300, #449A76);
	background: #1f4e3a none repeat scroll 0 0;
	color: #fff;
}

#tab-menu > li:hover,
.tab-menu > li:hover,
.tab-link > li:hover {
	cursor: pointer;
	text-decoration: none;
}

/* タブの中身 */
#tab-box,
.tab-box {
	padding: 5px;
	border: 1px solid #ccc;
	border: 1px solid #fafafa;
	border-top: 1px solid #eee;
}
#tab-box > div,
.tab-box > div {
	display: none;
}
#tab-box > div.active,
.tab-box > div.active {
	display: block;
}

/* スマホ用 */
@media only screen and (max-width: 767px){

	#tab-menu > li,
	.tab-menu > li {
		float: left;
		border-bottom: 1px solid #eee;
	}

	#tab-menu > li.retu2,
	.tab-menu > li.retu2 {
		float: left;
		border-bottom: 1px solid #eee;
		width: 46%;
	}

}




/*---------------------
 ラジオボタンで切り替え 
---------------------*/
#radio-menu {
	list-style: none;
}

#radio-menu li {
	padding: 5px 5px;
	background: #fdfdfd none repeat scroll 0 0;
	background: -moz-linear-gradient(#fff, #F0F0F0);
	background: -webkit-linear-gradient(#fff, #F0F0F0);
	background: -ms-linear-gradient(#fff, #F0F0F0);
	border: 1px solid #dadada;
	border-bottom: none;
	text-decoration: underline;
}

#radio-menu li.active {
	background: #268300 none repeat scroll 0 0;
	background: -moz-linear-gradient(#268300, #449A76);
	background: -webkit-linear-gradient(#268300, #449A76);
	background: -ms-linear-gradient(#268300, #449A76);
	background: #156a15 none repeat scroll 0 0;
}

#radio-menu li:hover {
	cursor: pointer;
	text-decoration: none;
}

/* 中身 */
#radio-box {
	padding: 5px;
}
#radio-box>div {
	display: none;
}
#radio-box>div.active {
	display: block;
}

/*---------------------
 横並びで複数行
---------------------*/
.flexbox_wrap {
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

/*---------------------
 次へ 前へ 
---------------------*/
ul.paging {
	list-style-type: none;
	margin: 0;
	padding: 1px 0;
}

ul.paging li {
	display: inline;
	margin-right: -1px;
}

ul.paging li a {
	background-color: #fff;
	border: 1px solid #ddd;
	display: inline-block;
	padding: 4px 10px;
	text-decoration: none;
}

ul.paging li a:hover {
	background-color: #005D36;
	border: 1px solid #999;
	color: #FFFFFF;
	text-decoration: underline;
}

ul.paging li a.active {
	background-color: #005D36;
	border: 1px solid #ddd;
	color: #fff;
	display: inline-block;
	padding: 4px 8px;
}

ul.paging li span {
	background-color: #fff;
	border: 1px solid #C0C0C0;
	color: #808080;
	display: inline-block;
	padding: 4px 8px;
}


/*---------------------
 次へ 前へ 
---------------------*/
ul.pagination {
	list-style-type: none;
	margin: 0;
	padding: 1px 0;
	text-align: center;
}

ul.pagination li {
	display: inline;
	margin-right: -1px;
}

ul.pagination li a {
	background-color: #fff;
	border: 1px solid #ddd;
	display: inline-block;
	padding: 4px 10px;
	text-decoration: none;
}

ul.pagination li a:hover {
	background-color: #005D36;
	border: 1px solid #999;
	color: #FFFFFF;
	text-decoration: underline;
}

ul.pagination li a.active {
	background-color: #005D36;
	border: 1px solid #ddd;
	color: #fff;
	display: inline-block;
	padding: 4px 8px;
}

ul.pagination li span {
	background-color: #fff;
	border: 1px solid #C0C0C0;
	color: #808080;
	display: inline-block;
	padding: 4px 8px;
}

ul.pagination li button {
	background-color: #fff;
	border: 1px solid #ddd;
	display: inline-block;
	padding: 4px 10px;
	text-decoration: none;
}

ul.pagination li button:hover {
	cursor: pointer;
	background-color: #eee;
	text-decoration: underline;
}

ul.pagination li button.active {
	background-color: #005D36;
	border: 1px solid #ddd;
	display: inline-block;
	padding: 4px 10px;
	color: #fff;
}

ul.pagination li button.active:hover {
	cursor: pointer;
	background-color: #fff;
	text-decoration: underline;
	color: #111;
}


/* スマホ用小 */
@media only screen and (max-width: 479px){

	.mainimage {
		position: relative;
	}

	.mainimage_text {
		position: absolute;
		top: 30%;
		left: 0;
		right: 0;
		margin: 0 auto;
		opacity: 1;
	}

	.mainimage_text p {
		text-align: center;
		font-size: 0.9em;
		color: #fff;
	}

	.mainimage_text .block01 {
		width: 90%;
		margin: 0 auto;
		padding: 5px 10px;
		background-color: rgba(0, 0, 0, 0.2);
	}

}


/* スマホ用大 */
@media only screen and (min-width: 480px) and (max-width: 767px), print {

	.mainimage {
		position: relative;
	}

	.mainimage_text {
		position: absolute;
		top: 30%;
		left: 0;
		right: 0;
		margin: 0 auto;
		opacity: 1;
	}

	.mainimage_text p {
		text-align: center;
		font-size: 1.4em;
		color: #fff;
	}

	.mainimage_text .block01 {
		width: 98%;
		margin: 0 auto;
		padding: 5px 10px;
		background-color: rgba(0, 0, 0, 0.2);
	}

}
/* タブレット・パソコン用 */
@media only screen and (min-width: 768px) and (max-width: 960px), print {

	.mainimage {
		position: relative;
	}

	.mainimage_text {
		position: absolute;
		top: 30%;
		left: 0;
		right: 0;
		margin: 0 auto;
		opacity: 1;
	}

	.mainimage_text p {
		text-align: center;
		font-size: 2em;
		color: #fff;
	}

	.mainimage_text .block01 {
		width: 98%;
		margin: 0 auto;
		padding: 5px 10px;
		background-color: rgba(0, 0, 0, 0.2);
	}

}
/* タブレット・パソコン用 */
@media only screen and (min-width: 961px), print {

	.mainimage {
		position: relative;
	}

	.mainimage_text {
		position: absolute;
		top: 30%;
		left: 0;
		right: 0;
		margin: 0 auto;
		opacity: 1;
	}

	.mainimage_text p {
		text-align: center;
		font-size: 2.8em;
		color: #fff;
	}

	.mainimage_text .block01 {
		width: 900px;
		margin: 0 auto;
		padding: 50px 10px;
		background-color: rgba(0, 0, 0, 0.2);
	}

}

.midasi_under {
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	color: #222222;
	border-bottom: 3px solid #035b03;
}



.top_content_right {
	background: #035b03;
	padding: 60px 10%;
	position: relative;
}

.top_content_right.block::before {
	position: absolute;
	content: "";
	display: block;
	top: 0;
	height: 100%;
	width: 69.2307692307692%;
}

.top_content_right.new::before {
	content: '';
	right: 0;
	background: url('https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/top_new.jpg') no-repeat right top;
	background-size: cover;
}

.top_content_right.consulting::before {
	content: '';
	right: 0;
	background: url('https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/top_consulting.jpg') no-repeat right top;
	background-size: cover;
}

.top_content_right .box_content {
	width: 300px;
	height: 240px;
	padding: 5%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	position: relative;
	background: #fff;
}

.top_content_right .box_content .heading {
	font-size: 1.9rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 0.5em;
}

.top_content_right .box_content .text {
	font-size: 1rem;
	margin-bottom: 1em;
}


.top_content_left {
	background: #035b03;
	padding: 60px 10%;
	position: relative;
}

.top_content_left.block::before {
	position: absolute;
	content: "";
	display: block;
	top: 0;
	height: 100%;
	width: 69.2307692307692%;
}

.top_content_left.syuboba::before {
	content: '';
	left: 0;
	background: url('https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/top_stallion.jpg') no-repeat right top;
	background-size: cover;
}

.top_content_left.recruit::before {
	content: '';
	left: 0;
	background: url('https://s3-ap-northeast-1.amazonaws.com/cdn.lex-inc.com/images/common/top_recruit.jpg') no-repeat right top;
	background-size: cover;
}

.top_content_left .box_content {
	width: 300px;
	height: 240px;
	padding: 5%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	position: relative;
	background: #fff;
	margin-left: auto;
}

.top_content_left .box_content .heading {
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 0.5em;
}

.top_content_left .box_content .text {
	font-size: 1rem;
	margin-bottom: 1em;
}

/* スマホ用 */
@media only screen and (max-width: 767px){

.top_content_right .box_content {
	width: 90%;
	height: 240px;
}

.top_content_left .box_content {
	width: 90%;
	height: 240px;
}

.top_content_right {
	padding: 60px 1%;
}

.top_content_left {
	padding: 60px 1%;
}

}
/* タブレット・パソコン用 */
@media only screen and (min-width: 768px) and (max-width: 960px), print {

}
/* タブレット・パソコン用 */
@media only screen and (min-width: 961px), print {

}





















.flex_content {
	display: flex;
	display: -ms-flexbox; /* IE10 */
	display: -webkit-box; /* Android4.3以下、Safari3.1〜6.0 */
	display: -webkit-flex; /* Safari6.1以降 */
}

.flex_content_left {
	width: 765px;
	background: #022d1a;
	text-align: center;
}

.flex_content_right {
	width: 235px;
	background: #022d1a;
	text-align: center;
}


.dmbox {
	position: relative;
	margin: 27px 0.1em 0.1em;
	padding: 0.5em 0.3em;
	border: solid 3px #c01;
	background-color: #ffffe0;
}
.dmbox .box-title {
	position: absolute;
	display: inline-block;
	top: -31px;
	left: -3px;
	padding: 0 9px;
	height: 28px;
	line-height: 28px;
	vertical-align: middle;
	font-size: 17px;
	background: #c01;
	color: #ffffff;
	font-weight: bold;
	border-radius: 5px 5px 0 0;
}

.dmbox p {
	margin: 0; 
	padding: 0;
}

.dmbox.main {
	border: solid 3px #FFC107;
	background: #fffffe;
}
.dmbox.main .box-title {
	background: #FFC107;
	color: #c01;
}

.dmbox.sub {
	border: solid 3px #FFC107;
	background: #fff;
}
.dmbox.sub .box-title {
	background: #ffffe0;
	color: #c01;
}

.dmbox.red {
	border: solid 3px #c00;
	background: #fff;
}
.dmbox.red .box-title {
	background: #ecaeba24;
	color: #c00;
}


.dmbox_syuboba {
	position: relative;
	margin: 0.1em 0 0.2em;
	padding: 25px 10px 7px;
	border: solid 2px #FFC107;
}

.dmbox_syuboba .box-title {
	position: absolute;
	display: inline-block;
	top: -2px;
	left: -2px;
	padding: 0 9px;
	height: 25px;
	line-height: 25px;
	vertical-align: middle;
	background: #FFC107;
	color: #ffffff;
	font-weight: bold;
}

.dmbox_syuboba p {
	margin: 0; 
	padding: 0;
}

.dmbox_syuboba.green {
	border: solid 2px #035b03;
	background: #fff;
}
.dmbox_syuboba.green .box-title {
	background: #035b03;
	color: #fff;
}

.dmbox_syuboba.blue {
	border: solid 3px #014099;
	background: #fff;
}
.dmbox_syuboba.blue .box-title {
	background: #014099;
	color: #fff;
}


.dmbox_bms {
	margin: 0 0 0.2em;
	background: #fcfcfc;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
	border: solid 2px #035b03;
}
.dmbox_bms .box-title {
	background: #035b03;
	padding: 2px;
	text-align: center;
	color: #FFF;
	font-weight: bold;
	letter-spacing: 0.05em;
}
.dmbox_bms p {
	padding: 5px;
	margin: 0;
}
.dmbox_bms.blue {
	border: solid 3px #014099;
}
.dmbox_bms.blue .box-title {
	background: #014099;
}


.dmbox_kaisetu {
	position: relative;
	margin: 0.5em 0 0;
	padding: 0.5em 1em;
	border: solid 3px #035b03;
	border-radius: 8px;
}
.dmbox_kaisetu .box-title {
	position: absolute;
	display: inline-block;
	top: -13px;
	left: 10px;
	padding: 0 9px;
	line-height: 1;
	font-size: 19px;
	background: #FFF;
	color: #035b03;
	font-weight: bold;
}
.dmbox_kaisetu p {
	margin: 0; 
	padding: 0;
	font-size: 1.1em;
}
.dmbox_kaisetu.blue {
	border: solid 3px #014099;
}
.dmbox_kaisetu.blue .box-title {
	color: #014099;
}