/*
 * 送料・お支払い・配送ページのスタイル
 * Shipping Page Styles
 */

/* ========================================
   ヒーローセクション
   ======================================== */

.shipping-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #3a4750 0%, #4a5761 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shipping-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><rect fill="%233a4750" width="1200" height="300"/><text x="50%" y="50%" fill="%23ffffff" fill-opacity="0.03" font-size="100" font-weight="700" text-anchor="middle" dominant-baseline="middle" font-family="Roboto, sans-serif">SHIPPING</text></svg>');
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.shipping-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.shipping-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.shipping-hero .title-ja {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.shipping-hero .title-en {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    opacity: 0.9;
    text-transform: uppercase;
}

/* ========================================
   コンテンツエリア
   ======================================== */

.shipping-content {
    padding: 60px 0 100px;
    background: #f8f9fa;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   情報セクション
   ======================================== */

.info-section {
    background: #ffffff;
    padding: 50px 60px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-section:last-of-type {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--color-primary-green);
}

.title-icon {
    font-size: 2rem;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--color-primary-green);
}

.section-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

.section-content p {
    margin-bottom: 1.5em;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content ul,
.section-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.section-content li {
    margin-bottom: 0.8em;
}

.section-action {
    margin-top: 30px;
    text-align: center;
}

/* ========================================
   お支払い方法
   ======================================== */

.payment-methods {
    margin-top: 30px;
}

.payment-method {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary-green);
}

.payment-method:last-child {
    margin-bottom: 0;
}

.method-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 15px;
}

.method-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.method-content p {
    margin-bottom: 1em;
}

.method-content p:last-child {
    margin-bottom: 0;
}

.method-note {
    margin-top: 15px;
    padding: 15px;
    background: #ffffff;
    border-left: 3px solid #ffa726;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

.method-note p {
    margin-bottom: 0.8em;
}

.method-note p:last-child {
    margin-bottom: 0;
}

/* クレジットカードブランド */
.card-brands {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.card-brand {
    display: inline-block;
    padding: 8px 20px;
    background: #ffffff;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   配送方法
   ======================================== */

.delivery-method {
    margin-bottom: 30px;
}

.delivery-method .section-content ul {
    list-style-type: none;
    padding-left: 0;
}

.delivery-method .section-content li {
    position: relative;
    padding-left: 1.5em;
}

.delivery-method .section-content li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--color-primary-green);
}

.delivery-method .method-note {
    margin-top: 15px;
    padding: 15px;
    background: #fff3e0;
    border-left: 3px solid #ffa726;
    font-size: 0.95rem;
    color: #666;
}

/* ========================================
   配送情報ボックス
   ======================================== */

.delivery-info-box {
    background: #e8f5e9;
    padding: 25px 30px;
    margin-top: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary-green);
}

.info-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 12px;
}

.delivery-info-box p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

/* ========================================
   返品ポリシーボックス
   ======================================== */

.return-policy-box {
    background: #fff3e0;
    padding: 25px 30px;
    margin-top: 25px;
    border-radius: 8px;
    border-left: 4px solid #ffa726;
}

.policy-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 12px;
}

.policy-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

.policy-content p {
    margin-bottom: 1em;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CTAセクション
   ======================================== */

.shipping-cta {
    background: transparent;
    padding: 50px 40px;
    margin-top: 60px;
    border-radius: 12px;
    text-align: center;
    color: var(--color-dark-gray);
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-dark-gray);
}

.cta-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.shipping-cta .btn-primary {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, #4a9361 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 50px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(91, 182, 119, 0.3);
    transition: all 0.3s ease;
}

.shipping-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 182, 119, 0.4);
    background: linear-gradient(135deg, #4a9361 0%, var(--color-primary-green) 100%);
}

/* ========================================
   送料マトリックステーブル
   ======================================== */

.shipping-matrix-tables {
    margin-top: 40px;
}

.shipping-matrix-tables .subsection-title {
    margin-top: 40px;
}

.shipping-matrix-tables .subsection-title:first-child {
    margin-top: 0;
}

.shipping-matrix-wrapper {
    margin: 20px 0 40px;
}

.shipping-matrix-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shipping-matrix-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    min-width: 600px;
    font-size: 0.9rem;
}

.shipping-matrix-table thead {
    background: var(--color-primary-green);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.shipping-matrix-table th {
    padding: 12px 8px;
    text-align: center;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.shipping-matrix-table .prefecture-header {
    text-align: left;
    padding-left: 15px;
    min-width: 100px;
}

.shipping-matrix-table .model-header {
    min-width: 80px;
}

.shipping-matrix-table tbody tr {
    transition: background-color 0.2s ease;
}

.shipping-matrix-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.shipping-matrix-table tbody tr:hover {
    background: #e8f5e9;
}

.shipping-matrix-table td {
    padding: 10px 8px;
    border: 1px solid #e0e0e0;
    text-align: right;
}

.shipping-matrix-table .prefecture-name {
    text-align: left;
    font-weight: 700;
    padding-left: 15px;
    color: var(--color-dark-gray);
    white-space: nowrap;
}

.shipping-matrix-table .fee-amount {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    color: #333;
}

.scroll-hint {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin: 10px 0 0 0;
    font-style: italic;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット */
@media (max-width: 768px) {
    .shipping-hero {
        height: 250px;
    }

    .shipping-hero .hero-title {
        font-size: 2rem;
    }

    .shipping-hero .title-ja {
        font-size: 1.6rem;
    }

    .shipping-hero .title-en {
        font-size: 0.9rem;
    }

    .shipping-content {
        padding: 40px 0 80px;
    }

    .info-section {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 1.6rem;
        gap: 12px;
    }

    .title-icon {
        font-size: 1.8rem;
    }

    .subsection-title {
        font-size: 1.2rem;
    }

    .payment-method {
        padding: 25px 20px;
    }

    .method-title {
        font-size: 1.2rem;
    }

    .card-brands {
        gap: 8px;
    }

    .card-brand {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .shipping-cta {
        padding: 40px 30px;
        margin-top: 50px;
    }

    .cta-title {
        font-size: 1.6rem;
    }
    
    /* 送料マトリックステーブル - タブレット */
    .shipping-matrix-table {
        font-size: 0.85rem;
    }
    
    .shipping-matrix-table th,
    .shipping-matrix-table td {
        padding: 10px 6px;
    }
    
    .shipping-matrix-table .prefecture-header,
    .shipping-matrix-table .prefecture-name {
        padding-left: 12px;
    }
    
    .scroll-hint {
        font-size: 0.8rem;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .shipping-hero {
        height: 220px;
    }

    .shipping-hero .hero-title {
        font-size: 1.6rem;
    }

    .shipping-hero .title-ja {
        font-size: 1.3rem;
    }

    .shipping-hero .title-en {
        font-size: 0.8rem;
    }

    .container-narrow {
        padding: 0 15px;
    }

    .shipping-content {
        padding: 30px 0 60px;
    }

    .info-section {
        padding: 30px 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .section-title {
        font-size: 1.4rem;
        gap: 10px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .title-icon {
        font-size: 1.5rem;
    }

    .subsection-title {
        font-size: 1.1rem;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-left: 15px;
    }

    .section-content {
        font-size: 0.95rem;
    }

    .payment-method {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .method-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .method-content {
        font-size: 0.95rem;
    }

    .method-note {
        padding: 12px;
        font-size: 0.9rem;
    }

    .card-brands {
        gap: 6px;
        margin: 15px 0;
    }

    .card-brand {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .delivery-info-box,
    .return-policy-box {
        padding: 20px;
        margin-top: 20px;
    }

    .info-box-title,
    .policy-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .delivery-info-box p,
    .policy-content {
        font-size: 0.9rem;
    }

    .shipping-cta {
        padding: 35px 20px;
        margin-top: 40px;
    }

    .cta-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .shipping-cta .btn-primary {
        padding: 14px 40px;
        font-size: 0.95rem;
    }
    
    /* 送料マトリックステーブル - スマートフォン */
    .shipping-matrix-tables {
        margin-top: 30px;
    }
    
    .shipping-matrix-tables .subsection-title {
        margin-top: 35px;
        font-size: 1.05rem;
    }
    
    .shipping-matrix-wrapper {
        margin: 15px 0 30px;
    }
    
    .shipping-matrix-table {
        font-size: 0.75rem;
        min-width: 500px;
    }
    
    .shipping-matrix-table th {
        padding: 8px 4px;
        font-size: 0.75rem;
    }
    
    .shipping-matrix-table td {
        padding: 8px 4px;
    }
    
    .shipping-matrix-table .prefecture-header {
        padding-left: 8px;
        min-width: 80px;
    }
    
    .shipping-matrix-table .prefecture-name {
        padding-left: 8px;
        font-size: 0.75rem;
    }
    
    .shipping-matrix-table .model-header {
        min-width: 60px;
    }
    
    .scroll-hint {
        font-size: 0.75rem;
        padding: 0 10px;
    }
}




