
/*メニュー（list）
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#main .list {
	position: relative;overflow: hidden;
	padding: 20px;			/*ボックス内の余白*/
	margin-bottom: 20px;	/*ボックスの下に空けるスペース*/
	background: linear-gradient(#fff, #eee);	/*背景グラデーション*/
	color: #333;		/*文字色*/
}
#main .list a {
	color: #333;		/*リンクテキストの文字色*/
}
/*ボックス内の段落タグ設定*/
#main .list p {
	padding: 0px;
	margin-left: 35%;	/*左の写真とのバランスをとって設定して下さい*/
}
/*ボックス内の写真設定*/
#main .list figure img {
	float: left;		/*画像を左へ回り込み*/
	width: 30%;			/*写真の幅*/
	background: #fff;	/*画像の背景色。ここでは枠線と画像の間の色になります。*/
	padding: 5px;		/*余白。ここに上の行で設定した背景色が出ます。*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}
/*ボックス内のh4タグ設定*/
#main .list h4 {
	margin-bottom: 0.5em;
	margin-left: 35%;			/*左の写真とのバランスをとって設定*/
	border-bottom: 1px solid #ccc;	/*下側の線の幅、線種、色*/
	font-size: 18px;	/*文字サイズ*/
}

/*menu.htmlのテキストメニュー設定
---------------------------------------------------------------------------*/
/*テキストメニュー全体を囲むブロック*/
.textmenu {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	border-top: 1px solid rgba(255,255,255,0.2);	/*上の線の幅、線種、色。255,255,255は白の事で、0.2は色が20%出た状態。*/
	margin-bottom: 50px;	/*下に空けるスペース*/
}

/*偶数番目の行の色を変更する*/
.textmenu dt:nth-of-type(odd), .textmenu dd:nth-of-type(odd) {
	background: #111;	/*背景色*/
}

/*メニュータイトル*/
.textmenu dt {
	width: calc(100% - 10em);		/*「10em」は下の「.textmenu dd」のwidthの値を入れて下さい。*/
	padding: 10px 0px 10px 20px;	/*上、右、下、左への余白*/
	border-bottom: 1px solid rgba(255,255,255,0.2);	/*下線の幅、線種、色。*/
}

/*価格*/
.textmenu dd {
	width: 10em;		/*ここを変更する場合は、上の「.textmenu dt」のwidthも変更して下さい。*/
	text-align: right;	/*価格なので、テキストを右寄せで揃えて見やすくしておく。*/
	padding: 10px 20px 10px 0px;	/*上、右、下、左への余白*/
	border-bottom: 1px solid rgba(255,255,255,0.2);	/*下線の幅、線種、色。*/
}

/*menu.htmlの画像配置のコンパクトメニュー部分
---------------------------------------------------------------------------*/
/*listボックスを囲むボックス*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 5px;		/*上下、左右へのボックス内の余白*/
}

/*１個あたりのボックス*/
.list {
	width: 49%;				/*ボックスの幅*/
	margin-right: 2%;		/*ボックス同士の左右間の余白。ボックスを２列並べるので、49%×2個=98%。100%との差の2%がここに入ります。*/
	margin-bottom: 15px;	/*ボックス同士の上下間の余白*/
	text-align: center;		/*テキストをセンタリング*/
	font-size: 0.7rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
}

/*2の倍数(偶数番目)のボックスへの追加指定*/
.list:nth-of-type(2n) {
	margin-right: 0;	/*右側のスペースをなくす設定*/
}

/*ボックス内のh4タグ。メニュータイトルを入力しているスペースです。*/
.list h4 {
	margin: 10px 0 0;		/*上、左右、下に空けるスペース*/
	font-weight: normal;	/*hタグはデフォルトで太字なので、これを標準にする*/
}

/*ボックス内のpタグ。価格を入力しているスペースです。*/
.list p {
	margin: 0!important;	/*「main p」のマージンをリセットする*/
}

/*トップページの「今週のランチ」ブロック
---------------------------------------------------------------------------*/
/*写真とメニュー解説テキストを囲むブロック*/
.list2 {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	align-items: center;	/*垂直揃えの指定。上下中央に配置されるように。*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	margin-bottom: 40px;	/*下に空けるスペース*/
}

/*list2ブロック内のh4タグ*/
.list2 h4 {
	margin: 0;
	font-size: 1.2rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	font-weight: normal;	/*hタグはデフォルトで太字なので、これを標準にする*/
	text-align: center;		/*テキストをセンタリング*/
}

/*写真下の小さなテキスト*/
.list2 figcaption {
	margin-top: 20px;	/*写真とテキストとの間に空けるスペース*/
	font-size: 0.7rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
}

/*list2ブロック内のfigureタグ。写真を囲むブロック。*/
.list2 figure {
	width: 90%;				/*幅*/
	text-align: center;		/*テキストをセンタリング*/
}

/*料理写真*/
.list2 figure img {
	padding: 10px;		/*写真の周りに少し余白を作って、より写真っぽく見せる*/
	background: #fff;	/*上の10pxとの間に出る色*/
	box-shadow: 0px 0px 50px 10px rgba(255,255,255,0.4);	/*ボックスの影。右へ、下へ、ぼかし幅、範囲。255,255,255は白の事で0.4は色が40%出た状態の事。*/
	transform: rotate(-2deg);	/*左に少しだけ回転させる指定。回転させたくなければこの１行と、下の「.list2:nth-of-type(even) img」のブロックを削除。*/
}

/*偶数番目のimg画像*/
.list2:nth-of-type(even) img {
	transform: rotate(2deg);	/*回転を上と逆向きに。*/
}

/*list2内のtextブロック*/
.list2 .text {
	width: 100%;	/*幅*/
}

/*list2内のリストタグ*/
.list2 li {
	margin-bottom: 10px;	/*上下間にとるスペース*/
}

/*list2内のリストタグ内のspanタグ。文字サイズの小さい説明テキスト部分です。*/
.list2 li span {
	display: block;
	font-size: 0.7rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	opacity: 0.5;		/*透明度。0.5は色が50%出た状態の事。*/
}
