/* Environment page: desktop values first, responsive adjustments below. */

.p-env__benefits-cat-title--orange {
    color: var(--color-orange);
    border-bottom: 3px solid var(--color-orange);
    display: inline-block;
}

.p-env__benefits-cat-title--red {
    color: var(--color-red);
    border-bottom: 3px solid var(--color-red);
    display: inline-block;
}

.p-env__benefits-cat-title--navy {
    color: var(--color-navy);
    border-bottom: 3px solid var(--color-navy);
    display: inline-block;
}

.p-env__catch--orange {
    color: var(--color-orange);
}

.p-env__benefit {
    border-radius: 0;
    box-shadow: 0 16px 36px rgba(21, 62, 117, 0.08);
}

.p-env {
    overflow: hidden;
    background: var(--color-white);
}

.p-env__charm-item::before {
    content: '';
    position: absolute;
    inset: 42px -48px -34px auto;
    width: 52%;
    background: rgba(13, 184, 236, 0.07);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    pointer-events: none;
    display: none;
}

.p-env__charm-item--reverse::before {
    inset: 42px auto -34px -48px;
    display: none;
}

.p-env__charm-item-body {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
    padding: 0;
}

.p-env__charm-item-img {
    overflow: hidden;
    position: relative;
    z-index: 1;
    order: 2;
    width: 100%;
    flex: none;
    clip-path: none;
    border-radius: 0;
    box-shadow: none;
}

.p-env__charm-item--reverse .p-env__charm-item-img {
    order: 2;
    width: 100%;
    flex: none;
    clip-path: none;
    border-radius: 0;
    box-shadow: none;
}

.p-env__benefits-category::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -1px;
    width: 120px;
    height: 120px;
    background: rgba(255, 138, 0, 0.18);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    display: none;
}

.p-env__benefits-category--work {
    color: var(--color-orange);
}

.p-env__benefits-category--allowance {
    color: var(--color-red);
}

.p-env__benefits-category--growth {
    color: var(--color-navy);
}

.p-env__benefits-category--allowance .p-env__benefits-item {
    background: #fff2f4;
}

.p-env__benefits-category--growth .p-env__benefits-item {
    background: #eefbff;
}

.p-env__benefits-icon img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 150px;
    object-fit: contain;
}

.p-env__schedule-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-env__tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 0 auto;
    padding: 200px var(--inner-padding) 60px;
}

.p-env__catch {
    position: relative;
    text-align: center;
    max-width: 1100px;
    padding: 40px 0 105px;
}

.p-env__catch::before {
    content: '';
    position: absolute;
    left: calc(50% - 50vw);
    top: 54px;
    width: 22vw;
    min-width: 240px;
    height: 120px;
    background: var(--color-navy);
    opacity: 0.12;
    clip-path: polygon(0 28%, 100% 0, 78% 100%, 0 100%);
    pointer-events: none;
    display: none;
}

.p-env__catch::after {
    display: none;
}

.p-env__catch-text {
    font-weight: var(--fw-bold);
    color: var(--color-navy);
    font-size: 48px;
    line-height: 1;
    letter-spacing: 3.84px;
}

.p-env__catch--cyan {
    color: var(--color-navy);
}

.p-env__catch-lead {
    color: var(--color-navy);
    margin-top: 26px;
    font-size: 20px;
    font-weight: var(--fw-regular);
    line-height: 2;
    letter-spacing: 1.6px;
}

.p-env__catch-marquee {
    padding: 10px 0;
    margin: 0 0 112px;
    --text-marquee-duration: 32s;
}

.p-env__catch-marquee .c-text-marquee__item {
    -webkit-text-stroke-color: rgba(13, 184, 236, 0.14);
    color: transparent;
    -webkit-text-stroke: 2px rgba(21, 62, 117, 0.35);
}

.p-env__charm {
    max-width: 1100px;
    padding: 0 0 175px;
}

.p-env__charm .c-section-heading {
    margin-bottom: 32px;
}

.p-env__charm-lead {
    margin-bottom: 60px;
    color: var(--color-navy);
    text-align: center;
    font-size: 20px;
    font-weight: var(--fw-regular);
    line-height: 2;
    letter-spacing: 1.6px;
}

.p-env__charm-list {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    gap: 50px;
    margin-top: 116px;
}

.p-env__charm-item {
    position: relative;
    display: grid;
    grid-template-columns: 515px 515px;
    align-items: start;
    gap: 70px;
    min-height: 290px;
}

.p-env__charm-item--reverse {
    display: grid;
    grid-template-columns: 515px 515px;
    align-items: start;
    gap: 70px;
    min-height: 290px;
}

.p-env__charm-item-img img {
    object-fit: cover;
    width: 515px;
    height: 290px;
}

.p-env__charm-item-num {
    display: flex;
    align-items: baseline;
    color: var(--color-red);
    font-family: var(--font-en);
    font-weight: var(--fw-black);
    line-height: 0.85;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 64px;
    letter-spacing: 5.12px;
}

.p-env__charm-item-num span {
    display: block;
    font-weight: var(--fw-bold);
    margin-bottom: 0;
    font-family: var(--font-en);
    color: var(--color-red);
    font-size: 20px;
    letter-spacing: 1.6px;
}

.p-env__charm-item h3 {
    font-weight: var(--fw-bold);
    color: var(--color-navy);
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1.92px;
}

.p-env__charm-item p {
    color: #202f44;
    font-size: 16px;
    font-weight: var(--fw-regular);
    line-height: 2;
    letter-spacing: 1.28px;
}

.p-env__benefits {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    padding: 0 0 174px;
}

.p-env__benefits .l-inner {
    max-width: calc(1100px + var(--inner-padding) * 2);
}

.p-env__benefits .c-section-heading {
    margin-bottom: 68px;
}

.p-env__benefits-lead {
    color: var(--color-text);
    text-align: center;
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 2;
    letter-spacing: 1.6px;
    margin-bottom: 126px;
}

.p-env__benefits-category {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 3px solid currentColor;
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-orange);
    box-shadow: none;
    margin-top: 50px;
    min-height: 971px;
    padding: 45px 51px 42px 63px;
}

.p-env__benefits-category:first-of-type {
    margin-top: 0;
}

.p-env__benefits-cat-title {
    font-weight: var(--fw-bold);
    padding-bottom: 10px;
    margin-bottom: 17px;
    color: currentColor;
    text-align: left;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 3.84px;
}

.p-env__benefits-cat-lead {
    color: var(--color-text);
    text-align: left;
    margin: 0 0 50px;
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 1.6px;
}

.p-env__benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 30px;
}

.p-env__benefits-item {
    border: 0;
    border-radius: 0;
    background: #fff5ea;
    box-shadow: none;
    text-align: center;
    height: 350px;
    padding: 25px 17px 20px;
}

.p-env__benefits-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 174px;
    margin: 0 auto 15px;
}

.p-env__benefits-item h4 {
    font-weight: var(--fw-bold);
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1.92px;
}

.p-env__benefits-item p {
    color: var(--color-text);
    font-size: 16px;
    font-weight: var(--fw-regular);
    line-height: 2;
    letter-spacing: 1.28px;
}

.p-env__schedule {
    position: relative;
    container-type: inline-size;
    overflow: hidden;
    padding: 175px 0 200px;
    background: #eefbff;
}

.p-env__schedule .l-inner {
    max-width: 1920px;
}

.p-env__schedule .c-section-heading {
    margin-bottom: 70px;
}

.p-env__schedule-lead {
    margin: 0;
    color: var(--color-text);
    text-align: center;
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 2;
    letter-spacing: 1.6px;
}

.p-env__schedule-timeline {
    position: relative;
    display: grid;
    gap: 25px;
    width: 564px;
    margin: 100px auto 0;
}

.p-env__schedule-timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    left: 55.5px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-navy);
    transform: translateX(-50%);
}

.p-env__schedule-item {
    position: relative;
    display: grid;
    grid-template-columns: 111px 410px;
    align-items: start;
    gap: 43px;
    min-height: 0;
    padding: 0;
}

.p-env__schedule-time {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 111px;
}

.p-env__schedule-hour {
    display: grid;
    place-items: center;
    font-weight: var(--fw-bold);
    padding: 6px;
    position: relative;
    z-index: 1;
    border-radius: 0;
    color: var(--color-white);
    font-family: var(--font-en);
    box-shadow: none;
    width: 111px;
    height: 111px;
    background: var(--color-navy);
    font-size: 32px;
    letter-spacing: 2.56px;
}

.p-env__schedule-content {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 2;
    border: 0;
    border-radius: 0;
    background: var(--color-white);
    box-shadow: none;
    width: 410px;
    height: 172px;
    padding: 27.5px 28px;
}

.p-env__schedule-item:nth-child(1) .p-env__schedule-content,
.p-env__schedule-item:nth-child(7) .p-env__schedule-content {
    height: 236px;
}

.p-env__schedule-item:nth-child(3) .p-env__schedule-content {
    height: 268px;
}

.p-env__schedule-item:nth-child(5) .p-env__schedule-content {
    height: 204px;
}

.p-env__schedule-item:nth-child(6) .p-env__schedule-content {
    height: 203px;
}

.p-env__schedule-item:nth-child(8) .p-env__schedule-content {
    height: 199px;
}

.p-env__schedule-content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 16px solid var(--color-white);
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
}

.p-env__schedule-content h4 {
    font-weight: var(--fw-bold);
    color: var(--color-navy);
    line-height: 2;
    font-size: 24px;
    letter-spacing: 1.92px;
}

.p-env__schedule-content p {
    margin-top: 5px;
    color: #2a3a50;
    font-size: 16px;
    font-weight: var(--fw-regular);
    line-height: 2;
    letter-spacing: 1.28px;
}

.p-env__schedule-img {
    position: absolute;
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
    width: 528px;
    height: 370px;
}

.p-env__schedule-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-env__schedule-item:nth-child(1) .p-env__schedule-img {
    top: 0;
    left: calc((564px - 100cqw) / 2);
}

.p-env__schedule-item:nth-child(3) .p-env__schedule-img {
    top: -103px;
    right: calc((564px - 100cqw) / 2);
}

.p-env__schedule-item:nth-child(4) .p-env__schedule-img {
    top: -181px;
    left: calc((564px - 100cqw) / 2);
}

.p-env__schedule-item:nth-child(5) .p-env__schedule-img {
    top: -23px;
    right: calc((564px - 100cqw) / 2);
}

.p-env__schedule-item:nth-child(6) .p-env__schedule-img {
    top: -37px;
    left: calc((564px - 100cqw) / 2);
}

.p-env__schedule-item:nth-child(8) .p-env__schedule-img {
    top: -171px;
    right: calc((564px - 100cqw) / 2);
}

@media (max-width: 1100px) {
    .p-env__charm-item {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .p-env__charm-item--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .p-env__charm-item-img {
        order: 1;
    }

    .p-env__charm-item--reverse .p-env__charm-item-img {
        order: 1;
    }

    .p-env__charm-item-body {
        order: 2;
    }

    .p-env__benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p-env__schedule-item {
        grid-template-columns: 118px minmax(0, 1fr);
        justify-content: stretch;
        min-height: auto;
        gap: 24px;
    }

    .p-env__schedule-timeline {
        width: min(760px, 100%);
        gap: 32px;
    }

    .p-env__schedule-timeline::before {
        left: 59px;
        transform: none;
    }

    .p-env__schedule-time {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .p-env__schedule-content {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        height: auto !important;
        min-height: 0;
    }

    .p-env__schedule-img {
        position: relative;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 528 / 370;
    }
}

@media (max-width: 768px) {
    .p-env__charm-item {
        font-size: var(--fs-6xl);
    }

    .p-env__charm-item--reverse {
        font-size: var(--fs-6xl);
    }

    .p-env__charm-item-img {
        font-size: var(--fs-6xl);
    }

    .p-env__charm-item-num {
        font-size: var(--fs-5xl);
    }

    .p-env__tabs {
        flex-wrap: wrap;
        gap: 12px;
        padding: 46px var(--inner-padding) 70px;
    }

    .p-env__catch-text {
        font-size: var(--fs-2xl);
    }

    .p-env__charm {
        padding-bottom: 88px;
    }

    .p-env__charm-list {
        gap: 58px;
        margin-top: 58px;
    }

    .p-env__charm-item-img img {
        height: 230px;
    }

    .p-env__benefits {
        padding: 80px 0;
    }

    .p-env__benefits-category {
        padding: 34px 22px 38px;
        border-width: 3px;
    }

    .p-env__benefits-grid {
        grid-template-columns: 1fr;
    }

    .p-env__schedule {
        padding: 80px 0;
    }

    .p-env__schedule .c-section-heading {
        margin-bottom: 36px;
    }

    .p-env__schedule-lead {
        font-size: 15px;
        line-height: 1.9;
        letter-spacing: .08em;
    }

    .p-env__schedule-timeline {
        margin-top: 60px;
    }

    .p-env__schedule-timeline::before {
        left: 42px;
    }

    .p-env__schedule-item {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 18px;
    }

    .p-env__schedule-time {
        flex: 0 0 60px;
        width: 86px;
    }

    .p-env__schedule-hour {
        width: 76px;
        height: 76px;
        font-size: var(--fs-md);
    }

    .p-env__schedule-content {
        padding: 22px 20px;
    }

    .p-env__schedule-content h4 {
        font-size: 18px;
    }

    .p-env__schedule-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .p-env__schedule-content::before {
        left: -12px;
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-right-width: 12px;
    }
}
