.custom-about-page-content {
    height: 100%;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* ---------------------------------------------------------------------　*/
/* ヒーローセクション　*/
.custom-about-hero {
    padding: 2.5rem 0 2.5rem;
}

.custom-about-hero-inner {
    display: grid;
    align-items: center;
    gap: 1.25rem;
}

.custom-about-eyebrow {
    display: inline-block;
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    color: #E9528E;
    border-bottom: 3px dotted #E9528E;
    padding-bottom: 0.35rem;
}

/* メインタイトル　*/
.custom-about-hero-title {
    margin: 0 0 1.25rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #535353;
}

.custom-about-hero-title-accent {
    color: #E9528E;
}

/* メインテキスト　*/
.custom-about-hero-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #535353;
}

.custom-about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.custom-about-primary-button,
.custom-about-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.custom-about-primary-button {
    background: #E9528E;
    color: #ffffff;
}

.custom-about-secondary-button {
    background: #ffffff;
    color: #E9528E;
    border: 1px solid #E9528E;
}

.custom-about-primary-button:hover,
.custom-about-secondary-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

/* スマホUI　*/
.custom-about-hero-visual {
    position: relative;
    width: 100%;
    max-width: 28rem;
    min-height: 26rem;
    margin: 0 auto;
}

.custom-about-phone {
    position: absolute;
    width: 12rem;
    height: 23rem;
    border-radius: 2rem;
    background: #ffffff;
    border: 6px solid #111111;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.custom-about-phone-left {
    left: 1.25rem;
    bottom: 1rem;
    transform: rotate(-6deg);
}

.custom-about-phone-right {
    right: 1.25rem;
    top: 1.25rem;
    transform: rotate(5deg);
}

.custom-about-phone-header {
    width: 42%;
    height: 1rem;
    background: #111111;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    margin: 0 auto;
}

.custom-about-phone-body {
    padding: 1rem 0.875rem 1.125rem;
}

/* ---------------------------------------------------------------------　*/
/* キャスコレのここがすごい!　*/

.custom-about-section {
    background: #F5F5F5;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

#custom-about-features {
    background: #F5F5F5;
}

.custom-about-section-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
    color: #535353;
    margin-bottom: 1.75rem;
}

.custom-about-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.custom-about-feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 14px 40px rgba(18, 62, 71, 0.08);
}

.custom-about-feature-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #F3E7FD;
    color: #E9528E;
    font-size: 0.75rem;
    margin-bottom: 0.625rem;
}

.custom-about-feature-title {
    margin: 0 0 0.625rem;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 800;
    color: #535353;
}

.custom-about-feature-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
    color: #535353;
}

/* ---------------------------------------------------------------------　*/
/* チャットを有料にしている理由　*/

#custom-about-paid-chat {
    background: #fff;
}

.custom-about-paid-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.custom-about-paid-card {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: 28px;
    background: #F5F5F5;
}

.custom-about-paid-card-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.custom-about-paid-card-copy {
    min-width: 0;
}

.custom-about-paid-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    height: 2.25rem;
    padding: 0 1rem;
    border-radius: 16px;
    background: #E9528E;
    color: #ffffff;
    font-size: 0.875rem;
}

.custom-about-paid-title {
    margin: 0 0 0.625rem;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 800;
    color: #535353;
}

.custom-about-paid-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #535353;
}

.custom-about-paid-message-card {
    position: relative;
    margin-top: 2.5rem;
    padding: 0;
    border-radius: 24px;
    border: 1px solid #e8eef4;
    box-shadow: 0 14px 36px rgba(32, 44, 70, 0.06);
    overflow: hidden;
    padding: 1.25rem;
}

.custom-about-paid-summary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.7rem;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #7D40A0;
    color: #7D40A0;
    font-size: 0.875rem;
}

.custom-about-paid-summary-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #535353;
}

/* ---------------------------------------------------------------------　*/
/* CTA　*/

.custom-about-cta-eyebrow {
    display: inline-block;
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    color: #ffffff;
    border-bottom: 3px dotted #ffffff;
    padding-bottom: 0.35rem;
}

.custom-about-cta {
    position: relative;
    margin-inline: calc(50% - 50vw);
    padding: 0;
    border-radius: 0;
    background: #EC8DB3;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    box-shadow: none;
}

.custom-about-cta::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 140%;
    height: 18rem;
    transform: translateX(-50%);
    background: #fff;
    border-bottom-left-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;
}

.custom-about-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 3.5rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.custom-about-cta-visual {
    position: relative;
    width: 100%;
    max-width: 21rem;
    min-height: 24rem;
    margin: 0 auto;
}

.custom-about-cta-phone {
    position: absolute;
    width: 11.75rem;
    height: 23.5rem;
    background: #ffffff;
    border: 4px solid #111111;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.custom-about-cta-phone-front {
    left: 0;
    bottom: 0;
    z-index: 2;
}

.custom-about-cta-phone-back {
    right: 0;
    top: 0;
    z-index: 1;
}

.custom-about-cta-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    width: 42%;
    height: 0.95rem;
    transform: translateX(-50%);
    background: #111111;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    z-index: 2;
}

.custom-about-cta-phone-screen {
    position: relative;
    height: 100%;
    padding: 1.15rem 0.8rem 0.9rem;
    box-sizing: border-box;
    background: #ffffff;
}

.custom-about-cta-badge {
    position: absolute;
    left: -0.3rem;
    bottom: -0.2rem;
    z-index: 3;
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 1.25rem;
    background: #E9528E;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.custom-about-cta-content {
    text-align: center;
    max-width: 30rem;
    margin: 0 auto;
    align-self: start;
    padding-top: 1rem;
}

.custom-about-cta-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 800;
    color: #E9528E;
}

.custom-about-cta-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
}

.custom-about-cta-actions {
    margin-top: 2rem;
}

.custom-about-cta-button {
    min-width: 17rem;
    min-height: 3rem;
    padding: 0 2rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;   
    background: #E9528E;
    color: #ffffff; 
}

.custom-about-cta-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

@media (min-width: 768px) {

    .custom-about-hero-text {
        line-height: 1.9;
    }

    .custom-about-hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .custom-about-paid-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-about-cta-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
        max-width: 800px;
    }

    .custom-about-cta-visual {
        max-width: 26rem;
        min-height: 28rem;
        margin: 0;
    }

    .custom-about-cta-phone {
        width: 13rem;
        height: 26rem;
    }

    .custom-about-cta-phone-front {
        left: 2rem;
        bottom: 0.8rem;
    }

    .custom-about-cta-phone-back {
        right: 2rem;
        top: 0;
    }

    .custom-about-cta-badge {
        left: 0;
        bottom: 0.7rem;
    }

}