/**  26/0507追記_国島 円グラフの追加 **/
#age-pie-section {
    background: linear-gradient(160deg, #fff0f9 0%, #f5edff 100%);
    padding: 52px 20px 44px;
    text-align: center;
    font-family: inherit;
    box-sizing: border-box;
}
#age-pie-section-lp {
    padding: 0;
    text-align: center;
    font-family: inherit;
    margin-top: -.9rem;
    margin-bottom: -1rem;
}


.agp-inner {
    max-width: 480px;
    margin: 0 auto;
}
.agp-inner-lp {
    max-width: 480px;
    margin: -3rem auto -1rem;
}

.agp-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 4px 18px;
    border-radius: 99px;
    margin-bottom: 16px;
}

.agp-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0 0 10px;
}
.agp-title-lp {
    padding-right: 2rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.7;
    margin: 0 0 10px;
    background-color: #1f1f1f;
    border-radius: 1rem;
    display: inline-block;
    padding-left: 2rem;
}
.agp-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.8;
    margin: 0 0 28px;
}
.agp-desc-lp {
    font-size: 13px;
    color: #1f1f1f;
    line-height: 1.8;
    margin: 0 0 28px;
}

/* チャートカード */
.agp-chart-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px 28px;
    box-shadow: 0 6px 28px rgba(168, 85, 247, 0.12);
}
.agp-chart-wrap-lp {
    /* background: #fff; */
    border-radius: 20px;
    padding: 0 3rem 0;
    position: relative;
    /* box-shadow: 0 6px 28px rgba(168, 85, 247, 0.12); */
}
.agp-chart-wrap-lp::before {
    content: '';
    display: inline-block;
    position: absolute;
    vertical-align: middle;
    background-size: contain;
    background-image: url(/assets/images/lp3-4/lp-graph-hosi01.webp);
    width: 4rem;
    height: 4rem;
    background-repeat: no-repeat;
    left: 3rem;
    top: 0rem;
}
.agp-chart-wrap-lp::after {
    content: '';
    display: inline-block;
    position: absolute;
    vertical-align: middle;
    background-size: contain;
    background-image: url(/assets/images/lp3-4/lp-graph-hosi02.webp);
    width: 4rem;
    height: 4rem;
    background-repeat: no-repeat;
    right: 3rem;
    top: 0rem;
}
/* ドーナツグラフ本体 */
.agp-donut {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(#fda4af 0deg 50.4deg,
            /* 10代: 14% */
            #f472b6 50.4deg 244.8deg,
            /* 20代: 54% */
            #c084fc 244.8deg 331.2deg,
            /* 30代: 24% */
            #a78bfa 331.2deg 360deg
            /* 40代:  8% */
        );
    position: relative;
    margin: 0 auto 28px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.agp-donut.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ドーナツの穴 */
.agp-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
}

.agp-hole-label {
    font-size: 11px;
    color: #bbb;
    font-weight: bold;
    line-height: 1.4;
}
.agp-hole-label-lp {
    font-size: 1.4rem;
    color: #1f1f1f;
    font-weight: bold;
    line-height: 1.4;
}

/* 凡例 */
.background-graph-a{
    background-color:#fda4af;
}
.background-graph-b{
    background-color:#f472b6;
}
.background-graph-c{
    background-color:#c084fc;
}
.background-graph-d{
    background-color:#a78bfa;
}
.agp-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    text-align: left;
}

.agp-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.agp-legend-item-lp {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #1f1f1f;
}

.agp-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}

.agp-legend-label {
    font-size: 13px;
    color: #555;
    font-weight: bold;
    flex: 1;
}
.agp-legend-label-lp {
    font-size: 13px;
    color: #1f1f1f;
    font-weight: bold;
    flex: 1;
}

.agp-legend-pct {
    font-size: 13px;
    color: #888;
    font-weight: bold;
}

.agp-legend-pct-lp {
    font-size: 13px;
    color: #1f1f1f;
    font-weight: bold;
}

.agp-note {
    font-size: 11px;
    color: #ccc;
    margin-top: 14px;
    margin-bottom: 0;
}
.agp-note-lp {
    font-size: 11px;
    color: #1f1f1f;
    margin-top: 14px;
    margin-bottom: 0;
}
