/*
Theme Name: OkiTech
Description: 沖縄地域コミュニティ型イベントサイト用テーマ
Version: 1.0.0
Author: OkiTech Team
Text Domain: okitech
*/

/* TailwindCSS CDN */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Google Fonts - Noto Sans JP */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* カスタムスタイル */
:root {
  --okitech-green: #009688;
  --okitech-orange: #FFA726;
  --okitech-dark: #2c3e50;
  --okitech-light: #ecf0f1;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--okitech-dark);
}

/* ヒーローセクション */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  min-height: 80vh;
}

/* ボタンスタイル */
.btn-primary {
  background-color: var(--okitech-green);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #00796b;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--okitech-orange);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #ff9800;
  transform: translateY(-2px);
}

/* イベントカード */
.event-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* セクション共通 */
.section {
  padding: 80px 0;
}

.section-title {
  color: var(--okitech-green);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* メインコンテンツエリアとサイドバーのレイアウト */

/* ブログページ専用スタイル */
.blog-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.category-filter {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-filter a {
  font-weight: 500;
  transition: all 0.3s ease;
}

.category-filter a:hover {
  transform: translateY(-1px);
}

/* 投稿カードの改善 */
.entry-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-content {
  color: #4a5568;
  line-height: 1.7;
}

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

/* CTAセクション */
.blog-cta-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
  border-radius: 16px;
  margin: 2rem 0;
}

.cta-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #10b981;
}

/* ページネーション */
.pagination-wrapper {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-wrapper .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination-wrapper a {
  padding: 0.75rem 1.5rem;
  background: #f3f4f6;
  color: #374151;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-wrapper a:hover {
  background: #10b981;
  color: white;
  transform: translateY(-1px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .blog-header {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .category-filter {
    padding: 0.75rem;
  }
  
  .category-filter .flex {
    gap: 0.5rem;
  }
  
  .cta-sub {
    grid-template-columns: 1fr;
  }
}

/* 記事ページ専用スタイル */
.single-cta-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
  border-radius: 16px;
  margin: 2rem 0;
}

.single-cta-section .cta-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.single-cta-section .cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #10b981;
}

/* 記事コンテンツの改善 */
.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
}

.entry-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #10b981;
  padding-bottom: 0.5rem;
}

.entry-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

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

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

.entry-content blockquote {
  border-left: 4px solid #10b981;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
}

.entry-content code {
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
}

.entry-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* シェアボタンの改善 */
.share-buttons {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
}

.share-buttons a {
  transition: all 0.3s ease;
}

.share-buttons a:hover {
  transform: translateY(-2px);
}

/* 著者情報の改善 */
.author-info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #e5e7eb;
}

/* 投稿ナビゲーションの改善 */
.post-navigation {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-navigation a {
  color: #10b981;
  font-weight: 500;
  transition: color 0.3s ease;
}

.post-navigation a:hover {
  color: #059669;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .entry-title {
    font-size: 2rem;
  }
  
  .entry-content {
    font-size: 1rem;
  }
  
  .entry-content h2 {
    font-size: 1.5rem;
  }
  
  .entry-content h3 {
    font-size: 1.25rem;
  }
  
  .single-cta-section .cta-related {
    grid-template-columns: 1fr;
  }
}



/* 申し込み情報リスト */
.event-application-info {
  transition: all 0.3s ease;
  z-index: 10;
}

.event-application-info:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.event-application-info h3 {
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.75rem;
}

.event-application-info h4 {
  color: #374151;
  font-weight: 600;
}

.event-application-info .space-y-3 > div:last-child {
  border-bottom: none;
}

.event-application-info .space-y-3 > div {
  transition: background-color 0.2s ease;
}

.event-application-info .space-y-3 > div:hover {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin: 0 -0.5rem;
}

/* 申し込み状況のスタイル */
.event-application-info .bg-green-100 {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.event-application-info .bg-red-100 {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

/* 申し込み情報リストのレスポンシブ対応 */
@media (max-width: 768px) {
  .event-application-info {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
  
  .event-application-info .space-y-3 > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .event-application-info .space-y-3 > div > div:last-child {
    text-align: left;
  }
}

/* イベントページアイキャッチ画像 */
.event-hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.event-hero-image img {
  transition: transform 0.3s ease;
}

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

.event-hero-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.event-title-overlay {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.event-category-badge {
  backdrop-filter: blur(8px);
  background: rgba(34, 197, 94, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.event-category-badge:hover {
  background: rgba(34, 197, 94, 0.9);
  transform: translateY(-1px);
}

/* アイキャッチ画像のレスポンシブ対応 */
@media (max-width: 768px) {
  .event-hero-image {
    border-radius: 0.75rem;
  }
  
  .event-title-overlay h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .event-category-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}

/* イベントタイトルセクション */
.event-title-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: all 0.3s ease;
}

.event-title-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.event-title-section h1 {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.event-title-section .category-badge {
  transition: all 0.3s ease;
}

.event-title-section .category-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* イベントタイトルセクションのレスポンシブ対応 */
@media (max-width: 768px) {
  .event-title-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .event-title-section h1 {
    font-size: 1.875rem;
    line-height: 1.2;
  }
  
  .event-title-section .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .event-title-section .w-12 {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }
  
  .event-title-section .gap-6 {
    gap: 1rem;
  }
}
.site-main {
  margin-bottom: 4rem;
}

/* サイドバー全体のスタイル */
.widget-area {
  margin-bottom: 3rem;
}

/* フッターの上部余白 */
.site-footer {
  margin-top: 4rem;
}

/* ウィジェットスタイル */
.widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

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

.widget-title {
  color: var(--okitech-green);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

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

.widget ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

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

.widget ul li a {
  color: var(--okitech-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget ul li a:hover {
  color: var(--okitech-green);
}

/* カテゴリーウィジェット */
.widget_categories ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget_categories ul li a {
  flex: 1;
}

.widget_categories ul li span {
  color: #6b7280;
  font-size: 0.875rem;
}

/* タグクラウドウィジェット */
.widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.widget_tag_cloud .tagcloud a {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.widget_tag_cloud .tagcloud a:hover {
  background: var(--okitech-green);
  color: white;
}

/* 検索ウィジェット */
.widget_search .search-form {
  margin: 0;
}

.widget_search .search-field {
  border: 1px solid #d1d5db;
  border-radius: 8px 0 0 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 0.875rem;
}

.widget_search .search-submit {
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* 最新投稿ウィジェット */
.widget_recent_entries ul li {
  padding: 0.75rem 0;
}

.widget_recent_entries ul li a {
  display: block;
}

.widget_recent_entries ul li .post-date {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 60vh;
  }

  .site-main {
    margin-bottom: 2rem;
  }

  .widget-area {
    margin-bottom: 2rem;
  }

  .site-footer {
    margin-top: 2rem;
  }

  .widget {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }

  .widget-title {
    font-size: 1.125rem;
  }
}

/* コメント機能のスタイル */
.comments-area {
  margin-top: 3rem;
}

.comments-title {
  color: var(--okitech-green);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
}

.comment-item {
  margin-bottom: 1.5rem;
}

.comment-body {
  position: relative;
}

.comment-author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-author-name a {
  color: var(--okitech-green);
  text-decoration: none;
  font-weight: 600;
}

.comment-author-name a:hover {
  text-decoration: underline;
}

.comment-content {
  line-height: 1.6;
  color: var(--okitech-dark);
}

.comment-content p {
  margin-bottom: 0.5rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reply-link a,
.edit-link a {
  color: var(--okitech-green);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.reply-link a:hover,
.edit-link a:hover {
  color: #00796b;
  text-decoration: underline;
}

/* コメントフォーム */
.comment-respond {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.comment-reply-title {
  color: var(--okitech-green);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.comment-form-comment textarea {
  min-height: 120px;
  font-family: inherit;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  font-family: inherit;
}

.form-submit {
  margin-top: 1rem;
}

.form-submit input[type="submit"] {
  background: var(--okitech-green);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit input[type="submit"]:hover {
  background: #00796b;
}

/* コメントナビゲーション */
.comment-navigation {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  margin-top: 2rem;
}

.comment-navigation a {
  color: var(--okitech-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.comment-navigation a:hover {
  color: #00796b;
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .comment-list .children {
    padding-left: 1rem;
  }
  
  .comment-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .comment-author-avatar {
    margin-bottom: 0.5rem;
  }
  
  .comment-respond {
    padding: 1.5rem;
  }
  
  .comment-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
} 

/* Contact Form 7 スタイル */
.wpcf7-form {
  margin: 0;
}

.wpcf7-form p {
  margin-bottom: 1rem;
}

.wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.wpcf7-form .required {
  color: #ef4444;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #1d4ed8;
}

.wpcf7-form input[type="submit"]:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.wpcf7-response-output {
  margin: 1rem 0 0 0;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.wpcf7-mail-sent-ok {
  background-color: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
}

.wpcf7-validation-errors {
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

.wpcf7-spam-blocked {
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
}

.wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea {
    font-size: 16px; /* iOSでズームを防ぐ */
  }
} 

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  margin: 0 0.25rem;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #374151;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.pagination .current {
  background-color: #2563eb;
  border-color: #2563eb;
  color: white;
}

.pagination .prev,
.pagination .next {
  font-weight: 500;
}

.pagination .prev a,
.pagination .next a {
  background-color: #f9fafb;
}

.pagination .prev a:hover,
.pagination .next a:hover {
  background-color: #e5e7eb;
} 

/* ロゴスタイル */
.custom-logo-link {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.custom-logo-link:hover {
  opacity: 0.8;
}

.custom-logo {
  max-height: 60px;
  width: auto;
  height: auto;
}

/* ヘッダーロゴ */
.site-header .custom-logo {
  max-height: 50px;
}

/* フッターロゴ */
.site-footer .custom-logo {
  max-height: 40px;
  filter: brightness(0) invert(1); /* 白いロゴに変換 */
}

.site-footer .site-branding {
  text-align: left;
  display: flex;
  justify-content: flex-start;
}

.site-footer .custom-logo-link {
  display: inline-block;
  text-align: left;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .site-header .custom-logo {
    max-height: 40px;
  }
  
  .site-footer .custom-logo {
    max-height: 35px;
  }
}

/* サイトタイトル（ロゴがない場合） */
.site-title a {
  color: var(--okitech-green);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.site-title a:hover {
  color: #00796b;
}

.site-description {
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
} 

/* ヒーローセクションのロゴ */
.hero-logo .custom-logo {
  max-height: 120px;
  filter: brightness(0) invert(1); /* 白いロゴに変換 */
  margin: 0 auto;
}

.hero-logo .custom-logo-link {
  display: block;
  text-align: center;
}

.hero-logo .custom-logo-link:hover {
  opacity: 0.9;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .hero-logo .custom-logo {
    max-height: 80px;
  }
} 

/* ホームページのヘッダー */
.home .site-header {
  background: transparent;
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.home .site-header .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* ホームページのロゴ */
.home .site-branding {
  text-align: center;
}

.home .custom-logo {
  max-height: 60px;
  filter: brightness(0) invert(1); /* 白いロゴに変換 */
}

.home .site-title a {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.home .site-description {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ホームページのナビゲーション */
.home .main-navigation a {
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.home .main-navigation a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.home .menu-toggle {
  color: white;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .home .custom-logo {
    max-height: 50px;
  }
} 

/* イベントページ専用スタイル */
.event-card {
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* リストビュー */
.list-view .event-card {
    display: flex;
    max-width: none;
    margin-bottom: 1rem;
}

.list-view .event-card .event-image {
    width: 200px;
    flex-shrink: 0;
}

.list-view .event-card .event-image img,
.list-view .event-card .event-image > div {
    height: 100%;
    min-height: 150px;
}

.list-view .event-card > div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-view .event-card .event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.list-view .event-card .event-details > div {
    margin-bottom: 0;
}

.list-view .event-card .event-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* アニメーション */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* イベント情報カード */
.event-info {
    transition: transform 0.3s ease;
}

.event-info:hover {
    transform: scale(1.05);
}

/* ステータスバッジ */
.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

/* フィルターセクション */
.filter-section {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* シェアボタン */
.share-button {
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .event-card {
        margin-bottom: 1.5rem;
    }
    
    .event-info {
        margin-bottom: 1rem;
    }
    
    .filter-section .grid {
        grid-template-columns: 1fr;
    }
    
    .list-view .event-card {
        flex-direction: column;
    }
    
    .list-view .event-card .event-image {
        width: 100%;
    }
    
    .list-view .event-card .event-details {
        grid-template-columns: 1fr;
    }
}

/* イベント詳細ページ */
.event-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.event-meta-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* 申し込みフォーム */
.application-form {
    position: sticky;
    top: 2rem;
}

/* 関連イベント */
.related-event-card {
    transition: all 0.3s ease;
}

.related-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* パンくずリスト */
.breadcrumb {
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #6b7280;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #059669;
}

/* イベント統計 */
.event-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.event-stats-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.event-stats-item svg {
    margin-right: 0.25rem;
}

/* イベント情報サマリー */
.event-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.event-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.event-summary-item:last-child {
    margin-bottom: 0;
}

/* お問い合わせボックス */
.contact-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

/* ビュー切り替えボタン */
.view-toggle button {
    transition: all 0.3s ease;
}

.view-toggle button:hover {
    background-color: #f3f4f6;
}

.view-toggle button.active {
    background-color: #dcfce7;
    color: #059669;
}

/* 検索フィールド */
.search-field {
    position: relative;
}

.search-field input {
    padding-left: 2.5rem;
}

.search-field svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* フィルターリセット */
.reset-filters {
    transition: color 0.3s ease;
}

/* カスタムロゴのサイズ設定 */
.custom-logo {
    height: 64px !important;
    width: auto !important;
    max-width: 400px !important;
}

/* カスタムロゴリンク */
.custom-logo-link {
    display: inline-block;
}

/* サイトタイトル（テキストロゴ）のサイズ設定 */
.site-title a {
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #059669 !important;
}

.reset-filters:hover {
    color: #374151;
}

/* 結果カウント */
.result-count {
    font-size: 0.875rem;
    color: #6b7280;
}

/* アクセシビリティ改善 */
@media (prefers-reduced-motion: reduce) {
    .event-card,
    .event-info,
    .share-button,
    .related-event-card {
        transition: none;
    }
    
    .animate-blob {
        animation: none;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .event-card {
        background: #1f2937;
        border-color: #374151;
    }
    
    .event-meta-card {
        background: rgba(31, 41, 55, 0.95);
    }
    
    .event-summary {
        background: #374151;
        border-color: #4b5563;
    }
    
    .contact-box {
        background: #1e3a8a;
        border-color: #3b82f6;
    }
} 