body {
  margin: 0;
  color: rgba(0, 0, 0, 0.87);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 300;
}

/* Utilities */

.gutter {
  margin-left: 48px;
  margin-right: 48px;
}

/* Logo */

.brand {
  color: #795548;
  font-family: 'Sansita Swashed', cursive;
  font-size: 36px;
  font-weight: 300;
  white-space: nowrap;
}

.brand img {
  margin-right: 8px;
  vertical-align: middle;
  height: 64px;
}

/* TODO: reset */
h1.brand {
  margin: 0;
}

a.brand {
  text-decoration: none;
}

/* Header */

nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  font-weight: 400;
  font-size: 19px;
  text-align: center;
}

nav li {
  width: 144px;
  margin-left: 16px;
}

nav li a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.60);
  display: block;
  padding: 8px;
}

nav li a:hover {
  color: rgba(0, 0, 0, 0.87);
  transition: color 1s;
}

nav li {
  border-bottom: 3px solid rgba(0, 0, 0, 0);
}

nav li:hover {
  transition: border 1s;
  border-bottom: 3px solid rgba(0, 0, 0, 0.87);
}

nav li.active {
  border-bottom: 3px solid #388e3c;
}

nav li.active a {
  color: #388e3c;
}

.page-title {
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Caveat', cursive;
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  height: 319px;
  display: flex;
  align-items: flex-end;
}

.page-title h1 {
  font-size: 113px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0;
}

.title-container {
  background-repeat: no-repeat;
}

/* Footer */

footer {
  background: #388e3c;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.copyright:hover {
  text-decoration: underline;
}

.top {
  display: block;
  position: fixed;
  right: 48px;
  bottom: 32px;
  background: #795548;
  height: 80px;
  width: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.60;
}

.top i {
  font-size: 48px;
}

.top:hover {
  opacity: 0.87;
}

/* Small devices */

/* @media (max-width: 575.98px) { */
@media (max-width: 767.98px) {
  .gutter {
    margin-left: 24px;
    margin-right: 24px;
  }

  nav.gutter {
    margin-left: 0;
    margin-right: 0;
  }

  nav {
    margin: 16px 0 0 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav ul {
    margin: 8px 0 16px 0;
    font-size: 13px;
    width: 100%;
    justify-content: space-around;
  }

  nav li {
    margin-left: 0;
    width: 22%;
  }

  .page-title {
    align-items: center;
    justify-content: center;
    height: 91px;
    background-size: 100% auto;
  }

  .page-title h1 {
    font-size: 64px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
  }

  .top {
    right: 16px;
    bottom: 16px;
    height: 56px;
    width: 56px;
  }

  .top i {
    font-size: 32px;
  }

  /* Logo */

  .brand {
    font-size: 22px;
  }

  .brand img {
    margin-right: 4px;
    height: 40px;
  }
}
