@charset "utf-8";

/* -------------------------------------------------------------------------- */

#contents {
	background: none;
}

#keyvisual {
	height: 400px;
	position: relative;
	z-index: -1;
	border-radius: 5px;
}

#keyvisual:after {
	content: "";
	position: absolute;
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	background-color: #9F9485;
	border-radius: 5px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	z-index: -1;
}

#keyvisual li.kv-img {
	width: 100%;
	height: 100%;
	position: absolute;
}

#keyvisual .kv-img-wrap {
	width: 100%;
	height: 100%;
}

#keyvisual figcaption {
	position: absolute;
	top: 170px;
	left: 28px;
	z-index: 100;
}

#keyvisual figcaption.animate {
	overflow: hidden;
	background-image: url(../images/keyvisual_copy_anm-pc.gif);
		background-repeat: no-repeat;
		background-size: 100%;
		background-position: left center;
		width: 531px;
		height: 77px;
}

#keyvisual ul:before {
	position: absolute;
	display: block;
	content: ".";
	width: 940px;
	height: 400px;
	/*background-image: url(../common/images/image_frame_w940px_h400px.png);*/
	font-size: 0;
	line-height: 0;
	opacity: 0.95;
	z-index: 50;
}

#keyvisual ul img {
	border-radius: 5px;
}

#keyvisual .sp-kv {
	display: none;
}

#keyvisual .pc-kv {
	display: block;
}

/* mask */
.kv-mask {
	line-height: 0;
	font-size: 0;
	width: 100%;
	height: 100%;
}

svg.keyvisual-pc {
	width: 100%;
	height: 100%;
}

/* ========================================================================== */
/* recommend                                                                  */
/* ========================================================================== */

#recommend {
	vertical-align: top;
	margin-top: 20px;
	position: relative;
}

#recommend li {
	display: inline-block;
	width: 300px;
	margin: 0 20px 0 0;
	padding: 0;
	vertical-align: top;
}

#recommend li:nth-child(3n) {
	margin-right: 0px;
}

#recommend h1 {
	font-weight: bold;
	padding: 8px 0 5px;
}

/*#recommend h1#boulangerie9b,
#recommend h1#kumamotobrand {
	background: url(../common/images/icon_blank.png) no-repeat right 5px center;
}*/

#recommend h1#boulangerie9b,
#recommend h1#aritayaki {
	background: url(../common/images/icon_blank.png) no-repeat right 5px bottom 12px;
	background-size: 10px;
}

#recommend p {
	font-size: 0.95em;
	line-height: 16px;
}

/*#recommend figure {
	line-height: 0;
	font-size: 0;
	background-image: url(../common/images/animation_bg_2_w.gif);
	border-radius: 5px;
}*/

#recommend a {
	text-decoration: none;
}

#recommend a:before {
	position: absolute;
	display: block;
	content: ".";
	width: 300px;
	height: 140px;
	/*background-image: url(../common/images/image_frame_w300px_h140px.png);*/
	font-size: 0;
	line-height: 0;
	z-index: 1;
}

#recommend a img {
	border-radius: 5px;
	opacity: 1;
	-webkit-transition: opacity 0.3s ease;
	   -moz-transition: opacity 0.3s ease;
	        transition: opacity 0.3s ease;
}

#recommend a:hover img {
	opacity: 0.825;
}

.latest-news-wrap {
	display: none;
}

.btn-wrap {
	display: none;
}

.contents-title {
	display: none;
}

@media screen and (max-width: 980px) {

	#contents {
		margin: 120px auto 20px;
	}

	#keyvisual {
		height: auto;
		width: 100%;
	}

	#keyvisual:before {
		content: "";
		display: block;
		padding-bottom: 42.553%;
	}

	#keyvisual ul {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
	}

	#keyvisual figcaption {
		top: 40%;
	}

	#recommend li {
		width: calc(33.333% - 15px);
	}

}

@media screen and (max-width: 767px) {

	#keyvisual figcaption {
		top: calc(50% - 50px);
	}

	#keyvisual figcaption.animate {
		background-image: url(../images/keyvisual_copy_anm-sp.gif);
		max-width: 320px;
		height: 101px;
		width: calc(100% - 40px);
	}

}

@media screen and (max-width: 540px) {

	#contents {
		width: 100%;
		margin: 0 auto;
		text-align: center;
		overflow: hidden;
	}

	#keyvisual {
		height: calc(100vh - 60px);
		margin: 0 auto;
		border-radius: 0;
	}

	#keyvisual:before {
		display: none;
	}

	#keyvisual:after {
		width: 100%;
		height: 100%;
		border-radius: 0;
	}

	#keyvisual ul {
		width: 100%;
		height: 100%;
		position: relative;
	}

	#keyvisual li.kv-img {
		left: 0;
	}

	#keyvisual figcaption {
		top: calc(50% - 30px);
		left: 25px;
	}

	#keyvisual .kv-img-wrap {
		width: 100%;
		height: 100%;
		overflow: hidden;
		position: relative;
	}

	#keyvisual li figure {
		position: absolute;
		left: 0;
		top: 0;
		width: 101%;
		height: 101%;
	}

	#keyvisual li img {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 50% 50%;
	}

	#keyvisual ul:before {
		width: 100%;
		height: 100%;
	}

	#keyvisual .sp-kv {
		display: block;
	}

	#keyvisual .pc-kv {
		display: none;
	}

	.latest-news-wrap {
		background-color: #fff;
		position: relative;
		margin-bottom: 75px;
		width: 100%;
		display: block;
	}

	.latest-news-wrap:before {
		content: "";
		position: absolute;
		top: -2px;
		right: 0;
		left: 0;
		margin: auto;
		width: 100%;
		height: 3px;
		background-image: url(../common/svg/mask-jagged-sp.svg);
		background-position: bottom center;
		background-repeat: repeat-x;
		background-size: cover;
	}

	.latest-news-wrap:after {
		content: "";
		position: absolute;
		right: 0;
		background-image: url(../images/home_decoration-shadow.png);
		background-repeat: no-repeat;
		background-position: right bottom;
		background-size: cover;
		width: 220px;
		height: 110px;
		opacity: 0.6
	}

	.latest-news-wrap a {
		text-decoration: none;
		padding: 18px 0;
		box-sizing: border-box;
		display: block;
	}

	.latest-news {
		text-align: left;
		display: flex;
		align-items: flex-start;
		justify-content: flex-start;
		width: calc(100% - 50px);
		margin: 0 auto;
		/*font-size: 13px;*/
	}

	.latest-date {
		color: rgba(51,34,21,0.8);
		display: inline-block;
		padding-right: 10px;
		position: relative;
		width: 7em;
	}

	.latest-date:after {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		margin: auto;
		width: 1px;
		height: 20px;
		background-color: rgba(51,34,21,0.3);
	}

	.latest-title {
		overflow: hidden;
		/*white-space: nowrap;*/
		text-overflow: ellipsis;
		width: calc(100% - 7em);
		position: relative;
		padding: 0 10px;
	}

	.latest-title:after {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		margin: auto;
		background-image: url(../common/images/icon_arrow_small.png);
		background-repeat: no-repeat;
		background-position: right center;
		background-size: cover;
		width: 4px;
		height: 7px;
	}

	.contents-title {
		/*width: calc(100% - 50px);*/
		width: 100%;
		text-align: center;
		margin: 0 auto 30px;
		display: block;
	}

	.contents-title img {
		width: 100%;
		max-width: 260px;
	}

	#recommend {
		width: calc(100% - 50px);
		margin: 0 auto;
	}

	#recommend li {
		width: 100%;
		margin: 0 auto 65px;
		position: relative;
	}

	#recommend li:before,
	#recommend li:after {
		content: "";
		position: absolute;
		width: 150px;
		height: 150px;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
		opacity: 0.08;
	}

	#recommend li:first-child:after {
		bottom: 20px;
		left: -50px;
		background-image: url(../images/decoration-illust1.png);
	}

	#recommend li:nth-child(2):before {
		top: -20%;
		right: -50px;
		background-image: url(../images/decoration-illust2.png);
	}

	#recommend li:nth-child(2):after {
		bottom: -35%;
		left: -50px;
		background-image: url(../images/decoration-illust3.png);
	}

	#recommend li:last-child:after {
		bottom: 30px;
		right: -50px;
		background-image: url(../images/decoration-illust4.png);
	}

	#recommend li:last-child {
		margin-bottom: 60px;
	}

	#recommend h1#boulangerie9b,
	#recommend h1#aritayaki {
		background-size: 15px;
		background-position: right 5px bottom 15px;
	}
	
	#recommend a:before {
		width: 100%;
	}

	#recommend a img {
		width: 100%;
	}

	#recommend a h1 {
		text-align: center;
		font-size: 16px;
		padding: 20px 0 10px;
	}

	#recommend a p {
		font-size: 14px;
		line-height: 1.8;
		text-align: left;
	}

	.btn-wrap {
		width: calc(100% - 50px);
		margin: 0 auto;
		text-align: center;
		display: block;
	}

	.btn-anchor {
		width: 80%;
		margin: 0 auto;
		display: block;
	}

	.btn-anchor img {
		width: 100%;
	}

}

@media screen and (max-width: 414px) {

	.btn-anchor {
		width: 100%;
	}

}

/* ========================================================================== */
/* underIE9                                                                   */
/* ========================================================================== */

.ie8 .frame {
	position: absolute;
	z-index: 500;
}

.ie6 #recommend li,
.ie7 #recommend li {
	float: left;
}

.ie8 #keyvisual {
	/* IE8 */
	/*behavior: url(/common/js/lib/PIE.htc); 
	position: relative;*/
}

