/* =========================
   財務情報公開ページ専用スタイル
========================== */

/* ヒーローセクション */
.financial-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

.financial-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0px;
  font-family: 'BIZ UDGothic', 'BIZ UDMincho', sans-serif;
}

/* イントロセクション */
.financial-intro {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.financial-intro__title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.financial-intro__text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ドキュメントセクション */
.financial-documents {
  padding: 80px 0;
  background-color: white;
}

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

.financial-documents__title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.financial-documents__year {
  margin-bottom: 60px;
}

.financial-documents__year-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.financial-documents__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* ドキュメントカード */
.financial-document-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.financial-document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.financial-document-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.financial-document-card__icon i {
  font-size: 24px;
  color: white;
}

.financial-document-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.financial-document-card__description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.financial-document-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: #888;
}

.financial-document-card__date {
  font-weight: 500;
}

.financial-document-card__size {
  font-style: italic;
}

.financial-document-card__download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.financial-document-card__download:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.financial-document-card__download:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

.financial-document-card__download i {
  font-size: 16px;
}

/* 準備中メッセージ */
.financial-documents__coming-soon {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #dee2e6;
}

/* 注意事項セクション */
.financial-note {
  padding: 60px 0;
  background-color: #f8f9fa;
}

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

.financial-note__title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.financial-note__list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.financial-note__list li {
  position: relative;
  padding: 15px 0 15px 30px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  border-bottom: 1px solid #e9ecef;
}

.financial-note__list li:last-child {
  border-bottom: none;
}

.financial-note__list li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  top: 15px;
  color: #ffc107;
  font-weight: bold;
}

/* お問い合わせセクション */
.financial-contact {
  padding: 80px 0;
  background-color: white;
}

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

.financial-contact__title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.financial-contact__text {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.financial-contact__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.financial-contact__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.financial-contact__button:first-child {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.financial-contact__button:first-child:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.financial-contact__button--secondary {
  background: transparent;
  color: #667eea;
  border-color: #667eea;
}

.financial-contact__button--secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.financial-contact__button:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

.financial-contact__button i {
  font-size: 16px;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
  .financial-document-card,
  .financial-document-card__download,
  .financial-contact__button {
    transition: none;
  }
  
  .financial-document-card:hover {
    transform: none;
  }
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
  .financial-document-card {
    border: 2px solid #000;
  }
  
  .financial-document-card__download {
    border: 2px solid #000;
  }
  
  .financial-contact__button--secondary {
    border-width: 3px;
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .financial-hero__title {
    font-size: 2rem;
  }
  
  .financial-hero__subtitle {
    font-size: 1rem;
  }
  
  .financial-intro__title,
  .financial-documents__title,
  .financial-note__title,
  .financial-contact__title {
    font-size: 1.8rem;
  }
  
  .financial-documents__year-title {
    font-size: 1.5rem;
  }
  
  .financial-documents__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .financial-document-card {
    padding: 20px;
  }
  
  .financial-document-card__title {
    font-size: 1.2rem;
  }
  
  .financial-contact__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .financial-contact__button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .financial-hero,
  .financial-intro,
  .financial-documents,
  .financial-note,
  .financial-contact {
    padding: 40px 0;
  }
  
  .financial-hero__title {
    font-size: 1.5rem;
  }
  
  .financial-intro__title,
  .financial-documents__title,
  .financial-note__title,
  .financial-contact__title {
    font-size: 1.5rem;
  }
  
  .financial-documents__year-title {
    font-size: 1.3rem;
  }
  
  .financial-document-card {
    padding: 15px;
  }
  
  .financial-document-card__icon {
    width: 50px;
    height: 50px;
  }
  
  .financial-document-card__icon i {
    font-size: 20px;
  }
  
  .financial-note__list li {
    padding: 12px 0 12px 25px;
    font-size: 0.9rem;
  }
}

/* 印刷対応 */
@media print {
  .financial-document-card__download,
  .financial-contact__buttons {
    display: none;
  }
  
  .financial-document-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  
  .financial-hero {
    background: none;
    color: #000;
  }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  .financial-intro,
  .financial-note {
    background-color: #1a1a1a;
  }
  
  .financial-documents,
  .financial-contact {
    background-color: #000;
  }
  
  .financial-document-card {
    background-color: #1a1a1a;
    border-color: #333;
    color: #fff;
  }
  
  .financial-document-card__title {
    color: #fff;
  }
  
  .financial-document-card__description {
    color: #ccc;
  }
  
  .financial-document-card__meta {
    color: #999;
  }
  
  .financial-intro__title,
  .financial-documents__title,
  .financial-note__title,
  .financial-contact__title,
  .financial-documents__year-title {
    color: #fff;
  }
  
  .financial-intro__text,
  .financial-contact__text {
    color: #ccc;
  }
  
  .financial-note__list li {
    color: #ccc;
    border-bottom-color: #333;
  }
  
  .financial-documents__coming-soon {
    background-color: #1a1a1a;
    border-color: #333;
    color: #ccc;
  }
}

/* フォーカス表示の改善 */
.financial-document-card:focus-within {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* 読み上げ中の要素のハイライト */
[data-reading="true"] {
  background-color: rgba(102, 126, 234, 0.1) !important;
  outline: 2px solid #667eea !important;
  outline-offset: 2px;
}

/* スキップナビゲーション */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #667eea;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-nav:focus {
  top: 6px;
} 