/* Plan Page Styles */

/* =====================================================
   sub Hero Section
   ===================================================== */
.sub-hero {
  padding: var(--spacing-24) 0 var(--spacing-20);
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.03) 0%,
    rgba(37, 99, 235, 0.01) 100%
  );
  position: relative;
  overflow: hidden;
}

.sub-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.sub-hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sub-hero__title {
  margin-bottom: var(--spacing-8);
}

.sub-hero__subtitle {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 3px;
  margin-bottom: var(--spacing-2);
  text-transform: uppercase;
  opacity: 0.8;
}

.sub-hero__maintitle {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-700) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-hero__text {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.sub-hero__highlight {
  display: inline-block;
  margin-top: var(--spacing-4);
  padding: var(--spacing-3) var(--spacing-6);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(255, 215, 0, 0.05) 100%
  );
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-full);
  color: #b8860b;
  font-weight: 600;
}

.sub-hero__highlight i {
  color: #ffd700;
  margin-right: var(--spacing-2);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(-10px) rotate(-45deg);
  }
  60% {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/* Plans Section */
.plans {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.plans__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Plan Cards */
.plan-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

.plan-card__header {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* ippansou.html用の元の色設定 */
.page-ippansou .plan-card--premium {
  border-color: #ea580c;
}
.page-ippansou .plan-card--premium .plan-card__header {
  background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 20%, #ea580c 100%);
  position: relative;
  overflow: hidden;
}

/* family.html用の新しい色設定 */
.page-family .plan-card--premium .plan-card__header {
  background: linear-gradient(135deg, #ecfdf5 0%, #10b981 20%, #059669 100%);
  position: relative;
  overflow: hidden;
}

.plan-card--premium .plan-card__header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg) translateX(-100%);
  }
  100% {
    transform: rotate(0deg) translateX(100%);
  }
}

.plan-card--premium .plan-card__title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.plan-card--premium .plan-card__subtitle {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

/* 花水木プラン - ブルー系 */
/* ippansou.html用の元の色設定 */
.page-ippansou .plan-card--standard {
  border-color: #1d4ed8;
}
.page-ippansou .plan-card--standard .plan-card__header {
  background: linear-gradient(135deg, #dbeafe 0%, #3b82f6 20%, #1d4ed8 100%);
  position: relative;
  overflow: hidden;
}
.page-ippansou .plan-card--basic {
  border-color: #7c3aed;
}
.page-ippansou .plan-card--basic .plan-card__header {
  background: linear-gradient(135deg, #f3e8ff 0%, #8b5cf6 20%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
}
.page-ippansou .plan-card--minimal {
  border-color: #1f2937;
}
.page-ippansou .plan-card--minimal .plan-card__header {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 20%, #94a3b8 100%);
  position: relative;
  overflow: hidden;
}

/* family.html用の新しい色設定 */
.page-family .plan-card--standard .plan-card__header {
  background: linear-gradient(135deg, #fdf2f8 0%, #ec4899 20%, #db2777 100%);
  position: relative;
  overflow: hidden;
}

.plan-card--standard .plan-card__header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

.plan-card--standard .plan-card__title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.plan-card--standard .plan-card__subtitle {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

/* 胡蝶蘭プラン - パープル系 */
.plan-card--basic .plan-card__header {
  background: linear-gradient(135deg, #f3e8ff 0%, #8b5cf6 20%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
}

.plan-card--basic .plan-card__header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

.plan-card--basic .plan-card__title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.plan-card--basic .plan-card__subtitle {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.plan-card__image {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.plan-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.plan-card:hover .plan-card__image img {
  transform: scale(1.05);
}

.plan-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  text-align: center;
}

.plan-card__subtitle {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  font-weight: 500;
}

.plan-card__content {
  padding: 1.5rem;
}

/* Features */
.plan-card__features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item i {
  color: #667eea;
  width: 20px;
  font-size: 1.1rem;
}

.feature-item span {
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Pricing */
.plan-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-tier {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pricing-tier:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea05 0%, #764ba205 100%);
}

.pricing-tier--alpha {
  background: linear-gradient(135deg, #ea580c10 0%, #ea580c20 100%);
  border-color: #ea580c;
  position: relative;
}

.plan-card--premium .pricing-tier--alpha {
  background: linear-gradient(135deg, #05966910 0%, #05966920 100%);
  border-color: #059669;
}

.plan-card--standard .pricing-tier--alpha {
  background: linear-gradient(135deg, #db277710 0%, #db277720 100%);
  border-color: #db2777;
}

.pricing-tier--alpha::before {
  content: '最安';
  position: absolute;
  top: -8px;
  left: 16px;
  background: #ea580c;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ippansou.html用の最安バッジ色 */
.page-ippansou .plan-card--premium .pricing-tier--alpha {
  background: linear-gradient(135deg, #ea580c10 0%, #ea580c20 100%);
  border-color: #ea580c;
}
.page-ippansou .plan-card--premium .pricing-tier--alpha::before {
  background: #ea580c;
}

.page-ippansou .plan-card--standard .pricing-tier--alpha {
  background: linear-gradient(135deg, #1d4ed810 0%, #1d4ed820 100%);
  border-color: #1d4ed8;
}
.page-ippansou .plan-card--standard .pricing-tier--alpha::before {
  background: #1d4ed8;
}
.page-ippansou .plan-card--basic .pricing-tier--alpha {
  background: linear-gradient(135deg, #7c3aed10 0%, #7c3aed20 100%);
  border-color: #7c3aed;
}
.page-ippansou .plan-card--basic .pricing-tier--alpha::before {
  background: #7c3aed;
}
.page-ippansou .plan-card--minimal .pricing-tier--alpha {
  background: linear-gradient(135deg, #1f293710 0%, #1f293720 100%);
  border-color: #1f2937;
}
.page-ippansou .plan-card--minimal .pricing-tier--alpha::before {
  background: #1f2937;
}

/* family.html用の最安バッジ色 */
.page-family .plan-card--premium .pricing-tier--alpha::before {
  background: #059669;
}

.page-family .plan-card--standard .pricing-tier--alpha::before {
  background: #db2777;
}

.pricing-tier__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
}

.pricing-tier__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-tier__prices--compact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price--tax-compact {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.price {
  font-weight: 700;
}

.price--main {
  font-size: 1.25rem;
  color: #ea580c;
  font-weight: 800;
}

/* ippansou.html用の価格色 */
.page-ippansou .plan-card--premium .price--main {
  color: #ea580c;
}

.page-ippansou .plan-card--standard .price--main {
  color: #1d4ed8;
}
.page-ippansou .plan-card--basic .price--main {
  color: #7c3aed;
}
.page-ippansou .plan-card--minimal .price--main {
  color: #1f2937;
}

/* family.html用の価格色 */
.page-family .plan-card--premium .price--main {
  color: #059669;
}

.page-family .plan-card--standard .price--main {
  color: #db2777;
}

.price--main::after {
  content: '';

  font-size: 0.9rem;
  margin-left: 2px;
}

.price--excluding-tax {
  font-size: 0.75rem;
  margin-left: 2px;
  font-weight: 400;
  color: #64748b;
}

.page-ippansou .plan-card .price--main .price--excluding-tax {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
}

.page-family .plan-card .price--main .price--excluding-tax {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
}

.price--including-tax {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 400;
  margin-left: 2px;
}

.price--tax {
  font-size: 0.8rem;
  color: #64748b;
}

/* =====================================================
   Contact CTA Section
   ===================================================== */
.contact-cta-section {
  padding: var(--spacing-24) 0;
  background: var(--color-background);
}

.alpha-club__contact-cta {
  margin-top: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.95) 0%,
    rgba(30, 58, 138, 0.85) 50%,
    rgba(37, 99, 235, 0.9) 100%
  );
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.2);
}

.alpha-club__contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(255, 215, 0, 0.03) 25%,
    rgba(255, 215, 0, 0.03) 50%,
    transparent 50%,
    transparent 75%,
    rgba(255, 215, 0, 0.03) 75%
  );
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

.contact-cta__overlay {
  padding: var(--spacing-20);
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.contact-cta__header {
  margin-bottom: var(--spacing-16);
  padding-bottom: var(--spacing-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-cta__title i {
  color: #ffd700;
  font-size: 0.9em;
}

.contact-cta__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Contact Options */
.contact-cta__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-12);
}

.contact-option {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--spacing-10);
  transition: all 0.3s ease;
}

.contact-option:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
}

.contact-option__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-6);
  text-align: center;
  padding-bottom: var(--spacing-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-option__content {
  text-align: center;
}

.contact-option__hours {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-4);
  font-weight: 400;
}

.contact-option__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #ffd700;
  text-decoration: none;
  padding: var(--spacing-4) var(--spacing-6);
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

.contact-option__phone:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.6);
  transform: scale(1.05);
  color: #ffd700;
}

.contact-option__phone i {
  font-size: 0.8em;
}

.contact-option__button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  color: white;
  text-decoration: none;
  padding: var(--spacing-5) var(--spacing-8);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
  min-height: 60px;
}

.contact-option__button:hover {
  background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
  color: white;
}

.contact-option__button span {
  flex: 1;
  text-align: center;
}

.contact-option__button i:first-child {
  font-size: 1.2em;
}

.contact-option__button i:last-child {
  font-size: 0.9em;
  opacity: 0.8;
}

/* Responsive for Contact CTA */
@media (max-width: 768px) {
  .contact-cta__overlay {
    padding: var(--spacing-8);
  }
  .contact-cta__options {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }
  .contact-option {
    padding: var(--spacing-6);
  }
  .contact-option__phone {
    font-size: var(--font-size-xl);
    padding: var(--spacing-3);
    letter-spacing: 1px;
  }
  .contact-option__button {
    font-size: var(--font-size-sm);
    padding: var(--spacing-3) var(--spacing-4);
    min-height: 48px;
    white-space: nowrap;
  }
}

@media (max-width: 375px) {
  .contact-cta__overlay {
    padding: var(--spacing-6);
  }
  .contact-option__phone {
    font-size: var(--font-size-lg);
    letter-spacing: 0;
  }
  .contact-option__button {
    font-size: var(--font-size-xs);
    padding: var(--spacing-2) var(--spacing-3);
    gap: var(--spacing-2);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn--secondary:hover {
  background: white;
  color: #1e293b;
  transform: translateY(-2px);
}

/* Plan Features Section */
.plan-features {
  padding: 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.plan-features__header {
  text-align: center;
  margin-bottom: 3rem;
}

.plan-features__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 2rem;
}

.flow-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.3s ease;
  flex: 1 1 0;
  min-width: 0;
  max-width: 150px;
}

.flow-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.flow-item__number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.flow-item__icon {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 0.5rem;
}

/* Plan Card Services (カード内のサービスアイコン) */
.plan-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  justify-content: center;
}

.plan-card__services .service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  background: #f8fafc;
  border-radius: 8px;
  flex: 0 0 calc(33.333% - 0.5rem);
  max-width: 75px;
  min-width: 60px;
  transition: all 0.2s ease;
}

.plan-card__services .service-item:hover {
  background: linear-gradient(135deg, #ea580c10 0%, #ea580c20 100%);
  transform: translateY(-2px);
}

.plan-card__services .service-item i {
  font-size: 1.2rem;
  color: #ea580c;
}

/* ippansou.html用のサービスアイコン色 */
.page-ippansou .plan-card--premium .plan-card__services .service-item i {
  color: #ea580c;
}
.page-ippansou .plan-card--standard .plan-card__services .service-item i {
  color: #1d4ed8;
}

/* family.html用のサービスアイコン色 */
.page-family .plan-card--premium .plan-card__services .service-item i {
  color: #059669;
}
.page-family .plan-card--standard .plan-card__services .service-item i {
  color: #db2777;
}

.plan-card__services .service-item span {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}

.plan-card__services .service-arrow {
  display: flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.8rem;
  margin: 0 -0.25rem;
}

/* Plan Card Included Section */
.plan-card__included {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-card__included-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.plan-card__included-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.plan-card--premium .plan-card__included-image {
  border: 2px solid #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.plan-card--standard .plan-card__included-image {
  border: 2px solid #db2777;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.2);
}

.flow-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.flow-item__description {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

.flow-arrow {
  color: #cbd5e1;
  font-size: 1.5rem;
  animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.plan-features__note {
  text-align: center;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.plan-features__note p {
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.plan-features__note i {
  color: #667eea;
  padding-bottom: 22px;
}

/* Recommendation Section */
.recommendation {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.recommendation__header {
  text-align: center;
  margin-bottom: 3rem;
}

.recommendation__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.point-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
}

.point-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #667eea;
}

.point-card__number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.point-card__icon {
  font-size: 3rem;
  color: #667eea;
  margin: 1.5rem 0 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.point-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.point-card__description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

/* Plan Includes Section */
.plan-includes {
  padding: 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.plan-includes__header {
  text-align: center;
  margin-bottom: 3rem;
}

.plan-includes__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
}

.plan-includes__content--placeholder {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: var(--radius-xl);
  color: #9ca3af;
  gap: var(--spacing-3);
}

.plan-includes__content--placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

.plan-includes__content--placeholder span {
  font-size: var(--font-size-base);
  font-weight: 600;
  letter-spacing: 1px;
}

.plan-includes__image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.plan-includes__image:hover {
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero__content {
    padding: 0 1rem;
  }

  .plans {
    padding: 3rem 0;
  }

  .plans__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .plan-card__pricing {
    gap: 0.75rem;
  }

  .cta {
    padding: 3rem 1rem;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }

  .plan-features__flow {
    flex-direction: column;
    padding: 1rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  @keyframes slideRight {
    0%,
    100% {
      transform: translateY(0) rotate(90deg);
    }
    50% {
      transform: translateY(5px) rotate(90deg);
    }
  }

  .recommendation__points {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .plan-includes__content {
    padding: 0 1rem;
  }
}

/* Plan Comparison Table Styles */
.plan-comparison {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.plan-comparison__header {
  text-align: center;
  margin-bottom: 3rem;
}

.plan-comparison__note {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
  font-style: italic;
}

.plan-comparison__wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow-x: auto;
}

.plan-comparison__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

/* Table Header */
.plan-comparison__header-cell {
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 600;
  vertical-align: top;
  border-bottom: 2px solid #e2e8f0;
}

.plan-comparison__header-cell--feature {
  background: #f8fafc;
  text-align: left;
  font-size: 0.9rem;
  color: #64748b;
  min-width: 150px;
}

.page-ippansou .plan-comparison__header-cell--minimal {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-left: 3px solid #1f2937;
}

.page-ippansou .plan-comparison__header-cell--premium {
  background: linear-gradient(180deg, #fef3c7 0%, #fed7aa 100%);
  border-left: 3px solid #ea580c;
}

.page-ippansou .plan-comparison__header-cell--standard {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  border-left: 3px solid #1d4ed8;
}

.page-ippansou .plan-comparison__header-cell--basic {
  background: linear-gradient(180deg, #f3e8ff 0%, #e9d5ff 100%);
  border-left: 3px solid #7c3aed;
}

/* Family page specific styles - green theme for premium plan */
.page-family .plan-comparison__header-cell--premium {
  background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
  border-left: 3px solid #16a34a;
}

.page-family .plan-comparison__header-cell--standard {
  background: linear-gradient(180deg, #fdf2f8 0%, #f9a8d4 100%);
  border-left: 3px solid #db2777;
}

.plan-comparison__plan-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-comparison__plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
}

.plan-comparison__plan-subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
}

/* Table Body */
.plan-comparison__row {
  transition: background-color 0.2s ease;
}

.plan-comparison__row:hover {
  background: #f8fafc;
}

.page-ippansou .plan-comparison__row--price {
  background: linear-gradient(90deg, #f8fafc 0%, #fef3c720 100%);
}

.page-family .plan-comparison__row--price {
  background: transparent;
}

.plan-comparison__cell {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.plan-comparison__cell--feature {
  text-align: left;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
}

/* Price Display */
.plan-comparison__price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-comparison__price-main {
  font-size: 1.25rem;
  font-weight: 700;
}

.plan-comparison__price-excluding-tax {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
}

.page-ippansou .plan-comparison__cell--minimal .plan-comparison__price-main {
  color: #1f2937;
}

.page-ippansou .plan-comparison__cell--premium .plan-comparison__price-main {
  color: #ea580c;
}

.page-ippansou .plan-comparison__cell--standard .plan-comparison__price-main {
  color: #1d4ed8;
}

.page-ippansou .plan-comparison__cell--basic .plan-comparison__price-main {
  color: #7c3aed;
}

.page-family .plan-comparison__cell--premium .plan-comparison__price-main {
  color: #16a34a;
}

.page-family .plan-comparison__cell--standard .plan-comparison__price-main {
  color: #db2777;
}

.plan-comparison__price-tax {
  font-size: 0.75rem;
  color: #64748b;
}

/* Icons and Details */
.plan-comparison__icon {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

.plan-comparison__icon--yes {
  color: #10b981;
}

.plan-comparison__icon--no {
  color: #ef4444;
}

.plan-comparison__detail {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.plan-comparison__optional {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Mobile View - Hide table, show cards */
.plan-comparison__mobile {
  display: none;
}

@media (max-width: 1024px) {
  .plan-comparison__wrapper {
    padding: 0 1rem;
  }

  .plan-comparison__table {
    min-width: 900px;
  }
}

@media (max-width: 768px) {
  .plan-comparison__wrapper {
    display: none;
  }

  .plan-comparison__mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .plan-comparison__mobile-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
  }

  .page-ippansou .plan-comparison__mobile-card--minimal {
    border-color: #1f2937;
  }

  .page-ippansou .plan-comparison__mobile-card--premium {
    border-color: #ea580c;
  }

  .page-ippansou .plan-comparison__mobile-card--standard {
    border-color: #1d4ed8;
  }

  .page-ippansou .plan-comparison__mobile-card--basic {
    border-color: #7c3aed;
  }

  .plan-comparison__mobile-header {
    padding: 1.5rem;
    text-align: center;
  }

  .page-ippansou
    .plan-comparison__mobile-card--minimal
    .plan-comparison__mobile-header {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  }

  .page-ippansou
    .plan-comparison__mobile-card--premium
    .plan-comparison__mobile-header {
    background: linear-gradient(180deg, #fef3c7 0%, #fed7aa 100%);
  }

  .page-ippansou
    .plan-comparison__mobile-card--standard
    .plan-comparison__mobile-header {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  }

  .page-ippansou
    .plan-comparison__mobile-card--basic
    .plan-comparison__mobile-header {
    background: linear-gradient(180deg, #f3e8ff 0%, #e9d5ff 100%);
  }

  /* Family page specific mobile styles - green theme for premium plan */
  .page-family
    .plan-comparison__mobile-card--premium
    .plan-comparison__mobile-header {
    background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
  }

  .page-family
    .plan-comparison__mobile-card--standard
    .plan-comparison__mobile-header {
    background: linear-gradient(180deg, #fdf2f8 0%, #f9a8d4 100%);
  }

  .plan-comparison__mobile-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
  }

  .plan-comparison__mobile-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
  }

  .plan-comparison__mobile-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .plan-comparison__mobile-prices {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
  }

  .plan-comparison__mobile-price-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .plan-comparison__mobile-price-row:last-child {
    border-bottom: none;
  }

  .plan-comparison__mobile-price-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .page-ippansou
    .plan-comparison__mobile-card--minimal
    .plan-comparison__price-main {
    color: #1f2937;
  }

  .page-ippansou
    .plan-comparison__mobile-card--premium
    .plan-comparison__price-main {
    color: #ea580c;
  }

  .page-ippansou
    .plan-comparison__mobile-card--standard
    .plan-comparison__price-main {
    color: #1d4ed8;
  }

  .page-ippansou
    .plan-comparison__mobile-card--basic
    .plan-comparison__price-main {
    color: #7c3aed;
  }

  .page-family
    .plan-comparison__mobile-card--premium
    .plan-comparison__price-main {
    color: #16a34a;
  }

  .page-family
    .plan-comparison__mobile-card--standard
    .plan-comparison__price-main {
    color: #db2777;
  }

  .plan-comparison__mobile-features {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .plan-comparison__mobile-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
  }

  .plan-comparison__mobile-features li span:first-child {
    font-weight: 500;
    color: #475569;
  }

  .plan-comparison__mobile-features .fas.fa-check {
    color: #10b981;
    margin-right: 0.5rem;
  }

  .plan-comparison__mobile-features .fas.fa-times {
    color: #ef4444;
  }

  .plan-comparison__mobile-features .plan-comparison__optional {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .plan-card {
    margin: 0 0.5rem;
  }

  .plan-card__header,
  .plan-card__content {
    padding: 1rem;
  }
}

/* 画像準備中のスタイル */
.plan-card__image--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #9ca3af;
  gap: var(--spacing-3);
}

.plan-card__image--placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

.plan-card__image--placeholder span {
  font-size: var(--font-size-base);
  font-weight: 600;
  letter-spacing: 1px;
}

/* =============================================
   Other Plan Link Section
   ============================================= */

.other-plan-link {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
  position: relative;
  overflow: hidden;
}

.other-plan-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.other-plan-link__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.other-plan-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.other-plan-link__icon i {
  font-size: 2.5rem;
  color: white;
}

.other-plan-link__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.other-plan-link__description {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.other-plan-link .btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.other-plan-link .btn--large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.other-plan-link .btn--large i:first-child {
  font-size: 1.25rem;
}

.other-plan-link .btn--large i:last-child {
  transition: transform 0.3s ease;
}

.other-plan-link .btn--large:hover i:last-child {
  transform: translateX(4px);
}

/* Variation for Ippansou (General Funeral) Link */
.other-plan-link--ippansou {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9e7 100%);
}

.other-plan-link--ippansou::before {
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.other-plan-link--ippansou .other-plan-link__icon {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .other-plan-link {
    padding: 3rem 0;
  }

  .other-plan-link__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
  }

  .other-plan-link__icon i {
    font-size: 2rem;
  }

  .other-plan-link__title {
    font-size: 1.5rem;
  }

  .other-plan-link__description {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .other-plan-link .btn--large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
}
