/**
 * ご利用案内ページ
 */

.page-guide.guide-section {
    padding-top: 0;
}

.page-guide .guide-hero {
    --category-hero-min-h: clamp(220px, 34vw, 340px);
}

.page-guide .guide-hero .category-hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(8, 18, 32, 0.25) 0%,
        rgba(8, 18, 32, 0.55) 100%
    );
}

.page-guide .guide-shell {
    padding-top: clamp(24px, 4vw, 40px);
    padding-bottom: clamp(32px, 5vw, 48px);
}

.page-guide .guide-stack {
    display: grid;
    gap: clamp(20px, 4vw, 28px);
    max-width: 960px;
    margin: 0 auto;
}

/* --- ご依頼の流れ（flow.html） --- */

.page-guide .guide-flow {
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid #e8d4a8;
    border-radius: 12px;
    background: #fffff8;
    box-shadow: 0 2px 12px rgba(12, 28, 48, 0.06);
}

.page-guide .guide-flow__header {
    margin-bottom: 24px;
    text-align: center;
}

.page-guide .guide-flow__title {
    display: inline-block;
    margin: 0 0 12px;
    padding: 10px 28px;
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e8b86d 0%, #d99a3a 100%);
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(217, 154, 58, 0.3);
}

.page-guide .guide-flow__lead {
    margin: 0 0 6px;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    font-weight: 700;
    color: #f39800;
}

.page-guide .guide-flow__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}

.page-guide .guide-flow__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

@media (min-width: 720px) {
    .page-guide .guide-flow__layout {
        grid-template-columns: 45px minmax(0, 1fr) 45px;
        gap: 8px;
    }
}

.page-guide .guide-flow__rail {
    display: none;
    position: relative;
    overflow: hidden;
}

@media (min-width: 720px) {
    .page-guide .guide-flow__rail {
        display: block;
    }

    .page-guide .guide-flow__rail img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: fill;
        object-position: top center;
    }
}

.page-guide .guide-flow__steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-guide .guide-flow__step {
    margin: 0;
    padding: 0 0 20px;
}

.page-guide .guide-flow__step:last-child {
    padding-bottom: 0;
}

.page-guide .guide-flow__step-banner {
    margin: 0 0 10px;
}

.page-guide .guide-flow__step-banner img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
}

.page-guide .guide-flow__step--customer .guide-flow__step-banner img {
    margin-right: auto;
}

.page-guide .guide-flow__step--vendor .guide-flow__step-banner img {
    margin-left: auto;
}

.page-guide .guide-flow__step--both .guide-flow__step-banner img {
    margin-inline: auto;
}

.page-guide .guide-flow__step-body {
    max-width: 500px;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #555;
}

.page-guide .guide-flow__step--customer .guide-flow__step-body {
    margin-right: auto;
    text-align: left;
}

.page-guide .guide-flow__step--vendor .guide-flow__step-body {
    margin-left: auto;
    text-align: right;
}

.page-guide .guide-flow__step--both .guide-flow__step-body {
    margin-inline: auto;
    text-align: center;
}

.page-guide .guide-flow__step-body p {
    margin: 0 0 0.4em;
}

.page-guide .guide-flow__step-body p:last-child {
    margin-bottom: 0;
}

.page-guide .guide-flow__footer-image {
    margin: 20px auto 0;
    text-align: center;
}

.page-guide .guide-flow__footer-image img {
    display: block;
    width: 100%;
    max-width: 168px;
    height: auto;
    margin: 0 auto;
}

.page-guide .guide-card {
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(12, 28, 48, 0.06);
}

.page-guide .guide-card__title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    font-weight: 700;
    color: var(--home-text, #1c2d42);
    border-bottom: 2px solid var(--home-accent, #b50400);
}

.page-guide .guide-card__body p {
    margin: 0 0 1em;
    line-height: 1.85;
    color: var(--home-text, #1c2d42);
}

.page-guide .guide-card__body p:last-child {
    margin-bottom: 0;
}

.page-guide .guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.page-guide .guide-table th,
.page-guide .guide-table td {
    padding: 12px 14px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--home-border, #e2e6ec);
}

.page-guide .guide-table th {
    width: 32%;
    font-weight: 700;
    color: var(--home-muted, #5a6b7d);
    background: #f8f9fb;
}

.page-guide .guide-table tr:last-child th,
.page-guide .guide-table tr:last-child td {
    border-bottom: none;
}

.page-guide .guide-table a {
    color: var(--home-accent, #b50400);
    word-break: break-all;
}

.page-guide .guide-table a:hover,
.page-guide .guide-table a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.page-guide .guide-cta {
    text-align: center;
    padding-top: 8px;
}

@media (max-width: 599px) {
    .page-guide .guide-table th,
    .page-guide .guide-table td {
        display: block;
        width: 100%;
    }

    .page-guide .guide-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .page-guide .guide-table td {
        padding-top: 0;
        padding-bottom: 16px;
    }
}
