/*----------------------------------------------------
cuisine css for kounkan


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

/* element -----------------------------------------*/


div#cuisine {
	clear:both;
	width:100%;
}

.header_bg{
	background:url(../images/title_bg.jpg) top center no-repeat;
}

div#cuisine_body {
	width:950px;
	margin:auto ;
}

div#cuisine_body h1 {
	text-align:right;
	margin:0 auto;
	padding:0;
	z-index: 111;
	position: relative;
}

div#cuisine_body p {
	margin-top:-10px;
	padding:0 0 55px 20px;
}

div#cuisine_body .img {
	padding-bottom:50px;
}

div#cuisine_body .bottom_img {
	float:left;
	padding-bottom:50px;
}

div#cuisine_body .bottom_txt {
	margin-top:100px;
	float:right;
	width:430px;
}

/* タブ　画像切り替え*/
#rotation{
	width:950px;
	margin: 50px auto;
	margin-bottom: 200px;
}
#rotation .horizontal{
	width:600px;
	font-size: 22px;
	text-align: center;
	margin: 20px auto;
	padding: 0;
}
#rotation .horizontal li{
	width:150px;
	height:85px;
	display: table-cell;
	text-decoration: none;
	border-right: 1px solid #bfbfbf;
}
#rotation .horizontal li:first-child{
	border-left: 1px solid #bfbfbf;
}
#rotation .horizontal li a{
/*	display: block; */
	color: #000000;
  display: inline-block;
  text-decoration: none;
	width: 100%;
	height:auto;
	position: relative;
box-sizing: content-box;

}
#rotation .horizontal li a::after{
  position: absolute;
  bottom: -30px;
  left: 0;
  content: '';
  width: 149.5px;
  height: 8px;
  background: #000000;
  transform: scale(0, 1);
  transform-origin: left;
  transition: transform .3s;
	box-sizing: content-box;
}
#rotation .horizontal li a:hover::after{
  transform: scale(1, 1);
}

#rotation .horizontal span{
	font-size:11px;
}
#rotation .active{
border-bottom: 8px solid #000000;
}
#tab-1 img,
#tab-2 img,
#tab-3 img,
#tab-4 img{
	animation: fadeIn 5s ease-out 0s 1 normal;
  -webkit-animation: fadeIn 5s ease-out 0s 1 normal;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
	
