/* =========================
   ShrJP 共通CSS（LP改良版）
   ========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2b2b2b;
  background: #ffffff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  margin-top: 0;
  font-weight: 600;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7b6cff;
}

.header nav a {
  margin-left: 18px;
  font-size: 0.9rem;
  color: #6b6b6b;
}

/* ---------- ヒーロー ---------- */
.hero {
  padding: 96px 24px 72px;
  background: linear-gradient(180deg, #ecebff 0%, #ffffff 100%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.05rem;
  color: #6b6b6b;
  margin-bottom: 32px;
}

.hero-image {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  background: #f3f4ff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ---------- ボタン ---------- */
.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 14px;
  background: #7b6cff;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(123, 108, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(123, 108, 255, 0.35);
}

/* ---------- セクション ---------- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-lead {
  color: #6b6b6b;
  margin-bottom: 40px;
}

/* ---------- プラン ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.price-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.price-card.primary {
  border: 2px solid #7b6cff;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: #7b6cff;
  margin: 16px 0 24px;
}

/* ---------- プラン比較（改良） ---------- */
.compare-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.compare-table th,
.compare-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.compare-table th {
  background: #f5f6ff;
  font-weight: 600;
}

.compare-table th.premium,
.compare-table td.premium {
  background: #f0efff;
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #f7f8fc;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 14px;
}

/* ---------- フッター（細身） ---------- */
.footer {
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer h5 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer a {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-bottom: 4px;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #6b6b6b;
  margin-top: 18px;
}

/* ---------- アニメーション ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}
/* =========================
   FAQ アコーディオン修正
   ========================= */

.faq-item {
  background: #f7f8fc;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
}

/* 質問ボタン */
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: #2b2b2b;
}

/* + / − アイコン */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #7b6cff;
  transition: transform 0.2s ease;
}

.faq-question.open::after {
  content: "−";
}

/* 回答部分 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 0.95rem;
  color: #6b6b6b;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

/* 開いた状態 */
.faq-answer.open {
  max-height: 300px; /* 十分な最大値 */
  padding: 0 22px 18px;
}

/* 回答内リンク */
.faq-answer a {
  color: #7b6cff;
  font-weight: 500;
}
