/* Contact ページ専用CSS */

/* ページヘッダー */
.page-header {
  height: 50vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: linear-gradient(135deg, #2c5f7d 0%, #4a7c9e 30%, #6b9ab8 60%, #5a8aa8 100%);
  z-index: 1;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

.page-header-content {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: fadeInUp 1.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-title {
  font-size: 4.5rem;
  font-weight: 200;
  letter-spacing: 0.4em;
  margin: 0;
  color: white;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.title-line {
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, white, transparent);
  margin: 0 auto;
  animation: expandLine 1.5s ease;
}

@keyframes expandLine {
  from { width: 0; opacity: 0; }
  to { width: 150px; opacity: 1; }
}

.header-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* メインコンテンツセクション */
.contact-content-section {
  padding: 80px 50px;
  position: relative;
  background: linear-gradient(180deg, #000 0%, #0a1929 50%, #000 100%);
  min-height: 50vh;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

/* メールカード */
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 60px 45px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeInUp 1.2s ease 0.2s both;
}

/* メッセージテキスト */
.contact-message {
  font-size: 1.15rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 45px;
  letter-spacing: 0.08em;
}

/* メールアドレス表示エリア */
.email-display {
  background: rgba(107, 154, 184, 0.15);
  border: 2px solid rgba(107, 154, 184, 0.4);
  border-radius: 16px;
  padding: 30px 25px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.email-display:hover {
  background: rgba(107, 154, 184, 0.25);
  border-color: rgba(107, 154, 184, 0.6);
  box-shadow: 0 8px 25px rgba(107, 154, 184, 0.3);
}

.email-label {
  font-size: 0.8rem;
  color: #6b9ab8;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.email-address {
  font-size: 1.3rem;
  color: white;
  letter-spacing: 0.05em;
  word-break: break-all;
  font-weight: 300;
}

/* クリックしてコピーヘルプテキスト */
.copy-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 15px;
  letter-spacing: 0.05em;
}

/* mailto リンク */
.email-link {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 45px;
  background: rgba(107, 154, 184, 0.2);
  border: 2px solid rgba(107, 154, 184, 0.4);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  font-weight: 300;
}

.email-link:hover {
  background: rgba(107, 154, 184, 0.35);
  border-color: rgba(107, 154, 184, 0.7);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 154, 184, 0.35);
}

/* 注釈 */
.contact-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* HOMEリンク */
.back-link {
  text-align: center;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  padding: 16px 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.4s ease;
  font-weight: 300;
  background: rgba(255, 255, 255, 0.05);
}

.back-button:hover {
  background: rgba(107, 154, 184, 0.25);
  border-color: rgba(107, 154, 184, 0.6);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 154, 184, 0.35);
}

.back-arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.back-button:hover .back-arrow {
  transform: translateX(-5px);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .contact-content-section {
    padding: 70px 40px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 3rem;
    letter-spacing: 0.3em;
  }
  
  .header-intro {
    font-size: 1rem;
  }
  
  .contact-content-section {
    padding: 70px 20px;
  }
  
  .contact-card {
    padding: 45px 30px;
  }
  
  .contact-message {
    font-size: 1rem;
    margin-bottom: 35px;
  }
  
  .email-address {
    font-size: 1.1rem;
  }
  
  .email-link {
    font-size: 0.95rem;
    padding: 14px 35px;
  }
}

@media (max-width: 480px) {
  .page-header {
    height: 40vh;
    min-height: 300px;
  }
  
  .page-title {
    font-size: 2.2rem;
    letter-spacing: 0.2em;
  }
  
  .contact-card {
    padding: 35px 20px;
  }
  
  .contact-message {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  
  .email-display {
    padding: 25px 18px;
  }
  
  .email-address {
    font-size: 1rem;
  }
}