/* ===============================
   ShrJP / Pastel 共通 base.css
================================ */

:root{
  --primary:#7b6cff;
  --soft:#f4f3ff;
  --text:#2b2b2b;
  --sub:#666;
  --radius:14px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  color:var(--text);
  line-height:1.7;
}

a{text-decoration:none;color:inherit}

/* ===== Layout ===== */
.header{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid #eee;
  z-index:10;
}
.header-inner{
  max-width:1100px;
  margin:auto;
  padding:16px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.logo{
  font-weight:700;
  font-size:1.2rem;
  color:var(--primary);
}
nav a{
  margin-left:18px;
  font-size:.95rem;
  color:var(--sub);
}

/* ===== Hero ===== */
.hero{
  background:linear-gradient(180deg,var(--soft),#fff);
  padding:90px 24px;
}
.hero-inner{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:48px;
  align-items:center;
}
.hero h1{
  font-size:2.4rem;
  line-height:1.3;
}
.hero p{
  color:var(--sub);
  margin:20px 0 32px;
}
.btn-primary{
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:14px 28px;
  border-radius:var(--radius);
  font-weight:600;
  box-shadow:0 10px 24px rgba(123,108,255,.25);
}

/* ===== Section ===== */
section{padding:72px 24px}
.section-inner{max-width:1100px;margin:auto}
.section-title{font-size:2rem;margin-bottom:10px}
.section-lead{color:var(--sub);margin-bottom:40px}

/* ===== Card ===== */
.card{
  background:#fff;
  border-radius:var(--radius);
  padding:32px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

/* ===== Grid ===== */
.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:32px;
}

/* ===== Table ===== */
.bg-soft{background:#fafafa}
.table-wrap{overflow-x:auto}
.table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
}
.table th,
.table td{
  padding:14px;
  border-bottom:1px solid #eee;
  text-align:center;
}
.table th{
  background:#f5f6ff;
  font-weight:600;
}
.table .primary{
  background:#f0efff;
  font-weight:600;
  color:var(--primary);
}

/* ===== FAQ ===== */
.faq-item{
  background:#fafafa;
  border-radius:var(--radius);
  padding:18px 22px;
  margin-bottom:14px;
  cursor:pointer;
}
.faq-item p{
  display:none;
  margin-top:12px;
  color:var(--sub);
}
.faq-item.open p{display:block}

/* ===== Footer ===== */
.footer{
  background:#fafafa;
  border-top:1px solid #eee;
  padding:32px 24px 24px;
}
.footer-inner{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:24px;
}
.footer a{
  display:block;
  font-size:.9rem;
  color:var(--sub);
  margin-bottom:6px;
}
.copyright{
  text-align:center;
  font-size:.85rem;
  color:#aaa;
  margin-top:20px;
}

/* ===== Animation ===== */
.fade-up{
  opacity:0;
  transform:translateY(20px);
  transition:.8s ease;
}
.fade-up.is-visible{
  opacity:1;
  transform:none;
}

@media(max-width:900px){
  .hero-inner{grid-template-columns:1fr}
  .hero h1{font-size:2rem}
}