/* ベーススタイル */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #f59e0b;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 8px;
  --container-max-width: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-white);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* メインコンテンツ */
.main {
  margin-top: 60px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

/* セクション */
section {
  padding: 2.5rem 0;
}

section:nth-child(even) {
  background-color: var(--bg-light);
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.6);
  text-decoration: none;
  color: white;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

/* アニメーション効果 */
@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.7), 0 0 0 10px rgba(220, 38, 38, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  }
}

.btn-primary {
  animation: pulse 2s infinite;
}

.btn-primary:hover {
  animation: none;
}

/* アプリケーションボタンの特別スタイル */
.application-button .btn-primary {
  font-size: 1.4rem;
  padding: 1.5rem 4rem;
  margin: 2rem 0;
  position: relative;
}

.application-button .btn-primary::after {
  content: '→';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.application-button .btn-primary:hover::after {
  transform: translateY(-50%) translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
  }

  .application-button .btn-primary {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
  }

  .application-button .btn-primary::after {
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }

  .application-button .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
  }
}
/* カード */
.card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* テーブル */
.table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--text-color);
}

/* ユーティリティクラス */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-warning { color: #dc2626; }
.font-bold { font-weight: 700; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* レスポンシブ */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}