/* ベーススタイル */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", sans-serif;
  background-color: #f0f6ff;
  color: #1c3c78;
  line-height: 1.6;
  text-align: center;
  overflow-x: hidden;
  max-width: 100vw;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  background: linear-gradient(90deg, #1c3c78, #4a90e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* スプラッシュアニメーション */
.splash {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #1c3c78;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeOut 3s ease-out forwards;
}

.splash-text {
  font-size: 2rem;
  animation: floatIn 1.5s ease-out;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  0%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* ヘッダー */
.site-header {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
}

.logo {
  width: 180px;
  max-width: 80%;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.catch {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-button {
  background: linear-gradient(135deg, #00b37a, #00794d);
  color: #fff;
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 179, 122, 0.4);
  transition: all 0.3s ease-in-out;
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 179, 122, 0.5);
}

/* 制作の流れ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  box-sizing: border-box;
}

.flow-step {
  background-color: #ffffff;
  border: 3px solid #1c3c78;
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  color: #1c3c78;
  transition: all 0.3s ease;
  text-align: center;
}

.flow-step:hover {
  background-color: #f5faff;
  transform: translateY(-6px);
}

/* 制作費カード */
.price-table {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.price-card {
  background: #ffffff;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.price-card.highlight {
  border-color: #00b37a;
  box-shadow: 0 4px 14px rgba(0, 179, 122, 0.4);
}

.price-card .label {
  font-weight: bold;
  font-size: 1.2rem;
}

.price-card .price {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #1c3c78;
}

.price-card .note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

/* サブスクプラン */
.subscription-plans {
  background: #ffffff;
  padding: 2rem 1rem;
}

.subscription-plans h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.subscription-card {
  border: 2px solid #1c3c78;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem auto;
  width: 100%;
  max-width: 600px;
  background: #eaf3ff;
  box-shadow: 0 4px 12px rgba(28, 60, 120, 0.1);
  box-sizing: border-box;
}

.subscription-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.subscription-card p {
  font-size: 1rem;
  margin: 0.3rem 0;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  h2 {
    font-size: 1.6rem;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .cta-button {
    width: 90%;
    font-size: 1rem;
  }

  .catch {
    font-size: 1.4rem;
  }

  .logo {
    max-width: 100px;
  }
}
