@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: url("../images/newlife/bg-newlife.jpg") repeat-y top; 
}

#newlife {
        
	position: relative;
    }
/* コンテンツを背景画像より上に */
.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 li:first-child {
        padding-right: 10px;
    }
	/*.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);
    }*/
			#js-fixed-header .flex_btn li{
		width: 12.5%;
	}
  .btn-wrap {
    margin: 0 auto;
    max-width: 580px;
    justify-content: space-between;
    margin-bottom: 42px;
  }
	/*.top-btn .flex_btn li:first-child{
		padding-right: 0;
	}*/
	    .top-btn .flex_btn li:last-child {
        padding-right: 0;
    }
	.top-btn .flex_btn li{
		padding: 25px 20px;
	}
	.top-btn .flex_btn li:hover img{
		transform: scale(1.1);
		 transition: transform .2s ease;
	}
	#js-fixed-header .flex_btn li:hover img{
		transform: scale(1.2);
		 transition: transform .2s ease;
	}
.flex-last .item{
  flex: auto;
}
	.flex-last{
          width: fit-content;
    
}
  .wrap {
    max-width: 1570px;
    padding: 0 10px;
    margin: 0 auto;
  padding-top: 90px;
	}
	.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: 20px 10px;
    }
	.flex-calc .item{
		flex: 1 1 calc(33.333% - 20px);
	}

	 .flex-double{
		margin-top: 3em;
	}
	.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: 1550px) {
	    .item {
        margin: 20px 10px;
        flex: 1 1 calc(33.333% - 20px);
    }
}
@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 20px;
    }
  h1 {
    padding-top: 0;
    margin: 0 auto;
	  
  }

  .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) {

	#ceremony{
		padding-top: 30px;
	}
	#ceremony h1,
	#newlife-item h1,
	#newlife-freshers h1,
	#newlife-kotohajime h1{
		width: 70%;
	}
}
