/**
 * メインスタイルシート
 *
 * @package Zeimu_Chiebukuro
 */

/* CSS変数 */
:root {
  --primary-color: #1a5490;
  --secondary-color: #2c7fb8;
  --accent-color: #ff6b6b;
  --text-color: #333333;
  --light-gray: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;

  --container-width: 1200px;
  --header-height: 70px;
  --section-padding: 80px;

  --body-font-size: 16px;
  --body-line-height: 1.6;
  --heading-line-height: 1.3;

  --transition-base: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本スタイル */
body {
  font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif);
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  color: var(--text-color);
  background-color: var(--light-gray);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* コンテナ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font-family, inherit);
  line-height: var(--heading-line-height);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--h1-font-size, 2.5rem);
}

h2 {
  font-size: var(--h2-font-size, 2rem);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* リンク */
a {
  color: var(--link-color, var(--secondary-color));
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--link-hover-color, var(--primary-color));
}

/* ボタン */
.button,
button,
input[type="submit"],
input[type="button"] {
  display: inline-block;
  padding: var(--button-padding-y, 12px) var(--button-padding-x, 30px);
  background: var(--button-bg-color, var(--secondary-color));
  color: var(--button-text-color, #ffffff);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-base);
  text-decoration: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--button-hover-bg-color, var(--primary-color));
  color: var(--button-text-color, #ffffff);
}

/* フォーム */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition-base);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(26, 84, 144, 0.1);
}

/* ヘッダー */
.site-header {
  background: var(--header-bg-color, var(--primary-color));
  color: white;
  padding: 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
}

.site-header.sticky-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header.transparent-header:not(.scrolled) {
  background: transparent;
  box-shadow: none;
}

/* ナビゲーション */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-branding {
  flex-shrink: 0;
}

.site-branding a {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--menu-text-color, #ffffff);
  font-size: var(--menu-font-size, 16px);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a:hover {
  color: var(--menu-hover-color, #ffffff);
  opacity: 0.8;
}

/* モバイルメニュートグル */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle-icon {
  display: block;
  width: 25px;
  height: 20px;
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after,
.menu-toggle-icon span {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: currentColor;
  position: absolute;
  transition: var(--transition-base);
}

.menu-toggle-icon::before {
  top: 0;
}

.menu-toggle-icon span {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle-icon::after {
  bottom: 0;
}

/* コンテンツエリア */
.site-content {
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

.content-wrapper {
  display: flex;
  gap: 30px;
  padding: var(--section-padding) 0;
}

.content-area {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.content-area.full-width {
  max-width: 100%;
}

/* サイドバー */
.widget-area {
  width: 30%;
  flex-shrink: 0;
}

.widget {
  background: white;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

/* ヒーローセクション */
.hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 150px 0 100px;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay-color, rgba(26, 84, 144, 0.8));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

/* 検索ボックス */
.search-box {
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.search-form {
  display: flex;
  position: relative;
}

.search-field {
  flex: 1;
  padding: 15px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  padding-right: 60px;
}

.search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-base);
}

.search-submit:hover {
  background: var(--danger-color);
}

/* AI検索ボタン */
.ai-search-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-base);
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.ai-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* カテゴリーセクション */
.categories {
  padding: var(--section-padding) 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

/* カードグリッド */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card p {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card-meta {
  color: #666;
  font-size: 0.9rem;
  margin-top: auto;
}

/* 記事グリッド */
.articles-grid,
.articles-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 記事カード */
.article-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-card-link {
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

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

.article-image.placeholder {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 20px;
}

.article-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.article-excerpt {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
}

.article-card:hover .read-more {
  gap: 1rem;
}

/* パンくずリスト */
.breadcrumb {
  margin-bottom: 2rem;
  color: #666;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--secondary-color);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ページネーション */
.pagination,
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-numbers {
  padding: 8px 15px;
  border-radius: 5px;
  background: var(--light-gray);
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition-base);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--primary-color);
  color: white;
}

/* シングル記事 */
.entry-header {
  margin-bottom: 2rem;
}

.entry-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.entry-content h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.entry-content h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin: 2rem 0 1rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 1rem 0;
}

/* ハイライトボックス */
.highlight-box {
  background: #f0f7ff;
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 5px;
}

.warning-box {
  background: #fff3cd;
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 5px;
}

/* 関連記事 */
.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.related-posts-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* コメント */
.comments-area {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list li {
  margin-bottom: 2rem;
}

.comment-body {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 10px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-author img {
  border-radius: 50%;
}

.comment-metadata {
  font-size: 0.9rem;
  color: #666;
}

.comment-content {
  margin: 1rem 0;
}

.reply {
  text-align: right;
}

.reply a {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* コメントフォーム */
.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  margin-bottom: 1rem;
}

.comment-form textarea {
  min-height: 150px;
}

/* フッター */
.site-footer {
  background: var(--footer-bg-color, var(--primary-color));
  color: var(--footer-text-color, #ffffff);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-widgets {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-widget .widget-title {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.footer-widget a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-widget a:hover {
  color: white;
}

.site-info {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-menu a:hover {
  color: white;
}

/* トップへ戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: white;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* AI検索モーダル */
.ai-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
}

.ai-modal-content {
  background: white;
  max-width: 800px;
  margin: 50px auto;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
}

.close-modal:hover {
  color: #333;
}

.ai-chat-container {
  margin-top: 2rem;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 10px;
}

#ai-responses {
  margin-bottom: 1rem;
}

.ai-input-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.ai-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 1rem;
}

.ai-input:focus {
  border-color: #667eea;
}

.ai-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition-base);
}

.ai-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.ai-response {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.ai-loading {
  text-align: center;
  color: #666;
  padding: 2rem;
}

/* プリローダー */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-gray);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ウィジェット固有のスタイル */
.zeimu-recent-posts-widget {
  list-style: none;
}

.zeimu-recent-posts-widget li {
  margin-bottom: 1rem;
}

.zeimu-recent-posts-widget .recent-post-link {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.zeimu-recent-posts-widget .post-thumbnail {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 5px;
}

.zeimu-recent-posts-widget .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zeimu-recent-posts-widget .post-title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.zeimu-recent-posts-widget .post-date {
  font-size: 0.85rem;
  color: #666;
}

.zeimu-category-widget {
  list-style: none;
}

.zeimu-category-widget .cat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zeimu-category-widget .category-icon {
  font-size: 1.2rem;
}

.zeimu-popular-posts-widget {
  list-style: none;
  counter-reset: popular-counter;
}

.zeimu-popular-posts-widget li {
  counter-increment: popular-counter;
  position: relative;
  padding-left: 40px;
}

.zeimu-popular-posts-widget .rank {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ユーティリティクラス */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.m-0 {
  margin: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.p-0 {
  padding: 0;
}

.pt-1 {
  padding-top: 0.5rem;
}

.pt-2 {
  padding-top: 1rem;
}

.pt-3 {
  padding-top: 1.5rem;
}

.pt-4 {
  padding-top: 2rem;
}

.pt-5 {
  padding-top: 3rem;
}

.pb-1 {
  padding-bottom: 0.5rem;
}

.pb-2 {
  padding-bottom: 1rem;
}

.pb-3 {
  padding-bottom: 1.5rem;
}

.pb-4 {
  padding-bottom: 2rem;
}

.pb-5 {
  padding-bottom: 3rem;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

.gap-5 {
  gap: 3rem;
}

/* ヒーローセクション拡張 */
.hero-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-color {
  background-color: var(--primary-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay-color, rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ヘッダーボタン */
.header-button {
  background: var(--accent-color);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-base);
  margin-left: 2rem;
}

.header-button:hover {
  background: var(--danger-color);
  color: white;
  transform: translateY(-2px);
}

/* CTAボタン */
.hero-cta-btn {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 12px 30px;
  border: 2px solid white;
  border-radius: 50px;
  font-weight: bold;
  transition: var(--transition-base);
}

.hero-cta-btn:hover {
  background: transparent;
  color: white;
}

/* お知らせバー */
.announcement-bar {
  background: var(--accent-color);
  color: white;
  padding: 15px 0;
  text-align: center;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.announcement-icon {
  font-size: 1.2rem;
}

/* アニメーション */
.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.animate-fade-in-delay-3 {
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}
