@charset "utf-8";

@media screen and (max-width: 767px) {
	#main.product {
	padding-top: 100px;
	}
}
section.heading {
	padding: 20px 0 23px 11%;
	margin-bottom: 75px;
	background-color: #F5F1ED;
}
.heading span {
	margin-bottom: 0;
}
.heading h1 {
	font-size: 33px;
	font-weight: normal;
}
.heading .sub_cmn_title02{
	font-size: 14px;
    margin-top: 5px;
}
@media screen and (max-width: 767px) {
	section.heading  {
		margin-bottom: 30px;
	}
	.heading h1 {
		margin-bottom: 0px;
	}
}

main.product .inner	{
	max-width: 1100px;
	display: flex;
	justify-content: space-between;
}

/* aside */
aside#side {
	width: 26%;
	max-width: 260px;
}
#side .title {
	border-top: 2px solid #5D4518;
	border-bottom: 2px solid #5D4518;
	color: #5D4518;
	font-weight: bold;
	font-size: 18px;
	padding: 10px 0;
	margin-bottom: 27px;
}
/* search */
section.search_area{
	margin-bottom: 42px;
}
.search-form-wrap {
	text-align: center;
}

input.search_box {
	border: 1px solid #ddd;
	padding: 5px;
	max-width: 70%;
}
input.search_btn {
	line-height: 35px;
	background: #5D4518;
	color: #fff;
	width: 55px;
	text-align: center;
	border: none;
	border-radius: 18px;
}

@media screen and (max-width: 767px) {
	input[type=search],input[type=submit] {
		    -webkit-appearance: none;
	}

	main.product .inner	{
		flex-direction: column;
	}
	main.product.detail .inner	{
		flex-direction: column-reverse;
	}
	aside#side {
		width: 100%;
		max-width: none;
	}
	input.search_box {
		width: 70%;
	}
}
/*カテゴリ一覧*/
section.cat_area{}
#category {
	line-height: 1.4;
	font-size: 15px;
}
#category a {
    color: #000;
    font-weight: bolder;
}
#category a:hover {
    color: #ffffff;
}
ul#menu {
}
#menu .main_menu{
	padding: 15px 26px 15px 7%;
    background-color: #F7F7F7;
    font-weight: bold;
    text-indent: 10;
    display: block;
    position: relative;
    font-size: 1.4rem;
}
#menu .main_menu::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 1px #5D4518;
    border-right: solid 1px #5D4518;
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -6px;
}
#menu .main_menu:last-child::before {
	content: none;
}

#menu .open::before {
    -ms-transform: rotate(315deg);
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    margin-top: -3px;
}

#menu .main_menu:hover ,#menu .open {
    background-color: #5D4518;
    color: #FFF;
}
#menu .main_menu:hover::before ,#menu .open::before{
    border-top: solid 1px #ffffff;
    border-right: solid 1px #ffffff;
}
#menu .sub_menu {
	padding: 10px 0;
	font-size: 1.4rem;
}
#menu .sub_menu li a{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    display: block;
    position: relative;
}
#menu .sub_menu li a::before{
    content: '';
    width: 10px;
    height: 0;
    border-top: solid 1px #5D4518;
    position: absolute;
    top: 50%;
    left: 0;
    margin-left: 20px;
}
#menu .sub_menu li a:hover{
    background-color: #5D4518;
}

/* スマホ用にカテゴリをプルダウンに切替 */
#pulldown_menu  {
	text-align: center;
}
#pulldown_menu select {
	display: block;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 700;
	color: #444;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%; 
	box-sizing: border-box;
	margin: 0 auto 45px auto;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('../img/common/arrow_pulldown.svg'),
	linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}
#pulldown_menu select::-ms-expand {
	display: none;
}
#pulldown_menu select:hover {
	border-color: #888;
}
#pulldown_menu select:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222; 
	outline: none;
}
#pulldown_menu select option {
	font-weight:normal;
}

/*contents*/
article#contents {
	width: 72%;
}
ul.breadcrumb {
	margin-bottom: 15px;
}
.breadcrumb li {
	display: inline-block;
	font-size: 13px;
	color: #999;
}
.breadcrumb li:after {
	content: "　＞　";
	font-size: 10px;
}
.breadcrumb li:last-child:after {
	content: none;
}
.breadcrumb li a {
	color: #666;
}

section.title {}
.title h2 {
	background: #5D4518;
	padding: 5px 20px;
	font-weight: bold;
	font-size: 26px;
	color: #fff;
	margin-bottom: 25px;
}

/*ページナビ*/
#wp_pagenavi {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  font-size: 14px;
 }
 .all_post_num {
 	line-height: 30px;
 	padding-right: 10px;
 	font-weight: bolder;
 }
.wp-pagenavi {
  display: flex;
  justify-content: flex-end;
  text-align: center;
  letter-spacing: 0;
}
.wp-pagenavi .current {
  background: #5D4518;
  border: solid 1px #333;
  color: #fff;
}
.wp-pagenavi .pages {
  border: none;
}
.wp-pagenavi a.page {
  border: solid 1px #5D4518;
}
.wp-pagenavi a {
  margin: 0 2px;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 15px;
  display: inline-block;
  text-align: center;
  color: #5D4518;
}
.wp-pagenavi a:last-child {
  margin-left: 10px;
}
.wp-pagenavi span {
  margin: 0 6px;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 15px;
  display: inline-block;
  border: solid 1px #5D4518;
  text-align: center;
}
@media screen and (max-width: 767px) {
	article#contents {
			width: 100%;
	}
	.title h2 {
		font-size: 18px;
		padding: 5px 10px;
	}
	#wp_pagenavi {
		font-size: 12px; 
	}
	.wp-pagenavi span {
  		margin: 0 3px;
	}
}



section.product_list {
	display: flex;
	flex-wrap: wrap;
}

.product_listBox {
	width: 23%;
	margin-right: 2.6%;
	margin-bottom: 40px;
	text-align: center;
}

.product_listBox:nth-child(4n) {
	margin-right: 0;
}

.product_listBox figure {
	margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
	.product_listBox {
		width: 48%;
		margin-right: 4%;
		margin-bottom: 20px;
	}
	.product_listBox:nth-child(even) {
		margin-right: 0;
	}
}



section.cat_table {
	margin-bottom: 35px;
	line-height: 1.4;
}
.cat_table table {
	width: 100%;
	letter-spacing: 0;
}
.cat_table thead {
	border-top: #292929 1px solid;
	border-bottom: #292929 1px solid;
}
.cat_table th {
	text-align: center;
	padding: 15px 0;
	font-weight: bold;
}
.cat_table th.code { width:10%  }
.cat_table th.name {  }
.cat_table th.num { width:18% }
.cat_table th.brand { width:18% }
.cat_table th.save { width:10%;}


.cat_table td span {
	display: inline-block;
	color: #fff;
	background: #BCB89D;
	line-height: 21px;
	padding: 2px 6px;
	text-align: center;
	font-weight: normal;
}
.cat_table td span.frozen { /*冷凍*/
	background: #569BBF;
}
.cat_table td span.dry { /*乾物*/
	background: #D68B25;
}
.cat_table td span.chilled { /*チルド*/
	background: #B7C646;
}
.cat_table td span.etc { /*その他*/
	background: #989894;
}

.cat_table th:nth-child(even),
.cat_table td:nth-child(even) {
	background: #F7F7F7;
}

.cat_table td {
	border-bottom: 1px solid #EBEBEB;
	text-align: center;
	padding: 15px 10px;
}

.cat_table td a {
	text-decoration: underline;
	display: block;
	width: 100%;
	height: 100%;
	font-weight: bold;
}
.cat_table td:nth-child(2) {
	text-align: left;
}
@media screen and (max-width: 767px) {
	.cat_table thead {
		display: none
	}
	.cat_table table { 
		border-top: 1px solid #EBEBEB;
	}
	.cat_table th,.cat_table td {
		display: block;
		width: 100%;
	}
	.cat_table td:first-child {
		border-top: #292929 1px solid;
		border-bottom: #292929 1px solid;
		font-weight: bold;
		text-align: center;
	}
	.cat_table td {
		padding: 5px 0;
	}
	.cat_table td:nth-child(2) {
		text-align: center;
		font-size: 16px;
	}
	.cat_table td:last-child {
		padding: 5px 0 15px 0;
	}
}

/*商品詳細*/
section.detail {
	display: flex;
	justify-content: space-between;
}
.detail .photo_area	{
	width: 44%;
}
figure img {
	border: 1px solid #C7C7C7;
}
.detail .photo_area	{
	width: 44%;
	margin-bottom: 30px;
	padding-top: 300px; /* 画像の高さ */
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
.detail .photo_area::after{/* 3カラムの場合の対応策 */
 content:"";
 display: block;
 width:30%;
}
.photo_area > img {
	position: absolute;
	left: 0;
	top: 0;
	transition: all 0.5s;
	width: 340px;
	height: 300px;
	object-fit: contain;
    object-position: 50% 0;
}
.photo_area input[name='gallery'] {
	display: none;
}
/* サムネイル */
.photo_area label {
	margin: 15px 5px 0 5px;
	display: inline-block;
	cursor: pointer;
	transition: all 0.5s ease;
	opacity: 0.6;
	border-radius: 3px;
	z-index: 10;
}
.photo_area label:hover {
	opacity: 0.9;
}
.photo_area label img {
	display: block;
	width: 70px;
	border-radius: 2px;
}
.photo_area input[name='gallery']:checked + label {
	border: 1px solid #999;
	opacity: 1;
}
.photo_area input[name='gallery'] ~ img {
	opacity: 0;
}
.photo_area input[name='gallery']:checked + label + img {
	opacity: 1;
}
.detail .text_area {
	width: 50%;
}
.detail .text_area .code {
	color: #413608;
	margin-bottom: 20px;
	font-size: 13px;
}
.detail .text_area h1 {
	color: #413608;
	font-size: 26px;
	font-weight: bold;
	border-bottom: 1px solid #707070;
	padding-bottom: 10px;
	margin-bottom: 32px;
}
.detail .text_area h1 span {
	display: inline-block;
	color: #fff;
	background: #BCB89D;
	font-size: 13px;
	margin-right: 10px;
	line-height: 21px;
	padding: 2px 6px;
	text-align: center;
	font-weight: normal;
}
.detail .text_area h1 span.frozen { /*冷凍*/
	background: #569BBF;
}
.detail .text_area h1 span.dry { /*乾物*/
	background: #D68B25;
}
.detail .text_area h1 span.chilled { /*チルド*/
	background: #B7C646;
}
.detail .text_area h1 span.etc { /*その他*/
	background: #989894;
}


.detail .text_area .text {
	margin-bottom: 25px;
}
.detail .text_area .text02 {
	margin-bottom: 25px;
}

.detail .text_area .spec {
	background: #F7F7F7;
	padding: 17px 20px;
}

.detail .text_area .spec dl {
	display:flex;
  	flex-wrap: wrap;
}

.detail .text_area .spec dl dt{
  width: 40%;
}
.detail .text_area .spec dl dt:after {
	content: "：";
}
.detail .text_area .spec dl dd{
  margin: 0;
  width: 60%;
  font-weight: bold;
}
.detail .text_area .spec dl dd.num {
	
}

@media screen and (max-width: 767px) {
	section.detail {
		display: block;
	}
	.detail .photo_area	{
		width: 100%;
	}
	.detail .text_area {
		width: 100%;
	}
	.detail .text_area h1 {
		font-size: 20px;
	}
	.detail .text_area .spec dl{
		/*flex-flow: column nowrap;*/
		font-size: 13px;
	}
/*	.detail .text_area .spec dt,
	.detail .text_area .spec dd{
		width: 100%;
	}*/
}

div.back {
	display: flex;
	justify-content: center;
	padding: 60px 0;
}