@font-face {
  font-family: OpenSans;
  src: url("../fonts/OpenSans-Regular.ttf") format("ttf"),
      url("../fonts/OpenSans-Regular.woff") format("woff"),
      url("../fonts/OpenSans-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: OpenSans;
  src: url("../fonts/OpenSans-Medium.ttf") format("ttf"),
      url("../fonts/OpenSans-Medium.woff") format("woff"),
      url("../fonts/OpenSans-Medium.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: OpenSans;
  src: url("../fonts/OpenSans-SemiBold.ttf") format("ttf"),
      url("../fonts/OpenSans-SemiBold.woff") format("woff"),
      url("../fonts/OpenSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-family: OpenSans;
  src: url("../fonts/OpenSans-Bold.ttf") format("ttf"),
      url("../fonts/OpenSans-Bold.woff") format("woff"),
      url("../fonts/OpenSans-Bold.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: OpenSans;
  src: url("../fonts/OpenSans-ExtraBold.ttf") format("ttf"),
      url("../fonts/OpenSans-ExtraBold.woff") format("woff"),
      url("../fonts/OpenSans-ExtraBold.woff2") format("woff2");
  font-weight: 900;
}


* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  font-size: 14px;
	min-height: 100%;
}

body {
  font-family: OpenSans;
  font-size: 1rem;
  font-weight: 500;
  background-color: #000000;
  background-image: url(../images/background.jpg);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: calc(100%);
  color: #515151;
	min-height: 100%;
}

h2, p, ul, ol, blockquote {
	margin-top: 0.8em;
	margin-bottom: 1em;
}

ul ul, ul ol, ol ol, ol ul {
	margin-bottom: 0;
}

ul, ol {
	margin-left: 2em;
}


input, select, textarea, select option, textarea option, button {
  font-family: OpenSans;
  font-size: 1rem;
  font-weight: normal;
  background-color: #fffffe;
  border: 1px solid #919191;
  padding: 3px 5px;
}

input::placeholder, textarea::placeholder, select::placeholder {
  font-style: italic;
  color: #464646;
}


header {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  width: 100%;
  height: 170px;
}

header img {
	height: 160px;
	width: auto;
	margin-left: 30px;
	cursor: pointer;
}


main {
  width: 1200px;
  display: flex;
  margin-right: auto;
  margin-left: auto;
  min-height: calc(100% - 270px);
}


#base {
	background-color: #fffffe;
  width: 100%;
  min-height: 100%;
	padding: 1.5rem;
  margin: 10px 0 60px 0;
}

#base.full {
	min-height: 700px;
}

#base .content {
	margin: 1rem 0;
}

#base .content_box {
	font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

#base .box_highlighted {
	padding: 0 2rem;
  font-weight: 700;
  color: #d17d05;
  font-size: 1.6rem;
}


footer {
  padding: 10px;
  font-weight: 500;
	background-color: #1f2024;
  color: #fffffe;
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 101;
}

footer .footer_content {
  width: 1200px;
  display: flex;
  justify-content: flex-start;
}

footer a {
  text-decoration: none;
  color: #fff;
	display: inline-block;
  padding: 0 1rem;
}

footer a:hover {
  text-decoration: underline;
}

