/* common */
@import './base/base.css';
@import './base/fonts.css';
@import './components/header.css';
@import './components/fixed_cta.css';
@import './components/section.css';
@import './components/footer.css';
@import './components/button.css';
@import './components/mv.css';
@import './animations/countup.css';
@import './animations/entries.css';

/* office（position なし・flex で構成） */
.work_env_office {
    background: #fff;
}

.work_env_office_top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

.work_env_office_side {
    flex-shrink: 0;
    margin: 0 0 0 -2.5rem;
    font-family: 'Outfit-bold';
    font-weight: 700;
    font-size: var(--font_size_150px);
    color: var(--color_bg);
    writing-mode: vertical-lr;
    white-space: nowrap;
}

.work_env_office_top_main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.work_env_office_hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 116px 0 0;
}

.work_env_office_hero_text {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.work_env_office_hero_text .container_1440.work_env_office_inner {
    margin-left: auto;
    margin-right: 0;
}

.work_env_office_inner {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: end;
}

.work_env_office_copy {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 0;
    padding-bottom: 50px;
}

.work_env_office_visual {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
}

.work_env_office_main_img {
    width: 100%;
    height: auto;
    display: block;
}

.work_env_list {
    margin: 3rem auto 0;
    max-width: 530px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.work_env_list_item {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_24px);
    color: var(--color_gray);
}

.work_env_office_check_icon {
    width: 2.84rem;
    height: 2.4rem;
}

.work_env_office_gallery {
    display: flex;
    justify-content: center;
    gap: 2%;
    margin: 7rem 0 5rem;

}

.work_env_office_img {
    width: 29%;
    height: auto;
}

@media screen and (max-width: 960px) {
    .work_env_office {
        padding: 8rem 0 0;
        position: relative;
    }

    .work_env_office_top {
        flex-direction: column;

    }

    .work_env_office_side {
        font-size: 70px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        line-height: 0.69;
        margin: 0;
    }

    .work_env_office_top_main {
        position: relative;
        z-index: 2;
    }

    .work_env_office_hero {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 0;
    }

    .work_env_office_hero_text {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .work_env_office_hero_text .container_1440.work_env_office_inner {
        margin-left: auto;
        margin-right: auto;
    }

    .work_env_office_inner {
        flex-direction: column;
    }

    .work_env_office_copy {
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }

    .work_env_office_visual {
        flex: none;
        width: 100%;
        max-width: none;
        margin: 4rem calc(50% - 50vw) 0 0;
        padding-left: 5rem;
    }

    .work_env_office_gallery {
        flex-direction: column;
        gap: 2rem;
        margin-top: 5rem;
        padding: 0 50px;
    }

    .work_env_office_img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 640px) {
    .work_env_office_copy {
        max-width: 310px;
        padding: 0 0 0 10px;
    }

    .work_env_list {
        gap: 1.5rem;
    }

    .work_env_list_item {
        font-size: 18px;
        gap: 1rem;
    }

}

/* role */
.work_env_role {
    position: relative;
    background: var(--color_bg);
    display: flex;
    align-items: center;
    height: 81rem;
}

.work_env_role_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7rem;
}

.work_env_role_copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.work_env_role_dummy {
    width: 45%;
    height: 100%;
}

.work_env_texts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 7rem;
}

.work_env_text {
    margin: 0;
    text-align: center;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
    line-height: 2;
}

@media screen and (max-width: 768px) {
    .work_env_texts {
        font-size: 14px;
        margin-top: 3rem;
        gap: 1.5rem;
    }

    .work_env_text:first-of-type {
        letter-spacing: -0.02em;
    }

    .work_env_text .pc {
        display: none;
    }
}

.work_env_role_img {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 960px) {
    .work_env_role {
        padding: 8rem 0 0;
        flex-direction: column;
        height: fit-content;
    }

    .work_env_role_inner {
        flex-direction: column;
        justify-content: center;
    }

    .work_env_role_copy {
        width: 100%;
    }

    .work_env_role_dummy {
        display: none;
    }

    .work_env_role_img {
        position: relative;
        margin-top: 5rem;
        width: 100%;
        height: 50rem;
        object-fit: cover;
    }
}

@media screen and (max-width: 640px) {
    .work_env_role_img {
        height: 30rem;
    }
}

/* stats */
.work_env_stats {
    background: #c1c1c1;
    padding: 10rem 0;
}

.work_env_stats_grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 4.167vw - 30px, 2rem);
    margin: 7rem 0 0;
}

.work_env_stats_graph {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .work_env_stats_graph {
        gap: 1rem;
    }
}

.stats_big {
    background: var(--color_white);
    color: var(--color_black);
    border-radius: var(--radius_sm);
    width: clamp(46rem, 30.833vw + 164px, 53.4rem);
}

.stats_big_head {
    background: var(--color_primary);
    color: var(--color_white);
    border-radius: 0.5rem 0.5rem 1rem 1rem;
    padding: 1rem 0;
    text-align: center;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
}

.stats_big_contents {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}
.stats_big:nth-of-type(2) .stats_big_contents {
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    .stats_big:nth-of-type(2) .stats_big_contents {
    }
}
.stats_big_row {
    display: flex;
    align-items: center;
    padding: 2.2rem clamp(1rem, 4.167vw - 30px, 2rem);
}

.stats_big_row.infinite {
    padding: 1.7rem 2rem;
}

.stats_big_line {
    width: 0.1rem;
    height: 7.2rem;
    background: var(--color_mid);
}

.stats_baseline_container {
    display: flex;
    align-items: baseline;
}

.stats_label {
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
    margin-right: clamp(0rem, 4.167vw - 40px, 1rem);
}

.stats_label_row {
    font-family: 'MOBO-bold';
    font-weight: 400;
    font-size: var(--font_size_16px);
}

.stats_value {
    color: var(--color_primary);
    font-family: 'Koulen';
    font-weight: 400;
    font-size: var(--font_size_68px);
}

.stats_value.infinite {
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_68px);
}

.stats_unit {
    color: var(--color_primary);
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_22px);
}

.stats_baseline_container .stats_unit {
    font-size: 18px;
    text-align: center;
}
.stats_baseline_container_rope .stats_unit {
    font-size: 12px;
}

.stats_range {
    color: var(--color_primary);
    font-family: 'Outfit-bold';
    font-weight: 700;
    font-size: var(--font_size_36px);
    margin: 0 0.5rem;
}

.stats_small_list {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.stats_small_left {
    width: clamp(15rem, 23.75vw - 78px, 20.7rem);
}

.stats_small_right {
    width: clamp(29rem, 6.25vw + 230px, 30.5rem);
}

.stats_small {
    background: var(--color_white);
    color: var(--color_black);
    border-radius: var(--radius_sm);
}

.stats_small_head {
    background: var(--color_primary);
    color: var(--color_white);
    border-radius: 0.5rem 0.5rem 1rem 1rem;
    padding: 1rem 0;
    text-align: center;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
}

.stats_small_head span {
    font-size: var(--font_size_14px);
}

.stats_small_contents_left,
.stats_small_contents_right {
    padding: 4rem 2rem 0;
}

.stats_small_contents_left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.stats_small_contents_age {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0 0.5rem;
}

.stats_small_age_img {
    position: relative;
    width: 12rem;
    height: 8rem;
}

.stats_small_contents_right {
    position: relative;
    height: 12rem;
}

.stats_small_right_line {
    position: absolute;
    top: 3rem;
    left: 8rem;
    z-index: 1;
    width: 5.8rem;
    height: 2rem;
    border-top: 1px solid var(--color_black);
    border-right: 1px solid var(--color_black);
}

.stats_small_right_line.age_chart {
    width: 6rem;
    height: 3rem;
}

.bar_chart_wrapper {
    position: relative;
    width: 10rem;
    height: 6rem;
    border-bottom: 1px solid var(--color_gray);
}

.bar_chart {
    position: absolute;
    border-radius: 2px 2px 0 0;
    bottom: 0;
    height: 0;
    transition: height 2s ease;
}

.bar_chart_1.active {
    height: 3.5rem;
}

.bar_chart_2.active {
    height: 6.1rem;
}

.bar_chart_1 {
    background: var(--color_gray);
    width: 2.5rem;
    left: 1.3rem;
}

/* 矢印を bar_chart_1 の ::before で表示 */
.bar_chart_1::before {
    content: '';
    display: block;
    position: absolute;
    top: -3.8rem;
    left: -10px;
    width: 4.4rem;
    height: 3.7rem;
    background: url('../../img/top_stats_UP_arrow.svg') no-repeat center / contain;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s ease;
}

.bar_chart_1.active::before {
    clip-path: inset(0 0 0 0);
    transition-delay: 1.8s;
}

.bar_chart_2 {
    background: var(--color_black);
    width: 3rem;
    left: 5.8rem;
}

/* UP を bar_chart_2 の ::before で表示 */
.bar_chart_2::before {
    content: '';
    display: block;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 1.6rem;
    background: url('../../img/top_stats_UP.svg') no-repeat center / contain;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s ease;
}

.bar_chart_2.active::before {
    clip-path: inset(0 0 0 0);
    transition-delay: 1.8s;
}

.pie_chart {
    position: absolute;
    width: 10rem;
    height: 10rem;
    transform: rotate(-90deg);
    top: 3.7rem;
    left: 10rem;
}

.pie_chart_2 {
    top: 4rem;
    left: 11rem;
}

.pie_chart_base {
    position: relative;
    fill: none;
    stroke-width: 25;
    stroke: var(--color_mid);
    stroke-dasharray: 220;
    stroke-dashoffset: 0;
    stroke-linecap: butt;
}

.pie_chart_line {
    position: relative;
    fill: none;
    stroke-width: 25;
    stroke: var(--color_black);
    stroke-dasharray: 220;
    stroke-dashoffset: calc(220 - (220 * 90) / 100);
    stroke-linecap: butt;
}

.pie_chart_line.age_chart {
    stroke: var(--color_gray);
    stroke-dashoffset: calc(220 - (220 * 80) / 100);
}

.pie_chart_anim.active {
    animation: circleAnim 2s forwards;
    /* animation-delay: 5s; */
}

@keyframes circleAnim {
    0% {
        stroke-dasharray: 50 220;
    }

    99.9%,
    to {
        stroke-dasharray: 220 220;
    }
}

@media screen and (max-width: 640px) {
    .pie_chart {
        width: 60px;
        height: 60px;
    }
}

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

.stats_small_right .stats_small_value.value_1 {
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.stats_small_right .stats_small_value.value_2 {
    position: absolute;
    bottom: -5rem;
    right: 2rem;
}

.work_env_note {
    margin-top: 5rem;
}

@media screen and (max-width: 768px) {
    .work_env_note {
        margin-top: 2rem;
    }
}

.work_env_note_text {
    margin: 0;
    text-align: center;
    color: var(--color_black);
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
    line-height: 2;
}

@media screen and (max-width: 960px) {
    .work_env_stats {
        padding: 8rem 0;
    }

    .work_env_stats_grid {
        flex-direction: column;
        gap: 1rem;
        margin-top: 3rem;
    }

    .stats_big {
        width: 70vw;
    }

    .stats_big_contents {
        justify-content: space-around;
    }

    .stats_big_row {
        padding: 2rem 1rem;
        gap: 0;
    }

    .stats_big_contents .stats_baseline_container_rope_row {
        gap: 1rem;
    }

    .stats_big_contents .stats_baseline_container_rope {
        flex-direction: column;
    }

    .stats_big_contents .stats_baseline_container_rope img{
        width: 43px;
    }

    .stats_small_list {
        gap: 2vw;
    }

    .stats_small_left {
        width: 28vw;
    }

    .stats_small_right {
        width: 40vw;
    }

    .stats_label {
        margin: 0;
    }

    .stats_small_contents_left {
        padding: 1rem;
        margin-top: 15%;
    }

    .stats_small_contents_right {
        padding: 1rem;
    }

    .stats_small_value.value_1 {
        top: 1rem !important;
        left: 1rem !important;
    }

    .stats_small_value.value_2 {
        bottom: -3rem !important;
        right: 1rem !important;
    }

    .pie_chart {
        left: 0;
        right: 0;
        top: 4.5rem;
        margin: auto;
    }

    .stats_small_right_line,
    .stats_small_right_line.age_chart {
        width: 3rem;
        left: 51%;
        transform: translateX(-140%);
    }
}

@media screen and (max-width: 640px) {
    .stats_big {
        width: 90vw;
    }

    .stats_small_list {
        gap: 3vw;
    }

    .stats_small_left {
        width: 39vw;
    }

    .stats_small_right {
        width: 48vw;
    }
}

/* benefits */
.work_env_benefits {
    background: #fff;
    padding: 10rem 0;
}

.work_env_benefits_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.work_env_tags {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: center;
    gap: 2.3rem 1.1rem;
    margin: 5rem auto 0;
}

.work_env_tag {
    padding: 2rem 2.5rem;
    border-radius: var(--radius_sm);
    background: var(--color_primary);
    color: #fff;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_18px);
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 960px) {
    .work_env_benefits {
        padding: 8rem 0;
    }

    .work_env_tags {
        grid-template-columns: repeat(2, auto);
        gap: 1.5rem 1rem;
        margin-top: 3rem;
    }
}

/* wellness */
.work_env_wellness {
    background: var(--color_primary);
    padding: 10rem 0;
}

.work_env_wellness_box {
    background: #fff;
    border-radius: var(--radius_md);
    margin-top: 7rem;
    padding: 5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10rem;
}

.work_env_wellness_badge_img {
    width: 20rem;
    height: 14.5rem;
}

.work_env_wellness_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media screen and (max-width: 768px) {
    .work_env_wellness_list {
        gap: 1.5rem;
    }
}

.work_env_wellness_list_item {
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_24px);
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.work_env_wellness_check_icon {
    width: 2.84rem;
    height: 2.4rem;
}

.work_env_wellness_bg_text {
    margin: 5rem 3rem 0 0;
    text-align: right;
    opacity: 0.3;
    color: #f5a8ad;
    font-family: 'Outfit-semi-bold';
    font-weight: 600;
    font-size: var(--font_size_150px);
}

@media screen and (max-width: 640px) {
    .work_env_wellness {
        padding: 8rem 0;
    }

    .work_env_wellness_box {
        flex-direction: column;
        margin-top: 3rem;
        gap: 3rem;
    }

    .work_env_wellness_bg_text {
        font-size: 50px;
    }
}

/* events */
.work_env_events {
    background: #fff;
    padding: 10rem 0;
}

.work_env_events_grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin-top: 7rem;
}

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

.work_env_event_image {
    width: 36.667rem;
    height: 27.5rem;
    border-radius: var(--radius_md);
}

.work_env_event_title {
    margin: 3rem 0 1rem;
    color: var(--color_primary);
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_24px);
}

@media screen and (max-width: 768px) {
    .work_env_event_title {
        margin: 1rem 0 0.5rem;
    }
}

.work_env_event_text {
    margin: 0;
    color: var(--color_gray);
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_20px);
}

@media screen and (max-width: 960px) {
    .work_env_events {
        padding: 8rem 0;
    }

    .work_env_events_grid {
        flex-direction: column;
        gap: 5rem;
        margin-top: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .work_env_events_grid {
        gap: 2rem;
    }
}

/* sponsor */
.work_env_sponsor {
    background: #fff;
    padding: 10rem 0 20rem;
}

.work_env_sponsor_box {
    background: var(--color_bg);
    border-radius: var(--radius_md);
    padding: 5rem 13rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10rem;
    margin-top: 7rem;
}

.work_env_sponsor_copy {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.work_env_sponsor_label_text .sp {
    display: none;
}

.work_env_sponsor_label_text {
    display: block;
    background: var(--color_primary);
    color: #fff;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_24px);
    padding: 1rem 2rem;
    border-radius: var(--radius_sm);
    letter-spacing: 1.3;
}

@media screen and (max-width: 768px) {
    .work_env_sponsor_label {
        width: 100%;
    }
    .work_env_sponsor_label_text {
        text-align: center;
        line-height: 1.3;
    }
    .work_env_sponsor_label_text .sp {
        display: block;
    }
}

.work_env_sponsor_list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0;
    margin: 5rem 0 0;
}

@media screen and (max-width: 768px) {
    .work_env_sponsor_list {
        margin-top: 3rem;
        gap: 1.5rem;
    }
}

.work_env_sponsor_list_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_24px);
    color: var(--color_black);
}

.work_env_sponsor_check_icon {
    width: 2.84rem;
    height: 2.4rem;
}

.work_env_sponsor_img {
    width: 17.6rem;
    height: 17.9rem;
}

@media screen and (max-width: 960px) {
    .work_env_sponsor {
        padding: 8rem 0;
    }

    .work_env_sponsor_box {
        flex-direction: column-reverse;
        padding: 2rem;
        align-items: center;
        gap: 3rem;
        margin-top: 3rem;
    }

    .work_env_event_image {
        width: 85%;
        height: auto;
    }
}


@media screen and (max-width: 640px) {
    .section_head_jp {
        line-height: 1.2;
    }
}