* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  padding: 60px 0;
  color: white;
}

.logo {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.pronunciation {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
  opacity: 0.8;
}

.main-content {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section {
  margin-bottom: 40px;
}

/* プロフィール欄のスタイル */
.profile-section {
  margin-bottom: 50px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
}

.profile-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.profile-image {
  flex-shrink: 0;
}

.profile-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #667eea;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease;
}

.profile-image img:hover {
  transform: scale(1.05);
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  color: #667eea;
  font-size: 2.2rem;
  margin-bottom: 15px;
  border: none;
  padding: 0;
}

.profile-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.profile-title {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.profile-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.section h2 {
  color: #667eea;
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
}

.section p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.8;
}

.highlight {
  background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 5px solid #667eea;
}

.timeline {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  flex-wrap: wrap;
}

.timeline-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}

.timeline-desc {
  font-size: 0.9rem;
  margin-top: 5px;
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin: 20px 0;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer {
  text-align: center;
  padding: 20px;
  color: white;
  opacity: 0.8;
}

/* お問い合わせフォーム用スタイル */
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: #667eea;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 3px solid #667eea;
  padding-bottom: 15px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
}

.contact-form button {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  width: 100%;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.error-msg {
  background: #ffe3e3;
  color: #d62828;
  border: 1px solid #ffafaf;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.success-msg {
  background: #e6ffe6;
  color: #277c27;
  border: 1px solid #a7e5a7;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

/* Honeypot フィールドを完全に隠すスタイル */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.back-link {
  display: inline-block;
  color: #667eea;
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .logo {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .main-content {
    padding: 20px;
  }

  .timeline {
    flex-direction: column;
  }

  .timeline-item {
    margin: 10px 0;
  }

  .profile-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .profile-image img {
    width: 150px;
    height: 150px;
  }

  .profile-info h2 {
    font-size: 1.8rem;
  }

  .profile-name {
    font-size: 1.2rem;
  }

  .profile-description {
    font-size: 1rem;
  }

  .contact-form {
    margin: 20px;
    padding: 30px 20px;
  }

  .contact-form h2 {
    font-size: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
  }

  .contact-form button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .header {
    padding: 40px 0;
  }

  .logo {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .pronunciation {
    font-size: 0.9rem;
  }

  .main-content {
    padding: 15px;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section p {
    font-size: 1rem;
  }

  .contact-form {
    margin: 10px;
    padding: 20px 15px;
  }

  .contact-form h2 {
    font-size: 1.3rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 0.9rem;
  }

  .contact-form button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .profile-section {
    padding: 20px;
  }

  .profile-image img {
    width: 120px;
    height: 120px;
  }

  .profile-info h2 {
    font-size: 1.5rem;
  }

  .profile-name {
    font-size: 1.1rem;
  }

  .profile-title {
    font-size: 1rem;
  }

  .profile-description {
    font-size: 0.95rem;
  }
}
