.lightning-swiper-wrap {
    position: relative;
    margin: 0 auto;
    z-index: 2;
}

.lightning_swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    opacity: 0;
    transition: opacity .2s ease;
}

.lightning_swiper.is-swiper-ready {
    opacity: 1;
}

/* swiper内にいる間は非表示 */
.lightning_swiper>.swiper-pagination {
    opacity: 0;
    visibility: hidden;
}

/* 外に出したpagination */
.lightning-swiper-wrap .swiper-pagination {
    position: absolute;
    left: -40px;
    right: auto;
    top: auto;
    bottom: 2.5vw;
    z-index: 10;

    display: flex;
    flex-direction: column;
    gap: 10px;

    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
}

.lightning-swiper-wrap .swiper-pagination.is-ready {
    opacity: 1;
    visibility: visible;
}

.lightning-swiper-wrap .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0;
}

.ltg-slide picture img {
    height: 100%;
    vertical-align: bottom;
    object-fit: cover;
}

.ltg-slide-button-next,
.ltg-slide-button-prev {
    display: none;
}

.mini-content {
    z-index: 9;
}

section.interview_others > div >div:nth-child(3) {
    justify-content: center;
}

section.interview_others > div >div:nth-child(3) .swiper-wrapper {
    max-width: 650px;
}

@media screen and (max-width: 767px) {
    .ltg-slide {
        height: 126vw;
    }
}

/* mini-content全体 */
.mini-content-external {
    opacity: 1;
}

/* タイトル行をブロック化 */
.ltg-slide-text-title .title-line {
    display: block;
}

/* 1行目 */
.title-line-main {
    opacity: 0;
    transform: translateX(-40px);
    animation: textSlideIn 0.9s ease forwards;
    animation-delay: 0.2s;
    color: #fff;
    font-size: 2vw;
    margin-bottom: 1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 強調行の外枠 */
.title-line-highlight-wrap {
    position: relative;
    display: table;
    /* ←ここ変更 */
    width: fit-content;
    /* ←追加 */
    overflow: hidden;
    margin-top: clamp(0.16em, 0.8vw, 0.6em);
    padding: clamp(0.15em, 0.4vw, 0.35em) clamp(0.2em, 0.6vw, 0.35em);
}

/* 白帯 */
.title-line-highlight-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 1;
    animation: whiteBarGrow 0.6s ease forwards;
}

.title-line-highlight-wrap:nth-of-type(2)::before {
    animation-delay: 0.9s;
}

.title-line-highlight-wrap:nth-of-type(3)::before {
    animation-delay: 1.25s;
}

/* 白帯の上に出る文字 */
.title-line-highlight {
    font-size: 3vw;
    position: relative;
    z-index: 2;
    display: inline-block;
    opacity: 0;
    transform: translateX(-24px);
    animation: textSlideIn 0.7s ease forwards;
}

.title-line-highlight u {
    text-decoration: none;
    color: #05ABF0;
}

.title-line-highlight-wrap:nth-of-type(2) .title-line-highlight {
    animation-delay: 1.3s;
}

.title-line-highlight-wrap:nth-of-type(3) .title-line-highlight {
    animation-delay: 1.65s;
}

/* 英文 */
.ltg-slide-text-caption {
    opacity: 0;
    transform: translateX(-30px);
    animation: textSlideIn 0.9s ease forwards;
    animation-delay: 1.95s;
    margin-top: 1em;
}

.ltg-slide-text-title+.ltg-slide-text-caption {
    font-size: 16px;
    margin: 0;
    margin-top: 50px;
    color: #fff !important;
    font-weight: 700;
}

.ugokasu .fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ugokasu .fade-left.is-show {
    opacity: 1;
    transform: translateX(0);
}

/* アニメーション定義 */
@keyframes whiteBarGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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


.title-line-highlight-wrap--script {
    position: relative;
    overflow: visible;
}

.title-line-highlight-wrap--script::after {
    content: "";
    position: absolute;
    right: -400px;
    bottom: -70px;
    width: 480px;
    height: 160px;
    background: url(https://tkcnet.co.jp/careers/wp-content/themes/tk_careers_child/images/mv_italic.svg) no-repeat center / contain;
    pointer-events: none;
    z-index: 3;
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-18px) rotate(-8deg);
    transform-origin: left center;
    animation: scriptRevealMaskLeft 1s ease forwards;
    animation-delay: 1.9s;
}

@keyframes scriptRevealMaskLeft {
    0% {
        clip-path: inset(0 100% 0 0);
        transform: translateX(-18px) rotate(-8deg);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: translateX(0) rotate(-8deg);
        opacity: 1;
    }
}

.lightning-swiper-wrap .swiper-pagination::before {
    content: "Tokyo Aviation Cleaning RECRUIT";
    white-space: pre;
    font-family: "Jost", sans-serif;

    position: absolute;
    bottom: 60px;
    /* paginationの上 */
    left: 0;

    writing-mode: vertical-rl;
    text-orientation: mixed;

    font-size: clamp(12px, 1.2vw, 16px);
    letter-spacing: 0.1em;

    color: #333;
    font-size: 14px;
}

.page-slide-text {
    font-size: 18px !important;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.page-slide-text span {
    background: #05ABF0;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 0em 2em;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.page-slide-image {
    position: relative;
    border-radius: 20px;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.5);
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.page-slide-image img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: cover;
    transform: scale(1.01);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 白オーバーレイ */
.page-slide-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.page-slide-image-shadow {
    padding: 10px;
    transition: transform 0.3s ease;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.custom-page-slider .page-slide-card:hover .page-slide-image-shadow {
    transform: scale(0.96);
}

.custom-page-slider .page-slide-card:hover .page-slide-image::after {
    opacity: 1;
}

body.home .e-child:has(.custom-page-slider) {
    margin-left: 75px;
    padding: 0;
}

@media screen and (max-width: 767px) {
    body.home .e-child:has(.custom-page-slider) {
        margin-left: 0;
    }

}