.cmp-point-up-conditions {
    width: 100%;
    padding-top: 32px;
    padding-bottom: 32px;
    background: #FFF5CC;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cmp-conditions-wrapper {
    width: 90%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.cmp-required-conditions-card {
    width: 100%;
    background: #FFF;
    border-radius: 10px;
    overflow: hidden;
}

.cmp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #EBEBEB;
}

.cmp-card-header__title {
    font-size: var(--font-M);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.cmp-card-header__requirement {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.cmp-card-header__rate {
    font-size: 20px;
    font-weight: 700;
}

.cmp-rate-num,
.cmp-times-num {
    color: #BF0000;
}

.cmp-card-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
    justify-content: space-between;
}

.cmp-app-requirement {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    align-items: baseline;
}

.cmp-app-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmp-point-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.cmp-app-icon {
    width: 20px;
    height: 20px;
}

.cmp-app-title {
    font-size: var(--font-SS);
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    margin-bottom: 0;
}

.cmp-detail-link {
    font-size: var(--font-SSS);
    font-weight: 400;
    color: #006497;
    text-decoration: underline;
}

.cmp-point-description {
    flex: 1;
    font-size: var(--font-SS);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.cmp-info-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-SS);
    color: #006497;
    text-decoration: none;
    margin-bottom: 0;
}

.cmp-info-link svg {
    width: 16px;
    height: 16px;
}

.cmp-point-info {
    display: flex;
    align-items: center;
    margin-bottom: 9px;
}

.cmp-plus-icon {
    width: 35px;
    height: 35px;
    border-radius: 40px;
    border: 1px solid #D1D1D1;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    font-weight: 700;
    color: #4D4D4D;
}

.cmp-requirement-text {
    font-size: 14px;
    font-weight: 700;
}

.cmp-requirement-times {
    font-size: 16px;
    font-weight: 700;
}

.cmp-services-table-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cmp-services-table {
    width: 100%;
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}

.cmp-service-grid {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    table-layout: fixed;
}

.cmp-service-grid thead th {
    background: #D1D1D1;
    color: #686868;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    padding: 0;
    text-align: center;
    border-right: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
    position: sticky;
    top: 0;
    z-index: 5;
}

.cmp-service-grid thead th:last-child {
    border-right: none;
}

.cmp-service-grid thead th.cmp-col-service,
.cmp-campaign-header-row th.cmp-col-service {
    background-color: #ebebeb;
    z-index: 10;
    left: 0;
    position: sticky;
}

.cmp-col-service-inner {
    padding: 12px 8px;
    background-color: inherit;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    left: 0;
    box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.cmp-service-grid tbody td {
    border-right: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
    background: #FFF;
    vertical-align: middle;
    min-height: 80px;
    font-feature-settings: "palt";
}

.cmp-service-grid tbody td:last-child {
    border-right: none;
}

.cmp-col-service {
    width: 80px;
    min-width: 0px;
}

.cmp-col-condition {
    width: 110px;
    min-width: 160px;
}

.cmp-col-timing {
    width: 130px;
    min-width: 160px;
}

.cmp-col-grant {
    width: 100px;
    min-width: 160px;
}

.cmp-col-limit {
    width: 100px;
    min-width: 100px;
}

.cmp-service-cell {
    background: #FFF;
    z-index: 3;
    left: 0;
    position: sticky;
    padding: 0;
}

.cmp-service-cell-inner {
    text-align: center;
    padding: 15px 0;
    background-color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    left: 0;
    box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.cmp-service-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.cmp-service-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cmp-service-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.cmp-badge {
    display: inline-block;
    padding: 2px 3px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}

.cmp-badge-red {
    background: #FFD3D3;
}

.cmp-badge-orange-light {
    background: #FFDBA3;
}

.cmp-badge-orange-pale {
    background: #FFEFD6;
}

.cmp-badge-orange-dark {
    background: #FFB238;
}

.cmp-badge-orange-darker {
    background: #F59600;
}

.cmp-badge-blue-pale {
    background: #DCF3FF;
}

.cmp-link-blue {
    font-size: var(--font-SSS);
    font-weight: 400;
    color: #006497;
    text-decoration: underline;
}

.cmp-entry-required {
    font-size: 13px;
    font-weight: 400;
    color: #063680;
    text-align: center;
}

.cmp-condition-cell {
    text-align: left;
}

.cmp-condition-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

.cmp-rate-display {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}

.cmp-rate-num {
    font-size: 17px;
    font-weight: 900;
    color: #BF0000;
}

.cmp-rate-num-large {
    font-size: 17px;
    font-weight: 900;
    color: #BF0000;
}

.cmp-condition-cell,
.cmp-timing-cell,
.cmp-grant-cell,
.cmp-limit-cell {
    padding: 0.5rem;
}

.cmp-timing-cell {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.cmp-grant-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
}

.cmp-limit-cell {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
}

.cmp-note {
    display: block;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
}

.cmp-campaign-header-row th {
    background: #D1D1D1;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 700;
    color: #686868;
    text-align: center;
    border-right: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
    position: sticky;
    top: 0;
    z-index: 5;
}

.cmp-campaign-header-row th.cmp-col-condition {
    width: 160px;
    min-width: 160px;
}

.cmp-campaign-header-row th.cmp-col-timing {
    width: 160px;
    min-width: 160px;
}

.cmp-campaign-header-row th.cmp-col-grant {
    width: 160px;
    min-width: 160px;
}

.cmp-campaign-header-row th.cmp-col-limit {
    width: 100px;
    min-width: 100px;
    border-right: none;
}

.cmp-conditions-notes {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
}

.cmp-conditions-notes p {
    font-size: var(--font-caution);
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
    margin: 0;
}

@media (min-width: 768px) {
    .cmp-conditions-wrapper {
        gap: 24px;
    }

    .cmp-app-header {
        gap: 1rem;
    }

    .cmp-app-title {
        font-size: var(--font-S);
    }

    .cmp-link-blue,
    .cmp-detail-link {
        font-size: var(--font-SSS);
    }

    .cmp-card-body {
        padding: 16px 40px 16px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .cmp-required-conditions-card>.cmp-card-body {
        flex-direction: column;
    }
}