/* ============================================
   Semi-Order Page Styles
   プロフェッショナルなレイアウト
   ============================================ */

/* ============================================
   Hero Section
   ============================================ */
.semi-hero {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: var(--gradient-hero);
    text-align: center;
}

.hero-content-center {
    max-width: 600px;
    margin: 0 auto;
}

.semi-hero .hero-tag {
    display: inline-block;
    background: var(--gradient-sunset);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.semi-hero .hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.semi-hero .hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
}

.semi-hero .hero-description {
    font-size: 15px;
    color: #666;
    line-height: 2;
}

/* ============================================
   Products Section
   ============================================ */
.semi-products {
    padding: 80px 0;
    background: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    background: #f8f8f8;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 24px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

.product-delivery {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary-dark);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ============================================
   Customize Section
   ============================================ */
.semi-customize {
    padding: 80px 0;
    background: var(--gradient-hero);
}

.customize-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.customize-item {
    background: #fff;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.customize-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.customize-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--gradient-sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customize-icon svg {
    stroke: #fff;
    width: 28px;
    height: 28px;
}

.customize-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.customize-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   Flow Section
   ============================================ */
.semi-flow {
    padding: 80px 0;
    background: #fff;
}

.semi-flow .flow-steps {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.semi-flow .flow-step {
    flex: 1;
    max-width: 220px;
    background: #fafafa;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    position: relative;
}

.semi-flow .flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-primary);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.semi-flow .step-number {
    width: 44px;
    height: 44px;
    background: var(--gradient-sunset);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.semi-flow .step-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.semi-flow .step-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.flow-notice {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(232, 180, 188, 0.15);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
}

.flow-notice p {
    font-size: 14px;
    color: #555;
}

.flow-notice strong {
    color: var(--color-primary-dark);
}

/* ============================================
   CTA Section
   ============================================ */
.semi-cta {
    padding: 80px 0;
    background: var(--gradient-sunset);
}

.semi-cta .cta-content {
    text-align: center;
    color: #fff;
}

.semi-cta .cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
}

.semi-cta .cta-description {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.8;
}

.semi-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.semi-cta .btn-primary {
    background: #fff;
    color: var(--color-primary-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.semi-cta .btn-primary:hover {
    transform: translateY(-3px);
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #00B900;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-line:hover {
    transform: translateY(-3px);
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 1024px) {
    .semi-hero .hero-title {
        font-size: 32px;
    }

    .products-grid {
        gap: 20px;
    }

    .customize-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .semi-flow .flow-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .semi-flow .flow-step {
        flex: 0 0 calc(50% - 10px);
        max-width: none;
    }

    .semi-flow .flow-step:not(:last-child)::after {
        display: none;
    }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 768px) {
    .semi-hero {
        padding: calc(var(--header-height) + 2rem) 0 2.5rem;
        overflow: hidden;
    }

    .semi-hero .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .semi-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .semi-hero .hero-description {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .semi-products,
    .semi-customize,
    .semi-flow,
    .semi-cta {
        padding: 3rem 0;
        overflow: hidden;
    }

    /* 商品グリッド */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 100%;
    }

    .product-card {
        max-width: 100%;
        border-radius: 12px;
    }

    .product-image {
        border-radius: 12px 12px 0 0;
    }

    .product-image img {
        max-width: 100%;
    }

    .product-content {
        padding: 1.25rem;
    }

    .product-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .product-delivery {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .product-description {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    /* カスタマイズグリッド */
    .customize-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .customize-item {
        padding: 1rem 0.75rem;
        border-radius: 12px;
    }

    .customize-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
    }

    .customize-icon svg {
        width: 22px;
        height: 22px;
    }

    .customize-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .customize-description {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* フローセクション */
    .semi-flow .flow-steps {
        flex-direction: column;
        gap: 0.75rem;
    }

    .semi-flow .flow-step {
        flex: none;
        width: 100%;
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }

    .semi-flow .step-number {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .semi-flow .step-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .semi-flow .step-content p {
        font-size: 0.8rem;
    }

    .flow-notice {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .flow-notice p {
        font-size: 0.85rem;
    }

    /* CTAセクション */
    .semi-cta .cta-title {
        font-size: 1.35rem;
        line-height: 1.5;
    }

    .semi-cta .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .semi-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .semi-cta .btn-primary,
    .semi-cta .btn-line {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        justify-content: center;
    }
}
