/* 全ページ共通
------------------------------------------------------------*/
html {
	font-size: 100%;
}

body {
	padding: 0% 0%;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-image: url("../img/background.jpg");
}

.header, #main, .footer {
	width: 97%;
	margin-right: auto;
	margin-left: auto;
}

/* ヘッダ */
.header {
	display: flex;
	flex-direction: row;
	justify-content: start; /* 横位置 */
	align-items: center; /* 縦位置 */
    background-color: rgba(141,166,51,0.70);
}

.header h1 {
	width: 30%;
	font-size: 2.8em;
	margin-left: 2%;
}

.header nav {
    text-align: right;
	width: 70%;
}
 
.header nav ul li{
    list-style: none;
    display: inline-block;
	padding: 0% 2%;
}
 
/* フッタ */
.footer {
	display: flex;
	flex-direction: row;
	margin-top: auto;
    background-color: rgba(217,181,137,0.70);
	padding: 5px 0px;
	justify-content: flex-end;
	}

/* その他 */
#booklet {
	text-align: center;
}

/* テキストに関する制御 */
.header h1, nav, .footer p {
	font-family: 'Shippori Mincho B1', serif;
}

#main h2 {
	padding-left: 1em;
	font-size: 2.5em;
	line-height:0.95em;
	color: rgba(0,0,0,1.00);
	font-family: 'M PLUS 1p', sans-serif;
	text-shadow: 0.05em 0.05em 0.05em rgba(255,255,255,1.00);
}

#main p {
	padding-left: 2em;
	font-size: 1.4em;
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: bold;
}

.header nav, .footer p {
	margin-right: 20px;
	font-size: 1.2em;
}

.pDeco1, .pDeco3, .pDeco4 {
	font-size: 1.4em;
}

.pDeco2 {
	font-size: 1.5em;
}

.pDeco3 {
	color: rgba(191,63,52,1.00);
}

.pDeco4 {
	color: rgba(0,0,0,0.50);
}


/* リンクに関する制御 */
a {
    color: rgba(29,29,29,1.00);
}

.header h1 a, .header nav ul li a {
	text-decoration: none;
}

.header nav li:hover, #main a:hover {
    background-color: rgba(242,211,53,0.50);
}

#main a {
	text-decoration: underline;
}

#main a:hover {
	text-decoration: none;
}


/* 画像制御 */
#booklet img {
	width: 90%;
	margin: 2% 0%;
}
