:root {
  --primary: #4f46e5;
  --background: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

.hero {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  margin: 0;
  font-size: 42px;
}

.subtitle {
  margin-top: 10px;
  font-size: 18px;
  opacity: 0.9;
}

.section {
  margin-bottom: 60px;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 250px;
  height: 4px;
  background: var(--primary);
  margin-top: 12px;
  border-radius: 999px;
}

p {
  font-size: 18px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 32px;
  font-size: 18px;
}

.feature-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-list li p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.page-links{
  margin-top: 24px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.link-button{
  display: inline-block;
  padding: 14px 24px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

.link-button:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.links .card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  
  gap: 20px;
}

.card{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  min-height: 120px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  color: var(--primary);
}

.blueprint {
  margin: 0 auto;
  max-width: 100%;
}

.blueprint img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: zoom-in;
}

footer {
  text-align: center;
  padding: 30px;
  background: white;
  color: var(--muted);
  font-size: 14px;
}


.er-figure {
  margin: 18px 0 8px;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

.er-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: zoom-in;
}

.er-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px;
}

.modal img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  cursor: zoom-out;
}

.demo-account-box {
  margin-top: 24px;
  padding: 20px;
  background: #f8f9fb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 420px;
}

.demo-account-box h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #333;
}

.demo-account-box p {
  margin: 6px 0;
  font-size: 14px;
  color: #555;
}

.browser-note {
  margin-top: 12px;
  font-size: 13px;
  color: #888;
}

.demo-member-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 14px;
}

.demo-member-table th,
.demo-member-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 10px;
  text-align: left;
}

.demo-member-table th {
  background-color: #f1f3f6;
  font-weight: 600;
}

.demo-member-table tbody tr:nth-child(even) {
  background-color: #fafbfc;
}

.demo-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}