/* ヘッダー */
header {
    display: flex;
    padding: 50px;
    text-align: center;
}

.header-img{
    width: 50%;
}

.header-img img{
    width: 100%;
}

.header-content{
    width: 50%;
    color: #4caf50;
    text-align: center;
}

header .logo img {
    width: 100px;
}

header h1 {
    font-size: 2.5em;
    margin-top: 20px;
}

.cta-button {
    background-color: #ffffff;
    color: #4caf50;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

.cta-button:hover {
    background-color: #4caf50;
    color: white;
}

/* 特徴セクション */
#features {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background-color: #ffffff;
}

.feature-item {
    text-align: center;
    max-width: 300px;
}

.feature-item img {
    height: 150px;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-top: 20px;
}

.feature-item p {
    font-size: 1em;
    color: #555;
}

/* 顧客の声 */
#testimonials {
    background-color: #f9f9f9;
    padding: 40px;
    text-align: center;
}

.testimonial-item {
    display: inline-block;
    width: 40%;
    margin: 20px 20px;
}

.testimonial-item img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.testimonial-item h4 {
    margin-top: 10px;
    font-weight: bold;
}

.testimonial-item p {
    font-style: italic;
    margin-top: 10px;
}

/* サービスの流れ */
#how-it-works {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background-color: #ffffff;
}

.step-item {
    text-align: center;
    max-width: 300px;
}

.step-item img {
    height: 60px;
}

.step-item h3 {
    font-size: 1.5em;
    margin-top: 20px;
}

  /* プラン一覧セクション */
#pricing {
    text-align: center;
    background-color: #f4f6f9;
    padding: 50px 0;
}

#pricing h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

/* プランを横並びに表示 */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.pricing-plan {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.pricing-plan h3 {
    font-size: 1.8em;
    color: #4caf50;
    margin-bottom: 20px;
}

.pricing-plan .price {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.pricing-plan .description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.pricing-plan .features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pricing-plan .features li {
    font-size: 1em;
    margin-bottom: 10px;
}

.pricing-plan .cta-button {
    display: inline-block;
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.pricing-plan .cta-button:hover {
    background-color: #45a049;
}

/* 無制限プラン（ハイライト） */
.pricing-plan.featured {
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
}

.pricing-plan.featured h3 {
    color: #388e3c;
}

#contact{
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 860px) {
    .pricing-container {
      flex-direction: column;
      align-items: center;
    }
}

/* レスポンシブ対応 */
@media (max-width: 860px) {
    #features, #how-it-works {
        flex-direction: column;
        align-items: center;
    }

    .feature-item, .step-item {
        margin-bottom: 20px;
    }

    /* ヘッダー */
    header {
        padding: 20px;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .header-content{
        width: 95%;
        color: #4caf50;
        text-align: center;
    }

    .header-img{
        width: 80%;
    }

    header h1{
        font-size:1.8em;
    }
}


    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }
    .header-bar {
      background-color: #4caf50;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 30px;
    }
    .title {
      font-size: 24px;
      font-weight: bold;
    }
    .section-title {
      font-size: 28px;
      font-weight: bold;
      margin: 40px 0 20px;
      position: relative;
      padding-left: 20px;
    }
    .section-title::before {
      content: "";
      width: 8px;
      height: 40px;
      background-color: #4caf50;
      position: absolute;
      left: 0;
      top: 0;
      border-radius: 0 4px 4px 0;
    }
    .flex-row {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .card {
      flex: 1 1 300px;
      background-color: #ffffff;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th, td {
      padding: 12px;
      border-bottom: 1px solid #eee;
      text-align: left;
    }
    th {
      background-color: #f0f0f0;
      color: #333;
    }
    .highlight {
      background-color: #e8f5e9;
      border-left: 5px solid #4caf50;
      padding: 20px;
      margin: 40px 0;
      border-radius: 8px;
    }
    .badge {
      display: inline-block;
      background-color: rgba(76, 175, 80, 0.1);
      color: #4caf50;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 14px;
      margin: 5px;
    }
    .saving-tag {
      background-color: #4caf50;
      color: white;
      padding: 20px;
      transform: rotate(-5deg);
      text-align: center;
      border-radius: 10px;
      font-size: 20px;
      font-weight: bold;
    }
    @media (max-width: 768px) {
      .flex-row {
        flex-direction: column;
      }
      .card {
        width: 90%;
      }

      .testimonial-item {
        width: 90%;
}
    }