@charset "utf-8";


/*全体の設定
---------------------------------------------------------------------------*/
body {
	color: #333;
	background: #f2f2e8 url(../images/bg.jpg);
	margin: 0px;
	padding: 0px;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img {
	border: none;
	vertical-align: bottom;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;
}
a:hover {
	color: #ff175e;
	text-decoration: none;
}

/*ヘッダー
---------------------------------------------------------------------------*/
header {
	width: 100%;
}
header .inner {
	width: 980px;
	height: 80px;
	position: relative;
	margin: 0px auto;
}
header .inner h1 {
	font-size: 11px;
	line-height: 19px;
	position: absolute;
	top: 20px;
	right: 0px;
	font-weight: normal;
	color: #666;
}
header .inner #logo {
	position: absolute;
	left: 20px;
	top: 12px;
}
header #sitename {
	color: #FFF;
	background-color: #ff175e;
	display: inline-block;
	font-size: 9px;
	line-height: 15px;
	padding: 0px 15px;
	letter-spacing: 0.2em;
	position: absolute;
	left: 330px;
	top: 34px;
	border-radius: 10px;
}

/*トップページのmainimg
---------------------------------------------------------------------------*/
#mainimg {
	background: url(../images/bg_img.jpg) no-repeat center center;
	border-bottom: 1px solid #c4c3af;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}
#mainimg aside {
	width: 980px;
	height: 292px;
	margin: 0px auto;
}

/*上部のメインメニュー
---------------------------------------------------------------------------*/
nav#menubar {
	height: 40px;
	line-height: 40px;
	-webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 8px rgba(0,0,0,0.3);
	background: #0c0c0c;
	background: -webkit-gradient(linear, left top, left bottom, from(#313131), to(#0c0c0c));
	background: -webkit-linear-gradient(#313131, #0c0c0c);
	background: linear-gradient(#313131, #0c0c0c);
}
nav#menubar ul {
	margin: 0px auto;
	width: 980px;
	height: 40px;
	border-left: 1px solid #555;
}
nav#menubar ul li {
	float: left;
	width: 144px;
	border-right: 1px solid #555;
}
nav#menubar ul li a {
	text-decoration: none;
	display: block;
	text-align: center;
	color: #FFF;
}
nav#menubar ul li a:hover {
	background: #fcff1a;
	color: #333;
}
/*licenseメニュー*/
nav#menubar ul li#license {
	width: 253px;
}
nav#menubar ul li#license a {
	color: #FF0;
}
nav#menubar ul li#license a:hover {
	color: #333;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	width: 980px;
	padding-top: 40px;
	margin: 0px auto;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: right;
	width: 720px;
	padding-bottom: 30px;
}
#main h2 {
	background: #0c0c0c;
	background: url(../images/bg_sprite.png) no-repeat 10px -128px, -webkit-gradient(linear, left top, left bottom, from(#313131), to(#0c0c0c));
	background: url(../images/bg_sprite.png) no-repeat 10px -128px, -webkit-linear-gradient(#313131, #0c0c0c);
	background: url(../images/bg_sprite.png) no-repeat 10px -128px, linear-gradient(#313131, #0c0c0c);
	-webkit-box-shadow: 1px 2px 4px rgba(0,0,0,0.2);
	box-shadow: 1px 2px 4px rgba(0,0,0,0.2);
	font-size: 100%;
	padding: 4px 15px 4px 40px;
	border-radius: 4px;
	clear: both;
	letter-spacing: 0.1em;
	color: #FFF;
	font-weight: normal;
}
#main h3 {
	font-size: 100%;
	color: #313131;
	border-bottom: 1px solid #c9c9c9;
	border-left: 4px solid #313131;
	background: #FFF;
	background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#FFF));
	background: -webkit-linear-gradient(#ebebeb, #FFF);
	background: linear-gradient(#ebebeb, #FFF);
	-webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 2px rgba(0,0,0,0.1);
	padding: 2px 0px 2px 11px;
	border-top: 1px solid #FFF;
	clear: both;
}
#main h3.type1 {
	border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #ff175e;
	background: transparent;
	font-size: 33px;
	font-weight: normal;
	letter-spacing: 0.1em;
}
#main h4 {
	font-size: 100%;
	color: #ff175e;
	border-left: 4px solid #ff175e;
	padding: 2px 0px 2px 11px;
}
#main p {
	padding: 0.5em 15px 1em;
}

/*main box1
---------------------------------------------------------------------------*/
#main .box1 {
	padding: 10px;
	border-radius: 4px;
	border: 1px solid #ccccba;
	background: rgba(255,255,255,1);
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	margin-bottom: 30px;
	clear: both;
	overflow: hidden;
}
#main .box1 ul.disc {
	padding: 0.5em 15px 0.5em 30px;
}
#main .box1 ul.disc li {
	padding-bottom: 0em;
}
#main .box1 h3.responsive {
	border: none;
	background: #17b7cf;
	background: url(../images/bg_temptype.png) no-repeat right -35px, -webkit-gradient(linear, left top, left bottom, from(#17b7cf), to(#009bb2));
	background: url(../images/bg_temptype.png) no-repeat right -35px, -webkit-linear-gradient(#17b7cf, #009bb2);
	background: url(../images/bg_temptype.png) no-repeat right -35px, linear-gradient(#17b7cf, #009bb2);
	border: 1px solid #009bb2;
	color: #FFF;
	padding-right: 90px;
}
#main .box1 h3.xhtml {
	border: none;
	background: #77cf17;
	background: url(../images/bg_temptype.png) no-repeat right -135px, -webkit-gradient(linear, left top, left bottom, from(#77cf17), to(#5cb200));
	background: url(../images/bg_temptype.png) no-repeat right -135px, -webkit-linear-gradient(#77cf17, #5cb200);
	background: url(../images/bg_temptype.png) no-repeat right -135px, linear-gradient(#77cf17, #5cb200);
	border: 1px solid #5cb200;
	color: #FFF;
	padding-right: 90px;
}
/*#main .box1 h3.cms {
	border: none;
	background: #f29418;
	background: url(../images/bg_sprite.png) no-repeat right -535px, -webkit-gradient(linear, left top, left bottom, from(#f29418), to(#db7c00));
	background: url(../images/bg_sprite.png) no-repeat right -535px, -webkit-linear-gradient(#f29418, #db7c00);
	background: url(../images/bg_temptype.png) no-repeat right -235px, linear-gradient(#f29418, #db7c00);
	border: 1px solid #db7c00;
	color: #FFF;
	padding-right: 70px;
}*/

/*member
---------------------------------------------------------------------------*/
#main #member {
	background-image: url(../images/member/img1.jpg);
	background-repeat: no-repeat;
	height: 290px;
	width: 720px;
	position: relative;
	border-radius: 4px;
	-webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 2px rgba(0,0,0,0.1);
}
#main #member p.btn1 a {
	font-size: 16px;
	line-height: 40px;
}

#main #member p {
	padding: 0 0 10px;
}
/*#main #member #license {
	width: 450px;
	position: absolute;
	left: 30px;
	top: 30px;
}
#main #member #elicense {
	width: 450px;
	position: absolute;
	left: 30px;
	top: 200px;
}*/


/*pointブロック
---------------------------------------------------------------------------*/
#main p.point,
#main div.point {
	background: #fff799;
	background: -webkit-gradient(linear, left top, left bottom, from(#fffcd9), to(#fff799));
	background: -webkit-linear-gradient(#fffcd9, #fff799);
	background: url(../images/bg_point.png) no-repeat right center, linear-gradient(#fffcd9, #fff799);
	border: 3px solid #ffb865;
	padding: 10px 70px 10px 10px;
	/*color: #ff8a00 !important;*/
	min-height: 60px;
	font-size: 12px;
	margin: 0px 15px;
}
#main p.point .color1,
p.point.color1,
#main div.point .color1,
div.point.color1 {
	color: #ff5400;
}

/*ページ内メニュー
---------------------------------------------------------------------------*/
#main ul.menu1 {
	margin-bottom: 30px;
	overflow: hidden;
/*	padding: 15px 0px 12px 10px;
	background: #FFF;
	border: solid 1px #ccc;
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
*/}
#main ul.menu1 li {
	float: left;
	width: 352px;
	border: 1px solid #ccccba;
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	margin-bottom: 5px;
}
#main ul.menu1 li:nth-child(odd) {
	width: 352px;
	margin-right: 10px;
}
#main ul.menu1 li a {
	background: #FFF;
	background: url(../images/bg_sprite.png) no-repeat -390px -30px, linear-gradient(#FFF, #e5e5e5);
	text-decoration: none;
	display: block;
	padding: 5px 0px 5px 25px;
}
#main ul.menu1 li#current a {
	background: #FF0 url(../images/bg_sprite.png) no-repeat -390px -30px;
	color: #ff175e;
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: left;
	width: 220px;
	padding-bottom: 30px;
}
#sub .kiyaku-btn a,
p.btn1 a,
#menubar2 .kiyaku-btn a {
	background: #ff175e;
	background: -webkit-gradient(linear, left top, left bottom, from(#ff92b3), to(#ff175e));
	background: -webkit-linear-gradient(#ff92b3, #ff447d 49%, #ff175e 50%);
	background: linear-gradient(#ff92b3, #ff447d 49%, #ff175e 50%);
	display: block;
	font-size: 20px;
	line-height: 60px;
	color: #FFF;
	text-decoration: none;
	text-align: center;
	border-radius: 4px;
	margin-bottom: 15px;
	border: 1px solid #ff175e;
	text-shadow: 0px -1px #ff175e;
	letter-spacing: 0.2em;
	-webkit-box-shadow: 1px 2px 5px rgba(198,18,73,0.5);
	box-shadow: 1px 2px 5px rgba(198,18,73,0.5);
}
#sub .kiyaku-btn a:hover,
p.btn1 a:hover {
	background: #ff175e;
	background: -webkit-gradient(linear, left top, left bottom, from(#ffb5da), to(#ff2271));
	background: -webkit-linear-gradient(#ffb5da, #ff499b 49%, #ff2271 50%);
	background: linear-gradient(#ffb5da, #ff499b 49%, #ff2271 50%);
	border: 1px solid #ff1669;
	left: 1px;
	top: 1px;
	position: relative;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#sub h2,
#sub h2.cms,
#menubar2 h2 {
	font-size: 100%;
	padding: 5px 0px;
	background: #737373;
	background: -webkit-gradient(linear, left top, left bottom, from(#737373), to(#595959));
	background: -webkit-linear-gradient(#737373, #595959);
	background: linear-gradient(#737373, #595959);
	border: 1px solid #595959;
	text-align: center;
	font-weight: normal;
	color: #FFF;
	border-radius: 4px 4px 0px 0px;
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
}
#sub h2.responsive,
#menubar2 h2.responsive {
	background: #17b7cf;
	background: -webkit-gradient(linear, left top, left bottom, from(#17b7cf), to(#009bb2));
	background: -webkit-linear-gradient(#17b7cf, #009bb2);
	background: linear-gradient(#17b7cf, #009bb2);
	border: 1px solid #009bb2;
}
#sub h2.xhtml,
#menubar2 h2.xhtml {
	background: #77cf17;
	background: -webkit-gradient(linear, left top, left bottom, from(#77cf17), to(#5cb200));
	background: -webkit-linear-gradient(#77cf17, #5cb200);
	background: linear-gradient(#77cf17, #5cb200);
	border: 1px solid #5cb200;
}
#sub h2.search {
	background: #f29418;
	background: -webkit-gradient(linear, left top, left bottom, from(#f29418), to(#db7c00));
	background: -webkit-linear-gradient(#f29418, #db7c00);
	background: linear-gradient(#f29418, #db7c00);
	border: 1px solid #db7c00;
}

/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
#sub nav ul,
#menubar2 ul {
	margin-bottom: 15px;
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
}
#sub nav ul li a,
#menubar2 ul li a {
	text-decoration: none;
	display: block;
	padding: 2px 10px;
	border-right: 1px solid #ccccba;
	border-left: 1px solid #ccccba;
	border-bottom: 1px solid #ccccba;
	background-color: #FFF;
}
#sub nav ul li a:hover,
#menubar2 ul li a:hover {
	color: #333;
	background: #fcff1a;
}

/*サブコンテンツ内のbannerブロック
---------------------------------------------------------------------------*/
#sub .banner p img {
	margin-bottom: 15px;
	border-radius: 4px;
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	color: #FFF;
	clear: both;
	width: 100%;
	font-size: 11px;
	text-align: left;
	-webkit-box-shadow: 0px -2px 8px rgba(0,0,0,0.3);
	box-shadow: 0px -2px 8px rgba(0,0,0,0.3);
	background: #0c0c0c;
	background: -webkit-gradient(linear, left top, left bottom, from(#0c0c0c), to(#262626));
	background: -webkit-linear-gradient(#0c0c0c, #262626);
	background: linear-gradient(#0c0c0c, #262626);
}
footer a {
	text-decoration: none;
	color: #FFF;
}
footer a:hover {
	color: #fcff1a;
}
footer small {
	text-align: center;
	background: #000 url(../images/bg_footerlogo.png) no-repeat center bottom;
	padding: 10px 0px 80px;
	display: block;
}
/*
---------------------------------------------------------------------------*/
#footermenu {
	overflow: hidden;
	width: 980px;
	margin: 0px auto;
	padding: 20px 0px;
}
#footermenu ul {
	float: left;
	width: 222px;
	border-right: 1px solid #333;
	height: 290px;
	padding: 5px 0px 0px 20px;
}
#footermenu h3 {
	font-size: 11px;
	color: #fcff1a;
	padding: 0px 0px 5px 5px;
}

#footermenu ul.bl {
	border-left: 1px solid #444;
}
#footermenu ul li {
	line-height: 20px;
	/*background: url(../images/bg_sprite.png) no-repeat 5px -40px;*/
	padding-left: 20px;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
dl#newinfo {
	padding: 5px 15px 0px;
/*	height: 130px;
	overflow: auto;*/
}
dl#newinfo dt {
	font-weight: bold;
	float: left;
	width: 150px;
}
dl#newinfo dd {
	border-bottom: 1px solid #b9b9b9;
	padding-left: 160px;
}
dl#newinfo dd img {
	vertical-align: middle;
}
dl#newinfo.ha {
	height: auto;
}
dl#newinfo dt.temp {
	background: url(../images/top/icon.png) no-repeat right 7px;
}
dl#newinfo dt.program {
	background: url(../images/top/icon.png) no-repeat right -92px;
}
dl#newinfo dt.tips {
	background: url(../images/top/icon.png) no-repeat right -202px;
}
dl#newinfo dt.check {
	background: url(../images/top/icon.png) no-repeat right -302px;
}
dl#newinfo dt.spj {
	background: url(../images/top/icon.png) no-repeat right -402px;
}
dl#newinfo dt.others {
	background: url(../images/top/icon.png) no-repeat right -502px;
}

/*一覧
---------------------------------------------------------------------*/
.tempbox {
	width: 100%;
	padding-bottom: 20px;
	overflow: hidden;
}
.tempbox .text strong {
	font-weight: normal;
}
.tempbox div {
	float: left;
	height: 150px;
	width: 144px;
	width: 139px;
	font-size: 10px;
	line-height: 1.8;
	text-align: center;
	display: inline;
}
.tempbox p {
	padding: 0px !important;
}
.tempbox img {
	border: 2px solid #d3d3d3;
}
.tempbox a:hover img {
	border: 2px solid #ff175e;
}
.tempbox a.downloadbtn {
	color: #FFF;
	background: #ff175e;
	background: -webkit-gradient(linear, left top, left bottom, from(#ff427c), to(#ff175e));
	background: -webkit-linear-gradient(#ff427c, #ff175e);
	background: linear-gradient(#ff427c, #ff175e);
	text-decoration: none;
	display: block;
	width: 100px;
	line-height: 16px;
	margin: 0px auto;
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.2);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.2);
}
.tempbox a:hover.downloadbtn {
	background: #000;
	left: 1px;
	top: 1px;
	position: relative;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.sampleimg img {
	border: 2px solid #d3d3d3;
	padding: 5px;
}
.sampleimg a:hover img {
	border: 2px solid #ff175e;
}

/*テーブル１
---------------------------------------------------------------------------*/
.ta1 {
	width: 100%;
	background-color: #FFF;
}
.ta1, .ta1 td, .ta1 th{
	border: 1px solid #CCC;	/*テーブルの枠線の幅、線種、色*/
	line-height: 2;
}
/*テーブル内の右側*/
.ta1 td{
	padding: 10px;
}
/*テーブル内の左側*/
.ta1 th{
	width: 180px;
	padding: 10px;
	text-align: center;
	background-color: #e2e2e3;	/*背景色*/
}
.ta1 th.tamidashi{
	width: auto;
	text-align: left;
	color: #FFF;
	background: #333;
	background: -webkit-gradient(linear, left top, left bottom, from(#4b4b4b), to(#333));
	background: -webkit-linear-gradient(#4b4b4b, #333);
	background: linear-gradient(#4b4b4b, #333);
}
.ta1 caption{
	padding: 10px;
	border-top: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
	text-align: left;
	background: #e9ddae;
	background: -webkit-gradient(linear, left top, left bottom, from(#efe6c5), to(#e9ddae));
	background: -webkit-linear-gradient(#efe6c5, #e9ddae);
	background: linear-gradient(#efe6c5, #e9ddae);
	font-weight: bold;
}
/*ボタンの設定*/
input[type="submit"].btn,
input[type="button"].btn,
input[type="reset"].btn {
	width: 250px;
	padding: 10px;
	background: #0c0c0c;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#e2e2e2));
	background: -webkit-linear-gradient(#FFF, #e2e2e2);
	background: linear-gradient(#FFF, #e2e2e2);
	-webkit-box-shadow: 1px 2px 4px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 4px rgba(0,0,0,0.1);
	border-radius: 30px;
	letter-spacing: 0.1em;
	margin-bottom: 20px;
	font-size: 16px;
	border: 1px solid #ccc;
}
/*ボタンのマウスオン時の設定*/
input[type="submit"].btn:hover,
input[type="button"].btn:hover,
input[type="reset"].btn:hover {
	background: #FFF;
}

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
}
#pagetop a {
	color: #FFF;
	font-size: 10px;
	background-color: #111;
	text-decoration: none;
	text-align: center;
	width: 12em;
	display: block;
	float: right;
	letter-spacing: 0.1em;
}
/*マウスオン時*/
#pagetop a:hover {
	background-color: #333;
	color: #FFF;
}

/*faq
---------------------------------------------------------------------------*/
dl.faq {
	padding: 0.5em 10px 2em;
}
dl.faq dt {
	font-weight: bold;
	background-image: url(../images/faq/faq_q.png);
	background-repeat: no-repeat;
	background-position: left top;
	padding-left: 25px;
	color: #F53D6C;
	margin-top: 1em;
}
dl.faq dd {
	background-image: url(../images/faq/faq_a.png);
	background-repeat: no-repeat;
	background-position: left top;
	padding-left: 25px;
}
dl.faq dd.pagetop {
	text-align: right;
	border-bottom: 1px solid #999;
	background-image: none;
	font-size: 11px;
}
dl.faq.bb {
	border-bottom: 1px solid #999;
}

/*dbページ（style_db2と同じ）
---------------------------------------------------------------------------
#contents .box1 {
	text-align: left;
	background-color: #FFF;
	padding: 10px;
	border: 1px solid #CCC;
}
#contents .serarch-check div {
	float: left;
	width: 25%;
	padding-bottom: 15px;
}
#contents .serarch-check.w50 div {
	width: 50%;
}*/

/*その他
---------------------------------------------------------------------------*/
.look {
	background: #dcdcdc;
}
.mb15,.mb1em {
	margin-bottom: 15px !important;
}
.mb30 {
	margin-bottom: 30px !important;
}
.clear {
	clear: both;
}
ul.disc {
	padding: 0.5em 15px 1em 30px;
	list-style: disc;
}
ol {
	padding: 0.5em 15px 1em 35px;
}
/*ul.disc li {
	padding-bottom: 1em;
}*/
.color1 {
	color: #ff175e;
}
.bg0 {
	background-color: #FFF !important;
	padding: 10px !important;
	margin: 0 15px 15px 15px;
	border-radius: 8px;
	-webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.1);
	box-shadow: 1px 2px 2px rgba(0,0,0,0.1);
}
.big1 {
	font-size: 20px;
}
.mini1 {
	font-size: 12px;
}
.fs100 {
	font-size: 14px !important;
}
.wl {
	width: 96%;
}
.ws {
	width: 50%;
}
.cgi,
.jido {
	background-color: #cad6e4;
	width: 35%;
}
.php {
	background-color: #cae4ca;
	width: 35%;
}
.c {
	text-align: center;
}
.r {
	text-align: right;
}
.vam {
	vertical-align: middle;
}
.p0 {
	padding: 0 !important;
}
.pb0 {
	padding-bottom: 0 !important;
}
img.fr {
	float: right;
	margin: 0px 0px 15px 10px;
}
img.fl {
	float: left;
	margin: 0px 10px 15px 0px;
}
figcaption {
	font-size: 11px;
}
#menubar_hdr,
#menubar2_hdr,
#menubar2 {
	display: none;
}
p.pagetop {
	text-align: right;
	clear: both;
}
.newicon {
	background: #F00;
	color: #FFF;
	font-size: 10px;
	padding: 0px 5px;
	border-radius: 2px;
	margin: 0px 5px;
}

/*ここからタブレット用環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (min-width:500px) and (max-width:767px){

/*container
---------------------------------------------------------------------------*/
#container {
	padding: 10px;
}

/*ヘッダー
---------------------------------------------------------------------------*/
header .inner {
	width: auto;
}
header .inner h1 {
	display: none;
}header #sitename {
	display: none;
}

/*トップページのmainimg
---------------------------------------------------------------------------*/
#mainimg aside {
	width: 100%;
	height: auto;
}

/*上部のメインメニュー
---------------------------------------------------------------------------*/
nav#menubar {
	height: auto;
	line-height: normal;
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	margin-bottom: 10px;
	overflow: hidden;
}
nav#menubar ul {
	width: auto;
	height: auto;
	border: none;
}
nav#menubar ul li {
	width: 50%;
	border: none;
	-webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 8px rgba(0,0,0,0.3);
	background: #0c0c0c;
	background: -webkit-gradient(linear, left top, left bottom, from(#313131), to(#0c0c0c));
	background: -webkit-linear-gradient(#313131, #0c0c0c);
	background: linear-gradient(#313131, #0c0c0c);
}
nav#menubar ul li a {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 10px 0px;
}
/*奇数番目のメニューの設定*/
nav#menubar ul li:nth-child(odd) a {
	border-right: 1px solid #555;
}
/*licenseメニュー*/
nav#menubar ul li#license {
	width: 50%;
}
/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	width: auto;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
}

/*
---------------------------------------------------------------------------*/
#footermenu {
	width: auto;
}
#footermenu ul {
	width: auto;
	border-right: none;
	height: auto;
	padding: 0px;
}
#footermenu ul li {
	width: 100%;
}

/*
---------------------------------------------------------------------------*/
img {
	max-width: 100%;
	height: auto;
}

}


/*ここからスマートフォン用環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width : 499px){

/*container
---------------------------------------------------------------------------*/
#container {
	padding: 10px;
}

/*ヘッダー
---------------------------------------------------------------------------*/
header .inner {
	width: auto;
	height: 80px;
}
header .inner h1 {
	display: none;
}
header #sitename {
	display: none;
}
header .inner #logo {
	position: static;
}
header .inner #logo img {
	width: 80%;
	height: auto;
}

/*トップページのmainimg
---------------------------------------------------------------------------*/
#mainimg aside {
	width: 100%;
	height: auto;
}

/*上部のメインメニュー
---------------------------------------------------------------------------*/
nav#menubar {
	height: auto;
	line-height: normal;
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	overflow: hidden;
}
nav#menubar ul {
	width: auto;
	height: auto;
	border: none;
}
nav#menubar ul li {
	width: 100%;
	border: none;
	-webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 8px rgba(0,0,0,0.3);
	background: #0c0c0c;
	background: -webkit-gradient(linear, left top, left bottom, from(#313131), to(#0c0c0c));
	background: -webkit-linear-gradient(#313131, #0c0c0c);
	background: linear-gradient(#313131, #0c0c0c);
}
nav#menubar ul li a {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 10px 0px;
}
/*licenseメニュー*/
nav#menubar ul li#license {
	width: 100%;
}
#sub .kiyaku-btn,
#sub nav:nth-child(2),
#sub nav:nth-child(3),
#sub nav:nth-child(4) {
	display: none;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	width: auto;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
}
#sub {
	display: none;
}
#top #sub {
	display: block;
}
#main h3.type1 {
	font-size: 18px;
}
#main h3, #main h3 {
	line-height: 1.6;
}
/*
---------------------------------------------------------------------------*/
#footermenu {
	width: auto;
}
#footermenu ul {
	width: auto;
	border-right: none;
	height: auto;
	padding: 0px;
}
#footermenu ul li {
	width: 100%;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
dl#newinfo {
	padding: 5px 15px 0px;
}
dl#newinfo dt {
	font-weight: bold;
	float: none;
	width: auto;
}
dl#newinfo dd {
	border-bottom: 1px solid #b9b9b9;
	padding-left: 0px;
}

/*テーブル１
---------------------------------------------------------------------------*/
/*テーブル内の右側*/
.ta1 td{
	width: auto;
	padding: 2px;
}
/*テーブル内の左側の見出し部分*/
.ta1 th{
	width: 100px;
	padding: 2px;
}

/*その他
---------------------------------------------------------------------------*/
img {
	max-width: 100%;
	height: auto;
}
/*メニュー折りたたみ設定
#top #menubar_hdr,
#top #menubar_hdr2 {
	display: none;
}*/
#menubar_hdr {
	display: inline;
	position: absolute;
	top: 0px;
	right: 10px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#e5e5e5));
	background-image: -webkit-linear-gradient(#fbfbfb, #e5e5e5);
	background-image: linear-gradient(#fbfbfb, #e5e5e5);
	padding: 10px;
	border: 1px solid #cfcfcf;
	border-radius: 0px 0px 6px 6px;
}

#menubar2_hdr {
	display: block;
	border: 1px solid #000;
	text-shadow: 0px -1px #000;
	padding: 8px 0px;
	font-size: 100%;
	color: #FFF;
	text-align: center;
	margin-bottom: 30px;
}
#menubar2_hdr.open {
	background: url(../images/btn_minus.png) no-repeat right center, -webkit-gradient(linear, left top, left bottom, from(#000), to(#444));
	background: url(../images/btn_minus.png) no-repeat right center, -webkit-linear-gradient(#000, #444);
	background: url(../images/btn_minus.png) no-repeat right center, linear-gradient(#000, #444);
}
#menubar2_hdr.close {
	background: url(../images/btn_plus.png) no-repeat right center, -webkit-gradient(linear, left top, left bottom, from(#444), to(#000));
	background: url(../images/btn_plus.png) no-repeat right center, -webkit-linear-gradient(#777, #444 49%, #000 50%);
	background: url(../images/btn_plus.png) no-repeat right center, linear-gradient(#777, #444 49%, #000 50%);
}
#menubar2 {
	display: block;
}

}
