@font-face {
  font-family: "07Yasashisa";
  src: url("../font/07Yasashisa.ttf") format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "07Yasashisa";
  src: url("../font/07YasashisaBold.ttf") format("truetype");
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url("../img/bg.png");
  width: 100%;
  height: 100%;
  font-family: "07Yasashisa";
  overflow-x: hidden;
}

header {
  width: 100%;
  height: 50px;
  background-image: linear-gradient(#FC0 80%, #DA0 100%);
  display: flex;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  color: #850;
}

#logo {
  display: block;
}

#logo img {
  height: 100%;
}

#logo-mini {
  display: none;
}

@media screen and (max-width: 500px) {
  #logo-full {
    display: none;
  }
  #logo-mini {
    display: block;
  }
}

main {
  width: 100%;
  min-height: calc(100vh - 100px);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.6em;
  margin: 0 auto;
  padding: 1em 2em;
  word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5 {
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-position: left center;
}

ul,
ol {
  margin: 0 1em 0 2em;
  padding: 0.5em 0;
}

li>ul,
li>ol {
  margin: 0;
  margin-left: 1em;
  padding: 0;
}

dl {
  margin: 0 1em;
  padding: 0.5em 0;
}

dt {
  margin-top: 0.2em;
}

dd {
  margin: 0;
  margin-left: 1em;
}

dd>dl {
  margin: 0;
  padding: 0.5em 0;
}

footer {
  width: 100%;
  height: 50px;
  background-image: linear-gradient(#DA0 0%, #FC0 20%);
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.4);
}

.scroll-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.scroll-top a {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: #FC0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  color: #850;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
  text-decoration: none;
  opacity: 0.6;
}

.scroll-top a:hover {
  opacity: 0.8;
}

.center {
  text-align: center;
}

.small {
  font-size: 0.9em;
}

.large {
  font-size: 1.2em;
}

.highlight {
  font-weight: bold;
}

.black {
  color: #000000;
}

.blue {
  color: #07C;
}

.navyblue {
  color: #048;
}

.red {
  color: #A00;
}