@charset "utf-8";

/*----------------------------------------------------
	MG CORPORATION
	URL: http://www.mgc-p.com/
	Date: 2008-01-10
	Auther: Hasegawa
	Copyright (C) MG CORPORATION. All Rights Reserved.
----------------------------------------------------*/

/* service index, carciao ,happymama
----------------------------------------------------*/

div#main div.s_box,
div#main div.m_box {
	display: block;
	clear: both;
	padding: 20px 0 5px 0;
	margin-top: 20px;
	}
	
div#main div.s_box.top_border,
div#main div.m_box.top_border {
	border-top: 1px solid #ccc;
	}

div#main div.s_box h3,
div#main div.m_box h3,
div#main h3.hmcafe_h3,
div#main h3#aha {
	border-left: 10px solid #000099;
	padding:5px 0 5px 10px;
	font-size: 1.5em;
	color: #000099;
	}
	
div#main div.s_box img.img_left {
	display: inline;
	width: 240px;
	height: 150px;
	float: left;
	margin: 5px 5px 0 0;
	}
	
div#main div.s_box p,
div#main div.m_box p {
	margin-top: 10px;
	line-height:1.5;
	}
	
div#main div.s_box p.text_rignt {
	margin: 20px 0 0 5px;
	}

/* carciao,happymama,allied
----------------------------------------------------*/

div#main div.s_box h3#carciao_top,
div#main div.m_box h3#happymama_top {	
	border-top: 1px solid #000099;
	border-right: 1px solid #000099;
	border-bottom: 1px solid #000099;
	border-left: 15px solid #000099;
	font-size: 1.5em;
	}

div#main div.s_box img.img_left_car {
	display: inline;
	width: 182px;
	height: 222px;
	float: left;
	margin: 5px 5px 0 0;
	}

div#main div.s_box p.car_p,
div#main div.m_box p.hm_p {	
	padding: 15px 0 5px 5px;
	}

div#main div.s_box p.car_price,
div#main div.m_box p.hm_price {	
	padding: 5px;
	}

div#main div.s_box h3.car_h3,
div#main div.m_box h3.hm_h3 {	
	font-size: 1.33em;
	}

div#main div.s_box ul.car {
	margin: 10px 0;
	}
	
div#main div.s_box table,
div#main div.m_box table{
	border-collapse: collapse;
	font-size: 1.0em;
	}
	
div#main div.s_box table td,
div#main div.m_box table td {
	border: 1px solid #999;
	padding: 0.3em;
	font-size: 1.0em;
	}
	
div#main div.s_box table td.no_border,
div#main div.m_box table td.no_border {
	border: 0px;
	}

/* carciaoweb
----------------------------------------------------*/

div#main div.m_box.firsthild{
	padding: 0;
	margin: 20px 0 0;
	}

#main div.m_box.firsthild div.box_right2 p {
	line-height: 1.2;
	}

div#main div.m_box h3.h3_carweb{
	padding:5px 0 0 10px;
	margin: 0 0 10px 0;
	}

div#main div.m_box p.pright {
	text-align: right;
	}

div#main div.m_box dl dd ul.webcontents {
	width: 513px;
	border-top: 1px solid #9c9c9c;
	border-left: 1px solid #9c9c9c;	
	}

div#main div.m_box dl dd ul.webcontents  li {
	display: block;
	float: left;
	width: 170px;
	margin: 0;
	padding: 5px 0 0 0;
	border-right: 1px solid #9c9c9c;
	border-bottom: 1px solid #9c9c9c;
	text-align: center;
	}

div#main div.m_box div.box_right2 dl.webmobile {
	margin-top: 10px;
	}

div#main div.m_box div.box_right2 dl.med {
	margin-top: 10px;
	border-right: 1px solid #9c9c9c;
	border-bottom: 1px solid #9c9c9c;
	border-left: 1px solid #9c9c9c;
	}

div#main div.m_box div.box_right2 dl.med dt {
	clear: left;
	float: left;
	width: 80px;
	padding: 5px 0;
	border-top: 1px solid #9c9c9c;
	text-indent: 5px;
	}

div#main div.m_box div.box_right2 dl.med dd {
	margin: 0 0 0 80px;
	padding: 5px 0;
	border-top: 1px solid #9c9c9c;
	border-left: 1px solid #9c9c9c;
	text-indent: 10px;
	}

div#main div.m_box dl.webmerit6 {
	margin-top: 20px;
	}
	
div#main div.m_box dl.webmerit6 dt{
	font-weight: bold;
	}

div#main div.m_box table#webmerit tr td.web1 {
	width: 90px;
	text-align: center;
	}

div#main div.m_box table#webmerit tr td.web2 {
	color: #ff0000;
	}

/* media
----------------------------------------------------*/

div#main h3.web_h3 {
	border-left: 10px solid #000099;
	margin: 20px 0;
	padding:5px 0 5px 10px;
	font-size: 1.5em;
	color: #000099;
	}
	
div#main p.web_box {
	border-bottom: 1px dotted #9c9c9c;
	padding-bottom:20px;
	line-height:1.5;
	}

div#main p.web_link {
	padding-top:20px;
	}

/* happymama
----------------------------------------------------*/
div#main div.m_box p.hm_img img {
	margin-top: 10px;
	}

div#main div.m_box div.box_left {
	float: left;
	width: 180px;
	}
div#main div.m_box div.box_right {
	float: left;
	width: 340px;
	}

div#main div.m_box div.box_left2 {
	float: left;
	width: 200px;
	}
	
div#main div.m_box div.box_right2 {
	float: left;
	width: 320px;
	}
	
div#main div.m_box dl dt.midashi {
	margin: 30px 0 10px 0;
	font-weight: bold;
	}

div#main div.m_box dl dt.midashi.firstChild {
	margin: 0 0 10px 0;
	font-weight: bold;
	}

div#main div.m_box dl dd {
	margin-bottom: 10px;
	}

/* allied (mamacafe)
----------------------------------------------------*/

div#main p.hmcafe_p {
	margin: 10px 0;
	line-height: 1.2;
	}

div#main ul.allied_img li {
	display: block;
	float: left;
	margin: 0;
	padding: 4px;
	border: 1px solid #9c9c9c;
	}
div#main ul.allied_img li img {
	display: block;
	width: 250px;
	height: 184px;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
	}

div#main ul.mamacafe {
	clear: both;
	margin: 20px 0;
	padding: 10px 0;
	border: 1px solid #9c9c9c;
	text-align: center;
	}
	
div#main ul.mamacafe li {
	line-height: 1.2;
	}

/* connection (ahamaga)
----------------------------------------------------*/

div#main h3#aha {
	margin:10px 0;
	}
	
div#main img.aha_left_img{
	float: left;
	width: 150px;
	height: 204px;
	}

div#main p.aha_p {
	margin: 10px 0 20px 150px;
	padding-left: 10px;
	line-height: 1.2;
	}

div#main dl.ahamaga{
	margin: 10px 0px;
	border-right: 1px solid #9c9c9c;
	border-bottom: 1px solid #9c9c9c;
	border-left: 1px solid #9c9c9c;
	}

div#main dl.ahamaga dt{
	clear: left;
	float: left;
	width: 130px;
	padding: 8px 0;
	border-top: 1px solid #9c9c9c;
	text-indent: 15px;
	}

div#main dl.ahamaga dd{
	margin: 0 0 0 130px;
	padding: 8px 0;
	border-top: 1px solid #9c9c9c;
	border-left: 1px solid #9c9c9c;
	text-indent: 10px;
	}

/* price, price_t
----------------------------------------------------*/

div#main h3.price_h3 {
	border-left: 10px solid #000099;
	margin: 20px 0;
	padding:5px 0 5px 10px;
	font-size: 1.5em;
	color: #000099;
	}

div#main table.price_table{
	width: 520px;
	margin: 10px 0;
	border-collapse: collapse;
	border: 1px solid #9c9c9c;
	font-size: 1.0em;
	}

div#main table.price_table td{
	padding: 5px 0;
	border: 1px solid #9c9c9c;
	}

div#main table.price_table td.price_01{
	background-color: #e7e7e7;
	text-align: center;	
	}

div#main table.price_table td.price_02{
	padding-left: 5px;
	}
	
div#main table.price_table td.price_03{
	text-align: center;
	}

div#main table.price_table td.price_r{
	font-weight: bold;
	text-align: center;
	}

div#main dl.price_dl{
	margin-top: 10px;
	}

div#main dl.price_dl dd.price_dl_dd{
	margin: 5px 0 10px 10px;
	}

div#main p.price_p_r{
	text-align: right;
	}

/* books
----------------------------------------------------*/

div#main div.books_box {
	clear: left;
	}

div#main ul#books_index{
    font-size: 0.9em;
	display:block;
	width:520px;
	margin:20px 0 0 0;
	}
	
div#main ul#books_index li{
	display:inline;
	text-align: center;
	}

div#main ul#books_index li a{
	padding: 6px 4px;
	line-height:2.0;
	border-left: 1px solid #000099;
	text-decoration: none;
	font-weight: bold;
	}

div#main ul#books_index li.last-child a{
	border-right:  1px solid #000099;
	}

div#main div.books_box p.books_p {
	line-height: 1.2em;
	}

div#main div.books_box h3.books_title,
div#main h3#asahi_h3 {
	border-left: 10px solid #000099;
	margin: 20px 0 10px 0;
	padding:5px 0 5px 10px;
	font-size: 1.5em;
	color: #000099;
	}

div#main div.books_box div.books_leftbox {
	float: left;
	width:150px;
	}

div#main div.books_box.books_top {
	margin-top:20px;
	border-top:1px solid #999;
	}

div#main div.books_box div.books_right {
	float: left;
	width: 370px;
	}

div#main div.books_box ul.order li a{
	background: url(../contents/service/books/image/books/p_arw01.gif) no-repeat center left;
	padding: 5px 0 5px 20px;
	line-height:2.0;
	}

div#main div.books_box dl.books {
	margin-top: 10px;
	border-right: 1px solid #9c9c9c;
	border-bottom: 1px solid #9c9c9c;
	border-left: 1px solid #9c9c9c;
	}

div#main div.books_box dl.books dt {
	float:left;
	width: 7em;
	padding: 5px 0;
	border-top: 1px solid #9c9c9c;
	text-indent: 5px;
	}

div#main div.books_box dl.books dd{
	margin: 0 0 0 7em;
	padding: 5px 0;
	border-top: 1px solid #9c9c9c;
	border-left: 1px solid #9c9c9c;
	text-indent: 5px;
	}

/* Asahiyama books
----------------------------------------------------*/

div#main div#asahi_books dl{
	width: 170px;
	margin-bottom:20px;
	display:block;
	float:left;
	}

div#main div#asahi_books dl dt{
	height: 180px;
	margin: 0 auto;
	text-align:center;
	}

div#main div#asahi_books dl dd{
	text-align:center;
	}

div#main div#flash{
	clear:left;
	padding-top: 20px;
	border-top: 1px dotted #9c9c9c;
	}
	
div#main ul#asahi_order {
	text-align:right;
	margin:20px 0;
	}

div#main ul#asahi_order li{
	display: inline;
	}

div#main ul#asahi_order li a{
	background: url(../contents/service/books/image/books/p_arw01.gif) no-repeat center left;
	padding: 5px 0 5px 20px;
	margin: 0 10px;
	line-height:2.0;
	}

/* mama enquete
----------------------------------------------------*/

body#enquete h3#mamaa {
	border-left: 10px solid #000099;
	margin:20px 0;
	padding:5px 0 5px 10px;
	font-size: 150%;
	color: #000099;
	}

body#enquete div#content {
	margin:20px 0 0 10px;
	}

body#enquete teble {
	border-collapse:collapse;
	}

body#enquete td{
	padding:5px 0 5px 10px;
	}

body#enquete td.table_left{
	font-size:120%;
	width:300px;
	}

body#enquete td.table_right input,
body#enquete td.table_right textarea{
	width:400px;
	}

body#enquete td.table_right textarea{
	height:100px;
	}

body#enquete td.table_right input.radio{
	width:20px;
	}

body#enquete input.submit{
	display:block;
	text-align:center;
	margin:10px auto;
	width:100px;
	}

#hma{
	height: 180px;
	margin: 0 auto;
	text-align:center;
	}