/* 料金プランブロック */
.pricing-plan {
    font-family: inherit;
    margin: 0 auto;
}

.pricing-plan-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-plan-full {
    width: 100%;
}

.pricing-plan-custom {
    margin: 0 auto;
}

.pricing-plan-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 上部画像 */
.pricing-plan-top-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
}

.top-image {
    width: 30%;
    aspect-ratio: 100 / 100;
    height: 100%; 
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 価格表示 */
.price-display {
    text-align: center;
    padding: 30px 20px;
}

.price-amount {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
}

/* 詳細項目 */
.detail-items {
    padding: 0 30px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-item {
    background: #dedede;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-icon {
    flex-shrink: 0;
}

.detail-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.detail-content {
    flex: 1;
}

.detail-title {
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
    color: #111;
}

.detail-value {
    font-size: 20px;
    color: inherit;
}

/* ボタン */
.pricing-plan-button {
    text-align: center;
    padding: 0 20px 30px;
}

.plan-button {
    display: inline-block;
    color: white;
    text-decoration: none;
    border: none;
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 150%;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: white;
}

.plan-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .pricing-plan {
        padding: 20px 0px !important;
    }
    
    .pricing-plan-wrapper {
        max-width: 100%;
        margin: 0;
    }
    
    .price-amount {
        font-size: 28px;
    }
    
    .detail-items {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 15px 20px;
    }
    
    .detail-item {
        padding: 12px;
        gap: 12px;
    }
    
    .plan-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .pricing-plan-top-images {
        padding: 15px;
        gap: 8px;
    }
    
}

@media (max-width: 480px) {
    .price-display {
        padding: 20px 15px;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    .detail-items {
        padding: 0 15px 20px;
    }
    
    .detail-item {
        padding: 10px;
        gap: 10px;
        padding-left: 20px
    }
    
    .detail-icon img {
        width: 20px;
        height: 20px;
    }
    
    .detail-title {
        font-size: 17px;
    }
    
    .detail-value {
        font-size: 17px;
    }
    
    .pricing-plan-button {
        padding: 0 15px 20px;
    }
    
    .plan-button {
        width: 100%;
        padding: 12px 20px;
    }
    
    .pricing-plan-top-images {
        padding: 10px;
        gap: 5px;
        padding-top: 20px;
    }
    
}