body {
  font-family: 'Noto Sans JP', sans-serif;
  background-image: url('./background.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #333;
}

.emphasize-ys {
  font-size: 1em;
  letter-spacing: 0.1em;
}

/*-------------------------------
  Navigation
--------------------------------*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1a2533;
  color: #ddd;
  padding: 15px 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a.logo {
  display: block;
  width: auto;
  margin: 5px 10px;
  font-size: 24px;
  font-weight: bold;
  color: #ddd;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-links {
  position: absolute;
  right: 0px;
  height: calc(100vh - 100%);
  top: 100%;
  background-color: rgba(26, 37, 51, 0.95);
  display: flex;
  flex-direction: column;
  width: 70%;
  transform: translateX(100%);
  transition: transform 0.5s ease-in;
}

.nav-links li {
  margin: 20px 0px 0px 30px;
  list-style: none;
  width: 100%;
}

.nav-links li:first-child {
  margin-top: 40px;
}

.nav-links a {
  text-align: left;
  display: block;
  color: #ddd;
  text-decoration: none;
}

.hamburger {
  display: block;
  cursor: pointer;
  margin-right: 20px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

.nav-active {
  transform: translateX(0%);
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media screen and (min-width: 768px) {
  nav a.logo {
    font-size: 28px;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    height: auto;
    transform: translateX(0);
    padding-right: 20px;
    background-color: transparent;
  }

  .nav-links li {
    margin: 0px 0px 0px 20px;
    width: auto;
  }

  .nav-links li:first-child {
    margin-top: 0px;
  }

  .nav-links a {
    color: white;
    font-size: 12px;
    white-space: nowrap;
  }

  .hamburger {
    display: none;
  }
}

/*-------------------------------
  Footer
--------------------------------*/
footer {
  background-color: #1a2533;
  color: #ddd;
  padding: 20px 0 6px;
  text-align: center;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-wrapper iframe {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
}

.footer-office-info {
  text-align: left;
  margin: 20px 20px 0 20px;
}

.footer-office-info h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.footer-office-info__contact {
  margin-bottom: 20px;
}

.footer-office-info__contact span {
  font-weight: bold;
}

.footer-office-info__address p {
  font-size: 0.9em;
}

.footer-office-info__address p:nth-child(3) {
  margin-top: 10px;
  font-size: 0.8em;
  color: #999;
}

.footer-office-info__docs {
  display: flex;
  justify-content: center;
  margin: 40px auto 20px;
}

.footer-office-info__docs a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
}

.footer-office-info__docs p {
  padding: 0 10px;
}

.copyright {
  font-size: 12px;
  color: #ddd;
}
