/* グローバルスタイル - 全ページ共通 */

/* 見出しスタイル */
.hero-title {
  text-align: center;
  line-height: 1.4;
}

/* 診断ページ見出し - 2行に分割 */
.diagnosis-title-line1 {
  text-align: center;
  margin-bottom: 20px; /* 2行の間の実際の空間 */
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
}

.diagnosis-title-line2 {
  text-align: center;
  margin-top: 0;
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
}

.site-title-mobile {
  text-align: center;
  line-height: 1.3;
  font-size: 1.2rem;
}

/* PC版専用の空間調整 */
@media (min-width: 768px) {
  .diagnosis-title-line1 {
    margin-bottom: 30px; /* PC版ではより広い空間 */
    letter-spacing: 0.03em;
    font-size: 2.5rem;
  }
  
  .diagnosis-title-line2 {
    letter-spacing: 0.03em;
    font-size: 2.5rem;
  }
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }
  
  .diagnosis-title-line1 {
    margin-bottom: 15px; /* スマホ版は適度な空間 */
    font-size: 1.8rem;
  }
  
  .diagnosis-title-line2 {
    font-size: 1.8rem;
  }
  
  .site-title-mobile {
    font-size: 1.1rem;
    line-height: 1.2;
  }
}

/* 句読点改行調整 */
.text-with-breaks {
  line-height: 1.5;
}

.text-with-breaks br {
  margin-bottom: 0.2em;
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}