body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  color: #333333;
}
/* メインコンテンツラッパー */
.wrapper {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding-left: 1cm;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.coraboyosou {
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 50px 20px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}
.coraboyosou h1 {
  color: white;
  margin: 0 0 15px 0;
  font-size: 2.8em;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 1.5em;
}

h2 {
  color: #000000;
}

a {
  font-weight: bold;
  color: #000000;
}
/* キャラの写真 */
.character-image {
  display: block;
  width: 180px;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.corabo-image {
  width: 80%;
}

.separator-line {
  border: none;
  border-top: 2px solid #ddd;
  margin: 20px auto;
  width: 90%;
  position: relative;
}

.koraboyosou-image {
  width: 80%;
  padding: 10px;
}

main {
  padding: 1rem;
  max-width: 900px;
  margin: auto;
}

.intro {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}
.collab-section {
  background: #ffffff;
  margin-bottom: 30px;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e8ed;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.collab-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}
.collab-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}
.collab-rank {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4em;
  margin-right: 20px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}
.collab-title {
  flex: 1;
}
.collab-title h2 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.8em;
  font-weight: 700;
}
.collab-description {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  border-left: 4px solid #667eea;
  font-size: 1.1em;
  line-height: 1.7;
}
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}
.character-card {
  background: #fafbfc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.character-card:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}
.character-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}
.character-name {
  font-weight: 700;
  font-size: 1.2em;
  color: #2c3e50;
  margin-bottom: 8px;
}
.character-match {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 15px;
}
.character-reason {
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #10b981;
  font-size: 0.95em;
  line-height: 1.6;
}
.special-item {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border: none;
  color: #8b4513;
  text-align: center;
  padding: 25px;
  border-radius: 15px;
  margin: 20px 0;
}
.special-item h4 {
  color: #d2691e;
  margin: 0 0 10px 0;
  font-size: 1.3em;
  font-weight: 700;
}
.why-section {
  background: #f0f9ff;
  padding: 25px;
  border-radius: 15px;
  margin: 25px 0;
  border-left: 5px solid #0ea5e9;
}
.why-section h3 {
  color: #0284c7;
  margin: 0 0 15px 0;
  font-size: 1.3em;
  font-weight: 700;
}
.reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.reason-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid #0ea5e9;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.1);
}
.reason-item strong {
  color: #0284c7;
  display: block;
  margin-bottom: 5px;
}
.timeline {
  background: #fffbeb;
  padding: 25px;
  border-radius: 15px;
  margin: 25px 0;
  border-left: 5px solid #f59e0b;
}
.timeline h3 {
  color: #d97706;
  margin: 0 0 15px 0;
  font-size: 1.3em;
  font-weight: 700;
}
.past-collabs {
  background: #f5f3ff;
  padding: 25px;
  border-radius: 15px;
  margin: 30px 0;
  border-left: 5px solid #8b5cf6;
}
.past-collabs h3 {
  color: #7c3aed;
  margin: 0 0 20px 0;
  font-size: 1.4em;
  font-weight: 700;
}
.collab-history {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.history-item {
  background: white;
  padding: 18px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}
.history-item:hover {
  border-color: #8b5cf6;
  transform: translateY(-2px);
}
.conclusion {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 45px;
  border-radius: 20px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}
.conclusion h2 {
  margin: 0 0 20px 0;
  font-size: 2.2em;
  font-weight: 700;
}
.prediction-stats {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  text-align: center;
}
.stat-item {
  display: inline-block;
  margin: 0 20px;
  padding: 15px;
}
.stat-number {
  display: block;
  font-size: 2em;
  font-weight: bold;
  color: #667eea;
}
.stat-label {
  color: #64748b;
  font-size: 0.9em;
}
@media (max-width: 768px) {
  .character-grid {
    grid-template-columns: 1fr;
  }
  .header h1 {
    font-size: 2.2em;
  }
  .container {
    padding: 10px;
  }
  .collab-header {
    flex-direction: column;
    text-align: center;
  }
  .collab-rank {
    margin: 0 0 15px 0;
  }
  body {
    line-height: 1.4;
  }

  .wrapper {
    flex-direction: column; /* レイアウトを縦方向に */
    padding-left: 0;
  }
}
