/* ==========================================
   注文方法セクション専用スタイル
   見やすさと理解しやすさを重視
   ========================================== */

.howto-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

/* セクションヘッダー */
.howto-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.howto-section .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

/* ステップコンテナ */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ステップカード */
.step-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border-left: 5px solid #4CAF50;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2);
}

/* ステップ番号 */
.step-card .step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    z-index: 2;
}

/* ステップアイコン */
.step-card .step-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-card .step-icon i {
    font-size: 2rem;
    color: #4CAF50;
}

/* ステップタイトル */
.step-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* ステップ説明文 */
.step-card > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ステップ詳細 */
.step-detail {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.step-detail ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-detail ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.step-detail ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-detail ol {
    margin: 0;
    padding-left: 20px;
}

.step-detail ol li {
    padding: 8px 0;
    color: #555;
    line-height: 1.6;
}

.step-detail strong {
    color: #333;
    font-weight: 600;
}

/* 矢印（ステップ間） */
.step-arrow {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.step-arrow i {
    font-size: 2rem;
    color: #4CAF50;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* 決済方法の表示 */
.payment-methods {
    margin-top: 15px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.payment-methods p {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.payment-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-badge {
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 2px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.payment-badge:hover {
    border-color: #4CAF50;
    background: #f1f8f4;
}

.payment-badge i {
    color: #4CAF50;
}

/* 注文のコツセクション */
.howto-tips {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.howto-tips h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 32px;
}

.howto-tips h3 i {
    color: #FFC107;
    margin-right: 10px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.tip-card {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tip-card:hover {
    background: #f1f8f4;
    transform: translateY(-5px);
}

.tip-card i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 16px;
    display: block;
}

.tip-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.tip-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 配達エリアセクション */
.delivery-area-section {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.delivery-area-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 32px;
}

.delivery-area-section h3 i {
    color: #4CAF50;
    margin-right: 10px;
}

.delivery-area-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.delivery-area-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.delivery-area-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.area-list-inline {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.area-list-inline li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #333;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.area-list-inline li i {
    color: #4CAF50;
    font-size: 1.1rem;
}

.area-notice-inline {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.area-notice-inline p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #666;
}

.area-notice-inline i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.delivery-area-note {
    text-align: center;
    margin-top: 20px;
}

.delivery-area-note p {
    margin-bottom: 15px;
    color: #666;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
}

.btn-line {
    background: #06C755;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-line:hover {
    background: #05B04C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

/* ステップハイライト（重要なステップ） */
.step-card.highlight {
    border-left-color: #FF9800;
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
}

.step-card.highlight .step-number {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
}

.step-card.highlight .step-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.step-card.highlight .step-icon i {
    color: #FF9800;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .howto-section {
        padding: 60px 0;
    }

    .step-card {
        padding: 24px 20px;
        margin-bottom: 15px;
    }

    .step-card .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -12px;
        left: 20px;
    }

    .step-card .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-card .step-icon i {
        font-size: 1.5rem;
    }

    .step-card h3 {
        font-size: 1.2rem;
    }

    .step-card > p {
        font-size: 0.95rem;
    }

    .step-detail {
        padding: 15px;
    }

    .step-detail ul li {
        font-size: 0.9rem;
    }

    .step-arrow i {
        font-size: 1.5rem;
    }

    .howto-tips {
        padding: 24px 20px;
    }

    .howto-tips h3 {
        font-size: 1.3rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tip-card {
        padding: 20px;
    }

    .delivery-area-section {
        padding: 24px 20px;
    }

    .delivery-area-section h3 {
        font-size: 1.3rem;
    }

    .area-list-inline {
        flex-direction: column;
        gap: 10px;
    }

    .delivery-area-info {
        padding: 20px;
    }

    .map-container iframe {
        height: 400px;
    }

    .payment-badges {
        flex-direction: column;
    }

    .payment-badge {
        width: 100%;
        justify-content: center;
    }
}

/* プリント用スタイル */
@media print {
    .step-arrow {
        display: none;
    }

    .step-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
