﻿

#first-box {
	width: 100%;
	position: relative;
	box-sizing: border-box;
	background: 
    url("../images/logo_beer_fes.svg") repeat-x left -40% top -30px / 1200px,
    url("../images/logo_beer_fes.svg") repeat-x left 20% bottom / 1200px;
	border: solid 0.1px #ffd320;
}

@media (max-width:600px){
	
	#first-box {
		background: 
		url("../images/logo_beer_fes.svg") repeat-x left 10% top -20px / 950px,
		url("../images/logo_beer_fes.svg") repeat-x left 40%  bottom / 950px;
	}
	
}

.head-bar {
	width: 100%;
	padding: 25px 25px;
	box-sizing: border-box;
	text-align: left;
}

.head-bar img {
	width: 180px;
}

.head-bar a:hover{
	opacity: 0.7;
	transition: .3s;
}

@media (max-width:600px){
	
	.head-bar {
		text-align: center;
		padding: 25px 20px;
	}
	
}

.first-block {
	width: 94%;
	max-width: 1050px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 auto 7% auto;
}

.first-logo-box {
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.first-logo-wrap {
	width: 80%;
}

.first-logo-wrap p {
	width: 90%;
	margin: 0 auto 7% auto;
}

.first-logo-wrap dd {
	width: 100%;
	margin: 0 auto 10% auto;
}

.first-logo-wrap dl {
	width: 35%;
	margin: 0 auto 0 auto;
}

.first-beer {
	position: relative;
	width: 50%;
	display: flex;
	justify-content: center;
}

.first-beer-img {
	width: 95%;
}

.first-beer-white {
	display: none;
	position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

@media (max-width:600px){
	
	.first-block {
		margin: 15% 3% 20% 3%;
	}
	
	.first-logo-box {
		width: 100%;
		margin-bottom: 5%;
	}
	
	.first-logo-wrap {
		width: 100%;
	}
	
	.first-logo-wrap p {
		width: 80%;
		margin: 0 auto 5% auto;
	}
	
	.first-logo-wrap dd {
		width: 100%;
	}
	
	.first-logo-wrap dl {
		display: none;
	}
	
	.first-beer {
		width: 100%;
	}
	
	.first-beer-img {
		width: 70%;
	}
	
	.first-beer-white {
		display: block;
	}
	
	.first-beer-white img {
		width: 60%;
	}

	
}









/*================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================*/

