/* ==========================================================================
   Base
   ========================================================================== */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--color-white);
    color: var(--color-text);
    overflow-x: hidden;
}

/* LINE Seed JP — bold/black variants */
.sectionFlowTtlText,
.flowCardBadgeText,
.flowCardTitle,
.flowPlusText,
.sectionPgAnker,
.pgCateText,
.pgCardName,
.pgCardBadge,
.pgCardReward,
.btnAreaLabel,
.btnAreaBtn,
.qaItemQuestion {
    font-family: var(--font-family-bold);
}

.qaItemQLabel {
    font-family: var(--font-family-black);
}

h2 {
    font-family: var(--font-family-bold);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    text-align: center;
}

.btn {
    background-color: var(--color-accent);
    display: flex;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    height: 48px;
    border-radius: var(--border-radius-btn);
    box-shadow: var(--shadow-btn);
    width: 100%;
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    text-align: center;
    letter-spacing: 0.9px;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: var(--color-white);
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 0;
    }

    &>* {
        position: relative;
        z-index: 1;
    }

    &:hover::before {
        transform: translateX(0);
    }
}

.link {
    color: var(--color-white);

    &:hover {
        text-decoration: underline;
    }
}

.linkExternal {
    &::after {
        content: '';
        display: inline-block;
        width: 1em;
        height: 1em;
        background: url('../images/icon-linkexternal.svg') no-repeat center / contain;
        vertical-align: middle;
        margin-left: 4px;
    }
}

@media (max-width: 767px) {
    .onlyPc {
        display: none;
    }
}

/* ==========================================================================
nav
========================================================================== */
nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
    z-index: 100;
    padding-left: 0;

    .logo {
        display: block;
        background-color: var(--color-white);
        border-radius: 0 0 20px 0;
        padding: 10px;

        img {
            width: 140px;
            height: auto;

            @media (max-width: 767px) {
                width: 100px;
            }
        }
    }

    ul {
        display: flex;
        align-items: center;
        gap: var(--space-lg);

        a {
            white-space: nowrap;
            color: var(--color-white);
        }

        .navMenuItem a:not(.btn) {
            &:hover {
                text-decoration: underline;
            }
        }
    }

    .btn {
        height: 48px;
    }
}

/* nav — ハンバーガーボタン・矢印アイコン（PC では非表示） */
.navHamburger,
.navMenuArrow {
    display: none;
}

/* nav — スマホ */
@media (max-width: 767px) {
    nav {
        flex-wrap: wrap;
        align-items: center;
        z-index: 100;
    }

    /* ロゴ・ハンバーガーをドロワーより前面に */
    nav .logo,
    .navHamburger {
        position: relative;
        z-index: 102;
    }

    /* 背景スクリム */
    nav::before {
        content: '';
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    nav.isOpen::before {
        opacity: 1;
        visibility: visible;
    }

    /* ドロワー本体 */
    nav ul {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 70%;
        height: 100dvh;
        background-color: var(--color-navOverlay);
        padding-top: 72px;
        gap: 0;
        z-index: 101;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        visibility: hidden;
    }

    nav.isOpen ul {
        transform: translateX(0);
        visibility: visible;
    }

    /* ドロワー内のリンク */
    .navMenuItem {
        width: 100%;
        border-bottom: 1px solid #bbb;
    }

    .navMenuItem:first-child {
        border-top: 1px solid #bbb;
    }

    .navMenuLink {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: var(--space-md) var(--space-lg);
        color: var(--color-text);
        font-size: var(--font-size-base);
        font-family: var(--font-family-bold);

        &:hover {
            background-color: var(--color-bgMuted);
        }
    }

    .navMenuArrow {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .navMenuItemBtn {
        width: 100%;
        padding: var(--space-lg) var(--space-md) var(--space-md);
    }

    nav .btn {
        width: 100%;
        height: 48px;
        color: var(--color-white);

        &:hover {
            color: var(--color-accent);
        }
    }

    .navHamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background-color: var(--color-white);
        border: none;
        border-radius: var(--border-radius-badge);
        cursor: pointer;
        padding: 12px;
        box-shadow: 0 2px 8px rgba(11, 133, 255, 0.25);
    }

    .navHamburgerLine {
        display: block;
        width: 22px;
        height: 2px;
        background-color: var(--color-brand);
        transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    }

    nav.isOpen .navHamburgerLine {
        background-color: var(--color-brand);
    }

    nav.isOpen .navHamburgerLine:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    nav.isOpen .navHamburgerLine:nth-child(2) {
        opacity: 0;
    }

    nav.isOpen .navHamburgerLine:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ==========================================================================
sectionMain
========================================================================== */
.sectionMain {
    background-color: var(--color-brand);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='35,0 65,0 100,100 0,100' fill='%230b85ff'/%3E%3C/svg%3E"),
        url('../images/bg.webp');
    background-size: 100% 50%, cover;
    background-position: center bottom, center top;
    background-repeat: no-repeat, no-repeat;
    padding: 100px var(--space-md) var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    width: 100%;
    position: relative;
}

.sectionMainTtl {
    position: relative;
    z-index: 1;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;

    .main-0 {
        position: relative;
        width: 100%;
        max-width: 800px;
        text-align: center;
        margin: 0 auto;
        z-index: 2;
    }

    .main-1 {
        position: absolute;
        left: -15%;
        top: -5%;
        z-index: 1;
        max-width: 400px;
    }

    .main-2 {
        position: absolute;
        right: -10%;
        top: 48%;
        z-index: 1;
    }

    .money-1 {
        position: absolute;
        right: 0%;
        top: 5%;
        z-index: 1;

        @media (max-width: 767px) {
            width: 37px;
            right: 0%;
            top: -5%;
        }
    }

    .money-2 {
        position: absolute;
        left: 0%;
        top: 86%;
        z-index: 1;
        transform: rotate(-45deg);

        @media (max-width: 767px) {
            width: 46px;
            top: 90%;
        }
    }

    .spark-1 {
        position: absolute;
        right: -13%;
        top: 38%;
        z-index: 1;
        width: 90px;

        @media (max-width: 767px) {
            width: 40px;
            right: -5%;
            top: 30%;
        }
    }

    .spark-2 {
        position: absolute;
        left: 8%;
        top: -5%;
        z-index: 1;
        width: 70px;
        transform: rotate(65deg);

        @media (max-width: 767px) {
            width: 35px;
            left: 9%;
            top: -18%;
        }
    }
}

.mainLead {
    position: relative;
    z-index: 1;
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    color: var(--color-white);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: var(--font-weight-medium);
    line-height: 2;

    h2 {
        span {
            font-size: clamp(24px, 3vw, 40px);
        }
    }

    .main-3 {
        position: absolute;
        left: -40%;
        top: 60%;
        z-index: 1;
    }

    .money-3 {
        position: absolute;
        right: -30%;
        top: 61%;
        z-index: 1;
    }

    .money-4 {
        position: absolute;
        right: -10%;
        bottom: -80%;
        z-index: 1;
        transform: rotate(-35deg);
        width: 80px;

        @media (max-width: 767px) {
            width: 44px;
            right: 0%;
            bottom: -53%;
        }
    }

    .spark-3 {
        position: absolute;
        right: -33%;
        bottom: -40%;
        z-index: 1;
        width: 70px;
        transform: rotate(65deg);
    }

    .spark-4 {
        position: absolute;
        left: -40%;
        top: 35%;
        z-index: 1;
        width: 70px;
        transform: rotate(65deg);
    }
}

.mainCta {
    position: relative;
    z-index: 1;
    text-align: center;

    .btnAreaBtn {
        max-width: 340px;
        margin: 0 auto;
    }

    .link {
        display: inline-block;
        margin: var(--space-md) auto var(--space-md);
        text-align: center;
        font-size: var(--font-size-base);
        font-weight: var(--font-weight-normal);
        text-decoration: underline;

        &:hover {
            text-decoration: none;
        }
    }
}

@media (max-width: 1023px) {
    .sectionMainTtl {
        .main-0 {
            width: 90%;
        }

        .main-1 {
            top: -12%;
            left: -15%;
        }

        .main-2 {
            right: -8%;
            max-width: 240px;
        }
    }
}

@media (max-width: 767px) {
    .sectionMain {
        background-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='45,0 55,0 100,100 0,100' fill='%230b85ff'/%3E%3C/svg%3E"),
            url('../images/bg.webp');
        background-size: 156% 70%, cover;
        background-position: center bottom, center top -165px;
    }

    .sectionMainTtl {
        .main-1 {
            top: -12%;
            left: -20%;
            max-width: 300px;
        }

        .main-2 {
            right: -15%;
            max-width: 180px;
        }
    }

    .main-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .sectionMainTtl {
        .main-1 {
            top: -25%;
            left: -21%;
            max-width: 200px;
        }

        .main-2 {
            right: -12%;
            max-width: 130px;
        }
    }

    .mainLead {
        font-weight: var(--font-weight-regular);
        line-height: 1.6;
    }
}

/* ==========================================================================
sectionFlow
========================================================================== */

.sectionFlow {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl) var(--space-md);
    width: 100%;
}

.sectionFlowTtl {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.flow {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    row-gap: var(--space-md);
    align-items: center;
    justify-content: center;
    width: 100%;
}

.flowGroup {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

/* flowCard */
.flowCard {
    background-color: var(--color-bgMuted);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
    border-radius: var(--border-radius-card);
    width: var(--size-flowCardWidth);
    flex-shrink: 0;
}

.flowCardBadge {
    background-color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-md) var(--space-sm);
    border-radius: 0 0 100px 100px;
    flex-shrink: 0;
}

.flowCardBadgeText {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
    font-feature-settings: "palt";
}

.flowCardBody {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
    width: 100%;
    height: 244px;
}

.flowCardTitle {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-flowCard);
    color: var(--color-text);
    text-align: center;
    width: 100%;
    font-feature-settings: "palt";

    span {
        color: var(--color-gray);
        font-size: var(--font-size-xs);
    }
}

.flowCardIllust {
    position: relative;
    height: 140px;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius-card) var(--border-radius-card);
    width: 100%;
    flex-shrink: 0;
}

.flowCardIllustImg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    max-height: 140px;
}

/* flowPlus */
.flowPlus {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flowPlusText {
    font-size: var(--font-size-flowPlus);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-flowPlus);
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
}

.flowPlusIcon {
    width: var(--size-flowPlusIcon);
    height: var(--size-flowPlusIcon);
}

.flowCaution {
    color: var(--color-gray);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    text-indent: -13px;
    padding-left: 12px;
}

/* sectionFlow — Responsive */
@media (max-width: 1023px) {
    .flow {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .flowGroup {
        flex-wrap: wrap;
        justify-content: center;
    }

    .flowCard {
        min-width: 160px;
    }

    .flowPlus {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .flowCard {
        width: calc(50% - var(--space-sm));
        gap: var(--space-sm);
        min-width: 160px;
    }

    .flowCardBody {
        padding: 0 var(--space-sm);
        height: 180px;
        overflow: hidden;
    }

    .flowCardTitle {
        font-size: var(--font-size-sm);
    }

    .flowCardIllust {
        height: 100px;
    }

    .flowCardIllustImg {
        max-height: 100px;
    }
}


/* ==========================================================================
sectionRecommend
========================================================================== */

.sectionRecommend {
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md) 0;
    width: 100%;
}

.sectionRecommend>div {
    display: flex;
}

.recommend {
    display: flex;
    gap: var(--space-md);
    align-items: flex-end;
    max-width: var(--size-recommendMaxWidth);
    width: 100%;
}

.recommendImg {
    max-width: 200px;
}

/* content */
.recommendContent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding-bottom: 40px;
}

.recommendTtl {
    text-align: left;
    font-size: clamp(18px, 2.5vw, 22px);
}

.recommendList {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    width: 100%;
}

.recommendItem {
    border: var(--border-width-circle) solid var(--color-bgMuted);
    border-radius: var(--border-radius-circle);
    width: var(--size-circle);
    height: var(--size-circle);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommendItemText {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-circle);
    color: var(--color-text);
    text-align: center;
    font-feature-settings: "palt";
}

/* sectionRecommend  Responsive */
@media (max-width: 1023px) {
    .recommendTtl {
        text-align: center;
    }

    .sectionRecommend>div {
        flex-direction: column-reverse;
        align-items: center;
        gap: 0;
    }

    .recommendContent {
        padding-bottom: 0;
    }

    .recommendList {
        gap: var(--space-md);
    }
}

@media (max-width: 767px) {
    .recommend {
        flex-direction: column;
        align-items: center;
    }

    .recommendImg {
        width: 120px;
        height: auto;
    }

    .recommendList {
        flex-wrap: wrap;
        justify-content: center;
    }

    .recommendItem {
        width: 140px;
        height: 140px;
        box-sizing: content-box;
    }

    .recommendItemText {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }
}


/* ==========================================================================
sectionPrograms
========================================================================== */
.sectionPrograms {
    background-color: var(--color-brand);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    align-items: center;
    padding: 56px var(--space-md);
    width: 100%;
    border-radius: 100px 100px 0 0;
}

/* sectionPgTtl */
.sectionPgTtl {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
    color: var(--color-white);

    p {
        line-height: 22px;
    }
}

/* sectionPgAnker */
.sectionPgAnker {
    display: flex;
    gap: 2px;
    border-radius: var(--border-radius-badge);
    overflow: hidden;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

.sectionPgAnker li a {
    display: flex;
    background-color: var(--color-white);
    justify-content: space-between;
    gap: var(--space-md);
    padding: 16px;
    min-width: 200px;
    align-items: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.4;
}

.sectionPgAnker li a:hover {
    background-color: var(--color-badgeBg);
    color: var(--color-white);
}


/* pgWrap */
.pgWrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    width: 100%;
    max-width: 1280px;
}

/* pgCate */
.pgCate {
    align-items: center;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    color: var(--color-white);
    white-space: nowrap;
}

/* pgList */
.pgList {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

/* pgCard */
.pgCard {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    width: var(--size-cardWidth);
    flex-shrink: 0;
}

.pgCardTop {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-md);
    width: 100%;
}

.pgCardName {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    color: var(--color-text);
    text-align: center;
    width: 100%;
}

.pgCardImgWrap {
    border: 1px solid var(--color-borderGray);
    flex-shrink: 0;
}

.pgCardImg {
    width: var(--size-cardImgWidth);
    height: var(--size-cardImgHeight);
    object-fit: cover;
}

.pgCardBottom {
    background-color: var(--color-bgYellow);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: var(--space-md);
    min-height: var(--size-cardBottomHeight);
    width: 100%;
    height: 100%;
}

.pgCardBadge {
    background-color: var(--color-badgeBg);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    padding: var(--space-xxs) var(--space-xs);
    border-radius: var(--border-radius-badge);
    white-space: nowrap;
    flex-shrink: 0;
}

.pgCardReward {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-reward);
    color: var(--color-textPink);
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

.pgCardReward.isOpen {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

/* アコーディオン対象カードは max-height でアニメーション制御 */
.jsPgCardReward {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.jsPgCardReward.isOpen {
    overflow: hidden;
}

.pgCardRewardMore {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
    font-size: var(--font-size-sm);
    color: var(--color-textPink);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.pgCardRewardMore span {
    text-decoration: underline;
}

.pgCardRewardMore::before {
    content: '+';
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    display: inline-block;
}

.pgCardRewardMore[aria-expanded="true"]::before {
    content: '−';
}

/* btnArea */
.btnArea {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    width: 100%;
    max-width: var(--size-btnMaxWidth);

    .link {
        text-decoration: underline;

        &:hover {
            text-decoration: none;
        }
    }
}

.btnAreaTextWrap {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

.btnAreaLabel {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.7px;
}

.btnAreaLabel strong {
    font-size: var(--font-size-lg);
}

.btnAreaBtn {
    background-color: var(--color-accent);
    display: flex;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    height: var(--size-btnHeight);
    border-radius: var(--border-radius-btn);
    box-shadow: var(--shadow-btn);
    width: 100%;
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    text-align: center;
    letter-spacing: 0.9px;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: var(--color-white);
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 0;
    }

    &>* {
        position: relative;
        z-index: 1;
    }

    &:hover {
        color: var(--color-accent);
    }

    &:hover::before {
        transform: translateX(0);
    }
}

.btnAreaBtnText {
    display: flex;
    align-items: baseline;
    line-height: 1.3;
}

.btnAreaBtnSmall {
    font-size: var(--font-size-base);
    letter-spacing: 0.8px;
}

.btnAreaBtnLarge {
    font-size: var(--font-size-xl);
    letter-spacing: 1.1px;
}

.btnAreaArrow {
    width: var(--size-icon);
    height: var(--size-icon);
    flex-shrink: 0;
}

.btnAreaBtn:hover .btnAreaArrow {
    content: url('../images/icon-allow-pink.svg');
}

/* pgPrivateNote */
.pgPrivateNote {
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    width: 100%;
    max-width: 600px;
    text-align: center;
    border-radius: var(--border-radius-card);
    padding: var(--space-md);
    color: var(--color-white);
}

.pgPrivateNoteText {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-base);
}

.pgPrivateNoteBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background-color: #0146bc;
    border-radius: var(--border-radius-btn);
    box-shadow: var(--shadow-btn);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bold);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: var(--color-white);
        transform: translateX(-105%);
        transition: transform 0.4s ease;
        z-index: 0;
    }

    &>* {
        position: relative;
        z-index: 1;
    }

    &:hover {
        color: #0146bc;
    }

    &:hover::before {
        transform: translateX(0);
    }
}

/* sectionPrograms — Responsive */
@media (max-width: 1023px) {
    .pgCard {
        width: calc(33.333% - var(--space-lg));
    }
}

@media (max-width: 767px) {
    .sectionPrograms {
        border-radius: 30px 30px 0 0;
    }

    .sectionPgAnker {
        width: 100%;
        flex-wrap: wrap;

        li {
            width: calc(50% - 2px);

            a {
                min-width: inherit;
                font-size: var(--font-size-sm);
                height: 100%;
                padding: 16px 8px;

                img {
                    max-width: 16px;
                    height: auto;
                }
            }
        }

        li:nth-child(odd):last-child {
            border-radius: 0 0 var(--border-radius-badge) 0;
            overflow: hidden;
        }
    }

    .pgList {
        gap: var(--space-md);
    }

    .pgCard {
        width: calc(50% - var(--space-sm));
    }

    .pgCardName {
        br {
            display: none;
        }
    }

    .pgCardImg {
        width: 100px;
        height: auto;
    }

    .btnAreaBtn {
        position: relative;
        height: auto;
        padding: var(--space-md);
        justify-content: flex-end;
    }

    .btnAreaBtnText {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .btnAreaBtnLarge {
        font-size: var(--font-size-base);
    }

    .btnAreaBtnSmall {
        font-size: var(--font-size-sm);
        font-weight: 400;
    }

    .pgPrivateNote {
        text-align: left;
    }
}


/* ==========================================================================
sectionQa
========================================================================== */

.sectionQa {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl) var(--space-md) var(--space-md);
    width: 100%;
}

/* sectionQaTtl */
.sectionQaTtl {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

    h2 {
        color: var(--color-text);
    }
}

/* qaWrap */
.qaWrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    max-width: var(--size-qaMaxWidth);
}

/* qaItem */
.qaItem {
    background-color: var(--color-white);
    border: var(--border-width-qa) solid var(--color-bgMuted);
    border-radius: var(--border-radius-card);
    width: 100%;
    overflow: hidden;
}

.qaItemDt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    cursor: pointer;
    gap: var(--space-sm);
    width: 100%;
}

.qaItemDtInner {
    display: flex;
    flex: 1 0 0;
    gap: var(--space-md);
    align-items: center;
    min-width: 0;
}

.qaItemQLabel {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    line-height: var(--line-height-base);
    color: var(--color-brand);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    transform: translateY(-2px);
}

.qaItemQuestion {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-base);
    color: var(--color-text);
}

.qaItemChevron {
    flex-shrink: 0;
    width: var(--size-icon);
    height: var(--size-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.qaItemChevron img {
    width: var(--size-icon);
    height: var(--size-icon);
}

.qaItem.isOpen .qaItemChevron {
    transform: scaleY(-1);
}

.qaItemDd {
    overflow: hidden;
    max-height: 0;
    padding: 0 var(--space-lg);
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.qaItem.isOpen .qaItemDd {
    max-height: 400px;
    padding: 0 var(--space-lg) var(--space-lg);
}

.qaItemAnswer {
    padding-top: var(--space-md);
    border-top: 2px dashed var(--color-borderDash);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-base);
    color: var(--color-black);
}

/* sectionQaNote */
.sectionQaNote {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-base);
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
}

/* appArea */
.appArea {
    padding-top: var(--space-xl);
    text-align: center;
}

.appWrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-xl);
    margin: 0 auto;
}

.appItem {
    text-align: center;
}

.appTitle {
    margin: 0 0 var(--space-md);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-base);
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
}

.appItem:not(.appLine) {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: var(--space-lg);
    justify-content: center;
}

.appItem:not(.appLine) .appTitle {
    grid-column: 1 / -1;
}

.appLine {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.appLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    transition: opacity 0.3s ease;
}

.appLink:hover {
    opacity: 0.7;
}

.appLink img {
    display: block;
    width: auto;
    height: var(--size-app);
    object-fit: contain;
    flex-shrink: 0;
}

.appLink .QR {
    width: var(--size-app);
    height: var(--size-app);
    padding: var(--size-dot);
    box-sizing: border-box;
    background: var(--color-black);
    border-radius: var(--border-radius-card);
    object-fit: contain;
}

/* sectionQa — Responsive */
@media (max-width: 1023px) {
    .sectionQaNote {
        white-space: normal;
    }

    .appArea {
        padding-top: 0;
    }

    .appWrap {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

    .appItem:not(.appLine) {
        grid-template-columns: max-content;
        justify-items: center;
    }

    .appItem:not(.appLine) .appTitle {
        grid-column: auto;
        justify-self: center;
        text-align: center;
    }

    .appItem:not(.appLine) .appLink+.appLink {
        margin-top: var(--space-md);
    }
}

@media (max-width: 767px) {
    .qaItemDt {
        padding: var(--space-md);
    }

    .qaItemAnswer {
        margin: -8px;
        margin-top: 0;
    }

    .sectionQaTtlText {
        font-size: var(--font-size-lg);
    }

    .qaItemQLabel {
        font-size: var(--font-size-2xl);
    }

    .qaItemQuestion {
        font-size: var(--font-size-base);
    }

    .sectionQaNote {
        font-size: var(--font-size-sm);
    }

    .appLink {
        gap: 0;
    }

    .appLink img {
        height: var(--size-btnHeight);
    }

    .appLink img.QR {
        display: none;
    }
}