/*カフェピッコロ*/

/*PC用設定*/
/* =============================================== */

* {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	box-sizing: border-box;
}

/* 背景色を指定 */

body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background-image: url(img/wallpaper.jpg);
}

/* 外枠を左右中央に配置・横幅・色を指定 */

div#container {
	margin: 0 auto 0 auto;
	width:800px;
	background-color: white;
}

/* =============================================== */
/* タイトルの背景画像・文字色・文字の配置を指定 */
/* =============================================== */

header {
	background-image: url(img/bgpic.png);
	background-size: contain;
	width: 800px;
	height: 300px;
	color: maroon;
	text-align: left;
	line-height: 20px;
}

h1 {
	font-size: 14px;
	margin-top: 0;
	padding: 1em;
}

/* =============================================== */
/* ナビゲーションバーの設定 */
/* =============================================== */

nav ul {
	display: flex;
	margin: 0;
	padding: 0 0;
	list-style-type: none;
	background-color: #999900;
}

nav ul li{
	flex: 1;
	height: 50px;
	text-align: center;
	color: maroon;	/*文字色の指定*/
	background-image: url(img/nav.png);	/* ナビバーのボタン画像*/
	background-size: cover;	/*ボタン画像のサイズを指定*/
}

nav li a {
	display: block;	/* ナビバー全体をボタンにする */
	color: maroon;
	font-weight: bold;
	line-height: 50px;
	text-decoration: none;
}

nav a: visited {
	color: maroon;
}

nav ul li.mobile {
	display: none;
}

/*コンテンツブロック（メインブロックとサイドブロック）*/

/* 親要素の設定 */
.contents_block {
	display: flex;
	overflow: hidden;
	zoom: 1;
}


/* メインブロックの設定 */

.main_block {
	flex-basis: 75%;
}

/* 本文の段落 */

.main_block p {
	padding-left: 2em;
	font-size: 95%;
}


/* h2タグの設定 */

h2 {
	font-size: 100%;
	color: white;
	background: linear-gradient(90deg, maroon, #FFFFDD);
	background-size: contain;
/*h2の見出し文字列を1文字内側へ寄せて、高さを指定*/
	padding: 3px 0 3px 1em;
}


/* h3タグの設定 */

h3 {
	background-image: url(img/tsuta.png);
	background-size: contain;
	font-size: 100%;
	padding: 3px 0 3px 2em;
	color: maroon;
}

	/* -------------------------- */
	/* ミニブロックの設定 */
	/* -------------------------- */

div.mini_block {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
}

div.mini_box {
	border: solid 1px silver;
	width: 48%;
	height: 150px;
	margin-top: 0px;
	margin-bottom: 8px;
}

div.mini_box_title {
	text-align: center;
	padding: 8px 0;
	background-color: #FAEBD7;
	background-size: 100% 100%;
}

.mini_box_title a {
	color: maroon;
	font-weight: bold;
	text-decoration: none;
}

div.mini_box_content {
	display: flex;
	justify-content: space-around;
}

.mini_block p {
	width: 60%;
	height: 70%;
	margin: 0 0;
	padding: 4px 0;
	vertical-align: top;
	text-align: left;
	font-size: 95%;
}

.mini_block img {
	display: inline-block;
	padding: 4px 0;
}


/* サイドブロック（「サイドバー」と「その他の情報」 */

div.side_block {
	flex-basis: 25%;
	margin-top: 5px;	/* ナビバーとの間隔を空ける */
	margin-right: 5px;
	overflow: hidden;
}


	/* -------------------------- */
	/* サイドバーの設定 */
	/* -------------------------- */

div.side_bar {
	padding: 1px 0;
	text-align: right;

}

ul.side_bar {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.side_bar li{
	display: inline-block;
	width: 196px;
	padding: 18px 0;
	text-align: center;
	color: #FF55FF;
	background-image: url(img/nav.png);
	background-size: cover;
}

.side_bar a {
	display: block;	/* ナビバー全体をボタンにする */
	color: maroon;
	font-weight: bold;
	text-decoration: none;
}

	/* -------------------------- */
	/* 「その他の情報」の設定 */
	/* -------------------------- */

div.information {
	width: 190px;
	margin-left: 5px;	/* 左端にすき間を作る */
	margin-top: 12px;	/* サイドバーとの間隔を空けるため */
	margin-bottom: 8px;	/* サイドブロックとヘッダーの間隔を空ける */
	border: solid 1px silver;
}

div.info_title {
	background-color: #D9E5FF;
	text-align: center;
	padding: 5px 0;
	font-weight: bold;
}

.info_contents p {
	padding-left: 6px;
	font-size: 95%;
}


/* =============================================== */
/* 各ページごとの設定 */
/* =============================================== */

/* =============================================== */
/* トップページ */
/* =============================================== */

.kanban {
	float: right;
	margin: 5px;
}

/* =============================================== */
/* お店の写真 */
/* =============================================== */

div.photo {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

p.photo {
	padding-left: 3em;
}

/* =============================================== */
/* メニュー */
/* =============================================== */

div.illust {
	display: inline-block;
	float: right;
	width: 10%;
	margin-right: 20px;
}

table.menu {
	width: 92%;
	margin-left: 2em;
	margin-right: 3em;
	border-collapse: collapse;
	text-align: left;
	background-color: #FAEBD7;
}

.menu th {
	border: dotted 1px silver;
	border-width: 0 0 1px 0;
	padding-left: 1em;
	width: 30%;
	height: 3em;
}

.menu td {
	border: dotted 1px silver;
	border-width: 0 1px 1px 0;
	text-align: right;
	padding-right: 8px;
	width: 10%;
}

table.food {
	width: 92%;
	margin-left: 2em;
	margin-right: 3em;
	border-collapse: collapse;
	text-align: center;
	font-size: 90%;
}

img.food {
	width: 90%;
}

/* =============================================== */
/* ランチ */
/* =============================================== */

ul.menu {
	margin-left: 2em;
	margin-right: 2em;
	padding-left: 2em;
	font-size: 95%;
	line-height: 200%;
	background-color: #FAEBD7;
}


/* =============================================== */
/* アクセス */
/* =============================================== */

table.access {
	width: 92%;
	margin-left: 2em;
	margin-right: 3em;
	border-collapse: collapse;
	text-align: left;
	background-color: #FAEBD7;
}

.access th {
	border: solid 1px silver;
	padding-left: 1em;
	width: 20%;
	height: 3em;
}

.access td {
	border: solid 1px silver;
	padding-left: 6px;
	width: 80%;
	font-size: 95%;
}

div.map {
	margin-left: 2em;
	margin-right: auto;
	text-align: center;
}

/* フッターの設定 */

footer {
	text-align: center;
	color: white;
	font-size: 80%;
	padding: 6px;
	background-image: url(img/wallpaper.jpg);
}

footer a {
	color: white;
	text-decoration: none;
}


/* =============================================== */
/*スマホ用の設定*/

@media (max-width: 768px) {

	#container {
	max-width: 100%; /* max-widthの制限を解除 */
	width: 100%;
	margin: 0;
	}

	header {
		width: 100%;
		height: 200px;
		margin: 0;
		background-image: url(img/bgpic.png);
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		display: flex;
		align-items: flex-start; /* 上に寄せる */
	}
	
	
	/*ナビゲーションバー*/
	
	nav {
		width: 100%;
	}
	
	nav ul {
		display: flex;
		flex-wrap: wrap;
		
	}
	
	nav ul li {
		flex-basis: 33%;
	}
	
	nav ul li.mobile {
		display: block;
	}
	
	/*メインブロックの設定*/
	
	.contents_block {
		width: 100%;
	}
	
	.main_block {
		flex-basis: 100%;/*メインブロック幅をリセット*/
		/* widthでは効かない*/
	}
	
		.side_block {
		display: none;
	}
	
	/*ミニボックス*/
	
	div.mini_box {
		border: solid 1px silver;
		width: 48%;
		height: 200px;
		margin-top: 0px;
		margin-bottom: 8px;
	}
	
	
	
	
	
}
