/* ===============================
   about.html 専用デザイン
   =============================== */



/* メイン領域の余白リセット（上部の隙間防止） */
main {
  margin-top: 0 !important;
  padding-top: 1rem; /* 少しだけ余裕を残す場合 */
}

/* セクション全体のレイアウト */
.about-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: rgba(0, 30, 50, 0.4);
  border: 1px solid rgba(0, 234, 255, 0.25);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.15);
}

/* 見出し */
.about-section h2 {
  color: #7ee3ff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 234, 255, 0.4);
  padding-bottom: 0.4rem;
}

/* 段落の可読性向上 */
.about-section p {
  line-height: 1.8;
  font-size: 1.05rem;
  color: #e0faff;
  margin-bottom: 1.2rem;
}

/* 日本語と英語の段落の間隔 */
.about-section p + p {
  margin-top: 0.6rem;
}

/* お問い合わせフォーム */
.contact-form {
  margin-top: 1rem;
  background: rgba(0, 20, 30, 0.5);
  border: 1px solid rgba(0, 234, 255, 0.25);
  padding: 1.5rem;
  border-radius: 8px;
}

.contact-form label {
  color: #d0f7ff;
  line-height: 1.6;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 20, 30, 0.7);
  color: #e0faff;
  border: 1px solid rgba(0, 234, 255, 0.4);
  border-radius: 6px;
  padding: 0.6rem;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-form button {
  background: #00eaff;
  color: #001020;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #7ee3ff;
}

/* 英語テキストを少し淡く */
.en-text {
  color: #b8e9ff;
  font-style: italic;
}

/* ============================================
   サイバー風ヘッダー（PDAデザイン統一・最終版）
   ============================================ */

header {
  text-align: center;
  padding: 2rem 0 1.5rem;
  border-bottom: 2px solid #00ffff33;
  /* 🔹グラデーションを明るめに戻す */
  background: linear-gradient(
    180deg,
    rgba(0, 40, 70, 0.9) 0%,
    rgba(0, 25, 45, 0.85) 100%
  );
  box-shadow: 0 0 20px #00ffff22;
  position: relative;
  overflow: hidden;
}

/* ===== 日本語タイトル（生物名） ===== */
header h1 {
  color: #00ffff;
  font-family: "M PLUS 1p", "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #00ffff99, 0 0 20px #00ffff44;
  /* ✳ チラつき削除 */
}

/* ===== 英語サブタイトル ===== */
header .subtitle {
  font-family: "Orbitron", sans-serif;
  color: #bdeaff;
  font-size: 1.2rem; /* 🔹少し大きく調整 */
  margin-top: 0.3rem;
  opacity: 0.85;
  letter-spacing: 1px;
}

/* ===== ナビゲーション部分 ===== */
header nav {
  margin-top: 1rem;
}

header nav a {
  color: #bdeaff;
  margin: 0 0.8rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

header nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #00eaff;
  transition: width 0.3s ease;
}

header nav a:hover {
  color: #00ffff;
}

header nav a:hover::after {
  width: 100%;
}

/* ===== 装飾的な光のライン演出 ===== */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff55, transparent);
  animation: headerScanline 6s linear infinite;
}

@keyframes headerScanline {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(50%);
  }
}

.contact-form {
  background: rgba(0, 40, 70, 0.6);
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 500px;
  margin: 1rem auto;
  box-shadow: 0 0 15px #00ffff33;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #00eaff66;
  border-radius: 5px;
  background-color: rgba(0, 20, 30, 0.8);
  color: #bdeaff;
  font-family: "M PLUS 1p", sans-serif;
}

.contact-form button {
  margin-top: 1rem;
  background: #00ffff;
  border: none;
  color: #002030;
  font-weight: bold;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #33ffff;
}

