* {
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}

a {
  text-decoration: none;
}
a:visited {
  color: #000;
}
a:hover {
  color: #000;
}
a:link {
  color: #000;
}

body {
  font-family: 'EB Garamond', serif;
}

@media (max-width: 767px) {
  body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 90%;
  }

  .icon {
    height: 1em;
    margin-right: 8px;
    vertical-align: -2px;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  section h2 {
    flex: 0;
    text-align: center;
  }

  section h2 img.nobuhito-ibaraki {
    height: 40px;
  }

  section h2 img.kangen-giga {
    height: 32px;
  }

  section ul {
    display: flex;
    flex-direction: column;
    margin-top: 48px;
    list-style: none;
  }

  section ul li {
    font-size: 16px;
    margin-top: 24px;
  }
  section ul li:first-child {
    margin: 0;
  }

  a.link {
    display: inline-block;
    padding-left: 64px;
    position: relative;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.7);
  }
  .link-icon {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  .link-label {
  }
}

@media (min-width: 768px) {
  body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  main {
    display: flex;
    justify-content: space-around;
    flex: 0;
  }

  .icon {
    height: 1em;
    margin-right: 0.5em;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }

  section h2 {
    flex: 0;
    text-align: center;
  }

  section h2 img.nobuhito-ibaraki {
    width: 70%;
  }

  section h2 img.kangen-giga {
    width: 50%;
  }

  section ul {
    display: flex;
    flex-direction: column;
    margin-top: 72px;
    list-style: none;
  }

  section ul li {
    font-size: 18px;
    margin-top: 32px;
  }
  section ul li:first-child {
    margin: 0;
  }

  a.link {
    opacity: 1;
    transition: opacity 0.2s;
  }
  a:hover {
    opacity: 0.3;
  }
}

