@charset "utf-8";
img{
	vertical-align: bottom;
}
ul{
	list-style-type: none;
}
/*-----ここからPC用の広さ（幅952px以上）のときのスタイル-----*/
@media screen and (min-width : 952px) {
	/*ここからページレイアウト用*/
	.mobile_sub_menu{
		display: none;
	}
	#main_content{
		width: 952px;
		margin-left: auto;
		margin-right: auto;
		padding-top: 10px;
		/* padding-bottom: 20px; */
		display: flex;
		flex-direction:row-reverse;
		background-color: #fff;
	}
	main {
		width: 718px;
		padding-top: 10px;
		padding-right: 12px;
		padding-left: 12px;
	}
	aside {
		width: 185px;
		padding-top: 10px;
		padding-right: 12px;
		padding-left: 13px;
		/* background-color: #f4f4f4; */
		background-image: url(../images/a19.png);
		background-attachment: fixed;
	}
	#flashtitle {
		width: 952px;
		margin-left: auto;
		margin-right: auto;
		padding-top: 30px;
		padding-bottom: 10px;
		box-sizing: border-box;
		padding-left: 15px;
		border-bottom: 2px solid #99f;
	}
	/*ここまでページレイアウト用*/

	/*メインコンテンツ部分*/
	#works ul {
	clear:both;
		margin-top: 15px;
	}
	#works ul li {
		display: inline;
		float: left;
		margin-left: 15px;
		margin-bottom:10px;
		border:solid 1px #999999;
	}
	#works p{
		margin-bottom:15px;
		text-indent:15px;
		}
	.clear_float{
		clear:both;
		text-align:right;
	}
	#works h3 {
		clear:both;
		margin-top:15px;
		color: #009966;
		margin-bottom: 10px;
	}
	img{
		border-width: 0px;
		border-style: none;
	}
	/*#works h4 {
		background-color: #efefef;
		text-align: center;
		font-size: medium;
		font-weight: normal;
		padding-top:2px;
	}*/
	/*ここまでメインコンテンツ部分*/


	/*ここからサブナビ用*/
	aside ul li a {
		text-indent: -9999px;
		display: block;
	}
	li a#necklink1,li a#necklink2,li a#necklink3 {
		height: 35px;
		width: 185px;
		background-repeat: no-repeat;
		background-position: left top;	
	}
	li a#necklink1{
		background-image: url(images/neck_btn1.png);
	}
	li a#necklink2{
		background-image: url(images/neck_btn2.png);
	}
	li a#necklink3{
		background-image: url(images/neck_btn3.png);
	}
	li a#necklink1:hover,li a#necklink2:hover,li a#necklink3:hover{
		background-position: left bottom;
	}
	.necktiepage li a#necklink1,.tiepin li a#necklink2,.watch li a#necklink3 {
		background-position: left bottom;	
	}
	/*ここまでサブナビ用*/

	/*プラグインバナー用*/
	li a#adobebanner2 {
		height: 39px;
		width: 158px;
		background-image: url(../images/get_adobe_flash_player.png);
		background-repeat: no-repeat;
		background-position: left top;
		margin-top: 15px;
		margin-left: 13px;
	}
	/*ここまでプラグインバナー用*/
	.flo_left {
		float: left;
	}
	.flo_rakuten {
		float: left;
		padding-right: 5px;
	}
	#sub .rakuten {
		margin-top: 15px;
		height: 60px;
		vertical-align: middle;
	}
	#sub .afferi {
		text-align: center;
		margin-top: 15px;
	}
}

/*-----ここからスマホ用の広さ（幅951px以下）のときのスタイル-----*/
@media screen and (max-width : 951px) {
	aside{
		display: none;
	}
	.slicknav_menu li span{
		display: none;
	}
	#flashtitle{
		margin-top: 55px;
		padding-top: 30px;
		padding-bottom: 10px;
	}
	.mobile_sub_menu{
		position: static;
	}
	.sub_menu{
		border-top: 1px solid #666;
		width:100%;
		display: block;
	}
	.sub_menu li{
		border-bottom: 1px solid #666;
		text-align: center;
		padding: 10px 0;
	}
	.sub_menu li a{
		
		color: #000;
		text-decoration: none;
	}
	#viewtheader{
		padding-top: 50px;
		text-align: center;
	}
	#mainheader{
		padding-top: 50px;
		text-align: center;
	}
	.main_txt{
		margin-top: 30px;
		margin-bottom: 30px;
	}
	#works p,#works h3,#works ul{
		margin-left: 15px;
		margin-right: 10px;
	}
	#flashtitle,footer{
		padding-left: 15px;
	}
	#works ul {
		clear:both;
			margin-top: 15px;
		}
		#works ul li {
			display: inline;
			float: left;
			margin-left: 15px;
			margin-bottom:10px;
			border:solid 1px #999999;
		}
		#works p{
			margin-bottom:15px;
			text-indent:15px;
			}
		.clear_float{
			clear:both;
			text-align:right;
		}
		#works h3 {
			clear:both;
			margin-top:15px;
			color: #009966;
			margin-bottom: 10px;
		}
		img{
			border-width: 0px;
			border-style: none;
		}
}