@charset "UTF-8";
/* CSS Document */

/*基本設定*/
*{
	margin: 0;
}
img{
	width: 100%;
	height: auto;
}
/*ページ全体の設定*/
body{
	display: grid;
	grid-template-columns: 20px 1fr 20px;
	grid-template-rows: 
		[head] 70px 
		[title] auto 
		[title2] auto 
		[banner1] auto 
		[map] auto 
		[banner2] auto 
		[banner3] auto 
		[foot] auto ;
	grid-row-gap: 10px;
	row-gap:10px;
	font-family: sans-serif;
}

/*パーツの位置*/
body > *{
	grid-column: 2/-2;
}
/*ヘッダー*/
header{
	grid-row:head;
	justify-self:center;
	align-self: center;

}
header img{
	width:200px;
}

/*ナビゲーションメニュー*/
nav{
	grid-row:head;
	justify-self:center;
	align-self: end;

}
nav ul{
	list-style-type: none;
	padding: 0;
	display: grid;
	grid-auto-flow: column;
	grid-row-gap: 20px;
	column-gap:20px;
}
nav a{
	color: #808080;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
}
nav a:hover{
	color: #9acd32;
}
/*ヒーローイメージ*/
figure.hero{
	grid-row: title / span 2;
	grid-column: 1/-1;
}
figure.hero img{
	height: 547px;
	object-fit:cover;
   object-position: 100% 100%;　/*画像右下寄せ*/
   vertical-align: bottom;
}

/*ロゴ2*/
figure.logo2{
	grid-row: title;	
	justify-self:center;
	width:250px;
	padding-top: 25px;
}
/*タイトル*/
h2{
	grid-row:title2;
	color: #FF69B4;
	font-size: 18px;
	font-weight: 200;
	line-height: 1.2;
	text-align: center;
	padding: 50px 0px 0px 0px ;
	text-shadow: /*白フチ*/
		white 2px 0px,  
		white -2px 0px,
        white 0px -2px, 
		white 0px 2px,
        white 2px 2px , 
		white -2px 2px,
        white 2px -2px, 
		white -2px -2px,
        white 1px 2px,  
		white -1px 2px,
        white 1px -2px, 
		white -1px -2px,
        white 2px 1px,  
		white -2px 1px,
        white 2px -1px, 
		white -2px -1px;	
}

/*バナー1*/
section h3{
	grid-column: 1/-1;
	font-size: 12px;
	font-weight: 100;
	text-align: center;
}
.banner1{           
	grid-row:banner1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap:10px 10px;
	gap:10px 10px
}

/*牧場マップ*/
figure.map{
	grid-row:map;	
	grid-column: 1/-1;
}
figure.map img {
	 object-fit: cover;
	 vertical-align: bottom;
}

/*バナー2の背景*/
.banner2-haikei{
    grid-row:banner2 /span 2 ;
    grid-column: 1/-1;
}
.banner2-haikei img{
    height: 1720px;
}

/*バナー2*/
.banner2 {
	grid-row:banner2 ;	
	grid-column: 1/-1;	
	justify-self:center;
	padding-top: 20px;
}
.banner2 img{
	width: 100%;
}
/*バナー3*/
.banner3 {
	grid-row:banner3 ;	
	grid-column: 1/-1;	
	justify-self:center;
}
.banner2 img{
	width: 100%;
}


/*フッター*/
footer{
	grid-row:foot;
	grid-column: 1/-1;
   background-color: #eeeeee;
}
address{
margin: 0 10%;
}
footer h3{
	padding: 15px 0px 5px 0;	
	font-size: 14px;
	text-align: center;
	border-bottom: solid 1px #a9a9a9;
}

footer p{
	font-size:10px ;
	line-height: 1.2;
	text-align: center;
	padding: 10px 0px;	
}

/*　＝＝＝＝PC版の設定＝＝＝＝　*/

@media (min-width: 768px){

/*PC版：ページ全体の設定*/
body{
grid-template-columns: 
0.2fr repeat(6,1fr) 0.2fr;/*行・左右を区切る*/
grid-column-gap: 5%;/*横の間隔*/
column-gap: 5%;/*横の間隔*/
}
/*PC版：ヘッダー*/
header{
justify-self: start;/*左右：左寄せ*/
padding-top: 30px;
}
/*PC版：ナビ*/
nav{
justify-self: end;/*左右：右寄せ*/
align-self: center;/*天地：センター揃え*/
padding-top: 20px;
}

/*PC版：ヒーローイメージ*/
figure.hero{
grid-row: title / span 2;
grid-column: 1/-1;
}
figure.hero img{
height: 400px;
object-fit:cover;
   object-position: 100% 100%;　/*画像右下寄せ*/
   vertical-align: bottom;
}
/*PC版：ロゴ2*/
figure.logo2{
grid-row: title /span 2;
grid-column: 2 /span 3;
justify-self:center;/*左右：センター揃え*/
align-self: center;/*天地：センター揃え*/
width:350px;
padding-top: 0px;
}
h2{
grid-row:title /span 2;
grid-column: 5 /span 2;
font-size: 18px;
font-weight: 200;
line-height: 1.2;
text-align: start;
align-self: center;/*天地：センター揃え*/
padding: 0px 0px 150px 0px ;
}
/*PC版：バナー１*/
.banner1{           
grid-row:banner1;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
grid-gap:10px 10px;
gap:10px 10px
}
/*PC版：牧場マップ*/
figure.map {
grid-row:map/ span 2;
grid-column: 2/-2;
align-self: center;/*天地：センター揃え*/
}
figure.map img {
    height: auto;
}
/*PC版：バナー２の背景を非表示に*/
.banner2-haikei{
display: none;
}
/*PC版：バナー2*/
.banner2{
grid-row:map/ span 2;
grid-column: 1/ span 3;
justify-self: start;/*左右：左寄せ*/
align-self: center;/*天地：センター揃え*/
}
.banner2 img{
	width: 220px;
}
.banner3{
grid-row:map/ span 2;
grid-column: 6/span 3;
justify-self: end;/*左右：右寄せ*/
align-self: center;/*天地：センター揃え*/
}
.banner3 img{
	width: 220px;
}
	
}
/*　＝＝＝＝PC版の設定ここまで＝＝＝＝　*/