@charset "utf-8";


/* Contactフォーム */

body {
    font-family: aralet-n, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    background-image: url(images/top_img1920.jpg);
    margin: 0;
    padding: 0;
  }

  /* ===== header ===== */
.header {
    display: flex;
    background-color: rgba(26, 176, 146, 0.274);
    width: clamp(22.5rem, 100vw, 120rem);
    height: 100%; /* MIN40 MAX80 MIN360 MAX1920 */
    position: relative;
    z-index: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: baseline;  

}

.nav__list {
    max-width: 1600px;
    list-style: none;
    display: flex;
    gap: clamp(1rem, 0.221rem + 3.46vw, 4.375rem); /* MIN20 MAX70 MIN360 MAX1920:*/
    padding: 0;
    justify-content: center;
    z-index: 2;
    align-items: baseline;
}

.nav__list li a {
    color: #f3f0a0;
    text-decoration: none;
    font-weight: bold;
    padding: clamp(0.063rem, 0.019rem + 0.19vw, 0.25rem);
    font-size: clamp(1.25rem, 1.034rem + 0.96vw, 2.188rem);
    text-align: center;
}

.nav__list li a:hover {
    text-decoration: underline;
    color: #ffd700;
}

.nav__list li a.small-multiline {
  font-size:clamp(1rem, 0.798rem + 0.9vw, 1.875rem); /* LightMuseum のサイズ */
  line-height: 1.2;
  display: inline-block;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
  letter-spacing: -0.02em;

}

.nav__list li a.small-multiline .subtitle {
  font-size: 0.8em; /* ← LightMuseum よりさらに小さく */
  display: block;
  line-height: 1.1;
}

  
  .container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background:linear-gradient(to bottom right, rgba(6, 83, 93, 0.536) 25%, transparent 60%);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.1);
  }

  .container_re {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background:linear-gradient(to bottom right, rgba(6, 83, 93, 0.536) 25%, transparent 60%);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.1);
  }
  
  h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  button {
    width: 100%;
    padding: 12px;
    background-color: #00ffee9a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
  }
  
  button:hover {
    background-color: hsla(281, 27%, 56%, 0.755);
  }

  /* フェードインアニメーション */
@keyframes fadeIn {
    from {
      opacity: 0; /* 完全に透明 */
    }
    to {
      opacity: 1; /* 完全に表示 */
    }
  }
  
  /* 初期状態を透明に設定 */
  .fade-in {
    animation: fadeIn 1.5s ease-in-out; /* 1.5秒かけてフェードイン */
    animation-fill-mode: forwards; /* フェードイン完了後に状態を維持 */
  background-color: black;
    opacity: 0; /* 初期状態は透明 */
  }

  /* 末尾に追記（任意） */
input[type="text"], input[type="email"], textarea {
  background: rgba(255,255,255,0.92);
  color: #111;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
}
input:focus, textarea:focus {
  border-color: #00ffee;
  box-shadow: 0 0 0 3px rgba(0,255,238,.25);
}
textarea { resize: vertical; }

/* スマホでメニューが被るなら */
@media (max-width: 480px) {
  .sub-menu { bottom: 1rem; top: auto; max-height: 60vh; overflow: auto; }
  .container { margin: 24px 12px; }
}

/* フェードインの保険（JS無くても最終表示させる） */
@media (prefers-reduced-motion: reduce) {
  .fade-in { animation: none; opacity: 1; }
}