/* CSS Stylesheet */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



/*My style sheet starts here*/

/*Layout*/
body {
	margin: 0 auto;
	margin-top: 2em;
	margin-bottom: 1em;
	width: 90%;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1em;
	line-height: 1.5;
	font-weight: 300;
}
header {
	display: block;
}

/*Typeface*/
header h1 {
	font-family: 'Sacramento', cursive;
	font-size: 2.7em;
	line-height: .6;
	margin-top: 1.7em
}
b {
	font-weight: 700;
}
h1, h2, h3 {
	font-family: 'Squada One', cursive;
	font-size: 1.5em;
}
h1 {
	font-size: 1.8em;
}
em {
	color: #f00822
}

/*Image*/
header img {
	width: 115px;
	height: 101px;
	float: left;
	margin-top: -60px;
}
/*navigation*/
header ul {
	display: flex;
	margin-top: 1.5em;
	justify-content: space-between;
	font-weight: 400;
}
header li a{
	padding: 1em;
}
header div {
	margin-top: 2em;
	display: block;
}
/*links*/
header a {
	text-decoration: none;
}
header a:link {
  color: #003597;
}
header a:visited {
  color: #003597;
}
header a:hover {
  color: #003597;
	background-color: #FFD200;
}
header a:active {
  color: #003597;
}
a {
  color: #469c14;
}
/*images*/
figure {
	margin-top: 1em;
	background-color: #469c14;
	margin-bottom: 1em;
}
figcaption {
	color: #fff;
	padding: 8px;
	text-align: center;
}
figure img {
	width:100%
}
/* Lists */
main ul {
    list-style: circle;
    list-style-position: inside;
	}
button {
	  background-color: #003597;
	  border: none;
	  color: #fff;
	  padding: 15px 32px;
		border: 2px solid #003597;
		border-radius: 8px;
	  text-align: center;
	  text-decoration: none;
	  display: inline-block;
	  font-size: 1em;
	  margin: 1em 0;
	  cursor: pointer;
		font-family: 'Noto Sans JP', sans-serif;
		transition-duration: 0.2s;
}
button:hover {
  background-color: #fff;
  color: #003597;
	border: 2px solid #003597
}
/*media queries*/
@media (min-width:800px) {
	body {
		width:80%;
	}
	#brand {
		display: block;
		margin-left: 18em;
		margin-top: -40px;
	}
	header img {
		margin-top: -90px;
	}
	figure {
		width:40%
	}
	header nav{
		width: 40%;
		margin: 0 auto;
	}
	header nav ul {
		display:flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 4em;
	}
	header nav li {
		flex: 3;
	}
	header img {
		width: 200px;
		height: 160px;
	}
	header h1 {
		font-size: 6em;
	}
}
