/* screen narrow */
@media screen and (max-width: 767px){

* html body {	/* for IF6 */
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

  header {
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0px;
    background-color: #FFF;
    z-index: 19;
  }

  .body {
    padding-top: 80px;
  }

  header .top-menu {
    display:none;
  }
  
   header .text-tax {
  display: none;
  }

  header .logo{
    line-height: 30px;
    text-align: center;
    padding: 0px 10px;
  }
  
    header .logo img{
	max-height: 70px;
	max-width: 60%;
	margin-top: 5px;
    margin-bottom: 10px;
  }

  header .top-text {
font-size: 80%;
  }

  header .input-upper {
    display:none;
  }

  header .category-menu {
    top: 0;
    position: absolute;
    margin-top: 15px;
  }

  .body .input-bottom {
    display: block;
    text-align: center;
    margin-top: 15px;
    margin-right: 10%;;
  }

  .body .input-bottom input {
	top: 95px;
  }
  
  .searchbox_input {
    right: 115px;
    width: 70%;
  }
  
  .searchbox_input_side {
    right: 115px;
    width: 70%;
  }
  
 .searchbox_btn {
    margin-left: 20px;
	position: absolute;
   }
   
 .searchbox_btn_side {
    margin-left: 20px;
	position: absolute;
   }
   
  header #navbar10 {
    background-color: #E9E9E9;
  }

  header .basket-lower {
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: right;
    margin-right: 20px;
    margin-top: 5px;
	top: 15px;
  }
  
  header .logo-search {
    padding-bottom: 1px;
  }

  #main-contents .wrapper-right {
    width: 100%;
  }

  #main-contents .wrapper-left {
    width: 100%;
  }

  /* newitem画像サイズ */
  #new-item .new-item .item-image img {
    width: 170px;
    height: 170px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* ranking画像サイズ */
  #ranking .ranking-item .item-image img {
    width: 170px;
    height: 170px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #contents .card-text {
    text-align: left;
    /* display: none; */
  }
  
  .input-side {
    text-align: left;
  }

  footer .middle {
    background-color:  #f4f3e4;
    padding: 0px 15px;
  }

}

/* screen wide */
@media screen and (max-width: 1024px) {
	
  header .logo-search {
    justify-content: left;
  }
  
  header .top-menu {
  display: none;
  }
  
}


/* screen wide */
@media screen and (min-width: 767px) {

  header {

  }
  
  header .fixed {
    position: fixed;
	width: 100%;
    top: 0px;
    background-color: #FFF;
    z-index: 19;
  }

  header .basket-lower {
    display: none;
  }
  
  header .logo-search {
    padding: 10px 35px 10px 35px;
    display: flex;
	position: relative;
  }
  
  header .logo{
    line-height: 30px;
    text-align: center;
  }
  
  header .logo img{
	max-height: 60px;
  }

  .body {
    padding-top: 1px;
  }

  .body .input-bottom {
    display: none;
  }
  
  .input-side {
    text-align: left;
  }
  
  .searchbox_input {
    display: block;
    position: absolute;
    right: 115px;
    top: 10px;
    width: 180px;
	font-size: 0.9rem;

  }
  
  .searchbox_input_side {
    width: 130px;
  }
  
  .searchbox_btn {
    display: block;
    position: absolute;
    right: 70px;
    top: 12px;
  }
  
   .searchbox_btn_side {
    position: absolute;
	margin-left: 10px;
  }
  
  header .category-menu {
    margin-top: 115px;
  }

  /* カテゴリメニュー横の縦線 */
  header .navbar .container  a{
    border-right: 1px solid #999;
  }

  #main-contents .wrapper-right {
    width: 80%;
  }

  #main-contents .wrapper-left {
    width: 20%;
  }

  /* newitem画像サイズ */
  #new-item .new-item .item-image img {
    width: 200px;
    height: 200px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* ranking画像サイズ */
  #ranking .ranking-item .item-image img {
    width: 200px;
    height: 200px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #contents .card-text {
    text-align: left;
    display:　inline-block;
  }

  /* お買い物ガイド内背景色 */
  footer .middle {
    background-color:  #f4f3e4;
    padding: 30px 50px;
  }

}

/* -------------------------------------header------------------------------------------------- */

/* トップテキスト */
header .top-text {
  background-color: #000;
  padding: 8px;
  height: 40px;
}

header .top-text p {
  text-align: center;
  color: #fff;
}

header .top-text a {
  color: #fff;
}

header .text-tax {
    font-size: 0.8rem;
    color: #000;
    margin: 18px 50px 10px 30px;
}

header .top-menu {
margin: 15px 10px 0 22px;
height: 30px;
width: 500px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}

header .top-menu #nav {

}

header #nav {
  list-style: none;
  overflow: hidden;
}

header #nav li {
  /* width: 100px; */
  margin-right: 30px;
  text-align: center;
  float: left;
}

/* TOPメニューの文字色、サイズ */
header #nav li a {
  color: #000;
  font-size: 80%;
}

header .basket {
  display: block;
  position: absolute;
  right: 1px;
  top: 10px;
}

header .basket img {
  margin-left: 20px
}

header .input-upper {
  line-height: 25px;
  position: absolute;
  text-align: right;
  margin-right: 30px;
  right: 0px;
}

header .navbar {
  z-index: 20;
}

 .body {
    font-size: 0.9rem;
  }

/* カテゴリの背景色 */
header .navbar .container {
  background: #FFF;
}

/* -------------------------------------top-images------------------------------------------------- */
#top-images {
  margin: 40px;
  text-align: center;
}

#top-images .carousel {
  max-width: 100%;
}

/* 画像表示サイズ、表示方法の設定 */
#top-images img{
  max-height: 400px;
  object-fit: contain;
}

/* -------------------------------------store-description------------------------------------------------- */
#store-description {
  color: #FFF;
  background-color: #3f8934;
  text-align: center;
  padding: 50px;
}

/* -------------------------------------main-contents------------------------------------------------- */

h1 {
    font-size: 1.6rem;
}

#main-contents {
  display: inline-block;
  width: 100%;
}

#main-contents .wrapper-right {
  float: right;
  padding: 20px;
}

#main-contents .wrapper-left {
  text-align: center;
  float: left;
  padding: 20px 0px 20px 20px;
}

/* -------------------------------------pickup----------------------------------------------- */

#pickup {
  text-align: center;
  margin-bottom: 2em;
}
.pickupBnr {
  text-align: center;
  margin-bottom: 1em;
}

/* -------------------------------------new-item----------------------------------------------- */

#new-item {
  text-align: center;
}

#new-item h2 {
  color: #364e96;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #364e96;/*上線*/
  border-bottom: solid 3px #364e96;/*下線*/
  margin-bottom: 1em;
}

#new-item .new-item {
  text-align: center;
  position: relative;
  width: 200px;
  display: inline-block;
}

/* NEWタグ */
#new-item .new-item .new-tag {
  padding: 5px;
  background-color: #cc0000;
  display: inline;
  color: #FFF;
}

#new-item .new-item .item-name {
  margin-top: 8px;
}

/* 価格の色 */
#new-item .new-item .price {
  color: #cc0000;
  font-size: 120%;
}

.see-more {
  text-align: right;
  padding-right: 30px;
}

/* -------------------------------------ranking------------------------------------------------- */

#ranking {
  margin-top:50px;
  text-align: center;
}

#ranking h2 {
  color: #364e96;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #364e96;/*上線*/
  border-bottom: solid 3px #364e96;/*下線*/
  margin-bottom: 1em;
}

#ranking .ranking-item {
  text-align: center;
  position: relative;
  width: 200px;
  display: inline-block;
}

#ranking .ranking-item .ranking-image {
  position: absolute;
  left: 20px;
  top: 10px;
}

#ranking .ranking-item .item-name {
  margin-top: 8px;
}

/* 価格の色 */
#ranking .ranking-item .price {
  color: #cc0000;
  font-size: 120%;
}

/* -------------------------------------contents------------------------------------------------- */

#contents {
  text-align: center;
}

#contents .card {
  border-width: 0px;
  margin-top: 20px;
}

#contents #image {
  display: flex;
  align-items: center;
  justify-content: center;;
}

#contents img {
  width: 100%;
  object-fit: contain;
}

#contents .card-body {
  margin: 10px 0px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

#contents .card-title {
  text-align: left;
}

#contents a {
  text-align: right;
}

/* -------------------------------------side-menu------------------------------------------------- */

/* サイドメニューテキストカラー、背景色 */
#side-menu .menu a {
  display: block;
  color: black;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 20px;
  border-bottom: 1px dotted gray;
  padding-bottom: 5px;
}
#side-menu .menu a:hover {
background-color: #EFEDED;
}
#side-menu h2 {
font-size: 18px;
color: #FFF;
padding: 10px 0px;
}
#side-menu h2.titleSearch {
background-color: #669900;
}
#side-menu h2.titleFea {
background-color: #d4145a;
}
#side-menu h2.titleCat {
background-color: #000;
}
#side-menu h2.titleCat2 {
background-color: #1b1464;
}
#side-menu h2.titleCat3 {
background-color: #669900;
}
#side-menu h2.titleCat4 {
background-color: #666;
}
#side-menu h2.titleInfo{
background-color: #999;
}


#side-menu input {
}

/* -------------------------------------footer------------------------------------------------- */

/* お買い物ガイドトップ背景色 */
footer .top {
  background-color: #669900;
  text-align: center;
  padding: 10px 0;
}

footer .middle .footer-contents{
  text-align: left;
  padding: 20px 15px;
  background-color: #FFF;
  height: 100%;
  position: relative;
}

footer .middle .footer-contents b {
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

footer #footer-contents {
  margin-top: 15px;
}

/* 年齢注意喚起 */
footer .heads-up {
  text-align: center;
  padding: 10px;
  color: #cc0000;
  font-size: 150%;
}

/* お買い物ガイド内最下部ボタン */
footer #footer-contents .bottom-anchor {
  text-align: center;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 80%;
  padding: 10px 0px;
  background-color: #999;
}

/* お買い物ガイド内最下部ボタン、テキストカラー */
footer #footer-contents .bottom-anchor a{
  color: #FFF;
}

/* コピーライト */
footer .bottom {
  background-color: #000;
  text-align: center;
  padding: 10px;
  color: #FFF;
}

#footer-contents .footer-contents h3 {
background-color: #669900;
font-size: 18px;
padding: 10px;
color: #FFF;
margin-bottom: 1em;
}
#footer-contents .footer-contents h4 {
font-size: 14px;
color: #669900;
margin-bottom: 1em;
}
#footer-contents .footer-contents p {
margin: 1em;
}
.textRed {
color: #cc0000;
font-weight: bold;
}

