.plan-section {
  padding: 80px 0;
  position: relative;
}

.plan-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.plan-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.plan-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #1a202c;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1794ac 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #64748b;
  margin-bottom: 60px;
  font-weight: 400;
}

.plan-table-wrapper {
  overflow-x: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  background: white;
  margin-bottom: 40px;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  border-radius: 20px;
  overflow: hidden;
}

.plan-table thead th {
  background: linear-gradient(135deg, #1794ac 0%,rgb(6, 96, 114) 100%);
  color: white;
  padding-left:0;
  border: none;
  position: relative;
}
.plan-table thead th.feature-column {
  padding-left:1em;
}

.feature-column {
  background: #1794ac !important;
  width: 35%;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 30px 20px;
  text-align: left;
}

.plan-header {
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.plan-header.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
}

.popular-badge {
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  margin:auto;
  max-height:2em;
  display: flex;
  justify-content:center;
  align-items:center;
  max-width:50%;
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
}

.currency {
  font-size: 1.2rem;
  margin-right: 4px;
  margin-bottom: 8px;
}

.amount {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.price-note {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.plan-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.plan-table tbody tr:hover {
  background-color: #f8fafc;
}

.plan-table tbody tr:last-child {
  border-bottom: none;
}

.plan-table td {
  padding: 20px;
  text-align: center;
  font-size: 1rem;
  border-right: 1px solid #e2e8f0;
}
.plan-table td span.chatgpt{
    font-size:12px;
}
.plan-table td:first-child {
  white-space:nowrap;
}

.plan-table td:last-child {
  border-right: none;
}

.feature-name {
  background-color: #f8fafc;
  font-weight: 600;
  color: #2d3748;
  text-align: left !important;
  border-right: 2px solid #e2e8f0;
}

.lite-cell, .standard-cell, .business-cell {
  font-weight: 600;
  font-size: 1.1rem;
}

.available {
  color: #10b981;
  font-size: 1.5rem;
  font-weight: 700;
}

.unavailable {
  color: #ef4444;
  font-size: 1.5rem;
  font-weight: 700;
}

.unlimited {
  color: #8b5cf6;
  font-weight: 700;
}
.nuavailable{
  color:rgb(255, 153, 0);
  font-weight: 700;
}
.business-cell {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.plan-cta {
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  min-width: 200px;
  position: relative;
}

.lite-btn {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  color: white;
}

.standard-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.business-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.business-btn.popular::before {
  content: '人気';
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cta-note {
  color: #64748b;
  font-size: 0.9rem;
  font-style: italic;
}
.sec02_main__item i{
display: block;
font-size: 4rem;
text-align: center;
color: #108CD1;
}
.color-02 i{
color: #A256BF;
}
.color-03 i{
color: #009F97;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .feature-column{
        font-size: 12px;
    }
    .plan-header h3{
        font-size:1.2rem;
    }
    .unlimited{
        font-size: 14px;
    }
.feature-name{
    font-size: 12px !important;
    white-space:normal !important;
}
.popular-badge{
    display: none;
}
.lite-cell{
    white-space:nowrap !important;
}
  .plan-title {
    font-size: 1rem;
  }
  
  .plan-table-wrapper {
    margin: 0 -20px 40px -20px;
  }
  
  .plan-table {
    font-size: 0.9rem;
  }
  
  .plan-table td,
  .plan-header {
    padding: 15px 10px;
  }
  
  .feature-name {
    font-size: 0.9rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .price .amount {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .plan-section {
    padding: 60px 0;
  }
  
  .plan-container {
    padding: 0 15px;
  }
  
  .feature-column {
    width: 40%;
  }
  
  .plan-table td {
    padding: 12px 8px;
  }
  
  .available,
  .unavailable {
    font-size: 1.2rem;
  }
}
