/* ランディングページ専用CSS */

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

/* 基本設定 */
body.landing-page-template {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* ハンバーガーメニューが開いている時のbody制御 */
body.menu-open {
  overflow: hidden;
}

/* WordPress管理ツールバー対応 */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* モバイルでのツールバー対応 */
@media screen and (max-width: 600px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* コンテンツエリアの調整 */
.site-content {
  margin-top: 80px;
}

body.admin-bar .site-content {
  margin-top: 112px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-content {
    margin-top: 126px;
  }
}

.landing-page {
  overflow-x: hidden;
}

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1000;
}

/* ナビゲーション */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  border-radius: 2px;
  transform-origin: center;
  position: relative;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1000;
}

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

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: #2563eb;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.nav-logo .logo-image {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

.site-title-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.site-title-link .logo-image {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

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

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn i {
  margin-right: 0.5rem;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

/* ダッシュボードプレビュー */
.dashboard-preview {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #333;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.dashboard-header {
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
}

.dashboard-stats {
  display: flex;
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.stat-label {
  font-size: 0.8rem;
  color: #64748b;
}

.dashboard-content {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 2rem;
  color: #64748b;
}

.chart-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 0.9rem;
}

.task-item i {
  color: #2563eb;
}

.task-status {
  margin-left: auto;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.task-status.pending {
  background: #fef3c7;
  color: #d97706;
}

.task-status.completed {
  background: #d1fae5;
  color: #059669;
}

/* セクション共通 */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.section-header p {
  font-size: 1.2rem;
  color: #64748b;
}

/* 機能セクション */
.features {
  padding: 80px 0;
  background: #f8fafc;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.feature-card ul {
  list-style: none;
}

.feature-card li {
  padding: 0.5rem 0;
  color: #64748b;
  position: relative;
  padding-left: 1.5rem;
}

.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* メリットセクション */
.benefits {
  padding: 80px 0;
  background: white;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease-out forwards;
}

.benefit-item:nth-child(1) {
  animation-delay: 0.1s;
}
.benefit-item:nth-child(2) {
  animation-delay: 0.2s;
}
.benefit-item:nth-child(3) {
  animation-delay: 0.3s;
}
.benefit-item:nth-child(4) {
  animation-delay: 0.4s;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon i {
  color: white;
  font-size: 1.2rem;
}

.benefit-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.benefit-content p {
  color: #64748b;
  line-height: 1.6;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric {
  text-align: center;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn 0.6s ease-out forwards;
}

.metric:nth-child(1) {
  animation-delay: 0.1s;
}
.metric:nth-child(2) {
  animation-delay: 0.2s;
}
.metric:nth-child(3) {
  animation-delay: 0.3s;
}
.metric:nth-child(4) {
  animation-delay: 0.4s;
}

.metric-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

/* 導入事例セクション */
.case-studies {
  padding: 80px 0;
  background: #f8fafc;
}

.case-studies-slider {
  position: relative;
  overflow: hidden;
}

.slider-container {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
}

.case-card {
  min-width: 350px;
  flex: 0 0 calc(33.333% - 1.5rem);
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-right: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
  flex-shrink: 0;
}

.case-card:nth-child(1) {
  animation-delay: 0.1s;
}
.case-card:nth-child(2) {
  animation-delay: 0.2s;
}
.case-card:nth-child(3) {
  animation-delay: 0.3s;
}
.case-card:nth-child(4) {
  animation-delay: 0.4s;
}
.case-card:nth-child(5) {
  animation-delay: 0.5s;
}
.case-card:nth-child(6) {
  animation-delay: 0.6s;
}
.case-card:nth-child(7) {
  animation-delay: 0.7s;
}
.case-card:nth-child(8) {
  animation-delay: 0.8s;
}
.case-card:nth-child(9) {
  animation-delay: 0.9s;
}
.case-card:nth-child(10) {
  animation-delay: 1s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
}

.company-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-logo i {
  font-size: 1.5rem;
  color: white;
}

.company-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.company-info p {
  color: #64748b;
  font-size: 0.9rem;
}

.case-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-quote {
  position: relative;
}

.case-quote i {
  color: #2563eb;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.case-quote p {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  font-style: italic;
  padding-left: 1rem;
  border-left: 3px solid #e2e8f0;
}

.case-metrics {
  display: flex;
  gap: 1.5rem;
}

.case-metrics .metric {
  flex: 1;
  text-align: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.slider-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
}

.slider-btn:hover i {
  color: white;
}

.slider-btn i {
  font-size: 1.2rem;
  color: #64748b;
  transition: color 0.3s ease;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #2563eb;
  transform: scale(1.2);
}

/* お問い合わせセクション */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-feature i {
  color: #10b981;
  font-size: 1.1rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .main-navigation {
    gap: 1rem;
    position: relative;
  }

  /* ハンバーガーメニューが開いている時のヘッダー固定 */
  .site-navigation.toggled .main-navigation {
    position: relative;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    max-width: 100vw;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    z-index: 999;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
  }

  /* メニューが開いている時の背景オーバーレイ */
  .site-navigation.toggled::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 998;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
  }

  .nav-menu.active,
  .site-navigation.toggled .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
    margin-left: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  /* ハンバーガーボタンのホバー効果 */
  .nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
  }

  /* ×マークのアニメーション - ランディングページ用 */
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #ef4444;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #ef4444;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu li {
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .nav-menu.active li,
  .site-navigation.toggled .nav-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active li:nth-child(1),
  .site-navigation.toggled .nav-menu li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(2),
  .site-navigation.toggled .nav-menu li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-menu.active li:nth-child(3),
  .site-navigation.toggled .nav-menu li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-menu.active li:nth-child(4),
  .site-navigation.toggled .nav-menu li:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-menu.active li:nth-child(5),
  .site-navigation.toggled .nav-menu li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .nav-menu a:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-content {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-width: 300px;
    flex: 0 0 calc(50% - 1rem);
  }

  .case-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .case-card {
    min-width: 280px;
    padding: 1.5rem;
  }

  .case-metrics {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-logo .logo-image,
  .site-title-link .logo-image {
    height: 30px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .features,
  .benefits,
  .contact {
    padding: 60px 0;
  }

  .feature-card,
  .contact-form {
    padding: 1.5rem;
  }

  .case-card {
    flex: 0 0 calc(100% - 1rem);
  }
}

/* スクロールバー */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* フォーム送信後のメッセージ */
.contact-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  animation: slideDown 0.3s ease-out;
}

.contact-message.success {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.contact-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* 必須項目のスタイリング */
.required {
  color: #dc2626;
  font-weight: bold;
}

/* フォームバリデーションエラー */
.form-group input.error,
.form-group textarea.error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* フォーム送信中のローディング */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* アニメーション */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CAPTCHAスタイル */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-question {
  background: #f8f9fa;
  border: 2px solid #0073aa;
  border-radius: 5px;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #0073aa;
  min-width: 120px;
  text-align: center;
}

.captcha-container input[type="number"] {
  flex: 1;
  min-width: 100px;
}

.btn-small {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.btn-small i {
  margin-right: 5px;
}
