@charset "UTF-8";

/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --blue-primary: #0068b6;
    --blue-dark: #004a82;
    --text-color: #333333;
    --bg-light: #f9f9f9;
    --font-en: 'Oswald', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-jp);
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.8;
    padding-top: 90px;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.rc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.rc-container.narrow { max-width: 800px; }
.rc-section { padding: 100px 0; position: relative; overflow: hidden; }
.txt-blue { color: var(--blue-primary); }

/* PCのみ改行を有効 */
.pc-only { display: block; }


/* =========================================
   Header
   ========================================= */
.rc-header {
    position: fixed;
    width: 100%;
    height: 90px;
    top: 0; left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}
.rc-header-inner { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue-primary);
    color: #fff;
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid var(--blue-primary);
    position: relative;
    overflow: hidden;
}
.header-entry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.header-entry-btn:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 104, 182, 0.3);
}
.header-entry-btn:hover::before {
    left: 100%;
}

.logo-group { display: flex; align-items: center; gap: 20px; }
.header-logo-img { height: 44px; width: auto; }
.logo-box:hover { opacity: 0.7; }

.site-name-jp {
    font-size: 0.8rem;
    font-weight: 500;
    color: #444;
    border-left: 1px solid #ccc;
    padding-left: 15px;
    height: 24px;
    display: flex;
    align-items: center;
}

.header-back-btn {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px 24px;
    border-radius: 4px;
    background: #fff;
    transition: 0.3s;
    height: 100%;
}
.header-back-btn:hover { 
    background-color: #f5f5f5; 
    color: var(--blue-primary); 
    border-color: #ccc;
}
.btn-arrow { margin-right: 10px; font-weight: 400; display: inline-block; transition: transform 0.3s ease; }
.header-back-btn:hover .btn-arrow { transform: translateX(-4px); }

@media (max-width: 767px) {
    .rc-header { padding: 0 15px; height: 70px; }
    body { padding-top: 70px; }
    .header-actions {gap: 8px; }
    .site-name-jp { display: none; }
    .header-logo-img { height: 32px; }
    .header-entry-btn {padding: 8px 12px; font-size: 0.75rem; }
    .header-back-btn { padding: 8px 12px; font-size: 0.75rem; }
}

/* =========================================
   Main Visual
   ========================================= */
.mv-split {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.mv-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    display: flex;
}
.mv-bg-blue {
    width: 60%;
    height: 100%;
    background-color: var(--blue-primary);
    position: relative;
    z-index: 1;
}
.mv-bg-blue::after {
    content: '';
    position: absolute;
    top: 0; right: -100px;
    width: 200px; height: 100%;
    background-color: var(--blue-primary);
    transform-origin: top right;
    transform: skewX(-15deg);
    z-index: 1;
}
.mv-bg-img {
    width: 40%;
    height: 100%;
    flex-grow: 1;
    position: relative;
    z-index: 0;
    background-color: #f0f0f0;
}
.mv-woman-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: brightness(105%) contrast(90%) saturate(95%) sepia(5%);
    transition: transform 0.6s ease, filter 0.3s ease;
}
.mv-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 100%;
    margin: 0;
    padding-left: 8%; 
    gap: 15vh;
}
.typo-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}
.mv-split .typo-line {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-shadow: none;
    font-size: 6vw;
    display: block;
    clip-path: inset(0 100% 0 0);
    animation: mv-revealText 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.mv-split .typo-line:nth-child(2) { animation-delay: 0.5s; }

.mv-split .typo-recruit {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 2.2vw;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(15px);
    animation: mv-fadeSlideUp 1.2s ease forwards;
    animation-delay: 1.2s;
}
.mv-split .mv-sub-text {
    position: relative;
    padding-top: 20px;
    width: 40%;
    opacity: 0;
    animation: mv-fadeIn 1.2s ease forwards;
    animation-delay: 1.8s;
}
.mv-split .mv-sub-text::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 1px;
    background: rgba(255, 255, 255, 0.4);
    animation: mv-expandLine 1.2s ease forwards;
    animation-delay: 1.5s;
}
.mv-split .mv-sub-text .sub-en {
    font-family: 'Montserrat', sans-serif;
    display: block;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    animation: mv-slideInLeft 1s ease forwards;
    animation-delay: 2.0s;
}
.mv-split .mv-sub-text .sub-jp {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.9;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(15px);
    animation: mv-fadeSlideUp 1s ease forwards;
    animation-delay: 2.4s;
}
.mv-split .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    opacity: 0;
    animation: mv-fadeIn 1s ease forwards;
    animation-delay: 3.0s;
}
.mv-split .scroll-indicator > span {
    animation: mv-pulse 2.5s ease-in-out infinite;
    animation-delay: 3.5s;
}
.mv-split .scroll-indicator .line {
    width: 2px; height: 40px;
    background: #fff;
    margin-top: 10px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes mv-revealText {
    0% { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}
@keyframes mv-fadeSlideUp {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes mv-fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes mv-slideInLeft {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes mv-expandLine {
    0% { width: 0; }
    100% { width: 40%; }
}
@keyframes mv-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .mv-split { height: 80vh; min-height: 400px; }
    .mv-split .mv-typo-box { width: 95%; }

    .mv-split .typo-line { 
        font-size: 7.5vw;
        letter-spacing: -0.01em;
        line-height: 1.0;
        animation-duration: 1.1s; 
    }
    .mv-split .typo-line:nth-child(2) { animation-delay: 0.4s; }
    
    .mv-split .typo-recruit { 
        font-size: 3vw; 
        letter-spacing: 0.15em;
        animation-duration: 1s; animation-delay: 1.0s; 
    }

    .mv-split .mv-sub-text { 
        width: 95%;
        padding-top: 15px; 
        animation-duration: 1s; animation-delay: 1.5s; 
    }
    .mv-split .mv-sub-text::before { width: 40%; animation-duration: 1s; animation-delay: 1.2s; }
    
    .mv-split .mv-sub-text .sub-en { 
        font-size: 3vw; 
        letter-spacing: 0.1em;
        animation-duration: 0.8s; animation-delay: 1.6s; 
    }
    .mv-split .mv-sub-text .sub-jp { 
        font-size: 3vw; 
        white-space: nowrap; 
        letter-spacing: 0;
        animation-duration: 0.8s; animation-delay: 1.9s; 
    }
    
    .mv-split .scroll-indicator { bottom: 20px; animation-delay: 2.4s; }

    .mv-bg { flex-direction: row; }
    .mv-bg-blue { width: 40%; display: block; }
    .mv-bg-img { width: 60%; }
    .mv-woman-img { object-fit: cover; object-position: 40% top; }
    
    .mv-content { padding-left: 20px; gap: 10vh; justify-content: center; }
}

@media (max-width: 375px) {
    .rc-header { 
        padding: 0 10px; 
    }
    .header-logo-img { 
        height: 26px; 
    }
    .header-actions { 
        gap: 4px; 
    }
    .header-entry-btn { 
        padding: 6px 8px; 
        font-size: 0.65rem;
        letter-spacing: -0.05em;
    }
    .header-back-btn { 
        padding: 6px 8px; 
        font-size: 0.65rem; 
        letter-spacing: -0.05em;
    }
    .btn-arrow { 
        margin-right: 4px; 
    }
    .mv-split .typo-line { font-size: 7vw; }
    .mv-split .mv-sub-text .sub-jp { font-size: 2.8vw; }
}


/* =========================================
   About
   ========================================= */
.rc-about {
    background-color: #f9f9f9;
    padding: 100px 0;
}
.about-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.about-left {
    width: 45%;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: flex-end;
}
.about-visual-text {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 700;
    color: #ddd;
    line-height: 1.1;
    text-align: right;
    width: 100%;
    margin-top: -5px;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.about-img-box {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    margin-left: auto;
    margin-top: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(105%) contrast(90%) saturate(95%) sepia(5%);
    transition: transform 0.6s ease, filter 0.3s ease;
}
.rc-about:hover .about-img {
    filter: brightness(105%) contrast(95%) saturate(95%) sepia(5%);
    transform: scale(1.05);
}
.about-right {
    width: 50%;
    border-left: 1px solid #ccc;
    padding-left: 60px;
    padding-top: 0px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.about-header { margin-bottom: 30px; }
.about-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    line-height: 1;
    margin-bottom: 10px;
}
.about-sub {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    display: block;
}
.about-body p {
    font-size: 0.9rem;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}
.about-btn-wrapper { margin-top: 20px; }

.about-btn {
    display: inline-block;
    background-color: var(--blue-primary);
    color: #fff;
    padding: 14px 50px;
    border-radius: 50px;
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 104, 182, 0.2);
    position: relative;
    overflow: hidden;
    padding-right: 60px;
}
.about-btn::after {
    content: '→';
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    opacity: 0;
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 400;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.about-btn:hover {
    background-color: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 104, 182, 0.3);
    padding-left: 40px;
    padding-right: 70px;
}
.about-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .about-grid { flex-direction: column; }
    .about-left { width: 100%; align-items: center; margin-bottom: 40px; }
    .about-visual-text { text-align: center; font-size: 2.5rem; margin-top: 0; margin-bottom: 15px; }
    .about-img-box { max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin-left: 0; margin-top: 0; }
    
    .about-right { width: 100%; border-left: none; border-top: 1px solid #ddd; padding-left: 0; padding-top: 40px; }
    .about-btn { width: 100%; padding-right: 50px; }
    .about-btn:hover { padding-left: 24px; padding-right: 55px; }
    .about-btn::after { right: 25px; }
}


/* =========================================
   Gate Section
   ========================================= */
.rc-gate { background: #fff; padding: 150px 0; }
.gate-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 120px;
    gap: 60px;
}
.gate-row:last-child { margin-bottom: 0; }

.gate-visual { width: 48%; position: relative; }
.gate-text { width: 45%; }

.gate-head-local {
    margin-bottom: 20px;
    margin-top: 0; 
    border-left: 5px solid var(--blue-primary);
    padding-left: 15px;
    line-height: 1;
}
.gate-head-local .en-label {
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--blue-primary);
    letter-spacing: 0.2em;
    font-weight: 600;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}
.gate-head-local .jp-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    margin: 0;
}

.gate-img-box {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.gate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
}
.gate-visual:hover .gate-img { transform: scale(1.05); }

.gate-catch {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-color);
    margin-top: 0;
}
.gate-body p {
    font-size: 0.9rem;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.gate-profile {
    margin-top: 20px; margin-bottom: 0; text-align: right;
}
.gate-role { font-size: 0.8rem; color: #666; margin-bottom: 2px; }
.gate-name { font-size: 1.2rem; font-weight: 700; transition: color 0.3s ease; }
.gate-profile:hover .gate-name { color: var(--blue-primary); }

@media (max-width: 768px) {
    .gate-row { flex-direction: column; margin-bottom: 80px; gap: 30px; align-items: flex-start; }
    .gate-visual, .gate-text { width: 100%; }
    .gate-visual { margin-bottom: 0; }
    .gate-head-local .jp-title { font-size: 1.6rem; }
    .gate-catch { font-size: 1.3rem; margin-bottom: 20px; }
    .gate-body p, .about-body p { font-size: 0.85rem; }
    .gate-img-box { height: auto; aspect-ratio: 16 / 9; }
    
    .gate-row.reverse .gate-visual { order: 1; }
    .gate-row.reverse .gate-text { order: 2; }
}


/* =========================================
   Staff Section (Matrix)
   ========================================= */
.rc-staff { background: #f9f9f9; padding: 100px 0; }
.staff-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.staff-text-area { width: 45%; }
.staff-head-group { margin-bottom: 20px; }
.staff-label-jp { display: block; font-size: 0.9rem; font-weight: 700; color: #666; margin-bottom: 5px; }
.staff-title-en {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1;
}
.staff-catch {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-color);
}
.staff-desc {
    font-size: 0.9rem;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
    text-align: justify;
}
.staff-btn-area { margin-top: 20px; }
.staff-btn-area.has-balloon {
    position: relative;
    display: inline-block;
    margin-top: 35px;
}
.btn-balloon {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff9c4;
    color: var(--blue-primary);
    border: 1px solid var(--blue-primary);
    
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 4px;
    white-space: nowrap;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: balloonFloat 2s ease-in-out infinite;
    z-index: 10;
}
.btn-balloon::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 6px solid var(--blue-primary);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
}
@keyframes balloonFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-5px); }
}
@media (max-width: 768px) {
    .staff-btn-area.has-balloon {
        display: block;
        text-align: center;
        margin-top: 70px;
    }
}

.staff-img-grid {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
}
.staff-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background-color: #f0f2f5;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.staff-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(105%) contrast(95%);
}
.staff-img-box:hover .staff-img { 
    transform: scale(1.1); 
}
.staff-img-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 10%, rgba(134, 187, 228, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;   
}
.staff-img-box:hover::after { opacity: 1; }

.rc-staff.is-active .staff-img-box { opacity: 1; transform: scale(1); }
.rc-staff.is-active .staff-img-box:nth-child(1) { transition-delay: 0.1s; }
.rc-staff.is-active .staff-img-box:nth-child(2) { transition-delay: 0.25s; }
.rc-staff.is-active .staff-img-box:nth-child(3) { transition-delay: 0.4s; }
.rc-staff.is-active .staff-img-box:nth-child(4) { transition-delay: 0.55s; }

.rc-staff .staff-head-group,
.rc-staff .staff-catch,
.rc-staff .staff-desc,
.rc-staff .staff-btn-area {
    opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.rc-staff.is-active .staff-head-group { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.rc-staff.is-active .staff-catch { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.rc-staff.is-active .staff-desc { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.rc-staff.is-active .staff-btn-area { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

@media (max-width: 768px) {
    .staff-wrapper { flex-direction: column; gap: 40px; }
    .staff-text-area, .staff-img-grid { width: 100%; }
    .staff-title-en { font-size: 2.5rem; }
    .staff-catch { font-size: 1.3rem; }
    .staff-desc { font-size: 0.85rem; }
    .staff-img-grid { aspect-ratio: 1 / 1; }
    .rc-staff.is-active .staff-img-box:nth-child(1) { transition-delay: 0.05s; }
    .rc-staff.is-active .staff-img-box:nth-child(2) { transition-delay: 0.15s; }
    .rc-staff.is-active .staff-img-box:nth-child(3) { transition-delay: 0.25s; }
    .rc-staff.is-active .staff-img-box:nth-child(4) { transition-delay: 0.35s; }
}


/* =========================================
   JOIN OUR TEAM
   ========================================= */
.footer-entry-area {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 50%, #e8f4ff 100%);
    position: relative; 
    overflow: hidden;
}
.footer-entry-area::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 150px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
    z-index: 2;
}
.footer-entry-area .rc-container::before {
    content: '';
    position: absolute;
    top: -100px; left: -50px; right: -50px; bottom: -100px;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 104, 182, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}
.footer-entry-area .rc-container > * { position: relative; z-index: 1; }

.footer-entry-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--blue-primary);
    line-height: 1;
    margin-bottom: 10px;
}
.footer-entry-text {
    font-size: 1rem; color: #666; margin-bottom: 50px; line-height: 2;
}
.join-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.join-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48%; height: 280px;
    border-radius: 12px;
    transition: 0.3s;
    background: #fdfdfd;
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    box-sizing: border-box;
    padding: 0 30px;
}
.join-card.type-coming-soon {
    border: 2px solid #e0e0e0;
    cursor: default;
    pointer-events: none;
}
.cs-badge {
    position: absolute;
    top: -16px; left: 50%; transform: translateX(-50%);
    background: #666; color: #fff;
    font-family: var(--font-en);
    font-size: 0.9rem; font-weight: 600;
    padding: 5px 20px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    z-index: 2;
    white-space: nowrap;
    animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 102, 102, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(102, 102, 102, 0); }
}

.cs-inner { text-align: center; opacity: 0.6; width: 100%; }
.cs-title {
    font-size: 1.8rem; font-weight: 700; color: #999;
    margin-bottom: 8px; letter-spacing: 0.05em; line-height: 1.2;
}
.cs-text { font-size: 1rem; color: #aaa; font-weight: 500; }

.join-card.type-link {
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    z-index: 1;
    overflow: hidden;
}
.join-card.type-link::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}
.join-card.type-link:hover::after { left: 150%; }
.join-card.type-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px; padding: 2px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.join-card.type-link:hover::before { opacity: 1; }
.join-card.type-link:hover { border-color: transparent; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 104, 182, 0.15); }

.jc-icon-box { margin-bottom: 15px; color: #ccc; transition: 0.3s; line-height: 1; }
.jc-icon { width: 50px; height: 50px; stroke-width: 1.2px; }
.join-card.type-link:hover .jc-icon-box { color: var(--blue-primary); animation: iconPulse 0.6s ease; }
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

.jc-title {
    font-size: 1.5rem; font-weight: 500; color: #333;
    margin-bottom: -5px; letter-spacing: 0.1em;
}
.jc-sub {
    font-family: var(--font-en); font-size: 0.85rem; color: #999;
    letter-spacing: 0.1em; margin-bottom: 18px;
}

.jc-arrow {
    width: 44px; height: 44px;
    border: 1px solid #ddd; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #999; font-family: var(--font-en); font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.jc-arrow .arrow-icon { display: inline-block; transition: transform 0.4s ease; }
.join-card.type-link:hover .jc-arrow {
    background: var(--blue-primary); border-color: var(--blue-primary); color: #fff;
}
.join-card.type-link:hover .jc-arrow .arrow-icon { transform: translateX(4px) rotate(-45deg); }

.footer-entry-area .footer-entry-title,
.footer-entry-area .footer-entry-text,
.footer-entry-area .join-card {
    opacity: 0; transform: translateY(25px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.footer-entry-area.is-active .footer-entry-title { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.footer-entry-area.is-active .footer-entry-text { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.footer-entry-area.is-active .join-card:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.footer-entry-area.is-active .join-card:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

@media (max-width: 768px) {
    .join-grid { flex-direction: column; align-items: center; gap: 30px; }
    .join-card {
        width: 85%; max-width: 340px; height: 220px;
        padding: 0 20px; margin-left: auto; margin-right: auto;
    }
    .cs-title { font-size: 1.5rem; }
    .jc-title { font-size: 1.4rem; }
    .cs-badge { font-size: 0.8rem; padding: 4px 16px; }

    .pc-only { display: none; }
    
    .footer-entry-area::before { width: 100px; }
    .footer-entry-area.is-active .join-card:nth-child(1) { transition-delay: 0.2s; }
    .footer-entry-area.is-active .join-card:nth-child(2) { transition-delay: 0.35s; }
    .footer-entry-area .rc-container::before { background-size: 25px 25px; }
}


/* =========================================
   News, Footer (Common)
   ========================================= */
.rc-news { background: #fff; padding: 80px 0; }
.news-wrapper { display: flex; align-items: flex-start; }
.sec-head-side { width: 200px; flex-shrink: 0; }
.en-bg { display: block; font-family: var(--font-en); font-size: 4rem; color: #f0f0f0; font-weight: 700; line-height: 1; margin-bottom: -20px; margin-left: -5px; }
.sec-title { font-size: 1.5rem; font-weight: 700; position: relative; color: var(--blue-primary); }

.rc-news-list { flex-grow: 1; border-top: 2px solid var(--blue-primary); }
.rc-news-list li {
    display: flex; align-items: center; padding: 20px 0; border-bottom: 1px solid #eee;
    opacity: 0; transform: translateY(25px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.rc-news-list .date { font-family: var(--font-en); font-weight: 600; margin-right: 20px; color: var(--blue-primary); }
.rc-news-list .tag { background: #eee; color: #333; font-size: 0.7rem; padding: 3px 10px; margin-right: 20px; border-radius: 2px; transition: 0.3s; }
.rc-news-list .text {
    position: relative; display: inline;
    background: linear-gradient(to right, var(--blue-primary), var(--blue-primary)) no-repeat;
    background-size: 0% 1px; background-position: left bottom;
    transition: background-size 0.4s ease, color 0.3s ease; padding-bottom: 2px;
}
.rc-news-list li:hover .text { background-size: 100% 1px; color: var(--blue-primary); }
.rc-news-list li:hover .date { color: var(--blue-dark); }
.rc-news-list li:hover .tag { background: var(--blue-primary); color: #fff; }
.rc-news.is-active .rc-news-list li { opacity: 1; transform: translateY(0); }
.rc-news.is-active .rc-news-list li:nth-child(1) { transition-delay: 0.1s; }
.rc-news.is-active .rc-news-list li:nth-child(2) { transition-delay: 0.25s; }

.footer-links-area { padding: 80px 0 40px; background: #1a1a1a; color: #ccc; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.f-logo { font-family: var(--font-en); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.f-head { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 20px; border-bottom: 2px solid var(--blue-primary); display: inline-block; }

.f-list li { overflow: hidden; }
.f-list a {
    position: relative; display: inline-block; padding-left: 0; color: #999; font-size: 0.9rem;
    transition: padding-left 0.3s ease, color 0.3s ease;
}
.f-list a::before {
    content: '›'; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
    opacity: 0; font-size: 1.1rem; color: var(--blue-primary);
    transition: left 0.3s ease, opacity 0.3s ease;
}
.f-list a:hover { padding-left: 15px; color: #fff; }
.f-list a:hover::before { left: 0; opacity: 1; }

.footer-bottom { border-top: 1px solid #333; padding-top: 30px; text-align: center; }
.copyright { font-size: 0.75rem; color: #555; font-family: var(--font-en); }

.f-corp-link { position: relative; display: inline-block; padding-bottom: 2px; transition: color 0.3s ease; }
.f-corp-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--blue-primary); transition: width 0.4s ease; }
.f-corp-link:hover { color: var(--blue-primary); }
.f-corp-link:hover::after { width: 100%; }


@media (max-width: 768px) {
    .news-wrapper { flex-direction: column; }
    .gate-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .f-list a { padding: 8px 0; }
    .f-list a:hover { padding-left: 12px; }
    
    .rc-news.is-active .rc-news-list li:nth-child(1) { transition-delay: 0.05s; }
    .rc-news.is-active .rc-news-list li:nth-child(2) { transition-delay: 0.15s; }
}

img.no-save {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}


/* =========================================
   Scroll Animation (Generic)
   ========================================= */
.js-scroll-animate {
    opacity: 0;
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
    will-change: opacity, transform;
}
.js-fade-up { transform: translateY(40px); }
.js-fade-in { transform: translateY(0); }

/* Active State */
.js-fade-up.is-active { opacity: 1; transform: translateY(0); }
.js-fade-in.is-active { opacity: 1; }
.delay-100.is-active { transition-delay: 0.1s; }


/* =========================================
   Accessibility
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
}

/* =========================================
   Coming Soon Badge Button (Temporary)
   ========================================= */
/* View Moreボタンの代わりに一時的に使用する */
.btn-coming-soon {
    display: inline-block;
    background: #666;
    color: #fff;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 50px; 
    border-radius: 50px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    cursor: default;
    pointer-events: none;
    opacity: 0.9;
    animation: badgePulse 2.5s ease-in-out infinite;
}