/* 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 './animations/countup.css';
@import './animations/entries.css';

/* opening */
.top_opening {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 80;
    background: var(--color_white);
    width: 100%;
    height: 100vh;
    height: 100dvh;
}

.top_opening.fadeout {
    animation: fadeout 1000ms ease-out forwards;
}

@keyframes fadeout {
    from {
        opacity: 1;
        visibility: visible;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

.top_opening_inner {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 50px;
}

.top_opening_title {
    font-family: 'Shippori-Mincho';
    font-weight: 500;
    font-size: 78px;
    margin: 0;
    color: var(--color_mid);
    line-height: 1.25;
    text-align: left;
    letter-spacing: -2px;
}

@media screen and (max-width: 768px) {
    .top_opening_title {
        font-size: 36px;
    }
}

#top_opening_title span {
    transition: color 500ms ease-out;
}

/* mv */
.top_mv {
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    background: var(--color_white);
}

/* 背景画像 */
.top_mv_img_1 {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.top_mv_inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    justify-content: center;
    padding: 0 1rem;
    max-width: 1220px;
    margin: auto;
}

.top_mv_copy {
    color: var(--color_white);
    text-shadow: 0 0 1rem rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 768px) {
    .top_mv_copy {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 200px;
        width: fit-content;
        margin: auto;
    }
}

.top_mv_title {
    margin: 0 0 1.5rem 0;
    font-size: var(--font_size_78px);
    line-height: 1.3;
    font-family: 'Shippori-Mincho';
}

.top_mv_text {
    margin: 0;
    font-weight: 600;
    font-size: var(--font_size_20px);
    line-height: 1.8;
    font-family: 'MOBO-semi-bold';
}

/* message */
.top_message {
    background: var(--color_primary);
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .top_message {
        height: auto;
    }
}

.top_message_inner {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    max-width: 1045px;
    margin: auto;
}



.top_message_horizontal {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 594px;
    text-align: center;
    justify-content: center;
}

.top_message_title {
    margin: 0;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_32px);
    line-height: 1.8;
    color: var(--color_black);
    padding: 0px 20px;

    transition: .5s;
}

.top_message_text {
    margin: 0;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_18px);
    color: var(--color_black);
    line-height: 2;
    transition: .5s;
}

@media screen and (max-width: 960px) {
    .top_message_title {
        font-size: 20px;
        padding: 0;
    }

    .top_message_text {
        font-size: 15px;
    }
}

.top_message_vertical {
    display: flex;
    align-items: start;
    width: 50%;
    /* height: 42rem; */
}

.top_message_vertical_title {
    margin: 0 20px 0 auto;
    writing-mode: vertical-rl;
    /* 縦書き・右から左へ */
    text-orientation: upright;
    /* 文字を直立させる */
    font-family: 'MOBO-bold';
    color: var(--color_white);
    font-weight: 700;
    font-size: var(--font_size_34px);
    transition: .5s;
}

.top_message_vertical_text {
    margin: 70px auto;
}

@media screen and (max-width: 768px) {

    .top_message_vertical_title {
        margin: 0 auto;
        height: 462px;
    }


    .top_message_inner {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        padding: 7rem 3rem;
    }

    .top_message_horizontal,
    .top_message_vertical {
        width: 100% !important;
        /* height: auto; */
    }
}

/* interview */
.top_interview {
    position: relative;
    height: auto;
    color: var(--color_white);
    overflow: hidden;
    background: #111;
}

.top_interview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../../img/top_01.webp);
    background-size: cover;
    background-position: top;
    opacity: 1;
    z-index: 1;
}

.top_interview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(60, 60, 60, 0.95);
    z-index: 2;
}

.top_interview_inner {
    position: relative;
    padding: 18.8rem 1rem;
    z-index: 3;
}

.top_interview_grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 7rem;
}

.top_interview_cards {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.top_card {
    position: relative;
    background: var(--color_white);
    color: var(--color_black);
    border-radius: var(--radius_md);
    width: clamp(28rem, 15.833vw + 128px, 31.8rem);
    padding: 2rem;
    box-shadow: 4px 4px 0 #d9d7d7;
}

.top_card:hover {
    box-shadow: 4px 4px 0 var(--color_gray);
}

.top_card_clip {
    width: 8rem;
    height: 10rem;
    background-image: url(../../img/top_18.webp);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    z-index: 20;
}

.top_card_image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-image: url(../../img/top_08.webp);
    background-size: cover;
    background-position: center;
}

.top_card_image_2 {
    background-image: url(../../img/top_09.webp);
}

.top_card_title {
    margin: 3rem 0 0;
    color: var(--color_primary);
    font-family: 'MOBO-bold';
    font-weight: 700;
    line-height: 1.3;
    font-size: var(--font_size_22px);
}

.top_card_line {
    height: 1px;
    background-image: linear-gradient(to right,
            #fff 50%,
            rgba(0, 0, 0, 0.12) 0%);
    background-size: 2rem 0.1rem;
    /* 10pxごとに繰り返す（点5px：隙間5px） */
    background-repeat: repeat-x;
    margin: 2rem 0;
}

.top_card_name {
    display: block;
    margin: 0;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_20px);
    letter-spacing: 10%;
}

.top_card_join {
    display: block;
    margin-top: 1rem;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_15px);
    letter-spacing: 5%;
}

@media screen and (max-width: 768px) {

    .top_card_name {
        font-size: 15px;
    }

    .top_card_join {
        font-size: 12px;
    }
}

.top_interview_copy {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.top_interview_title {
    margin: 0;
    font-family: 'MOBO-bold';
    font-size: var(--font_size_28px);
    font-weight: 700;
    line-height: 1.8;
    color: var(--color_white);
}

.top_interview_btn {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

    .top_interview_grid {
        flex-direction: column;
    }


    .top_card {
        width: 28rem;
    }

    .top_interview_copy {
        gap: 2rem;
    }

    .top_interview_btn {
        width: 185px;
        font-size: 12px;
        padding: 1.5rem 1rem 1.5rem 2rem;
    }
}

@media screen and (max-width: 640px) {
    .top_interview_cards {
        flex-direction: column;
        gap: 3rem;
    }
}

/* one day */
.top_one_day {
    background: var(--color_bg);
    height: auto;
    position: relative;
    overflow: hidden;
}

/* 1. 画面外のはみ出しを隠す設定 */
.infinite-slider {
    width: 100vw;
    overflow: hidden;
    margin: 7rem 0 8rem;
}

@media screen and (max-width: 960px) {
    .infinite-slider {
        margin: 5rem 0 3rem;
    }
}

/* 2. テキストを横一列に並べてアニメーションさせる */
.slider-inner {
    display: flex;
    width: max-content;
    /* 中身のサイズに合わせる */
    animation: loop-animation 20s linear infinite;
    /* 20sで1ループ。速度はここで調整 */
}

/* 3. 既存のテキストスタイルを微調整 */
.top_one_day_bg_text {
    font-weight: bold;
    font-family: 'Outfit-bold';
    font-size: var(--font_size_150px);
    white-space: nowrap;
    /* 改行させない */
    padding-right: 10rem;
    /* テキスト同士の間隔（お好みで） */
    /* 文字のくりぬき設定 */
    color: var(--color_bg);
    -webkit-text-stroke: 1px var(--color_gray);
    paint-order: stroke fill;
}

@media screen and (max-width: 768px) {
    .top_one_day_bg_text {
        font-size: 60px;
    }
}

/* 4. 無限ループのアニメーション設定 */
@keyframes loop-animation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* 半分動いたところでループさせる */
    }
}

.top_one_day_grid {
    display: flex;
    flex-direction: row;
    gap: 10rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 10rem;
    padding: 0 3rem;
}

.top_one_day_title {
    margin: 3rem 0 5rem;
    font-family: 'MOBO-bold';
    font-size: var(--font_size_28px);
    font-weight: 700;
    line-height: 1.5;
}

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

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


.top_one_day_btn {
    gap: 5rem;
}

.top_one_day_media {
    width: 60rem;
    border-radius: var(--radius_md);
    aspect-ratio: 4 / 3;
    background-image: url(../../img/top_05.webp);
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 960px) {
    .top_one_day_grid {
        flex-direction: column;
        gap: 5rem;
        margin-bottom: 8rem;
        align-items: flex-start;
    }

    .top_one_day_media {
        width: 100%;
    }
}

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

    .top_one_day_btn {
        gap: 1rem;
        font-size: 12px;
        width: 128px;
        padding: 0;
        line-height: 42px;
    }
}


/* office */
.top_office {
    position: relative;
    background: var(--color_white);
    padding: 10rem 0;
}

.top_office_inner {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.top_office_grid {
    display: flex;
    gap: 18px;
    width: 100%;
}

.top_office_media_wrapper {
    width: 85%;
    /* height: clamp(15rem, 39.506vw - 4.074px, 47rem); */
}

.top_office_swiper {
    overflow: hidden;
    margin: 0;
}

.top_office_swiper .swiper-slide {
    height: auto;
}

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

.top_office_side {
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: fit-content;
    gap: 5rem;
    margin-bottom: 1rem;
}


.top_office_head {
    display: flex;
    margin: 0 1.8rem 0;
}

@media screen and (max-width: 768px) {
    .top_office_head {
        margin: 0;
    }
}

.top_office_en {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: 'Outfit-semi-bold';
    font-size: var(--font_size_20px);
    color: var(--color_primary);
    letter-spacing: -5px;
}

.top_office_title {
    writing-mode: vertical-rl;
    /* 縦書き・右から左へ */
    text-orientation: upright;
    /* 文字を直立させる */
    font-family: 'MOBO-bold';
    font-size: var(--font_size_40px);
    font-weight: 700;
    color: var(--color_black);
    margin: 0 1rem;
    letter-spacing: 2px;
}

.top_office_line {
    width: 0.3rem;
    height: auto;
    background: var(--color_primary);
}

.top_office_pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.top_office_pager_circle {
    background: var(--color_white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Koulen', sans-serif;
    font-size: var(--font_size_24px);
    font-weight: 400;
    color: var(--color_black);
    margin-left: 0.5rem;
    gap: 0.5rem;
}

@media screen and (max-width: 768px) {
    .top_office_pager_circle {
        margin-left: 0;
        width: 20px;
    }
}

.top_office_current,
.top_office_total {
    font-family: inherit;
    font-size: var(--font_size_24px);
    font-weight: 400;
}

.top_office_current_wrapper {
    position: relative;
    width: 3rem;
    height: 2.4rem;
}

.top_office_current {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}



.top_office_current.active {
    opacity: 1;
    z-index: 2;
}

.top_office_sep {
    width: 2.8rem;
    height: 2px;
    background: var(--color_black);
}


@media screen and (max-width: 768px) {
    .top_office_pager {
        width: 70px;
        margin: auto;
    }

    .top_office_sep {
        width: 2rem;
        margin-bottom: .2rem;
    }

    .top_office_current_wrapper {
        height: 2rem;
    }

    .top_office_current,
    .top_office_total {
        line-height: 2rem;
    }
}


.top_office_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.top_office_arrow img {
    display: block;
    height: 1.8rem;
    width: auto;
}

.top_office_btn {
    margin: 50px auto 0;
    width: 216px;
    display: block;
    position: relative;
}

.top_office_btn span {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    width: fit-content;
    height: fit-content;
}

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

    .top_office_side {
        gap: 1rem;
        margin: 0 3rem 0 0;
    }

    .top_office_grid {
        flex-direction: column;
        align-items: flex-end;
    }

    .top_office_media_wrapper {
        width: 100%;
    }

    .top_office section_bg {
        position: relative;
    }

    .top_office_btn {
        margin: 50px auto 0;
        width: 216px;
        display: block;
        position: absolute;
    }

    .top_office_btn {
        margin: -130px auto 0 30px;
        width: 155px;
        font-size: 12px;
        line-height: 42px;
        padding: 0 2rem;
    }

}

/* stats */
.top_stats {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    color: var(--color_white);
    overflow: hidden;
    background: #111;
}

.top_stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../../img/top_20.webp);
    background-size: cover;
    background-position: top;
    opacity: 1;
    z-index: 1;
}

.top_stats::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(60, 60, 60, 0.95);
    z-index: 2;
}

.top_stats_inner {
    position: relative;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
}

.top_stats_grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 7rem;
}

.stats_big {
    background: var(--color_white);
    color: var(--color_black);
    border-radius: var(--radius_sm);
    width: 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;
}

.stats_big_row {
    display: flex;
    align-items: center;
    padding: 2.2rem 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: 1rem;
}

.stats_label_row {
    font-family: 'MOBO-bold';
    font-weight: 700;
    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_unit {
    color: var(--color_primary);
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_22px);
}

.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;
    margin-top: 2rem;
}

.stats_small_left {
    width: 20.7rem;
}

.stats_small_right {
    width: 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_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);
}

.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_anim.active {
    animation: none;
}

.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_base {
    position: relative;
    fill: none;
    stroke-width: 25;
    stroke: var(--color_gray);
    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_anim.active {
    animation: circleAnim 2s forwards;
    /* animation-delay: 5s; */
}

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

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

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

.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;
}

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

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

.top_stats_btn {
    width: 181px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.9rem 2rem;
}

@media screen and (max-width: 960px) {
    .top_stats {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 8rem 0;
    }

    .top_stats_inner {
        padding: 0;
    }

    .top_stats_grid {
        flex-direction: column;
    }

    .top_stats_text {
        font-size: 14px;
    }

    .top_stats_btn {
        margin: 0 auto 0 0;
        padding: 14px 20px;
        width: 128px;
        font-size: 12px;
    }

    .stats_big {
        width: 60vw;
    }

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

    .stats_big_row {
        padding: 2rem 1rem;
    }

    .stats_small_list {
        gap: 10px;
    }

    .stats_small_left {
        width: 20vw;
    }

    .stats_small_right {
        width: 35vw;
    }

    .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;
        margin: auto;
    }

    .stats_small_right_line {
        width: 3rem;
        left: 50%;
        transform: translateX(-120%);
    }

    .top_stats_right {
        padding: 0 3rem;
    }
}

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

    .stats_small_left {
        width: 39vw;
    }

    .stats_small_right {
        width: 48vw;
    }
}

/* @media screen and (max-width: 768px) {
    .stats_small_right {
        height: 142px;
    }
} */

/* about */
.top_about {
    background: var(--color_primary);
    padding: 10rem 0;
    color: var(--color_black);
    overflow-x: hidden;
}

.top_about_inner {
    padding-bottom: 10rem;
}

.top_about_grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.top_about_copy {
    width: max-content;
}

.top_about_texts {
    margin: 5rem 0;
}

.top_about_text {
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
    line-height: 1.3;
}

.top_about_actions {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.top_about_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.9rem 2rem;
}

.top_about_media {
    border-radius: var(--radius_md);
    max-width: 55.8rem;
    width: 100%;
    margin-left: 20px;
    transition: .5s;
}

@media screen and (max-width: 1025px) {
    .top_about_media {
        max-width: 45.8rem;
        margin-left: 20px;
        display: none;
    }
}


.top_about_bg_text {
    text-align: right;
    font-family: 'Outfit-semi-bold';
    font-size: var(--font_size_150px);
    font-weight: 600;
    color: var(--color_pink);
    opacity: 0.3;
    padding-right: 3rem;
}

.top_about_bg_text_br {
    display: none;
}

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

    .top_about_inner {
        padding: 0 3rem 5rem !important
    }

    .top_about_grid {
        flex-direction: column;
    }

    .top_about_copy {
        width: fit-content;
        padding: 0;
    }

    .top_about_actions {
        gap: 1rem;
        align-items: center;
    }

    .top_about_media {
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    .top_about_btn {
        width: 49%;
        display: flex;
        font-size: 12px;
        padding: 0;
        line-height: 42px;
        padding: 0 20px;
    }

    .top_about_bg_text {
        font-size: 50px;
    }

    .top_about_bg_text_br {
        display: block;
    }
}

/* welfare */
.top_welfare {
    background: var(--color_primary);
    padding: 0 0 10rem;
    overflow-x: hidden;
}

.top_welfare_grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.top_welfare_media {
    border-radius: var(--radius_md);
    max-width: 47rem;
    width: 100%;
    margin-right: 20px;
    transition: .5s;
}

@media screen and (max-width: 1025px) {
    .top_welfare_media {
        max-width: 45.8rem;
        margin-left: 20px;
    }
}

.top_welfare_copy {
    width: max-content;
}

.top_welfare_text {
    margin: 5rem 0;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
    line-height: 1.3;
    color: var(--color_black);
}

.top_welfare_actions {
    display: flex;
    justify-content: flex-start;
    gap: clamp(30px, 3.6vw, 50px);
    width: 447px;
}

.top_welfare_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.9rem 2rem;
}
.top_welfare_btn:nth-of-type(1) {
    width: 181px;
}

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

    .top_welfare_grid {
        flex-direction: column;
    }

    .top_welfare_copy {
        width: fit-content;
        padding: 7rem 1rem 0;
    }

    .top_welfare_actions {
        width: auto;
        gap: 1rem;
        align-items: center;
        justify-content: flex-start;
    }

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

    .top_welfare_btn {
        width: 49%;
        display: flex;
        font-size: 12px;
        padding: 0;
        line-height: 42px;
        padding: 0 20px;
    }
    .top_welfare_btn:nth-of-type(1) {
        width: 128px;
    }

    .top_about_texts,
    .top_welfare_text {
        margin: 2rem 0;
    }
}

/* jobs */
.top_jobs {
    background: var(--color_bg);
    padding: 10rem 0;
}

.job_list {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
}

.job_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color_bg);
    border-top: 0.2rem solid var(--color_white);
    padding: 5rem 10rem;
    text-decoration: none;
}

.job_item:hover {
    background: var(--color_mid);
}


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

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

.job_head {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.job_title {
    margin: 0;
    font-family: 'MOBO-bold';
    font-size: var(--font_size_36px);
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .job_title {
        font-size: 20px;
    }
}

.job_status {
    display: inline-flex;
    padding: 0.8rem;
    color: var(--color_white);
    font-family: 'MOBO-bold';
    font-size: var(--font_size_16px);
    font-weight: 700;
    letter-spacing: 5%;
}

.job_status_open {
    background: var(--color_primary);
}

.job_status_close {
    background: var(--color_gray);
}

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

.job_link {
    gap: 5rem;
}

.btn_job_link {
    display: inline-flex;
    width: fit-content;
    height: fit-content;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: var(--radius_sm);
    border: 1px solid var(--color_black);
    color: var(--color_black);
    text-decoration: none;
    font-family: 'MOBO-bold';
    font-weight: 700;
    font-size: var(--font_size_16px);
    letter-spacing: 10%;
    gap: 5rem;
    margin: 0.1rem;
}

@media screen and (max-width: 768px) {
    .btn_job_link {
        padding: 0 2rem;
        line-height: 42px;
        width: 128px;
        font-size: 12px;
        gap: 1rem;
        justify-content: space-between;
    }
}


@media screen and (max-width: 960px) {
    .job_list {
        margin-top: 3rem;
    }

    .job_item {
        flex-direction: column;
        align-items: baseline;
        padding: 3rem 0 3rem 2rem;
        gap: 1rem;
    }
}


.section_title_text_vivid_about{
    border-bottom: 4px solid #fff;
}

.section_title_text_underline {
    text-underline-offset: calc(20px + 3px);
}
@media screen and (max-width: 768px) {
    .section_title_text_underline {
        text-underline-offset: 0.3em;
    }
}

.section_title_text_light {
    border-color: var(--color_primary);
}

/* =============================================================
 * top_message → top_interview スクロール駆動ページめくり
 * ============================================================= */
.flip-pin {
    position: relative;
    height: 200vh;
}
/* デスクトップでは flip-back が interview を表示するため、本体出力は隠す */
.top_interview_mobile {
    display: none;
}
.flip-stage {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}
.flip-back {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.flip-back > .top_interview {
    height: 100% !important;
    min-height: 100%;
}
.flip-front {
    position: absolute;
    inset: 0;
    z-index: 2;
    will-change: clip-path;
}
.flip-front > .top_message {
    height: 100% !important;
    min-height: 100%;
}
/* fade_in を打ち消し (sticky内で IntersectionObserver が誤発火する対策) */
.flip-front .fade_in {
    opacity: 1 !important;
}

/* 折れ機構の y-mirror wrapper (右下フォールド用) */
.flip-mirror {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    transform-origin: 0 50%;
    transform: scaleY(-1);
}
.flip-fold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ad030f;
    transform-origin: 0 0;
    will-change: transform, clip-path;
    display: none;
}
.flip-shadow {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    display: none;
    transform-origin: 0 0;
    will-change: transform, clip-path, opacity;
}

/* 959px 以下: ページめくりを無効化、通常スクロール */
@media screen and (max-width: 959px) {
    .flip-pin {
        height: auto;
    }
    .flip-stage {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
    }
    .flip-back,
    .flip-mirror {
        display: none;
    }
    .flip-front {
        position: static;
        inset: auto;
    }
    .flip-front > .top_message {
        height: auto !important;
        min-height: 0;
    }
    .top_interview_mobile {
        display: block;
    }
}