/* ------------------------------
    RECRUIT students
--------------------------------*/
.mo-recruit-students .p-recruit {
    margin: 135px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit {
        margin: 188px 0 0;
    }
}

.mo-recruit-students  .c-hdg-section--highlighted .c-hdg-section__main {
    margin: 15px 0 0;
    line-height: 0.8;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .mo-recruit-students  .c-hdg-section--highlighted .c-hdg-section__main {
        margin: 16px 0 0 -12px;
        flex-direction: row;
    }
}

.mo-recruit-students  .c-hdg-section--highlighted .c-hdg-section__sub {
    letter-spacing: 0;
}

.mo-recruit-students  .c-hdg-section--highlighted .c-hdg-section__main > span {
    display: flex;
}

/* mv */
.mo-recruit-students .p-recruit .p-recruit__img {
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin-top: 28px;
    position: relative;
    aspect-ratio: 750/710;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit .p-recruit__img {
        aspect-ratio: 1600/550;
        margin: 100px 0 0;
    }
}

.mo-recruit-students .p-recruit .p-recruit__img .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mo-recruit-students .p-recruit .p-recruit__img .l-container {
    position: relative;
    width: 100%;
}

.mo-recruit-students .p-recruit .p-recruit__img .l-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-white01) 0%, rgba(255, 255, 255, 40%) 100%);
    z-index: 1;
    opacity: .9;
}

.mo-recruit-students .p-recruit .p-recruit__img .txt {
    width: 100%;
}

.mo-recruit-students .p-recruit .p-recruit__img .txt > span {
    position: relative;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.5;
    display: block;
    width: 101%;
    height: 100%;
    padding: 28px 0;
    z-index: 1;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit .p-recruit__img .txt > span {
        padding: 56px 50px;
        font-size: 36px;
        max-width: 1380px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .mo-recruit-students .p-recruit .p-recruit__img .txt > span span {
        display: inline-block;
    }
}

/* interview */
.mo-recruit-students .p-recruit__interview {
    margin: 66px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit .p-recruit__interview {
        margin: 172px 0 0;
    }
}

.mo-recruit-students .p-recruit__interview .interviews {
    width: 100%;
    margin: 32px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interviews {
        width: 100%;
        background-color: transparent;
        margin: 70px 0 0;
    }
}

.mo-recruit-students .p-recruit__interview .interview {
    position: relative;
    width: 100%;
    aspect-ratio: unset;
    background-color: var(--color-white01);
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: calc(50% + 2px);
        height: 100%;
        z-index:2;
        background: linear-gradient(90deg,rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.8) 80%, rgba(255, 255, 255, 0.9) 90%, rgba(255, 255, 255, 1) 100%);
    }

    .mo-recruit-students .p-recruit__interview .interview.right::before {
        left: auto;
        right: 0;
        background: linear-gradient(-90deg,rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.8) 80%, rgba(255, 255, 255, 0.9) 90%, rgba(255, 255, 255, 1) 100%);
    }
}

.mo-recruit-students .p-recruit__interview .interview .img {
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .img {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        overflow: hidden;
        z-index: 1;
    }

    .mo-recruit-students .p-recruit__interview .interview.right .img {
        left: auto;
        right: 0;
    }

    .mo-recruit-students .p-recruit__interview .interview img {
        height: 100%;
        object-fit: cover;
        object-position: top;
    }
}

.mo-recruit-students .p-recruit__interview .interview .l-container {
    height: 100%;
    background-color: var(--color-white01);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .l-container {
        background-color: transparent;
        padding-inline: 40px;
    }
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .l-container__inner {
        height: 100%;
        max-width: 1600px;
        display: flex;
        align-items: center;
        padding-inline: 40px;
    }
}

.mo-recruit-students .p-recruit__interview .interview .interview__detail {
    width: 100%;
    height: 100%;
    padding: 15px 0 46px;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .interview__detail {
        width: fit-content;
        max-width: 50%;
        min-height: 27vw;
        margin-inline: auto 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        flex-direction: column;
        background-color: transparent;
        padding: 54px 0 20px;
    }

    .mo-recruit-students .p-recruit__interview .interview.right .interview__detail {
        margin-inline: 0 auto;
        align-items: flex-start;
    }
}

.mo-recruit-students .p-recruit__interview .interview .type {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .12em;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .type {
        font-size: 20px;
    }
}

.mo-recruit-students .p-recruit__interview .interview .txt {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.5;
    letter-spacing: .12em;
    margin: 5px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .txt {
        font-size: 32px;
        margin: 50px 0 0;
        text-align: right;
    }
    .mo-recruit-students .p-recruit__interview .interview.right .txt {
        text-align: left;
    }
}

.mo-recruit-students .p-recruit__interview .interview .box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 10px;
    margin: 13px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .box {
        grid-template-columns: 1fr auto;
        gap: 10px 10px;
        margin: 30px 0 0;
    }

    .mo-recruit-students .p-recruit__interview .interview.right .box {
        grid-template-columns: auto 1fr;
    }
}

.mo-recruit-students .p-recruit__interview .interview .name {
    font-size: 12px;
	font-family: var(--font-serif);
    line-height: 2;
    letter-spacing: .06em;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .name {
        font-size: 20px;
        line-height: 1.5;
        letter-spacing: .12em;
        grid-column: 1/-1;
    }
}

.mo-recruit-students .p-recruit__interview .interview .year {
    font-size: 12px;
    line-height: 2;
    letter-spacing: .06em;
    width: fit-content;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .year {
        font-size: 14px;
        line-height: 2;
        margin-inline: auto 0;
    }
}

.mo-recruit-students .p-recruit__interview .interview .tag {
    font-size: 9px;
    line-height: 1;
    letter-spacing: .06em;
    font-weight: 500;
    color: var(--color-red02);
    border: 1px solid var(--color-red02);
    padding: 4px 3px;
    height: fit-content;
    width: fit-content;
    grid-column: 1/-1;
    grid-row: 2/3;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interview .tag {
        font-size: 14px;
        letter-spacing: 0;
        padding: 7px 10px;
        grid-column: 2/3;
    }
}

.mo-recruit-students .p-recruit__interview .c-btn-more--theme-black {
    margin: 20px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .c-btn-more--theme-black {
        margin: 60px 0 0;
    }
}

.mo-recruit-students .p-recruit__interview .interviews .c-btn-primary {
    margin: 30px auto 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit__interview .interviews .c-btn-primary {
        margin: 80px auto 0;
    }
}

/* accordion btn */
.mo-recruit-students .ac-btn {
    position: relative;
}

.mo-recruit-students .ac-btn .btn__icon-toggle {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%)
}

.mo-recruit-students .ac-btn .btn__icon-toggle {
    width: 15px;
    height: 15px
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .ac-btn .btn__icon-toggle {
        width: 15px;
        height: 15px;
    }
}

.mo-recruit-students .ac-btn .btn__icon-toggle:before,
.mo-recruit-students .ac-btn .btn__icon-toggle:after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
    background: var(--color-black);
    transition: background 0.3s, opacity 0.15s;
}

@media (hover: hover) and (pointer: fine) {
    .mo-recruit-students .ac-btn:hover .btn__icon-toggle:before,
    .mo-recruit-students .ac-btn:hover .btn__icon-toggle::after {
        background: var(--color-white01);
    }
}

.mo-recruit-students .ac-btn.is-active .btn__icon-toggle::after {
    opacity: 0;
}

.mo-recruit-students .ac-btn .btn__icon-toggle:after {
    transform: rotate(90deg)
}

/* accordion */
[data-ac-tgt] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s;
}

[data-ac-tgt].is-active {
    grid-template-rows: 1fr;
}

[data-ac-tgt] .acinner {
    overflow: hidden;
}

/* recruitment type */
.mo-recruit-students .p-recruit .p-stepup {
    margin: 69px auto 0;
    padding: 25px 0 0;
    background-color: var(--color-white01);
    width: calc(100% - 20px);
}

@media (min-width: 768px) {
    .mo-recruit-students .p-recruit .p-stepup {
        margin: 180px 0 0;
        padding: 112px 0 121px;
        width: 100%;
    }
}

/* sp */
@media (max-width: 767px) {
    .mo-recruit-students .p-recruit .p-stepup .l-container {
        padding: 0 10px;
    }
}

/* thought */
/* 小見出しセクション */
.c-subhdg-section .c-hdg-section__inner::after {
    display: none;
}

@media screen and (min-width: 768px) {
    .c-subhdg-section .c-hdg-section__sub {
        letter-spacing: 0;
    }
}

.c-lead-section {
    margin-top: 11px;
    font-size: 12px;
    letter-spacing: .06em;
    line-height: 1.5;
}

@media screen and (min-width: 768px) {
    .c-lead-section {
        margin-top: 40px;
        font-size: 14px;
    }
}

.mo-recruit-students .p-stepup .c-subhdg-section .c-hdg-section__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4px 0 0;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .c-subhdg-section .c-hdg-section__main {
        flex-direction: row;
        margin: 18px 0 0;
    }
}

.mo-recruit-students .p-stepup .c-subhdg-section .c-hdg-section__main > span {
    display: flex;
    line-height: 1;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .c-subhdg-section .c-hdg-section__main > span {
        line-height: 0.8;
    }
}

.mo-recruit-students .p-stepup .stepups {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 3px;
    position: relative;
    margin: 23px 0 0;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepups {
        width: 1040px;
        margin: 30px auto 0;
        gap: 0 10px;
    }
}

.mo-recruit-students .p-stepup .stepup {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mo-recruit-students .p-stepup .stepup .stepup__inner {
    background-color: #D2D7D3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
    position: relative;
}

.mo-recruit-students .p-stepup .stepup:nth-child(4) .stepup__inner {
    background-color: #3A4348;
    color: var(--color-white01);
}

.mo-recruit-students .p-stepup .stepup:not(:nth-child(4)) .stepup__inner::after {
    content: "";
    display: block;
    width: 15px;
    height: 32px;
    background-image: url(/wp-content/themes/mecdesign/assets/images/pages/icons/icon_stepup-sp.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: calc(100% - 9px);
    bottom: calc(100% + 4px);
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup .stepup__inner {
        display: block;
        padding: 0;
        background-color: transparent;
    }

    .mo-recruit-students .p-stepup .stepup:nth-child(4) .stepup__inner {
        background-color: transparent;
        color: var(--color-black03);
    }

    .mo-recruit-students .p-stepup .stepup:not(:nth-child(4)) .stepup__inner::after {
        display: none;
    }
}

.mo-recruit-students .p-stepup .stepup .year {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .12em;
    position: relative;
}

.mo-recruit-students .p-stepup .stepup .year > span {
    font-size: 10px;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup .year {
        font-size: 24px;
        margin: 0 0 10px;
    }

    .mo-recruit-students .p-stepup .stepup .year > span {
        font-size: 20px;
    }

    .mo-recruit-students .p-stepup .stepup:not(:nth-child(4)) .year::after {
        content: "";
        display: block;
        width: 29px;
        height: 91.5px;
        background-image: url(/wp-content/themes/mecdesign/assets/images/pages/icons/icon_stepup.svg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        left: calc(100% - 14.5px);
        bottom: 0;
    }
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup .box {
        padding: 30px;
        background-color: #D2D7D3;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.mo-recruit-students .p-stepup .stepup:nth-child(1) .stepup__inner {
    height: 62px;
}

.mo-recruit-students .p-stepup .stepup:nth-child(1) .box {
    height: auto;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup:nth-child(1) .stepup__inner {
        height: auto;
    }

    .mo-recruit-students .p-stepup .stepup:nth-child(1) .box {
        height: 190px;
    }
}

.mo-recruit-students .p-stepup .stepup:nth-child(2) .stepup__inner {
    height: 88px;
}

.mo-recruit-students .p-stepup .stepup:nth-child(2) .box {
    height: auto;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup:nth-child(2) .stepup__inner {
        height: auto;
    }

    .mo-recruit-students .p-stepup .stepup:nth-child(2) .box {
        height: 270px;
    }
}

.mo-recruit-students .p-stepup .stepup:nth-child(3) .stepup__inner {
    height: 114px;
}

.mo-recruit-students .p-stepup .stepup:nth-child(3) .box {
    height: auto;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup:nth-child(3) .stepup__inner {
        height: auto;
    }

    .mo-recruit-students .p-stepup .stepup:nth-child(3) .box {
        height: 350px;
    }
}

.mo-recruit-students .p-stepup .stepup:nth-child(4) .stepup__inner {
    height: 140px;
}

.mo-recruit-students .p-stepup .stepup:nth-child(4) .box {
    background-color: transparent;
    color: var(--color-white01);
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup:nth-child(4) .stepup__inner {
        height: auto;
    }

    .mo-recruit-students .p-stepup .stepup:nth-child(4) .box {
        height: 430px;
        background-color: #3A4348;
        padding: 24px;
    }
}

.mo-recruit-students .p-stepup .stepup .role {
    display: grid;
    grid-template-columns: 1fr;
    color: var(--color-black03);
    font-family: var(--font-serif);
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: -0.1em;
    margin: 2px 0 0;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup .role {
        font-size: 22px;
        line-height: 1.5;
        letter-spacing: -0.1em;
        margin: 0;
    }
}

.mo-recruit-students .p-stepup .stepup:nth-child(4) .role {
    color: var(--color-white01);
}

.mo-recruit-students .p-stepup .stepup .role > span {
    text-align: center;
}

.mo-recruit-students .p-stepup .stepup .role > span:not(:nth-child(1))::before {
    content: "or";
    display: block;
    text-align: center;
    font-family: var(--font-serif);
    color: var(--color-white01-06);
    letter-spacing: 0;
    line-height: 2;
}

.mo-recruit-students .p-stepup .stepup .role > span > span {
    display: block;
    font-size: 8px;
    letter-spacing: .05em;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup .role > span > span {
        display: inline;
        font-size: 16px;
    }
}

.mo-recruit-students .p-stepup .stepup .txt {
    display: none;
}

@media screen and (min-width: 768px) {
    .mo-recruit-students .p-stepup .stepup .txt {
        display: block;
        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 0;
        margin: 12px 0 0;
    }
}

.mo-recruit-students .p-stepup .stepup .stepup__inner .btn__icon-toggle {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 3px;
    bottom: 3px;
    background-color: #3A4348;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mo-recruit-students .p-stepup .stepup:nth-child(4) .stepup__inner .btn__icon-toggle {
    background-color: var(--color-white01);
}

.mo-recruit-students .p-stepup .stepup .stepup__inner .btn__icon-toggle span {
    display: block;
    width: 100%;
    height: 100%;
}

.mo-recruit-students .p-stepup .stepup .stepup__inner .btn__icon-toggle::before,
.mo-recruit-students .p-stepup .stepup .stepup__inner .btn__icon-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 1px;
    content: "";
    background: var(--color-white01);
}

.mo-recruit-students .p-stepup .stepup:nth-child(4) .stepup__inner .btn__icon-toggle::before,
.mo-recruit-students .p-stepup .stepup:nth-child(4) .stepup__inner .btn__icon-toggle::after {
    background-color: #3A4348;
}

.mo-recruit-students .p-stepup .stepup .stepup__inner .btn__icon-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.mo-recruit-students .p-stepup .stepup .stepup__inner.isActive .btn__icon-toggle::after {
    display: none;
}

.mo-recruit-students .p-stepup .stepup-txt {
    grid-column: 1/-1;
}

.mo-recruit-students .p-stepup .stepup-txt > div {
    display: inline-block;
    width: 100%;
    margin-top: 25px;
    padding: 20px;
    border-radius: 6px;
    background-color: #3a4348;
}

.mo-recruit-students .p-stepup .stepup-txt > div::after {
    content: "";
    position: absolute;
    top: 0;
    border-style: solid;
    border-width: 0 7.5px 11.5px 7.5px;
    border-color: transparent transparent #3a4348;
    translate: -50% -100%;
}

.mo-recruit-students .p-stepup .stepup-txt > div:nth-child(1):after {
    left: calc(100% / 4 / 2);
}

.mo-recruit-students .p-stepup .stepup-txt > div:nth-child(2):after {
    left: calc(100% / 4 / 2 * 3);
}

.mo-recruit-students .p-stepup .stepup-txt > div:nth-child(3):after {
    left: calc(100% / 4 / 2 * 5);
}

.mo-recruit-students .p-stepup .stepup-txt > div:nth-child(4):after {
    left: calc(100% / 4 / 2 * 7);
}

.mo-recruit-students .p-stepup .stepup-txt p {
    grid-column: 1/-1;
    font-size: 11px;
    line-height: 2;
    letter-spacing: .06em;
    color: var(--color-white01);
}

/* recruitment flow */
.mo-recruit-students .p-flow {
    margin: 70px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow {
        margin: 173px 0 0;
    }
}

@media (min-width: 768px) {
    .mo-recruit-students .l-container__inner:has(.flowlist) {
        max-width: 1544px;
    }
}

.mo-recruit-students .p-flow .c-hdg-section__main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* sp */
@media (max-width: 767px) {
    .mo-recruit-students .p-flow .c-hdg-section__main {
        line-height: 1;
        margin: 4px 0 0;
    }
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow .c-hdg-section__main {
        flex-direction: row;
    }
}

.mo-recruit-students .p-flow .c-hdg-section__main > span {
    display: flex;
}

.mo-recruit-students .p-flow .flowlist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 85px 0;
    margin: 63px 0 0;
    padding: 0 18px;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow .flowlist {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0 48px;
        margin: 100px 0 0;
        padding: 0;
    }
}

.mo-recruit-students .p-flow .flow {
    position: relative;
}

.mo-recruit-students .p-flow .flow::before {
    content: attr(data-flow-num);
    position: absolute;
    top: -27px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-red01);
    border-radius: 50%;
    font-weight: 600;
    color: var(--color-white01);
    font-family: var(--font-num);
    font-size: 16.5px;
    letter-spacing: .06em;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow .flow::before {
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

.mo-recruit-students .p-flow .flow .img {
    position: static
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow .flow .img {
        position: relative;
    }
}

.mo-recruit-students .p-flow .flow:not(:last-child) .img::after {
    content: "";
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 11px solid transparent;
    border-left: 11px solid transparent;
    border-top: 16px solid var(--color-black02);
    border-bottom: 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow .flow:not(:last-child) .img::after {
        top: 50%;
        left: calc(100% + 14px);
        transform: translateY(-50%);
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-left: 20px solid var(--color-black02);
        border-right: 0;
    }
}

.mo-recruit-students .p-flow .flow .ttl {
    font-size: 20px;
    font-family: var(--font-serif);
    letter-spacing: .12em;
    line-height: 1.5;
    text-align: center;
    margin: 21px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow .flow .ttl {
        font-size: 20px;
        margin: 20px 0 0;
    }
}

.mo-recruit-students .p-flow .flow .txt {
    font-size: 12px;
    letter-spacing: .06em;
    line-height: 2;
    margin: 10px 0 0;
    width: calc(100% + 0.25em);
}

@media (min-width: 768px) {
    .mo-recruit-students .p-flow .flow .txt {
        font-size: 14px;
        margin: 10px 0 0;
        width: 100%;
    }
}

/* entry */
.mo-recruit-students .p-entry {
    margin: 53px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry {
        margin: 188px 0 0;
    }
}

.mo-recruit-students .p-entry .p-entry__loop-typography {
    overflow: hidden;
    /* transform: translateY(-12px); */
}

@media (min-width: 768px) {
    /* .mo-recruit-students .p-entry .p-entry__loop-typography {
        transform: translateY(-51px);
    } */
}

@keyframes typography-loop {
    0% {
        transform: translateZ(0)
    }

    to {
        transform: translate3d(-50%,0,0)
    }
}

.mo-recruit-students .p-entry .entry-typography {
    display: inline-flex;
    position: relative;
    z-index: -1;
    font-family: var(--font-en);
    font-size: 130px;
    font-weight: 500;
    line-height: 1;
    color: #fff9;
    letter-spacing: 0;
    white-space: nowrap;
    animation: typography-loop 80s linear infinite
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry-typography {
        font-size: 200px;
        animation-duration: 140s
    }
}

.mo-recruit-students .p-entry .entry {
    display: grid;
    grid-template-columns: 1fr;
    margin: 18px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry {
        position: relative;
        display: flex;
        justify-content: flex-start;
        margin: 10px 0 0;
    }
}

.mo-recruit-students .p-entry .entry .l-container {
    position: static;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry .l-container {
        position: absolute;
        width: 100%;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry .l-container__inner {
        /* padding-inline-end: 0; */
    }
}

.mo-recruit-students .p-entry .entry .img {
    width: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry .img {
        width: 56.2%;
        margin: 0;
    }
}

.mo-recruit-students .p-entry .entry .detail {
    width: 100%;
    display: grid;
    gap: 0;
    margin: 25px auto 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry .detail {
        margin-inline: auto 0;
        margin-block: 0 10px;
        gap: 20px 0;
        transform: translateX(55px);
        width: 40%;
    }
}

.mo-recruit-students .p-entry .entry .txt {
    font-family: var(--font-serif);
    font-size: 12px;
    letter-spacing: .06em;
    line-height: 1.5;
    text-align: center;
    margin: 18px 0 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry .txt {
        font-size: 14px;
        margin: 0;
    }
}

.mo-recruit-students .p-entry .entry .c-btn-contact {
    font-family: initial;
}

.mo-recruit-students .p-entry .entry .c-btn-contact:nth-of-type(1) {
    margin: 24px auto 0;
}

.mo-recruit-students .p-entry .entry .c-btn-contact:nth-of-type(2) {
    margin: 25px auto 0;
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry .c-btn-contact:nth-of-type(1) {
        margin: 30px auto 0;
    }

    .mo-recruit-students .p-entry .entry .c-btn-contact:nth-of-type(2) {
        margin: 10px auto 0;
    }
}

/* sp */
@media (max-width: 767px) {
    .mo-recruit-students .p-entry .entry .c-btn-contact {
        justify-content: center;
        width: 240px;
        height: 55px;
        padding: 0;
        font-size: 13px;
    }

    .mo-recruit-students .p-entry .entry .c-btn-contact__icon {
        width: 13px;
        height: 13px;
    }
}

.mo-recruit-students .p-entry .entry .c-btn-contact__icon:before {
    width: 14px;
    height: 14px;
    mask-image: url(/wp-content/themes/mecdesign/assets/images/pages/icons/icon_link.svg);
}

@media (min-width: 768px) {
    .mo-recruit-students .p-entry .entry .c-btn-contact__icon:before {
        mask-image: url(/wp-content/themes/mecdesign/assets/images/pages/icons/icon_link.svg);
    }
}


/* float-btn */
.js-init-scroll-active-btn {
    visibility: hidden;
    opacity: 0;
    transition: visibility .3s var(--ease-out-sine), opacity .3s var(--ease-out-sine)
}

.js-init-scroll-active-btn.isActive {
    visibility: visible;
    opacity: 1
}

.p-float-btn,
.p-float-btn--circle-typography {
    position: fixed;
    right: 0;
    bottom: 15px;
    z-index: 2;
    width: 137.5px;
    height: 137.5px;
    overflow: hidden
}

@media (min-width: 768px) {
    .p-float-btn,
    .p-float-btn--circle-typography {
        right: 30px;
        bottom: 30px;
        width: 196px;
        height: 196px
    }
}

.p-float-btn__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transform: translate(20px);
}

@media (min-width: 768px) {
    .p-float-btn__container {
        transform: translate(0)
    }
}

.p-float-btn__circle-typography {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none
}

.p-float-btn__circle-typography img {
    width: 137.5px;
    animation: loop-circle 30s linear infinite
}

@media (min-width: 768px) {
    .p-float-btn__circle-typography img {
        width: 193px
    }
}

.p-float-btn__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    background: #000000b3;
    border-radius: 50%
}

@media (min-width: 768px) {
    .p-float-btn__inner {
        width: 160px;
        height: 160px
    }
}

.p-float-btn__txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 0
}

@media (min-width: 768px) {
    .p-float-btn__txt {
        margin: 20px 0 0
    }
}

.p-float-btn__txt .sub-txt {
    font-family: var(--font-serif);
    font-size: 9px;
    color: #fff
}

@media (min-width: 768px) {
    .p-float-btn__txt .sub-txt {
        font-size: 11px
    }
}

.p-float-btn__txt .main-txt {
    margin: 5px 0 0;
    font-family: var(--font-en);
    font-size: 16.5px;
    font-weight: 500;
    color: #ffffffe6;
    letter-spacing: .08em
}

@media (min-width: 768px) {
    .p-float-btn__txt .main-txt {
        font-size: 22px;
        transition: letter-spacing .5s var(--ease-out-sine)
    }
}

.p-float-btn__icon {
    width: 12px;
    height: 12px;
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center
}

@media (min-width: 768px) {
    .p-float-btn__icon {
        width: 40px;
        height: 40px;
        transform: translateY(-50%) rotate(45deg);
        -webkit-mask-image: linear-gradient(#000 0%, #000 33%, transparent 33%, transparent 100%);
        mask-image: linear-gradient(#000 0%, #000 33%, transparent 33%, transparent 100%);
        -webkit-mask-size: 100% 300%;
        mask-size: 100% 300%;
        -webkit-mask-position: 0% 0%;
        mask-position: 0% 0%;
        transition: mask-position .5s var(--ease-out-sine);
        margin: 20px 0 0
    }
}

.p-float-btn__icon:before {
    width: 100%;
    height: 100%;
    background: url(/wp-content/themes/mecdesign/assets/images/pages/icons/icon_link.svg) no-repeat center/contain;
    content: ""
}

@media (min-width: 768px) {
    .p-float-btn__icon:before {
        width: 20px;
        height: 20px;
        transform: rotate(-45deg)
    }
}

.p-float-btn--circle-typography {
    pointer-events: none;
    mix-blend-mode: difference
}

@media (hover: hover) and (pointer: fine) {

    .p-float-btn:hover .p-float-btn__txt .main-txt,
    .p-float-btn--circle-typography:hover .p-float-btn__txt .main-txt {
        letter-spacing: .125em
    }

    .p-float-btn:hover .p-float-btn__icon,
    .p-float-btn--circle-typography:hover .p-float-btn__icon {
        -webkit-mask-position: 0% 150%;
        mask-position: 0% 150%
    }
}

@keyframes loop-circle {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}