/* 【最新のplans.css】 */

body {
  font-family: "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 2rem;
  background: #f9fafb;
  color: #333;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

.common-features {
  text-align: left;
  /* margin-bottom: 2rem; */
  max-width: 1200px;
  margin: 2em auto;
  padding: 1em;
  /* padding-left: 15em; */
}
.common-features ul {
  list-style: none;
  padding-left: 1em;
}
.common-features li {
  margin: 1rem 0;
  font-size: 1.3rem;
}
.common-features h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
  text-align: center;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8em;
  line-height: 1.6;
  font-size: 1.3em;
}
.features-list .icon {
  margin-right: 0.6em;
  font-size: 1.2em;
  flex-shrink: 0;
}


.plan-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0rem;  /* プランカードと共通特長の間にもう1行 */
}
.plan-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem 1rem 3.5rem 1rem;
  width: 240px;
  text-align: center;
  transition: transform 0.2s;
}
.plan-card:hover {
  transform: translateY(-4px);
}

.subscribe-button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.subscribe-button:hover {
  background: #4f46e5;
}

.price {
  font-size: 18px;
  font-weight: normal;
}
.price-amount {
  font-size: 32px;    /* 数字を大きく */
  font-weight: bold;  /* 数字を太字に */
}
.price-unit {
  font-size: 16px;    /* 単位は小さめに */
  font-weight: normal;
  margin-left: 4px;
}



@media (max-width: 768px) {
  body {
    padding: 1rem;
    min-height: auto;
  }

  .plan-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .plan-card {
    width: 90%;
    max-width: 300px;
    padding: 1rem;
  }

  .common-features {
    padding: 0.5em;
    margin: 1em auto;
  }

  .common-features h2 {
    font-size: 1.3em;
  }

  .common-features li,
  .features-list li {
    font-size: 1.1em;
  }

  .subscribe-button {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .price-amount {
    font-size: 28px;
  }

  .price-unit {
    font-size: 14px;
  }
}
