/*--------------------------------------
 * 標準デザインテンプレート
 *  (c) 2011 Neetsha
 *------------------------------------*/
/*--------------------------------------
 * base section
 *------------------------------------*/

* { line-break: strict; }

body {
	margin: 0;
}

a { color: #2200C1; }
a:visited { color: #551a8b; }
a:active, a:hover { color:#c11; }
a:hover { background-color: #d0d0d0; }

img {
	vertical-align: text-bottom;
    max-width: 100%;
    height: auto;
}

a img {
	border: none;
}

strong { color: #c11; }

.left   { text-align: left; }
.center { text-align: center; }
.right  { text-align: right; }
.floatleft  { float: left; }
.floatright { float: right; }

table {
	font-size: 100%;
	border-collapse: collapse;
	empty-cells: show;
}

.content {
	max-width: 844px;
}

#wrapper {
	margin: 0 auto;
}

.wrapper_index {
	max-width: 844px;
	/* max-width: 1100px */
}

#header,
#header p a,
#header1,
#header1 p a,
.description,
.box,
#footer {
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

.description, .box, #footer {
	margin: 16px 0;
	border: 1px solid #888;
}


/*--------------------------------------
 * header1 section
 *------------------------------------*/
#header {
	margin: 0 0 16px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	-webkit-border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-topright: 0;
}

#header1 {
	margin: 0 0 16px;
	background-color: #444;
	color: #fff;
	padding: 6px;
}

#header1 h1
{
	margin: 0;
	padding: 5px 8px;
	font-size: 18px;
	line-height: 1;
	text-align: center;
}
@media screen and (max-width: 720px) {
	#header1 h1 {
		text-align: right;
	}
}

#header h1 img,
#header1 h1 img
{
	margin-right: 2px;
	vertical-align: baseline;
}


#header p,
#header1 p
{
	margin: 0;
	padding: 5px 8px 4px;
	float: right;
}

#header p a,
#header p a:visited,
#header1 p a,
#header1 p a:visited
{
	margin: 0 0 0 6px;
	padding: 2px 4px;
	border: 1px solid #fff;
	display: inline-block;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
}

#header p a:active,
#header p a:hover,
#header1 p a:active,
#header1 p a:hover
{
	color: #444;
	background-color: #fff;
}
/*--------------------------------------
 * topmenu
 *------------------------------------*/
.topmenu {
	margin: 0;
	float: right;
	min-width: 70px;
	text-align:center;
	padding: 2px;
}

.topmenu a {
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	min-width: 70px;
	padding: 2px;
}

.topmenu a,
.topmenu a:visited {
	border: 1px solid #fff;
	display: inline-block;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
}

.topmenu a:active,
.topmenu a:hover {
	color: #444;
	background-color: #fff;
}

/*--------------------------------------
 * category+description section
 *------------------------------------*/

.category { font-size: 12px; }
.description { margin: 8px 0; }
.description p { margin: 8px 29px; }


/*--------------------------------------
 * main section
 *------------------------------------*/

#main {
	background-color: #f0f0f0;
}

#main h2,
#main h3 {
	line-height: 1;
	background-color: #fff;

}

#main h2 {
	margin: 16px 12px;
	padding: 6px 8px;
	font-size: 18px;
	border-left: 8px solid #888;
	border-bottom: 1px solid #888;
}

#main h3 {
	margin: 16px;
	padding: 4px 6px;
	font-size: 16px;
	border-bottom: 1px dashed #888;
}

#main p,
#main ul,
#main dl,
#main table,
#main .block {
	margin: 16px 29px;
}

#main .block p,
#main .block ul,
#main .block dl,
#main .block table {
	margin-left: 0;
	margin-right: 0;
}

#main ul {
	padding-left: 13px;
}

#main dl dt {
	margin: 0 0 2px 0;
	font-weight: bold;
}

#main dl dd {
	margin: 0 0 6px 28px;
}

#main ul li {
	margin-bottom: 1em;
}

/*
 * 横幅が698px以内、左右マージンが29pxになるように調整
 */

#main table td {
	vertical-align: top;
}

#main table.cols2 {
	margin: 0 15px;
}

#main table.cols2 td {
}

#main table.cols3 {
	width: 660px;
	margin: 0 18px;
}

#main table.cols3 td {
	width: 220px;
	padding: 8px 11px;
}

#main table.cols4 {
	width: 656px;
	margin: 0 21px;
}

#main table.cols4 td {
	width: 164px;
	padding: 8px 8px;
}

#main table.cols5 {
	margin: 0 24px;
}

#main table.cols5 td {
	width: 120px;
	padding: 8px 5px;
}

/*--------------------------------------
 * footer section
 *------------------------------------*/

#footer {
	padding: 6px;
	font-size: 12px;
	text-align: center;
	line-height: 1.4em;
}

#footer i {
	font-family: Georgia, serif;
	font-style: normal;
}

/*--------------------------------------
 * switching section
 *------------------------------------*/

.switching-close {
	display: none;
}

.switching-open {
	border-bottom: 1px dashed #888;
}

html.js .switching-close {
	display: block;
}

html.js .switching-open {
	display: none;
}

/*--------------------------------------
 * left magazine menu
 *------------------------------------*/

.sidemagazine
{
	width:202px;
	text-align:center;
	background:url(../logo/side_middle.png) repeat-y top center;
}

.sidemagazine_topic
{
	width:180px;
	text-align:right;
	border-bottom:1px solid #444444;
	margin-top:20px;
	margin-bottom:5px;
	padding-right:10px;
	font-weight:bold;
	font-size:11pt;
}

.magazinelink
{
	text-align:center;
}
.magazinelink a{
	text-decoration: none;
	background-color:transparent;
}
.magazinelink a img{
	border:2px solid transparent;
	margin-left:-1px;
}
.magazinelink a:hover img{
	border:2px solid #f0a0a0;
}

.magazinename
{
	font-size:9pt;
	margin-bottom:6px;
}
