.tenshu-guide-page {
    padding: 48px 0 80px;
    background: #f7f8fc;
    color: #252b3a;
}

.tenshu-guide-container {
    max-width: 1120px;
}

.tenshu-guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
    min-height: 430px;
    padding: clamp(30px, 6vw, 68px);
    overflow: hidden;
    border: 1px solid #e8eaf2;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(36, 44, 75, .07);
}

.tenshu-guide-eyebrow {
    margin: 0 0 10px;
    color: #6672bc;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.tenshu-guide-hero h1 {
    margin: 0;
    color: #282d3c;
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.18;
}

.tenshu-guide-intro {
    max-width: 510px;
    margin: 20px 0 0;
    color: #697181;
    font-size: 1.02rem;
    line-height: 1.9;
}

.tenshu-guide-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

.tenshu-guide-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: #5967b5;
    box-shadow: 0 8px 18px rgba(89, 103, 181, .2);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.tenshu-guide-button:hover,
.tenshu-guide-button:focus-visible {
    transform: translateY(-2px);
    background: #46549f;
    color: #fff;
}

.tenshu-guide-secondary-link {
    color: #5967b5;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
}

.tenshu-guide-secondary-link:hover {
    text-decoration: underline;
}

.tenshu-guide-hero-art {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(160deg, #dceafa 0%, #fbeddc 76%);
}

.tenshu-guide-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    object-fit: contain;
}

.tenshu-guide-section {
    padding-top: 82px;
    scroll-margin-top: 24px;
}

.tenshu-guide-section-heading {
    margin-bottom: 26px;
    text-align: center;
}

.tenshu-guide-section-heading h2 {
    margin: 0;
    color: #2a3040;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 800;
}

.tenshu-guide-section-heading > p:last-child {
    margin: 10px 0 0;
    color: #747b89;
}

.tenshu-guide-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tenshu-guide-step {
    position: relative;
    min-height: 278px;
    padding: 24px 20px;
    border: 1px solid #e7e9f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(36, 44, 75, .04);
}

.tenshu-guide-step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #c7cbe0;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.tenshu-guide-step-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 19px;
    border-radius: 15px;
    background: #f0f1ff;
    font-size: 1.55rem;
}

.tenshu-guide-step h3,
.tenshu-guide-faq h3 {
    margin: 0;
    color: #343a4b;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.5;
}

.tenshu-guide-step p,
.tenshu-guide-info-card > p:not(.tenshu-guide-eyebrow),
.tenshu-guide-tip p,
.tenshu-guide-faq p {
    margin: 10px 0 0;
    color: #747b89;
    font-size: .9rem;
    line-height: 1.8;
}

.tenshu-guide-feature-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    padding-top: 46px;
}

.tenshu-guide-info-card {
    padding: 30px;
    border: 1px solid #e7e9f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(36, 44, 75, .04);
}

.tenshu-guide-info-card h2 {
    margin: 0;
    color: #303647;
    font-size: 1.4rem;
    font-weight: 800;
}

.tenshu-guide-balance-example {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 14px;
    background: #f7f8fc;
}

.tenshu-guide-balance-example > span:not(.tenshu-guide-balance-sign) {
    display: grid;
    flex: 1 1 100px;
    gap: 4px;
}

.tenshu-guide-balance-example strong {
    color: #505eaa;
    font-size: .85rem;
}

.tenshu-guide-balance-example small {
    color: #838998;
    font-size: .73rem;
}

.tenshu-guide-balance-sign {
    color: #adb2c1;
    font-weight: 800;
}

.tenshu-guide-note {
    padding-left: 12px;
    border-left: 3px solid #e9c98e;
    font-size: .83rem !important;
}

.tenshu-guide-tool-list {
    display: grid;
    gap: 16px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.tenshu-guide-tool-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tenshu-guide-tool-list li > span:first-child {
    font-size: 1.25rem;
}

.tenshu-guide-tool-list li > span:last-child {
    display: grid;
    gap: 3px;
}

.tenshu-guide-tool-list strong {
    color: #42495b;
    font-size: .9rem;
}

.tenshu-guide-tool-list small {
    color: #7b8290;
    font-size: .82rem;
    line-height: 1.6;
}

.tenshu-guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 20px;
    padding: 24px 28px;
    border: 1px solid #f0dfb8;
    border-radius: 18px;
    background: #fffaf0;
}

.tenshu-guide-tip-icon {
    font-size: 1.7rem;
}

.tenshu-guide-tip h2 {
    margin: 0;
    color: #51452d;
    font-size: 1.08rem;
    font-weight: 750;
}

.tenshu-guide-tip p {
    margin-top: 6px;
}

.tenshu-guide-faq {
    padding-top: 82px;
}

.tenshu-guide-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tenshu-guide-faq-grid article {
    padding: 22px;
    border-top: 3px solid #c9cdef;
    border-radius: 0 0 14px 14px;
    background: #fff;
}

.tenshu-guide-bottom-cta {
    display: grid;
    justify-items: center;
    margin-top: 68px;
    padding: 42px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #eef0ff, #f8f2e9);
    text-align: center;
}

.tenshu-guide-bottom-cta > span {
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.tenshu-guide-bottom-cta h2 {
    margin: 0;
    color: #303647;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
}

.tenshu-guide-bottom-cta p {
    margin: 8px 0 20px;
    color: #747b89;
}

@media (max-width: 900px) {
    .tenshu-guide-hero {
        grid-template-columns: 1fr;
    }

    .tenshu-guide-hero-art {
        min-height: 270px;
    }

    .tenshu-guide-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tenshu-guide-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tenshu-guide-page {
        padding: 24px 0 52px;
    }

    .tenshu-guide-hero {
        gap: 24px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .tenshu-guide-hero h1 {
        font-size: 2.5rem;
    }

    .tenshu-guide-hero-art {
        min-height: 230px;
    }

    .tenshu-guide-section,
    .tenshu-guide-faq {
        padding-top: 58px;
    }

    .tenshu-guide-steps,
    .tenshu-guide-faq-grid {
        grid-template-columns: 1fr;
    }

    .tenshu-guide-step {
        min-height: 0;
    }

    .tenshu-guide-info-card {
        padding: 24px 20px;
    }

    .tenshu-guide-balance-example {
        align-items: flex-start;
    }

    .tenshu-guide-balance-example > span:not(.tenshu-guide-balance-sign) {
        flex-basis: calc(50% - 24px);
    }

    .tenshu-guide-tip {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tenshu-guide-button {
        transition: none;
    }
}
