@charset "utf-8";

/* =============================================================================
    福袋　ファッション
   ========================================================================== */

section {
  text-align: center;
}
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-around;
  -ms-flex-pack: space-around;
  justify-content: space-around;
  flex-wrap: wrap;
}

.grid{
	  display: grid;
  grid-template-columns: repeat(3, 1fr); 
}
h2 {
  text-align: center;
  padding-bottom: 60px;
}
.bg{
	background: #970002; 
}
#happybag-gourmet {
  position: relative;
	padding-bottom: 2em;
}
#happybag-fashion {
  position: relative;
	padding-bottom: 2em;
}
#happybag-sale {
  position: relative;
}
#happybag-original {
        background: url("../images/happybag/bg-happybag-original-huku.png") no-repeat top / cover;
    }
/* コンテンツを背景画像より上に */
.bg > * {
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 1020px) {
	.top-wrap {
		background: url(../images/bg-happybag-top.jpg) no-repeat top /cover;
	}
	.top-btn .flex_btn{
	padding-bottom: 30px;
	}
	.top-btn .flex_btn li{
		padding: 0px 20px;
	}
	    .top-btn .flex_btn li.btn1 a:after {
        content: "";
        position: absolute;
        bottom: -40px;
		left: 49%;
		transform: translate(-50%, 0);
        width: 0;
        height: 0;
		border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-top: 40px solid #ed6d00;
        transition: transform .5s;
    }
	.top-btn .flex_btn li.btn2 a:after {
        content: "";
        position: absolute;
        bottom: -40px;
		left: 50%;
		transform: translate(-50%, 0);
        width: 0;
        height: 0;
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-top: 40px solid #3eb134;
        transition: transform .5s;
    }
	.top-btn .flex_btn li.btn3 a:after {
        content: "";
        position: absolute;
        bottom: -40px;
		left: 50%;
		transform: translate(-50%, 0);
        width: 0;
        height: 0;
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-top: 40px solid #008cd6;
        transition: transform .5s;
    }
	.top-btn .flex_btn li.btn1:hover a:after,
	.top-btn .flex_btn li.btn2:hover a:after,
	.top-btn .flex_btn li.btn3:hover a:after{
        transform: translate(-50%, 30px);
    }
	#happybag-original .wrap {
		margin-top: 7em;
		padding: 90px 10px;
	}
  .wrap {
    max-width: 1490px;
    padding: 0 10px;
    margin: 0 auto;
  padding-top: 20px;
	}
	.ttl-top{
	text-align: center;
	padding-top: 70px;
	padding-bottom: 10px;
	}
  #happybag-sale h1.ttl {
	  padding-top: 0;
	  margin-top: -8em;
	  padding-bottom: 0;
  }
  .btn-wrap {
    margin: 0 auto;
    max-width: 580px;
    justify-content: space-between;
    margin-bottom: 42px;
  }


    .item {
        margin: 40px 10px;
		/*flex: 1 1 calc(33.333% - 20px);*/
    }
	.item-happybag-gourmet03,
	.item-happybag-goods12{
		margin-top: 0;
	}
	  #happybag-sale .flex-double{
		margin-top: 3em;
		width: 1455px;
	}
	.flex-bottom .item {
		margin-top: 0;
	}
	.flex-column{
		flex-flow: column;
	}
.title::before{
    content: "";
    /* 縦線の色・形 */
    width: 3px;
    height: 36px;
    border-radius: 2px;
    background-color: #dddddd;
    /* 配置場所 */
    position: absolute;
    right: -64px; /* ポイント３ */
}
  #btnWrap {
    padding-bottom: 60px;
  }
}
@media screen and (min-width: 1020px) and (max-width: 1450px) {
	.double01 .item:first-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}
		.double01 .item:last-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}
	.double02 .item:first-child{
		flex-grow: 2;
        flex-shrink: 1;
        flex-basis: 0;
	}
	.double02 .item:last-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}
	#happybag-gourmet .flex-last .item:first-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}
	#happybag-gourmet .flex-last .item:last-child{
		flex-grow: 2;
        flex-shrink: 1;
        flex-basis: 0;
	}
		#happybag-gourmet .flex-column{
		  flex-grow: 2;
		  flex-shrink: 1;
		  flex-basis: 0;
	}
	#happybag-fashion .flex-double .item:first-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
		
	}
		#happybag-fashion .flex-double .item:last-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}
	#happybag-fashion .flex_four .item{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}
		#happybag-goods .flex-double .item:first-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}

	#happybag-goods .flex-quarter .item:first-child{
		flex-grow: 2;
        flex-shrink: 1;
        flex-basis: 0;
		
	}
	#happybag-goods .flex-quarter .item:last-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
		
	}
		#happybag-goods .flex-double .item:last-child{
		flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
	}
	#happybag-goods .flex-column{
		  flex-grow: 1;
		  flex-shrink: 1;
		  flex-basis: 0;
	}
	/*#happybag-gourmet .item-happybag-gourmet01 {
		width: 30%;
	}
	#happybag-gourmet .item-happybag-gourmet04,
	#happybag-gourmet .item-happybag-gourmet07{
		width: 63%;
	}
	#happybag-gourmet .item-happybag-gourmet05,
	#happybag-gourmet .item-happybag-gourmet06
	{
		width: 30%;
	}

	#happybag-gourmet .flex-column{
		width: 63%;
	}
	#happybag-fashion .flex-double .item{
		width: 45%;
	}
	#happybag-goods .flex-double .item{
		width: 45%;
	}
	#happybag-goods .flex-double .item-happybag-goods12{
		width: 100%;
	}
	#happybag-goods .flex-column {
        flex-flow: column;
        width: 45%;
    }
	#happybag-goods .flex .item-happybag-goods13{
		width: 95%;
	}*/
}
@media screen and (max-width: 1019px) {
	#happybag-gourmet {
    position: relative;
    padding-bottom: 2em;
}
	#happybag-original .wrap{
		padding: 50px 30px;
		margin-bottom: 3em;
	}
	#happybag-original .item{
		margin-bottom: 0;
	}
    .wrap {
        width: 100%;
        padding: 0 30px;
    }
  h1 {
    padding-top: 0;
    margin: 0 auto;
    padding-bottom: 30px;
	  
  }
	#happybag-sale h1 {
        padding-top: 0;
        margin: 0 auto;
        padding-bottom: 40px;
		margin-top: -100px;
    }
  .item {
    margin: 0 auto;
    margin-bottom: 70px;
    text-align: center;
    width: 100%;
  }
  .btn-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 92%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 57px;
  }

  .btn-wrap li {
    width: 31%;
    margin-bottom: 10px;
  }

}

@media screen and (max-width: 1019px) {
}

/* =============================================================================

   ========================================================================== */
@media screen and (min-width: 1024px) {
}
@media screen and (min-width: 768px) {
}
@media screen and (max-width: 767px) {
}
