/* スマホ表示用 */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  nav ul.menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--main-color);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
  }

  #menu-toggle:checked + .menu-icon + nav ul.menu {
    display: flex;
  }

  nav ul.menu li {
    margin: 0;
    border-top: 1px solid #ffffff33;
    padding: 0.75rem 1rem;
  }

  nav ul.menu li a {
    display: block;
    width: 100%;
  }
}

    .hero {
      background: url('../pic/K_Nishi_photo.jpg') center/cover no-repeat;
      height: 80vh;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      color: white;
      /*text-shadow: 1px 1px 3px rgba(0,0,0,0.7);*/
    }

    .hero h1 {
      font-family: 'Instrument Serif', serif;
      font-size: 6rem;
      margin: 0;
      opacity: 0.8;
      transform: translateY(-9rem);
      
    }

    .hero h2 {
      font-size: 1.5rem;
      margin-top: 1rem;
      opacity: 0.8;
    }

    section {
      padding: 4rem 2rem;
      max-width: 960px;
      margin: auto;
    }

    section h3 {
      border-left: 4px solid var(--main-color);
      padding-left: 0.5rem;
    }

    .btn {
      background-color: var(--main-color);
      color: white;
      padding: 0.75rem 1.5rem;
      border: none;
      text-decoration: none;
      font-size: 1rem;
      margin-top: 1rem;
      display: inline-block;
    }

    .btn:hover {
      background-color: #336666;
    }

    footer {
      background-color: var(--main-color);
      color: white;
      text-align: center;
      padding: 2rem;
      font-size: 0.8rem;
    }