/* =========================================
   GUIDE COMMON
========================================= */

.guide-hero {
    padding: 46px 0;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 31, 82, .96), rgba(0, 62, 137, .84)),
        url("/r/images/guide_bg.jpg") center / cover;
}

.guide-inner,
.guide-main {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.guide-kicker {
    display: block;
    margin-bottom: 10px;
    color: #b9d6ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.guide-hero h1 {
    margin: 0 0 12px;
    font-size: 36px;
    letter-spacing: -.8px;
}

.guide-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    line-height: 1.7;
}

.guide-main {
    padding-top: 42px;
    padding-bottom: 70px;
}

.guide-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 34px;
}

.guide-side {
    height: max-content;
    overflow: hidden;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    background: #fff;
}

.guide-side-title {
    padding: 20px;
    background: #003b88;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.guide-side a {
    min-height: 52px;
    padding: 0 18px;
    border-bottom: 1px solid #edf1f6;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #374151;
    font-size: 14px;
    font-weight: 800;
}

.guide-side a:last-child {
    border-bottom: 0;
}

.guide-side a.active,
.guide-side a:hover {
    background: #eaf1fb;
    color: #003b88;
}

.guide-heading {
    margin-bottom: 30px;
}

.guide-heading > span {
    display: block;
    margin-bottom: 8px;
    color: #003b88;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
}

.guide-heading h2 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: -.7px;
}

.guide-heading p {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.process-card {
    min-height: 190px;
    padding: 22px 18px;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    background: #fff;
}

.process-card em {
    color: #003b88;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.process-card h3 {
    margin: 18px 0 10px;
    font-size: 18px;
}

.process-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.member-type-grid,
.auction-type-grid,
.fee-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.auction-type-grid {
    grid-template-columns: repeat(3, 1fr);
}

.fee-summary-grid {
    grid-template-columns: repeat(2, 1fr);
}

.member-type-card,
.auction-type-card,
.fee-summary-card {
    padding: 24px;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    background: #fff;
}

.warning-box,
.notice-box,
.tax-guide {
    margin-top: 24px;
    padding: 20px;
    border-radius: 10px;
    line-height: 1.8;
}

.warning-box {
    border: 1px solid #f1d38a;
    background: #fffaf0;
}

.notice-box,
.tax-guide {
    border: 1px solid #cfe0ff;
    background: #f8fbff;
}

.cost-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    overflow: hidden;
}

.cost-list li {
    min-height: 50px;
    padding: 0 18px;
    border-bottom: 1px solid #edf1f6;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cost-list li:last-child {
    border-bottom: 0;
}

.cost-list b {
    color: #003b88;
}

/* =========================================
   GUIDE MOBILE
========================================= */

@media (max-width: 768px) {
    .guide-hero {
        padding: 30px 0;
    }

    .guide-inner,
    .guide-main {
        width: calc(100% - 32px);
    }

    .guide-hero h1 {
        font-size: 27px;
    }

    .guide-main {
        padding-top: 20px;
        padding-bottom: 42px;
    }

    .guide-layout {
        display: block;
    }

    .guide-side {
        margin-bottom: 28px;

        display: flex;
        overflow-x: auto;

        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .guide-side-title {
        display: none;
    }

    .guide-side a {
        flex: 0 0 auto;
        min-width: 130px;
        padding: 0 14px;
        border-right: 1px solid #edf1f6;
        border-bottom: 0;
        justify-content: center;
        white-space: nowrap;
    }

    .guide-side a span {
        display: none;
    }

    .guide-heading h2 {
        font-size: 24px;
    }

    .process-grid,
    .member-type-grid,
    .auction-type-grid,
    .fee-summary-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
    }

    .cost-list li {
        align-items: flex-start;
        padding-top: 14px;
        padding-bottom: 14px;
    }
}