@charset 'utf-8';
/*  
Theme Name: BasicPack
Theme URI: http://www.abfactory.ne.jp/
Description: The original theme that to make Web Site that is not blog.
Version: 1.0
Author: ogata
Author URI: http://www.abfactory.ne.jp/
*/

/* YUI */
@import 'reset.css';
@import 'base.css';
@import 'fonts.css';

/* This theme style */
@import 'theme.css';


@media screen and (max-width: 760px) {
	body {
		background: #e6d7c5;
	}
	
	img {
		max-width: 100%;
		height: auto;
		vertical-align: bottom;
	}
	
	input[type="text"],
	textarea {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		max-width: 100%;
		width: auto;
	}
	
	div ~ br,
	p ~ br,
	br.clear {
		display: none;
	}
	
	div#container {
		background: #fff;
		background: url(images/header_back.gif) no-repeat 50% 0, url(images/back.gif) no-repeat 50% 100%, url(images/repeat_back.gif) repeat-y 0 #fff;
		-webkit-background-size: 100% auto;
		background-size: 100% auto;
		width: auto;
		padding: 15px;
	}
	
	/*=== Header ===*/
	div#header {
		background: none;
		margin: 0 0 5px;
	}
	
	div#header h1 {
		margin: auto;
		padding: 0;
	}
	
	div#global-nav,
	div#sub-nav {
		position: static;
		width: auto;
		text-align: center;
	}
	
	div#global-nav li,
	div#sub-nav li {
		float: none;
		list-style: none;
		display: inline-block;
		width: auto;
		margin: 0 5px;
	}
	
	div#global-nav li a,
	div#sub-nav a {
		background: none;
		color: inherit;
		width: auto;
		height: auto;
		font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
		text-decoration: none;
		text-indent: 0;
	}
	
	div#sub-header {
		margin: 0 -12px;
		padding: 0;
	}
	
	h2#h2_01 {
		-webkit-background-size: 100% auto;
		background-size: 100% auto;
		width: auto;
		height: auto;
		margin: 0;
	}
	
	h2#h2_01 a {
		width: auto;
		height: 0;
		padding-top: 22.8%;
	}
	
	/*=== Footer ===*/
	div#footer {
		background: none;
		margin-top: 10px;
		padding-bottom: 0;
	}
	
	div#footer p {
		padding: 0;
	}
	
	/*=== Contents ===*/
	div#content {
		min-height: 0;
		padding: 0;
	}
	
	#news li a {
		display: block;
	}
	
	.product-data,
	.product-data2,
	.hanpu {
		width: 100%!important;
	}
	
	table.product-data th,
	table.product-data2 th {
		white-space: normal;
	}
	
	table.product-data2 th:nth-child(2) {
		width: 6em;
	}
	
	table.layout,
	table.layout > tbody,
	table.layout > tbody >tr,
	table.layout > tbody > tr > th,
	table.layout > tbody > tr > td,
	form table,
	form tbody,
	form tr,
	form th,
	form td {
		display: block;
		width: auto;
	}
	
	
	form th {
		text-align: center;
		margin: -1px 0;
	}
}