/* 20250919追記：採用改修 */

/* メニューの色変更 */
.p-header-menu__nav.is-dark .p-header-menu__nav__item a {
    color: #fff;
}

.p-header-menu__nav.is-dark .p-header-menu__nav__item a:hover {
    color: #FFC612;
}

.p-header-menu__nav.is-light .p-header-menu__nav__item a {
    color: #000;
}

.p-header-menu__nav.is-light .p-header-menu__nav__item a:hover {
    color: #FFC612;
}

/* ヘッダーの色変更 */
.p-header.is-dark .is-black {
    opacity: 0;
}

.p-header.is-dark .is-white {
    opacity: 1;
}

.p-header.is-light .is-black {
    opacity: 1;
}

.p-header.is-light .is-white {
    opacity: 0;
}

/* モーダル表示時のスクロール制限（カクツキ防止） */
body[data-modal="1"] {
    /* overflow: hidden; */
    position: fixed;
    width: 100%;
    height: 100%;
    padding-right: var(--scrollbar-width, 0px);
}

/* Visibility utilities */
.sp-only {
    display: none !important;
}

@media (max-width: 767px) {
    .sp-only {
        display: initial !important;
    }

    .pc-only {
        display: none !important;
    }
}

.p-recruit-page {
    line-height: 1.6;
}

.container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Section - デスクトップ */
.p-hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1220"><rect width="1920" height="1220" fill="%23f0f0f0"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding-bottom: 100px;
}

.p-hero__image {
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/hero-bg-pc.webp') center/cover;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden; /* スローガンアニメーション完了まで完全に非表示 */
}

.p-hero__image.loaded {
    opacity: 1;
    visibility: visible; /* 読み込み完了時に表示 */
}

.p-hero__slogan {
    width: 47%;
    margin-top: 8%;
    margin-left: 11%;
    position: relative;
    z-index: 1;
    opacity: 0;
}

.p-hero__content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 6.5vw;
}

.p-hero__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.45;
    letter-spacing: -0.07em;
    color: #000;
}

.p-hero__title .highlighted-text {
    background-color: transparent;
    background-image: none;
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    padding: 0 5px;
    margin: 5px 0;
    display: inline-block;
    transition: background-size 0.6s ease-out;
}

.p-hero__title .highlighted-text.is-shown {
    background-image: linear-gradient(to right, #FFC612, #FFC612);
    background-size: 100% 100%;
}

.p-hero__message {
    color: #fff;
}

.p-hero__message p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.p-hero__message p:last-child {
    margin-bottom: 0;
}

/* Layout Section - デスクトップ */
.p-recruit-page .l-section {
    padding: 100px 0;
}

.p-recruit-page .l-section__content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

/* Component Heading - デスクトップ */
.p-recruit__section-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.07em;
    margin-bottom: 10px;
}

.p-recruit__section-title span.is-shown {
    transition: color 0.8s ease-in-out;
}

.p-recruit__section-subtitle {
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.51;
    margin-bottom: 60px;
}

/* Message Section - デスクトップ */
.p-recruit-message {
    background: #000;
    padding: 100px 0;
    color: #fff;
    background-image: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/message-bg-pc.webp');
    background-size: cover;
    background-attachment: fixed;
}

.p-recruit-message__content {
    max-width: 922px;
    width: 100%;
    margin: 0 auto;
}

.p-recruit-message__text {
    max-width: 855px;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.04em;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p-recruit-message__ceo {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
}

.p-recruit-message__ceo-image {
    background: #000;
    overflow: hidden;
}

.p-recruit-message__ceo-portrait {
    width: 160px;
    height: 200px;
}

.p-recruit-message__ceo-info h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.p-recruit-message__ceo-signature {
    width: 134px;
    height: 30px;
}

.p-recruit-message__ceo-signature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Member Section - デスクトップ */
.p-recruit-member {
    background: #000;
    color: #fff;
    padding: 100px 0;
    background-image: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/member-bg-pc.webp');
    background-size: cover;
    background-attachment: fixed;
}

.p-recruit-member .l-section__content {
    max-width: 1120px;
    width: 100%;
}

.p-recruit-member__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(258px - 40px), 1fr));
    gap: 40px;
    margin-top: 60px;
}

.c-member-card {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.c-member-card:hover {
    transform: translateY(-2px);
}

.c-member-card__image {
    width: 100%;
    height: 360px;
    border-radius: 8px;
}

.c-member-card__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.c-member-card__info {
    padding: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.c-member-card__year {
    font-family: 'Prompt', sans-serif;
    font-size: 14px;
}

.c-member-card__name {
    font-size: 20px;
    font-weight: 700;
}

.c-member-card__role {
    font-family: 'Prompt', sans-serif;
    font-size: 14px;
}

/* Personality Section - デスクトップ */
.p-recruit-personality {
    background: #f0f0f0;
    padding: 100px 0;
    background-image: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/personality-bg-pc.webp');
    background-size: cover;
    background-attachment: fixed;
}

.p-recruit-personality .l-section__content {
    max-width: 1122px;
    width: 100%;
}

.p-recruit-personality__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(33.3% - 60px), 1fr));
    gap: 60px;
    margin-top: 60px;
}

.c-personality-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.c-personality-item:nth-child(3n+2) {
    margin-top: 70px;
}

.c-personality-item:nth-child(3n+3) {
    margin-top: 140px;
}

.c-personality-item__number {
    font-family: 'Prompt', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #FFC612;
}

.c-personality-item__title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    letter-spacing: -0.07em;
    margin-top: -15px;
}

.c-personality-item__title .highlighted-text {
    background-color: transparent;
    background-image: none;
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    padding: 0 5px;
    display: inline-block;
    transition: background-size 0.6s ease-out;
}

.c-personality-item__title .highlighted-text.is-shown {
    background-image: linear-gradient(to right, #000, #000);
    background-size: 100% 100%;
}

.c-personality-item__description {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* Business Section - デスクトップ */
.p-recruit-business {
    background: #000;
    color: white;
    padding: 100px 0 160px;
}

.p-recruit-business .l-section__content {
    max-width: 1120px;
    width: 100%;
}

.p-recruit-business__grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 60px;
    border-top: 1px solid #fff;
    padding-top: 72px;
}

.c-business-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #fff;
    padding: 0 200px 72px;
    margin-bottom: 72px;
}

.c-business-item:last-child {
    margin-bottom: 0;
}

.c-business-item__title {
    order: 1;
}

.c-business-item__image {
    order: 2;
}

.c-business-item__subtitle {
    order: 3;
}

.c-business-item__description {
    order: 4;
}

.c-business-item__image {
    width: 100%;
    height: 404px;
    background: #000;
    border-radius: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.c-business-item__image iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.c-business-item__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 24px;
}

.c-business-item__title::before {
    content: "⚫︎";
    color: #FFC612;
}

.c-business-item__subtitle {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 16px;
}

.c-business-item__description {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

/* Entry Section - デスクトップ */
.p-recruit-entry {
    background-color: #000;
    padding: 100px 0;
}

.p-recruit-entry .l-section__content {
    position: relative;
    max-width: inherit;
    padding: 0;
}

.p-recruit-entry__slogan {
    width: 29%;
    position: absolute;
    top: 7vw;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, 0);
}

.p-recruit-entry__portfolio {
    display: flex;
    gap: 0;
}

.js-loop-slider__left .loop-slider__track {
    display: flex;
    gap: 0;
    will-change: transform;
    transform: translateZ(0); /* GPU加速を強制 */
    backface-visibility: hidden; /* レンダリング最適化 */
    perspective: 1000px; /* 3D空間の最適化 */
    transform-style: preserve-3d; /* 3D変換の保持 */
}

.c-portfolio-item {
    width: 28vw;
    height: 20vw;
    background: #ddd;
    transform: translateZ(0); /* 各アイテムもGPU加速 */
    backface-visibility: hidden;
}

.c-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-portfolio-item:nth-child(4n+1) img {
    object-position: right center;
}

.c-portfolio-item:nth-child(4n+4) img {
    object-position: left center;
}

.c-button--entry {
    border: none;
    width: 28.6vw;
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 8px;
}

.c-button--entry a {
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
    background: #FFC612;
    color: #000;
    padding: 20px 40px;
    transition: 0.4s ease;
}

.c-button--entry a:hover {
    background: #000;
    color: #FFC612;
    .c-button__arrow svg path {
        fill: #FFC612;
    }
}

.c-button--entry .c-button__arrow {
    display: flex;
}

.c-button--entry .c-button__arrow svg path {
    fill: #000;
}

/* Footer Logo Section - デスクトップ */
.p-footer-logo {
    height: 0;
    position: relative;
}

.p-footer-logo .l-section__content {
    overflow: hidden;
    position: absolute;
    height: 154px;
    left: 0;
    top: -80px;
    max-width: none;
}

.p-footer-logo .l-section__content .scroll-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #ADADAD;
    font-family: Prompt;
    font-size: 102px;
    font-weight: 600;
    white-space: nowrap;
    background: #ADADAD;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0.5px, transparent 0.5px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0.5px, transparent 0.5px),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.1) 0.4px, transparent 0.4px),
        radial-gradient(circle at 60% 40%, rgba(0,0,0,0.1) 0.4px, transparent 0.4px),
        radial-gradient(circle at 10% 50%, rgba(255,255,255,0.2) 0.3px, transparent 0.3px),
        radial-gradient(circle at 90% 50%, rgba(255,255,255,0.2) 0.3px, transparent 0.3px);
    background-size: 3px 3px, 4px 4px, 5px 5px, 6px 6px, 7px 7px, 8px 8px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sandstormParticles 0.1s infinite;
}

/* グリッチ効果のアニメーション */
@keyframes sandstormParticles {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
        filter: contrast(1) brightness(1);
    }
    50% {
        background-position: 1px 1px, -1px -1px, 0.5px -0.5px, -0.5px 0.5px, 1px -1px, -1px 1px;
        filter: contrast(1.1) brightness(0.95);
    }
    100% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
        filter: contrast(1) brightness(1);
    }
}

/* Member Modal */
.c-member-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.c-member-modal.is-active {
    visibility: visible;
    opacity: 1;
}

.c-member-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px) brightness(0.95);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.c-member-modal.is-active .c-member-modal__overlay {
    opacity: 1;
}

.c-member-modal__content {
    position: relative;
    background: #FFC612;
    border-radius: 8px;
    width: 250px;
    padding: 16px 25px;
    z-index: 1001;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.c-member-modal.is-active .c-member-modal__content {
    opacity: 1;
    transform: scale(1);
}

.c-member-modal__close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 36px;
    height: 36px;
}

.c-member-modal__close-btn {
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-member-modal__close-icon {
    width: 14.4px;
    height: 14.4px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.4 14.4"><path d="M13.2 1.2L1.2 13.2M1.2 1.2L13.2 13.2" stroke="%238E8E8E" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center;
    background-size: contain;
}

.c-member-modal__member-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.c-member-modal__member-details {
    width: 100%;
}

.c-member-modal__member-year {
    font-family: 'Prompt', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.51;
    color: #000;
}

.c-member-modal__member-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #000;
}

.c-member-modal__member-role {
    font-family: 'Prompt', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.51;
    color: #000;
}

.c-member-modal__comment-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

/* モバイル用のメディアクエリ */
@media (max-width: 767px) {
    .container {
        max-width: 375px;
    }

    /* Hero Section - モバイル */
    .p-hero {
        background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 375 1235"><rect width="375" height="1235" fill="%23f0f0f0"/></svg>');
        padding-bottom: 6.0rem;
        gap: 3.0rem;
    }

    .p-hero__image {
        background: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/hero-bg-sp.webp') center/cover;
    }

    .p-hero__slogan {
        width: 85%;
        margin-top: 28.7rem; /* 287px */
        margin-left: 2.7rem; /* 27px */
    }

    .p-hero__content {
        flex-direction: column;
        gap: 0;
        padding: 0 3.0rem; /* 30px */
    }

    .p-hero__title {
        font-size: 2.6rem; /* 26px */
        margin-bottom: 2.4rem; /* 24px */
    }

    .p-hero__message {
        max-width: 30.6rem; /* 306px */
    }

    .p-hero__message p {
        font-size: 1.4rem; /* 14px */
        margin-bottom: 1.6rem; /* 16px */
    }

    /* Layout Section - モバイル */
    .p-recruit-page .l-section {
        padding: 6.0rem 0; /* 60px */
    }

    .p-recruit-page .l-section__content {
        padding: 0 2.7rem; /* 27px */
    }

    /* Component Heading - モバイル */
    .p-recruit__section-title {
        font-size: 3.2rem; /* 32px */
        margin-bottom: 0.8rem; /* 8px */
    }

    .p-recruit__section-subtitle {
        font-size: 1.2rem; /* 12px */
        margin-bottom: 2.4rem; /* 24px */
    }

    /* Message Section - モバイル */
    .p-recruit-message {
        padding: 6.0rem 0; /* 60px */
        background-image: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/message-bg-sp.webp');
    }

    .p-recruit-message__content {
        padding: 0 2.7rem; /* 27px */
    }

    .p-recruit-message__text {
        font-size: 1.4rem; /* 14px */
        margin-bottom: 1.6rem; /* 16px */
    }

    .p-recruit-message__ceo {
        gap: 2.4rem; /* 24px */
        margin-top: 1.6rem; /* 16px */
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-end;
    }

    .p-recruit-message__ceo-portrait {
        width: 110px;
        height: 130px;
    }

    .p-recruit-message__ceo-info h3 {
        font-size: 1.0rem; /* 10px */
        margin-bottom: 0.8rem; /* 8px */
    }

    .p-recruit-message__ceo-signature {
        width: 97px;
        height: 22px;
    }

    /* Member Section - モバイル */
    .p-recruit-member {
        padding: 6.0rem 0 11.0rem; /* 60px */
        background-image: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/member-bg-sp.webp');
    }

    .p-recruit-member__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.4rem; /* 24px */
        margin-top: 2.4rem; /* 24px */
    }

    .c-member-card__image {
        height: 21.4rem; /* 214px */
    }

    .c-member-card:nth-child(2n) {
        top: 5.0rem; /* 50px */
    }

    .c-member-card__info {
        padding: 0.9rem; /* 9px */
    }

    .c-member-card__year {
        font-size: 1.0rem; /* 10px */
        margin-bottom: 0.5rem; /* 5px */
    }

    .c-member-card__name {
        font-size: 1.4rem; /* 14px */
        margin-bottom: 0.5rem; /* 5px */
    }

    .c-member-card__role {
        font-size: 1.0rem; /* 10px */
    }

    /* Personality Section - モバイル */
    .p-recruit-personality {
        padding: 6.0rem 0; /* 60px */
        background-image: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/personality-bg-sp.webp');
    }

    .p-recruit-personality__grid {
        grid-template-columns: 1fr;
        gap: 1.6rem; /* 16px */
        margin-top: 2.4rem; /* 24px */
    }

    .c-personality-item {
        gap: 1.6rem; /* 16px */
    }

    .c-personality-item:nth-child(3n+2) {
        margin-top: 0;
    }

    .c-personality-item:nth-child(3n+3) {
        margin-top: 0;
    }

    .c-personality-item:nth-child(2n) {
        text-align: right;
    }

    .c-personality-item__number {
        font-size: 2.4rem; /* 24px */
    }

    .c-personality-item__title {
        font-size: 2.6rem; /* 26px */
        margin-top: -1.6rem; /* 16px */
    }

    .c-personality-item__description {
        font-size: 1.4rem; /* 14px */
    }

    /* Business Section - モバイル */
    .p-recruit-business {
        padding: 6.0rem 0 8.0rem; /* 60px 0 80px */
    }

    .p-recruit-business__grid {
        grid-template-columns: 1fr;
        margin-top: 3.6rem; /* 36px */
        padding-top: 2.8rem; /* 28px */
    }

    .c-business-item {
        padding: 0 0 2.8rem; /* 28px */
        margin-bottom: 2.8rem; /* 28px */
    }

    .c-business-item__image {
        height: 17.0rem; /* 170px */
        margin-bottom: 2.4rem; /* 24px */
    }

    .c-business-item__title {
        font-size: 1.6rem; /* 16px */
        margin-bottom: 1.6rem; /* 16px */
    }

    .c-business-item__subtitle {
        font-size: 1.6rem; /* 16px */
        margin-bottom: 1.6rem; /* 16px */
    }

    .c-business-item__description {
        font-size: 1.4rem; /* 14px */
    }

    /* Entry Section - モバイル */
    .p-recruit-entry {
        padding: 6.0rem 0; /* 60px */
    }

    .p-recruit-entry .l-section__content {
        padding: 0;
    }

    .p-recruit-entry__slogan {
        width:85%;
        top: 19vw;
    }

    .p-recruit-entry__portfolio {
        display: flex !important;
    }

    .c-portfolio-item {
        width: 50vw;
        height: 130px;
    }

    .c-portfolio-item:nth-child(4n+1) img {
        object-position: inherit;
    }

    .c-portfolio-item:nth-child(4n+4) img {
        object-position: inherit;
    }

    .c-portfolio-item:nth-child(7),
    .c-portfolio-item:nth-child(8) {
        display: none;
    }

    .c-button--entry {
        width: 80%;
        font-size: 2.4rem; /* 24px */
        padding: 0;
        gap: 1.0rem; /* 10px */
        top: 50%;
        transform: translate(-50%, 35%);
    }

    .c-button--entry a {
        padding: 10px 40px;
    }

    /* Footer Logo Section - モバイル */
    .p-footer-logo .l-section__content .scroll-text {
        font-size: 5.7rem; /* 57px */
        left: -74%;
    }

}

/* iPad */
@media (min-width: 768px) and (max-width: 1024px) {

    /* iPad縦向き専用 */
    @media (orientation: portrait) {
        .p-hero__content {
            flex-direction: column;
            margin: 0 8%;
        }

        .p-recruit-personality__grid {
            grid-template-columns: repeat(auto-fit, minmax(calc(235px - 60px), 1fr));
        }

        .p-recruit-member__grid {
            grid-template-columns: repeat(auto-fit, minmax(233px, 1fr));
        }

        .c-business-item {
            padding: 0 100px 72px;
        }
    }
    /* iPad横向き専用 */
    @media (orientation: landscape) {

    }
}

/* デスクトップ */
@media (min-width: 1025px) {
    .c-member-modal__content {
        width: calc(250px * 1.5);
    }

    .c-member-modal__member-year {
        font-size: calc(10px * 1.5);
    }

    .c-member-modal__member-name {
        font-size: calc(16px * 1.5);
    }

    .c-member-modal__member-role {
        font-size: calc(10px * 1.5);
    }

    .c-member-modal__comment-text {
        font-size: calc(13px * 1.5);
    }
}

/* animation */
/* hero animation */
.radial-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/rockhearts/assets/images/recruit/lp2025/hero-bg-mask.jpg') center/cover;
    opacity: 0.2;
}

/* mask animation */
.bg-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.img a {
    display: block;
    width: 100%;
    height: 100%;
}

.bg-img, .img {
    opacity: 0;
    mask-image: linear-gradient(to bottom, #000, #000 33%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
    mask-size: 100% 300%;
    mask-position: 0 100%;
    display: block;
    will-change: mask-image;
    transform: scale(1.001) scale(1.035);
}

.img-loaded.bg-img, .img-loaded .img {
    opacity: 1;
    mask-position: 0% 0%;
    transition: mask-position 1.5s cubic-bezier(0.215, 0.61, 0.355, 1),
                transform 1.5s cubic-bezier(0.215, 0.61, 0.355, 1),
                opacity 0.5s ease;
    transform: scale(1.0);
}

.bg-img-link:hover {
    opacity: 0.8;
}


/* fadeIn animation */
.js--image-item {
    opacity: 0;
}

.js--image-item {
    transition: transform 1s, opacity 1s;
    transition-behavior: normal, normal;
    transition-duration: 1s, 1s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
    transition-property: transform, opacity;
}

.js--image-item.is-shown {
    opacity: 1;
}

/* Text Reveal animation */
.js-recruit__section-title {
    overflow: hidden;
}

.js-recruit__section-title .char {
    display: inline-block;
}

/* Loop Slider */
.js-loop-slider__left,
.js-loop-slider__right {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.js-loop-slider__left .loop-slider__track,
.js-loop-slider__right .loop-slider__track {
    display: flex;
    gap: 0;
    will-change: transform;
    transform: translateZ(0); /* GPU加速を強制 */
    backface-visibility: hidden; /* レンダリング最適化 */
    perspective: 1000px; /* 3D空間の最適化 */
    transform-style: preserve-3d; /* 3D変換の保持 */
}

/* Video Thumbnail & Player */
.c-business-item__video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    border-radius: 20px;
}

.c-video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.c-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-video-thumbnail:hover {
    opacity: 0.9;
}

.c-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 0;
    z-index: 2;
}

.c-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
}

.c-video-play-btn svg {
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.c-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-video-thumbnail.is-hidden {
    opacity: 0;
    pointer-events: none;
}