/* --------------------------------------------------------- */
/* --------------------------------------------------------- */
/* Top Page ------------------------------------------------ */
/* --------------------------------------------------------- */
/* --------------------------------------------------------- */

/* ------------------------------------- */
/* Top Hero ---------------------------- */
/* ------------------------------------- */

.hero {
    padding: 0;
    height: 100vh;
    min-height: 800px;
    display: flex;
    position: relative;
    overflow: hidden;
    background: var(--background-quaternary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, #1A3C6E 0%, #0099CC 100%);
    border-radius: 0 0 0 50%;
    transform: rotate(-10deg);
    z-index: 0;
}

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

.hero-inner {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-left: 5%;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 5%;
    padding-left: 5%;
    max-width: 650px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3d-container {
    width: 550px;
    height: 550px;
    position: relative;
    perspective: 1000px;
}

.rotating-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(20deg);
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotateX(10deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(10deg) rotateY(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cube-face.front {
    transform: translateZ(150px);
    background-image: url('https://mendix.buildsystem.jp/wp-content/uploads/2025/03/DigitalTransformation_zoom-scaled.webp');
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(150px);
    background-image: url('https://mendix.buildsystem.jp/wp-content/uploads/2025/04/Industry-technology-scaled.webp');
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(150px);
    background-image: url('https://mendix.buildsystem.jp/wp-content/uploads/2025/04/Business-team-working-scaled.webp');
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(150px);
    background-image: url('https://mendix.buildsystem.jp/wp-content/uploads/2025/04/Engineering-team-concept-scaled.webp');
}

.hero h1 {
    font-size: var(--fontSize-12xLarge);
    line-height: 1.1;
    margin-bottom: 30px;
    color: #1A3C6E;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero h1 .highlight {
    color: #0099CC;
    position: relative;
    display: inline-block;
}

.hero h1 .highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(0, 153, 204, 0.2);
    z-index: -1;
    border-radius: 10px;
}

/* アニメーション用の追加スタイル */
.hero-title {
    overflow: visible; /* アニメーション効果が見切れないように */
}

/* ハイライト部分のCSSは既存のものを使用 */
.hero h1 .highlight::after {
    transition: width 0.5s ease-out; /* スムーズなトランジション */
}

.hero p {
    font-size: var(--fontSize-3xLarge);
    margin-bottom: 40px;
    color: #505050;
    max-width: 600px;
    font-weight: 700;
    line-height: 1.4;
}

.hero p .highlight {
    color: #0099CC;
    position: relative;
    display: inline-block;
}

/* モバイル対応 */
@media (min-width: 1600px) {
    .hero-content {
        max-width: 100%;
    }
}
@media (max-width: 1200px) {    
    .hero-3d-container {
        width: 400px;
        height: 400px;
    }
}
    
@media (max-width: 992px) {
    .hero h1 {
        font-size: var(--fontSize-10xLarge);
    }
    
    .hero-inner {
        flex-direction: column;
        padding-left: 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 20px;
        margin-top: 100px;
        max-width: 100%;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    
    /* SP表示時の背景調整 */
    .hero-bg-shape {
        top: auto;
        bottom: 0;
        right: -30%;
        width: 130%;
        height: 50%;
        border-radius: 100% 100% 0 0;
        transform: rotate(0);
    }
}

@media (max-width: 768px) {    
    .hero h1 {
        font-size: var(--fontSize-6xLarge);
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: var(--fontSize-xLarge);
    }
    
    /* さらに小さい画面での背景調整 */
    .hero-bg-shape {
        height: 40%;
    }
}

/* ------------------------------------- */
/* Intervie Hero ----------------------- */
/* ------------------------------------- */

.l-interviewHero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #F3F8FC 0%, #E6F4F9 100%);
    position: relative;
    overflow: hidden;
}

.l-interviewHero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*     background: linear-gradient(135deg, rgba(243, 248, 252, 0.64) 0%, rgba(230, 244, 249, 0.64) 100%), 
                url('https://buildsystem-corp.e-adeliae-2013.com/wp-content/themes/cocoon-child-master/images/interview/img-employeeInterview01.webp') center/cover no-repeat; */
}

.l-interviewHero__bg--MY {
	background: linear-gradient(135deg, rgba(243, 248, 252, 0.64) 0%, rgba(230, 244, 249, 0.64) 100%), 
                url('../images/recruit/interview-01/img-employeeInterview-MY-pc.jpg') center/cover no-repeat;
}
.l-interviewHero__bg--KM {
	background: linear-gradient(135deg, rgba(243, 248, 252, 0.64) 0%, rgba(230, 244, 249, 0.64) 100%), 
                url('../images/recruit/interview-02/img-employeeInterview-KM-pc.webp') center/cover no-repeat;
}
.l-interviewHero__bg--MM {
	background: linear-gradient(135deg, rgba(243, 248, 252, 0.64) 0%, rgba(230, 244, 249, 0.64) 100%), 
                url('../images/recruit/interview-03/img-employeeInterview-MM-pc.jpg') center/cover no-repeat;
}

.l-interviewHero__info {
    max-width: 650px;
}

.l-interviewHero__title {
    margin-bottom: var(--space-6xLarge);
}

.l-interviewHero__english {
    margin-bottom: -12px;
    font-size: var(--fontSize-16xLarge);
    font-weight: 900;
    color: var(--text-quinary);
}

.l-interviewHero__japanese {
    margin-bottom: var(--space-large);
    font-size: var(--fontSize-2xLarge);
    font-weight: 400;
    color: var(--text-quinary);
}

.l-interviewHero__subtitle {
    font-size: var(--fontSize-5xLarge);
    color: var(--text-quinary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-4xLarge);
}

.l-interviewHero__name {
    font-size: var(--fontSize-xLarge);
    color: var(--text-quinary);
}

.l-interviewHero__position {
    font-size: var(--fontSize-3xLarge);
    font-weight: 700;
}

@media (max-width: 992px) {
    .l-interviewHero__subtitle {
        font-size: var(--fontSize-4xLarge);
    }
}

@media (max-width: 768px) {
    .l-interviewHero {
        padding: 146px 0 56px;
    }
	
	.l-interviewHero__bg--MY {
		background: linear-gradient(135deg, rgba(243, 248, 252, 0.64) 0%, rgba(230, 244, 249, 0.64) 100%), 
					url('../images/recruit/interview-01/img-employeeInterview-MY-sp.jpg') center/cover no-repeat;
	}
	.l-interviewHero__bg--KM {
		background: linear-gradient(135deg, rgba(243, 248, 252, 0.64) 0%, rgba(230, 244, 249, 0.64) 100%), 
					url('../images/recruit/interview-02/img-employeeInterview-KM-sp.webp') center/cover no-repeat;
	}
	.l-interviewHero__bg--MM {
		background: linear-gradient(135deg, rgba(243, 248, 252, 0.64) 0%, rgba(230, 244, 249, 0.64) 100%), 
					url('../images/recruit/interview-03/img-employeeInterview-MM-sp.jpg') center/cover no-repeat;
	}

    .l-interviewHero__english {
        font-size: var(--fontSize-12xLarge);
    }

    .l-interviewHero__subtitle {
        font-size: var(--fontSize-2xLarge);
    }

    .l-interviewHero__name {
        font-size: var(--fontSize-large);
    }

    .l-interviewHero__position {
        font-size: var(--fontSize-xLarge);
    }
}









/* --------------------------------------------------------- */
/* --------------------------------------------------------- */
/* Recruit Page -------------------------------------------- */
/* --------------------------------------------------------- */
/* --------------------------------------------------------- */

/* Hero Section ---------- */
.l-recruitHero {
	height: 100vh;
	min-height: 600px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.l-recruitHero__video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.l-recruitHero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(26, 60, 110, 0.8) 0%, rgba(0, 153, 204, 0.7) 100%);
	z-index: 1;
}

.l-recruitHero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: var(--text-secondary);
	max-width: 800px;
	padding: 0 20px;
}

.l-recruitHero__title {
	font-size: var(--fontSize-12xLarge);
	font-weight: 900;
	line-height: 1.2;
	margin-bottom: 30px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.l-recruitHero__subtitle {
	font-size: var(--fontSize-2xLarge);
	margin-bottom: 40px;
	opacity: 0.9;
	line-height: 1.6;
}

@media (max-width: 992px) {
	.l-recruitHero__title {
		font-size: var(--fontSize-8xLarge);
	}

	.l-recruitHero__subtitle {
		font-size: var(--fontSize-large);
	}
}

@media (max-width: 768px) {
	.l-recruitHero {
		min-height: 500px;
	}

	.l-recruitHero__title {
		font-size: var(--fontSize-6xLarge);
	}

	.c-fixedRecruitButtons {
		bottom: 20px;
		left: 20px;
		right: 20px;
		transform: none;
		width: auto;
	}

	.c-fixedRecruitButton {
		flex: 1;
		justify-content: center;
	}
}

/* Fixed Recruitment Buttons ---------- */
.c-fixedRecruitButtons {
	position: fixed;
	bottom: 30px;
	left: 50%;
	display: flex;
	gap: 12px;
	padding: 12px;
	transform: translateX(-50%);
	border-radius: 40px;
	z-index: 1000;
	opacity: 1;
	transition: all 0.3s ease;
	background: var(--background-primary);
}

.c-fixedRecruitButtons.hidden {
	opacity: 0;
	pointer-events: none;
}

.c-fixedRecruitButton {
	display: flex;
	align-items: center;
	padding: 12px 24px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
}

.c-fixedRecruitButton:hover {
	color: var(--text-secondary);
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.c-fixedRecruitButton--newgrad {
	background: var(--background-secondary);
	color: var(--text-secondary);
}

.c-fixedRecruitButton--career {
	background: var(--background-tertiary);
	color: var(--text-secondary);
}

.c-fixedRecruitButton i {
	margin-right: 8px;
	font-size: 14px;
}

@media (max-width: 992px) {
	.c-fixedRecruitButtons {
		gap: 8px;
	}

	.c-fixedRecruitButton {
		padding: 10px 12px;
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.c-fixedRecruitButtons {
		bottom: 20px;
		left: 20px;
		right: 20px;
		transform: none;
		width: auto;
	}

	.c-fixedRecruitButton {
		flex: 1;
		justify-content: center;
	}
}

/* --------------------------------------------------------- */
/* --------------------------------------------------------- */
/* 404 Page ------------------------------------------------ */
/* --------------------------------------------------------- */
/* --------------------------------------------------------- */

.l-error404__Number {
    font-size: 160px;
    font-weight: 900;
    color: var(--text-quaternary);
    line-height: 1;
    margin-bottom: var(--space-2xLarge);
    text-shadow: 3px 3px 0 var(--text-quinary);
}

.l-error404__Title {
    font-size: var(--fontSize-6xLarge);
    font-weight: 700;
    color: var(--text-quinary);
    margin-bottom: var(--space-6xLarge);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .l-error404__Number {
        font-size: 120px;
    }

    .l-error404__Title {
        font-size: var(--fontSize-4xLarge);
    }
}