/* morichの部屋 - スタイルシート */

:root {
  --red:       #C62828;
  --red-light: #FFEBEE;
  --red-mid:   #EF9A9A;
  --dark:      #1A1A1A;
  --gray:      #666;
  --border:    #E0E0E0;
  --white:     #FFFFFF;
  --bg:        #FAFAFA;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.7;
}

/* ===== ヘッダー ===== */
.hero {
  background: linear-gradient(135deg, #fff 60%, var(--red-light) 100%);
  border-bottom: 4px solid var(--red);
  padding: 3rem 1rem 2.5rem;
  text-align: center;
}
.hero__logo {
  max-width: 480px;
  width: 90%;
  margin-bottom: 1rem;
}
.hero__tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.hero__sub {
  font-size: 0.9rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

/* ===== メインレイアウト ===== */
.main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* ===== セクション共通 ===== */
.section {
  margin-top: 3rem;
}
.section__title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  border-left: 5px solid var(--red);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

/* ===== About ===== */
.about__text {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 2rem;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.feature__icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.feature h3 { font-size: 0.95rem; color: var(--red); margin-bottom: 0.4rem; }
.feature p  { font-size: 0.85rem; color: var(--gray); }

/* ===== イベントカード ===== */
.cards { display: flex; flex-direction: column; gap: 1rem; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.card--highlight {
  border: 2px solid var(--red);
  background: #fff9f9;
}

.card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.badge {
  background: var(--red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.card__vol  { font-size: 0.85rem; color: var(--gray); }
.card__date { font-size: 1.05rem; font-weight: 700; }

.card__status { font-size: 0.8rem; padding: 0.15rem 0.5rem; border-radius: 4px; margin-left: auto; }
.card__status--募集中  { background: #E8F5E9; color: #2E7D32; }
.card__status--満員    { background: #FFF3E0; color: #E65100; }
.card__status--終了    { background: #F5F5F5; color: #9E9E9E; }

.card__body { margin-bottom: 1rem; }
.card__company { font-size: 0.9rem; color: var(--gray); }
.card__role    { font-size: 0.85rem; color: var(--gray); }
.card__guest   { font-size: 1.25rem; font-weight: 900; margin-top: 0.25rem; }
.card__desc    { font-size: 0.9rem; color: #555; margin-top: 0.5rem; line-height: 1.7; }

.card__footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn--apply {
  background: var(--red);
  color: white;
  transition: background 0.2s;
}
.btn--apply:hover { background: #8B1A1A; }
.btn--full { background: #EEE; color: #999; }
.btn--soon { background: #E3F2FD; color: #1565C0; }

.card__yt {
  font-size: 0.85rem;
  color: #c00;
  text-decoration: none;
}
.card__yt:hover { text-decoration: underline; }

/* ===== 参加方法 ===== */
.section--how { background: var(--red-light); border-radius: 14px; padding: 2rem 1.5rem; }
.section--how .section__title { color: var(--red); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.how-card {
  background: white;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.how-card h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.how-card ul { list-style: none; }
.how-card li { font-size: 0.9rem; color: #444; margin-bottom: 0.35rem; }

/* ===== 過去の出演者 ===== */
.past-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.past-table th, .past-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.past-table th { background: var(--red-light); color: var(--red); font-weight: 700; }
.past-table tr:hover { background: #fafafa; }
.past-table a { color: #c00; text-decoration: none; }
.past-table a:hover { text-decoration: underline; }

/* ===== フッター ===== */
.footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  line-height: 2;
}
.footer a { color: #ef9a9a; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__updated { font-size: 0.75rem; color: #666; margin-top: 0.5rem; }

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  .hero__tagline { font-size: 1rem; }
  .section__title { font-size: 1.2rem; }
  .card__guest { font-size: 1.1rem; }
  .past-table { font-size: 0.8rem; }
  .past-table th, .past-table td { padding: 0.5rem; }
}
