/**
 * Editorial & Informational Pages Styling - ANZEN JAPAN
 * Minimalist Japanese Editorial Aesthetic (Sumi Black, Paper White, Vermilion Accent)
 */

.page-editorial-header {
    background: #111111;
    color: #ffffff;
    padding: 48px 0 40px;
    border-bottom: 3px solid #d02b2b;
    position: relative;
    overflow: hidden;
}

.page-editorial-header::after {
    content: "安全";
    position: absolute;
    right: 5%;
    bottom: -30px;
    font-size: 160px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
}

.page-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-editorial-header .catalog-breadcrumb {
    margin-bottom: 16px;
    font-size: 13px;
    color: #888888;
}

.page-editorial-header .catalog-breadcrumb a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.2s;
}

.page-editorial-header .catalog-breadcrumb a:hover {
    color: #ffffff;
}

.page-editorial-header .catalog-breadcrumb .sep {
    margin: 0 8px;
    color: #555555;
}

.page-editorial-header .catalog-breadcrumb .current {
    color: #ffffff;
}

.page-kicker {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #d02b2b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-main-title {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.page-main-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #cccccc;
    max-width: 760px;
    margin: 0;
}

.page-content-workspace {
    background: #fafafa;
    padding: 48px 0 80px;
}

.page-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 36px 40px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.guide-step-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333333;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
    border-left: 3px solid #d02b2b;
}

.section-title-wrap {
    margin-bottom: 28px;
}

.section-title-wrap h2,
.text-block h2,
.guide-intro-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.section-title-wrap p,
.text-block p,
.guide-intro-text p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

/* Intro Flex */
.guide-intro-flex,
.feature-two-col {
    display: flex;
    gap: 40px;
    align-items: center;
}

.guide-intro-text,
.text-block {
    flex: 1;
}

.guide-intro-visual {
    width: 240px;
    flex-shrink: 0;
    text-align: center;
}

.ruler-illustration {
    background: #f7f7f7;
    border: 2px dashed #cccccc;
    padding: 30px 20px;
    border-radius: 6px;
}

.ruler-cm {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #d02b2b;
    margin-bottom: 10px;
}

.foot-graphic {
    font-size: 48px;
    margin-bottom: 8px;
}

.ruler-sub {
    font-size: 12px;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.styled-order-list {
    margin: 16px 0 0 0;
    padding-left: 20px;
}

.styled-order-list li {
    font-size: 14.5px;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 8px;
}

/* Kanji Seal Badge */
.kanji-feature-visual {
    width: 200px;
    flex-shrink: 0;
    text-align: center;
}

.kanji-badge-seal {
    width: 120px;
    height: 120px;
    border: 3px solid #d02b2b;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #d02b2b;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    background: rgba(208, 43, 43, 0.04);
}

.kanji-badge-seal.big-kanji {
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    font-weight: 700;
}

.kanji-badge-seal strong {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kanji-feature-visual span {
    font-size: 12px;
    font-family: 'Noto Serif JP', serif;
    color: #777777;
    letter-spacing: 1px;
}

/* Steps Grid (4 Col) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.step-card {
    background: #fdfdfd;
    border: 1px solid #ebebeb;
    padding: 24px 20px;
    border-radius: 4px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #eaeaea;
    line-height: 1;
    margin-bottom: 12px;
}

.step-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.step-card p {
    font-size: 13.5px;
    color: #666666;
    line-height: 1.55;
    margin: 0;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.method-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 28px;
    background: #fafafa;
}

.method-box.is-featured {
    border-color: #d02b2b;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(208, 43, 43, 0.06);
}

.method-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 2px;
    background: #111111;
    color: #ffffff;
    margin-bottom: 12px;
}

.method-box.is-featured .method-badge {
    background: #d02b2b;
}

.method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.method-header .method-icon {
    font-size: 24px;
}

.method-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.method-box p {
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.partner-tags span {
    font-size: 11px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #d5d5d5;
    padding: 4px 8px;
    border-radius: 3px;
    color: #333333;
}

.method-note {
    list-style: none;
    padding: 0;
    margin: 0;
}

.method-note li {
    font-size: 13px;
    color: #27ae60;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Info Callout Card */
.info-callout-card {
    background: #fbfbfc;
    border-left: 4px solid #111111;
}

.info-callout-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.callout-icon {
    font-size: 32px;
    line-height: 1;
}

.callout-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
}

.callout-body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 6px 0;
}

.callout-sub {
    font-size: 13px;
    color: #777777;
    margin-top: 8px;
}

/* Rules Grid (Warranty / Returns) */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.rule-box {
    background: #fafafa;
    border: 1px solid #ebebeb;
    padding: 20px;
    border-radius: 4px;
}

.rule-icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.rule-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 6px 0;
}

.rule-box p {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* Procedure List */
.procedure-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.proc-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px;
    background: #fcfcfc;
    border: 1px solid #eeeeee;
    border-radius: 4px;
}

.proc-idx {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    flex-shrink: 0;
}

.proc-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 6px 0;
}

.proc-content p {
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

.proc-content code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 13px;
    color: #d02b2b;
}

/* Comparison Grid (JSAA) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.comp-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 28px;
    background: #fafafa;
}

.comp-card.is-primary {
    border-color: #111111;
    border-top: 4px solid #d02b2b;
    background: #ffffff;
}

.comp-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 2px;
    background: #eaeaea;
    color: #333333;
    margin-bottom: 12px;
}

.comp-card.is-primary .comp-badge {
    background: #111111;
    color: #ffffff;
}

.comp-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
}

.comp-sub {
    font-size: 14px;
    color: #666666;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.comp-list {
    margin: 0;
    padding-left: 20px;
}

.comp-list li {
    font-size: 13.5px;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Size Table */
.table-responsive {
    overflow-x: auto;
    margin-top: 16px;
}

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.size-guide-table th {
    background: #111111;
    color: #ffffff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.size-guide-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eeeeee;
    color: #444444;
}

.size-guide-table tr:nth-child(even) td {
    background: #fbfbfb;
}

.size-guide-table tr:hover td {
    background: #f3f3f3;
}

/* Page CTA Strip */
.page-cta-strip {
    background: #111111;
    color: #ffffff;
    padding: 32px 40px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-left h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.cta-left p {
    font-size: 14px;
    color: #aaaaaa;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cta-actions .btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-actions .btn-primary {
    background: #d02b2b;
    color: #ffffff;
    border: 1px solid #d02b2b;
}

.cta-actions .btn-primary:hover {
    background: #b52222;
}

.cta-actions .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-actions .btn-outline:hover {
    background: #ffffff;
    color: #111111;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .steps-grid,
    .rules-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .guide-intro-flex,
    .feature-two-col {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .guide-intro-visual,
    .kanji-feature-visual {
        width: 100%;
    }
    
    .payment-methods-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .page-cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cta-actions .btn {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .page-card {
        padding: 24px 18px;
    }

    .steps-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .page-main-title {
        font-size: 24px;
    }
}


/* Size Guide Specific Styling */
.fit-tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    background: #eef2f5;
    color: #475569;
}

.fit-tag.popular {
    background: #fef2f2;
    color: #d02b2b;
    border: 1px solid rgba(208, 43, 43, 0.2);
}

.safety-tip-box {
    margin-top: 24px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 4px;
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.safety-tip-box .tip-icon {
    font-size: 22px;
    line-height: 1;
}

.safety-tip-box strong {
    display: block;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 4px;
}

.safety-tip-box p {
    font-size: 13.5px;
    color: #78350f;
    line-height: 1.55;
    margin: 0;
}

.consult-strip {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 28px 32px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.consult-strip h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 6px 0;
}

.consult-strip p {
    font-size: 14px;
    color: #555555;
    margin: 0;
    line-height: 1.5;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    color: #ffffff;
}

@media (max-width: 768px) {
    .consult-strip {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}
