@charset "UTF-8";

@import "reset.css";
@import "base.css";

body {
	background: url(../images/bg.jpg) repeat;
	text-align: justify;
	text-justify: inter-ideograph;
	-webkit-text-size-adjust: 100%;
	color: #444444;
	word-wrap: break-word;
  	overflow-wrap: break-word;
}
#headerInner, #container, #footerInner {
	margin: 0 auto;
	width: 960px;
}
img {
	max-width: 100%;
	height: auto;
}
a img {
	height: auto;
}
.telLink a {
	text-decoration: none;
	font-weight: bold;
	color: #9e3438;
}
@media screen and (max-width: 980px) {
	#headerInner, #container, #footerInner {
		width: 100%;
		padding: 0 30px;
	}
}
@media screen and (max-width: 480px) {
	#headerInner, #container, #footerInner {
		padding: 0 5%;
	}
}

/* =====================================================================
 * header
 * =================================================================== */
#headerInner {
	position: relative;
	padding-top: 30px;
	height: 525px;
}
h1 {
	margin-bottom: 40px;
	width: 194px;
	height: 144px;
}
h1 a {
	display: block;
	width: 194px;
	height: 144px;
	background: url(../images/logo.svg) no-repeat;
	background-size: 100%;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
@media screen and (max-width: 767px) {
	header {
		margin-top: 40px;
	}
	#headerInner {
		height: 390px;
	}
	h1, h1 a {
		width: 175px;
		height: 130px;
	}
}
@media screen and (max-width: 530px) {
	#headerInner {
		height: 330px;
		padding-top: 25px;
	}
	h1, h1 a {
		width: 162px;
		height: 120px;
	}
}
@media screen and (max-width: 413px) {
	#headerInner {
		height: 315px;
	}
	h1, h1 a {
		width: 155px;
		height: 115px;
	}
}

/* =====================================================================
 * globalnavi
 * =================================================================== */
#naviBox {
	float: left;
	width: 180px;
}
ul#g-navi {
	margin: 0 auto;
	width: 168px;
	height: 130px;
}
ul#g-navi li {
	float: right;
	overflow: hidden;
}
ul#g-navi li a {
	display: block;
	width: 56px;
	height: 130px;
	background: url(../images/navi2020.svg) no-repeat;
	text-indent: 200%;
	white-space: nowrap;
	overflow: hidden;
}
/*韃靼蕎麦とは*/
ul#g-navi #gn-about a {
	background-position: -112px 0px;
}
#about ul#g-navi #gn-about a,
ul#g-navi #gn-about a:hover {
	background-position: -112px -130px;
}
/*商品*/
ul#g-navi #gn-products a {
	background-position: -56px 0px;
}
#products ul#g-navi #gn-products a,
ul#g-navi #gn-products a:hover {
	background-position: -56px -130px;
}
/*ご注文*/
ul#g-navi #gn-order a {
	background-position: 0 0;
}
#order ul#g-navi #gn-order a,
ul#g-navi #gn-order a:hover {
	background-position: 0 -130px;
}
.slicknav_menu {
    display: none;
}
@media screen and (max-width: 980px) {
	ul#g-navi {
		position: relative;
		top: -20px;
	}
}

/* =====================================================================
 * container
 * =================================================================== */
#container {
	clear: both;
	position: relative;
	margin-bottom: 90px;
}

/* =====================================================================
 * main
 * =================================================================== */
h2 {
	position: absolute;
	top: -150px;
}
h3 {
	text-align: center;
}
h4 {
	margin-bottom: 12px;
	font-size: 131%;
	font-weight: bold;
	color: #a37a44;
	text-align: left;
	line-height: 1.6;
}
h4 span {
	display: inline-block;
	font-weight: bold;
}
.articleBoxL {
	width: 500px;
}
.articleBoxS {
	width: 420px;
}
.articleBoxSS {
	width: 320px;
}
.imgBoxL {
	float: left;
}
.imgBoxR {
	float: right;
}
section {
	clear: both;
	margin-bottom: 45px;
	padding-bottom: 50px;
	background: url(../images/dotline.gif) repeat-x bottom;
}
section.bdnone {
	margin: 0;
	padding: 0;
	background: none;
}
section.rubi {
	margin-bottom: 30px;
}
.subtxt {
	margin-bottom: 35px;
	font-size: 138.5%;
	text-align: center;
}
.subtxt br {
	display: none;
}
/* ご注文 */
.border-end {
	margin: 0;
	padding-bottom: 35px;
}
.webOrder {
	position: relative;
	margin-bottom: 20px;
	width: 470px;
	border: solid 1px #82292d;
}
.webOrder h4 {
	width: 100%;
	height: 44px;
	background-color: #82292d;
	text-align: center;
}
.webOrder h4#teikibin {
	padding-right: 160px;
}
.box {
	padding: 8px 15px 20px;
}
.detail {
	display: table;
	margin-bottom: 25px;
}
/*
.teikibinWrap {
	margin-bottom: 28px;
}
*/
.detail dt, .detail dd {
	display: table-cell;
	vertical-align: top;
}
.detail dt {
	padding-right: 10px;
}
.detail dd {
	position: relative;
	top: 5px;
}
.teikibinDetail ul + ul {
	margin-top: 16px;
	padding-top: 22px;
	border-top: dashed 1px #82292d;
}
.teikiOrder {
	display: inline-block;
	margin-bottom: 11px;
	padding: .35em 0;
	width: 7.2em;
	border: solid 1px #82292d;
	text-align: center;
	line-height: 1;
	font-size: 116%;
	color: #82292d;
}
.price {
	line-height: 1.1;
	font-size: 277%;
	color: #82292d;
}
.postage {
	font-size: 85%;
	color: #444444;
}
.quantity {
	margin: 12px 0;
	font-size: 131%;
}
.notes {
	padding: 0 5px;
}
.notes li, .aboutTeiki li, #regularService li {
	margin-left: 18px;
	list-style-type: disc;
}
p.otoku, p.otoku2, p.muryo, p.shokaihangaku {
	position: absolute;
	top: -18px;
	right: 17px;
}
p.otoku2 {
	right: 9px;
}
p.shokaihangaku {
	right: 89px;
}
#tel {
	float: left;
	padding-left: 40px;
}
#fax {
	float: right;
	padding: 0 43px 0 40px;
	border-left: solid 1px #aaaaaa;
}
.telfax dt {
	margin-bottom: 3px;
	font-size: 153.9%;
}
.telfax dd:last-of-type {
	margin-top: 13px;
}
#productList {
	margin-bottom: 38px;
	padding-bottom: 0;
	background: none;
}
.aboutTeiki {
	clear: both;
	margin-bottom: 3px;
	padding: 0 5px;
}
.aboutTeiki dt {
	font-size: 123.1%;
	font-weight: bold;
	color: #9e3438;
}
.aboutTeiki dt span {
	display: inline-block;
	font-weight: bold;
}
.order {
	font-size: 161.6%;
	font-weight: bold;
	color: #9e3438;
	line-height: 1.4;
}
.order span {
	font-weight: bold;	
}
.order br {
	display: none;
}
.caution {
	clear: both;
	text-align: center;
	font-size: 93%;
}
#trial .webOrder {
	position: relative;
	width: 100%;
	border: solid 1px #82292d;
}
#trial {
	margin-bottom: 45px;
	padding-bottom: 40px;
}
#trial .box {
	display: table;
}
.otegaruset, .detailBox {
	display: table-cell;
	vertical-align: top;
}
.otegaruset {
	width: 185px;
	vertical-align: middle;
}
.detailBox {
	padding-top: 5px;
}
.detail2 li {
	display: inline-block;
	vertical-align: bottom;
}
#trial .quantity {
	margin: 0 12px 0 0;
	font-size: 131%;
}
.cartBtn {
	margin: 6px 0 0 5px;
}
#trial .notes {
	margin-top: 17px;
	padding: 0;
}
.button {
	width: 342px;
}
.button a {
	display: inline-block;
	margin-bottom: 10px;
	padding: 7px 15px 6px;
	width: 100%;
	text-align: center;
	text-decoration: none;
	outline: none;
	background: #ffffff;
	background: -moz-linear-gradient(top,#ffffff 0%,#dddddd);
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dddddd));
	background: linear-gradient(to bottom,#ffffff 0%,#eeeeee);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dddddd', GradientType=0)";
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
.button img {
	position: relative;
	top: 4px;
}
@media screen and (max-width: 980px) {
	#container {
		margin-bottom: 35px;
	}
	h2 {
		top: -183px;
	}
	section {
		margin-bottom: 33px;
		padding-bottom: 40px;
	}
	.subtxt {
		margin-bottom: 25px;
	}
	.subtxt span {
		display: inline-block;
	}
	.articleBoxL, .articleBoxS, .articleBoxSS {
		width: 100%;
	}
	.imgBoxL, .imgBoxR {
		float: none;
		margin-bottom: 30px;
		text-align: center;
	}
	section.border-end {
		padding-bottom: 25px;
	}
	#trial {
		margin-bottom: 32px;
		padding-bottom: 35px;
	}
	.webOrder {
		width: 49.1%;
	}
	.webOrder h4#teikibin {
		padding-right: 0;
	}
	.detail {
		display: inherit;
		text-align: center;
	}
	.detail dt, .detail dd {
		display: inline-block;
	}
	.detail dt {
		padding-right: 0;
	}
	.detail dt img {
		width: 280px;
	}
	p.otoku, p.otoku2, p.shokaihangaku {
		top: 70px;
		right: 15px;
	}
	p.otoku2 {
		top: 156px;
	}
	.teikibinWrap .teikiOrder {
		width: 100%;
	}
	#trial .box {
		padding: 8px 70px 20px;
	}
	#trial .detail2 {
		text-align: left;
	}
	#trial .quantity {
		display: block;
		margin-bottom: 5px;
	}
	#trial .cartBtn {
		display: block;
		margin-left: 0;
	}
	.otegaruset {
		width: 220px;
	}
	.otegaruset img {
		width: 200px;
	}
	.cartBtn {
		margin: 12px 0 0 5px;
	}
	.aboutTeiki dt {
		margin-bottom: 3px;
		line-height: 1.4;
	}
	#tel, #fax {
		float: none;
		padding: 0;
		border: none;
		text-align: center;
	}
	#fax {
		margin-top: 25px;
		padding-top: 25px;
		border-top: solid 1px #aaaaaa;
	}
	#fax dd {
		display: inline-block;
		vertical-align: bottom;
		padding: 0 10px;
	}
	.button a {
		margin-bottom: 0;
	}
}
@media screen and (max-width: 767px) {
	#container {
		margin-bottom: 30px;
	}
	h2 {
		top: -200px;
	}
	h2 img {
		width: 160px;
		height: auto;
	}
	.webOrder {
		float: none;
		width: 100%;
	}
	.webOrder h4#teikibin {
		padding-right: 123px;
	}
	p.otoku, p.otoku2, p.shokaihangaku {
		top: -18px;
	}
	p.shokaihangaku {
		right: 96px;
	}
	#trial .box {
		padding: 8px 15px 20px;
	}
	.otegaruset {
		width: 210px;
	}
	.aboutTeiki dt, .caution {
		text-align: left;
	}
	.caution br {
		display: none;
	}
	#fax dd:last-of-type {
		padding: 0;
	}
	.button {
		width: 100%;
	}
	.button a {
		margin-bottom: 10px;
	}
}
@media screen and (max-width: 530px) {
	#container {
		margin-bottom: 20px;
	}
	h2 {
		top: -165px;
	}
	h2 img {
		width: 138px;
		height: auto;
	}
	.newline {
		display: block;
	}
	.webOrder h4#teikibin {
		padding-right: 0;
	}
	p.otoku, p.otoku2, p.muryo, p.shokaihangaku {
		top: 75px;
		right: 15px;
	}
	p.otoku2 {
		top: 158px;
	}
/*
	.teikiOrder {
		font-size: 108%;
	}
*/
	#trial .box, .otegaruset, .detailBox {
		display: inherit;
	}
	.detail dt {
		margin-bottom: 5px;
	}
	.detail dd {
		position: static;
	}
	#trial .notes {
		padding: 0 5px;
	}
	.otegaruset {
		margin: 5px auto 10px;
	}
	.detail2 li {
		display: block;
		text-align: center;
	}
}
@media screen and (max-width: 480px) {
	#container {
		font-size: 116%;
	}
	.subtxt {
		font-size: 123.1%;
		line-height: 1.7;
	}
	.detail dd a img, .cartBtn a img {
		width: 220px;
		height: auto;
	}
	.price {
		font-size: 262%;
	}
	.telfax dt {
		font-size: 146.5%;
	}
	.button {
		font-size: 85%;
	}
}
@media screen and (max-width: 413px) {
	h2 {
		top: -157px;
	}
	h2 img {
		width: 130px;
		height: auto;
	}
	.order br {
		display: inherit;
	}
	p.otoku, p.muryo {
		top: 60px;
	}
}
@media screen and (max-width: 320px) {
	.subtxt br {
		display: inherit;
	}
	.webOrder h4 {
		height: 40px;
	}
	.webOrder h4 img {
		width: auto;
		height: 40px;
	}
	.aboutTeiki dt {
	}
}

/* =====================================================================
 * footer
 * =================================================================== */
footer {
	clear: both;
	padding-bottom: 35px;
}
footer small {
	display: block;
	text-align: center;
}
#pagetop {
	display: none;
	position: fixed;
	bottom: 40px;
	right: 40px;
}
#pagetop a {
	display: block;
}
@media screen and (max-width: 980px) {
	#pagetop {
		display: inherit;
		position: static;
	}
	#pagetop a {
		margin: 0 auto 20px;
		width: 60px;
		height: 60px;
	}
}
@media screen and (max-width: 767px) {
	footer {
		padding-bottom: 20px;
	}
	#pagetop a  {
		width: 46px;
		height: 46px;
	}
}