@charset "utf-8";

/* 先輩社員インタビュー用CSS */
:root {
    scroll-behavior: smooth;
}

body {
    --base: clamp(15px, 1.75vw, 24px);
    background-color: #0073d2;
}

.step_beyond_main {
    color: #ffffff;
    font-size: var(--base);
    position: relative;
    z-index: 10;
}

/* Override shared .inner padding for interview content (Base 1rem = 10px, so 3rem = 30px) */
.step_beyond_main .inner {
    padding-right: calc(3 * var(--base)) !important;
    padding-left: calc(3 * var(--base)) !important;
    max-width: calc(1140px + calc(6 * var(--base))) !important;
}

@media only screen and (max-width: 768px) {
    .step_beyond_main .inner {
        padding-left: calc(1.5 * var(--base)) !important;
        padding-right: calc(1.5 * var(--base)) !important;
    }
}

.step_beyond_main p {
    line-height: 1.75;
}

.step_beyond_main .wrapper {
    overflow: hidden;
    width: 100%;
}

.step_beyond_main {
    width: 100%;
}

.key_visual {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: calc(1 * var(--base));
}

.kv_inner {
    width: 100%;
    height: calc(105vh - 62.1px);
    position: relative;
}

@media screen and (max-width: 768px) {
    .kv_inner {
        height: 70vh;
    }
}

.kv_deco {
    height: calc(70% + 62.1px);
    position: absolute;
    top: -62.1px;
    right: 0;
    width: 100%;
    z-index: 1;
    transform: translate(100vw, -100vh);
    animation: kv_deco 0.75s ease-out forwards;
}

@keyframes kv_deco {
    to {
        transform: translate(0, 0);
    }
}

.kv_deco img {
    height: 100%;
    position: absolute;
    top: 0;
    transform: rotate(-135deg);
    animation: kv_deco_img 0.75s ease-out forwards;
}

@keyframes kv_deco_img {
    to {
        transform: rotate(0deg);
    }
}

.kv_deco> :nth-child(1) {
    right: 60%;
    width: 40%;
}

.kv_deco> :nth-child(2) {
    right: 45%;
    width: 35%;
}

.kv_deco> :nth-child(3) {
    right: 15%;
    width: 30%;
}

.kv_deco> :nth-child(4) {
    right: 5%;
    width: 10%;
}

.kv_center {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
    display: flex;
    align-items: end;
    width: 100%;
    justify-content: center;
}

.kv_center_1 {
    animation: kv_center_img 4s ease-in-out forwards;
}

.kv_center_2 {
    animation: kv_center_img 4s ease-in-out forwards;
    animation-delay: 0.2s;
}

@keyframes kv_center_img {
    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-10%);
    }

    50% {
        transform: translateY(2%);
    }

    100% {
        transform: translateY(0);
    }
}

.kv_center>* {
    display: block;
}

.kv_center> :nth-child(1) {
    height: 100%;
}

.kv_center> :nth-child(2) {
    height: 85%;
}

.kv_title_box {
    position: absolute;
    left: -2.5%;
    top: 70%;
    width: 105%;
    z-index: 2;
    transform: translateX(100%);
    animation: kv_title_box 0.75s ease-out forwards;
}

@keyframes kv_title_box {
    to {
        transform: translateX(0%);
    }
}

.kv_title_box img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kv_lead {
    text-align: center;
    font-weight: 700;
    padding: 0 calc(2 * var(--base));
    font-family: "kozuka-gothic-pr6n", sans-serif;
}

.kv_nav {
    display: flex;
    gap: calc(4 * var(--base));
    justify-content: center;
    z-index: 1;
    margin: calc(4 * var(--base)) 0;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-weight: 600;
    font-variation-settings: "wght" 600;
}

@media screen and (max-width: 768px) {
    .kv_nav {
        gap: calc(1 * var(--base));
    }
}

.kv_nav_item {
    display: block;
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: calc(8 * var(--base));
    color: #000000;
    font-weight: 700;
    box-shadow: calc(0.2 * var(--base)) calc(0.2 * var(--base)) 0;
}

.kv_nav> :nth-child(1) {
    background-color: #6feec7;
}

.kv_nav> :nth-child(2) {
    background-color: #ffaa00;
}

.nav_icon {
    position: absolute;
    width: 100%;
    max-height: none;
    z-index: -1;
}

.nav_role {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 50%;
    border-bottom: solid #000000 calc(0.1 * var(--base));
    width: 80%;
    text-align: center;
    padding-bottom: calc(0.5 * var(--base));
}

.nav_year {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    padding-top: calc(0.5 * var(--base));
    text-align: center;
    width: 80%;
}

.kv_nav> :nth-child(1) .nav_icon {
    right: 70%;
    bottom: -20%;
}

.kv_nav> :nth-child(2) .nav_icon {
    left: 70%;
    bottom: 10%;
}

.interview_intro {
    position: relative;
    margin: 10% 0;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-weight: 600;
    font-variation-settings: "wght" 600;
}

.intro_group {
    width: 35%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 120%;
    max-height: none;
    display: flex;
    align-items: end;
    justify-content: center;
    flex-flow: column;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .intro_group {
        width: 70%;
        height: 120%;
    }
}

.intro_group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6feec7;
    clip-path: polygon(0% 0%, 100% 0%, 60% 100%, 0% 100%);
    z-index: -1;
}

.second .intro_group::before {
    background-color: #ffaa00;
}

.intro_catchphrase {
    width: fit-content;
}

.intro_catchphrase>span {
    display: block;
    width: fit-content;
    font-size: calc(1.25 * var(--base));
    background-color: #000000;
    color: #ffffff;
    font-weight: 700;
    margin: calc(1 * var(--base)) 0;
    padding: calc(0.25 * var(--base)) calc(1 * var(--base));
}

.intro_image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 5/2;
}

@media screen and (max-width: 768px) {
    .intro_image {
        aspect-ratio: 3/2;
        transform: translateX(15vw);
    }
}

.intro_role_year {
    line-height: 2;
    color: #000000;
    text-align: left;
}

.intro_role_year>span {
    display: block;
}

.interview_profile {
    font-family: "kozuka-gothic-pr6n", sans-serif;
}

.interview_profile .section_title {
    text-align: center;
    margin: calc(2 * var(--base));
}

.interview_profile .section_title img {
    width: calc(15 * var(--base));
}

.profile_details {
    width: 100%;
    padding: 0 calc(2 * var(--base));
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .profile_details {
        width: 150%;
        transform: scale(0.6666666666666666);
        transform-origin: left center;
    }
}

.profile_list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.profile_item {
    position: absolute;
    z-index: -1;
    background-color: #0073d2;
}

@media screen and (max-width: 768px) {
    .profile_item {
        z-index: 1;
    }
}

.profile_item_inner {
    width: 100%;
    border: solid #6feec7 calc(0.15 * var(--base));
    border-radius: calc(1 * var(--base));
    padding: calc(1 * var(--base));
    text-align: left;
    font-weight: 700;
}

.second .profile_item_inner {
    border-color: #ffaa00;
}

.profile_term {
    position: absolute;
    top: 0;
    left: calc(1 * var(--base));
    background-color: #0073d2;
    color: #6feec7;
    transform: translateY(-50%);
    padding: 0 calc(0.5 * var(--base));
    font-size: calc(0.8 * var(--base));
    white-space: nowrap;
    font-weight: 700;
}

.second .profile_term {
    color: #ffaa00;
}

.profile_desc {
    font-size: calc(2 * var(--base));
}


.profile_desc .num {
    font-size: 1.1em;
}

.profile_desc .note_text {
    font-size: calc(0.8 * var(--base));
    font-weight: 700;
}

.profile_item_inner::before,
.profile_item_inner::after {
    content: "";
    position: absolute;
    top: var(--l-top, 50%);
}

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

    .profile_item_inner::before,
    .profile_item_inner::after {
        display: none;
    }
}

.profile_item_inner::before {
    width: var(--l-width);
    border-bottom: solid #6feec7 calc(0.15 * var(--base));
    transform: rotate(var(--l-rot));
}

.second .profile_item_inner::before {
    border-bottom-color: #ffaa00;
}

.profile_item_inner::after {
    width: calc(0.5 * var(--base));
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #6feec7;
}

.second .profile_item_inner::after {
    background-color: #ffaa00;
}

.profile_list> :nth-child(-n+4) .profile_item_inner::before {
    left: 100%;
    transform-origin: left center;
}

.profile_list> :nth-child(-n+4) .profile_item_inner::after {
    left: 100%;
    transform-origin: left center;
    transform: rotate(var(--l-rot)) translateX(var(--l-width)) translate(-50%, -50%);
}

.profile_list> :nth-child(n+5) .profile_item_inner::before {
    right: 100%;
    transform-origin: right center;
}

.profile_list> :nth-child(n+5) .profile_item_inner::after {
    right: 100%;
    transform-origin: right center;
    transform: rotate(var(--l-rot)) translateX(calc(-1 * var(--l-width))) translate(50%, -50%);
}

.profile_item_inner {
    min-width: calc(12 * var(--base));
    text-align: center;
}

@media screen and (max-width: 768px) {
    .profile_image {
        width: 80%;
    }
}

.profile_list> :nth-child(1) {
    --l-top: 80%;
    --l-width: calc(3.5 * var(--base));
    --l-rot: 25deg;
    top: 15%;
    left: 22%;
    transform: translate(-50%, -50%);
}

.profile_list> :nth-child(2) {
    --l-top: 50%;
    --l-width: calc(5 * var(--base));
    --l-rot: 0deg;
    top: 38%;
    left: 17%;
    transform: translate(-50%, -50%);
}

.profile_list> :nth-child(3) {
    --l-top: 15%;
    --l-width: calc(4 * var(--base));
    --l-rot: -30deg;
    top: 62%;
    left: 18%;
    transform: translate(-50%, -50%);
}

.profile_list> :nth-child(4) {
    --l-top: 15%;
    --l-width: calc(4 * var(--base));
    --l-rot: -15deg;
    top: 85%;
    left: 18%;
    transform: translate(-50%, -50%);
}

.profile_list> :nth-child(5) {
    --l-top: 85%;
    --l-width: calc(3.5 * var(--base));
    --l-rot: -20deg;
    top: 15%;
    right: 22%;
    transform: translate(50%, -50%);
}

.profile_list> :nth-child(6) {
    --l-top: 50%;
    --l-width: calc(3.5 * var(--base));
    --l-rot: 0deg;
    top: 38%;
    right: 17%;
    transform: translate(50%, -50%);
}

.profile_list> :nth-child(7) {
    --l-top: 25%;
    --l-width: calc(2.5 * var(--base));
    --l-rot: 15deg;
    top: 62%;
    right: 18%;
    transform: translate(50%, -50%);
}

.profile_list> :nth-child(8) {
    --l-top: 25%;
    --l-width: calc(3 * var(--base));
    --l-rot: 5deg;
    top: 85%;
    right: 2.5%;
    transform: translateY(-50%);
}

.profile_list> :nth-child(8) .profile_desc {
    line-height: 0.6;
}

.profile_list> :nth-child(8) .note_text {
    font-size: calc(0.6 * var(--base));
}

.profile_list.fadeUpFirstTrigger {
    opacity: 1;
}

.profile_list.fadeUpFirstTrigger .profile_item {
    opacity: 0;
}

.profile_list.fadeUpFirst {
    animation-name: none;
    opacity: 1;
}

.profile_list.fadeUpFirst .profile_item {
    animation-name: profileItemFadeUp;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes profileItemFadeUp {
    from {
        opacity: 0;
        margin-top: 50px;
    }

    to {
        opacity: 1;
        margin-top: 0;
    }
}

@keyframes stepIconFadeUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentSlideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) translateY(0);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes contentSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) translateY(0);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.profile_list.fadeUpFirst> :nth-child(1) {
    animation-delay: 0s;
}

.profile_list.fadeUpFirst> :nth-child(2) {
    animation-delay: 0.2s;
}

.profile_list.fadeUpFirst> :nth-child(3) {
    animation-delay: 0.4s;
}

.profile_list.fadeUpFirst> :nth-child(4) {
    animation-delay: 0.6s;
}

.profile_list.fadeUpFirst> :nth-child(5) {
    animation-delay: 0.8s;
}

.profile_list.fadeUpFirst> :nth-child(6) {
    animation-delay: 1s;
}

.profile_list.fadeUpFirst> :nth-child(7) {
    animation-delay: 1.2s;
}

.profile_list.fadeUpFirst> :nth-child(8) {
    animation-delay: 1.4s;
}

.interview_culture {
    background-color: #005fb8;
    margin: calc(2 * var(--base)) 0 0;
    padding: calc(6 * var(--base)) 0;
    display: flex;
    justify-content: center;
    gap: 10%;
    position: relative;
    clip-path: polygon(0 calc(1 * var(--base)), 10% 0, 20% calc(1 * var(--base)), 30% 0, 40% calc(1 * var(--base)), 50% 0, 60% calc(1 * var(--base)), 70% 0, 80% calc(1 * var(--base)), 90% 0, 100% calc(1 * var(--base)), 100% 100%, 0 100%);
}

@media screen and (max-width: 768px) {
    .interview_culture {
        flex-flow: column;
    }
}

.culture_item {
    width: 30%;
    background-color: #ffffff;
    border: solid #000000 calc(0.2 * var(--base));
    aspect-ratio: 1 / 1;
    border-radius: calc(1 * var(--base));
    position: relative;
    box-sizing: border-box;
    padding: calc(1.5 * var(--base)) calc(0.5 * var(--base)) 0;
    z-index: 1;
    max-width: 400px;
}

@media screen and (max-width: 768px) {
    .culture_item {
        width: 80%;
        margin: 0 auto;
        ;
    }
}

.culture_title_wrapper {
    position: absolute;
    left: 5%;
    top: 0%;
    transform: translateY(-50%);
    width: fit-content;
}

.culture_title_wrapper::after {
    content: "";
    position: absolute;
    top: calc(0.2 * var(--base));
    left: calc(0.2 * var(--base));
    width: 100%;
    height: 100%;
    background-color: #000000;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    z-index: -1;
}

.culture_title {
    width: fit-content;
    font-size: calc(0.9 * var(--base));
    background-color: #6feec7;
    color: #000000;
    padding: calc(0.25 * var(--base)) calc(1 * var(--base));
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    font-weight: 700;
}

.second .culture_title {
    background-color: #ffaa00;
}

.culture_image {
    border-radius: calc(0.5 * var(--base));
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.culture_caption {
    color: #000000;
    text-align: center;
    padding: calc(0.5 * var(--base)) 0;
    font-weight: 700;
    font-size: calc(0.825 * var(--base));
    line-height: 1.75;
    text-decoration: underline wavy #6feec7;
    text-underline-offset: calc(0.2 * var(--base));
    text-decoration-thickness: calc(0.1 * var(--base));
}

@media screen and (max-width: 768px) {
    .culture_caption {
        font-size: calc(1.25 * var(--base));
    }
}

.second .culture_caption {
    text-decoration-color: #ffaa00;
}

.culture_caption>span {
    font-size: calc(1.6 * var(--base));
}

@media screen and (max-width: 768px) {
    .culture_caption>span {
        font-size: calc(2.25 * var(--base));
    }
}

.interview_culture> :nth-child(1) {
    transform: rotate(-4deg) translateY(calc(-2 * var(--base)));
}

.interview_culture> :nth-child(2) {
    transform: rotate(7.5deg) translateY(calc(2 * var(--base)));
}

.interview_culture>img {
    position: absolute;
    transform: translate(-50%, -50%);
    aspect-ratio: 1 / 1;
    z-index: 0;
}

.culture_sub_image1 {
    width: calc(11 * var(--base));
    top: 45%;
    left: 10%;
}

.culture_sub_image2 {
    width: calc(4 * var(--base));
    top: 75%;
    left: 52.5%;
}

.culture_sub_image3 {
    width: calc(7.5 * var(--base));
    top: 25%;
    left: 85%;
}

.interview_intro.fadeUpFirstTrigger,
.interview_culture.fadeUpFirstTrigger {
    opacity: 1;
}

.interview_intro.fadeUpFirst,
.interview_culture.fadeUpFirst {
    animation-name: none;
    opacity: 1;
}

.interview_culture.fadeUpFirstTrigger .culture_item {
    opacity: 0;
    scale: 0.8;
}

.interview_culture.fadeUpFirst .culture_item {
    animation: cultureZoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.interview_culture.fadeUpFirst> :nth-child(1) {
    animation-delay: 0s;
}

.interview_culture.fadeUpFirst> :nth-child(2) {
    animation-delay: 0.25s;
}

@keyframes cultureZoomIn {
    to {
        opacity: 1;
        scale: 1;
    }
}

.interview_intro.fadeUpFirstTrigger .intro_image {
    opacity: 0;
}

.interview_intro.fadeUpFirst .intro_image {
    animation: introFadeIn 0.3s ease-in-out forwards;
}

@keyframes introFadeIn {
    to {
        opacity: 1;
    }
}

.interview_intro.fadeUpFirstTrigger .intro_group::before {
    transform: translateX(-100%);
    opacity: 0;
}

.interview_intro.fadeUpFirst .intro_group::before {
    animation: introBgSlide 0.3s ease-out forwards 0.3s;
}

@keyframes introBgSlide {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.interview_intro.fadeUpFirstTrigger .intro_catchphrase>span,
.interview_intro.fadeUpFirstTrigger .intro_role_year>span {
    opacity: 0;
    transform: translateY(20px);
}

.interview_intro.fadeUpFirst .intro_catchphrase>span,
.interview_intro.fadeUpFirst .intro_role_year>span {
    animation: introTextFadeUp 0.3s ease-out forwards;
}

@keyframes introTextFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.interview_intro.fadeUpFirst .intro_catchphrase>span:nth-child(1) {
    animation-delay: 0.6s;
}

.interview_intro.fadeUpFirst .intro_catchphrase>span:nth-child(2) {
    animation-delay: 0.7s;
}

.interview_intro.fadeUpFirst .intro_catchphrase>span:nth-child(3) {
    animation-delay: 0.8s;
}

.interview_intro.fadeUpFirst .intro_role_year>span:nth-child(1) {
    animation-delay: 0.9s;
}

.interview_intro.fadeUpFirst .intro_role_year>span:nth-child(2) {
    animation-delay: 1.0s;
}

.interview_intro.fadeUpFirst .intro_role_year>span:nth-child(3) {
    animation-delay: 1.1s;
}

.interview_episodes {
    background-color: #ffffff;
    font-family: "source-han-sans-jp-variable", sans-serif;
}

.episode_list {
    padding: calc(2 * var(--base));
    max-width: 1200px;
    color: #000000;
    display: flex;
    flex-flow: column;
    gap: calc(2 * var(--base));
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

.episode_list> :nth-child(2n + 1) {
    flex-direction: row-reverse;
}

.episode_item {
    display: flex;
    gap: calc(2 * var(--base));
    align-items: center;
}

@media screen and (max-width: 768px) {
    .episode_item {
        flex-direction: column !important;
    }
}


.episode_image {
    width: calc(50% - calc(1 * var(--base)));
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .episode_image {
        width: 100%;
    }
}

.episode_content {
    width: calc(50% - calc(1 * var(--base)));
    display: flex;
    flex-flow: column;
    gap: calc(1 * var(--base));
}

@media screen and (max-width: 768px) {
    .episode_content {
        width: 100%;
    }
}

.episode_title {
    width: fit-content;
    position: relative;
    padding: calc(0.25 * var(--base)) calc(0.5 * var(--base));
    box-sizing: border-box;
    font-weight: 600;
    font-variation-settings: "wght" 600;
    line-height: 1.5;
}

.episode_title::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    background-image: url(../img/page/interview/step-beyond/asset_03.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: calc(1 * var(--base));
    height: calc(1 * var(--base));
}

.episode_title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 100%;
    background-image: url(../img/page/interview/step-beyond/asset_03.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: calc(1 * var(--base));
    height: calc(1 * var(--base));
    transform: rotate(180deg);
}

.second .episode_title::before {
    background-image: url(../img/page/interview/step-beyond/asset_03_orange.svg);
}

.second .episode_title::after {
    background-image: url(../img/page/interview/step-beyond/asset_03_orange.svg);
}

.episode_text {
    font-size: calc(0.9 * var(--base));
    font-weight: 400;
    font-variation-settings: "wght" 400;
    line-height: 1.5;
}

/**/
.interview_message {
    width: 100%;
    position: relative;
    padding: calc(4 * var(--base));
    box-sizing: border-box;
    text-align: left;
    font-family: "source-han-sans-jp-variable", sans-serif;
}

@media screen and (max-width: 768px) {
    .interview_message {
        padding: calc(2 * var(--base));
    }
}

.message_image_box {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.message_image_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.4;
}

.message_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message_content_wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.message_content {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-flow: column;
    gap: calc(1 * var(--base));
    width: 50%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .message_content {
        width: 100%;
    }
}

.first .message_content {
    background-image: url(../img/page/interview/step-beyond/asset_04.svg);
    padding: calc(1 * var(--base)) calc(2.5 * var(--base)) calc(1 * var(--base)) calc(1 * var(--base));
}

.second .message_content {
    background-image: url(../img/page/interview/step-beyond/asset_05.svg);
    padding: calc(1 * var(--base)) calc(1 * var(--base)) calc(1 * var(--base)) calc(2.5 * var(--base));
}

.message_title {
    text-align: center;
    border-bottom: solid #ffffff calc(0.05 * var(--base));
    padding-bottom: calc(0.5 * var(--base));
    font-weight: 600;
    font-variation-settings: "wght" 600;
    box-sizing: border-box;
    font-size: calc(1.2 * var(--base));
}

.message_text {
    font-size: calc(0.9 * var(--base));
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
    font-variation-settings: "wght" 500;
}

.second .message_content {
    margin-left: auto;
}

.career_step {
    padding: calc(2 * var(--base)) 0;
    font-family: "kozuka-gothic-pr6n", sans-serif;
}

.career_step_inner {
    padding: calc(14 * var(--base)) 0 calc(4 * var(--base)) 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.career_step .section_title {
    text-align: left;
    margin: calc(2 * var(--base)) 0 0 calc(2 * var(--base));
}

.career_step .section_title img {
    width: calc(18 * var(--base));
}

.step_item {
    display: flex;
    position: relative;
    align-items: center;
}

.step_figure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% - 1.5 * var(--base));
}

@media screen and (max-width: 768px) {
    .step_figure {
        bottom: calc(100% - 0.75 * var(--base));
    }
}

.step_caption {
    background-color: #ffffff;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    color: #005fb8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(5 * var(--base));
    font-size: calc(1.5* var(--base));
    font-weight: 700;
    position: absolute;
    z-index: -1;
}

.step_list> :nth-child(1) .step_caption {
    right: 85%;
    top: 50%;
    transform: translate(50%, -50%);
}

.step_list> :nth-child(2) .step_caption {
    left: 90%;
    bottom: 90%;
    transform: translate(-50%, 50%);
}

.step_q {
    background-color: #6feec7;
    padding: calc(0.5 * var(--base));
    box-sizing: border-box;
    color: #000000;
    box-shadow: calc(0.2 * var(--base)) calc(0.2 * var(--base)) 0 #000000;
    width: fit-content;
}

.second .step_q {
    background-color: #ffaa00;
}

.step_qa {
    display: flex;
    flex-flow: column;
    gap: calc(1 * var(--base));
    background-color: #ffffff;
    color: #005fb8;
    box-sizing: border-box;
    padding: calc(2 * var(--base));
}

@media screen and (max-width: 768px) {
    .step_qa {
        padding: calc(1 * var(--base));
    }
}

.step_a {
    color: #000000;
    line-height: 1.75;
}

.step_q::before {
    content: '●';
}

.step_list> :nth-child(3) .step_caption {
    left: 0%;
    top: 5%;
    transform: translate(-50%, -50%);
}

.step_list>li {
    position: relative;
    display: flex;
}

.step_title {
    width: calc(5 * var(--base));
    font-size: calc(4 * var(--base));
    text-align: center;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-weight: 600;
    font-variation-settings: "wght" 600;
}

.step_content {
    width: calc(100% - 5 * var(--base));
}

.step_list {
    display: flex;
    flex-flow: column;
    gap: calc(24 * var(--base));
}

.step_list> :nth-child(2n) {
    margin-left: auto;
    flex-flow: row-reverse;
}

.step_list> :nth-child(2n) .step_title {
    writing-mode: sideways-rl;
}

.step_list> :nth-child(2n + 1) {
    margin-right: auto;
}

.step_list> :nth-child(2n + 1) .step_title {
    writing-mode: sideways-lr;
}

.past_interview_link {
    position: absolute;
    bottom: calc(100% + 7.5 * var(--base));
    left: 55%;
    display: block;
    width: fit-content;
    padding: calc(2 * var(--base)) calc(3 * var(--base)) calc(2 * var(--base)) calc(2 * var(--base));
    color: #000000;
    font-weight: 700;
    font-size: calc(1.25 * var(--base));
}

.past_interview_text {
    position: relative;
    white-space: nowrap;
}

.past_interview_text::after {
    content: "";
    position: absolute;
    left: calc(100% + 0.5 * var(--base));
    top: 50%;
    transform: translateY(-50%);
    width: calc(1 * var(--base));
    height: calc(1 * var(--base));
    background-image: url(../img/page/interview/step-beyond/asset_07.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.past_interview_link_icon,
.past_interview_link_iconshadow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}

.past_interview_link_icon {
    fill: #6feec7;
    transform: translate(-50%, -50%);
    transition: fill 0.3s ease;
}

.second .past_interview_link_icon {
    fill: #ffaa00;
}

.past_interview_link_iconshadow {
    fill: #000000;
    transform: translate(calc(-50% + 0.4 * var(--base)), calc(-50% + 0.4 * var(--base)));
}

.past_interview_link:hover .past_interview_link_icon {
    fill: #ffffff;
}

.step_icon {
    height: calc(17.5 * var(--base));
    width: auto;
    object-fit: contain;
}

.step_list> :nth-child(3) .step_icon {
    height: calc(22.5 * var(--base));
}

/* Stable Sequenced Animations */
.step_item.fadeUpFirst {
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
    opacity: 1 !important;
}

.step_list> :nth-child(2n + 1).step_item.fadeUpFirst {
    animation-name: contentSlideInRight !important;
}

.step_list> :nth-child(2n).step_item.fadeUpFirst {
    animation-name: contentSlideInLeft !important;
}

/* Icon floats up from its relative position */
.step_icon.fadeUpFirst {
    animation-name: stepIconFadeUp;
    animation-duration: 0.4s;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

/* Caption fades in synchronously with icon */
.step_item.fadeUpFirst .step_caption {
    animation-name: simpleFadeIn;
    animation-duration: 0.4s;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

/* Ensure no vertical jump on the row itself by handling it in keyframes, not here */
.step_item.fadeUpFirst {
    /* transform property removed to allow animation to function */
}

.career_step_bg {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: calc(20 * var(--base)) 0 calc(6 * var(--base)) 0;
}

.career_step_bg_image {
    --bg-w: 65%;
    --bg-h: 100%;
    object-fit: fill;
    width: var(--bg-w);
    height: 100%;
}

.bottom_nav {
    padding: calc(2 * var(--base));
    font-weight: 700;
}

.back_list_nav {
    display: block;
    width: fit-content;
    background-color: #000000;
    padding: calc(1.5 * var(--base)) calc(6 * var(--base));
    margin: 0 auto;
    color: #ffffff;
    font-size: calc(1 * var(--base));
}

.back_list_nav:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .back_list_nav {
        padding: calc(1.5 * var(--base)) calc(1 * var(--base));
    }
}

.page_top_link {
    display: block;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    background-color: #ffaa00;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    font-size: calc(1.5 * var(--base));
    width: calc(5 * var(--base));
    font-weight: 700;
    margin-top: calc(10 * var(--base));
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-weight: 600;
    font-variation-settings: "wght" 600;
    box-shadow: calc(0.2 * var(--base)) calc(0.2 * var(--base)) 0 #000000;
}

.page_top_img {
    position: absolute;
    left: 50%;
    bottom: 35%;
    transform: translateX(-50%);
    width: 200%;
    max-width: none;
    max-height: none;
    z-index: -1;
    transition: bottom 0.3s ease;
}

.page_top_link:hover .page_top_img {
    bottom: 50%;
}