.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width:100%;
  margin: 30px auto;
  text-align: center;
}

.p-global-header__logo img,
.p-top-logo a img{
  width:90%;
  max-width: 560px;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #f8f8f8;
  box-shadow: none;
}

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span {
  padding: 1.5em;
}

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a {
  background: #fff;
}

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #fd7f23;
}

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
	list-style: none;
	list-style: outside none;
	padding-left: 20px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: url(https://dragon-w.com/hachi_img/yotuba12.gif)  ;
  display: none;
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

@media ( min-width : 600px ){
	.p-contents__list.h_list {
		display: flex;
    	flex-wrap: wrap;
    	justify-content: space-between;
	}

	.p-contents__list.h_list li {
		width: 48%;
		padding-left: 0;
	}

	.c-section.p-layout-container.h_brand-wrap .container {
		display: flex;
    	flex-wrap: wrap;
    	justify-content: space-between;
	}

	.c-section.p-layout-container.h_brand-wrap .container .item {
		width: 24%;
		margin: 0px 0px 10px 0px;
	}
}

.p-contents__list.h_list li {
	padding-left: 0;
}

.c-section.p-layout-container.h_brand-wrap .container {
	margin: 0 10px;
}

.c-section.p-layout-container.h_brand-wrap .container .item {
	margin: 0px 0px 10px 0px;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
/*  padding: 0 2em 0 1em;*/
  padding: 0;
}

/*.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}*/

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #efc4c0;
}
.p-custom-banner2__unit {
  background: #efc4c0;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 30px 10px;
  color: #0e467d;
  background:  #efc4c0;
}

.p-custom-banner__unit--text a {
  color:  #9a8ebd;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 24px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #p-slider .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 30px;
  }
}

/*////////////////ハチズカフェ//////////////*/
.c-section__heading_2 {
    margin: 50px 10px 20px;
    text-align: center;
    color: #333;
}
.c-section__heading--sub-title2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
 	color: #ea6096;
}

.paper{
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
    margin-top: 10px;
}
.paper ul{
	text-align: center;
}
.paper li {
  display: inline; /* リストをインライン表示にして横並びにする */
}
div.sub_category_area,
{
height: 100%;
background: #f5f5f5;
margin-bottom: 20px;
padding: 10px 10px 0px 10px;
}

div.sub_category_area div.sub_category,
{
float: left;
margin: 0 20px 10px 0;
}

div.sub_category_area div.sub_category img,
{
margin-right: 10px;
}


/*--------LINE@-----------*/
.green   {
	color: #52B94A;
	font: bold 1.5em "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
hr.style-one {
    border: 0;
    height: 1px;
    background: #333;
    background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc);
    background-image:    -moz-linear-gradient(left, #ccc, #333, #ccc);
    background-image:     -ms-linear-gradient(left, #ccc, #333, #ccc);
    background-image:      -o-linear-gradient(left, #ccc, #333, #ccc);
}

/*------テーブル------------------*/
section table	{ width: 100%; }
section th, section td	{ padding: 10px; border: 1px solid #ddd; }
section th	{ background: #f4f4f4; }

/*----------------------------------------------------
	.line-at
----------------------------------------------------*/
.line-at th	{ width: 50%; text-align: left; }

@media only screen and (max-width:480px){
    .line-at	{ margin: 0 -10px; }
    .line-at th,
    .line-at td{
		width: 100%;
		display: block;
		border-top: none;
    }
	.line-at tr:first-child th	{
	border-top: 1px solid #ddd;
	font-size: medium;
}
}

/* @ハチズカフェ */

.hachi_news {
	font-size: 100%;
	line-height: 2.1em;
	padding: 20px;
}
.hachi_news ul {
	list-style: none;
	padding-left: 0px;
	}
.hachi_news li {
	list-style: none;
	list-style: outside none;
	background: #FFF url(https://dragon-w.com/hachi_img/yotuba12.gif) no-repeat left center;
	padding-left: 20px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #996600;
}


/* @ハチズカフェ */

/*  h2のリボン */
.ribbon6 {
    display: inline-block;
    position: relative;
/*    height: 60px;*/
    line-height: 60px;
    vertical-align: middle;
    text-align: center;
    padding: 7px 0;
    font-size: 18px;
    background: #c37394;
    color: #FFF;
    box-sizing: border-box;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
   margin: 50px 0 50px 0;
}

.ribbon6 h2 {
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 30px !important;;
    border-top: dashed 2px rgba(255, 255, 255, 0.5) !important;
    border-bottom: dashed 2px rgba(255, 255, 255, 0.5) !important;
    line-height: 42px !important;
}

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

.ribbon6:before{
    top: -2px;
    left: -2px;
    border-width: 32px 0px 32px 15px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
}

.ribbon6:after{
    top: -2px;
    right: -2px;
    border-width: 32px 15px 32px 0px;
    border-color: transparent #fff transparent transparent;
    border-style: solid;
}*/

/*  h2のペーパードールメイトのリボン */
.ribbon_box {    
    display: block;
    position: relative;
    margin: 15px auto;
    padding: 10px 0;
    width: 300px;
    background: #f1f1f1;
  }

.ribbon10 {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 5px 0;
    margin: 0 0 0 -20px;
    width: calc(100% + 20px);
    color: white;
    background: #70a6ff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.ribbon10 h2{
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 30px 0 15px !important;
    border-top: dashed 1px #FFF !important;
    border-bottom: dashed 1px #FFF !important;
    font-size: 20px !important;
    line-height: 46px !important;
}
.ribbon-txt{
  text-align: center
}
.ribbon10:after{
    position: absolute;
    content: '';
    z-index: 1;
    top: 0;
    right: 0;
    width: 0px;
    height: 0px;
    border-width: 30px 15px 30px 0px;
    border-color: transparent #f1f1f1 transparent transparent;
    border-style: solid;
}

.ribbon10:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #6081b7;
}

/* カテゴリーナビゲーション */
.container {
  display: flex;
  flex-direction: row;
  flex-wrap:wrap;
  justify-content: space-around ;
  align-content: start;
  padding top: 20px; 
}
/*.item {
	flex-basis: 320px;
　  padding: 15px;
	margin: 5px;
}*/

/* Responsive */
@media ( min-width : 600px ){
    .flexbox {
      display: -webkit-flex;
      display: flex;
      margin: auto;
    }
  .main {
    margin: 0 10px 0 0;
  }
}

.p-layout-container ul.product.kwmr_selection {
  list-style: none;
  padding: 0;
  line-height: 20px;
  border-bottom: 1px solid #eaeaea;
  border-top: 1px solid #eaeaea;
}

.p-layout-container ul.product.kwmr_selection li a {
  display: block;
  text-align: center;
  color: #333;
  text-decoration: none;
}

.p-layout-container ul.product.kwmr_selection li a img {
  width: 100%;
  max-width: 320px;
}

.p-layout-container ul.product.kwmr_selection li a dl {
  padding: 10px;
}

.p-layout-container ul.product.kwmr_selection li a dl dt {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.p-layout-container ul.product.kwmr_selection li a dl dd {
  margin: 0;
}

.p-layout-container ul.product.kwmr_selection li a dl dd span {
  display: block;
}

.p-layout-container ul.product.kwmr_selection li a dl dd .soldout {

}

.p-layout-container ul.product.kwmr_selection li a dl dd .price {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.p-layout-container ul.product.kwmr_selection li a dl dd .exp {

}

.p-layout-container ul.product.kwmr_selection li a dl dd .regular {

}

@media ( min-width : 600px ){
  .p-layout-container ul.product.kwmr_selection li a {
    text-align: left;
    display: flex;
    align-items: center;
  }

  .p-layout-container ul.product.kwmr_selection li a dl dt {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .p-layout-container ul.product.kwmr_selection li a dl dd {
    margin: 0;
    font-size: 16px;
  }

  .p-layout-container ul.product.kwmr_selection li a dl dd .price {
    font-size: 18px;
    margin-bottom: 15px;
  }
}
