@charset "utf-8";

#mainImage {
	background: url("../../images/index/mainimage.jpg") no-repeat center center / contain;
	border: 1px solid #ccc;
}

#mainImage div {
	width: 100%;
	border: 2px solid #fff;
}

#mainImage  div h1 .h1font01{
	color: #ad1d34;
}

/* newsList
--------------------------------*/
#newsList li .newsTxt .newsCaption {
	font-weight: bold;
	text-decoration: underline;
	position: relative;
	}

#newsList li .new {
	display: inline-block;
	background-color: #b81a35;
	color: #fff;
	font-size: 10px;
	line-height: 12px;
	padding: 3px 5px;
	margin-left: 8px;
	border-radius: 2px;
	vertical-align: middle;
	text-align: center;
	position: absolute;
	right: 0;
	top: 5px;
}
#newsList .text {
	padding-top: 0.5em;
	font-size: 0.85em;
	
}

/* recommend
--------------------------------*/

.recommend #itemList {
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
	align-items: stretch;
}
.recommend #itemList li a {
	text-decoration: none;
}
.recommend #itemList li h3 {
	font-weight: bold;
	color: #333333;
}

.recommend #itemList .itemImg div {
	position: relative;
	width: 100%!important;
	height: auto!important;
	padding-top: 100%;
	background-color: #fff;
	overflow: hidden;
}
.recommend #itemList .itemImg div img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	height: 100%;
	margin-left: 0!important;
	margin-top: 0!important;
}

.recommend #itemList th, #itemList td { color: #b81a35;}
.recommend #itemList td { font-weight: bold;}

.recommend .moreBtn {
	width: 100%;
	max-width: 300px;
}
.recommend .moreBtn a{
	display: block;
	max-width: 100%;
	padding: 1em;
	font-size: 1.07em;
	font-weight: bold;
	text-align: center;
	border: #947054 1px solid;
	background-color: #b81a35;
	text-decoration: none;
	color: #fff;
}
.recommend .moreBtn a:hover {
	opacity: 0.8;
	transition: all 0.3s;
}


/* campaign
--------------------------------*/
#campaignList {
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
	align-items: stretch;
}
#campaignList li h3 {
	font-weight: bold;
	color: #b81a35;
}

#campaignList .campaignImg div {
	position: relative!important;
	width: 100%!important;
	height: auto!important;
	padding-top: 48%!important;
	background-color: #fff;
	overflow: hidden;
}
#campaignList .campaignImg div img {
	position: absolute!important;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%!important;
	height: auto!important;
	margin-left: 0!important;
	margin-top: 0!important;
}

#campaignList li .innerBox {
	position: relative;
}
#campaignList li h3 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-block;
	padding: 0.5em;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	background: #b81a35;
	line-height: 24px;
	z-index: 3;
}
#campaignList li .innerBox::before {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: calc(100% - 1.5em);
	height: calc(100% - 1.5em);
	content: "";
	margin: 0.75em;
	border: 1px solid #fff;
	z-index: 1;
}
#campaignList li .innerBox::after {
	position: absolute;
	left: 0;
	top: 0;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0.7;
	z-index: 2;
	transition: all .3s ease;
}

.noCampaign {
	width: 100%;
	text-align: center;
	margin: 0 auto 3em;
}

/*===============================================
●画面の横幅が769px以下(スマホ)
===============================================*/
@media only screen and (max-width: 769px) {

	#contents {
		padding: 0;
	}
	#mainImage{
		margin: 0 1.66em 1.66em;
	}
	#mainImage div{
		position: relative;
		width: auto;
		padding: 45.45% 0 0;
	}
	#mainImage div h1 {
	position: absolute;
	top: 10%;
	left: 5%;
	font-size: 4.28vw;
	font-weight: bold;
	line-height: 1.8em;
	}
	#mainImage div h1 .h1font02{
		display: block;
		font-size: 1.5em;
	}
	
	.index .title01 {
		padding-left: 38px;
		background: url(../../images/mainframe/icon02.png) no-repeat 1em 5px;
		background-size: auto 60%;
	}
	
	/* 新着情報
	--------------------------------*/
	#newsBox {
		width: 100%;
		padding: 0 1.66em;
		margin-bottom: 2.5em;
	}
	#newsBox h2 {
		position: relative;
		padding-left: 40px;
		margin-bottom: 1em;
		border: #947054 1px solid;
		background-color: #fff;
		font-size: 1.5em;
		font-weight: bold;
		color: #b81a35;
		line-height: 40px;
	}
	#newsBox h2 img {
		display: block;
		position: absolute;
		top: 5px;
		left: -15px;
		width: 40px;
		height: auto;
	}
	#newsList {
		width: 100%;
		margin-bottom: 10px;
	}
	#newsList li .date{
		display: block;
		width: 100%;
		margin-bottom: 0.25em;
		position: relative;
	}
	#newsList li .new {
		width: 3.5em;
		position: absolute;
		left: 7.5em;
		top: 0;
	}
	
	#newsTable li .newsTxt{
		display: block;
		width: 100%;
		margin-bottom: 0.25em;
	}
	
	/*おすすめ商品
	--------------------------------*/
	.recommend { margin-bottom: 1em;}
	.itemInfoArea {
		box-sizing: border-box;
		padding: 1em;
	}
	#itemList li {
		flex-basis: 50%;
		border-bottom: 1px solid #dddddd;
		background-color: #fff;
	}
	#itemList li:nth-of-type(odd) {
		border-right: 1px solid #dddddd;
	}
	#itemList li:nth-of-type(1), #itemList li:nth-of-type(2) {
		border-top: 1px solid #dddddd;
	}
	
	#itemList li h3 {
		font-size: 1.23em;
		line-height: 1.25em;
		margin-bottom: 0.5em;
	}
	.recommend .moreBtn { margin: 1.5em auto 2.5em;}
	
	/* キャンペーン
	--------------------------------*/
	.campaign {
		margin: 2.5em 0;
	} 
	#campaignList li {
		flex-basis: 50%;
		margin-bottom: 2em;
	}
	#campaignList li a {
		text-decoration: none;
	}
	.infoArea {
		padding: 1em;
	}
	#campaignList li h3 {
		font-size: 1em;
		line-height: 1.5em;
		margin-bottom: 0.5em;
	}
	#campaignList li p {
		line-height: 18px;
		overflow: hidden;
	}
	
	/* バナー
	--------------------------------*/
	#bannerBox {
		padding: 0 1.66em;
	}
	
	#bannerBox li {
		margin-top: 1.53em; 
	}
}

/*===============================================
●画面の横幅が770px以上(PC)
===============================================*/
@media only screen and (min-width: 770px) {
	
	#mainImage {
		width: 100%;
		max-width: 880px;
		margin-bottom: 40px;
	}
	#mainImage div {
		padding-top: 45.45%;
		position: relative;
	}
	
	#mainImage div h1 {
	position: absolute;
	top: 8%;
	left: 4%;
	font-size: 2.28em;
	font-weight: bold;
	line-height: 1.8em;
	}
	#mainImage h1 .h1font01{
		color: #ad1d34;
	}
	#mainImage h1 .h1font02{
		display: block;
		font-size: 1.5em;
	}
	
	/* 新着情報
	--------------------------------*/
	#newsBox {
		box-sizing:border-box;
		width: 100%;
		max-width: 880px;
		margin-bottom: 40px;
		border: #947054 1px solid;
		background-color: #fff;
	}
	#newsTable {
		width: 100%;
		margin-bottom: 10px;
	}
	#newsBox h2 {
		font-size: 18px;
		font-weight: bold;
		color: #b81a35;
		line-height: 40px;
		padding-left: 40px;
		position: relative;
	}
	#newsBox h2 img {
		display: block;
		position: absolute;
		top: 2px;
		left: -16px;
	}
	#newsList { display: block;}
	#newsList li{
		display: flex;
		justify-content: space-between;
	}
	#newsList li .date {
		flex-basis: 15%;
		/*width:15%;*/
		/*padding: 5px 10px 5px 40px;*/
		padding: 5px 3em 5px 40px;
		position: relative;
	}
	#newsList li .date .new {}
	
	#newsList li .newsTxt {
		flex-basis: 85%;
		padding: 0.35em 0.71em 0.5em;
	}
	#newsList li .newsTxt .newsCaption:hover {
		color: #b81a35;
	}
	#newsList .date,
	#newsList .newsTxt {
		vertical-align: top;
		cursor: pointer;
		font-size: 14px;
		line-height: 1.42em;
	}

	/*#newsList li .newsTxt span.new {
		display:inline-block;
		background-color:#b81a35;
		color:#fff;
		font-size:10px;
		line-height:12px;
		padding:3px 5px;
		margin-left:5px;
		border-radius:2px;
		vertical-align:middle;
	}*/

	#newsList .pl20 {
		padding-left: 20px !important;
	}

	/* おすすめ商品
	--------------------------------*/
	.recommend #itemList li {
		box-sizing: border-box;
		width: 32%;
		margin-right: 2%;
		margin-bottom: 30px;
		background-color: #fff;
		overflow: hidden;
	}
	.recommend #itemList li:nth-of-type(3n) {
		margin-right: 0;
	}
	.recommend #itemList li .itemImg { border:#ddd 1px solid;}
	.itemInfoArea {
		padding: 10px;
		min-height: 140px;
	}
	.recommend #itemList li h3 {
		font-size: 16px;
		line-height: 24px;
	}
	.recommend #itemList li p {
		line-height: 18px;
		overflow: hidden;
	}
	.recommend #itemList table {
		width: 100%;
		margin-bottom: 15px;
	}
	.recommend #itemList th {
		width: 30%;
	}
	.recommend #itemList td {
		width: 70%;
	}
	.recommend #itemList th,
	.recommend #itemList td {
		font-size: 14px;
		line-height: 16px;
		padding: 3px 5px 3px 0;
	}
	.recommend #itemList .memberPrice th {
		font-weight: bold;
	}
	.recommend #itemList .memberPrice td {
		font-size: 16px;
		font-weight: bold;
	}
	.recommend .moreBtn { margin: 0 auto 40px;}
	
	/* キャンペーン
	--------------------------------*/

	#campaignList {
		display: flex;
		justify-content: space-between;
		margin-bottom: 30px;
	}
	#campaignList li {
		flex-basis: 48.8%;
		margin-bottom: 30px;
	}
	#campaignList li:nth-of-type(3n) {
		margin-right: 0;
	}
	#campaignList li a {
		text-decoration: none;
	}
	.infoArea {
		box-sizing: border-box;
		padding: 10px;
		/*height:120px;*/
	}

	#campaignList li a:hover .innerBox::after { opacity: 0;}
	
	#campaignList li p {
		line-height: 18px;
		/*height:90px;*/
		overflow: hidden;
	}
	
	/* バナー
	--------------------------------*/

	#bannerBox {
		margin-bottom: 40px;
	}
	#bannerBox li {
		float: left;
		width: 32%;
		margin-right: 2%;
	}
	#bannerBox li a:hover {
		opacity: 0.8;
		transition: all 0.3s;
	}
	#bannerBox li img {
		width: 100%;
		max-width: 100%;
		height: auto;
	}
	#bannerBox li:last-child {
		margin: 0;
	}
	
}
