
.page-guide-detail {
    --ph-bg: #ffffff;
    --ph-text: #111111;
    --ph-sub: #5f6368;
    --ph-line: #e8e8e8;
    --ph-accent: #f4c400;
    --ph-accent-2: #ffd84d;
    --ph-shadow: 0 18px 44px rgba(0,0,0,0.06);
    font-family: 'Inter', sans-serif;
    background: var(--ph-bg);
    color: var(--ph-text);
    width: 100%;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.page-guide-detail,
.page-guide-detail * {
    box-sizing: border-box;
}

.page-guide-detail h1,
.page-guide-detail h2,
.page-guide-detail h3 {
    white-space: normal;
    overflow-wrap: anywhere;
}

.guide-hero {
    position: relative;
    padding: 60px 0 28px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at top center, rgba(244,196,0,0.14), transparent 32%), linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.guide-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 48%, transparent 72%);
    transform: translateX(-100%);
    animation: guideLightSweep 6s ease-in-out infinite;
    pointer-events: none;
}

.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.guide-kicker {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(244,196,0,0.14);
    color: #8a6a00;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
}

.guide-hero h1 {
    margin: 0 auto 10px;
    max-width: 1100px;
    width: 100%;
    font-size: clamp(2.25rem, 4.5vw, 4.7rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.guide-hero p,
.guide-cta-panel p {
    max-width: 940px;
    margin: 0 auto;
    font-size: clamp(1.08rem, 1.65vw, 1.26rem);
    line-height: 1.82;
    color: var(--ph-sub);
    text-align: justify;
    text-align-last: center;
    hyphens: auto;
}

.guide-hero-actions,
.guide-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.guide-btn-primary,
.guide-btn-secondary {
    display: inline-block;
    padding: 18px 34px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    line-height: 1.2;
    text-align: center;
}

.guide-btn-primary {
    background: linear-gradient(180deg, var(--ph-accent) 0%, var(--ph-accent-2) 100%);
    color: #111 !important;
    box-shadow: 0 18px 35px rgba(244,196,0,0.35), 0 6px 12px rgba(0,0,0,0.12);
}

.guide-btn-primary:hover {
    color: #000 !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 28px 55px rgba(244,196,0,0.55), 0 10px 20px rgba(0,0,0,0.18);
}

.guide-btn-secondary {
    background: #fff;
    color: #111 !important;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.guide-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 1080px;
    margin: 36px auto;
}

.guide-summary-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,216,77,.20) 0%, rgba(255,255,255,.96) 55%);
    border: 1px solid rgba(244,196,0,.22);
    box-shadow: 0 18px 42px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.9);
    position: relative;
    overflow: hidden;
    transition: transform .32s ease, box-shadow .32s ease;
}

.guide-summary-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f4c400, #ffd84d);
}

.guide-summary-card strong {
    font-size: 1.55rem;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.guide-summary-card span {
    color: var(--ph-sub);
    line-height: 1.6;
    font-size: 0.98rem;
    text-align: justify;
    hyphens: auto;
}

.guide-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 120px;
}

.guide-section-block {
    padding: clamp(42px, 5vw, 56px) 0;
}

.guide-section-block:first-child {
    padding-top: 18px;
}

.guide-section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--ph-line), transparent);
}

.guide-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.guide-section-head h2 {
    width: 100%;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.guide-section-head p {
    width: 100%;
    max-width: 900px;
    margin: 0;
    color: var(--ph-sub);
    line-height: 1.8;
    font-size: 1.02rem;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

.guide-info-grid,
.guide-product-grid {
    display: grid;
    gap: 24px;
}

.guide-info-grid.three,
.guide-product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.guide-info-card,
.guide-product-card,
.guide-faq-item {
    display: block;
    height: 100%;
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    color: var(--ph-text);
    text-decoration: none;
    box-shadow: var(--ph-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.guide-info-card:hover,
.guide-product-card:hover,
.guide-faq-item:hover,
.guide-summary-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.10);
    border-color: rgba(244,196,0,0.35);
}

.guide-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(180deg, rgba(244,196,0,0.18) 0%, rgba(255,216,77,0.3) 100%);
    color: #8a6a00;
    font-size: 1.6rem;
    font-weight: 800;
}

.guide-info-card h3,
.guide-product-card h3,
.guide-faq-item h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    line-height: 1.25;
}

.guide-info-card p,
.guide-product-card p,
.guide-faq-item p {
    margin: 0;
    color: var(--ph-sub);
    line-height: 1.78;
    font-size: 0.98rem;
    text-align: justify;
    hyphens: auto;
}

.guide-product-card p {
    margin-bottom: 18px;
}

.guide-product-card span {
    font-weight: 800;
    color: #111;
}

.guide-product-card span::after {
    content: " →";
}

.guide-faq-list {
    display: grid;
    gap: 18px;
}

.guide-cta-panel {
    margin-top: 22px;
    padding: 58px 38px;
    text-align: center;
    background: linear-gradient(180deg, #171717 0%, #101010 100%);
    color: #ffffff;
    border-radius: 34px;
    box-shadow: 0 26px 58px rgba(0,0,0,0.16);
}

.guide-cta-panel h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.guide-cta-panel p {
    color: rgba(255,255,255,0.82);
}

.guide-fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.guide-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes guideLightSweep {
    0%, 55% { transform: translateX(-100%); opacity: 0; }
    70% { opacity: .65; }
    100% { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 1100px) {
    .guide-info-grid.three,
    .guide-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .guide-summary,
    .guide-info-grid.three,
    .guide-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .guide-hero {
        padding: 52px 0 20px;
    }

    .guide-hero h1 {
        font-size: clamp(2rem, 9vw, 3.2rem);
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .guide-container,
    .guide-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .guide-main {
        padding-top: 24px;
        padding-bottom: 90px;
    }

    .guide-summary {
        margin: 18px auto;
    }

    .guide-summary-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .guide-hero p,
    .guide-section-head p,
    .guide-cta-panel p,
    .guide-info-card p,
    .guide-product-card p,
    .guide-faq-item p,
    .guide-summary-card span {
        text-align: left;
        text-align-last: auto;
    }

    .guide-btn-primary,
    .guide-btn-secondary {
        width: 100%;
        max-width: 360px;
        padding: 16px 22px;
    }

    .guide-cta-panel {
        padding: 40px 22px;
        border-radius: 24px;
    }

    .guide-info-card,
    .guide-product-card,
    .guide-faq-item {
        padding: 24px 20px;
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guide-hero::before {
        animation: none;
    }

    .guide-fade-up,
    .guide-summary-card,
    .guide-info-card,
    .guide-product-card,
    .guide-faq-item {
        transition: none;
        transform: none;
        opacity: 1;
    }
}
