a {
  text-decoration: none;
}

nav {
  margin: 0 0 0 auto;
}

nav a{
  display: block;
  width: 100%;
  text-decoration: none;
  color: #000;
  padding-top: 5px;
  padding-bottom: 5px;
  transition: 0.5s;
}
nav a:hover{
  color: #FFF;
  background: #f39c12;
}

div.wrapper{
    width: 100%;
    /* text-align:center; */
}

#upper_container{
  width: 100%;
  margin: 0 auto;
}

#handle_product{
  width: 100%;
  margin: 0px auto;
}

.flex {
  text-align:center;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  /* justify-content: flex-start; */
}

.product_msg{
  width: 400px;
  text-align:left;
  vertical-align: top;
}

.product_msg p {
  margin: 5px 10px 5px 10px;
}

.product_msg p:first-child {
  font-size: 18px;
  color: #494949;
  padding: 0.25em 0.5em;
  background: transparent;/*背景透明に*/
  border-left: solid 5px #f39c12;
  font-weight:bold;
}

.product_item {
  width: 420px;
  margin: 5px 10px;
  border: solid 1px #FF8F05;
}

.product_items {
  /* margin-left: 50px; */
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

#product_title_s {
  font-size: 18px;
  color: #494949;
  padding: 0.25em 0.5em;
  background: transparent;/*背景透明に*/
  border-left: solid 5px #f39c12;
  font-weight:bold;
  text-align:left;
  margin : 0 0 2px 10px;
}

.pos {
  width: 345px;
  margin : 10px 0px 0px 0px;
  text-align:left;
}

.pos_list {
  display: inline-block;
  margin: 0 0 0 10px;
}

.pos_pic {
  margin: 0 auto;
}

.list {
  margin : 1px 0px 2px 0px;
}

.double_underline {
  margin: 0;
  border-bottom: double 5px #FF8F05;
}

#handle_product {
  margin: 0 auto 40px;
  max-width: 880px;
  width: 100%;
  /* margin-bottom: 40px; */
}

/* #handle_product p {
  text-align:left;
  margin : 12px 0px 2px 50px;
} */

.product_title_ss_parent{
  text-align: left;
  margin-left: 10px;
}

.product_title_ss {
  max-width: 130px;
  margin: 0.7em auto 0.7em 0;
  margin-right: auto;
  padding: 0 1em;/*文字周りの余白*/
  text-align: left;
  display: inline-block;
  background: #dbebf8;
  vertical-align: middle;
  border-radius: 20px 20px 20px 20px;
  font-size: 14px;
}

.outer_ribbon {
  text-align: left;
  margin-left: 10px;
}

.ribbon {
  display: inline-block;
  position: relative;
  height: 20px;
  line-height: 20px;
  padding: 2px 0;
  font-size: 12px;/*フォントサイズ*/
  background: #78d0f5;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.ribbon p {
  margin: 0;
  padding: 0 30px;
  /* border-top: dashed 1px #FFF;
  border-bottom: dashed 1px #FFF; */
  line-height: 16px;
}

.ribbon:before, .ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon:before {
  /*左端の山形*/
  top: 0;
  left: 0;
  border-width: 10px 0px 10px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.ribbon:after {
  /*右端の山形*/
  top: 0;
  right: 0;
  border-width: 10px 15px 10px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.autumn_ribbon {
  display: inline-block;
  position: relative;
  height: 20px;
  line-height: 20px;
  padding: 2px 0;
  font-size: 12px;/*フォントサイズ*/
  background: #93401a;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.autumn_ribbon p {
  margin: 0;
  padding: 0 30px;
  /* border-top: dashed 1px #FFF;
  border-bottom: dashed 1px #FFF; */
  line-height: 16px;
}

.autumn_ribbon:before, .autumn_ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.autumn_ribbon:before {
  /*左端の山形*/
  top: 0;
  left: 0;
  border-width: 10px 0px 10px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.autumn_ribbon:after {
  /*右端の山形*/
  top: 0;
  right: 0;
  border-width: 10px 15px 10px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.winter_ribbon {
  display: inline-block;
  position: relative;
  height: 20px;
  line-height: 20px;
  padding: 2px 0;
  font-size: 12px;/*フォントサイズ*/
  background: #5d78be;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.winter_ribbon p {
  margin: 0;
  padding: 0 30px;
  /* border-top: dashed 1px #FFF;
  border-bottom: dashed 1px #FFF; */
  line-height: 16px;
}

.winter_ribbon:before, .winter_ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.winter_ribbon:before {
  /*左端の山形*/
  top: 0;
  left: 0;
  border-width: 10px 0px 10px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.winter_ribbon:after {
  /*右端の山形*/
  top: 0;
  right: 0;
  border-width: 10px 15px 10px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.holiday_ribbon {
  display: inline-block;
  position: relative;
  height: 20px;
  line-height: 20px;
  padding: 2px 0;
  font-size: 12px;/*フォントサイズ*/
  background: #e70012;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.holiday_ribbon p {
  margin: 0;
  padding: 0 30px;
  /* border-top: dashed 1px #FFF;
  border-bottom: dashed 1px #FFF; */
  line-height: 16px;
}

.holiday_ribbon:before, .holiday_ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.holiday_ribbon:before {
  /*左端の山形*/
  top: 0;
  left: 0;
  border-width: 10px 0px 10px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.holiday_ribbon:after {
  /*右端の山形*/
  top: 0;
  right: 0;
  border-width: 10px 15px 10px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.valentine_ribbon {
  display: inline-block;
  position: relative;
  height: 20px;
  line-height: 20px;
  padding: 2px 0;
  font-size: 12px;/*フォントサイズ*/
  background: #612c16;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.valentine_ribbon p {
  margin: 0;
  padding: 0 30px;
  /* border-top: dashed 1px #FFF;
  border-bottom: dashed 1px #FFF; */
  line-height: 16px;
}

.valentine_ribbon:before, .valentine_ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.valentine_ribbon:before {
  /*左端の山形*/
  top: 0;
  left: 0;
  border-width: 10px 0px 10px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.valentine_ribbon:after {
  /*右端の山形*/
  top: 0;
  right: 0;
  border-width: 10px 15px 10px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.spring_ribbon {
  display: inline-block;
  position: relative;
  height: 20px;
  line-height: 20px;
  padding: 2px 0;
  font-size: 12px;/*フォントサイズ*/
  background: #f2a0a1;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.spring_ribbon p {
  margin: 0;
  padding: 0 30px;
  /* border-top: dashed 1px #FFF;
  border-bottom: dashed 1px #FFF; */
  line-height: 16px;
}

.spring_ribbon:before, .spring_ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.spring_ribbon:before {
  /*左端の山形*/
  top: 0;
  left: 0;
  border-width: 10px 0px 10px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.spring_ribbon:after {
  /*右端の山形*/
  top: 0;
  right: 0;
  border-width: 10px 15px 10px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

@media screen and (max-width: 880px) {
  #handle_product {
    width: 440px;
  }
}

@media screen and (max-width: 460px) {
  #handle_product {
    width: 100%;
  }

  .product_item{
    width: 100%;
    height: auto;
  }

  .pos{
    width: 85%;
  }

  .product_title_ss_parent{
    width: 80%;
  }

  .pos_pic img{
    width: 94%;
  }
}