@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: 'Anton', sans-serif;
    background-color: #0d0d0d;
    color: white;
    overflow-x: hidden; /* 横スクロール禁止（余白防止） */
  }

  header {
    top: 0;
    width: 100%;
    background-color: #0d0d0d;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid #1e1e1e;
  }

  .logo {
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #00aaff;
    text-transform: uppercase;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
  }

  nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #00aaff;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #00aaff;
  }
  
  nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  main {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 8px;
  }

  .contact-form h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .contact-form p {
    margin-bottom: 20px;
  }

  .contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .contact-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .contact-form button:hover {
    background: #555;
  }

  footer {
    text-align: center;
    padding: 20px;
    background: #1e1e1e;
    margin-top: 40px;
  }