.about-page {
    color: #20252b;
    background: #fff;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-content {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.about-hero {
    padding: 104px 0 112px;
    background: #f8f8f7;
}

.about-hero .about-content {
    max-width: 1120px;
}

.about-eyebrow,
.about-section-heading > span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.about-hero h1 {
    max-width: 1040px;
    margin: 18px 0 20px;
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.18;
    word-break: keep-all;
}

.about-hero p {
    max-width: 760px;
    margin: 0;
    color: #59616c;
    font-size: 18px;
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-guide {
    padding: 108px 0 0;
}

.about-section-heading {
    max-width: 620px;
    margin-bottom: 48px;
}

.about-section-heading h2,
.about-final h2 {
    margin: 15px 0 12px;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.28;
    word-break: keep-all;
}

.about-section-heading p,
.about-final p {
    margin: 0;
    color: #68717d;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-guide-steps {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.about-guide-step {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(360px, 1fr);
    align-items: center;
    gap: clamp(48px, 6vw, 84px);
    padding: 60px max(20px, calc((100vw - 1200px) / 2));
    background: #fff;
}

.about-guide-step:nth-child(even) {
    direction: rtl;
    background: #f7f8f9;
}

.about-guide-step:nth-child(even) > * {
    direction: ltr;
}

.about-guide-step--diary {
    grid-template-columns: minmax(0, 1.56fr) minmax(350px, 0.94fr);
    padding-top: 72px;
    padding-bottom: 72px;
    background: #f1f2f1;
}

.about-step-content {
    width: 100%;
    max-width: 480px;
}

.about-step-content h3 {
    margin: 0 0 12px;
    color: #20252b;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 730;
    letter-spacing: -0.045em;
    line-height: 1.28;
    word-break: keep-all;
}

.about-step-content p {
    margin: 0;
    color: #68717d;
    font-size: 16px;
    line-height: 1.72;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-step-content a {
    display: inline-block;
    margin-top: 24px;
    padding-bottom: 4px;
    border-bottom: 1px solid #20252b;
    color: #20252b;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.about-step-content a:hover {
    color: #6a727c;
}

.about-step-content a:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.28);
    outline-offset: 4px;
}

.about-step-visual {
    position: relative;
    min-width: 0;
}

.about-step-visual--screenshot {
    width: 100%;
}

.about-step-visual--screenshot > img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(32, 37, 43, 0.12);
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 14px 28px rgba(32, 37, 43, 0.1);
}

.about-step-number {
    position: absolute;
    z-index: 2;
    top: -4px;
    left: -2px;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(32, 37, 43, 0.13);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #20252b;
    font-size: 17px;
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(32, 37, 43, 0.08);
}

.about-step-visual--diary-showcase {
    width: 100%;
    max-width: 680px;
    padding: 0 72px 14px 0;
}

.about-diary-page-image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(32, 37, 43, 0.12);
    border-radius: 15px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 18px 34px rgba(32, 37, 43, 0.12);
}

.about-diary-cover-image {
    position: absolute;
    right: 0;
    bottom: -12px;
    width: min(32%, 224px);
    height: auto;
    border: 1px solid rgba(32, 37, 43, 0.16);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 28px rgba(32, 37, 43, 0.16);
    transform: rotate(4deg);
}

.about-guide-step--diary .about-step-number {
    top: -7px;
    left: -5px;
}

.about-final {
    padding: 88px 0 96px;
    background: #20252b;
    color: #fff;
}

.about-final .about-content {
    text-align: center;
}

.about-final h2 {
    margin-top: 0;
}

.about-final p {
    color: #cbd0d6;
}

.about-final-link {
    display: inline-flex;
    margin-top: 30px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.about-final-link:hover {
    color: #d9dde2;
}

.about-final-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 5px;
}

@media (max-width: 860px) {
    .about-content {
        width: min(calc(100% - 32px), 1120px);
    }

    .about-hero {
        padding: 78px 0 84px;
    }

    .about-hero h1 {
        font-size: clamp(34px, 10vw, 44px);
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-guide {
        padding: 76px 0 0;
    }

    .about-section-heading {
        margin-bottom: 34px;
    }

    .about-guide-steps {
        width: 100%;
        margin-left: 0;
    }

    .about-guide-step,
    .about-guide-step:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: 0;
        padding: 52px 16px;
        direction: ltr;
    }

    .about-step-visual--screenshot {
        padding: 0;
    }

    .about-step-number {
        top: -8px;
        left: -3px;
        width: 46px;
        height: 46px;
        font-size: 15px;
    }

    .about-guide-step--diary {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .about-step-visual--diary-showcase {
        min-height: 0;
        max-width: none;
        padding: 0 48px 12px 0;
    }

    .about-diary-cover-image {
        right: -2px;
        bottom: -10px;
        width: min(32%, 180px);
    }

    .about-final {
        padding: 72px 0 76px;
    }
}
