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

:root {
  --main: #1f3a68;       /* 学院のメインカラーに差し替え */
  --text: #2b2b2b;
  --sub: #6b7280;
  --bg: #f4f6fa;
  --line: #06c755;       /* LINE公式グリーン */
  --line-hover: #05b04b;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(31, 58, 104, 0.08);
  border-top: 6px solid var(--main);
}

.logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 16px;
}

.school {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--main);
  letter-spacing: 0.15em;
}

.title {
  font-size: 1.5rem;
  margin-top: 4px;
  line-height: 1.5;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 20px;
  padding: 6px 16px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--sub);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a623;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  50% { opacity: 0.25; }
}

.lead {
  font-size: 0.95rem;
}

.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--line);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.line-btn:hover {
  background: var(--line-hover);
  transform: translateY(-2px);
}

.line-icon {
  width: 22px;
  height: 22px;
}

.footer {
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--sub);
}

.sp {
  display: none;
}

@media (max-width: 480px) {
  .card {
    padding: 40px 20px;
  }
  .title {
    font-size: 1.25rem;
  }
  .lead {
    font-size: 0.9rem;
  }
  .sp {
    display: inline;
  }
  .line-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .line-btn { transition: none; }
}
